*{
    margin: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Roboto', sans-serif;
}
.box_container{
    width: 1240px;
    margin: auto;
}
.header_wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}
.paralelog{
    padding: 10px 70px 10px 70px;
    -webkit-transform: skew(-30deg);
    -moz-transform: skew(-30deg);
    -o-transform: skew(-30deg);
    -ms-transform: skew(-30deg);
    transform: skew(-30deg);
    background-color: #CE1616;
}
.untransform{
    -webkit-transform: skew(30deg);
    -moz-transform: skew(30deg);
    -o-transform: skew(30deg);
    -ms-transform: skew(30deg);
    transform: skew(30deg);
    font-size: 18px;
    color: #fff;
}
.line_1{
    width: 280px;
}
.line_2{
    margin-top: 10px;
    margin-left: 160px;
    width: 360px;
}
.moto{
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
}
.header_contacts_line{
    display: flex;
    align-items: center;
    margin-top: 21px;
}
.header_contacts_line:first-child{
    margin-top: 0;
}
.header_contacts_line img{
    width: 21px;
}
.header_contacts_line p{
    margin-left: 15px;
    font-size: 18px;
}
nav{
    width: 100%;
    background-color: #E8E212;
    margin-top: 20px;
    height: 50px;
    display: flex;
    align-items: center;
}
.container_nav{
    width: 920px;
    margin: auto;
}
.desktop_nav{
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}
.desktop_nav li a{
    text-decoration: none;
    color: #000;
    padding: 15px 34px 15px 34px;
}
.desktop_nav li a:hover{
    background: #CE1616;
    color: #fff;
}
.mobile_wrapper{
    display: none;
}
@media(max-width:1260px){
    .box_container{
        width: 940px;
    }
    .moto{
        display: none;
    }
    .untransform{
        font-size: 16px;
    }
    .paralelog{
        padding: 6px 40px 6px 40px;
    }
    .line_1{
        width: 200px;
    }
    .line_2 {
        width: 280px;
        margin-top: 8px;
        margin-left: 100px;
    }
}
@media(max-width:978px){
    .mobile_wrapper{
        display: block;
    }
    .header_logo img{
        height: 50px;
    }
    .header_contacts_line p{
        font-size: 14px;
    }
    .header_contacts_line{
        margin-top: 10px;
    }
    .box_container{
        width: 700px;
    }
    .desktop_nav{
        display: none;
    }
    nav{
        display: block;
    }
    .paralelog{
        padding: 6px 30px 6px 30px;
    }
    .untransform{
        font-size: 14px;
    }
    .line_1 {
        width: 170px;
    }
    .line_2 {
        width: 230px;
    }
    .menu{
        display: block;
    }
    .menu-triger {
        display: block;
        font-size: 32px;
        color: #000;
        text-decoration: none;
    }	
    .menu-close {
        display: block;
        width: 28px;
        height: 28px;	
        position: absolute;
        right: 20px;
        top: 20px;
        z-index: 100;
    }
    .menu-popup {
        display: none;	
        background-color: #fff;
        position: absolute;
        left: 0px;
        right: 0px;
        top: 145px;
        padding: 30px;
        z-index: 9999;	
        box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    }
    .menu_logo{
        height: 50px;
    }
    .menu-popup ul {
        margin: 0;
        padding: 0;
        margin-top: 20px;
    }
    .menu-popup li {
        list-style: none;
        padding: 0;
    }
    .menu-popup li a {
        font-size: 20px;
        color: #000;
        text-decoration: none;
        padding-left: 50px;
    }
    .nav_line{
        display: flex;
        align-items: center;
    }
    .nav_line p{
        margin-left: 21px;
    }
}
@media(max-width:730px){
    .box_container{
        width: 560px;
    }
    .header_moto{
        display: none;
    }
    .menu-popup{
        top:134px;
    }
}
@media(max-width:580px){
    .box_container{
        width: 320px;
    }
}
.banner_main{
    width: 100%;
    background: url(../images/banner_bg.png);
    background-size: cover;
    padding-top: 500px;
}
.banner_overlay{
    background: rgba(0,0,0,0.7);
    padding: 40px 0 40px 0;
}
.button_service{
    padding: 14px 25px 14px 25px;
    background: #CE1616;
    position: absolute;
    display: flex;
    align-items: center;
    top:-200%;
}
.button_service p{
    color: #fff;
    margin-left: 30px;
    font-size: 18px;
}
.banner_wrapper{
    position: relative;
}
.banner_wrapper a{
    text-decoration: none;
    color: #fff;
}
.banner_wrapper p{
    font-size: 18px;
    color: #fff;
}
.banner_mobile_overlay{
    display: none;
}
@media(max-width:1366px){
    .banner_main{
        padding-top: 430px;
    }
}
@media(max-width:1260px){
    .button_service{
        top: -150%;
    }
    .banner_wrapper p{
        font-size: 16px;
    }
    .banner_main{
        padding-top: 300px;
    }
}
@media(max-width:978px){
    .banner_main{
        padding-top: 210px;
    }
    .banner_overlay{
        padding: 25px 0 25px 0;
    }
    .banner_wrapper p{
        font-size: 12px;
    }
    .button_service{
        padding: 7px 20px 7px 20px;
        top: -120%;
    }
    .button_service img{
        width: 20px;
    }
    .button_service p{
        font-size: 12px;
    }
}
@media(max-width:580px){
    .banner_overlay{
        display: none;
    }
    .banner_main{
        padding: 0;
    }
    .banner_mobile_overlay{
        display: block;
        background-color: rgba(0,0,0,0.7);
        padding: 20px 0 60px 0;
    }
    .banner_mobile_wrapper p{
        color: #fff;
        font-size: 14px;
        text-align: center;
    }
    .banner_mobile_button{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top: 20px;
    }
    .button_unit{
        display: flex;
        align-items: center;
        width: 135px;
        height: 35px;
        background: #E8E212;
        padding-left: 10px;
        margin-top: 35px;
    }
    .button_unit p{
        margin-left: 7px;
        font-size: 12px;
        color: #000;
    }
    .button_unit img{
        width: 20px;
    }
    .banner_mobile_button a{
        text-decoration: none;
        color: #000;
    }
}

