/*general styles*/
.slider_top .sliderContent .item,
.tdbini>.item, .tdbini>.item>.plate,
.gallery, .gallery_list, 
.our-news ul.news_list,
.pw-b, .s-ls-con, .ch-ls-con, .tdbini,
.c2a-general,
.c2a-general .general-form-flex,
.c2a-general .fblock,
.c2a-general .general-form-right,
.wrapper-c2a-general-button,
.me-loop,
.wp-caption-text.align-right, .wp-caption-text.align-left,
.site-header:not(.fixed) .apnb, .site-footer .lblock,
.t1350px-c .gallery,
#popup, .d-links, .site-footer .col-full.dark,
.tlw, .site-header .lblock, .trh
{
    list-style: none; display: -ms-flexbox; display: -moz-flex; display: -webkit-flex; display: flex;
}
.slider_top .sliderContent .item, 
.gallery, .gallery_list, .our-news ul.news_list,
.c2a-general,
.me-loop, 
.ch-ls-con, .tdbini,
.t1350px-c .gallery, .d-links, .pw-b.treti,
.pw-b.tdbwb
{
    -webkit-flex-flow: row wrap; flex-flow: row wrap; list-style: none;
}
.c2a-general .fblock,
.c2a-general .general-form-right,
.simple-ls, .bbwitd,
.ttce, .sslider, .pw-b.ttreto,
.pw-b.tdbini>.item>.plate,
.pw-b.tdbwb.baright
{
    flex-direction: column;
    -webkit-flex-direction: column;
}

.slider_top .sliderContent .item,
.tdbini>.item, .tdbini>.item>.plate,
.gdiz2 .gallery, 
.gdiz2 .gallery_list, 
.our-news ul.news_list,
.c2a-general,
.wrapper-c2a-general-button,
.wp-caption-text.align-right, .wp-caption-text.align-left,
.i42-t58,.t58-i42,.i50-t50,.t50-i50,
.simple-ls,
.ttce, .ch-ls-con, .t38-l, .t58-l, .t1268px-c, .t1350px-c, .tdbini,
.sslider,
#popup,
.site-footer .lblock,
.s-ls-con.count1, .s-ls-con.count2:not(.colb),/* :not(.colb) not coloums block */
div.simple-ls>.s-ls-con:not(.count1):not(.count2)
{
    justify-content: center;
}
#popup{display: none;}

.gallery, 
.gallery_list, 
.our-news ul.news_list,
.c2a-general .general-form-flex,
.bbwitd, .d-links
{
    justify-content: space-around; 
}
.wrapper-c2a-general-button,
.apnb,
.s-ls-con,
.fjc-sb, .pw-b.colb,
.pw-b.tdbwb,
.tlw, .site-header .lblock, .trh
{
    justify-content: space-between;
}
.gdiz1 .gallery, .gdiz1 .gallery_list, .t38-l, .t58-l,{
    justify-content: flex-start;
}
.wp-caption-text.align-right, .wp-caption-text.align-left,
.slider_top .sliderContent .item,
.apnb, .site-footer .lblock,
.i42-t58,.t58-i42,.i50-t50,.t50-i50, 
.t38-c, .t58-c, .t1268px-c, .t1350px-c,
.t1350px-c .gallery,
.sslider, .site-footer .col-full.dark,
.tdbini>.item,
.tlw, .site-header .lblock, .trh
{
    align-items: center;
}
.pw-b.baright{
    align-items: flex-end;
}
.lw{
    padding: 0; margin: 0;
}

.c2a-general, .t1350px-c>.pw-tb, .t1268px-c>.pw-tb{
    width: 100%;
}
.pw-b{
	box-sizing:border-box;	
}
.wrapper-c2a-general-button {
    padding: 2em 0;
}

.lf-link, a.treeb, .widget .lf-title{
    color: #293034;
    background-color: rgba(154, 185, 82, 1);;
    background-size: cover;
    font-size: 2.6em;
    font-weight: bold;
    line-height: 1.2;
    display: -ms-flexbox;
    display: -moz-flex;
    display: display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-flex-flow: column wrap; 
    -moz-flex-flow: column wrap;
    flex-flow: column wrap;
    justify-content: center;
    padding: 0 0 0 0.85em;
}

