body {
	padding: 16px;
}

.clear {
	clear: both;
}

.mb_gallery_carousel {
	height: 100%;
}

.mb_gallery_wrapper {
	height: 100%;
}

.mb_gallery_carousel .mb_gallery {
	position: relative;
	min-height: 100%;
}

.mb_gallery_carousel .mb_gallery_image_viewport {
	height: 480px;
	margin-bottom: 16px;
	overflow: hidden;
	position: relative;
	width: 640px;
}

.mb_gallery_carousel .mb_gallery_image,
.mb_gallery_carousel .mb_gallery_image_active {
	left: 0;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
}
.mb_gallery_carousel .mb_gallery_image_hold  {

}
/*
.mb_gallery_carousel .mb_gallery_image_active a {
	left: 0;
	position: absolute;
	right:0;
	bottom:0;
	top: 0;
}*/

.mb_gallery_carousel .mb_gallery_images {
	display: none;
}

.mb_gallery_carousel .mb_gallery_image_prev,
.mb_gallery_carousel .mb_gallery_image_next {
	background-color: #666;
	cursor: pointer;
	height: 16px;
	position: absolute;
	top: 248px;
	width: 16px;
	z-index: 30;
}

.mb_gallery_carousel .mb_gallery_image_prev.disabled,
.mb_gallery_carousel .mb_gallery_image_next.disabled {
	background-color: #999;
	cursor: default;
}

.mb_gallery_carousel .mb_gallery_image_prev {
	left: -24px;
}

.mb_gallery_carousel .mb_gallery_image_next {
	right: -24px;
}

.mb_gallery_carousel .mb_gallery_image_title {
	font-size: 25px;
	font-style: italic;
	text-transform: uppercase;
	padding-top: 17px;
	cursor: pointer;
}

.mb_gallery .mb_gallery_image_info_wrapper {
	overflow: hidden;
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 85px;
	background: #000;
}

.mb_gallery .mb_gallery_image_description {
	font-style: italic;
	font-size: 21px;
	padding-top: 2px;
}

.mb_gallery .mb_gallery_image_info {
	position: absolute;
	width: 284px;
	margin: 0 auto;
	left: 430px;
	bottom: 0px;

	display: none;
}

.home .mb_gallery .mb_gallery_image_info {
	position: absolute;
	width: 284px;
	margin: 0 auto;
	left: 430px;
	bottom: 28px;

	display: block;
}

.mb_gallery .mb_gallery_image_title_wrapper {
	color: #fff;
	width: 284px;
	height: 45px;
}

.mb_gallery .mb_gallery_image_description_wrapper {
	color: #fff;
	width: 284px;
	height: 40px;

	display: none;
}

.mb_gallery_carousel .mb_gallery_controls {
	right: 0;
	top: 496px;
	z-index: 30;
}

.mb_gallery_carousel .mb_gallery_play_wrapper,
.mb_gallery_carousel .mb_gallery_control_wrapper {
	display: inline-block;
}

.mb_gallery_carousel .mb_gallery_play,
.mb_gallery_carousel .mb_gallery_control {
	cursor: pointer;
	float: left;
	height: 16px;
	margin-left: 8px;
	width: 15px;
	opacity: 0.5;
}

.mb_gallery_carousel .mb_gallery_control {
	background-color: #fff;
	color: transparent;
	display: inline-block;
}

.mb_gallery_carousel .mb_gallery_control:hover,
.mb_gallery_carousel .mb_gallery_control.active {
	opacity: 1;
}

/* fullscreen */
body {
	padding: 0;
}

.mb_gallery_carousel {
	background-color: transparent;
	float: none;
	padding: 0;
}

.mb_gallery_carousel .mb_gallery {
	position: static;
}

.mb_gallery_carousel .mb_gallery_image_viewport {
	bottom: 0;
	height: auto;
	left: 0;
	margin-bottom: 85px;
	position: fixed;
	right: 0;
	top: 0;
	width: auto;
}

.mb_gallery_carousel .mb_gallery_image {
	min-height: 100%;
	min-width: 100%;
}

.mb_gallery_carousel .mb_gallery_image img,
.mb_gallery_carousel .mb_gallery_images img {
	width: 100%;
}

