body > .page {
    width: 100%;
    overflow: hidden;
    position: relative;
    top:0 !important;
}

body > .page.photo {
    height: 100%;
}

body > .page.border {
    padding: 17px;
    box-sizing: border-box;
    -moz-box-sizing: border-box; /*Firefox 1-3*/
    -webkit-box-sizing: border-box; /* Safari */
}

.section-image {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	overflow: hidden;
}

.section-image img {
	height: 100%;
	position: absolute;
}

.section-image.loading img {
	opacity: 0;
	filter: alpha(opacity = 0);
}

section {
    height: 100%;
    /*overflow-y: auto;*/
}

section.photo.gallery {
    overflow-y: hidden;
}

.container {
	max-width: 960px;
	margin: 0;
	padding: 40px 0 0 0;
    width: 100%;
}

.container.gallery-layout-carousel-without-preview {
    max-width: 100%;
        height: 100%;
    padding: 0;
}


.nav-container {
    will-change: transform;
    z-index: 100;
    width: 100%;
    background: rgba( 230, 230, 230, 0.9);
    position: fixed;
}

.nav-inner {
    min-height: 40px;
    padding: 10px 25px 10px 30px;
}

.nav-sections {
    width: 100%;
    font-size: 15px;
    visibility: hidden;
}

.nav-section-logo {
	vertical-align: middle;
    height: 40px;
    padding-right: 30px;
}

.nav-section-logo img {
    border: 0;
    display:block;
}

.nav-section-logo .logo-text a {
    text-decoration: none;
    line-height: 40px;
}

.nav-section-logo-fake { display: none }

.nav-container.top .nav-section-menu .logo-content { margin-bottom: 5px }
.nav-container.bottom .nav-section-menu .logo-content { margin-top: 5px }

.blog-content ul.paging {
    margin-bottom: 20px;
}

/*** Menu ***/
.nav-section-menu {
    width: 100%;
}
.nav-section-langs {
    border-left: 1px solid #ccc;
    padding-left: 24px;
}
.page.border .nav-section-langs {
	padding-right: 30px;
}

.nav-section-langs .menu-item {
	margin-right: 15px;
}

.nav-section-langs div.menu-item:last-child {
	margin-right: 0;
}

.nav-section-langs, .nav-section-social-icons, .nav-section-logo{
    white-space:nowrap;
}

.nav-section-copyright {
    padding: 9px 24px 17px 0px;
    text-align: center;
}

.nav-section-copyright .menu {
	display: block;
    line-height: 14px;
}

.nav-section-copyright .menu,
.nav-section-copyright .menu .menu-item {
	position: static;
}

.nav-section-copyright .copy-text {
	position: absolute;
	right: 40px;
	display: none;
	background: #f7f7f7;
	padding: 8px 12px;
    z-index: 1000;
}

.nav-section-social-icons i {
    display: block;
    line-height: 14px;
    margin-top: 0;
}

body.mobile .nav-section-social-icons i {
    display: inline-block;
    margin-right: 0.2em;
    margin-left: 0.2em;
}

.nav-section-copyright a.icon {
	font-size: 14px;
	margin-left: 4px;
    float: left;
}

.nav-section-copyright .menu-item,
.nav-section-social-icons .menu-item {
    vertical-align: middle;
}

.nav-section-social-icons .icon-plus-circled {
    font-size: 14px;
}

.menu {
	display: inline-block;
	vertical-align: middle;
    position: relative;
    z-index: 102;
    font-size: 13px;
}

.menu .menu-item {
	display: inline-block;
    position: relative;
}

.menu .menu-item,
.menu .menu-item a,
.menu .menu-item a:hover {
	color: #6E6E6E;
	line-height: 100%;
    text-decoration: none;
}
.menu .menu-item a:hover {
    color: #49433C
}

.menu .menu-item.separator {
	padding: 0 15px;
	vertical-align: middle;
}
.menu .menu-item.separator:last-child {
    display:none;
}

.menu  .menu-item .arrow {
    width: 0px;
    height: 0px;
    border-style: solid;
    position: absolute;
    z-index: 999;
    display: none;
}

/** Up **/
.nav-container.top  .menu  .menu-item .arrow {
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #EAE8E6 transparent;
}
.nav-container.bottom  .menu  .menu-item .arrow {
    border-width: 10px 10px 0 10px;
    border-color: #EAE8E6 transparent transparent transparent;
}

.nav-container.top  .menu .sub-menu{
    top: 0;
}

.nav-container.bottom  .menu .sub-menu{
    bottom: 0;
}

