.amoindiv {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  padding: 6px 19px;
  color: #111;
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 23px;
  text-align: center;
  border: 1px solid #111;
  -webkit-transition: 0.25s all;
  -o-transition: 0.25s all;
  transition: 0.25s all;
  width: max-content;
}

.amopopup-fade {
  display: none;
}
.amopopup-fade:before {
  content: "";
  display: grid;
  background: #000;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  z-index: 9999;
}

.amopopup {
  position: absolute;
  top: 5%;
  left: 32%;
  padding: 50px;
  width: 618px;
  background: #fff;
  border-radius: 20px;
  z-index: 99999;
  opacity: 1;
}

.amopopup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 20pt;
  color: #87625e;
}

a.amopopup-close:hover {
  color: #87625e;
  font-size: 22pt;
}

.amoformlogo {
  position: absolute;
  top: 20px;
  left: 50px;
}

.preloader {
  width: 100%;
  height: 100vh;
  position: absolute;
  display: grid;
  justify-self: center;
  align-self: center;
  margin-top: 15%;
}

.afbottom {
  display: grid;
  align-self: center;
  justify-self: center;
}

img.imggif {
  width: 46px;
  display: grid;
  align-self: center;
  justify-self: center;
}

.firstnum {
  color: #704949;
  width: 35px;
  font-weight: 800;
  display: grid;
}

.form1ob {
  width: 100%;
  display: grid;
  justify-self: center;
  max-width: 618px;
  margin: 0 auto;
  padding: 50px;
  box-sizing: border-box;
}

.formsob {
  width: 100%;
  display: grid;
  justify-self: center;
  text-align: left;
}

.formsob2,
.formsob3 {
  width: 100%;
  margin-top: 50px;
  display: grid;
  justify-self: center;
  text-align: left;
}

.formsob3 {
  display: block;
  margin-top: 50px;
}

.zagob {
  width: 100%;
  display: grid;
  justify-self: center;
}

h2.h20,
h2.h21 {
  width: 100%;
  font-family: "Montserrat";
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

h2.h21 {
  font-size: 14pt;
}

p.shag,
p.shag1 {
  width: fit-content;
  display: grid;
  font-size: 11pt;
  text-align: right;
  font-family: "Roboto";
  justify-self: end;
  align-self: center;
  grid-template-columns: repeat(4, auto);
  min-height: 70px;
  align-items: center;
}

p.shag1 {
  width: 180px;
  grid-template-columns: 20% 20% 10% 50%;
}

.form1 {
  width: 100%;
  display: grid;
  justify-self: center;
}

.nameinput {
  font-size: 24px;
  line-height: 33px;
  font-weight: 700;
  font-family: "Roboto";
  color: #000;
  margin: 30px 0 0 0;
}

.nameinput span {
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
}

.inpdiv {
  width: 100%;
  display: grid;
  border: 1px solid #111;
  border-radius: 10px;
  grid-template-columns: 92% 8%;
  justify-self: center;
  margin-top: 6px;
}

.inpimgname,
.inpimgmail,
.inpimgphone,
.inpimgdimens,
.inpimgquant {
  width: 80%;
  display: grid;
  justify-self: center;
  align-self: center;
}

input.inpform {
  width: 100%;
  height: 46px;
  border: none;
  display: grid;
  text-indent: 20px;
  border-radius: 15px;
  font-size: 20px;
  line-height: 28px;
}

input.inpform::placeholder {
  color: #d3d3d3;
}

.bottom1 {
  display: grid;
  margin-top: 45px;
}

.bottom2 {
  width: 98%;
  height: 45px;
  display: grid;
  grid-template-columns: 20% 20% 20% 40%;
  justify-self: center;
  align-self: center;
  margin-top: 60px;
  margin-bottom: 20px;
}

.line-bottom {
  width: 90%;
  height: 3px;
  background-color: #d7dfe5;
  border-radius: 15px;
  justify-self: center;
  align-self: center;
}

#next1 {
  text-align: center;
}

