/*
CSS Name: Default Styles
Description: NextGEN Default Gallery Stylesheet
Author: Alex Rabe
Version: 1.50

This is a template stylesheet that can be used with NextGEN Gallery. I tested the
styles with a default theme Kubrick. Modify it when your theme struggle with it,
it's only a template design

*/

/* ----------- Album Styles Extend -------------*/

.ngg-albumoverview {
	margin-top: 10px;
	width: 100%;
	clear:both; 
	display:block !important;
}

.ngg-album {
    height: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #fff;
}

/* IE6 will ignore this , again I hate IE6 */
/* See also http://www.sitepoint.com/article/browser-specific-css-hacks */
html>body .ngg-album {
    overflow:hidden;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #cccccc;
} 

.ngg-album {
	overflow: hidden;
	padding: 5px;
	margin-bottom: 5px;
	border: 1px solid #cccccc;
}

.ngg-albumtitle {
	text-align: left;
 	font-weight: bold;
	margin:0px;
	padding:0px;
	font-size: 1.4em;
	margin-bottom: 10px;
}

.ngg-thumbnail {
	float: left;
	margin-right: 12px;
}

.ngg-thumbnail img {
	background-color:#FFFFFF;
	border:1px solid #A9A9A9;
	margin:4px 0px 4px 5px;
	padding:4px;
	position:relative;
}

.ngg-thumbnail img:hover {
	background-color: #A9A9A9;
}

.ngg-description {
	text-align: left;
}

/* ----------- Album Styles Compact -------------*/

.ngg-album-compact {
	float:left;
	height:180px;
	padding-right:6px !important;
	margin:0px !important; 
	text-align:left;
	width:120px;	
}

.ngg-album-compactbox {
	background:transparent url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery/css/albumset.gif) no-repeat scroll 0%;
	height:86px;
	margin:0pt 0pt 6px !important;
	padding:12px 0pt 0pt 7px !important;
	width:120px;
}


.ngg-album-compactbox .Thumb {
	border:1px solid #000000;
	margin:0px !important;
	padding:0px !important;
	width:91px; 
	height:68px;
}

.ngg-album-compact h4 {
	font-size:15px;
	font-weight:bold;
	margin-bottom:0px;
	margin-top:0px;
	width:110px;
}

.ngg-album-compact p {
	font-size:11px;
	margin-top:2px;
}

/* ----------- Gallery style -------------*/

.ngg-galleryoverview {
	overflow: hidden;
	margin-top: 10px;
	width: 100%;
	clear:both; 
	display:block !important;
	margin-bottom:20px;
}

.ngg-galleryoverview .desc {
/* required for description */
   margin:0px 10px 10px 0px;
   padding:5px;
}

.ngg-gallery-thumbnail-box {
	float: left;
}

.ngg-gallery-thumbnail {
	float: left;
	margin-right: 5px;
	text-align: center;
}

.ngg-gallery-thumbnail img {
	background-color:#FFFFFF;
	border:1px solid #A9A9A9;
	display:block;  
	margin:4px 0px 4px 5px;
	padding:4px;
	position:relative;
}

.ngg-gallery-thumbnail img:hover {
	background-color: #A9A9A9;
} 

.ngg-gallery-thumbnail span {
	/* Images description */
	font-size:90%;
	padding-left:5px;
	display:block;
}

.ngg-clear {
	clear: both;
}

/* ----------- Gallery navigation -------------*/

.ngg-navigation {
	font-size:0.9em !important;
	clear:both !important;
	display:block !important;
	padding-top:15px;
	text-align:center;
	
}

.ngg-navigation span {
	font-weight:bold;
	margin:0pt 6px;
}