.menu .sub-menu {
	display: none;
	position: absolute;
	z-index: 999;
	min-width: 180px;
}

.menu .sub-menu .inner {
	background: #EAE8E6;
    padding: 30px;
    position: relative;
}

.menu .sub-menu .menu-item {
	display: block;
	padding: 5px;
	text-align: center;
}

h1.title {
	color: #4c4c4c;
	font-size: 28px;
	padding: 0;
	margin: 0 0 40px 0;
    line-height: 1;
}

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

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

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

h1.title span {
	padding: 0 14px;
	z-index: 2;
	position: relative;
}

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

.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 {
	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;
}

/* New style for lenta */
.gallery-carousel .lenta-main .lenta-viewport  .slider-wrapper {
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: block
}

.gallery-carousel .lenta-main .lenta-viewport .slider {
    position: relative;
    overflow:hidden;
    text-align: left;
    margin-top: 0px;
}

.page .gallery-carousel .lenta-main .lenta-viewport .slider {
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
}

.gallery-carousel .lenta-main .lenta-viewport .slide {
    position: relative;
    height: 100%;
    display: block;
    float: left;
    visibility: visible;
    z-index:1;
    opacity: 1;
    top:0;
    left: 0;
    text-align: left;
}

.gallery-carousel .lenta-main .lenta-viewport .slide .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom : 0;
    overflow: hidden;
    display: block;
    height: 100%;
}

.gallery-carousel .lenta-main .lenta-viewport .slide.loading  .image-wrapper img {
    opacity: 0;
}

.gallery-carousel .lenta-main .lenta-viewport .slide.loaded  .image-wrapper img {
  top: 0;
  left: 0;
  opacity: 1;
  position: retative;
  -webkit-transition: opacity 0.24s cubic-bezier(0.55, 0.085, 0.68, 0.53);
  -moz-transition: opacity 0.24s cubic-bezier(0.55, 0.085, 0.68, 0.53);
  -o-transition: opacity 0.24s cubic-bezier(0.55, 0.085, 0.68, 0.53);
  transition: opacity 0.24s cubic-bezier(0.55, 0.085, 0.68, 0.53); */
}


.gallery-carousel .lenta-main .lenta-viewport .slide.h img.w,
.gallery-carousel .lenta-main .lenta-viewport .slide.w img.w {
	max-width: 100%
}

.gallery-carousel .lenta-main .lenta-viewport .slide.h img.h,
.gallery-carousel .lenta-main .lenta-viewport .slide.w img.h {
	max-height: 100%;
}


.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;
}

/** Photo info popup */

#photo-info, #photo-preview {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1000;
    display: none;
}

#photo-info {
    background: rgba(250, 250, 250, 0.9);
}

#photo-preview {
    display: block;
    opacity: 0;
    z-index: -1;
    overflow-y: auto;
}

#photo-info .controls, #photo-preview .controls {
    width: 100%;
}

#photo-preview .controls {
    height: 0px;
    position: fixed;
    background: none;
    z-index: 10000;
   /* margin: 25px 30px 0px 30px; */
}
#photo-preview .controls .title{
    margin: 25px 0px 0px 30px;
}

#photo-preview .controls-background {
    background: rgba(237, 237, 237, 1);
    height: 75px;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

#photo-preview .grid-background {
    background: rgba(237, 237, 237, 1);
    width: 100%;
    height: 100%;
    margin-top: 75px;
    position: fixed;
}
#photo-preview .grid {
    position: relative;
    visibility: visible;
    height: 3169px;
    margin: 75px 30px 30px;
}

#photo-info .controls { margin-top: 25px }

#photo-info .section,  #photo-preview .section {
    max-width: 1200px;
    position: relative;
    box-sizing: border-box;
    -moz-box-sizing: border-box; /*Firefox 1-3*/
    -webkit-box-sizing: border-box; /* Safari */
    padding: 25px 30px 30px 30px;
}

#photo-preview .section {
    max-width: 100%;
}

#photo-info .count, #photo-preview .breadcrumb {
    font-size: 12px;
    line-height: 12px;
    padding-bottom: 10px;
    color: #A9A9A9;
}

#photo-preview .breadcrumb  a, #photo-preview .breadcrumb a:hover {
    text-decoration: none;
    color: #A9A9A9;
}

#photo-info .title, #photo-preview .title {
     box-sizing: border-box;
    -moz-box-sizing: border-box; /*Firefox 1-3*/
    -webkit-box-sizing: border-box; /* Safari */
}
#photo-info .photo-info-close,  #photo-preview .photo-info-close  {
    cursor: pointer;
    position: absolute;
    right: 25px;
    z-index: 1001;
}