.footer_contacts .callus {
    color: #efc37b;
    font-size: 2em;
    padding: 0 0 .5em;
}
.footer_contacts .phone {
    font-size: 2em;
}

.footer_contacts .phone, .footer_contacts .phone>a {
    color: #f5aa27;
}
.footer_contacts .phone>a {
    white-space: nowrap;
}



.slick-next:before,  .slick-prev:before{
    font-size: 10em;
	display: block; 
    content:"\6c";
    -webkit-transition: all, ease, .2s;
    transition: all, ease, .2s;
    z-index: 9;
}
.slick-prev:before{
  filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=2);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
  right: 0.3em;
  position: relative;
}
.slick-next:before{
  left: 0.3em;
  position: relative;   
}

.slick-slider a:focus{outline: none;}
.slick-prev, .slick-next{
    position: absolute;
    cursor: pointer; color: transparent; border: none;outline: none;background: transparent;
}


.wp-caption {
    margin-bottom: 1em;
    max-width: 100%
}

.wp-caption img[class*=wp-image-] {
    display: block;
    margin: 0 auto
}

.wp-caption .wp-caption-text {
    text-align: left;
    padding: 1em 0
}

.gallery{
   padding: 0.5em 0;
}

ul.gallery_list{list-style:none;  line-height : 1;}
.gdiz1 ul.gallery_list{font-size : 2.2em;}
.gdiz2 ul.gallery_list{font-size : 1.8em;}

.gallery-size-fotogallery_thumbnail .slick-prev, .gallery-size-fotogallery_thumbnail .slick-next{top:47%}



.gallery.columns-3, .gallery_list.columns-3, .our-news ul.news_list{
    padding: 0 3em;
}

