@font-face {
    font-family: 'HelveticaNeueCyrRoman';
    src: url('../fonts/HelveticaNeueCyr-Roman.eot');
    src: local('HelveticaNeueCyr-Roman'),
    url('../fonts/HelveticaNeueCyr-Roman.eot?#iefix') format('embedded-opentype'),
    url('../fonts/HelveticaNeueCyr-Roman.woff') format('woff'),
    url('../fonts/HelveticaNeueCyr-Roman.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'HelveticaNeueCyrMedium';
    src: url('../fonts/HelveticaNeueCyr-Medium.eot');
    src: local('../fonts/HelveticaNeueCyr-Medium'),
    url('../fonts/HelveticaNeueCyr-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/HelveticaNeueCyr-Medium.woff') format('woff'),
    url('../fonts/HelveticaNeueCyr-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'HelveticaNeueCyrBold';
    src: url('../fonts/HelveticaNeueCyr-Bold.eot');
    src: local('../fonts/HelveticaNeueCyr-Bold'),
    url('../fonts/HelveticaNeueCyr-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/HelveticaNeueCyr-Bold.woff') format('woff'),
    url('../fonts/HelveticaNeueCyr-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'HelveticaNeueCyrLight';
    src: url('../fonts/HelveticaNeueCyr-UltraLight.eot');
    src: local('../fonts/HelveticaNeueCyr-UltraLight'),
    url('../fonts/HelveticaNeueCyr-UltraLight.eot?#iefix') format('embedded-opentype'),
    url('../fonts/HelveticaNeueCyr-UltraLight.woff') format('woff'),
    url('../fonts/HelveticaNeueCyr-UltraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

body{
    font-family: HelveticaNeueCyrRoman;
}
a:visited{
    color: inherit;
}
a:focus{
    outline: none;
}
header#header{
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 500;
}
section#cwrapper{
    padding-top: 93px;
}
.admin-bar header#header{
    top: 32px;
}
.admin-bar section#cwrapper{
    padding-top: 140px;
}
header .navbar{
    padding: 0px;
    height: 93px;
    overflow: hidden;
    background-color: #fff;
}
header #logo{
    width: 25%;
    padding-right: 10px;
}
header #logo,
header #langs{
    line-height: 93px;
}
header .custom-logo-link{
    display: block;
    text-align: center;
    padding: 0;
    width: 100%;
    background-color: #018D36;
}
header .custom-logo-link img{
    max-width: 280px;
}
header #logo,
header #langs,
header #menu{
    float: left;
}
header #menu{
    width: 50%;
    text-align: center;
    line-height: 93px;
}
header #menu ul#main-menu{
    margin: 0;
    width:  100%;
    display: block;
    text-align: center;
}
header #menu ul#main-menu li{
    display: inline-block;
}

header #mobile_nav_wrapper{
    background-color: #018D36;
    padding: 20px;
}
header #mobile_nav_wrapper #mobile_navigation{
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.25);
}
header #mobile_nav_wrapper #mobile_logo{
    display: inline-block;
    width: 70%;
}
header #mobile_nav_wrapper button.navbar-toggler{
    float: right;
    margin-top: 25px;
    cursor: pointer;
}
header #mobile_nav_wrapper ul{
    margin: 0;
    padding: 0 10px;
    list-style-type: none;
}
header #mobile_nav_wrapper #mobile_langs,
header #mobile_nav_wrapper #mobile_menu{
    float: left;
}
header #mobile_nav_wrapper #mobile_menu{
    width: 70%;
}
header #mobile_nav_wrapper #mobile_langs{
    width: 30%;
}
header #mobile_nav_wrapper ul a{
    font-family: HelveticaNeueCyrMedium;
    color: rgba(255,255,255,1);
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
}
header #mobile_nav_wrapper ul .current_page_item a:before{
    display: block;
    content: '';
    position: absolute;
    left: -14px;
    top: 0px;
    bottom: 0px;
    border-right: 1px solid #fff;

}
header #mobile_nav_wrapper ul#mobile_lang a{
    display: block;
    padding: .5rem 1rem;
}
header #mobile_nav_wrapper ul#mobile_lang .current-lang a{
    border-bottom: 1px solid #fff;
}
header #mobile_nav_wrapper button[aria-expanded="true"] .navbar-toggler-icon{
    background-image: url("../img/times.svg");
}