.button1 {
  width: 100%;
  display: grid;
  justify-self: center;
  align-self: center;
  justify-content: start;
}

.button1 a {
  width: max-content;
  padding: 19px 47px;
  background: #3ea3b9;
  border-radius: 15px;
  display: block;
  color: #fff;
  justify-self: center;
  align-self: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  line-height: 23px;
  font-family: "Montserrat";
}

.buttonmat,
.buttonmatv,
.buttonmat1 {
  width: 80px;
  height: 35px;
  display: grid;
  border-radius: 10px;
  border: 1px solid #d7dfe5;
  justify-self: center;
  align-self: center;
  margin: 3px;
}

.buttonmat a,
.buttonmatv a,
.drap a,
.drapa a,
.drapb a,
.buttonmat1 a {
  width: 100%;
  display: grid;
  text-align: center;
  justify-self: center;
  align-self: center;
  text-decoration: none;
  font-size: 11pt;
  font-family: "Roboto";
  color: #000;
}

.preduprezdenie,
.preduprezdenie1 {
  width: 100%;
  height: 60px;
  display: grid;
  border-radius: 15px;
  border: 1px dashed #ff868f;
  grid-template-columns: 8% 93%;
}

.preduprezdenie1 {
  width: 95%;
  height: 80px;
  justify-self: center;
  align-self: center;
  margin-bottom: 20px;
}

.voskl {
  display: grid;
  justify-self: center;
  align-self: center;
}

.voskltext {
  width: 100%;
  display: grid;
  font-size: 12pt;
  align-self: center;
  color: #333536;
  font-family: "Roboto";
}

.materialob {
  width: 75%;
  display: grid;
  grid-template-columns: 20% 80%;
  margin-top: 30px;
}

.materialobv,
.materialobn {
  width: 80px;
  display: grid;
  align-self: center;
  grid-template-columns: repeat(2, 90px);
  margin: 7px;
}

.materialobv {
  margin-left: -20px;
  margin-top: -50px;
}

.materialobn {
  grid-template-columns: repeat(4, 90px);
  margin-left: 55px;
  margin-top: -23px;
}

select.amoforms-input-select {
  width: 100%;
  height: 38px;
  display: grid;
  justify-self: center;
  border-radius: 15px;
  border: 1px solid #daf6ff;
  text-indent: 10px;
  font-size: 13pt;
  font-family: "Roboto";
  color: #b5b7b8;
  background: #ffffff;
}

.drapob {
  width: 300px;
  display: grid;
  grid-template-columns: repeat(2, 150px);
}

.drap,
.drapa,
.drapb {
  width: 90%;
  height: 35px;
  display: grid;
  border-radius: 10px;
  border: 1px solid #d7dfe5;
  justify-self: center;
  align-self: center;
}

.dopob {
  width: 100%;
  display: grid;
  justify-self: center;
  align-self: center;
}

.dopv {
  width: 500px;
  display: grid;
  grid-template-columns: repeat(3, 150px);
}

.dopt {
  width: 140px;
  height: 35px;
  display: grid;
  border-radius: 10px;
  border: 1px solid #d7dfe5;
  align-self: center;
  margin: 3px;
}

.dopt a {
  width: 100%;
  display: grid;
  text-align: center;
  justify-self: center;
  align-self: center;
  text-decoration: none;
  font-size: 11pt;
  font-family: "Roboto";
  color: #000;
}

.dopn {
  width: 100%;
  display: grid;
}

.tanks {
  width: 100%;
  text-align: center;
  display: grid;
  justify-self: center;
  font-family: "Montserrat";
  color: #000000;
  font-weight: 800;
  font-size: 45px;
  line-height: 46px;
  margin-top: 150px;
  text-transform: uppercase;
}

.svyaztext {
  width: 100%;
  text-align: center;
  display: grid;
  justify-self: center;
  color: #545454;
  font-family: "Montserrat";
  font-weight: 400;
  font-size: 20px;
  line-height: 46px;
  margin-top: 24px;
  margin-bottom: 150px;
}

