@charset "UTF-8";

.wrapper {
    min-width: 340px;
    max-width: 2000px;
    margin: 0 auto;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    background-image: url(img/pattern.svg);
    background-position: center;
    background-size: 190%;
}

body{
    min-width: 340px;
}

.w{
    min-width: 330px;
    max-width: 1430px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.w:after{
    content: '';
    display: block;
    clear: both;
    width: 100%;
}

.clear:after{
    content: '';
    display: block;
    clear: both;
}

/* Header
-----------------------------------------------------------------------------*/
.header {
    margin-bottom: 20px;
    position: relative;
    z-index: 998;
}

.header-top:after {content: '';display: block;clear: both;}

.header-item {display: inline-block;vertical-align: middle;}

.header-item {width: 23%;font-size: 15px;}
.header-item+div {width: 23%;}
.header-item+div+div {width: 22%;}
.header-item+div+div+div {width: 16%;}
.header-item+div+div+div+div {width: 16%;}

.header-top {
    font-size: 0;
    line-height: 18px;
    padding: 23px 2.5% 17px;
    background-color: #f0f0f0;
}

.header-top a:hover {
    background: none;
}

.header-top a {
    text-decoration: none;
    color: #505050;
}

.header-logo {
    max-width: 235px;
}

.header-icotext img {
    position: absolute;
}

.header-icotext {
    padding-left: 43px;
    position: relative;
}

.header-addr img {
    left: 11px;
    height: 32px;
}

.header-contacts img {
    left: 8px;
    height: 26px;
    top: 3px;
}

.header-glaz img {
    left: -6px;
    height: 23px;
    top: 6px;
}

/**/

.header-form {
    display: inline-block;
    text-align: left;
}

.header-search {
    text-align: right;
}

.header-form-search form{
    width: 170px;
    position: relative;
}

.header-form-search input[type="text"] {
    width: 100%;
    border: 0;
    padding: 5px 28px 6px 16px;
    font-size: 15px;
    color: #505050;
    background-color: #E2E2E2;
    border-radius: 3px;
}

.header-form-search [type="submit"] {
    width: 28px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border: 0;
    border-radius: 0 3px 3px 0;
    background: none;
    background-image: url(img/search.svg);
    background-size: 55%;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: 100px;
    overflow: hidden;
}

.header-form-search input[type="text"]::placeholder {
    font-style: italic;
    color: #96969696;
}

/**/

.header-personal-link {
    margin-bottom: 8px;
}

.header-personal-link .header-icotext-ico {
    position: relative;
    top: 1px;
    margin-right: 2px;
}

/**/

.header-menu {
    background-color: #505050;
    color: white;
    max-width: 1400px;
    margin: 0 auto;
}

.header-menu nav {
    display: -webkit-flex;
    display: flex;
    position: relative;
}

.header-menu-item {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    text-align: center;
    position: relative;
}

.header-menu a {
    color: white;
    text-decoration: none;
    font-size: 17px;
}

.header-menu-item img {
    width: 17px;
}

.header-menu-item a {
    text-align: center;
    padding: 9px 9px;
    display: inline-block;
}

.header-menu.header-menu-top nav {
    padding-left: 2%;
}

.header-menu-top nav>.header-menu-item:first-child {
    -webkit-flex-grow: unset;
    flex-grow: unset;
    width: 4%;
    position: absolute;
    left: 0;
    height: 100%;
    z-index: 2;
}

.header-menu-top nav>.header-menu-item:first-child a {
    width: 40px;
    margin: auto;
}

.header-menu-item a:hover {
    background-color: #505050;
}

.header-menu-sub {
    position: absolute;
    background-color: #585858;
    /* min-width: 100%; */
    z-index: 99;
    left: 0;
    display: none;
    /* white-space: nowrap; */
}

.header-menu-sub a {
    width: 100%;
    display: block;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
    /* border-right: 5px solid #585858; */
    position: relative;
}

.header-menu-sub .header-menu-item a:hover {
    background-color: #696969;
}


.header-menu-sub .header-menu-sub {
    margin-left: 100%;
    top: 0;
    min-width: 108px;
}

.header-menu-item:hover>.header-menu-sub {
    display: block;
}

.menu-separator{
    height: 2px;
    width: 100%;
}

.header-menu-sub .header-menu-item-sub_label {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 5px;
    background: #ffd000;
}


/**/

.hide_mobile_menu {
    display: none;
    position: fixed;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
}

.hide_mobile_menu .close_madal:before {
    background: white;
}

.hide_mobile_menu .close_madal:after {
    background: white;
}

/**/

.header-fixed{
    position: fixed;
    left: 0;
    width: 100%;
}



/* Middle
-----------------------------------------------------------------------------*/
.middle {
    width: 100%;
    padding: 0 0 100px;
    position: relative;
    z-index: 1;
}
.middle:after {
    display: table;
    clear: both;
    content: '';
}
.container {
    width: 100%;
    float: left;
    overflow: hidden;
}
.contents {
    padding: 0 410px 0 0;
    min-height: 2px;
    margin-bottom: 20px;
}

.contents-white{
    background-color: white;
    padding: 34px;
}

.contents-white:after {
    content: "";
    display: block;
    clear: both;
}

/* Right Sidebar
-----------------------------------------------------------------------------*/
.right-sidebar {
    float: left;
    width: 390px;
    margin-left: -390px;
    position: relative;
}


/* Footer
-----------------------------------------------------------------------------*/
.footer {
    margin: -100px auto 0;
    min-width: 320px;
    max-width: 2000px;
    position: relative;
}

.footer-container{
    padding: 20px 0 19px;
    border-top: 8px solid #ffd000;    
    font-size: 0;
    background: #505050;
    color: #d2d2d2;
}

.footer-left .button {
    margin-right: 10%;
}

.footer-item {
    display: inline-block;
    width: 33.33%;
    vertical-align: middle;
}

.footer-right {
    text-align: right;
    font-size: 14px;
    line-height: 18px;
    width: 40%;
}

.footer-item.footer-left {
    width: 40%;
}

.footer-left a {
    text-decoration: none;
    font-weight: bold;
}

.footer-soc-item {
    display: inline-block;
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin: 0 15px;
}

.footer-center {
    text-align: center;
    width: 20%;
}

.footer a {
    color: #d2d2d2;
    font-size: 17px;
    text-decoration: none;
}

.footer-right div {
    margin-bottom: 7px;
}

.footer-right div:last-child {
    margin-bottom: 0;
}

.footer a:hover {
    background: initial;
}

.footer a.button:hover {
    background: #ffd000;
}


/*

loader

--------------------------------------------*/

.loader{
    display: none;
    width: 100%;
    height: 100%;    
}

.loader:before {
    content: '';
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 999;
    display: block;
    background: #ffffffc4;
}

.loader.disabled{
    display: block;
}

.loader.disabled:before{
    position: absolute;
}

.loader:after{
    content: '';
    width: 30px;
    display: block;
    height: 30px;
    background: #ffd000;
    border: 1px solid white;
    position: fixed;
    z-index: 1000;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    -webkit-animation: preloader 1.5s infinite linear;
    -moz-animation: preloader 1.5s infinite linear;
    -ms-animation: preloader 1.5s infinite linear;
    -o-animation: preloader 1.5s infinite linear;
    animation: preloader 1.5s infinite linear;
}

@-webkit-keyframes preloader { to { -webkit-transform: rotate(360deg); } }
@-moz-keyframes preloader { to { -moz-transform: rotate(360deg); } }
@-ms-keyframes preloader { to { -ms-transform: rotate(360deg); } }
@-o-keyframes preloader { to { -o-transform: rotate(360deg); } }

/* madal
------------------------------------------------------*/

.opacity_madal {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 998;
    top: 0px;
    left: 0px;
    text-align: center;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.61);
}

