@media (min-width: 1280px) {
  .inner {
    max-width: 1280px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}
@media (min-width: 768px) {
}
@media (min-width: 640px) {
}

@media (max-width: 1600px) {

}

@media (max-width: 1000px) {
  .inner {
    width: 98%;
    margin: 0 1%;
    float: left;
  }
  .about__index {
    grid-template-columns: 1fr;
  }
    .about__index > .text__block {
      grid-row: 2;
      width: 100%;
    }
    .about__index > .photo__block {
      grid-row: 1;
      width: 100%;
      min-height: 300px;
    }
}

@media (max-width: 960px) {
  .header > .contact__line {
    width: calc(100% - 20px);
    padding: 0 10px;
    display: grid;
    grid-template-columns: 150px 1fr 44px;
  }

  .header > .logo {
    grid-column: 1 / 4;
    grid-row: 2;
  }

  .header > .search {
    grid-column: 1 / 3;
    grid-row: 3;
  }
    .header > .search > form {
      margin: 10px 0;
    }

    .content__block > .content {
      margin: 20px 0 20px 0;
      grid-template-columns: 1fr 1fr 1fr 1fr;
      grid-gap: 10px;
    }
}
@media (max-width: 750px) {
  .top__line {
    display: none;
  }
    .content__block > .content {
      margin: 20px 0 20px 0;
      grid-template-columns: 1fr 1fr 1fr;
      grid-gap: 5px;
    }
}
@media (max-width: 750px) {
  .basket__inner {
    position: relative;
    width: 98%;
    margin: 0 1%;
    float: left;
  }
}
@media (max-width: 550px) {
  .content__block > .content {
    margin: 20px 0 20px 0;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
  }
}
@media (max-width: 410px) {
  .content__block > .content {
    margin: 20px 0 20px 0;
    grid-template-columns: 1fr;
    grid-gap: 5px;
  }
}

@media only screen and (min-width:300px) and (max-width: 1200px){
  .btns > div > label{
    width: calc(48% - 25px);
    float: left;
    height: 45px;
    text-align: center;
    cursor: pointer;
    padding: 0 10px;
    line-height: 45px;
    border: 1px solid #ff6d00;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
  }
  .buyForm{
    width: 90%;
    float: left;
    margin: 40px 5%;
  }
  .buyForm fieldset label{
    width: 100%;
    height: 35px;
    line-height: 35px;
    font-size: 11pt;
    float: left;
    vertical-align: top;
    border: 0;
    text-align: center;
  }

  .buyForm fieldset input[type="text"]{
    width: calc(100% - 12px);
    height: 28px;
    float: left;
    padding: 2px 5px;
    border: 1px solid #cfcfcf;
    -moz-border-radius: 14px;
    -webkit-border-radius: 14px;
    border-radius: 14px;
  }

  .buyForm fieldset textarea{
    width: calc(100% - 12px);
    height: 50px;
    float: left;
    resize: none;
    padding: 2px 5px;
    border: 1px solid #cfcfcf;
    -moz-border-radius: 14px;
    -webkit-border-radius: 14px;
    border-radius: 14px;
  }

  .freeDelivery{
    width: 100%;
    float: left;
  }
    .freeDelivery label.fd{width: 100%; float: left; text-align: center; font-weight: bold;}

  .buyForm fieldset.installField label{width: calc(90% - 20px); float: left;}

  .buyForm fieldset.deliveryPrice input[type="radio"]{
    float: left;
    margin: 8px 8px 0 0;
  }
  .buyForm fieldset.deliveryPrice span{
    width: 100px;
    float: right;
    text-align: left;
    line-height: 25px;
    font-size: 3vw;
    font-weight: bold;
  }
    .buyForm fieldset.deliveryPrice span input[type="text"]{
      float: left;
      text-align: right;
      width: 60px;
      border: 0;
      margin: 0 3px 0 0;
      font-weight: bold;
    }

    .buyForm fieldset.deliveryPrice label{
      width: calc(100% - 130px);
      line-height: 30px;
      float: left;
      text-align: left;
    }
      
    .buyForm fieldset.deliveryPrice span#spanKm{
      width: 100%;
      margin: 0 0 0 -5px;
      line-height: 30px;
      font-size: 3vw;
      float: left;
      font-weight: normal;
    }
      .buyForm fieldset.deliveryPrice span#spanKm p:first-child{float: left; margin: 0; padding: 0;font-size: 3vw; width: 100%;}
      .buyForm fieldset.deliveryPrice span#spanKm p{float: left; margin: 0; padding: 0;font-size: 3vw;}
      .buyForm fieldset.deliveryPrice span#spanKm input[type="text"]{
        width: 35px;
        float: left;
        text-align: center;
        margin: 0 4px;
        border-bottom: 0px solid #cfcfcf;
        -moz-border-radius: 0px;
        -webkit-border-radius: 0px;
        border-radius: 0px;
      }
      #km_mkadS{
        margin-top: -30px;
      }

      .buyForm fieldset input[type="submit"]{
        width: 200px;
        height: 32px;
        float: left;
        margin-left: calc(50% - 100px);
        margin-bottom: 10px;
        font-size: 10pt;
        line-height: 30px;
        color: #fff;
        border: 0;
        font-weight: normal;
        letter-spacing: 1px;
      }

    .productImage div#materialThumbDiv {
      min-height: 200px;
      float: left;
    }
    .productImage{
      min-height: 380px;
      width: 98%;
      float: left;
      margin: 0 1% 10px 1%;
      position: relative;
    }
    .productImage div{
      width: 320px;
      height: 348px;
      float: left;
      margin: 0 0 10px 0;
    }
    .productImage a{border: 0;}

    .productImage div#materialThumbDiv{
      width: calc(100% - 95px);
      height: 200px;
      float: left;
      text-align: center;
      margin: 20px 0 10px calc(calc(50% - 47px)/4);
      position: relative;
    }

    .productImage div#materialThumbDiv img{
      height: 100%;
      width: auto;
      max-width: 100%;
    }

    .productImage a{border: 0;}

    span.materialImages {
      width: 90px;
      height: 80px;
      float: left;
      margin: 0px 0px 4px 0;
      border: 0px solid #c1c1c1;
    }

    .productImage div.smallThumbs{
      width: 90px;
      height: 310px;
      float: left;
      border: 0;
      overflow: hidden;
      margin: 20px 0px 20px 0;
      position: relative;
    }
      .productImage > span.arrowUp{
        width: 90px;
        height: 20px;
        position: absolute;
        top: 0;
        left: 0;
        background: #ff6d00;
        z-index: 900;
        text-align: center;
        color: #fff;
        cursor: pointer;
      }
      .productImage > span.arrowDown{
        width: 90px;
        height: 20px;
        position: absolute;
        bottom: 0;
        left: 0;
        background: #ff6d00;
        z-index: 900;
        text-align: center;
        color: #fff;
        cursor: pointer;
      }


  .variations{width: 100%;  margin: 10px 0 10px 0; float: left;}
  .variations > span{
    width: 100%;
    float: left;
    font-family: Roboto;
    font-weight: 500;
    margin: 15px 0 10px 0;
    font-size: 14pt;
    text-align: center;
  }
}