html, body {
    background: url('/public/i/common/main_bg.jpg') top left repeat;
}

.page_des {
background: url('/public/i/common/bg-des.jpg') no-repeat; 


}

.page_tm {
background: url('/public/i/common/bg-tm.jpg') no-repeat; 

}

.page_nr {
background: url('/public/i/common/bg-nr.jpg') no-repeat; 

}


.page_fs {
background: url('/public/i/common/bg-fs.jpg') no-repeat; 

}

.services_background {
    background: url('/public/i/common/services_bg.jpg') top left no-repeat;
    height: 650px;
    background-size: cover !important;
    background-position: center !important;
}

.advantages_wrapper {
    background: url('/public/i/common/advantages_bg.jpg') top left no-repeat;
    height: 452px;
    background-size: cover !important;
    background-position: center !important;
    padding: 10px 0;
}

.header_wrapper {
    min-height: 702px;
    min-width: 1120px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center 45px !important;
}

.header {
    height: 50px;
    background: #fff;
    line-height: 50px;
    position: fixed;
    z-index: 90;
    width: 1100px;
}

.logo {
    margin-left: 45px;
    margin-right: 200px;
}

.callback_btn {
    background: #ff0000;
    color: #fff;
    padding: 4px 25px 0;
    border-radius: 20px;
    line-height: 32px;
    cursor: pointer;
    margin-top: 6px;
    box-shadow: 0 1px 2px 0 #ff0000;
}

.main_menu {
    list-style: none;
    margin-top: 75px;
}

.main_menu li {
    display: inline-block;
    margin-right: 50px;
    vertical-align: middle;
}

/*.main_menu li:first-child {*/
    /*margin-left: 50px;*/
    /*margin-right: 70px;*/
/*}*/

.main_menu li.active {
    border-bottom: solid #666666 1px;
}

.main_menu li:hover {
    border-bottom: solid #666666 1px;
}

.header_wrapper .main_menu li.active {
    border-bottom: solid #fff 1px;
}

.header_wrapper .main_menu li:hover {
    border-bottom: solid #fff 1px;
}

.main_menu li:first-child:hover {
    border-bottom: none;
}


.main_menu li:last-child {
    margin-right: 0;
}

.main_menu li a {
    color: #2a2a2a;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
}



.header_wrapper .title {
    line-height: 55px;
    font-size: 40px;
    color: #fff;
    margin-top: 90px;
    text-transform: uppercase;
    margin-bottom: 365px;
}

/*cards*/
.card_wrapper {
    /*position: absolute;*/
    /*top: -190px;*/
}

.static_pages .card_wrapper {
    position: initial;
    top: 0;
    margin-bottom: 20px;
}

.static_pages .card {
    height: 307px;
    margin-bottom: 15px;
}

.fill_image {
    background: #aaaaaa;
    position: absolute;
    top: 0;
    left: 0;
}

.subtitle {
    font-size: 28px;
    color: rgb(102, 102, 102);
}

.card {
    display: inline-block;
    vertical-align: top;
    background: #ffffff;
    width: 200px;
    height: 340px;
    text-align: center;
    margin-right: 15px;
    padding: 50px 30px;
}

.container .card:last-child {
    margin-right: 0;
}

.card_image img {
    width: 60px;
    height: 60px;
}

.card_image svg {
    width: 60px;
    height: 60px;
}

.card_name {
    font-size: 18px;
    margin: 20px auto;
    width: 120px;
}

.static_pages .card_name {
    font-size: 18px;
    margin: 20px auto 10px;
    width: 100%;
}

.card_description {
    color: #878787;
    font-size: 13px;
    line-height: 26px;
}

.card .button {
    font-size: 13px;
    margin-top: 40px;
    color: #878787;
    border: solid #cccccc 1px;
    padding: 4px 25px 0;
    border-radius: 20px;
    line-height: 32px;
    cursor: pointer;
}

.static_pages .card .button {
    display: none;
}

.card .button:hover {
    color: #fff;
    border: solid #ff0000 1px;
    background: #ff0000;
    box-shadow: 0 1px 2px 0 #ff0000;
}

.services_wrapper {
    background: #fff;
}

.static_pages .services_wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
}

.service {
    width: 166px;
    display: inline-block;
    vertical-align: top;
    text-align: center;
}

.service_name {
    color: #878787;
    font-size: 13px;
    padding: 0 20px;
}

.advantage_name {
    width: 215px;
}

/* pages */

