body{font-family: Palatino, Palatino Linotype, Georgia, Times, Times New Roman, serif; font-weight: 400; font-size: 18px; line-height: 32px; color: #252525}
*{ margin: 0; padding: 0}
ol, ul { margin-top: 0; margin-bottom: 10px}
ul li{ list-style: none}

*:focus{
    outline: none;
}

.response-form{
    color: #FFF;
    padding: 25px 40px;
    line-height: 1.4em;
    text-align: center;
    border: 1px dashed #4a4a4a;
    border-radius: 10px;
}

.err-field {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    width: 100%;
    background: #f71b1bb8 !important;
    height: 100%;
    z-index: 9999;
    border-radius: 5px;
    color: #FFF !important;
}

.btn:active {
    box-shadow: 0px 2px 5px rgba(0,0,0,0.2) INSET;
}

h2{
    font-size: 30px;
    text-transform: uppercase;
    color: #c39b6e;
    text-align: center;
}
div{
    box-sizing: border-box;
}
.container{
    max-width: 1000px; margin: auto;
}
.main_header {background-image: url("../img/granit_crop.jpg"); background-position: 0 0; background-size: cover; padding-top: 100px; display: flex; flex-direction: column; text-align: center; color:#FFF; padding-bottom: 40px;background-color: #161616;}
.header-title h1 {
    font-size: 40px;
    display: block;
    line-height: 1.4em;
    padding: 10px 300px 10px 20px;
    margin: auto;
}

.header_title_bootom {
    font-size: 20px;
    padding-top: 30px;
}
.header-uslug {
    font-family: sans-serif;
    font-weight: bold;
    font-size: 28px;
    padding: 10px 20px;
    line-height: 1.2em;
}
.header-uslug.cent{
    text-align: center;
}
.header-descr .cont{
    width: 90%; max-width: 1000px; margin: auto; font-style: italic; line-height: 1.2em; font-size: 20px;
}
.nav{text-align: center; display: flex; flex-direction: row; justify-content: center}
.fixed-top {position: fixed; top: 0; right: 0; left: 0; z-index: 1030}
.header-tel, .header-inst{
    padding: 20px;
    font-size: 30px; font-style: italic;
}
.header-inst a{
    text-decoration: none;
}
.page-item{
    margin: 60px 0 0 0;
}
.benefits > .container, .container-ov{
    max-width: 1300px;
    margin:auto;
}
.title-block{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.title-block > h2{
    flex: 0 1 auto;
    padding: 0 20px;
}
.title-block::before, .title-block::after{
    content: '';
    flex: 1 1 auto;
    border-style: dashed;
    border-color: #c39b6e;
    border-width: 1px 0;
    height: 3px;
    margin: 0 30px;
}

.content_text {
    padding: 20px 40px;
}
.content_text > p {
    line-height: 1.4em;
    margin: 30px 40px;
    position: relative;
}
.content_text > p::before, .content_text > p::after {
    content: '';
    display: block;
    height: 20px;
    width: 20px;
    position: absolute;
    background: #525252;
    border-radius: 50%;
    transform: translateY(-50%);
    top: 50%;
    left: -40px;
}

.content_text > p::after {
    left: auto;
    right: -40px;
}

@media screen and (min-width: 1200px) {
    .header-title h1{
        font-size: 40px;
        line-height: 1.2em;
    }
    .header-tel{
        font-size: 36px;
    }
    .header-uslug{
        font-size: 28px;
    }
}

.owl-carousel img{
    border-radius: 7px;
}

.block_whgray{
    background: #252525;
    padding: 30px 0;
}

.block_gray{
    background: #252525;
    padding: 30px 0;
}

.material_item-text{
    text-align: center;
    font-size: 18px;
    font-family: sans-serif;
}
.owl-materials .material_item-text{
    color: #FFF;
}


footer.block_gray {text-align: center; color: #CCC; padding: 10px 0}


.content-block{
    padding: 30px 30px 0 30px;
}

.navbar-overlay{
    position: absolute; width: 100%; height: 100%; background: #252525; opacity: 0; z-index: -1; top:0; left: 0
}

.pb_20 { padding-bottom: 20px}

.transition { -webkit-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; -ms-transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; transition: all .2s ease-in-out}

.navbar{width: 100%; padding: 15px 140px 15px 0; min-height: 34px; background: transparent; -webkit-transition: 0.3s; -o-transition: 0.3s; transition: 0.3s}
.nav li a {color: #ffffff; padding: 10px 2px; background: transparent; border-bottom: 2px solid transparent; margin: 0 15px; text-decoration: none; text-transform: uppercase; font-size: 14px}
.nav li a:hover, .nav li.active a {border-bottom-color: #ffffff}
.mainmenu-area:before {content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #2b495a; background: -webkit-linear-gradient(45deg, rgb(34, 53, 67) 0%, rgb(53, 92, 113) 100%); background: -o-linear-gradient(45deg, rgb(34, 53, 67) 0%, rgb(53, 92, 113) 100%); background: linear-gradient(45deg, rgb(34, 53, 67) 0%, rgb(53, 92, 113) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#482cbf', endColorstr='#6ac6f0', GradientType=1); z-index: -1; opacity: 0; -webkit-transition: 0.3s; -o-transition: 0.3s; transition: 0.3s}

/*===== ORDER =========*/
.order-block{
    padding-top: 20px;
}
.order_form{
    display: flex;
    justify-content: center;
}
.order-title{
    text-align: center;
    text-transform: uppercase;
    color: #FFF;
    padding-bottom: 10px;
}
.order_form_item{
    padding: 10px;
}
div[class^=order_form-] {
    background: #F3F3F3;
    padding: 0 14px;
    border-radius: 5px;
    position: relative;
}
div[class^=order_form-] > *{
    height: 50px; line-height: 50px;
    font-size: 18px;
    background: none;
    border: none;
    color:#000;
}
/*======================*/



/*====== WORK =========*/
.what_work-block{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    line-height: 1.2em;

}
.what_work-item{
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 25%;
    padding: 30px;
    flex: 0 0 auto;
    justify-content: flex-start;
    align-items: center;
}
.what_work-image{
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #e0e0e0;
}
.what_work-image > img{
    height: 100%;
    width: 100%;
}
.what_work-text {
    padding: 10px 0;
}
/*=======================*/



/*===== RESPONSES ======*/
.responses-item{
    text-align: center;
    color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-style: italic;
    font-size: 20px;
}
.responses-spacer{ width: 100px; height: 0; border-bottom: 1px dotted #FFF; margin: 20px 0}
.responses-text {width: 70%}
/*=======================*/


/*===== CONTACTS ======*/
.contacts-data{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-bottom: 40px;
}
.contacts-data > *{
    width: 33.333%;
    padding: 20px;
}
.contacts-info{
    font-size: 20px;
    text-align: center;
}
.contacts-info > p{
    margin-bottom: 10px;
}
.contacts-photo > img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}
p.contacts-info__telephone {
    font-size: 40px;
    margin-bottom: 30px;
}

p.contacts-info__instagram, p.contacts-info__email {
    line-height: 1.2em;
    font-size: 18px;
    margin-bottom: 20px;
}

.contact_form {
    padding-bottom: 20px;
}
.contact_form-ov {
    background: #c39b6e;
    border-radius: 10px;
    padding: 20px;
}

.contacts-form div[class^=order_form-] {
    background: #f9f1f1;
}

.contacts-form .order-block{
    padding-top: 0;
}
.contacts-form .order-title{
    color:#000;
}
.contacts-form .order_form{
    flex-direction: column;
}
.contacts-info_ov {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.contacts-info_ov > p{
    display: block;
}
/*=================================*/


/*===== Carousele =====*/
.owl-theme .owl-nav {
    position: absolute;
    top: 50%;
    color: #FFF;
    margin: 0 !important;
    width: 100%;
}

.owl-prev{
    position: absolute; left: 0;
    transform: translateY(-50%);
}
.owl-next{
    position: absolute; right: 0;
    transform: translateY(-50%);
}

.owl-prev > img, .owl-next > img{
    display: block;
    width: 40px;
    height: 40px;
}

.owl-theme .owl-nav [class*=owl-]{
    background: rgba(0,0,0,0.2) !important;
}

.owl-theme .owl-nav [class*=owl-]:hover{
    background: rgba(0,0,0,0.5) !important;
}


.header-angel {
    position: absolute;
    right: 40px;
    top: -20px;
    width: 260px;
}
.header-angel > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.open_menu {position: absolute; left: 10px; top: 10px; display: none}
.slidemenu_overlay { position: fixed; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 996; top: 0; left: 0}
.menu.hide .close_menu{
    display: none;
}

@media screen and (max-width: 800px){

    .menu{
        position: fixed; top: 0; left: 0; background: #252525; line-height: 40px; height: 100%; width: 290px; padding: 60px 0 0 0; overflow-y: auto; overflow-x: hidden; z-index: 996; font-size: 16px; display:block
    }
    .open_menu {display: block}
    .menu.hide{
        left: -130%;
    }
    .menu.hide .close_menu{
        display: block;
    }

    .menu > .close_menu{
        position: absolute;
        right: 10px;
        top: 10px;
    }
    .menu .nav{
        flex-direction: column;
    }

    .what_work-item{
        width: 50%;
        padding: 10px;
    }
    .responses-text {
        width: 100%;
    }

    .contacts-data > * {
        width: 100%;
        padding: 20px;
    }
    .content_text > p::after {
        display: none;
    }

    .header-title h1 {
        font-size: 20px;
        padding: 10px 150px 10px 20px;
    }

    .header-uslug {
        font-size: 16px;
    }

    .header-angel {
        right: 10px;
        top: -10px;
        width: 150px;
    }

    .order_form {
        flex-direction: column;
    }

    .title-block > h2 {
        font-size: 22px;
    }
}
