/* ----------------------------------------------------
                      NOT DESKTOP
   ----------------------------------------------------  */

@media (max-width: 991px) {

  body{
    font-size: 3.6vw;
    width: 100vw;
  }

  div.slide6{
    padding-top: 15vh;
  }

  h1,
  div.slide4 h1,
  div.slide5 h1,
  div.slide6 h1{
    font-size: 40px;
    margin-top: 0;
    text-align: left;
  }

  div.slide4 h1,
  div.slide6 h1{
    width: 74%
  }

  div.slide7 h1{
    width: 40%
  }

  .slide2 .hidden h1,
  .slide4 h1.hidden,
  .slide6 h1.hidden,
  .slide2 .hidden p,
  .slide4 .hidden p{
    transform: translateX(4vh);
  }

  h2{
    font-size: 30px;
    margin: 1em 0 1em 0;
    line-height: 1em;
  }

  article#howitworks h2{
    padding-top: 3em;
  }

  div.col_half,
  div.col_bc,
  div.col_ab{
    width: 74%;
    float: none;
    text-align: left;
  }

  div.col_a{
    width: auto;
    margin: 0;
  }

    div.slide4 div.col_a{
      display: none;
    }

  div.widthdraw{
    width:100%;
    margin: 0;
    position: relative;
    padding:0 25px 25px 25px;
    box-sizing: border-box;
  }

    header div.widthdraw{
      width:100%;
      margin: 0;
      position: relative;
      padding:0;
    }

    div.city div.widthdraw{padding: 0 25px;}
    div#content div.city .col_half{min-width: 60vw;}
    div#content div.city .col_half div.address_block{bottom: 110px;}

    div#g_map .gm-style-cc{
      display: none;
    }

    div#g_map .gm-bundled-control-on-bottom{
      bottom: 120px!important;
    }

    div#g_map p{
      font-size: 12px;
      line-height:16px;
      color:#c5c2c1;
      top:37%;
      width: 50%;
      margin: 0px auto;
    }

  .hamburger{
    position: absolute;
    top:-20px;
    right: 0;
    padding: 20px;
    outline: none;
  }

  header,
  header.scroll.dark,
  header.light:hover,
  header.dark:hover{
    top:none;
    left:0;
    height: 66px;
    width: 100%;
    transition: none;
    background-color: rgba(0,43,73,0.95);
    padding: 16px;
    box-sizing: border-box;
    transition: all 0.5s ease;
  }

    header.hide{top:0;}

    header.opened{
      top: 250px;
    }

    header.dark a:not(.mainpage){
      color:#cbc8c7;
      /* border-bottom: 1px dashed rgba(255,255,255,0.5); */
    }

      header.dark a:hover{color:#ffffff;}

      header.dark a.active,
      header.light a.active{
        color:#8CC04D;
      }

  div.Logotype{
    width: 178px;
    float: left;
    margin: 0 0 0 25px;
  }

    div.Logotype #Logo{
      width: 178px;
    }

      div.Logotype .a, div.Logotype .b{transition: fill 0.1s linear;}

    header.dark .a{fill:#F5F5F5;}
    header.dark .b{fill:#8CC04D;}

div.menus{
  flex-direction: column;
  gap: 0;
  position: absolute;
  top:-20px;
  transform: translateY(-100%);
  width: 100%;
  border-bottom: 1px solid #7f868c;
}

div.Additional_menu{
  top:0;
  width: 100%;
  background-color: rgba(0,43,73,0.95);
  border-bottom: 1px solid #7f868c;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding-top: 50px;
  gap: 10px;
}


  button.cta {
    font-size: inherit;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    line-height: 50px;
  }

  a.Main_phone {
    position: absolute;
    bottom: -2.90rem;
    right: 70px;
    z-index: 100;
    padding: 0 !important;
  }

div.Main_menu {
  width: 100%;
  padding: 0;
  order: 2;
  gap: 0;
  border: none !important;
}

  div.Main_menu a,
  div.Additional_menu a:not(.Main_phone) {
    height:50px;
    line-height: 50px;
    padding: 0 25px;
    margin:0;
    display: block;
    border: none;
  }

  div.Main_menu a{
    width: 100%;
    background-color: rgba(0,43,73,0.95);
    border: none;
  }

  div.Additional_menu a.outicon {
    padding: 0;
    margin-left: 45px;
  }

  div.Additional_menu a.outicon::before {
    width: 20px;
    height: 20px;
    background-size: 20px;
    left: -30px;
  }

div.svgline{
  width: 100vw;
}

  svg#route-to-success,
  svg#ie-line{
    display: none;
  }

  div#svg_canvas{
    position: relative;
    overflow: hidden;
    transition: height 0.3s ease-out;
  }

  svg#mobile_line{
    position: absolute;
    right:48.5px;
  }

    div.svgline div.widthdraw{
      padding: 0;
    }