.title_block{
    margin-top: 36px;
}
.title_block h2{
    text-align: center;
    font-size: 32px;
}
.title_block p{
    text-align: center;
    font-size: 18px;
    margin-top: 22px;
}
.service_block_wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 35px;
}
.service_block_unit_1{
    background: url(../images/install.png);
    background-size: cover;
    width: 590px;
    height: 311px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.service_block_unit_2{
    background: url(../images/service.png);
    background-size: cover;
    width: 590px;
    height: 311px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.service_block_unit_3{
    background: url(../images/diagnostic.png);
    background-size: cover;
    width: 590px;
    height: 311px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.service_block_unit_4{
    background: url(../images/repair.png);
    background-size: cover;
    width: 590px;
    height: 311px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.overlay_service_hover{
    display: none;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: rgba(0,0,0,0.7);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.overlay_service_block_button{
    width: 175px;
    height: 47px;
    background: #E8E212;
    display: flex;
    align-items: center;
}
.overlay_service_block_button img{
    margin-left: 18px;
}
.overlay_service_block_button p{
    font-size: 16px;
    margin-left: 12px;
    color: #000 !important;
}
.overlay_service_block{
    background-color: rgba(0,0,0,0.7);
    padding: 27px 40px 10px 40px;
    position: relative;
    margin-top: auto;
}
.overlay_service_block_button{
    position: absolute;
    top: -40%;
}
.overlay_service_block p{
    color: #fff;
}
.overlay_service_block_button_hover{
    width: 175px;
    height: 47px;
    background: #E8E212;
    display: flex;
    align-items: center;
    justify-content: center;
}
.overlay_service_block_button_hover:hover{
    cursor: pointer;
}
.overlay_service_block_button_hover p{
    margin-left: 10px;
    color: #000 !important;
    margin-top: 0 !important;
}
.overlay_service_block_button_call{
    width: 219px;
    height: 47px;
    background: #E8E212;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}
.overlay_service_block_button_call img{
    width: 18px;
}
.overlay_service_block_button_call p{
    margin-left: 10px;
    color: #000 !important;
    margin-top: 0 !important;
}
.overlay_service_block_button_call:hover{
    cursor: pointer;
}
.overlay_service_hover p{
    color: #fff;
    text-align: center;
    margin-top: 40px;
    max-width: 450px;
}
.article_home_block{
    margin-top: 70px;
}
.article_home_block_des{
    margin-top: 50px;
    display: flex;
    justify-content: center;
}
.article_home_text{
    max-width: 570px;
    font-size: 16px;
    margin-right: 60px;
}
.article_home_img img{
    height: 320px;
}
@media(max-width:1260px){
    .service_block_unit_1{
        width: 450px;
        height: 280px;
    }
    .service_block_unit_2{
        width: 450px;
        height: 280px;
    }
    .service_block_unit_3{
        width: 450px;
        height: 280px;
    }
    .service_block_unit_4{
        width: 450px;
        height: 280px;
    }
    .overlay_service_block p {
        font-size: 14px;
    }
    .overlay_service_hover p{
        max-width: 420px;
        font-size: 14px;
    }
    .article_home_img img{
        width: 420px;
        height: auto;
    }
    .article_home_text{
        font-size: 14px;
    }
}
@media(max-width:978px){
    .service_block_wrapper{
        justify-content: center;
    }
    .service_block_unit_1{
        width: 510px;
        height: 310px;
    }
    .service_block_unit_2{
        width: 510px;
        height: 310px;
        margin-top: 30px;
    }
    .service_block_unit_3{
        width: 510px;
        height: 310px;
    }
    .service_block_unit_4{
        width: 510px;
        height: 310px;
    }
    .overlay_service_block p {
        font-size: 16px;
    } 
    .overlay_service_hover p{
        max-width: 450px;
        font-size: 16px;
    }
    .article_home_block_des{
        flex-direction: column-reverse;
        align-items: center;
    }
    .article_home_img img{
        width: 100%;
        height: auto;
    }
    .article_home_text{
        font-size: 16px;
        margin-top: 30px;
        width: 100%;
        margin-right: 0;
    }
}
footer{
    margin-top: 50px;
    padding-top:35px;
    padding-bottom: 35px;
    background: #333333;
}
.nav_line_footer{
    width: 830px;
    margin: auto;
    padding-bottom: 15px;
    border-bottom: 1px solid #fff;
}
.nav_line_footer ul{
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}
.nav_line_footer ul li a{
    text-decoration: none;
    color: #fff;
}
.contact_logo_line{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}
.contact_footer_block p{
    font-size: 18px;
    color: #fff;
    margin-top: 10px;
}
.adress_footer_block p{
    font-size: 18px;
    color: #fff;
    text-align: right;
    margin-top: 10px;
}
@media(max-width:980px){
    .nav_line_footer{
        display: none;
    }
    .contact_footer_block p{
        font-size: 12px;
    }
    .adress_footer_block p{
        font-size: 12px;
    }
}
@media(max-width:730px){
    .logo_footer img{
        width: 150px;
    }
}
@media(max-width:580px){
    .contact_logo_line{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 0;
    }
    .logo_footer{
        margin-top: 30px;
    }
    .adress_footer_block{
        margin-top: 30px;
    }
}
.maps_block_about{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}
.maps_block_about img{
    height: 310px;
}
.about_text_page{
    display: flex;
    justify-content: space-between;
    margin-top: 70px;
}
.about_text_page img{
    width: 600px;
}
.about_text_page p{
    width: 550px;
}
.master_photo{
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}
.master_photo img{
    width: 600px;
}
.repair_parts{
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.repair_parts img{
    width: 800px;
}
.sotr_block{
    margin-top: 30px;
    text-align: center;
    font-size: 18px;
}
@media(max-width:1260px){
    .maps_block_about img {
        height: 250px;
    }
    .about_text_page img {
        width: 380px;
    }
    .master_photo img {
        width: 450px;
    }
}
@media(max-width:980px){
    .maps_block_about img {
        height: 190px;
    }
    .about_text_page img {
        width: 280px;
    }
    .about_text_page p {
        width: 350px;
    }
    .master_photo img {
        width: 320px;
    }
    .repair_parts img{
        width: 100%;
    }
}
@media(max-width:730px){
    .maps_block_about img {
        height: 140px;
    }
    .about_text_page{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .about_text_page p{
        width: 100%;
    }
    .about_text_page img{
        width: 100%;
        margin-top: 20px;
    }
    .master_photo img {
        width: 260px;
    }
}
@media(max-width:580px){
    .maps_block_about{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .maps_block_about img{
        width: 100%;
        height: auto;
        margin-top: 20px;
    }
    .master_photo{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .master_photo img{
        width: 100%;
        margin-top: 20px;
    }
}
.repair_block{
    margin-top: 30px;
}
.repair_block img{
    width: 100%;
}
.repair_block p{
     margin-top: 30px;
     font-size: 18px;
     text-align: center;
}




.contacts_wrapper{
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}
.map_block_page{
    width: 600px;
}
.contact_phone_block h4{
    font-size: 22px;
}
.time_work_block{
    margin-top: 20px;
}
.time_work_block h4{
    font-size: 22px;
}
.addres_block{
    margin-top: 20px;
}
.addres_block h4{
    font-size: 22px;
}
@media(max-width:1260px){
    .map_block_page{
        width: 450px;
    }
}
@media(max-width:730px){
    .contacts_wrapper{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .map_block_page{
        margin-top: 30px;
        width: 100%;
    }
}