@import url('pull_out_main_menu.css');
@import url('pull_out_menu_price.css');


*, p, ul, div {
    margin: 0;
    padding: 0;
}
body {
    width: 100%;
    background-color: #a1a1a1;
   }

ul {
    padding: 0;
}

.container_main {
    max-width: 1200px;
    margin: 0 auto;
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(131,224,242,1) 0%, rgba(104,140,240,1) 0%,
    rgba(108,153,240,1) 0%, rgba(124,208,255,1) 0%, rgba(83,193,238,1) 0%,
    rgba(88,195,206,1) 0%, rgba(76,191,189,1) 0%, rgba(115,203,230,1) 0%,
    rgba(126,207,242,1) 100%, rgba(88,88,238,1) 100%);
}

.container_header_main, .container_header_price {
    width: 100%;
    padding: 0 0 0 15px;
}
.main_header {
    display: flex;
}
.row_header {
    display: flex;
 }

.header_left {
    flex-basis: 25%;
    display: flex;
    flex-direction: column;
    padding-top: 5px;
}

.nivaservice {
    font-size: 30px;
    font-family:"Times New Roman","serif";
    color: #071af1;
}

.phone {
    font-size: 26px;
    font-weight: 600;
    color: #fff
}

.remont_service {
    width: 80%;
    margin: 0 auto;
    padding: 0;
    border:solid #a70d0f 1px;
    border-radius: 10px;
    background:url(/images/fondiagn.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.remont_service > h1  {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.ul_list {
    margin: 0 0 0 10px;
}
.ul_list > li {
    list-style: none;
    font-size: 20px;
    padding-left: 30px;
    position: relative;
    color: #000;
}
.ul_list > li::before {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    top: 4px;
    left: 0;
    background: url("/images/bird.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.header_right {
    flex-basis: 75%;
    display: flex;
    flex-direction: column;
    border-left: solid #A70D0F 1px;
}

.menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin: 15px 5px 0 0;
    list-style: none;

}

.menu li {
    padding: 7px 15px;
    list-style: none;
    border-width: 2px 0;
    border-style: solid none;
    border-radius: 5px;
    border-color: #e6e6e6 #000 #b6b6b6;
    background: linear-gradient(#d6d6d6, #c6c6c6) #c6c6c6;
    transition: 0.5s linear;
    margin-right: 10px;
}
.menu li:hover {
    background: linear-gradient(#c6c6c6, #d6d6d6) #d6d6d6;
    border-color: #b6b6b6 #000 #e6e6e6;
}
.menu li>ul {
    position: absolute;
    left: 0;
    top: 45px;
    width: 300px;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease-in;

    z-index: 1000;

}
.menu li>ul>li {
    margin: 5px 0 0 0;
}
.menu li a {
    font-family: verdana;
    padding-top: 12px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 20px;
    color: #333;
    transition: 0.5s linear;
}

.welcome_img {

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 24px;

}
.welcome {
    flex-basis: 50%;
}
.welcome1 {
    text-align: center;
    font-family: Verdana;
    font-size: 1.6em !important;
    color: #A70D0F !important;
    font-weight: 600;
    border: none !important;
}
.welcome2 {
    padding: 0 10px;
    font-size: 20px;
    color: #4e4e4e;
}
.welcome2 > p {
    margin-bottom: 5px;
}
.welcome2 > p:last-child {
    margin-bottom: 0;
    color: #a70d0f;
}
.block_img_diag {
    margin-top: 10px;
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.block_img {
    display: flex;
    justify-content: flex-end;
}

.block_img > img {
    max-width: 90%;
}

.diag {
    width: 80%;
    margin: 0 auto;
    padding: 0;
    border:solid #a70d0f 1px;
    border-radius: 10px;
    background:url(/images/fondiagn.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.diag1, .diag2 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin: 0;
}
.diag2 {
    color: #E9181C;
}

.line_main {
    width: 97%;
    margin: 15px auto;
    height: 1px;
    background-color: #A70D0F;

}
.line {
    width: 100%;
    height: 1px;
    margin: 10px auto;
    background-color: #A70D0F;
}
.container_content {
    width: 100%;
    margin: 10px auto;
    padding: 15px;
}
.row_content {
    display: flex;
    margin: 10px 0;
}

.row_content_left {
    flex-basis: 20%;
}

.menu_price {
    width: 100%;
    list-style: none;
}
.menu_price li {
    width: 100%;
    line-height: 30px;
    margin: 4px auto;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    background: #c6c6c6;
    transition: 0.3s linear;
}
.menu_price li:first-child {
    margin-top: 0;
}
.menu_price li:hover {
    opacity: 0.8;
}
.menu_price li a {
    display: block;
    font-family: verdana;
    font-size: 16px;
    color: #333;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px;
    transition: 0.3s linear;
}
.menu_price li a:hover {
    color: #898989;
}


.row_content_right {
    flex-basis: 80%;
}
table td {
    padding: 5px 10px ;
}

/*Price */
.price {
    margin-left: 10px;
}

.mob_price_menu {
    display: inline-flex;
    justify-content: flex-start;
    padding: 10px;
    margin-bottom: 10px;
    background-color: rgba(182, 182, 182, 0.47);
}



table {
    border: 1px solid black;
    border-collapse: collapse;
    font-family: verdana;
    font-size: 16px;
    border-spacing: 0;
    width: 100%;
}
.uslugatable {
    text-transform: uppercase;
    color: #A70D0F;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-left: 30px;
}

/* Uslugi */
.usluga {
    padding: 20px 20px 10px 20px;
    display: flex;
    justify-content: space-between
}
.usluga_img {
    flex-basis: 40%;
}
.usluga p {
    font-size: 18px;
    color: #4b4b4b;
    flex-basis: 55%;
}

/* Zapchasti */
.zapchsti {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 15px 10px 10px 15px;
}
.zapchasti_text {
    flex-basis: 48%;
}
.zapchsti_map {
    flex-basis: 48%;
}

.vert_line {
    margin: 0 0 10px 0;
    border-left: solid #A70D0F 1px;
}
.ziptext {
    margin: 0 0 20px 0;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #2B2929;
}
.maptext{
    font-family: verdana;
    font-size: 18px;
    color: #2B2929;
}

/* Contacts */
.contacts {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 15px 10px 10px 15px;
}
.contacts_map {
    flex-basis: 48%;
}
.contacts_text {
    flex-basis: 48%;
}

/* footer */
.container_footer {
    padding: 0 15px 10px 15px;
}
.row_footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

}
.footer_1 {
	border: 1px solid #A70D0F;
	text-align: center;
    font-size: 18px;
    font-weight: 700;
    padding: 5px;
}

#tow_truck {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    padding: 5px;
    border:solid #a70d0f 1px;
}
.img_tow_truck {
    width: 100px;
    height: 50px;
    padding-right: 10px;
}
.phone_tow_truck {
    color: #333;
    text-align: center;
}

/*------------------------------------------------------------*/
/* Large desktops and laptops */
@media (min-width: 1200px) {
    .row_header_mobile {
        display: none;
    }

    .row_content_right #nav-icon3 {
        display: none;
    }
    .header_right .push_main_menu {
        display: none;
    }
    .row_content_right .uslugatable {
        margin-left: 0;
    }
    
    /*Footer*/
    .btn_top {
        display: none;
    }

}

/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    .row_header_mobile {
        display: none;
    }

    .header_right .push_main_menu {
        display: none;
    }
    .row_content_right #nav-icon3 {
        display: none;
    }
    .row_content_right .uslugatable {
        margin-left: 0;
    }
    
    /*Footer*/
    .btn_top {
        display: none;
    }

}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
    .main_header {
        display: none;
    }
    .push_main_menu {
        display: none;
    }
    .container_header_price > .row_header_mobile {
        display: none;
    }
    .row_header_mobile {
        display: flex;
        flex-direction: column;
    }

    .header_img_mobile {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .nivaservice_phone_mobile {
        flex-basis: 40%;
        display: flex;
        flex-direction: column;
    }
    .remont_service {
        width: 100%;
        margin: 10px 0 0 0;
    }


    .block_img_mobile {
        flex-basis: 26%;
        margin-top: 10px;

    }
    .block_img_mobile > img {
        max-width: 100%;
    }

    .row_header_mobile > .menu {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        margin: 20px 5px 0 0;
    }

    .ul_list_welcome {
        margin-top: 10px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .ul_list_welcome .line_main {
        display: none;
    }

    .ul_list {
        padding-right: 15px;
    }



    /* Price */
    .row_header {
        display: flex;
        flex-direction: column;
    }
    .header_right .push_main_menu {
        display: none;
    }
    .header_right .menu {
        margin-left: 0;
        justify-content: flex-start;
    }
    .row_content_left { /*For prices table */
        display: none;
    }
    .row_content_right { /*For prices table */
        flex-basis: 100%;
    }
    .price {
        margin-left: 0;
    }
    .pull_out_price_sidebar {
        top: 180px;
    }
    
    /*Footer*/
    .btn_top {
        display: none;
    }

}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
    .main_header, .row_header {
        display: none;
    }
    .block_img_mobile {
        display: none;
    }
    .row_header_mobile > .menu {
        display: none;
    }
    .header_img_mobile {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 15px 0 0;
    }
    .nivaservice_phone_mobile {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 10px;
    }
    .nivaservice_remont_service {
        width: 90%;
        display: flex;
        flex-direction: column;
    }
    .remont_service {
        width: 100%;
        margin: 10px 0 0 0;
    }
    .ul_list_welcome {
        display: flex;
        flex-direction: column-reverse;
    }

    /*Uslugi*/
    .usluga {
        display: flex;
        flex-direction: column;
        padding: 8px;
    }
    .usluga_img {
        width: 60%;
        margin-bottom: 15px;
    }

    /*Price*/
    .container_content {
        padding: 8px;
    }
    .price {
        margin-left: 0;
    }
    .header_right {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        padding: 15px 15px 0 0;
    }
    .header_right > .menu {
        display: none;
    }
    .row_content_left {
        display: none;
    }
    .row_content_right {
        flex-basis: 100%;
    }

    .header_right .nav-main {
        display: block;
    }
    .pull_out_price_sidebar {
        width: 200px;
        top: 115px;
    }

    /* Zapchasti */
    .zapchsti {
        flex-direction: column-reverse;
        padding: 8px;
    }
    .vert_line {
        margin: 10px 0;
        border-bottom: solid #A70D0F 1px;
    }

    /* Contacts */
    .contacts {
        flex-direction: column-reverse;
        padding: 8px;
    }
    .contacts_text {
        border-bottom: solid #A70D0F 1px;
        margin-bottom: 15px;
    }

     /* Footer */
    .row_footer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .footer_1 {
        margin-bottom: 5px;
    }
    .tow_truck_top {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .btn_top {
        width: 50px;
        height: 50px;
        z-index: 100; /* больше чем у hidden-overley(z-index: 99)*/
    }



}

/* Landscape phones and smaller */
@media (max-width: 480px) {
    .pull_out_price_sidebar {
        width: 200px;
    }



}

/* Small phones */
@media (max-width: 320px) {

}