ul.gallery_list li{text-align : center;}
ul.gallery_list li>a{position : relative; display : block;}
.gdiz2 ul.gallery_list li>a{padding : 0.3em; background-color : #3e2210;}
ul.gallery_list li>a>span.entry-title, .our-news ul.news_list li>a>span.entry-title{
	padding : 0.6em 0.833em; width : 100%;
	overflow : hidden; box-sizing: border-box;
	position: absolute;	bottom: 0px; left : 0px; 
}
.gdiz1 ul.gallery_list li>a>span.entry-title{color: #eec328;background: rgba(42, 50, 55,0.9); }
.gdiz2 ul.gallery_list li>a>span.entry-title, .our-news ul.news_list li>a>span.entry-title{color: #251b16;background: rgba(220,183,26,0.9); }
.gallery .gallery-item, ul.gallery_list li, .our-news ul.news_list li{box-sizing: content-box; position: relative;}
.bdiz1 .gallery.columns-3 .gallery-item{width: 32%;}
.bdiz1 .gallery .gallery-item img{width: 100%;}
.bdiz1 .gallery .slick-slide{height: auto;}

.gallery .gallery-item .gallery-icon a {
    display: block;
    border: none;
}

.gallery .gallery-item .gallery-icon img {
    border: none;
    height: auto;
    margin: 0 auto;
	float:none;
}
.all-menu-gallery .gallery .gallery-item .gallery-icon img {
    max-height: 67em
}

.gallery .gallery-item .gallery-caption {
    margin: 0;
    text-align: center
}


.gallery_list>li:hover {
    webkit-box-shadow: 0 2px 10px 2px rgba(0,0,0,.4);
    box-shadow: 0 2px 10px 2px rgba(0,0,0,.4);
    transition: .2s;
    background-color: rgba(255,255,255,0.85);
}

.gallery_list>li:not(:hover){
    transition: .2s;
}

.sslider>.sslider-b{
    max-width: 119.2em;
    padding: 6em 0 0;
}
.sslider>.sslider-b .item{
    border: 1px #e1e1e1 solid;
    margin: 0 5em;
    background: #fff;
}
.sslider-b img{
    border-radius: 50%;
}
.sslider-b .pw-tb{
    padding: 0 0 0 2em;
}
.sslider-b.slick-slider,
.sslider .slick-initialized .slick-slide,
.gallery.slick-slider{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;   
}
.sslider h2{
    text-align: center;
}

figure .wp-caption-text {
    font-size: 1.4em;
}
.gallery.type-slider .gallery-item .wp-caption-text, .gallery.caption-in .gallery-item .wp-caption-text {
    font-size: 2.8em;
    position: absolute;
    padding: 0.2em .85em 0.1em;
    bottom: .4em;
    font-weight: 400;
    min-width: 8.023em;
    text-align: center;
}
.c1 .wp-caption-text{
    background-color: rgba(220,183,26,0.9);
    color: #251b16;
}
.c2 .wp-caption-text{
    background-color: rgba(45,50,62,0.88);
    color: #f1bc58;
}

.wp-caption-text.align-right {
    right: 0.4em;
    margin-left: 0.4em;
}
.wp-caption-text.align-left {
    left: 0.4em;
    margin-right: 0.4em;
}
.wp-caption-text.align-center {
    left: 50%;
    transform: translateX(-50%);
    display: table;
    max-width: calc(100% - 2.6em);
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus
{
    color: transparent;
    outline: none;
    background: transparent;
}
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before
{
    opacity: 1;
}
.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before
{
    opacity: .25;
}

.slick-prev:before,.slick-next:before{opacity: .55; color: #248c7c;}


.slick-prev{left: 0px;}
[dir='rtl'] .slick-prev{ right: 0px;  left: auto;}

.slick-next{ right: 0px;}
[dir='rtl'] .slick-prev{    right: auto;    left: 0px;}

.slick-dots
{
    position: absolute;
    bottom: -25px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.slick-dots li
{
    position: relative;

    display: inline-block;

    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;

    cursor: pointer;
}
.slick-dots li button
{
    font-size: 0;
    line-height: 0;

    display: block;

    width: 20px;
    height: 20px;
    padding: 5px;

    cursor: pointer;

    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus
{
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before
{
    opacity: 1;
}
.slick-dots li button:before
{
    font-family: 'slick';
    font-size: 6px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    text-align: center;
    opacity: .25;
    color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before{
    opacity: .75;
    color: black;
}



.tshd h1, .tshd h2{
    text-shadow: 1px 2px 3px #141C00;
}

.tshd p{
    text-shadow: 0px 0px 1px rgba(36, 49, 1, 0.75);
}

.tshd-blurry34 h1, .tshd-large h2{
    text-shadow: 1px 2px 34px #141C00;
}

.tshd-blurry34 p{
    text-shadow: 0px 0px 34px rgba(36, 49, 1, 0.75);
}


.tshl h1, .tshl h2{
    text-shadow: 0px 0px 3px #eeffc3;
}
.tshl p{
    text-shadow: 0px 0px 1px rgba(247, 255, 228, 0.65);
}
.tshl-blurry34 h1, .tshl h2{
    text-shadow: 0px 0px 34px #eeffc3;
}
.tshl-blurry34 p{
    text-shadow: 0px 0px 34px rgba(247, 255, 228, 0.65);
}

.tbsw{
    background: rgba(255, 255, 255, 1);
}
.tbsw-30{
    background: rgba(255, 255, 255, 0.3);
}
.tbrgg-0-30{
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#e9ecef+0,ecedee+100&0+0,0.3+14,0.3+86,0+100 */
background: -moz-radial-gradient(center, ellipse cover, rgba(233,236,239,0) 0%, rgba(233,236,239,0.3) 14%, rgba(236,237,238,0.3) 86%, rgba(236,237,238,0) 100%); /* FF3.6-15 */
background: -webkit-radial-gradient(center, ellipse cover, rgba(233,236,239,0) 0%,rgba(233,236,239,0.3) 14%,rgba(236,237,238,0.3) 86%,rgba(236,237,238,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: radial-gradient(ellipse at center, rgba(233,236,239,0) 0%,rgba(233,236,239,0.3) 14%,rgba(236,237,238,0.3) 86%,rgba(236,237,238,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00e9ecef', endColorstr='#00ecedee',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
    
.tbsd-30{
    background: rgba(0, 0, 0, 0.3);
}
.tbsd-40{
    background: rgba(0, 0, 0, 0.4);
}   



.slider_top .sliderArrows{
    position: absolute;
    top: 38%;
    z-index: 9;
    display: block;
    width: 100%;
}
.slider_top .sliderArrows{
    display : none;
}

.slider_top .sliderArrows a{
    text-indent: -9999px;
    outline: none;
    z-index: 7;
    position: absolute;
    opacity: .25;
    -webkit-transition: all, ease, .2s;
    transition: all, ease, .2s
}
.slider_top .sliderArrows a:hover{
    opacity: .75;
}

.slider_top {
    margin: 0 auto;
    /*text-align: center!important;*/
    display: block;
    position: relative;
}
.slider_top .sliderContent {
    max-width: 100vw;
    clear: both;
    margin: auto;
}

.slider_top .sliderContent .slick-list,
.slider_top .sliderContent .slick-list .slick-track {
    height: 100%;
}

.slider_top .sliderContent .slick-dots li {
    margin: 5px 7px;
    width: 15px;
    height: 15px;
}

.slider_top .sliderContent .slick-dots li button {
    background: none repeat scroll 0 0 rgba(255,255,255,0.75);
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.slider_top .sliderContent .slick-dots li.slick-active button {
    background: none repeat scroll 0 0 #edad20;
}

.slider_top .sliderContent .item {
    position: relative;
    background-repeat: no-repeat;
    max-width: 100%;
}

.slider_top .sliderContent .item.pts-left{
    background-position: left!important;
}
.slider_top .sliderContent .item.pts-right{
    background-position: right!important;
}
.slider_top .sliderContent .item.pts-center{
    background-position: center!important;
}

.slider_top .for_tt{
    position : relative;
}


.slider_top .for_tt.right{right: 7em;  float : right;}

.slider_top .for_tt .title{font-size : 2em; color : #dd3333; display : block; line-height : 1.2; margin : 0 0 0.3em;}
.slider_top .for_tt .text{font-size : 1.2em; color : #fff;}
.sliderBullets {
    margin: auto;
    text-align: center;
    position: relative;
    z-index: 100;
}
.sliderBullets a {
    background: none repeat scroll 0 0 rgba(255,255,255,0.75);
    border-radius: 20px;
    display: inline-block;
    height: 15px;
    margin: 5px 7px;
    width: 15px;
    text-indent: -9999px;
}
.sliderBullets .active {
    background: none repeat scroll 0 0 #edad20;
}

@media (min-width: 1130px) {
    .storefront-primary-navigation{
        text-align : center;
        padding: 0.2em 2vw 0 0;
    }
    .site-header .apnb{
        padding: 2.5em 1.4em 0;
    }
    .slider_top .for_tt.left{
        max-width : 30vw; 
        padding : 3vw;
        right: 21.7vw;
        margin: auto;
    }
}
@media (min-width: 1300px){
    .slider_top .sliderContent {
        font-size: 0.51vw;
    }
}
@media (min-width: 1000px){
	.carusel .s-ls-con .slick-prev{
		left: -5.3em;
	}
	.carusel .s-ls-con .slick-next{
		right: -5.3em;
	}
}
@media (max-width: 999px){
	.carusel .s-ls-con .slick-prev{
		left: -4.3em;
		overflow: hidden;
	}
	.carusel .s-ls-con .slick-next{
		right: -4.3em;
		overflow: hidden;
	}
}
@media (max-width: 1129px) and (min-width: 900px) {
    .slider_top .for_tt.left{
        max-width : 42vw; 
        padding : 6vw 4vw 6vw;
        right: 21.7vw;
        margin: auto;
    }
}
@media (max-width: 1129px) and (min-width: 850px) {
    .slider_top .sliderContent {
        font-size: 0.65vw;
    }
}

@media (min-width:900px) {
    .slider_top, .slider_top .sliderContent, .slider_top .sliderContent .item {
        overflow: hidden;
    }
    body.admin-bar .slider_top.h100per, body.admin-bar .slider_top.h100per .sliderContent, body.admin-bar .slider_top.h100per .sliderContent .item {
        height: 100vh;
        height: -moz-calc(100vh - 3.2em);
        height: -webkit-calc(100vh - 3.2em);
        height: calc(100vh - 3.2em);
        min-height: 44vw;
    }
    body:not(.admin-bar) .slider_top.h100per, body:not(.admin-bar) .slider_top.h100per .sliderContent, body:not(.admin-bar) .slider_top.h100per .sliderContent .item {
        height: 100vh; min-height: 44vw;
    }
    .slider_top.h90per, .slider_top.h90per .sliderContent, .slider_top.h90per .sliderContent .item{
        height: 90vh; 
    }
    .slider_top.h80per, .slider_top.h80per .sliderContent, .slider_top.h80per .sliderContent .item{
        height: 80vh; 
    }
    .slider_top.h70per, .slider_top.h70per .sliderContent, .slider_top.h70per .sliderContent .item{
        height: 70vh; 
    }
    .slider_top.h60per, .slider_top.h60per .sliderContent, .slider_top.h60per .sliderContent .item{
        height: 60vh;
    }
    .site-content.ptt .slider_top .sliderContent .item {
        padding: 5.7em 0 0;
    }
    .site-header:not(.fixed)+.site-content.ptt{
        margin-top: -19.2em;
    }
    .site-header.fixed+.site-content.ptt{
        margin-top: 2.3em;
    }
    .slider_top .sliderContent .item {
        background-size: cover;
        background-position: center;
    }
}
@media (max-width: 849px) {
    .sslider .slick-initialized .slick-slide{
        flex-flow: column;
        text-align: center;
    }
    .sslider>.sslider-b .item {
        padding: 2em 4vw 2em 2vw;
    }
}
@media (max-width:899px) and (min-width: 450px) {
    .slider_top .sliderContent .item {
        background-size: 145vw;
        background-position: 28% 92%;
    }
    .slider_top .for_tt.left{
        max-width : 64em; 
        padding : 6em 4em 6em;
        right: calc(23.7vw - 6em);
        margin: auto;
    }
    .slider_top, .slider_top .sliderContent, .slider_top .sliderContent .item{
        height : 57vw; 
        overflow: hidden;
    }
}
@media (min-width:650px) {
    body:not(.home) .slider_top .for_tt h1, body:not(.home) .slider_top .for_tt h2{
        font-size : 5.8em!important;
    }
    body.home .slider_top .for_tt h1, body.home .slider_top .for_tt h2{
        font-size : 7em!important;
    }

    .slider_top p, .slider_top li{
        font-size: 2.6em;
    }
}
@media (max-width:449px){
    .slider_top .sliderContent .item {
        background-size: 185vw;
        background-position: 19% 100%;
    }
    .slider_top .for_tt.left{
        max-width : 74em; 
        padding : 6em 4em 6em;
        right: calc(23.7vw - 13em);
        margin: auto;
    }
    .slider_top .for_tt{
        font-size: 0.88vw;
    }
    .slider_top, .slider_top .sliderContent, .slider_top .sliderContent .item {
        height: 76vw;
        overflow: hidden;
    }
    .slider_top .for_tt h1, .slider_top .for_tt h2 {
        font-size: 6.2em!important;
    }
    .slider_top .for_tt p {
        font-size: 4.4em!important;
    }	
}

@media (max-width: 567px) {
	.sliderBullets  {bottom: 26px;}
    .slider_top .sliderContent .slick-dots {
        bottom: 2px;
    }
}

@media (max-width: 399px) {
    .slider_top .for_tt.center{font-size: 4px;}
}
@media (max-width:649px) and (min-width: 450px) {
    .slider_top .for_tt h1, .slider_top .for_tt h2{font-size : 5.2em!important;}
    .slider_top .for_tt p{font-size: 4.0em!important;}
}
@media (max-width:649px) {
    .sslider>.sslider-b{
        font-size: 1.6vw;
    }	
}
@media (min-width:501px) {
	body[class*="photogallery-template-default"] .gallery .gallery-item .gallery-icon img{max-width : 230px;}
    .alpha, .entry-header h1{font-size : 5.4em;}
}

@media (max-width:500px) and (min-width:411px){ 
	body[class*="photogallery-template-default"] .gallery .gallery-item .gallery-icon img{max-width : 190px; height : auto;}
}
@media (max-width:410px) {
	.gallery .gallery-item{width:100%; text-align: center;}
	body[class*="photogallery-template-default"] .gallery .gallery-item .gallery-icon img{max-width : none; height : auto;}

    body[class*="photogallery-template-default"] .gallery .gallery-item .gallery-icon a {
        text-align: center;
    }     
}
@media (max-width:500px) {  
	.slider_top .next{right : 0;}
	.slider_top .prev{left : 0;}
    .gallery.type-slider .gallery-item .wp-caption-text  {
        font-size: 7.2vw;
    }
}
@media(max-width: 949px) {
    .gallery{width: auto; margin-left: 25px; margin-right: 25px; }
}