header a{
    font-family: HelveticaNeueCyrMedium;
    font-size: 18px;
    color: #000;
}
header #menu a{
    text-transform: uppercase;
    padding: 0 0.5rem;
}
header #menu li.current-menu-item a,
header #menu a:hover{
    color: #008d36;
}
header ul#lang a{
    text-transform: lowercase;
}
header #langs{
    width: 25%;
    height: 100%;
    /*margin-left: 10px;*/
}
header ul#lang{
    margin: 0;
    padding: 0;
}
header ul#lang li{
    display: block;
    width: 25%;
    float: left;
    position: relative;
}
header ul#lang li a{
    display: inline-block;
    width: 100%;
    text-align: center;
    text-decoration: none;
}
header ul#lang:after,
header:after{
    content: '';
    display: table-cell;
    float: none;
    clear: both;
}
header ul#lang li+li:before{
    position: absolute;
    top: 12px;
    left: 0px;
    bottom: 12px;
    display: block;
    box-sizing: border-box;
    content: '';
    border-right: 1px solid #ccc;
}
header ul#lang li a:hover,
header ul#lang li.current-lang a{
    background-color: #018D36;
    color: #fff;
}
header ul#lang li.current-lang + li:before,
header ul#lang li:hover:before,
header ul#lang li:hover + li:before{
    display: none !important;
;
}

.metroSliderPart.desctopVersion{
    margin: 10px 0;
    padding: 0;
    position: relative;
    /*height: 850px;*/
    overflow: hidden;
}
.metroSliderPart.desctopVersion .metroSliderContainer{
    width: 25%;
    position: relative;
    float: left;
    height: 850px;
}
.metroSliderPart.desctopVersion .metroSliderContainer a{
    text-decoration: none;

}
.metroSliderPart.desctopVersion .metroSliderContainer .metroItem{
    margin-right: 10px;
    position: relative;
    height: 100%;
}
.metroSliderPart.desctopVersion .slick-slider .slick-track,
.metroSliderPart.desctopVersion .slick-slider .slick-list{
    height: 100%;
    overflow: hidden;
}
.metroSliderPart.desctopVersion .metroSliderContainer .metroItemSlider .itemSlide,
.metroSliderPart.desctopVersion .metroSliderContainer .metroItemSlider > a,
.metroSliderPart.desctopVersion .metroSliderContainer .metroItemSlider {
    display: block;
    height: 100%;
    overflow: hidden !important;
}
.metroSliderPart.desctopVersion .metroSliderContainer .metroItemSlider .factory_link{
    position: relative;
    height: 100% !important;
    display: block;
    overflow: hidden !important;

}
.metroSliderPart.desctopVersion .metroSliderContainer .metroItemSlider .factory_link:before{
    display: block;
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26,153,74,0.8);
    z-index: 0;
    opacity: 0;
    transition: opacity linear 0.7s;
}
.metroSliderPart.desctopVersion .metroSliderContainer .metroItemSlider .factory_link:hover:before{
    opacity: 1;
}
.metroSliderPart.desctopVersion .metroSliderContainer .metroItemSlider .itemSlide img{
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    /* IE10+ specific styles go here */
    .metroSliderPart.desctopVersion .metroSliderContainer .metroItemSlider .itemSlide img{
        width: calc(100% - 1px);
    }
}
.metroSliderPart.desctopVersion .metroSliderContainer .metroItemSlider > a + a{
    display: none;
}
.metroSliderPart.desctopVersion .metroSliderContainer .logo{
    display: block;
    position: absolute;
    top: 0;
    left: 0;

}
.metroSliderPart.desctopVersion .metroSliderContainer .desc{
    position: absolute;
    bottom: 0px;
    width: 100%;
    z-index: 50;
}
.metroSliderPart.desctopVersion .metroSliderContainer.sliderType1 .desc{
    bottom: 50px;
}
.metroSliderPart.desctopVersion .metroSliderContainer.sliderType5 .desc{
    bottom: 380px;
}
.metroSliderPart.desctopVersion .metroSliderContainer.sliderType1,
.metroSliderPart.desctopVersion .metroSliderContainer.sliderType2,
.metroSliderPart.desctopVersion .metroSliderContainer.sliderType5{
    /*height: 100%;*/
}
.metroSliderPart.desctopVersion .metroSliderContainer.sliderType4,
.metroSliderPart.desctopVersion .metroSliderContainer.sliderType3{
    height: 417px;
}
.metroSliderPart.desctopVersion .metroSliderContainer.sliderType4{
    position: absolute;
    top: 433px;
    left: 50%;
}