.mb_gallery_carousel .mb_gallery_image_active,
.mb_gallery_carousel .mb_gallery_image_hold {
	height: 100%;
	overflow: hidden;
	width: 100%;
}

.mb_gallery_carousel .mb_gallery_images {
	display: block;
	height: 0;
	left: 0;
	overflow: hidden;
	position: fixed;
	right: 0;
	visibility: hidden;
}

.mb_gallery_carousel .mb_gallery_image_prev,
.mb_gallery_carousel .mb_gallery_image_next {
	display: none;
}

.mb_gallery_controls_wrapper {
	bottom: 122px;
	width: 999px;
	position: absolute;
}

.mb_gallery_carousel .mb_gallery_controls {
	bottom: 122px;
	width: 999px;
	margin: 0 auto;
	top: auto;
	text-align: center;
}

.mb_gallery_popin_window,
.mb_gallery_info {
	display: none;
}



/* View slider horizontal */

.mb_view_slider_horizontal {
	float: left;
	bottom: 2px;
	left:21px;
	position: absolute;	
}

.mb_view_slider_horizontal .mb_view_viewport {
	height: 105px;
	overflow: hidden;
	position: relative;
	width: 380px;
	margin-left: 43px;
}

.mb_view_slider_horizontal .mb_view_items {
	left: 0;
	position: absolute;
	top: 0;
}

.mb_view_slider_horizontal .mb_view_item {
	margin-right: 6px;
	position: relative;
	width: 89px;
}

.mb_view_slider_horizontal .disabled {
	opacity: 0.5;
	cursor: default;
}

.mb_view_slider_horizontal .mb_view_items_prev,
.mb_view_slider_horizontal .mb_view_items_next {
	cursor: pointer;
	height: 18px;
	top: 74px;
	position: absolute;
	width: 14px;
}

.mb_view_slider_horizontal .mb_view_items_prev {
	left: 0;
	background: url(../img/bg/prev.png) top left no-repeat;
}

.mb_view_slider_horizontal .mb_view_items_next {
	right: -40px;
	background: url(../img/bg/next.png) top left no-repeat;
}

.mb_view_slider_horizontal .mb_view_controls {
	display: none;
}

.video_title {
	font-size: 11px;
	text-align: center;
	padding-bottom: 5px;
	bottom: 80px;
	position: absolute;
}

.mb_view_slider_horizontal .mb_view_items .is_video {
	padding-top: 27px;
}

.video_thumb {
	position: relative;
}

.video_thumb img {
	position: relative;
	z-index: 10;
}

.video_thumb .video_icon {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -15px;
	margin-top: -9px;
	width: 30px;
	height: 18px;
	background: url(../img/bg/play_icon.png) top left no-repeat;
	z-index: 20;
	display: block;
}

.is_video1 .video_thumb .video_icon {
	display: none;
}

/* thumbnail gallery */

.mb_gallery_thumbnail_slider_horizontal {
	float: left;
	background: #d8d9d3;
}

.mb_gallery_thumbnail_slider_horizontal .mb_gallery {
	position: relative;
}

.mb_gallery_thumbnail_slider_horizontal .mb_gallery_image_viewport {
	height: 314px;
	overflow: hidden;
	position: relative;
	width: 527px;
}

.mb_gallery_thumbnail_slider_horizontal .mb_gallery_image,
.mb_gallery_thumbnail_slider_horizontal .mb_gallery_image_active,
.mb_gallery_thumbnail_slider_horizontal .mb_gallery_image_hold,
.mb_gallery_thumbnail_slider_horizontal .mb_gallery_zoom_handler {
	left: 0;
	position: absolute;
	top: 0;
}

.mb_gallery_thumbnail_slider_horizontal .mb_gallery_zoom_handler {
	background-color: #fff;
	border: 1px solid #000;
	display: none;
	filter: alpha(opacity=25);
	height: 100px;
	opacity: .25;
	width: 100px;
	z-index: 100;
}

.mb_gallery_thumbnail_slider_horizontal .mb_gallery_images {
	display: none;
}

.mb_gallery_thumbnail_slider_horizontal .mb_gallery_image_prev,
.mb_gallery_thumbnail_slider_horizontal .mb_gallery_image_next,
.mb_gallery_thumbnail_slider_horizontal .mb_gallery_info {
	display: none;
}