#photo-preview .photo-info-close  {
    top: 25px;
}
#photo-info .photo-info-close {
    top: 25px;
}
.photo-info-close circle, .lenta-button circle {
	opacity: 0.4;
}

#photo-info .photo-info-close:hover  path.cross,
#photo-preview .photo-info-close:hover  path.cross{
    stroke: #000;
}

#photo-info .title > div, #photo-preview .title {
    padding-bottom: 20px;
    display: none;
}
#photo-info .title > div {
    font-size: 25px;
    line-height: 25px;
    color: #4C4C4C;
}

#photo-preview .title {
    display: inline-block;
    padding-bottom: 10px;
}

#photo-info .image {
    float: left;
    width: 46%;
    box-sizing: border-box;
    -moz-box-sizing: border-box; /*Firefox 1-3*/
    -webkit-box-sizing: border-box; /* Safari */
}

#photo-info .image img {
    max-width: 100%;
}

#photo-info  .text {
    float: left;
    width: 54%;
    padding-left: 20px;
    box-sizing: border-box;
    -moz-box-sizing: border-box; /*Firefox 1-3*/
    -webkit-box-sizing: border-box; /* Safari */
}

#photo-info  .text > div {
    display: none;
}

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


/**
 * Section Container
 **/

body > .page > section {
	padding: 0 30px;
    overflow-y: hidden;
}

body > .page > section.photo {
	padding: 0;
}

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 {
	font-family: Verdana;
	text-align: center;
	margin-bottom: 20px;
}

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

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

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

body section.page ol { list-style: decimal; list-style-position: inside; }
body section.page ol ol { padding-left: 20px; }
body section.page ul { list-style: disc; list-style-position: inside; }
body section.page ul ul { padding-left: 20px; list-style-type: circle; }
body section.page ul ul ul { list-style-type: square; }

/**
 * Lenta
 */
.lenta ul li {
	margin: 0;
	padding: 0;
}
/**
 * IE z-index bugfix
 */
.lenta .lenta-next, .lenta .lenta-stop-play, .lenta .lenta-prev, .lenta .lenta-info-box {
    background: url('../images/i.gif');
    z-index:2;
}

.lenta .lenta-info-box {
    position: absolute;
    right: 25px;
    z-index:3;
    width: 120px;
    height: 50px;
    top: 25px;
}

.lenta .lenta-info-box .lenta-button {
    float: right;
}

.lenta .lenta-info-box .lenta-preview {
    margin-right: 0px; margin-left: 10px;
}

.lenta .lenta-info-box .lenta-info {
    opacity: 0;
}

.lenta .lenta-button {
    cursor: pointer;
}



.lenta .lenta-next {
	width: 40%; height: 100%; float: left; position: relative;
    cursor: url(../images/next.png), auto
}

.lenta .lenta-stop-play {
    width: 20%; height: 100%; float: left; position: relative;
}

.lenta .lenta-stop-play i {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
    opacity: 0;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0)
    transition: opacity .2s ease-in-out;
   	-moz-transition: opacity .2s ease-in-out;
   	-webkit-transition: opacity .2s ease-in-out;
    -webkit-backface-visibility: hidden;
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    transform: rotate(0);
}

.lenta .lenta-stop-play i rect {
    display: none;
}

.lenta .lenta-stop-play i.play rect {
    display: block;
}

.lenta .lenta-stop-play i.play path {
    display: none;
}

.lenta .lenta-stop-play:hover i {
    opacity: 1;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100)
}


.lenta .lenta-prev {
	width: 40%; height: 100%;float: left; position: relative;
    cursor: url(../images/prev.png), auto
}

.lenta .lenta-prev > a {
    position: absolute;
    left: 25px;
    height: 42px;
    width: 24px;
    background: url('../images/prev.png');
    top: 50%;
    margin-top: -21px;
    display: none;
}

.lenta .lenta-next > a {
    position: absolute;
    right: 25px;
    height: 42px;
    width: 24px;
    background: url('../images/next.png');
    top: 50%;
    margin-top: -21px;
    display: none;
}

.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 {margin-top: 20px; text-align: center }

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

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

.social-box .share.vk,
.social-box .share.facebook {
	width: 88px;
	overflow: hidden;
}

.news .social-box .share { display: inline-block }

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

body.mobile .social-icons .social-icon-box {
    display: inline-block;
}