.metroSliderPart.desctopVersion .metroSliderContainer.sliderType5 .metroItem{
    margin-right: 0;
    width: 100%;
}
.metroSliderPart.desctopVersion .metroSliderContainer .metroItemSliderTitle{
    width: 100%;
    padding: 32px 10px;
    /*background-image: url("../img/thover.png");*/
    /*background-repeat: repeat;*/
    background-color: rgba(1,141,54,0.8);
    text-transform: uppercase;
    font-size: 20px;
    color: #fff;
    font-family: HelveticaNeueCyrRoman;
    text-align: center;
}
.metroSliderPart.desctopVersion .metroSliderContainer .products{
    z-index: 50;
}
.metroSliderPart.desctopVersion .metroSliderContainer .products a{
    display: block;
    background-color: rgba(255,245,210,0.8);
    padding: 6px 10px;
    text-align: center;
    text-transform: uppercase;
    font-family: HelveticaNeueCyrMedium;
    font-size: 16px;
    color: #000;
}
.metroSliderPart.desctopVersion .metroSliderContainer .products a:hover{
    color: #fff;
    background-color: #27974D;
}
.metroSliderPart.mobileVersion{
    margin: 20px 0;
}
.metroSliderPart.mobileVersion .metroSliderContainer{
}
.metroSliderPart.mobileVersion .metroItem{
    position: relative;
    margin-bottom: 20px;
    min-height: 210px;
}
.metroSliderPart.mobileVersion .metroItem .logo{
    position: absolute;
    top: 10px;
    left: 10px;
}
.metroSliderPart.mobileVersion .metroItem .desc{
    position: absolute;
    width: 100%;
    bottom: 0px;
}
.metroSliderPart.mobileVersion .metroSliderContainer .products{
    background-color: rgba(255,245,210,1);
    text-align: center;
}
.metroSliderPart.mobileVersion .metroSliderContainer .products a{
    display: inline-block;
    background-color: rgba(255,245,210,0.8);
    padding: 6px 10px;
    text-align: center;
    text-transform: uppercase;
    font-family: HelveticaNeueCyrMedium;
    font-size: 16px;
    color: #000;
}
.metroSliderPart.mobileVersion .metroSliderContainer .products a:hover{
    color: #fff;
    background-color: #27974D;
}
.metroSliderPart.mobileVersion .metroItem .desc a.factory_link{
    display: block;
    padding: 20px 40px;
    /*background-image: url("../img/thover.png");*/
    /*background-repeat: repeat;*/
    background-color: rgba(1,141,54,0.8);
    text-transform: uppercase;
    font-size: 16px;
    color: #fff;
    font-family: HelveticaNeueCyrRoman;
    text-align: center;
}


.home section#content{
    padding-top: 70px;
    padding-bottom: 70px;
}
.home section#content article{
    padding-right: 60px;
}
.home #mp_logos{
    padding: 0 20px;
}
.home #mp_logos .item .image{
    min-height: 250px;
    line-height: 250px;
    text-align: center;
    border: 1px solid #536C49;
}
.home #mp_logos .item .image img{
    display: inline-block;
}
.home h2{
    font-family: HelveticaNeueCyrBold;
    font-size: 30px;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.home h2:first-letter{
    background-color: #008D36;
    color: #fff;
    padding: 5px 8px;
    margin-right: 5px;
    font-size: 46px;
}
.home #mp_logos .item .title{
    padding: 12px;
    background-color: #008D36;
    text-align: center;
    font-size: 21px;
    font-family: HelveticaNeueCyrRoman;
    text-transform: uppercase;
    color: #fff;
}
.slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 21px;
    height: 33px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
    background-repeat: no-repeat;
    background-position: center;
}
.slick-prev:before, .slick-next:before{
    display: none !important;
}
.slick-prev{
    background-image: url("../img/arrow-prev.png") !important;
}
.slick-next {
    background-image: url("../img/arrow-next.png") !important;
}
/*.slick-prev:hover{*/
    /*background-image: url("../img/arrow-prev-disable.png") !important;*/
