body > .page {
	position: relative;
	opacity: 1;
	filter: alpha(opacity = 100);
	transition: opacity .2s ease-in-out;
   	-moz-transition: opacity .2s ease-in-out;
   	-webkit-transition: opacity .2s ease-in-out;
   	min-height: 100%;
}

.desktop .container,
.tablet .container {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 30px;
	position: relative;
}

body > .page > section {
	padding-bottom: 264px;
}

h1.title {
	text-align: center;
	color: #ebebeb;	
	font-size: 12px;
	padding: 0;
	margin: 0 0 40px 0;
	position: relative;
    padding-top: 20px;
}

h1.title hr {
	background: none;
	border: none;
	border-bottom: 1px solid #ebebeb;
	margin: 0;
	padding: 0;
	display: inline-block;
	position: absolute;
	top: 0;
    padding-top: 20px;
}

h1.title hr.right-hr {right: 0;}
h1.title hr:nth-child(3) {
    right: 0;
}

h1.title hr.left-hr {left: 0;}
h1.title hr:nth-child(1) {
	left: 0;
}

h1.title span {
	padding: 0 14px;
	z-index: 2;
	position: relative;
	margin:auto; /*fix resize bug */
}

.desktop footer,
.tablet footer {
	padding: 40px 0;
	border-top-width: 1px;
    border-top-style: solid;
	position: absolute;
	bottom: 0;
	width: 100%;
	text-align: center
}

header {
	padding: 34px 0;
}

header > .container > .inner {
	display: table;
    height: 100%;
    min-height: 60px;
	top: 0;
}

header .logo {
	display: table-cell;	
	vertical-align: middle;
	padding-right: 30px;
}

header .logo.logo-text {
	padding-bottom: 10px;
	padding-top: 10px;
}

header .logo.logo-image img {
    max-width: 100%; 
}
    
header .logo.logo-image img {
    border: 0;
}

header nav.menu {
	display: table-cell;
	margin-bottom: 10px;
	vertical-align: middle;
	/* max-width: 100%; */
}

header nav.menu .menu-item {
    position: relative;
	padding: 0 7px;	
	margin: 0 5px;
}

header nav.menu .menu-item a {
	text-decoration: none;
	font-size: 12px;
}

header nav.menu .sub-menu {
	display: none;
	position: absolute;
	padding-top: 17px;
	z-index: 999;
	margin-left: -5px;
	padding: 12px 0 12px 0; 
	min-width: 145px;
    width: auto;
}

header nav.menu .sub-menu .menu-item {
	display: block;
	padding: 3px 11px;
	text-align: left;
	background: #cfcfcf;
}

header nav.menu .sub-menu .menu-item:first-child {
	padding-top: 12px;
}

header nav.menu .sub-menu .menu-item:last-child {
	padding-bottom: 12px;
}

header nav.menu .menu-item.separator:last-child {
	display: none;
}

/* Gallery */
.photos-loading {
	height: 42px; margin: 0 0 6.5%; display: none; opacity: 0; 	filter: alpha(opacity = 0);
}

.photos-loading > .spinner {
	display: block;
}

.gallery .desc  {
	margin-bottom: 35px;
}

.gallery-layout-feed .feed-photo {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gallery-layout-feed .feed-photo .feed-photo-cell {
	margin: 0;
	padding: 0;
	text-align: center;
}

.gallery-layout-feed .feed-photo .feed-photo-cell .spinner {
	display: none;	
}

.gallery-layout-feed .feed-photo .feed-photo-cell.loading img {
	opacity: 0;	
}

.gallery-layout-feed .feed-photo .feed-photo-cell.loading .spinner {
	display: block;	
}

.gallery-layout-feed .feed-photo .feed-photo-cell img {
	max-width: 100%;
	height: auto;
	opacity: 1;	
	transition: opacity .3s ease-in-out;
   	-moz-transition: opacity .3s ease-in-out;
   	-webkit-transition: opacity .3s ease-in-out;
   	display: block;
    margin: 0 auto;
}


.gallery-layout-feed ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gallery-layout-feed ul li {
	margin: 0;
	padding: 0 0 17px 0;
	text-align: center;
}

.gallery-layout-feed ul li .spinner {
	display: none;	
}

.gallery-layout-feed ul li.loading img {
	opacity: 0;	
}

.gallery-layout-feed ul li.loading .spinner {
	display: block;	
}

.gallery-layout-feed ul li img {
	max-width: 100%;
	height: auto;
	opacity: 1;	
	transition: opacity .3s ease-in-out;
   	-moz-transition: opacity .3s ease-in-out;
   	-webkit-transition: opacity .3s ease-in-out;
   	display: block;
    margin: 0 auto;
}

.gallery-carousel .lenta-main .lenta-viewport ul {
	opacity: 0;
}

.gallery-carousel .lenta-main .lenta-viewport ul li {
	visibility: hidden;
}

.gallery-carousel .lenta-main .lenta-viewport ul li.focus {
	visibility: visible;
}

.gallery .lenta-preview {
	height: 72px;	
}

.gallery .lenta-preview .lenta-viewport {
	max-width: 960px;
}

.gallery .lenta-preview ul li {
	margin: 16px 7px;
	opacity: 0.5;
}

.gallery .lenta-preview ul li.focus {
	opacity: 1;
}

.gallery-layout-carousel-without-preview .social-box {
	margin-top: 17px;
}

.container.gallery-layout-feed {
    padding: 0px;
}

.tablet .container.gallery-layout-feed {
    padding: 0px 10px;
}


.feed-photo-cell.photos { float: left; }

/**
 * Section Container
 **/
body > .page > section > .slider {
	position: relative;
	display: none;
	overflow: hidden; 
	padding: 0;
	max-width: 1120px;
	padding-bottom: 20px;
	height: 0;
}

body > .page > section.galcategory > .slider {
	padding-bottom: 40px;
}

body > .page > section > .slider section {
	visibility: hidden;
	padding-top: 0;
	margin-bottom: 0;	
}

body > .page > section > .slider.state-showing .icon-cancel,
body > .page > section > .slider.state-loading .icon-cancel {
	display: none;	
}

body > .page > section > .slider .close,
.container.slider .close {
	font-family: Verdana;
	text-align: center;
	margin-bottom: 20px;
}

body > .page > section > .slider .close #icon-close {
	cursor: pointer;
}