.opacity_madal .w{
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}

.opacity_madal:after {
    display: inline-block;
    height: 100%;
    width: 0;
    vertical-align: middle;
    content: '';
}

.madal_content {
    margin: 80px 17px 0;
}

.madal_page{
    margin: 30px auto;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    text-align: left;
    max-width: 1200px;
    min-width: 240px;
    padding: 10px;
    /*width: 90%;*/
}

.madal_tools {
    padding: 0 10px;
    text-align: right;
    position: relative;
    margin: 0 40px;
    top: 14px;
}

.close_madal {
    width: 35px;
    height: 35px;
    cursor: pointer;
    z-index: 1;
    position: fixed;
    display: inline-block;
}

.close_madal:after {
    content: '';
    background: #1d2837;
    height: 3px;
    width: 100%;
    position: absolute;
    top: 47%;
    left: 0;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    cursor: pointer;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
}

.close_madal:before {
    content: '';
    background: #1d2837;
    height: 3px;
    width: 100%;
    position: absolute;
    top: 47%;
    left: 0;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    cursor: pointer;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
}

.madal_page .madal_content{
    margin:0;
    /* padding: 40px 40px 36px; */
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background: #FFF;
    position: relative;
    overflow: hidden;
}

.madal_content .contents-white {
    padding: 0;
}

