@media (max-width: 1024px) {
    
}

@media (min-width: 768px) and (max-width:991px) {
    .wrapper {
        background: none;
    }
    
    .container {
        min-width:744px;
        padding: 0 12px;
        width: calc(100% - 24px)
    }

    .container_wrapper {
        margin-top: 10px;
    }

    .contact_form {
        flex-direction: column;
        height: 100%;
        width: max-content;
        align-items: center;
        gap: 10px;
    }

   .header-info {
      width: max-content;
      margin-left: 40px;
      right: 0;
   }

   .header__menu {
      width: 100%;
      justify-content: center;
   }

   .header__nav {
      position: relative;
   }

   .main_picture {
    height: 300px;
    flex-direction: column;
    align-items: baseline;
    justify-content: flex-start;
   }
   
   .nav__underline {
       display: none;
   }

   .nav__underline_tablet {
      width: 100%;
      display: flex;
      margin-bottom: 20px;
      content: "";
      border-top: 2px solid #3c3c3c;
      height: 3px;
      position: absolute;
      top: 83px;
   }

   .main_text {
      width: 80%;
      height: max-content;
      margin: 30px 80px;
      font-size: 34px;
      flex-wrap: wrap;
   }

   .partners-list img {
      width: 630px;
   }

   .phone {
      margin-right: 0px;
      width: 28%;
   }

   .mail {
      margin: 0 5px 0 20px;
   }

   .copyright {
      margin-left: 20px;
   }
   
   .main_picture_uslugi {
      height: 300px;
    flex-direction: column;
    align-items: baseline;
    justify-content: flex-start;
   }

   .content_grid_top {
      display: flex;
   }

   .uslugi_wrap {
      width: fit-content;
   }

   .uslugi_content_main {
      width: fit-content;
   }

   .uslugi_content_rows {
      gap: 30px;
      justify-content: center;
   }

   .uslugi_row {
      width: 290px;
      height: 290px;
      margin: 0;
   }

   .uslugi_row img {
      height: 190px;
   }

   .main_picture_products {
      height: 300px;
    flex-direction: column;
    align-items: baseline;
    justify-content: flex-start;
   }

   .activity_wrap {
      width: fit-content;
   }

   .activity_content_main {
      width: fit-content;
   }

   .activity_content_rows {
      gap: 30px;
      justify-content: center;
   }

   .row {
      width: 310px;
      height: 310px;
      margin: 0;
   }

   .row img {
      height: 190px;
   }

   .activity_content {
      width: auto
   }

   .main_picture_contacts {
      height: 300px;
    flex-direction: column;
    align-items: baseline;
    justify-content: flex-start;
   }

   .content_grid_contacts {
      display: flex;
      flex-direction: column-reverse;
   }

   .map_block_wrap {
      width: auto;
   }

   .footer {
      height: max-content;
   }

   .footer_container {
      padding-bottom: 20px;
   }

   .map {
      display: none;
   }

   .map_tablet {
      display: flex;
   }
}