/*}*/
/*.slick-next:hover {*/
    /*background-image: url("../img/arrow-next-disable.png") !important;*/
/*}*/
.home #mission_block,
.home #mp_partners{
    padding: 70px 0;
}
.home #mission_block{
    background-color: #F2F9F5;
}
#partners_slider .item{
    min-height: 130px;
    line-height: 130px;
    text-align: center;
}
#partners_slider .item img{
    display: inline-block;
}
#missions_slider .item > div{
    /*display: inline-block;*/
    float: left;
}
#missions_slider .item .number{
    font-family: HelveticaNeueCyrBold;
    font-size: 47px;
    color: #008d36;
    position: relative;
    width: 50px;
}
#missions_slider .item .number:after{
    display: block;
    content: '';
    position: absolute;
    top: -5px;
    bottom: -5px;
    right: -15px;
    border-right: 2px solid #CED4D0;
}
#missions_slider .item .text{
    width: calc(100% - 80px);
    margin-left: 30px;
    font-family: HelveticaNeueCyrMedium;
    font-size: 18px;
    color: #484A49;
    padding-top: 14px;
    line-height: 22px;
}
#missions_slider .slick-dots li button:before{
    display: none;
}
#missions_slider .slick-dots li{
    width: auto;
    height: auto;
    margin: 0 5px;
}
#missions_slider .slick-dots{
    top: 75px;
}
#missions_slider .slick-dots li button{
    font-size: 12px;
    line-height: 12px;
    color: #fff;
    font-size: 18px;
    font-family: HelveticaNeueCyrMedium;
    background-color: #008D36;
    text-align: center;
    padding: 14px;
    width: auto;
    height: auto;
    display: inline-block;
}

#mp_advantages .accordion .card{
    border-radius: 0;
    border-right: none;
    border-left-width: 2px;
}
#mp_advantages .accordion .card:last-child .card-header,
#mp_advantages .accordion .card:last-child{
    border-bottom: none;
}
#mp_advantages .accordion .card{
     border-top: 2px solid rgba(0,0,0,.125);
     border-bottom: none;
}
#mp_advantages .accordion .card:last-child .card-header{
    border-top: none;
}
#mp_advantages .accordion .card:first-child{
    border-top: none !important;
}
#mp_advantages .card .card-header{
    background-color: #F2F9F5;
    border-bottom-width: 0px;
    cursor: pointer;
}
#mp_advantages .card .card-header .title:after{
    display: inline-block;
    float: right;
    content: '\2013';
    font-family: HelveticaNeueCyrRoman;
    font-size: 36px;
    line-height: 26px;
    color: #008d36;
}
#mp_advantages .card .card-header .title{
    color: #48AD6F;
    font-family: HelveticaNeueCyrMedium;
    font-size: 18px;
}
#mp_advantages .card .card-header.collapsed .title{
    color: #484A49;
}
#mp_advantages .card .card-header.collapsed .title:after{
    content: '+';
}
#mp_advantages .card-body{
    background-color: #F2F9F5;
    padding: .75rem 1.25rem;
    padding-top: 0;
}
#mp_advantages .card collapse.show{
    border-top-width: 2px;
}



footer#footer{
    padding: 40px 0;
    background-color: #003D18;
}
footer #footer_logo{
    margin-bottom: 40px;
}
footer #copyright{
    padding-top: 25px;
    margin-top: 25px;
    border-top: 2px solid rgba(255,255,255,0.25);
}
footer #copyright a,
footer #copyright{
    font-family: HelveticaNeueCyrLight;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}