body > .page > section > .slider h1,
.container.slider h1 {
	text-align: center;
	font-size: 14px;
	margin: 0;
	padding: 0 0 25px 0;
}

body > .page > section > .slider > .spinner,
body section > .slider > .spinner {
	display: none;
}

/**
 * Lenta
 */
.lenta ul li {
	margin: 0;
	padding: 0;	
}

.lenta .lenta-next {
	margin-right: -55px;
}

.lenta .lenta-prev {
	margin-left: -55px;
}

.lenta .lenta-prev.circle-button.large, .lenta .lenta-next.circle-button.large {
	margin-top: -30px;
}

.lenta .lenta-prev.circle-button, .lenta .lenta-next.circle-button {
	margin-top: -20px;
}

.lenta ul .loading .spinner {
	display: block;
}

.lenta ul .spinner {
	display: none;
}


/** 
 * Social Share 
 */
.social-box {
	text-align: center;
	margin-top: 25px;
}

.social-box .share {
	display: inline-block;
	height: 21px;	
	margin-right: 8px;
	margin-bottom: 8px;
	vertical-align: top;
	letter-spacing: 0;
}

.social-box .share:last-child {
	margin-right: 0;
}


.social-icons {padding: 9px 0px 17px 0px; text-align: center}

/**
 *	Parallax Effect Banner
 */
.parallax-banner {
	height: 450px;
	overflow: hidden;	
	position: relative;
	background-repeat: no-repeat;
	background-position: 50% 0px;
	margin-bottom: 27px;
	opacity: 1;
}

.desktop .parallax-banner.loading {
	opacity: 0;
	transition: opacity .3s ease-in-out;
   	-moz-transition: opacity .3s ease-in-out;
   	-webkit-transition: opacity .3s ease-in-out;
}

.desktop .parallax-banner {
    background-attachment: fixed;
}

.tablet .parallax-banner {
    background-size: cover;
    background-position: 50% 50%;
}

.parallax-banner .caption {
	position: relative;
	width: 100%;
	text-align: center;
	z-index: 2;	
	top: 28%;
	
}

/* #Columns
================================================== */
.column {
	display: inline-block;
	vertical-align: top;
	float: left;
	overflow: hidden;
}

.l-column {
	width: 40%;
}

.r-column {
	width: 60%;
}

img.scale,
.thumbnail img {
	max-width: 100%;
	height: auto;
}

.w60 {
	width: 60%;
}

.w50 {
	width: 50%;
}

.w40 {
	width: 40%;
}

.copy-protector.tooltip {
	display: none;
	position: absolute;
	background: white; 
	padding: 4px; 
	border-radius: 5px; 
	font-size: 11px; 
	z-index: 9999; 
	opacity: 0.7
}

.column .text-box {
    display: inline-block;
}

/* Form Elements */
.f-text,
.f-textarea {
	border: none;
	outline: none;
	background: #e6e6e6;
	font-size: 16px;
	font-weight: 300;
	line-height: 30px;
	letter-spacing: -0.02em;
	padding: 12px 19px;
	margin: 0;
	margin-bottom: 20px;	
	resize: none;
	width: 100%;
	box-sizing: border-box;   
	-moz-box-sizing: border-box; 
	display: inline-block;
}

.f-text {
	height: 54px;
}

.f-textarea {
	height: 110px;
}

/**
 * Gallery categories close cross colors
 */
body > .page > section > .slider .close #icon-close path {
	fill: #000000;
}
body > .page > section > .slider .close #icon-close:hover path {
	fill: #000000;
}