.page_title_stat {
    margin-top: 50px;
    color: rgb(102, 102, 102);
    font-size: 42px;
    margin-bottom: 50px;
    line-height: 44px;
}

.page_title_stat:after {
    background-color: rgb(194, 26, 27);
    width: 170px;
    height: 10px;
    content: '';
    display: block;
    margin-top: 15px;
}


.page_title {
    margin-top: 50px;
    color: rgb(255, 255, 255);
    font-size: 45px;
text-align: center;
    margin-bottom: 50px;
    line-height: 44px;
}

.page_title:after {
    background-color: rgb(75, 75, 75);
    width: 100%;
    height: 75px;
    content: '';
    display: block;
    margin-top: -60px;
}


/* footer */
.footer {
    height: 510px;
    position: relative;
    /*background: url("/public/i/common/footer_bg.png") center;*/
    min-width: 1120px;
}

.back_to_top {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    left: 0;
    cursor: pointer;
}

.footer ul li {
    margin: 0 50px;
}

.margin_right_180 {
    margin-right: 180px;
}

.padding_top_120 {
    padding-top: 120px;
}

.footer .contacts {
    margin-left: -75px;
    margin-bottom: 70px;
}

.feedback_form {
    padding-top: 30px;
    padding-bottom: 30px;
    min-width: 1120px;
}

.form input, .form textarea {
    border-radius: 20px !important;
}

.form textarea {
    padding: 15px 10px;
}

.custom-checkbox span {
    width: 20px !important;
    height: 20px !important;
    border-radius: 7px !important;
}

.custom-checkbox span:after {
    width: 10px !important;
    height: 10px !important;
    border-radius: 4px !important;
}

.feedback_form .button {
    font-size: 13px;
    margin-top: 40px;
    color: #878787;
    border: solid #cccccc 1px;
    padding: 4px 25px 0;
    border-radius: 20px;
    line-height: 32px;
    cursor: pointer;
    background: #ffffff;
}

.feedback_form .button:hover {
    color: #fff;
    border: solid #ff0000 1px;
    background: #ff0000;
    box-shadow: 0 1px 2px 0 #ff0000;
}


@media screen and (max-width: 768px) {
    .admin_main_menu {
        display: none;
    }

    .clear.margin_top_50 {
        margin-top: 0 !important;
    }

    .header {
        position: initial;
        width: 100%;
    }

    .container {
        padding: 0;
        width: 100%;
        text-align: center;
    }

    .inline_block {
        display: block !important;
    }

    .main_menu li:first-child {
        display: none;
    }

    .inline_block.fs16.margin_right_50 {
        display: none !important;
    }

    .inline_block.fs16.margin_left_20 {
        display: none !important;
    }

    .main_menu li {
        display: block;
        padding: 10px;
        margin: 0 !important;
    }

    .header_wrapper {
        min-width: auto;
        height: 610px;
    }

    .footer {
        min-width: auto;
    }

    .feedback_form {
        min-width: auto;
        padding: 30px 20px;
    }

    .feedback_form .w50 {
        width: 100% !important;
    }

    .float_left.w48 {
        float: none !important;
        width: 95% !important;
    }

    .float_right.w48 {
        float: none !important;
        width: 95% !important;
    }

    .float_left.w48 img {
        height: auto !important;
        width: 95% !important;
    }

    .float_right.w48 img {
        height: auto !important;
        width: 95% !important;
    }

    #callback {
        margin: 10px auto;
        text-align: center;
        float: none !important;
        padding: 7px 0 4px;
        border-radius: 0;
        width: 90%;
    }

    .header_wrapper .title {
        font-size: 22px;
    }

    .header_wrapper .main_menu li.active {
        border-bottom: none;
    }

    .card_wrapper {
        display: none;
    }

    .services_wrapper {
        margin-top: 0;
    }

    .page_title {
        line-height: 40px;
    }

    .page_title:after {
        display: none;
    }

    .inline_block.w33 {
        width: 100% !important;
        display: block !important;
    }

    .advantage_name {
        width: 100%;
        margin-top: 10px;
    }

    .advantage_description {
        margin-bottom: 20px;
    }

    .footer .contacts {
        margin: 0;
        padding: 20px 0;
        text-align: left !important;
        margin-left: 40px;
    }

    .footer ul li {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    .footer .margin_top_30 {
        margin-top: 10px !important;
        display: inline-block;
        vertical-align: middle;
    }

    .footer .contacts img {
        display: inline-block;
        vertical-align: middle;
        margin-right: 10px;
    }

    .footer .social li {
        display: inline-block !important;
        width: auto;
    }
}
