@import url(http://fonts.googleapis.com/css?family=Mako);

/*html { background: #eee; }
body {
	background: #fff;
	width: 600px;
	margin: 0 auto 20px auto;
	padding: 20px 20px 0 20px;
	border: solid 4px #ddd;
	border-top: none;
	}
body.fullscreen, .fullscreen #container, .fullscreen #container2, .fullscreen #main1, .fullscreen #main2, .fullscreen #main, .fullscreen #content, .fullscreen #content2 { position: static; }
*/
	

.rg, .rgp { font-family: mako, 'Sans Serif'; }
.rg input, .rgp input, .rg textarea, .rgp textarea { 
	resize: none;
	border: none;
	outline: none;
	background: transparent;
	margin: 0;
	padding: 0;
	display: block;
	font-size: 13px;
	font-family: mako, 'Sans Serif';
	}
.rgp textarea { overflow: auto; }
.rg a, .rgp a {
	text-decoration: none;
	color: #555;
	outline: none;
	}
.rg a:hover { color: #333; }
.rg img { display: block; border: none; width: 120px; height: 90px; }
	
.rgmask { background: #000; width: 100%; position: fixed; top: 0; left: 0; }

.rgui { 
	background: transparent 0 0 url(../../images/gallery/rgui.png) no-repeat;
	display: inline-block;
	overflow: hidden;
	cursor: pointer;
	}
.rghead,  .rgbody { overflow: hidden; }
.rghead {
	border-bottom: solid 1px #ccc;
	padding: 10px 0;
	background: #fff;
	}
.rgtitle {
	color: #333;
	text-shadow: 0 1px 0 #ddd;
	font-size: 2em;
	padding: 0 8px;
	}
.rgbody {
	padding: 20px 0;
	}
.rgfn { float: right; padding: 4px 8px 0 0; }
.rgalbum, .rgphoto { float: left; margin: 0 16px 24px 0; }
.rgalbum { width: 134px; height: 169px; text-align: center; position: relative; margin-bottom: 12px; }
.rgalbum img {
	background: transparent 0 0 url(../../images/gallery/albumframe.png) no-repeat;
	padding: 7px 7px 8px 7px;
		
	transition: all, 0.5s ease;
	-webkit-transition: all, 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all, 0.5s ease;
	}
.rgphoto { width: 128px; }
.rgphoto img, .rgphoto_edit img { 
	display: block;
	padding: 3px;
	border: solid 1px #BFBFBF;
	background: #fff;
	
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	
	box-shadow: 0 1px 0 rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.1);
	-moz-box-shadow: 0 1px 0 rgba(0,0,0,0.1);
	-ms-box-shadow: 0 1px 0 rgba(0,0,0,0.1);
	
	transition: all, 0.3s ease;
	-webkit-transition: all, 0.3s ease;
	-moz-transition: all, 0.3s ease;
	-ms-transition: all, 0.3s ease;
	}
.rgphoto a:hover img { 
	border-color: #666;
	}
.rgalbum .albumname {
	display: block;
	margin: 4px;
	padding: 2px 0;
	font-size: 13px;
	height: 52px;
	overflow: hidden;
	cursor: default;
	
	transition: background 0.3s ease;
	-webkit-transition: background 0.3s ease;
	-moz-transition: background 0.3s ease;
	-ms-transition: background 0.3s ease;
	}
.rgalbum .albumname:hover {
	position: absolute;
	width: 126px;
	height: auto;
	min-height: 52px;
	z-index: 999;
	overflow: auto;
	background: #fff;
	
	box-shadow: 0 0 6px #ddd;
	-webkit-box-shadow: 0 0 6px #ddd;
	-moz-box-shadow: 0 0 6px #ddd;
	-ms-box-shadow: 0 0 6px #ddd;
	}
.rgalbum a:hover img { 
	opacity: 0.85;
	-webkit-opacity: 0.85;
	-moz-opacity: 0.85;
	-ms-opacity: 0.85;
	}

.rgp .rgtitle { margin: 0 0 10px 0; }

/* Photo Edit */
.albumname_edit label, .albumname_edit .rginput, .rgphoto_edit img, .rgphoto_edit .rginput { float: left; }
.rgphoto_edit, .albumname_edit { clear: both; overflow: hidden; }
.albumname_edit label { width: 128px; margin: 0 10px 0 0; text-align: right; padding: 0; line-height: 24px; }
.albumname_edit .rginput {  }
.rgphoto_edit img { margin-right: 10px; }
.rgphoto_edit .rginput { margin-right: 10px; }
.rgphoto_edit .edit_fn {  }
.rgphoto_edit .edit_fn .bt-dels { margin-right: 4px; }

/* Delete List */
.rglist { overflow: hidden; padding: 10px 0; }
.list { table-layout:fixed; width: 100%; margin: 0 0 12px 0; }
.list thead th { padding: 8px 4px; font-size: 30px; font-weight: bold; }
.list th img { width: 60px; height: 45px; }
.list .photoname { padding-left: 6px; }
.list .photofn { padding-right: 4px; }
.list .photofn a { float: right; margin-left: 4px; display: block; }
.list th { padding: 4px 0 4px 4px; }
.list tbody th, .list tbody td { border-bottom: solid 1px #ccc; }
.list .odd th, .list .odd td { background: #f6f6f6; } 
.list .c1 { width: 64px; }
.list .c3 { width: 40px; }

/* Ruling Slide */
.rslide {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	background: #333;
	clear: both;
	z-index: 99;
	min-height: 250px;
	}
.rslide.fullscreen { position: fixed; }
.rslideinside {
	/*
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	*/
	}
.comp  {
	width: 100%;
	height: auto;
	overflow: hidden;
	position: relative;
	}
.comp img{ display: block; width: 100%; height: auto; margin: 0 auto; cursor: pointer; min-height: 250px; }
.comp .full{ width: auto; height: auto; max-width: 100%; max-height: 100%; }
.rslidenav { 
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	margin-top: -35px;
	}
.rslidenav a {
	position: absolute;
	display: block;
	width: 30px;
	height: 40px;
	overflow: hidden;
	text-indent: -999px;
	background: #000 0 center url(../../images/gallery/slidenav.png) no-repeat;
	background: rgba(0,0,0,0.9) 0 0 url(../../images/gallery/slidenav.png) no-repeat;
	
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	}
.rslidenav a:hover { 
	background-color: #fff;
	background-color: rgba(255,255,255,0.9);
	}
.rslidenav .navP { left: 0; border-radius: 0 4px 4px 0; background-position: 0 -40px; }
.rslidenav .navN { right: 0; border-radius: 4px 0 0 4px; background-position: -30px 0; }
.rslidenav a.navP:hover  { background-position: -30px -40px; }
.rslidenav a.navN:hover  { background-position: 0 0; }
.slidectrl {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 30px;
	background: #000 left top url(../../images/gallery/slidetitlebg.png) repeat-x;
	background: rgba(0,0,0,0.9) left top url(../../images/gallery/slidetitlebg.png) repeat-x;
	z-index: 999;
	}
.slidectrl a {
	display: block;
	float: right;
	text-indent: -9999px;
	overflow: hidden;
	width: 30px;
	height: 30px;
	background: transparent 0 0 url(../../images/gallery/slideui.gif) no-repeat;
	border-left: solid 1px #222;
	}
.slidectrl a.togglelist { background-position: 0 -30px; }
.slidectrl a.toinline { background-position: -30px 0; }
.slidectrl a.sharebt { background-position: -30px -30px; }
.slidectrl a.slidestop { background-position: 0 -60px; }
.slideinfo {
	height: 30px;
	line-height: 30px;
	color: #fff;
	font-size: 13px;
	overflow: hidden;
	}
.slideinfo .info { padding: 0 0 0 6px; text-transform: uppercase; }
.slideinfo span.info { color: #ccc; text-transform: none; }

.slidelist {
	position: absolute;
	bottom: 30px;
	z-index: 99;
	width: 100%;
	height: 0;
	overflow: auto;
	overflow-x: hidden;
	background: transparent 0 0 url(../../images/gallery/slidelistbg.png);
	}
.slidelist ul { 
	margin: 0 auto;
	padding: 10px 0 10px 10px;
	list-style: none;
	}
.slidelist li {
	display: inline-block;
	margin: 0 10px 10px 0;
	}
.slidelist a {
	border: solid 2px #fff;
	display: block;
	width: 120px;
	height: 90px;
	position: relative;
	
	box-shadow: 0 0 6px rgba(0,0,0,0.7);
	-webkit-box-shadow: 0 0 6px rgba(0,0,0,0.7);
	-moz-box-shadow: 0 0 6px rgba(0,0,0,0.7);
	-ms-box-shadow: 0 0 6px rgba(0,0,0,0.7);
	}
.slidelist a.playall {
	border: none;
	width: 80px;
	height: 32px;
	margin: 31px 0 0 22px;
	background: transparent 0 0 url(../../images/gallery/playall.png) no-repeat;
	
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-ms-box-shadow: none;
	}
.slidelist a.playall:hover { background-position: 0 -32px; }
#li_play_all { width: 124px; height: 94px; }
.slidelist img { 
	margin: 0;
	background: #fff;
	display: block;
	
	transition: all 0.2s ease;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	}
.slidelist a:hover img {
	padding: 4px;
	margin: -4px;
	}

.dm {
	background: #fff;
	border: solid 1px #a4a4a4;
	border-right-color: #666;
	position: absolute;
	overflow: hidden;
	padding: 2px 0;
	display: none;
	
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	}
.dm ul { margin: 0; padding: 0; list-style: none !important; }
.dm li { 
	margin: 0;
	padding: 0;
	border-bottom: solid 1px #ccc;
	list-style: none !important;
	}
.dm li a {
	display: block;
	padding: 6px 10px;
	font-size: 13px;
	
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	}
.dm li a:hover { background: #eee; }

/* Ruling Gallery UI */
.rgbt {	
	padding: 0 0 0 32px;
	vertical-align: top;
	
	text-shadow: 0 1px 0 #fff;
	-webkit-text-shadow: 0 1px 0 #fff;
	-moz-text-shadow: 0 1px 0 #fff;
	-ms-text-shadow: 0 1px 0 #fff;
	}
.rgbt span { 
	padding: 0 12px 0 8px;
	background: transparent right -106px url(../../images/gallery/rgui.png) no-repeat;
	display: inline-block;
	line-height: 30px;
	height: 32px;
	font-size: 14px;
	}
.rgbt:hover span { background-position: right -296px; }
.rgbt:active span { background-position: right -486px; line-height: 31px; }

.rgbtsg {
	padding: 0;
	width: 30px;
	height: 32px;
	text-indent: -999px;
	background-position: -358px 0;
	}

.bt-add { background-position: 0 -106px;	}
.bt-add:hover { background-position: 0 -296px; }
.bt-add:active { background-position: 0 -486px; }
.bt-del { background-position: 0 -144px;	}
.bt-del:hover { background-position: 0 -334px; }	
.bt-del:active { background-position: 0 -524px; }
.bt-edit { background-position: 0 -182px; }
.bt-edit:hover { background-position: 0 -372px; }	
.bt-edit:active { background-position: 0 -562px; }
.bt-back { background-position: 0 -676px; }
.bt-back:hover { background-position: 0 -714px; }	
.bt-back:active { background-position: 0 -752px; }
.bt-save,  .bt-finish { background-position: 0 -220px; }
.bt-save:hover,  .bt-finish:hover { background-position: 0 -410px; }	
.bt-save:active,  .bt-finish:active { background-position: 0 -600px; }
.bt-finish { display: block; float: right; clear: both; }
.bt-addnew {
	margin: 0 auto;
	width: 98px;
	height: 100px;
	text-indent: -9999px;
	display: block;
	}
.bt-addnew:hover { background-position: -106px 0; }
.bt-addnew:active { background-position: -212px 0; }
.bt-next{ 
	background-position: 0 -258px;
	display: block;
	float: right;
	clear: both;
	}
.bt-next:hover { background-position: 0 -448px; }
.bt-next:active { background-position: 0 -638px; }
.bt-close {
	position: absolute;
	right: 6px;
	top: 6px;
	}
.bt-close:hover { background-position: -436px 0; }
.bt-close:active { background-position: -514px 0; }
.bt-cls { background-position: 0 -790px; }
.bt-cls:hover { background-position: 0 -828px; }
.bt-cls:active { background-position: 0 -866px; }
.bt-dels { background-position: -318px 0; width: 32px; }
.bt-dels:hover { background-position: -396px 0; }
.bt-dels:active { background-position: -474px 0; }
.bt-dels.setdelete { background-position: -474px -38px; width: 32px; }
.bt-cover { background-position: -318px -38px; width: 32px; }
.bt-cover:hover { background-position: -358px -38px; }
.bt-cover:active { background-position: -398px -38px; }
.bt-cover.setcover { background-position: -438px -38px; }
.bt-chk { background-position: -318px -76px; width: 16px; height: 16px; margin-right: 4px; }
.bt-chk:hover { background-position: -342px -76px; }
.bt-chk.check { background-position: -366px -76px; }
.bt-languages { background-position: -398px -72px; width: 32px; position: relative; }
.bt-languages:hover { background-position: -438px -72px; }
.bt-languages:active { background-position: -477px -72px; }

.inputui {
	background: transparent 0 0 url(../../images/gallery/inputui.png) no-repeat;
	padding: 0 0 0 4px;
	margin: 0 0 8px 0;
	}
.inputui span {
	background: transparent 0 0 url(../../images/gallery/inputui.png) no-repeat;
	padding: 0 4px 0 0;
	display: block;
	}
.rginput { max-width: 400px; }
.rginput input, .rginput textarea { color: #999; }
.rginput.focus input, .rginput.focus textarea { color: #333; }

.rgih26 { width: 208px; background-position: 0 0; }
.rgih26 span { background-position: right 0; height: 26px; }
.rgih26 input { width: 100%; line-height: 26px; height: 26px; }
.rgih26.focus { background-position: 0 -34px; }
.rgih26.focus span { background-position: right -34px; }
.rgih68 { width: 396px; background-position: 0 -68px; }
.rgih68 span { background-position: right -68px; padding: 3px 4px 3px 0; }
.rgih68 textarea { width: 392px; height: 62px; }
.rgih68.focus { background-position: 0 -144px; }
.rgih68.focus span { background-position: right -144px; }
.rgih98 { width: 396px; background-position: 0 -220px; }
.rgih98 span { background-position: right -220px; padding: 3px 4px 3px 0; }
.rgih98 textarea { width: 376px; height: 92px; }
.rgih98.focus { background-position: 0 -326px; }
.rgih98.focus span { background-position: right -326px; }

.w380 { width: 380px; }