div.anons{padding-bottom: 0}

/* -- Inner pages -- */

div#teaser{
  height: 50vh;
  overflow: hidden;
}

  div#teaser h1{margin:21vh 0 0 0;}

  div#teaser .video{
    width:auto;
  }

  @media screen and (max-aspect-ratio: 1280/720) {
    div.fullheight .video {height: 100%!important;}
  }
  @media screen and (min-aspect-ratio: 1280/720) {
    div.fullheight .video {width: 100%!important;}
  }

  @media screen and (max-aspect-ratio: 640/720) {
    div#teaser .video {height: 50vh;}
  }

  @media screen and (min-aspect-ratio: 640/720) {
    div#teaser .video {width:100%}
  }

div#content{
  padding-top: 50vh;
  overflow-x: hidden;
}

  div#content article#about01,
  div#content article#warehouse_services,
  div#content article#warehouse_map,
  div#content article#num_profit,
  div#content article{
      padding: 7em 0;
  }

  div#content article#num_profit{
    margin:-20vh 0 0 0;
    padding: 5em 0;
  }

  div#content div.col_half{
    width: 100%;
  }

    .fullphoto div.widthdraw div.col_half {
        position: absolute;
        bottom: 4em;
        padding: 0 50px 0 0;
        box-sizing: border-box;
    }

  div#content article.fullphoto .widthdraw{
    padding: 2em 25px;
  }

  div#content article#transport_plus{
    height: auto;
  }

    article#transport_plus h1{
      margin-top: 3em;
    }

.next {
  padding: 5vh 0;
  margin-top: 20vh;
}

  .next h1 {
    margin: 0;
  }

div.Submenu,
div.Submenu.fixed,
div.Submenu.stopped{
  position: fixed;
  width:100%;
  height: auto;
  max-height: 100vh;
  bottom:0;
  top:auto;
  z-index: 10;
  background-color: rgba(0,43,73,0.95);
  transition: max-height 0.5s ease;
}

  div.Submenu .dark a.current, div.Submenu .light a.current{color:#FFFFFF;}
  div.Submenu p.dark, div.Submenu p.light{color:#7f868c;}

    div.Submenu.mobileshut{max-height: 40px;}

    div.Submenu .widthdraw{
      padding:10px 25px;
      max-height: 73.5vh;
      max-height: -webkit-calc(100vh - 173px);
      max-height: -moz-calc(100vh - 107px);
      max-height: -o-calc(100vh - 107px);
      overflow:auto;
    }

  div.Submenu.stopped .col_half{
    transform: translateY(-100%);
  }

  div.Submenu div.col_half{
    position: static;
    width: 100%;
  }

  div.Submenu div.col_quarter{
    margin-bottom: 0;
  }

  div.Submenu ul{
    list-style: none;
    margin-bottom: 0em;
  }

    p.lastbig{margin-top: 0em;}

    div.Submenu ul li{margin-bottom: 1em;}
    div.Submenu p{margin-bottom: 1em;}

  div.Submenu p.currentCity{
    padding:0px 25px;
    line-height: 40px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    margin:0;
    cursor: pointer;
  }

    div.Submenu p.currentCity .arrow {
      width: 1.25rem;
      height: 1.25rem;
      display: inline-block;
      position: relative;
      margin: 0;
      float: right;
    }

    div.Submenu p.currentCity .arrow span {
      top: 1.2rem;
      position: absolute;
      width: 0.75rem;
      height: 0.1rem;
      background-color: #efefef;
      display: inline-block;
      transition: all 0.2s ease;
    }
    div.Submenu p.currentCity .arrow span:first-of-type {
      left: 0;
      -webkit-transform: rotate(45deg);
              transform: rotate(45deg);
    }
    div.Submenu p.currentCity .arrow span:last-of-type {
      right: 0;
      -webkit-transform: rotate(-45deg);
              transform: rotate(-45deg);
    }
    div.Submenu.mobileshut p.currentCity .arrow span:first-of-type {
      -webkit-transform: rotate(-45deg);
              transform: rotate(-45deg);
    }
    div.Submenu.mobileshut p.currentCity .arrow span:last-of-type {
      -webkit-transform: rotate(45deg);
              transform: rotate(45deg);
    }

@supports (-webkit-overflow-scrolling: touch) {
  div#mainpage{
    height: 100vh;
  }
}

svg#svg_transport,
svg#ie_transport{
  display: none;
}

