#page_wrap {
    width: 90%;
   max-width: 1200px;
    padding: 0 20px;
}
header{
    margin-top: 0;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 0;
    padding-right: 0;

    display: flex;
    flex-direction: row;
    justify-content:space-around;
}
header address{
    width: 400px !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}
#content{
    margin-top: 20px;
}
section.services-1t2 {
    width: 100% !important;
}

.services-1t.services-t, .services-1t.services-tt{
   margin-top: 30px !important; 

}



#content table.table01{
	overflow-x: auto;
	display: block;
}
#content table.table01 tr th, #content table.table01 tr td {
    width: auto !important;
}



@media (max-width: 1200px) {
    header address{
        width:220px !important;
    }
    .addressHeader{
        width: 300px;
    }

}

article#content img{
    max-width: 100%;
    margin: 0 20px 10px 0;
}



@media (max-width: 1100px) {
.wrap-text{
    width: 540px;
}
}

@media (max-width: 991px) {
    header address{
        width:400px !important;
    }
    .addressHeader{
display: none;
    }
    header figure{
    width: 270px;
    }
header figure a figcaption{
width: 180px;
}
aside section.services-0m {
    width: auto;
}
aside section.services-0m a img, section.services-0 a img {
    float: left;
    margin-left: 10px;
    max-width: 100%;
}
}

@media (max-width: 575px) {
    header figure{
margin-top: 0;
    }
}

@media (max-width: 767px) {
    header address{
        width:200px !important;
    }
}
@media (max-width: 575px) {
    header{
        flex-direction: column;
        align-items: center;
    }
    header address{
        margin-top: 30px;
        width:400px !important;
    }
article#content h1{
   margin-bottom: 30px; 
}
h1 span{
padding-left: 0 !important;
}
article#content div div img{
width: 120px;
max-width: 100%;
}
#content div:nth-of-type(1), #content div.n_w-100.n_d-inline-block.n_mt-2.n_mb-4 {
	display: flex !important;
	flex-direction: column;
	gap:20px
}
#content div:nth-of-type(1) div, #content div.n_w-100.n_d-inline-block.n_mt-2.n_mb-4 div{
 width:100% !important;   
}

}
@media (max-width: 476px) {
    header address{
        width:300px !important;
    }
}
header address noindex:nth-of-type(1) {
    order: 3;
}
header address noindex:nth-of-type(2) {
    order: 2;
}
header address p {
    order: 1;
}
#basic-modal2{
    width:200px;
}

#basic-modal2 a{
    margin-top: 0;
}
header address noindex span{
    margin: 0;
}

aside{
    margin-top: 54px;
}


@media (max-width: 991px) {
    #page_wrap2{
        display: flex;
        flex-direction: column;
align-items: center;
    }
    .wrap-text{
        order: 1;
        width: 90%;
        margin: 40px 5% 0 5%;
    }
    aside{
order: 2;
margin: 20px 0 30px 0;
width: 90% !important;
display: flex;
flex-direction: column;

justify-content:space-around;

align-items: center;
    }
section.services-1t{
width: auto;
}
.services-1t.services-t, .services-1t.services-tt{
   margin-top: 30px !important; 
   text-align: center;
}
section.services-1t article p {
    margin: 6px 0 8px 0;
}
.nav-page {
    line-height: 20px;
}
section.services-1t h3 span, section.services-2t h3 span, section.services-3t h3 span, #content h1 span, .wrap-text2 h1 span, #officeBox h3 span, #karta-proezda h3 span, .form-big h3 span, .filialy-all h3 span{
    padding-left: 20px;
}
section.services-1t h3, #officeBox h3, #karta-proezda h3, .filialy-all h3 {
    margin-bottom: 30px;
}
aside .ots_box {
    width: 500px !important;
    max-width: 100%;
}
.ots_box div {
    margin-bottom: 30px;
}
}