@media (max-width: 450px) {
   body {
      font-weight: 400;
   }
   
    .wrapper {
        background: #f6f6f6;
        /* width: 414px; */
        /* position: absolute; */
        min-height: 100%;
    }
    
    .header {
        width: 414px;  
        height: 70px;
        box-shadow: 0 1px 24px 0 rgb(0 0 0 / 14%);
    }
    
    .header_inner {
        width: inherit;
    }
    
    .logo-container {
       width: 130px;
       height: 60px;
   }

   .logo {
      height: 60px;
   }
   
   .logo img {
       width: 130px;
       height: 60px;
   }
   
   .header-info {
       display: none;
   }
   
   .mobile-menu {
       display: block;
   }

   .contact_form {
      display: none;
   }
    
    .container {
        min-width: 320px;
        position: relative;
        width: 100%;
    }

   .container_wrapper {
      margin: 0px 0 0 10px;
      padding-top: 10px;
   }
    
    .content {
        position: relative;
        padding: 0 10px 30px 10px;
    }
    
    .header__nav {
       display: block;
       position: absolute;
       top: -15px;
       left: 0;
       background: #f5c12e;
       transition: all 0.4s ease;
       left:-120%;
       width: 110%;
       height: 100%;
   }
   
   .header__menu {
       display: block;
       background-color: #f5c12e;
       height: 100%;
       width: 100%;
       overflow: hidden;
   }
   
   .header__nav.open-menu{
       left: -6px;
       width: 110%;
       height: 110%;
       background: #f5c12e;
   }
   
   .header__menu li {
       margin: 25px 0 0 35px;
       font-size: 14px;
       /* width: 200px; */
       color: #000;
       /* border-bottom: 1px solid rgb(0 0 0 / 50%); */
   }
   
   .header__menu li:hover {
        background-color: #f5c12e;
        border-radius: 0px;
   }
   
   .header__menu li a {
        display: flex;
        color: #000;
        text-decoration: none;
        font-weight: 700;
        width: 100%;
        height: 40px;
        align-items: center;
        font-size: 16px;
    }
   
   .header__menu li.active a {
        background-color: #f5c12e;
        display: flex;
        height: 30px;
        align-items: center;
        padding: 0;
        /* height: 40px; */
        /* border-radius: 5px; */
    }
    
    .about_wrap {
      display: none;
   }

   .about_wrap_text {
      margin: 0;
   }

   .about-company {
      min-width: 320px;
   }

   .text_sides {
      display: block;
   }

   .text_left ul {
      width: auto;
   }

   .text_right ul {
      width: auto;
   }

   .benefits-certs {
      flex-direction: column;
      width: auto;
   }

   .activity_wrap {
      width: auto;
      margin: 0;
   }

   .activity_wrap .activity_wrap_title {
      align-self: flex-start;
   }

   .pic_row {
      flex-direction: column;
   }

   .partners-list img {
      width: 100%;
   }

   .clients-list img {
      width: 100%;
   }

   .uslugi_wrap {
      width: 100%;
      /* padding-right: 58px; */
   }

   .uslugi_content_main {
      width: 100%;
   }
   
   .menu-burger__header {
       position: absolute;
       width: 40px;
       height: 35px;
       display: block;
       right: 25px;
       top: -80px;
    }
      
   .menu-burger__header span, .menu-burger__header:after, .menu-burger__header:before{
       height: 3px;
       width: 100%;
       position: absolute;
       background: #515758;
       margin: 0 auto;
   }
   
   .menu-burger__header span{
       top: 16px;
   }
   
   .menu-burger__header:after, .menu-burger__header:before{
       content: '';
   }
   
   .menu-burger__header:after{
       bottom: 5px;
   }
   
   .menu-burger__header:before{
       top: 5px;
   }
   
   .menu-burger__header.open-menu span {
       opacity:0; 
       transition: 0.5s; 
   }
   
   .menu-burger__header.open-menu:before {
       transform: rotate(38deg);
       top: 16px;
       transition: 0.4s;
   }
   
   .menu-burger__header.open-menu:after {
       transform: rotate(-38deg);
       bottom: 16px;
       transition: 0.4s;
   }
   
    .activity_content {
       width: auto;
       /* margin-right: 20px; */
    }

   .activity_content .top {
      flex-direction: column;
      width: auto;
      align-items: center;
   }

   .activity_content .top .activity_row {
      width: 330px;
   }

   .activity_row a img {
      width: 330px;
   }

   .activity_row .line img {
      width: 330px;
      height: 40px;
   }

   .activity_content .bottom {
      flex-direction: column;
      width: auto;
      align-items: center;
   }

   .main_contacts {
      flex-direction: column;
   }

   .contacts-map_wrap {
      flex-direction: column;
   }

   .contacts_list {
      gap: 30px;
   }

   .contacts_list span {
      align-items: center;
   }

   .location_img {
      width: 40px;
      height: 40px;
   }
   
    .activity_content_rows {
       display: flex;
       flex-wrap: wrap;
       flex-direction: column;
    }
   
   .row {
       margin: 0 16px 26px 0px;
   }
    
    .contacts {
        margin: 0px 0 0 10px;
        width: 90%;
        font-size: 16px;
    }

   .contacts p {
      font-size: 16px;
   }

   .contacts .identification {
      gap: 20px;
   }

   .contacts .identification p {
      font-size: 16px;
   }

   .map_block {
      /* margin-left: 26px; */
   }

   .map_block_wrap_mobile {
    /* width: 310px; */
    /* height: 250px; */
    /* background-color: #88bfff; */
    display: flex;
    align-items: center;
    justify-content: center;
   }

   .map__mobile2 {
      display: flex;
      margin-top: 20px;
   }

   .map {
      display: none;
   }
   
   .map__mobile1 {
       display: none;
   }
   
   .map_mobile {
      display: flex;
   }
   
   .map_tablet {
       display: none;
   }

   .map_block_wrap {
      display: none;
   }
    
    .footer {
        /* width: 414px; */
        height: 100%;
    }

   .footer_main {
   justify-content: space-between;
   /* gap: 40px; */
   }

   .footer-pages_wrap {
      flex-direction: column;
      gap: 10px;
      margin-right: 20px;
   }

   .footer_page-list {
      width: 60%;
      margin-bottom: 10px;
   }

   .modal {
      margin-top: 10px;
   }

   #modal_form {
      height: 430px;
      width: 330px;
      margin-left: -170px;
      top: 40%;
   }

   #modal_form input[type="text"] {
      font-size: 14px;
   }

   .footer_uslugi {
      margin: 0;
   }

   .footer_info {
      flex-direction: column;
      gap: 10px;
   }

   .phone {
      /* display: flex; */
      /* margin-bottom: 20px; */
   }

   .mail {
      margin-bottom: 30px;
      margin-right: auto;
   }

   .copyright {
      margin: 20px 0 20px 0;
   }
   
    .footer_left {
        display: flex;
        width: 100%;
        justify-content: space-evenly;
        margin-right: 30px;
    }
    
    .footer_phone {
        /* width: 40%; */
        position: absolute;
        left: 23px;
    }
    
    .footer_mail {
        margin: 0;
        position: absolute;
        right: 17px;
}
    
    .footer_socials {
        display: none;
    }
    
    .footer_right {
        display: none;
    }
}