.resbutton {
  width: 220px;
  height: 40px;
  display: grid;
  border-radius: 10px;
  background-color: #3ea3b9;
  justify-self: center;
  align-self: center;
  margin: 40px auto;
}

.resbutton a {
  width: 100%;
  display: grid;
  text-align: center;
  color: #ffffff;
  justify-self: center;
  align-self: center;
  text-decoration: none;
  font-size: 14pt;
  font-family: "Roboto";
}

@media only screen and (min-device-width: 320px) and (max-device-width: 370px) {
  .amopopup {
    width: 98%;
    display: grid;
    left: 1%;
    top: 1%;
    padding: 30px;
  }

  .amoformlogo {
    width: 70px;
    left: 30px;
  }

  h2.h20 {
    font-size: 11pt;
  }

  h2.h21 {
    font-size: 8pt;
  }

  p.shag {
    font-size: 7pt;
    min-height: 0px;
    display: grid;
    margin-top: 20px;
    margin-left: 30px;
    justify-self: center;
  }

  img.imgbutnext {
    width: 40px;
    display: grid;
    justify-self: center;
    align-self: center;
  }

  .form1ob,
  .formsob2,
  .formsob3 {
    width: 90%;
    justify-self: center;
    text-align: left;
  }

  .zagob {
    margin-top: 40px;
  }

  .preduprezdenie,
  .preduprezdenie1 {
    width: 100%;
    height: 100px;
    grid-template-columns: 12% 88%;
  }

  .voskltext {
    font-size: 10pt;
  }

  .nameinput {
    font-size: 12pt;
  }

  .materialobv {
    margin-left: -15px;
    margin-top: -50px;
    grid-template-columns: repeat(2, 70px);
  }

  .materialobn {
    grid-template-columns: repeat(4, 70px);
    margin-left: 55px;
    margin-top: -22px;
  }

  .buttonmat,
  .buttonmat1 {
    width: 55px;
  }

  .buttonmat a,
  .buttonmatv a,
  .drap a,
  .drapa a,
  .drapb a,
  .buttonmat1 a {
    font-size: 9pt;
  }

  input.inpform {
    font-size: 11pt;
  }

  .tanks {
    font-size: 14pt;
  }

  .svyaztext {
    font-size: 10pt;
  }

  #amocalcmobileform {
    width: 100%;
    display: block;
    background-color: #87625e;
    padding: 7px 7px;
    border: 1px solid #87625e;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    margin-top: 10px;
    text-align: center;
  }
}