/**/

.specialButton {
    cursor: pointer;
}

/**/

.kontakti-conatainer:after {
    content: "";
    display: block;
    clear: both;
}


.kontakti-map{
    width: 42%;
    float: right;
}

.kontakti-text {
    width: 54%;
    float: right;
    margin-left: 4%;
}

.bx-yandex-view-map {
    width: 100%;
    height: 0;
    padding-top: 83%;
    position: relative;    
}

.bx-yandex-map{
    position: absolute;
    top: 0;
}

/**/

.old_site_link {
    text-align: center;
    padding-top: 10px;
}

.old_site_link a {
    color: #ffd000;
}




/*

MEDIA

-----------------------------------------------------------------------------*/

@media (max-width: 1200px){
    .header-item.header-search {
        width: 100%;
        padding-top: 14px;
    }
    
    .header-form-search form {
        width: 100%;
    }
    
    .header-form {
        display: block;
    }
    
    .header-logo {
        max-width: 88%;
    }
    
    .header-item.header-addr {
        width: 27%;
    }
    
    .header-item.header-contacts {
        width: 26%;
    }
    
    .header-item.header-glaz {
        width: 24%;
    }

    /**/

    .right-sidebar {
        width: 330px;
        margin-left: -330px;
    }
    
    .contents {
        padding-right: 350px;
    }


}

@media (max-width: 1100px){
    .header-item {
        font-size: 13px;
    }
    
    /**/

    .header-menu a {
        font-size: 13px;
    }

    /**/

    .footer .footer-item a.button {
        font-size: 15px;
    }
    
    .footer a {
        font-size: 15px;
    }
    
    .footer-left .button {
        margin-right: 8%;
    }    

    .footer-item.footer-left {
        width: 36%;
    }
    
    .footer-item.footer-right {
        width: 36%;
    }
    
    .footer-item.footer-center {
        width: 28%;
    }

    /**/

    .right-sidebar {
        width: 280px;
        margin-left: -280px;
    }
    
    .contents {
        padding-right: 300px;
    }

    /**/

    .kontakti-text {
        margin-left: 0;
        width: 100%;
    }
    
    .kontakti-map {
        width: 100%;
    }    
}


.header-item.header-show-menu {
    margin-top: 14px;
    display: none;
}

.header-show-menu-button {
    background: #505050;
    height: 28px;
    border-radius: 3px;
    color: white;
    line-height: 27px;
    text-align: center;
    cursor: pointer;
    font-size: 15px;
}