div.plus_list{
  width:auto;
  position: relative;
  left:0;
  top:0;
}

  div.plus_list .item{
    position: relative;
    margin-bottom: 5em;
  }

  div.plus_list p{
    padding-left: 0;
    padding-right: 25%;
  }

div#content article#warehouse_map{
  position: relative;
  padding-bottom: 0;
}

  div#content article#warehouse_map .inside_map{
    background: none;
    height:auto;
    z-index: 2;
  }

  div#content article#get_map.fixit .inside_map,
  div#content article#put_map.fixit .inside_map{
    background-attachment: scroll;
  }

    div#content article#warehouse_map .inside_map .widthdraw,
    div#content article#warehouse_map .inside_map h1{margin:0;padding-bottom: 0}

    div#content article#warehouse_map a{top:75vh;}

.mobile_waremap{
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow-x: scroll;
}

  .mobile_waremap .themap{
      width: 200vw;
      height: 100vh;
      background: transparent url(../bg/map_sklad.svg) no-repeat -35vw 50%;
      background-attachment: scroll;
      background-size: 300vw;
  }


div#content article#get_map .inside_map {
  background: transparent url(../bg/map_white.svg) no-repeat -35vw 50%;
  background-size: 300vw;
}

div#content article#put_map .inside_map {
  background: #002b49 url(../bg/map_blue.svg) no-repeat -35vw 50%;
  background-size: 300vw;
}

div#content article#autopark img.cars {
  width: 82.22vmax;
}

div.graphbar {
  width: 100%;
}

div#next{
  height: auto;
}

div#next h1{
  padding: 6vh 0;
}

div#next .col_c {
  position: relative;
  width: auto;
  display: none;
}

div#next img {
  top: 9vh;
  left: auto;
  right: -110px;
  width: 90px;
  transform: translateX(-50%);
}

/* -- / Inner pages -- */

div.fullheight{
  width: 100%;
  overflow: hidden;
  min-height: 100vh;
  height: auto;
}

div.slide1{
 padding-top: 35vh;
}

  div.slide1 h1{
    max-width: 74%;
    margin-top: 0;
  }

  div.inside_map h1 {
      width: 100%;
  }

div.button{
  width:55px;
  height: 55px;
  position: absolute;
  top:50vh;
  margin-top: -27.5px;
  right: 25px;
  transform: translate(50%,-50%);
}

  .hidden div.button{
    width:75px;
    height: 75px;
    opacity: 0;
    visibility: hidden;
  }

    div.button:hover{
      cursor: pointer;
      width: 75px;
      height: 75px;
      transition: all 0.2s ease-out;
    }

/* - Категории товаров - */

div.fullheight:nth-of-type(4){
  height: auto;
  background-size: contain;
  /* padding-bottom: 4em; */
}

div.slide4 .col_bc{
  margin-bottom: 5em;
}

div.catmobile{
  width: 100%;
  margin: 0 -35px;
  position: relative;
}

  div.cat_list{
    position: absolute;
    left: 0;
    top: 0;
  }

    div.cat_list h3{
      color: #003053;
      text-align: left;
      margin: 0px;
      padding: 0px;
      font-size: 21vh;
      line-height: 24.5vh;
    }

/* Решения */

div.goods_list{
  position:static;
  top: 0;
  text-align: left;
  /* gap: 1rem */
}

