.rg, .rgp {
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
.rg input, .rgp input, .rg textarea, .rgp textarea { 
	resize: none;
	margin: 0;
	display: block;
	font-size: 13px;
	}
.rgp textarea { overflow: auto; }
.rg a, .rgp a {
	text-decoration: none;
	outline: none;
	}
.rg a:hover {  }

.rg img { display: block; border: none; }
	
.rgmask { background: #000; width: 100%; position: fixed; top: 0; left: 0; }

.rgui { 
	display: inline-block;
	cursor: pointer;
	}
.rghead,  .rgbody { overflow: hidden; }
.rghead {
	padding: 10px 0;
	}
.rgtitle {
	color: #333;
	text-shadow: 0 1px 0 #ddd;
	font-size: 2em;
	padding: 0 8px;
	}
.rgbody {
	
	}
.rgfn { overflow: hidden; }
.rgalbum, .rgphoto { float: left; margin: 0 10px 24px 0; }
.rgalbum {
	margin: 0 16px 16px 0;
	padding: 6px;
	width: 138px;
	height: 220px;
	border: solid 1px #ccc;

	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
.rgalbum > a {
	display: block;
	float: none;
	margin: -6px -6px 0 -6px;
}
.rgalbum img {		
	transition: all, 0.5s ease;
	-webkit-transition: all, 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all, 0.5s ease;
	}
.rgphoto {  }
.rgphoto a {
	display: block;

	transition: all, 0.3s ease;
	-webkit-transition: all, 0.3s ease;
	-moz-transition: all, 0.3s ease;
}
.rgphoto a:hover img { 
	opacity: 0.85;
}
.rgphoto img, .rgphoto_edit img { 
	display: block;

	transition: all, 0.3s ease;
	-webkit-transition: all, 0.3s ease;
	-moz-transition: all, 0.3s ease;
	}
.rgalbum .albumname {
	font-size: 1.25em;
	line-height: ;
	margin: 6px 0;
	display: block;
	height: 45px;
	overflow: hidden;
	transition: background 0.3s ease;
	-webkit-transition: background 0.3s ease;
	-moz-transition: background 0.3s ease;
	-ms-transition: background 0.3s ease;
	}
.rgalbum a:hover img { 
	opacity: 0.85;
	}
.rgalbum .categoryname {}
.rgalbum .tagnames {
	display: block;
	margin-top: 8px;
	padding-top: 8px;
	line-height: 22px;
	height: 22px;
	overflow: hidden;
	border-top: solid 1px #ccc;
	color: #666;
}

.taglist {
	padding: 10px 0;
}
.taglist_title {
	font-size: 1.5em;
	margin: 0 0 10px 0;
}
.taglist ul {
	padding: 10px 0;
	border-top: solid 1px #ddd;
	overflow: hidden;
}
.taglist li {
	float: left;
	margin: 0 8px 8px 0;
}

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


/* Ruling Slide */
.rslide {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	background: #222;
	clear: both;
	/*z-index: 99;*/
	min-height: 250px;

	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	}
.rslide.fullscreen { position: fixed; z-index: 99; }
.rslideinside {
	}
.comp  {
	width: 100%;
	height: auto;
	overflow: hidden;
	position: relative;

	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	}
.comp img{ display: block; width: auto; 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(../../../assets/gallery/slidenav.png) no-repeat;
	background: rgba(0,0,0,0.9) 0 0 url(../../../assets/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(../../../assets/gallery/slidetitlebg.png) repeat-x;
	background: rgba(0,0,0,0.9) left top url(../../../assets/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(../../../assets/gallery/slideui.gif) no-repeat;
	border-left: solid 1px #222;
	}
.slidectrl a.togglelist { background-position: 0 -30px; }
.slidectrl a.togglescreen { background-position: 0 -90px; }
.slidectrl a.toinline { background-position: -30px 0; }
.slidectrl a.sharebt { background-position: -30px -30px; }
.slidectrl a.browserfullscreen { display:none;}
.slidectrl a.slidestop { background-position: 0 -60px; }
.fullscreen .slidectrl a.togglescreen { background-position: -30px -90px; }
.browserFullScreen .slidectrl a.browserfullscreen { background-position: -30px 0; }
.browserFullScreen .togglescreen { display: none; }
.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(../../../assets/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(../../../assets/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; }



/* orbit style implementation */
#orbit_gallery {
	margin: 0 -10px 30px -10px;
}