.box_galleriffic {
	overflow: hidden;
}

.box_galleriffic > .gallery{
	float: right;
}

.box_galleriffic > .thums{
	float: left;
	width: 216px;
	display: block;
	/*margin: 5px 0 0 5px;*/
}

.box_galleriffic .slideshow-container{
	position: relative;
	clear: both;
}

.box_galleriffic .loader{
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
}

.box_galleriffic > .thums:after{
	content: "";
	clear: both;
	height: 0;
	display: block;
	visibility: hidden;
}

.box_galleriffic > .thums > ul{
	clear: both;
	margin: 0;
	padding: 0;
}

.box_galleriffic > .thums > ul > li{
	float: left;
	padding: 0;
	margin: 0 8px 8px 0;
	list-style: none;
}

.box_galleriffic > .thums > ul:after{
	content: "";
	clear: both;
	height: 0;
	display: block;
	visibility: hidden;
}

.box_galleriffic > .thums > .pagination a,
.box_galleriffic > .thums > .pagination span.current{
	display: block;
	float: left;
	margin-right: 2px;
	line-height: 0;
	padding: 8px 10px 7px 10px;
	border: 1px solid #ccc;
}

.box_galleriffic > .thums > .pagination span.current{
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}

.box_galleriffic > .thums > .pagination:after{
	content: "";
	clear: both;
	height: 0;
	display: block;
	visibility: hidden;
}


.box_galleriffic a{
	color: #777;
	text-decoration: none;
	border: none;
}

.box_galleriffic a:focus, .box_galleriffic a:hover, .box_galleriffic a:active, .box_galleriffic a:visited {
	color: #777;
	background: none;
	text-decoration: underline;
	border: none;
}

.box_galleriffic a.thumb {
	/*padding: 2px;
	padding: 1px;*/
	display: block;
	/*border: 1px solid #ccc;*/
}

.box_galleriffic > .thums > ul > li.selected a.thumb {
	/*background: #999;*/
}

.box_galleriffic a img{
	padding: 0;
}

.box_galleriffic .gallery a{
	padding: 5px;
	text-decoration: none;
	color: #777;
}

.box_galleriffic .gallery a:focus, .box_galleriffic .gallery a:hover, .box_galleriffic .gallery a:active {
	text-decoration: underline;
}
.box_galleriffic .controls {
	margin-top: 0px;
	/*margin-top: 5px;*/
	/*height: 23px;*/
}

.box_galleriffic .controls:after{
	content: "";
	clear: both;
	height: 0;
	display: block;
	visibility: hidden;
}

.box_galleriffic .controls .ss-controls {
	float: left;
}

.box_galleriffic .controls .nav-controls {
	float: right;
}

.box_galleriffic .slideshow span.image-wrapper {
	display: block;
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
}

.box_galleriffic .slideshow img {
	vertical-align: middle;
	position: absolute;
	width: 100%;
	height: auto;
	left: 0;
}

.box_galleriffic .gallery .slideshow-container{
	overflow: hidden;
	/*margin: 5px 5px 0 0;*/
}

.box_galleriffic .gallery .caption-container{
	position: absolute;
	bottom: 0px;
	width: 100%;
}

.box_galleriffic .gallery .caption-container .caption{
	font-size: 100%;
	color: #fff;
	line-height: 1.6;
	padding: 4px;
}
.box_galleriffic .gallery .caption-container .caption a{
	text-decoration: underline;
}

.box_galleriffic .gallery span.image-caption {
	display: block;
	background-color: #000;
	padding-bottom: 4px;
}

.box_galleriffic .gallery span.image-caption a{
	border: none;
}
.box_galleriffic .slideLink{
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 0;
	-ms-filter: "alpha(opacity=0)";
}

.box_galleriffic .slideLink a{
	width: 100%;
	height: 100%;
	display: block;
}

.box_galleriffic .gallery span.image-caption div.caption {
	position: absolute;
	left: 0px;
	bottom: 0px;
	background-color: #000;
	opacity: 0.8;
	color: #FFF;
	padding: 5px;
	word-wrap: break-word;
}


/** right list START **/
.box_galleriffic.r-list > .gallery{
	position: absolute;
}

.box_galleriffic.r-list > .thums{
	float: right;
}

.box_galleriffic.r-list > .thums > .pagination{
	margin-left: 8px;
}

.box_galleriffic.r-list > .thums > ul > li{
	margin: 0 0 8px 8px;
}

.box_galleriffic.r-list > .gallery .slideshow-container{
	overflow: hidden;
	/*margin: 5px 0 0 5px;*/
}
/** right list END **/


/** SP START **/
.box_galleriffic.sp > .thums > ul > li{
	margin: 0 4px 3px 0;
}
.box_galleriffic.sp .pagination a {
	width: 7px;
	text-align: center;
}
/* right list */
.box_galleriffic.r-list.sp > .thums > ul > li{
	margin: 0 0 3px 4px;
}
.box_galleriffic.r-list.sp > .thums > .pagination{
	width: 62px;
	margin-left: 4px;
}
/** SP END **/