@media (max-width: 767px) {
    aside{

        width: 90% !important;
        margin: 30px 5% 30px 5%;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}


nav ul{
    padding-left: 0;
}

@media (max-width: 991px) {
    nav ul li:first-child {
        padding: 0 20px 0 0;
    }
    nav ul li:last-child {
        padding: 0 0 0 17;
    }
    nav ul li {
        padding: 0 20px 0 17px;
    }
}

.burger-box{
    display: none;
}
@media (max-width: 767px) {
    nav{
display: none;
    }
    .burger-box{
        display:flex;
        flex-direction: row;
        justify-content:space-around;
        align-items: center;
        width: 100%;
        padding: 15px 0;
        background: #006893;
    }
    .burger-box p{
        margin: 0;
        color: #fff;
        font-size: 24px;
    }
    .burger-box a{
        width: 30px;
        height: 30px;
        background: url('/template/mobile-view/img/icons8-меню-50.png');
        background-repeat: no-repeat;
        background-size:cover;
    }
}

@media (max-width: 575px) {
#content img{
	width:100%;
	margin:0 0 20px 0 !important;
}
#content table.n_table{
	overflow-x: auto;
	display: block;
}
table.n_table tr td p.n_h5 strong{
    font-size: 18px ;
}

form.box_6 div{
    overflow: hidden;
}

}


form.box_6 p{
    display: flex;
    flex-direction: row;
}

@media (max-width: 767px) {
    form.box_6{
        display: flex;
        flex-direction: column;
        padding: 15px 15px;
    }
    form.box_6 div:nth-of-type(1), form.box_6 div:nth-of-type(2){
        width: 100% !important;
        margin: 0 0 10px 0  !important;
    }
    form.box_6 div:nth-of-type(1) input, form.box_6 div:nth-of-type(2) input{
        margin: 0 0 10px 0 !important;
    }
    .n_mt-3 div{
        margin: 0 !important;
    }
}

footer{
    height: auto;
    padding: 20px 0;
}
footer #footer-box{
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content:space-around;
}

footer #footer-box address p{
    margin-bottom: 14px;
}

@media (max-width: 1100px) {
address.f-address1{
    margin: 0 0 0 70px;
}
}

@media (max-width: 991px) {
#footer-box noindex .social-networks{
display: none;
}
address.f-address1{
    margin: 0 0 0 0;
}
}

@media (max-width: 767px) {
    footer #footer-box{
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    address.f-address1{
        width: auto;
    }
}

#nav-memu-mb{
    display: none;
width: 90%;
    padding: 30px 20px 0 30px;

    flex-direction: column;
    gap: 10px;
}
#nav-memu-mb a{
font-family: pf_din_text_comp_prolight, Arial, Helvetica, sans-serif;
color: #fff;
text-decoration: none;
background: #006893;
padding: 13px 14px;
font-size: 22px;
cursor: pointer;
}
#nav-memu-link{
cursor: pointer;
}

.back-to-top {
    display: none;

    padding: 14px;
    line-height: 46px;
    font-size: 24px;
    color: #fff !important;
    text-align: center;
    position: fixed;
    z-index: 999;
    right: 20px;
    bottom: 20px;
    background:#bf1e2e;
    border-radius: 50px;
    opacity: 0.7;
  }
  a.back-to-top:hover{
    opacity: 1;
  }
  a.back-to-top svg path{
    color: #fff;
  }



.header-box {

    position: relative;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}
.header-box.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    opacity: 1;
    background-color: rgba(255, 255, 255, 1);
    z-index: 1000;
    border-bottom: 4px #006893 solid;
}

form.box_6{
	overflow: hidden;
}
table.n_table{
   max-width: 100%;
}

@media (max-width: 476px) {
p.tb span {
    font-size: 0.9rem !important;
}
	.ots_box div p:nth-of-type(1){
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.ots_box div p:nth-of-type(1) a{
width: 100% !important;
	}
}