.mb_gallery_thumbnail_slider_horizontal .mb_gallery_thumbnails_viewport {
	height: 78px;
	overflow: hidden;
	position: relative;
	width: 527px;
}

.mb_gallery_thumbnail_slider_horizontal .mb_gallery_thumbnails {
	left: 0;
	position: absolute;
	top: 0;
}

.mb_gallery_thumbnail_slider_horizontal .mb_gallery_thumbnail {
	cursor: pointer;
	margin-right: 9px;
	position: relative;
}

.mb_gallery_thumbnail_slider_horizontal .mb_gallery_thumbnail_overlay {
	border: 1px solid #f00;
	bottom: 0;
	display: none;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.mb_gallery_thumbnail_slider_horizontal .mb_gallery_thumbnail:hover .mb_gallery_thumbnail_overlay,
.mb_gallery_thumbnail_slider_horizontal .mb_gallery_thumbnail.active .mb_gallery_thumbnail_overlay {
	display: block;
}

.mb_gallery_thumbnail_slider_horizontal .mb_gallery_thumbnails_prev,
.mb_gallery_thumbnail_slider_horizontal .mb_gallery_thumbnails_next {
	display: none;
}

.mb_gallery_thumbnail_slider_horizontal .mb_gallery_zoom_viewport {
	background-color: #fff;
	display: none;
	height: 480px;
	left: 680px;
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 480px;
	z-index: 110;
}

.mb_gallery_thumbnail_slider_horizontal .mb_gallery_zoom_image {
	left: 0;
	position: absolute;
	top: 0;
}

.mb_gallery_thumbnail_slider_horizontal .mb_gallery_loader {
	background-image: url(../img/bg/loader.gif);
	height: 48px;
	left: 50%;
	margin: -24px 0 0 -24px;
	position: absolute;
	top: 50%;
	width: 48px;
}

/* popin */
.mb_gallery_overlay,
.mb_gallery_popin_window,
.mb_gallery_loader {
	display: none;
	position: fixed;
}

.mb_gallery_overlay {
	background-color: #000;
	bottom: 0;
	filter: alpha(opacity=75);
	left: 0;
	opacity: .75;
	right: 0;
	top: 0;
	z-index: 1000;
}

.mb_gallery_popin_window {
	background-color: #fff;
	height: 200px;
	left: 50%;
	margin: -100px 0 0 -100px;
	top: 50%;
	width: 200px;
	z-index: 1010;
}

.mb_gallery_popin_window .mb_gallery_popin_close {
	background-color: #f00;
	cursor: pointer;
	height: 16px;
	position: absolute;
	right: 0;
	top: 0;
	width: 16px;
	z-index: 10;
}

.mb_gallery_popin_window .mb_gallery_image {
	padding: 9px;
}

.mb_gallery_popin_window .mb_gallery_image_prev,
.mb_gallery_popin_window .mb_gallery_image_next {
	background-color: #666;
	cursor: pointer;
	height: 16px;
	margin-top: -8px;
	position: absolute;
	top: 50%;
	width: 16px;
}

.mb_gallery_popin_window .mb_gallery_image_prev.disabled,
.mb_gallery_popin_window .mb_gallery_image_next.disabled {
	background-color: #999;
	cursor: default;
}

.mb_gallery_popin_window .mb_gallery_image_prev {
	left: 0;
}

.mb_gallery_popin_window .mb_gallery_image_next {
	right: 0;
}

.mb_gallery_popin_window .mb_gallery_image_info {
	padding: 0 8px 8px;
}

.mb_gallery_popin_window .mb_gallery_image_info.disabled {
	display: none;
}

.mb_gallery_popin_window .mb_gallery_image_title {
	font-weight: bold;
}

.mb_gallery_loader {
	background-image: url(../img/bg/loader.gif);
	height: 48px;
	left: 50%;
	margin: -24px 0 0 -24px;
	top: 50%;
	width: 48px;
	z-index: 1020;
}

.mb_gallery_thumbnail_slider_horizontal .mb_gallery_image_info_wrapper {
	background: #d8d9d3;
} 

.mb_gallery_thumbnails_viewport_wrapper {
	padding-top: 25px;
}