.ngg-navigation a.page-numbers,
.ngg-navigation a.next,
.ngg-navigation a.prev, 
.ngg-navigation span.page-numbers,
.ngg-navigation span.next,
.ngg-navigation span.prev {
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-navigation a.page-numbers:hover,
.ngg-navigation a.next:hover,
.ngg-navigation a.prev:hover, 
.ngg-navigation span.page-numbers:hover,
.ngg-navigation span.next:hover,
.ngg-navigation span.prev:hover {
	background-color: #0066CC;
	color: #FFFFFF !important;
	text-decoration: none !important;
}

/* ----------- Image browser style -------------*/

.ngg-imagebrowser {
	
}

.ngg-imagebrowser h3 {
	text-align:center;
}

.ngg-imagebrowser img {
	border:1px solid #A9A9A9;
	margin-top: 10px; 
	margin-bottom: 10px; 
	width: 100%;
	display:block !important;
	padding:5px;
}

.ngg-imagebrowser-nav {
	padding:5px;
	margin-left:10px;	
}

.ngg-imagebrowser-nav .back {
	float:left;
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-imagebrowser-nav .next {
	float:right;
	border:1px solid #DDDDDD;
	margin-right:3px;
	padding:3px 7px;
}

.ngg-imagebrowser-nav .counter {
	text-align:center;
	font-size:0.9em !important;
}

.exif-data {
  	margin-left: auto !important;
    margin-right: auto !important;	
}

/* ----------- Slideshow -------------*/
.slideshow {
	margin-left: auto; 
	margin-right: auto;
	text-align:center;
	outline: none;	
}

.slideshowlink {
	
}

/* ----------- Single picture -------------*/
.ngg-singlepic {
	background-color:#FFFFFF;
	display:block;  
	padding:4px;
}

.ngg-left {
	float: left;
	margin-right:10px;
}

.ngg-right {
	float: right;
	margin-left:10px;
}

.ngg-center {
  	margin-left: auto !important;
    margin-right: auto !important;
}

/* ----------- Sidebar widget -------------*/
.ngg-widget,
.ngg-widget-slideshow {
	overflow: hidden;
	margin:0pt;
	padding:5px 0px 0px 0pt;
	text-align:left;
}

.ngg-widget img {
	border:2px solid #A9A9A9;
	margin:0pt 2px 2px 0px; 
	padding:1px; 
}

/* ----------- Related images -------------*/
.ngg-related-gallery {
	background:#F9F9F9;
	border:1px solid #E0E0E0;
	overflow:hidden;
	margin-bottom:1em;
	margin-top:1em;
	padding:5px;
}
.ngg-related-gallery img {
	border: 1px solid #DDDDDD;
	float: left;
	margin: 0pt 3px;
	padding: 2px;
	height: 50px;
	width:  50px;
}

.ngg-related-gallery img:hover {
	border: 1px solid #000000;
} 

/* ----------- Gallery list -------------*/

.ngg-galleryoverview ul li:before {
	content: '' !important;
}

.ngg-gallery-list {
	list-style-type:none;
	padding: 0px !important;
	text-indent:0px !important;	
}

.ngg-galleryoverview div.pic img{
	width: 100%;	
}

.ngg-gallery-list li {
	float:left;
	margin:0 2px 0px 2px !important;
	overflow:hidden;
}

.ngg-gallery-list li a {
	border:1px solid #CCCCCC;
	display:block;
	padding:2px;
}

.ngg-gallery-list li.selected a{
	-moz-background-clip:border;
	-moz-background-inline-policy:continuous;
	-moz-background-origin:padding;
	background:#000000 none repeat scroll 0 0;
}

.ngg-gallery-list li img {
	height:40px;
	width:40px;	
}

li.ngg-next, li.ngg-prev {
	height:40px;
	width:40px;	
	font-size:3.5em;
}

li.ngg-next a, li.ngg-prev a  {
	padding-top: 10px;
	border: none;
	text-decoration: none;
}/**
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 *
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
 *
 * Version: 1.3.4 (11/11/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */

/**
 * NextGEN Gallery Optimizer Basic Enhanced Fancybox Lightbox
 *
 * Used with permission and packaged with enhancements by Mark Jeldi,
 * as part of the NextGEN Gallery Optimizer WordPress plugin.
 *
 * @package		NextGEN_Gallery_Optimizer_Basic
 * @link				http://www.nextgengalleryoptimizer.com
 */

#nggobasic-fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	z-index: 100004;
	display: none;
}

#nggobasic-fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancybox.png);
}