@media only screen and (orientation: landscape) and (min-device-width: 320px) and (max-device-width: 700px) {
  .amopopup {
    width: 60%;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1240px) {
  .amopopup {
    width: 60%;
    display: grid;
    left: 23%;
    top: 1%;
    padding: 30px;
  }

  .amoformlogo {
    width: 70px;
    left: 50px;
  }

  h2.h20 {
    width: 100%;
    display: grid;
    font-family: "Roboto";
    font-size: 14pt;
  }

  p.shag {
    font-size: 10pt;
  }

  .form1ob,
  .formsob2,
  .formsob3 {
    width: 90%;
    justify-self: center;
  }

  .zagob {
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .nameinput {
    font-size: 12pt;
  }

  input.inpform {
    font-size: 11pt;
  }
}

@media only screen and (orientation: landscape) and (min-device-width: 320px) and (max-device-width: 700px) {
}

.preduprezdenie,
.preduprezdenie1 {
  height: 100px;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 370px) {
  .preduprezdenie,
  .preduprezdenie1 {
    width: 100%;
    height: 70px;
    grid-template-columns: 15% 85%;
  }

  .buttonmat {
    width: 50px;
  }

  .buttonmat a,
  .drap a {
    font-size: 9pt;
  }

  .materialob {
    width: 100%;
  }

  .materialobn {
    grid-template-columns: repeat(4, 60px);
    margin-left: 40px;
  }

  .materialobv {
    margin-left: -27px;
    margin-top: -40px;
    grid-template-columns: repeat(2, 60px);
  }

  .button1 a {
    font-size: 9pt;
  }

  .bottom1 {
    grid-template-columns: 30% 30% 50%;
    margin-right: 0;
    margin-top: 40px;
  }

  .zagob {
    grid-template-columns: 70% 30%;
    margin-top: 40px !important;
  }

  p.shag {
    font-size: 7pt;
    min-height: 0px;
    display: grid;
    margin-top: 20px;
    margin-left: 30px;
  }

  .firstnum {
    color: #704949;
    width: 20px;
    font-weight: 800;
    display: grid;
  }
}

@media only screen and (min-device-width: 1680px) and (max-device-width: 2680px) {
  .materialobv {
    margin-left: -65px;
  }

  .materialobn {
    margin-left: 90px;
  }
}

@media (max-width: 767px) {
  .amoindiv {
    font-size: 14px;
    line-height: 23px;
    margin-bottom: 15px;
    width: 100%;
  }
}

.form1 input:focus-visible {
  outline: none;
}

.radio-label {
  width: 100px;
  cursor: pointer;
  text-align: center;
}

.radio-label input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.radio-img {
  width: 100px;
  height: 100px;
  border: 1px solid #111111;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radio-label input:checked + .radio-img {
  border-color: #3ea3b9;
  box-shadow: 0 0 10px 3px #3ea3b9;
}

.radio-text {
  font-size: 16px;
  line-height: 19px;
  display: block;
  margin-top: 8px;
}

.box__list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 39px;
  margin-top: 45px;
}

.amo-other {
  display: none;
}

@media only screen and (min-device-width: 300px) and (max-device-width: 768px) {
  .amopopup-close {
    width: 16px;
    height: 16px;
  }
  .amopopup-close svg {
    width: 16px;
    height: 16px;
  }
  .amopopup {
    width: 98%;
    display: grid;
    left: 1%;
    top: 1%;
    padding: 40px 15px;
  }

  .amoformlogo {
    width: 70px;
    left: 50px;
  }

  img.imggif {
    margin-top: 100%;
  }

  h2.h20 {
    font-size: 24px;
    line-height: 29px;
    margin: 0;
  }

  h2.h21 {
    font-size: 10pt;
  }

  p.shag {
    font-size: 9pt;
    min-height: 0px;
    display: grid;
    margin-top: 20px;
    margin-left: 0;
    justify-self: center;
  }

  .form1ob,
  .formsob2,
  .formsob3 {
    width: 100%;
    justify-self: center;
    text-align: left;
  }

  .voskltext {
    font-size: 10pt;
  }

  .preduprezdenie,
  .preduprezdenie1 {
    width: 100%;
    height: 50px;
    grid-template-columns: 12% 88%;
  }

  .nameinput {
    font-size: 20px;
    margin-top: 20px;
    line-height: 28px;
  }

  .nameinput span {
    font-size: 14px;
    line-height: 19px;
  }

  .box__list {
    margin-top: 10px;
    justify-content: center;
  }

  .materialobn {
    grid-template-columns: repeat(4, 70px);
    margin-left: 40px;
    margin-top: -23px;
  }

  .materialobv {
    grid-template-columns: repeat(2, 70px);
  }

  .materialobv {
    margin-left: -22px;
  }

  .buttonmat {
    width: 60px;
  }

  .bottom1 {
    margin-top: 40px;
    justify-content: center;
  }

  .buttonmat1 {
    width: 60px;
  }

  input.inpform {
    font-size: 11pt;
  }
}

@media (max-width: 500px) {
  .tanks {
    font-size: 30px;
    margin-top: 50px;
  }

  .svyaztext {
    margin-bottom: 50px;
    font-size: 15px;
  }
}