.tablet .static-grid .static-grid-item .static-grid-cell .image img {
    max-width: none;
}


/* Grid wrapper */
.static-grid {
    visibility: hidden;
    position: relative;
    width: 100%;
    margin-top: 50px;
}

.static-grid:after  {
    clear: both;
     
}

@media screen and (-webkit-min-device-pixel-ratio:0) { 
    /* Safari only override */
    ::i-block-chrome,.desktop .static-grid  {
        -webkit-backface-visibility: hidden;
    }
}

/* Grid cell */

.one-height-grid {}
.one-height-grid-row { padding: 0; margin: 0;}
.one-height-grid-row:after {clear: both}
.one-height-grid-row .one-height-grid-cell {float: left; padding: 0; margin: 0; overflow: hidden;}
.one-height-grid-row .one-height-grid-cell  img {
    display: block; opacity: 0;
	-webkit-transition: opacity .4s ease-out; 
	-moz-transition: opacity .4s ease-out; 
	-o-transition: opacity .4s ease-out; 
	transition: opacity .4s ease-out;
    margin: 0 auto;
}

.static-grid .static-grid-item {
    float: left;
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;    
}

.static-grid.pointer {
    cursor: pointer;
}

.static-grid .static-grid-item .static-grid-cell {
    position: relative;
    height: 100%;
    margin: 0px 0px 20px 20px;
}

.static-grid .static-grid-item .static-grid-cell a { text-decoration: none }

/* Image */
.static-grid .static-grid-item  .static-grid-cell .image {
   width: 100%;
   overflow: hidden;
}

.static-grid .static-grid-item  .static-grid-cell .image.h  img.w,
.static-grid .static-grid-item  .static-grid-cell .image.w  img.w  {max-width: 100%} 
.static-grid .static-grid-item  .static-grid-cell .image.h  img.h,
.static-grid .static-grid-item  .static-grid-cell .image.w  img.h {max-height: 100%}

/* Transition */
.static-grid .static-grid-item  .static-grid-cell .image img,
.static-grid.hover .static-grid-item  .static-grid-cell .description {
	-webkit-transition: opacity .4s ease-out; 
	-moz-transition: opacity .4s ease-out; 
	-o-transition: opacity .4s ease-out; 
	transition: opacity .4 ease-out;
    /*
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden; */
}

.static-grid .static-grid-item  .static-grid-cell .image img {
    background: rgba(255, 255, 255, 1);
    opacity: 0;
}

.static-grid .static-grid-item  .static-grid-cell .image img.loaded {
    opacity: 1;
}

.static-grid.hover-grid .static-grid-item .static-grid-cell .image img  {
  opacity: 0.6;
  filter: alpha(opacity = 60);  
}
.static-grid.hover-grid .static-grid-item:hover .static-grid-cell .image img {
  opacity: 1;
  filter: alpha(opacity = 100);  
}

/* Description bottom */
.static-grid .static-grid-item  .static-grid-cell  .description {
    position: relative;
    opacity: 1;
}

.static-grid .static-grid-item  .static-grid-cell  .description .cell {
    display: table; 
    width: 100%; 
    height: 100%;
	table-layout: fixed;
    
}

.static-grid .static-grid-item  .static-grid-cell  .description .cell .middle {
 	display: table-cell;
    text-align: center;
	vertical-align: middle;
    color: #333;
    font-size: 14px;
    padding: 15px 0px;
    word-wrap: break-word;
}

.static-grid .static-grid-item  .static-grid-cell  .description .cell .middle.left {
    text-align: left;
}


/* Grid width */
.static-grid.c1 .static-grid-item {width: 100%}
.static-grid.c2 .static-grid-item {width: 50%}
.static-grid.c3 .static-grid-item {width: 33.3333%}
.static-grid.c4 .static-grid-item {width: 25%}
.static-grid.c5 .static-grid-item {width: 20%}
.static-grid.c6 .static-grid-item {width: 16.6666%}
.static-grid.c7 .static-grid-item {width: 14.2857%}
.static-grid.c8 .static-grid-item {width: 12.5%}
.static-grid.c9 .static-grid-item {width: 11.1111%}
.static-grid.c10 .static-grid-item {width: 10%}

.static-grid .static-grid-clearfix {
    clear: both;
}

section.gallery > .container > .close #icon-close svg {
	margin-top: 40px;
}

.tablet header .logo.logo-text {
    white-space: normal;
}
.photo.gallery .container.gallery-layout-feed .desc ul {
    list-style-type: disc;
    list-style-position: inside;
}
.photo.gallery .container.gallery-layout-feed .desc ul li {
    padding: 0px;
    text-align: left;
}
.desktop header .container,
.tablet header .container {
    max-width: 960px;
}
body:not(.mobile) .photo.gallery .gallery-layout-feed ul {
    margin: 1em 0 1em 40px;
}