#nggobasic-fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100000;
	display: none;
}

/**
 * NextGEN Gallery Optimizer add-on.
 *
 * This resize overlay replaces Fancybox's fading-out / fading-in of the actual
 * image, as it's much less processor intensive.
 *
 * This runs a lot smoother in IE6/7/8 especially, and even improves
 * performance in modern browsers when the CPU is being overworked.
 */
#nggobasic-fancybox-resize-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100000;
	background-color: #fff;
	display: none;
}

#nggobasic-fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}

#nggobasic-fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	z-index: 100001;
	outline: none;
	display: none;
}

#nggobasic-fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #fff;
}

#nggobasic-fancybox-content {
	width: 0;
	height: 0;
	padding: 0;
	outline: none;
	position: relative;
	overflow: hidden;
	z-index: 100002;
	border: 0px solid #fff;
}

/**
 * NextGEN Gallery Optimizer add-on.
 *
 * For themes that declare global CSS3 box-sizing attributes.
 */
#nggobasic-fancybox-wrap, #nggobasic-fancybox-content {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

#nggobasic-fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 100001;
}

#nggobasic-fancybox-close {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 30px;
	height: 30px;
	background: transparent url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancybox.png) -40px 0px;
	cursor: pointer;
	z-index: 100003;
	display: none;
}

#nggobasic-fancybox-error {
	color: #444;
	font: normal 12px/20px Arial;
	padding: 14px;
	margin: 0;
}

#nggobasic-fancybox-img {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
}

#nggobasic-fancybox-frame {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

#nggobasic-fancybox-left, #nggobasic-fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background: transparent url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/blank.gif);
	z-index: 100002;
	display: none;
}

#nggobasic-fancybox-left {
	left: 0px;
}

#nggobasic-fancybox-right {
	right: 0px;
}

#nggobasic-fancybox-left-ico, #nggobasic-fancybox-right-ico {
	position: absolute;
	top: 50%;
	left: -9999px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	cursor: pointer;
	z-index: 100002;
	display: block;
}

#nggobasic-fancybox-left-ico {
	background-image: url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancybox.png);
	background-position: -40px -30px;
}

#nggobasic-fancybox-right-ico {
	background-image: url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancybox.png);
	background-position: -40px -60px;
}

#nggobasic-fancybox-left:hover, #nggobasic-fancybox-right:hover {
	visibility: visible; /* IE6 */
}

#nggobasic-fancybox-left:hover span {
	left: 20px;
}

#nggobasic-fancybox-right:hover span {
	left: auto;
	right: 20px;
}

.nggobasic-fancybox-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 100001;
}

#nggobasic-fancybox-bg-n {
	top: -20px;
	left: 0;
	width: 100%;
	background-image: url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancybox-x.png);
}

#nggobasic-fancybox-bg-ne {
	top: -20px;
	right: -20px;
	background-image: url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancybox.png);
	background-position: -40px -162px;
}

#nggobasic-fancybox-bg-e {
	top: 0;
	right: -20px;
	height: 100%;
	background-image: url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancybox-y.png);
	background-position: -20px 0px;
}

#nggobasic-fancybox-bg-se {
	bottom: -20px;
	right: -20px;
	background-image: url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancybox.png);
	background-position: -40px -182px;
}

#nggobasic-fancybox-bg-s {
	bottom: -20px;
	left: 0;
	width: 100%;
	background-image: url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancybox-x.png);
	background-position: 0px -20px;
}

#nggobasic-fancybox-bg-sw {
	bottom: -20px;
	left: -20px;
	background-image: url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancybox.png);
	background-position: -40px -142px;
}

#nggobasic-fancybox-bg-w {
	top: 0;
	left: -20px;
	height: 100%;
	background-image: url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancybox-y.png);
}

#nggobasic-fancybox-bg-nw {
	top: -20px;
	left: -20px;
	background-image: url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancybox.png);
	background-position: -40px -122px;
}

#nggobasic-fancybox-title {
	font-family: Helvetica;
	font-size: 12px;
	z-index: 100002;
}