footer #copyright a:hover{
    color: rgba(255,255,255,1);
}
ul#footer_menu{
    margin: 0;
    padding: 0;
}
ul#footer_menu li{
    list-style-type: none;
}
ul#footer_menu li a{
    font-family: HelveticaNeueCyrMedium;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    text-transform: uppercase;
}
ul#footer_menu li a:hover{
    color: rgba(255,255,255,1);
}
footer .text_block{
    color: #fff;
    font-family: HelveticaNeueCyrRoman;
    font-size: 16px;
}
footer .text_block span,
footer .text_block a{
    color: #ffdb50;
}
footer .text_block .title_second{}

footer .text_block_first{
    border-right: 1px solid rgba(255,255,255,0.25);
    border-left: 1px solid rgba(255,255,255,0.25);
}
footer .text_block_first_wrapper{
    width: 220px;
    margin: 0 auto;
    /*padding-left: 18px;*/
}
footer .text_block_second_wrapper{
    padding-left: 18px;
}

/*Articles*/
.post header.entry-header h1:first-letter,
.page header.entry-header h1:first-letter{
    background-color: #008D36;
    color: #fff;
    padding: 5px 8px;
    margin-right: 5px;
    font-size: 46px;
}
.post header.entry-header h1,
.page header.entry-header h1{
    font-size: 30px;
    font-family: HelveticaNeueCyrBold;
    text-transform: uppercase;
    color: #000;
}
/*Template: Our Business*/
#items_block hr{
    display: block;
    border: none;
    border-top: 1px solid #E5E5E5;
    margin-top: 70px;
    margin-bottom: 70px;
    background: transparent;
}
#items_block hr:last-child{
    /*display: none;*/
}
#items_block .item{
    position: relative;
}
#items_block .item:first-child{
    padding-top: 0;
}
#items_block .item + .item{
}
/*#items_block .item div:nth-child(1){*/
    /*float: left;*/
/*}*/
/*#items_block .item div:nth-child(2){*/
    /*float: right;*/
/*}*/
#items_block .item .image_block{
    position: absolute;
    width: 42.5%;
}
#items_block .item .image_block img{
    display: block;
    width: 100%;
    object-fit: contain;
}
#items_block .item .image_block:before{
    display: block;
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: transparent;
    border: 3px solid #008D36;
}
#items_block .item.first .image_block:before{
    right: -14px;
    top: -14px;
    border-bottom: none;
    border-left: none;
}
#items_block .item.second .image_block:before{
    left: -14px;
    top: -14px;
    border-bottom: none;
    border-right: none;
}
#items_block .item.first .image_block{
    left: 0px;
}
#items_block .item.second .image_block{
    right: 0px;
    left: inherit;
}
#items_block .item .image_title{
    position: absolute;
    top: 0px;
    font-size: 18px;
    text-transform: uppercase;
    font-family: HelveticaNeueCyrMedium;
    color: rgba(0,0,0,0.2);
    letter-spacing: 1.07em;
    writing-mode: vertical-rl;
    -ms-writing-mode: bt-rl;
    top: 0;
    bottom: 0;
    text-align: center;
}
#items_block .item.first .image_title{
    right: 5%;
}
#items_block .item.second .image_title{
    right: inherit;
    left: 5%;
    transform: rotate(180deg);
}
#items_block .item .text{

}
#items_block .item .text h3{
    font-family: HelveticaNeueCyrMedium;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 46px;
    position: relative;
}
#items_block .item .text h3:after{
    display: block;
    position: absolute;
    top: 42px;
    content: '';
    width: 70px;
    border-bottom: 3px solid #E5E5E5;
}
#items_block .item .text p{
    font-family: HelveticaNeueCyrRoman;
    font-size: 16px;
    margin-bottom: 20px;
}
#items_block .item.first .content{
    margin-left: 45%;
}
#items_block .item.second .content{
    margin-right: 45%;
}

/*Contacts*/
.page-template-page_template_contacts .entry-content{
    margin-top: 16px;
}
.page-template-page_template_contacts .entry-footer{
    margin-top: 30px;
}
.page-template-page_template_contacts h1{
    margin-bottom: 0;
}