div.goods_list .item{
  margin: 0;
  padding: 9vh 7.5vh 0 0;
  /* height: auto; */
}

  div.goods_list a{
    line-height: 1.5em;
    opacity: 1;
    visibility: visible;
    transition: margin-left 0.5s ease, opacity 0.5s ease, visibility 0.5s linear;
    margin: 0 0 1.5em 0;
  }

  div.goods_list .goodescribe {
    margin: 1.5em 0 0 0;
    width: auto;
    text-align: left;
  }

  .town_icon {
      width: 35px;
      height: 35px;
      transform: translate(50%, -50%);
      right: 25px;
  }

    .hidden .town_icon{
      width: 60px;
      height: 60px;
    }

/* - CTA Form - */

div.fullheight:nth-of-type(5){
  height: auto;
  /* margin-bottom: -5em; */
}

div.fullheight:nth-of-type(5) div.col_a {
  float: none;
}

.cta-form {
  --padding: 2vh;

  margin: 80px -25px -25px;
}

  .inline-cta .cta-form {
    position: relative;
    width: auto;
    height: auto;
    bottom: auto;
  }

  .cta-form.hidden {
    transform: translateY(0);
  }


#popup .cta-form {
  position: absolute;
  width: 100%;
  height: 100%;
  left: auto;
  top: auto;
  transform: translate(0, 0);
  margin: auto;
}

  .form {
    padding: calc(2 * var(--padding));
    padding: 25px 15px;
  }

  .form h2 {
    font-size: 25px;
    margin-bottom: 1em;
  }

  .quiz-header {
    display: none
  }

  .quiz-question-container {
    gap: calc(var(--padding)/2)
  }

    .split-columns {
      display: grid;
      grid-template-rows: repeat(3, 1fr);
      grid-auto-flow: column;
    }

    .quiz-answers label {
      gap: var(--padding);
      min-width: 100%;
      width: 100%;
    }

    .quiz-answers label p {
      /* max-width: 100%;  */
      max-height: 1.5em;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

  .form-inputs {
    align-items: unset;
    gap: calc(1.5 * var(--padding));
  }
    .hidden .form-inputs {
      gap: calc(1.5 * var(--padding));
    }

  #popup .form-inputs {
    justify-content: center;
  }

      .form-inputs p.placeholder {
        opacity: 0;
        visibility: hidden;

        transition: left 1s ease, transform 1s ease, opacity 1s ease, visibility 1s linear;
      }

      .form-inputs input:placeholder-shown + p.placeholder {
        opacity: 1;
        visibility: visible;
      }

    .form-inputs label {
      display: flex;
      flex-direction: row-reverse;
      margin: 1vh 0;
      padding: 0 35px;
      text-align: right;
      gap: calc(2 * var(--padding));
    }

      .form-inputs label p {
        width: 100%;
        text-align: left;
      }

      .checkbox {
        /* order: 2 */
      }

      .status, .checkbox {
        min-width: calc(2 * var(--padding));
        min-height: calc(2 * var(--padding));
        /* transform: translateX(50%); */
      }

        .status::before,
        .checkbox::before,
        .status::after {
          left: 0;
          width: calc(2 * var(--padding));
          height: calc(2 * var(--padding));
          background-size: calc(2*var(--padding));
        }

      .inputline .status {
        right: 35px;
      }

  .form--ok,
  .form--error {
    justify-content: center;
    padding-right: 10vh;
  }

    .icon--mail {
      stroke-width: 4vmin;
    }

    .icon--mail .label {
      stroke-width: 4.2vmin;
    }

#popup .popup-overlay {
  display: none;
}

#popup .popupClose {
  top: auto;
  bottom: 5vh;
  right: 50%;
  transform: translate(50%, 0);
}

  #popup .popupClose:hover {
    transform: translate(50%, 0);
  }

#popup.hidden .popupClose {
  transform: translate(50%, 10vh);
}

/* - Advantages - */

.advantage_block {
  display: flex;
  flex-direction: column;
  padding-right: 42px;
}

  .advantage_header {
    text-align: left;
  }

  .advantage_item {
    width: auto !important;
    left: auto !important;
    right: auto !important;
    text-align: left !important;
    padding-left: 0;
    padding-right: 10.6vh;
  }

    .advantage_item .town_icon {
      left: auto;
      right: 0;
      transform: translate(100%, -50%) !important;
    }

  .advantage_feature {
    position: relative;
    width: auto;
    text-align: left;
  }

  .advantage_edo {
    position: static;
    max-width: 250px;
    width: 25vh;
    text-align: left;
  }

    .advantage_feature h5 {
      font-size: 15.5vh;
      text-align: left;
    }

    .advantage_feature_overlay {
      justify-content: flex-start;
    }

    .advantage_feature_background {
      text-align: left;
    }