/* @media (max-width: 720px) { */
   /*  .header {
       max-width: 414px;
   }
   
   .container {
       max-width: 414px;
       padding: 0 4px;
       width: calc(100% - 8px);
   }
   
   .content_grid_bottom_sert {
       justify-content: space-around;
       display: flex;
       flex-wrap: wrap
   }
       
   .logo-container {
       width: 130px;
   }
   
   .logo img {
       width: 130px;
   }
   
   .header__nav {
       display: block;
       position: absolute;
       top: 84px;
       left: 0;
       background: rgb(245, 246, 246);
       box-shadow: #ccc;
       width: 90%;
       box-shadow: 0 4px 2px -2px rgba(36, 36, 36, 0.37);
       transition: all 0.4s ease;
       left:-100%;
   }
   
   .header__menu {
       display: block;
   }
   
   .header__nav.open-menu{
       left: -6px;
       width: 110%;
   }
   
   .header__menu li {
       margin: 40px 0px 40px 33px;
       font-size: 14px;
   }
   
   .menu-burger__header {
       position: absolute;
       width: 40px;
       height: 35px;
       display: block;
       right: 25px;
      }
      
   .menu-burger__header span, .menu-burger__header:after, .menu-burger__header:before{
       height: 3px;
       width: 100%;
       position: absolute;
       background: #515758;
       margin: 0 auto;
   }
   
   .menu-burger__header span{
       top: 16px;
   }
   
   .menu-burger__header:after, .menu-burger__header:before{
       content: '';
   }
   
   .menu-burger__header:after{
       bottom: 5px;
   }
   
   .menu-burger__header:before{
       top: 5px;
   }
   
   .menu-burger__header.open-menu span {
       opacity:0; 
       transition: 0.5s; 
   }
   
   .menu-burger__header.open-menu:before {
       transform: rotate(38deg);
       top: 16px;
       transition: 0.4s;
   }
   
   .menu-burger__header.open-menu:after {
       transform: rotate(-38deg);
       bottom: 16px;
       transition: 0.4s;
   }
   
   .header {
       height: 84px;
   }
   
   .content-wrapper {
       margin-top: 48px;
   }
   .fixed-pade {
       overflow: hidden;
   }
   
   .content{
       max-width: 100%;
   }
   
   .footer {
       max-width: 100%;
   }
   
   .footer_socials {
       display: none;
   }
   
   .footer_right {
       display: none;
   }
   
   .contacts {
       margin-left: 30px;
   }
   
   .sertification_wrap {
       position: relative;
       width: 357px;
       height: 156px;
   }
   
   .sertification_wrap_top {
       display: none;
   }
   
   .sertification_wrap_content {
       padding: 15px 5px 10px 10px;
   }
   
   .sertification_pics {
       display: none;
   }
   
   .sertification_slider {
       background: unset;
       width: 200px;
       height: 350px;
       right: 0;
       margin-bottom: 10px;
   }
   
   .activity_wrap {
       position: relative;
       width: 357px;
       height: 340px;
   }
   
   .activity_wrap_top {
       display: none;
   }
   
   .activity_wrap_content {
       padding: 15px 5px 10px 10px;
   }
   
   .content_grid_bottom_activity {
       display: none;
   }
   
   .content_grid_bottom_activity_mobile {
       margin: 0 10px 20px 10px;
   }
   
   .first_img {
       background: url(../img/activ-1.png);
       width: 270px;
       height: 151px;
       margin-bottom: 10px;
   }
   
   .second_img {
       background: url(../img/activ-5.png);
       width: 215px;
       height: 148px;
       margin-bottom: 10px;
   }
   
   .third_img {
       background: url(../img/activ-6.png);
       width: 228px;
       height: 148px;
       margin-bottom: 10px;
   }
   
   .about_wrap {
       position: inherit;
       width: 359px;
       height: 217px;
       margin-bottom: 20px;
   }
   
   .about_wrap_top {
       display: none;
   }
   
   .about_wrap_text {
       padding: 15px 5px 10px 10px;
   }
   
   .content_grid_bottom {
       display: flex;
       flex-wrap: wrap;
       margin-bottom: 30px;
   }
   
   .cooperation_wrap {
       width: 360px;
       height: 355px;
       background-color: #5f5471;
   }
   
   .map_block_wrap {
       display: none;
   }
   
   .map_block_wrap_mobile {
       width: 360px;
       height: 250px;
       margin-top: 10px;
       background-color: #5f5471;
       display: flex;
       align-items: center;
       justify-content: center;
   }
   
   .map_mobile {
       display: block;
   } 
}*/