#contacts_block{
    position: relative;
}
#contacts_block:before{
    display: block;
    content: '';
    width: 50%;
    position: absolute;
    right: 0;
    top: -28px;
    bottom: 0;
    background-color: #F2F9F5;
}
#contacts_block h3{
    font-family: HelveticaNeueCyrMedium;
    font-size: 18px;
    color: rgba(0,0,0,0.65);
    text-transform: uppercase;
}
#contacts_block .content_block{
    padding-right: 15%;
}
#contacts_block #contact_table_block{
    padding-left: 15%;
}
#contacts_block h2{
    margin-top: 50px;
    margin-bottom: 0;
    font-family: HelveticaNeueCyrMedium;
    font-size: 25px;
    color: #008d36;
    text-transform: uppercase;
}
#contacts_block h2 + p{
    margin-top: 1.5em;
}
#contacts_block p{
    font-family: HelveticaNeueCyrMedium;
    font-size: 16px;
    color: rgba(0,0,0,0.65);
}
#contact_table {
    margin-top: 71px !important;
}
#contact_table td{
    vertical-align: middle;
}
#contact_table tr{
    display: block;
    margin-bottom: 35px;
}
#contact_table td *{
    margin: 0;
}
#contact_table td:first-child{
    width: 105px;
}
#contact_table td:first-child img{
    margin-right: 20px;
}
#contact_table h5{
    font-family: HelveticaNeueCyrBold;
    font-size: 25px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 10px;
}
#contact_table p{
    font-family: HelveticaNeueCyrMedium;
    font-size: 16px;
    color: rgba(0,0,0,0.65);
    line-height: 18px;
}
#contact_table a{
    color: rgba(0,141,54,0.7);
}
#contacts_block .wpcf7-form input[type="text"]{
    width: 100%;
    line-height: 40px;
    height: 40px;
    margin-bottom: 10px;
}
#contacts_block .wpcf7-form input[type="text"],
#contacts_block .wpcf7-form textarea{
    padding-left: 20px;
    border: 1px solid rgba(0,0,0,0.3);
    border-radius:  0;
    font-size: 16px;
}
#contacts_block .wpcf7-form p{
    margin-bottom: 0;
}
#contacts_block .wpcf7-form textarea{
    margin-bottom: 20px;
}
#contacts_block .wpcf7-form input[type="submit"]{
    padding: 20px 23px;
    background-color: rgba(0,141,54,1);
    border-radius:  0;
    color: #fff;
    font-family: HelveticaNeueCyrBold;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
}
#contacts_block .wpcf7-form input[type="submit"]:hover{
    background-color: rgba(0,141,54,0.7);
}
#map{
    height: 480px;
}

/*Products | Factory*/
.single-factory h1,
.single-product h1{
    font-size: 30px;
    font-family: HelveticaNeueCyrBold;
    text-transform: uppercase;
    position: relative;
    padding-left: 33px;
}
.single-factory h1:before,
.single-product h1:before{
    position: absolute;
    display: block;
    content: '';
    top: 16px;
    width: 23px;
    left: 0px;
    border-bottom: 2px solid #008D36;
}
.single-factory h2,
.single-product h2{
    position: relative;
    font-family: HelveticaNeueCyrMedium;
    font-size: 18px;
    margin-bottom: 38px;
    color: #4C4C4C;
}
.single-factory h2{
    text-transform: uppercase;
}
.single-factory h2:after,
.single-product h2:after{
    display: block;
    position: absolute;
    bottom: -17px;
    left: 0;
    content: '';
    width: 60px;
    border-bottom: 2px solid rgba(0,0,0,0.4);
}
.single-factory #gallery_main,
.single-product #gallery_main{
    position: relative;
}
.single-factory #gallery_main:before ,
.single-product #gallery_main:before {
    display: block;
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: transparent;
    border: 3px solid #008D36;
    border-bottom: none;
    border-left: none;
    right: -14px;
    top: -14px;
}