@media (max-width: 900px){
    .footer-item.footer-left {
        width: 36%;
    }
    
    .footer-item.footer-right {
        width: 36%;
    }
    
    .footer-item.footer-center {
        width: 28%;
    }
    
    .footer-item.footer-left {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-item.footer-center {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .footer-item.footer-right {
        width: 100%;
        text-align: center;
    }

    /**/

    .header-item.header-show-menu {
        display: inline-block;
        margin-right: 4%;
        vertical-align: bottom;
    }

    .header-item.header-search {
        width: 80%;
    }

    /**************************************/
    /**/

    .header-menu-item-sub_label,
    .header-menu-sub .header-menu-item-sub_label{
        display: block;
        width: 0;
        height: 0;
        border-top: 14px solid #fcd000;
        border-right: 10px solid rgb(0 0 0 / 0%);
        border-left: 10px solid rgb(0 0 0 / 0%);
        position: absolute;
        right: 14px;
        top: 15px;
        background: unset;
    }

    .header-menu-item-sub_label.active{
        transform: rotate(180deg);
        bottom: 18px;
    } 

    .header-menu-container {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
        background: #505050;
        padding: 13px 54px 10px 13px;
        overflow: hidden;
        overflow-y: auto;
    }
    
    /**/
    
    .header-menu.header-menu-top nav {
        display: block;
        padding-left: 0;
    }
    
    .header-menu-item {
        text-align: left;
        width: 100%;
        background: #585858;
    }
    
    .header-menu-sub {
        position: static;
        padding-left: 20px;
    }
    
    .header-menu-sub .header-menu-sub {
        margin-left: 0;
    }   
    
    .header-menu-item a {
        text-align: left;
        margin-bottom: 4px;
        display: block;
        margin-right: 50px;
    }

    .header-menu-sub a{
        width: auto;
    }
    
    .header-menu-top nav>.header-menu-item:first-child {
        display: none;
    }
    
    /**/
    
    .header-menu nav {
        display: block;
    }
    
    .header-menu-item {
    }
    
    .menu-separator {
        background: white;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    /**/

    .hide_mobile_menu {
        display: block;
    }

    /**/

    .header-slider {
        height: 0;
        overflow: hidden;
        border-bottom: 2px solid white;
        margin-top: 4px;
        margin-bottom: 8px;
    }    

    /**/
    /**************************************/


    .header-item.header-addr {
        width: 37%;
    }
    
    .header-item.header-glaz .header-icotext-text {
        display: none;
    }
    
    .header-item.header-glaz {
        height: 35px;
        text-align: right;
        width: 10%;
    }
    
    .header-item.header-glaz .header-icotext {
        height: 35px;
        padding-left: 55px;
        display: inline-block;
    }
    
    .header-glaz img {
        left: 6px;
    }
    
    .header-item.header-contacts {
        width: 30%;
    }

}

@media (max-width: 800px){

    /**/

    .right-sidebar {
        width: 100%;
        margin-left: 0;
    }
    
    .contents {
        padding-right: 0;
    }

}

@media (max-width: 680px){
    .header-icotext {
        width: 40px;
        height: 40px;
    }
    
    .header-icotext-text {
        display: none;
    }
    
    .header-item.header-search {
        width: 100%;
    }
    
    .header-item.header-contacts {
        width: 40px;
        margin-right: 13px;
    }
    
    .header-item.header-addr {
        width: 40px;
    }
    
    .header-item.header-show-menu {
        margin-top: 0;
        margin-right: 0;
        vertical-align: middle;
    }
    
    .header-top {
        text-align: center;
    }
    
    .header-addr img {
        top: 7px;
        left: 11px;
        height: 27px;
    }
    
    .header-contacts img {
        top: 7px;
    }
    
    .header-item.header-glaz {
        display: none;
    }
    
    .header-logo {
        min-width: 140px;
    }
    
    .header-item:first-child {
        width: 150px;
    }

    /**/

    .w{
        padding: 0 8px;
    }

    .contents-white {
        padding: 20px;
    }

    /**/

    table.table_adaptiv {
        display: block;
    }
    
    table.table_adaptiv tbody {
        display: block;
    }
    
    table.table_adaptiv td {
        display: block;
        width: 100%;
    }

}