/**
* Place your webforms styles here.

MAIN
ADAPTIVE

*/


/* MAIN */
.ui-widget.ui-widget-content {
  max-width: 90vw;
}

.webform-freesize,
.webform-callback {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
}

.webform-freesize form,
.webform-callback form {
  width: fit-content;
  background-color: #fff;
  border: none;
  padding: 45px 32px 43px;
  border-radius: 5px;
}

.webform-freesize form input,
.webform-callback form input {
  max-width: 266px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  outline: 0;
  border: none;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  padding: 10px 19px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  color: #333;
  font-family: inherit;
}

.webform-freesize-title-text {
  max-width: 306px;
  text-align: center;
  margin-bottom: 1em;
}

.webform-freesize-title-text p {
  max-width: 306px;
  text-align: center;
  font-size: 17px;
  color: #033;
  margin-bottom: 20px;
  font-family: pnr;
  padding: 0;
  margin: 0;
  line-height: normal;
}

.webform-freesize-title-text strong {
  font-size: 26px;
  color: #033;
  font-weight: bold;
  line-height: 28px;
  display: block;
  margin-bottom: 15px;
  font-family: pnsb;
}

.webform-freesize-phone {

}

.webform-freesize-policy {
  max-width: 306px;
  display: grid;
  grid-template-columns: 20px auto;
  column-gap: 5px;
  align-items: center;
}

.webform-freesize-policy input {
  grid-row: 1;
  grid-column: 1;
}

.webform-freesize-policy label {
  grid-row: 1;
  grid-column: 2;
  line-height: normal;
  font-size: 13px;
}

.webform-freesize-policy label a {
  color: #0188cc;
}

.webform-freesize-metka {
  display: none;
}

.webform-freesize-button {

}

.webform-callback-close,
.webform-freesize-close {
  position: absolute;
  top: 0px;
  right: 5px;
  border: none;
  background: none;
  font-size: 30px;
}




/* CALCULATE */
.front-first-screen__calculate {
  background-color: #2d343c;
  color: #fff;
  padding: 20px 30px;
  max-width: 310px;
  margin-left: auto;
  margin-right: auto;
}

.front-first-screen__calculate input {
  border-width: 1px;
  border-color: #d1d1d1;
  border-style: solid;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background-color: #fff;
  height: 41px;
  font-size: 18px;
  color: #033;
  text-align: center;
  font-family: pnsb;
}

.webform-freesize-button input {
  border: none;
}

.webform-calculation-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 10px;
  padding: 22px 31px 15px;
  font-family: pnb;
  text-transform: uppercase;
  text-align: center;
}

.webform-calculation-m2 {
  display: grid;
  grid-template-columns: 65% 35%;
  margin-bottom: 15px;
  align-items: center;
}

.webform-calculation-price {
  display: grid;
  grid-template-columns: 65% 35%;
  margin-bottom: 15px;
  align-items: center;
}

.webform-calculation-phone {
  display: grid;
  grid-template-columns: 40% 60%;
  margin-bottom: 15px;
  align-items: center;
}

.webform-calculation-policy {
  display: grid;
  grid-template-columns: 25px auto;
  column-gap: 15px;
  line-height: normal;
  margin-bottom: 15px;
  align-items: center;
}

.webform-calculation-policy label {
  grid-column: 2;
  grid-row: 1;
  font-size: 15px;
}

.webform-calculation-policy input {
  grid-column: 1;
  grid-row: 1;
}

.webform-calculation-description {
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  margin-bottom: 5px;
}










/* ADAPTIVE */
@media (min-width: 1920px) {
}

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

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

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

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

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

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

@media (max-width: 1280px) {

}

@media (max-width: 1150px) {

}

@media (max-width: 1024px) {

}

@media (max-width: 991px) {

}

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

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

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

@media (max-width: 480px) {
  .front-first-screen__calculate {
    max-width: 250px;
  }
  .front-first-screen__calculate .page-buttons {
    max-width: 250px;
  }
  .webform-calculation-m2,
  .webform-calculation-price,
  .webform-calculation-phone {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
  }
  .webform-calculation-m2 input,
  .webform-calculation-price input,
  .webform-calculation-phone input {
    width: 100%;
  }
  .webform-calculation-title {
    padding-left: 0;
    padding-right: 0;
  }
  .webform-calculation-description {
    font-size: 14px;
    line-height: normal;
  }
}

@media (max-width: 450px) {
  .webform-freesize form,
  .webform-callback form {
    padding: 20px 15px;
  }
  .webform-freesize-title-text {
    max-width: 232px;
  }
  .webform-freesize form input,
  .webform-callback form input {
    max-width: 200px;
    font-size: 16px;
    padding: 7px 15px;
  }
  .webform-freesize-policy {
    max-width: 200px;
  }
  .webform-freesize-button {
    width: 100%!important;
  }
  .webform-freesize-title-text strong {
    font-size: 20px;
  }
  .webform-freesize-title-text p {
    max-width: 100%;
    font-size: 14px;
  }
}

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