.single-factory #gallery_text,
.single-product #gallery_text{
    padding-left: 30px;
}
.single-factory #gallery_text,
.single-product #gallery_text,
.single-product #after_gallery_text{
    font-size: 16px;
    font-family: HelveticaNeueCyrRoman;
}
.single-factory #gallery_second,
.single-product #gallery_second{
    margin-top: 10px;
}
.single-factory #gallery ul#gallery_items,
.single-factory #gallery_second ul,
.single-product #certificates ul,
.single-product #gallery_second ul{
    padding: 0;
    margin: 0;
    display: -ms-inline-grid;
    -ms-grid-columns: 1fr 1fr 1fr 1fr;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}
.single-factory #gallery ul#gallery_items,
.single-product #certificates ul{
    grid-column-gap: 30px;
    grid-row-gap: 30px;
}
.single-factory #gallery ul#gallery_items li,
.single-factory #gallery_second ul li,
.single-product #certificates ul li,
.single-product #gallery_second ul li{
    display: block;
    list-style-type: none;
    cursor: pointer;
}
.single-factory #gallery ul#gallery_items li:nth-child(1),
.single-factory #gallery_second ul li:nth-child(1),
.single-factory #products_items li:nth-child(1),
.single-product #certificates ul li:nth-child(1),
.single-product #gallery_second ul li:nth-child(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}
.single-factory #gallery ul#gallery_items li:nth-child(2),
.single-factory #gallery_second ul li:nth-child(2),
.single-factory #products_items li:nth-child(2),
.single-product #certificates ul li:nth-child(2),
.single-product #gallery_second ul li:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}
.single-factory #gallery ul#gallery_items li:nth-child(3),
.single-factory #gallery_second ul li:nth-child(3),
.single-factory #products_items li:nth-child(3),
.single-product #certificates ul li:nth-child(3),
.single-product #gallery_second ul li:nth-child(3){
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}
.single-factory #gallery ul#gallery_items li:nth-child(4),
.single-factory #gallery_second ul li:nth-child(4),
.single-factory #products_items li:nth-child(4),
.single-product #certificates ul li:nth-child(4),
.single-product #gallery_second ul li:nth-child(4){
    -ms-grid-row: 1;
    -ms-grid-column: 4;
}
.single-factory #gallery ul#gallery_items li:nth-child(5),
.single-factory #gallery_second ul li:nth-child(5),
.single-factory #products_items li:nth-child(5),
.single-product #certificates ul li:nth-child(5),
.single-product #gallery_second ul li:nth-child(5){
    -ms-grid-row: 2;
    -ms-grid-column: 1;
}
.single-factory #gallery ul#gallery_items li:nth-child(6),
.single-factory #gallery_second ul li:nth-child(6),
.single-factory #products_items li:nth-child(6),
.single-product #certificates ul li:nth-child(6),
.single-product #gallery_second ul li:nth-child(6){
    -ms-grid-row: 2;
    -ms-grid-column: 2;
}
.single-factory #gallery ul#gallery_items li:nth-child(7),
.single-factory #gallery_second ul li:nth-child(7),
.single-factory #products_items li:nth-child(7),
.single-product #certificates ul li:nth-child(7),
.single-product #gallery_second ul li:nth-child(7){
    -ms-grid-row: 2;
    -ms-grid-column: 3;
}
.single-factory #gallery ul#gallery_items li:nth-child(8),
.single-factory #gallery_second ul li:nth-child(8),
.single-factory #products_items li:nth-child(8),
.single-product #certificates ul li:nth-child(8),
.single-product #gallery_second ul li:nth-child(8){
    -ms-grid-row: 2;
    -ms-grid-column: 4;
}
.single-factory #gallery_second ul li.active,
.single-product #gallery_second ul li.active{
    outline: 3px solid #008D36;
}
.single-factory #gallery_second ul li img,
.single-product #gallery_second ul li img{
    max-width: 100%;
}
.single-product #after_gallery_text{
    margin-top: 70px;
    margin-bottom: 20px;
}
.single-factory ul#gallery_items li,
.single-product #certificates ul li{
    position: relative;
}
.single-factory ul#gallery_items li:hover:before,
.single-product #certificates ul li:hover:before{
    position: absolute;
    top:0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    display: block;
    content: '';
    background: url("../img/certificate_hover.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 10;
}
.single-product .entry-content{
    max-width: 100%;
    overflow: auto;
}
.single-product table td{
    vertical-align: middle;
    border: 1px solid #CCCCCC;
    text-align: center;
    font-family: HelveticaNeueCyrRoman;
    font-size: 18px;
}
.single-product table thead td{
    background-color: #FAFAFA;
    padding: 25px;
    font-family: HelveticaNeueCyrMedium;
    text-transform: uppercase;
}
.single-product table thead tr:nth-child(2) td{
    font-weight: bold;
    width: 15%;
    text-align: center;
}
.single-product table thead tr td:nth-child(3),
.single-product table thead tr td:nth-child(4),
.single-product table thead tr td:nth-child(5){
    width: 15%;
}
.single-product table tbody td{
    padding: 20px;
}
.single-product table tfoot td,
.single-product table td:nth-child(2){
    text-align: left;
}
.single-product table td:nth-child(1){
    width: 74px;
}
.single-product table tfoot td{
    width: 100% !important;
    padding-left: 90px;
}
.single-product table tbody td p{
    margin: 0;
}
.single-product table td small{
    font-size: 14px;
}
.single-factory h2.products_title,
.single-product h2.products_title{
    color: #008d36;
    font-family: HelveticaNeueCyrBold;
    font-size: 25px;
    text-transform: uppercase;
    margin-bottom: 30px;
    margin-top: 60px;
}
.single-factory h2.products_title:after,
.single-product h2.products_title:after{
    display: none;
}

.single-factory #products ul{
    padding: 0;
    margin: 0;
    display: -ms-grid;
    -ms-grid-columns: 1fr  1fr 1fr 1fr;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 30px;
}
.single-factory #products ul li{
    display: block;
    list-style-type: none;
}
.single-factory #products ul li:nth-child(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}
.single-factory #products ul li:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}
.single-factory #products ul li:nth-child(3){
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}
.single-factory #products ul li:nth-child(4){
    -ms-grid-row: 1;
    -ms-grid-column: 4;
}
.single-factory #products ul li a{
    display: block;
    position: relative;
    height: 190px;
}
.single-factory #products ul li a img{
    display: block;
    width: 100%;
    object-fit: cover;
    height: 190px;
}
.single-factory #products ul li a div.product_name{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 243, 196, 0.7);
    text-align: center;
    text-transform: uppercase;
    font-family: HelveticaNeueCyrMedium;
    font-size: 16px;
    padding: 16px 0;
    color: #000;
    z-index: 50;
}
.single-factory #products ul li a:hover:before{
    position: absolute;
    top:0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    display: block;
    content: '';
    background: url("../img/certificate_hover.png");
    background-repeat: no-repeat;
    background-position: 50% 64%;
    background-size: cover;
    z-index: 10;
}

.archive  article:after{
    display: table;
    content: '';
    float: none;
    clear: both;
}

.img_wrapp_deco{
    display: inline-block;
    position: relative;
}
.archive  .img_wrapp_deco:before,
.single.single-post .img_wrapp_deco:before{
    display: block;
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: transparent;
    border: 3px solid #008D36;
    border-bottom: none;
    border-left: none;
    right: -14px;
    top: -14px;
}
.single.single-post .img_wrapp_deco,
.archive  .img_wrapp_deco{
    margin-right: 30px;
    margin-bottom: 10px;
    float: left;
}
.archive  .post_vdz_photo{
    max-width: 180px;
}
.single.single-post .wp-post-image{
    max-width: 420px;
}

#mobile_langs .lang-item-uk,
#mobile_langs .lang-item-tk,
header #langs .lang-item-uk,
header #langs .lang-item-tk{
    display: none !important;
}


a.button2{
    display: inline-block;
    padding: 0.5em 3em;
    border: 0.16em solid #008D36;
    box-sizing: border-box;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    color: #008D36;
    text-align: center;
    transition: all 0.15s;
}

a.button2:hover{
    opacity: 0.7;
}
a.button2:active{
    color: #008D36;
    border-color: #008D36;
}

@media all and (max-width:30em){
    a.button2{
        display: block;
        margin: 0.4em auto;
    }
}