/* - Контакты - */

div.fullheight:nth-of-type(6),
div.fullheight:nth-of-type(7){
  height: auto;
  margin: 0;
  min-height: auto;
}

  div.fullheight:nth-of-type(6){
    background-position: 30% 0;
  }

  div.fullheight:nth-of-type(7) div.widthdraw{
    padding-bottom: 0;
  }

div.map_background{
  width: calc(100% + 50px);
  height: 50vh;
  top: 0;
  left:-25px;
  position: relative;
  background-color: #002b49;
  overflow: hidden;
  transform: translate(0vh,0vh);
  transition: all 0.5s linear;
}

  div.map_background.hidden{
    visibility: visible;
    opacity: 1;
    transform: translate(0vh,0vh);
  }

  div.map_background #g_map{
    width: calc(200% - 100px);
    height: 100%;
  }

  div.map_background #g_map p{
    transform: none;
    font-size: 11px;
    top:85%;
    float: left;
    width: 50%;
    padding:0px 25px;
    color:#7f868c;
  }

  div.map_background .content_overlay{
    width: 100%;
    padding:0 30% 0 25px;
    box-sizing: border-box;
    text-align: left;
    position: absolute;
    left:0;
  }

    div.map_background .content_overlay h1{
      margin:0 0 0.2em 0;
    }

  div.contact_mini{
    width: 100%;
    height: 50vh;
    top: 0;
    right: 0;
    position: static;
    overflow: hidden;
    transition: all 0.5s linear;
    z-index: 2;
    margin: 0;
    padding: 5vh 0 0 0;
    box-sizing: border-box;
    font-size: 110%;
    line-height: 1.5em;
  }

    div.contact_mini .Logotype{
      display: none;
    }

      div.contact_mini p.cities a:nth-of-type(2){
        float: right;
      }

  .contlink {
    display: none;
  }

  .button_position{
    position: relative;
    top:0;
    left:auto;
    right:auto;
    width:auto;
    height:auto;
  }

  .button_position div.button{
    top:25vh;
    transform: translate(50%,0)!important;
  }

.fresh h2 {
  font-size: 6vh !important;
}

.fresh h3 {
  font-size: 3vh !important;
}

}


/* ----------------------------------------------------
                       PORTRAIT PADS
   ----------------------------------------------------*/

@media (min-width: 600px) and (max-width: 991px) {

  body{
    font-size: 2vw;
  }

  h1{
    font-size: 6.66vw!important;
  }

  h2{
    font-size: 5vw!important;
  }

  div#g_map p{
    font-size: 2vw;
    line-height: 2vw;
    width: 100%;
  }

  header.opened {
    top: 200px;
  }

    div.Additional_menu {
      padding-top: 0;
    }

      button.cta {
        width: auto;
        position: static;
        padding: 0 25px;
      }

}


/* ----------------------------------------------------
                       MOBILE
   ---------------------------------------------------- */

@media (max-width: 460px) {

  header.opened{
    top: 300px;
  }

 a.Main_phone {
   position:
   static;
   order: 2;
 }

 div.Additional_menu {
   display: grid;
   grid-template-columns: 3fr 2fr;
   justify-items: start;
   width: 100%;
   gap: 0;
 }

 div.Additional_menu a {
   padding: 0 !important;
 }

 a.outicon_whatsapp {
   order: 2
 }

 div.anons .flexcol{display: block}
  div.anons .flexcol .flex_c {display: flex; gap: 0.5rem; padding-top: 1rem;}
 div.anons .flexcol div{width: auto;}

 div.pro_edo{
   position: static;
   background-position: 0% 50%;
   margin-bottom: 5vh;
 }

 div.fullheight:nth-of-type(4){
   background:#002b49 url(../bg/slide4%40mobile.png) no-repeat 50% 0px;
   background-size: contain;
 }

}

@media (max-width: 360px) {
  body{ font-size: 13px }
}