.nav-section-social-icons #share-box {
	background: #f7f7f7;
	display: block;
	padding: 8px 12px;
	position: absolute;
    opacity: 0;
    overflow: hidden;
	right: 10000px;
    width: 500px;
}

.nav-container.bottom #share-box { bottom: 63px }
.nav-container.top #share-box { top: 63px }

/* #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: 14px;
	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 section.page img, .tablet section.testimonials img, .tablet section.news img{
    max-width: 100%;
}

.tablet section.page .section-image img,
.tablet section.testimonials .section-image img,
.tablet section.news .section-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;
}

.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.pointer .static-grid-item  .static-grid-cell:hover .image img {
    opacity: 0.8
}

.static-grid.hover .static-grid-item  .static-grid-cell:hover .image img {
    opacity: 0.4
}

/* Description */
.static-grid.hover .static-grid-item  .static-grid-cell  .description {
	position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    display: block;
 	height: 100%;
 	width: 100%;
    opacity: 0;
}

.static-grid.hover .static-grid-item  .static-grid-cell:hover .description {
    opacity: 1;
}

/* 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%}

/* Clear float for last grid irem in row */
.static-grid.c1 .static-grid-item,
.static-grid.c2 .static-grid-item:nth-child(2n + 1),
.static-grid.c3 .static-grid-item:nth-child(3n + 1),
.static-grid.c4 .static-grid-item:nth-child(4n + 1),
.static-grid.c5 .static-grid-item:nth-child(5n + 1),
.static-grid.c6 .static-grid-item:nth-child(6n + 1),
.static-grid.c7 .static-grid-item:nth-child(7n + 1),
.static-grid.c8 .static-grid-item:nth-child(8n + 1),
.static-grid.c9 .static-grid-item:nth-child(9n + 1),
.static-grid.c10 .static-grid-item:nth-child(10n + 1) {
    clear: both;
}

/* #Grid
================================================== */
.grid {
	visibility: hidden;
}

.grid > .item {
	margin: 10px 10px 0px 0px;
	overflow: hidden;
}

.grid > .item a {
	display: block;
}

.grid > .item .caption {
    text-align: center;
    display:block;
 	width: 100%;
}

.grid > .item .caption h2 {
	font-family: Verdana;
	font-size: 14px;
	font-weight: normal;
	color: #454545;
    padding: 0 0 5px 0;
    margin: 0 15% 5px 15%;
}

.grid > .item .caption h3 {
	font-family: Verdana;
	font-size: 10px;
	font-weight: normal;
	color: #a2a2a2;
	padding: 0;
    margin: 0;
}

.grid.hover > .item .caption {
	position: absolute;
    text-align: center;
    display:none;
 	height: 100%;
 	width: 100%;
 	z-index: 3;
    top: 0;
    left: 0;
}

.grid.hover > .item .caption .middle {
 	display: table-cell;
	vertical-align: middle;
}

.grid.hover > .item:hover .caption {
    display:table;
    width: 100%;
    height: 100%:
}

.grid > .item.menu {
	background: #f6f6f6;
	padding: 15px;
	color: #838383;
	font-size: 16px;
	cursor: default;
}

.grid > .item.menu h1 {
	font-size: 16px;
	margin: 0 0 10px 0;
	padding: 0 0 10px 0;
	border-bottom: 1px solid #dad9d9;
	font-weight: normal;
}

.grid > .item.menu h1:last-child {
	border: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.grid > .item.menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.grid > .item.menu li {
	margin: 5px 0;
}

.grid > .item.menu li a {
	font-size: 13px;
	color: #838383;
}

.grid > .item.menu li.active a{

}

.grid > .item.menu li a:hover {
	color: #383838;
}

.grid > .item.menu li:last-child {
	margin-bottom: 0;
}

.grid > .item img {
	display: block;
	-webkit-transition: all .4s ease-out;
	-moz-transition: all .4s ease-out;
	-o-transition: all .4s ease-out;
	transition: all .4s ease-out;
    opacity: 0;
    cursor: pointer;
}

.grid > .item img.loaded {
    opacity: 1;
}

/* Tablet mode */

.tablet .nav-inner { padding: 10px 30px; }
.tablet .menu .menu-item.separator { padding: 0 3px 0px 7px; }
.tablet .nav-section-social-icons .menu-item,
.tablet .nav-section-social-icons .menu-item a { margin-left: -3px; }

body.desktop .nav-section-social-icons,
body.desktop .nav-section-copyright {
    padding-top: 0;
    padding-bottom: 0;
}