.nggobasic-fancybox-title-inside {
	padding-bottom: 10px;
	text-align: center;
	color: #333;
	background: #fff;
	position: relative;
}

.nggobasic-fancybox-title-outside {
	padding-top: 10px;
	color: #fff;
}

.nggobasic-fancybox-title-over {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #FFF;
	text-align: left;
}

#nggobasic-fancybox-title-over {
	padding: 10px;
	background-image: url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_title_over.png);
	display: block;
}

.nggobasic-fancybox-title-float {
	position: absolute;
	left: 0;
	bottom: -20px;
	height: 32px;
}

#nggobasic-fancybox-title-float-wrap {
	border: none;
	border-collapse: collapse;
	width: auto;
}

#nggobasic-fancybox-title-float-wrap td {
	border: none;
	white-space: nowrap;
}

#nggobasic-fancybox-title-float-left {
	padding: 0 0 0 15px;
	background: url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancybox.png) -40px -90px no-repeat;
}

#nggobasic-fancybox-title-float-main {
	color: #FFF;
	line-height: 29px;
	font-weight: bold;
	padding: 0 0 3px 0;
	background: url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancybox-x.png) 0px -40px;
}

#nggobasic-fancybox-title-float-right {
	padding: 0 0 0 15px;
	background: url(//mos-holidays.ru/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancybox.png) -55px -90px no-repeat;
}

/* IE6 */

.nggobasic-fancybox-ie6 #nggobasic-fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://mos-holidays.ru/spb/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_close.png', sizingMethod='scale'); }

.nggobasic-fancybox-ie6 #nggobasic-fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://mos-holidays.ru/spb/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_nav_left.png', sizingMethod='scale'); }
.nggobasic-fancybox-ie6 #nggobasic-fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://mos-holidays.ru/spb/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_nav_right.png', sizingMethod='scale'); }

.nggobasic-fancybox-ie6 #nggobasic-fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://mos-holidays.ru/spb/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
.nggobasic-fancybox-ie6 #nggobasic-fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://mos-holidays.ru/spb/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_title_left.png', sizingMethod='scale'); }
.nggobasic-fancybox-ie6 #nggobasic-fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://mos-holidays.ru/spb/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_title_main.png', sizingMethod='scale'); }
.nggobasic-fancybox-ie6 #nggobasic-fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://mos-holidays.ru/spb/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_title_right.png', sizingMethod='scale'); }

.nggobasic-fancybox-ie6 #nggobasic-fancybox-bg-w, .nggobasic-fancybox-ie6 #nggobasic-fancybox-bg-e, .nggobasic-fancybox-ie6 #nggobasic-fancybox-left, .nggobasic-fancybox-ie6 #nggobasic-fancybox-right, #nggobasic-fancybox-hide-sel-frame {
	height: expression(this.parentNode.clientHeight + "px");
}

#nggobasic-fancybox-loading.nggobasic-fancybox-ie6 {
	position: absolute; margin-top: 0;
	top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');
}

#nggobasic-fancybox-loading.nggobasic-fancybox-ie6 div	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://mos-holidays.ru/spb/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_loading.png', sizingMethod='scale'); }

/* IE6, IE7, IE8 */

.nggobasic-fancybox-ie .nggobasic-fancybox-bg { background: transparent !important; }

.nggobasic-fancybox-ie #nggobasic-fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://mos-holidays.ru/spb/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
.nggobasic-fancybox-ie #nggobasic-fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://mos-holidays.ru/spb/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
.nggobasic-fancybox-ie #nggobasic-fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://mos-holidays.ru/spb/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
.nggobasic-fancybox-ie #nggobasic-fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://mos-holidays.ru/spb/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
.nggobasic-fancybox-ie #nggobasic-fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://mos-holidays.ru/spb/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
.nggobasic-fancybox-ie #nggobasic-fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://mos-holidays.ru/spb/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
.nggobasic-fancybox-ie #nggobasic-fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://mos-holidays.ru/spb/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
.nggobasic-fancybox-ie #nggobasic-fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://mos-holidays.ru/spb/wp-content/plugins/nextgen-gallery-optimizer/fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }