* {
  box-sizing: border-box;
}
p {
  margin: 0;
}
.select-image .next,
.select-image .prev,
#calculator-2 .label,
.preliminary-cost.mob {
  display: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
#calculator-2 {
  color: #454545;
  font-size: 17px;
  margin-top: 20px;
}

#calculator-2 label {
  display: block;
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 19px;
  color: #484848;
  font-family: "Gilroy-Medium";
}
/* input text*/
#calculator-2 input[type="number"] {
  width: 76px; /*width: 96px;*/
}
#calculator-2 input[type="number"],
#calculator-2 input[type="text"],
#calculator-2 input[type="email"] {
  color: #454545;
  font-size: 24px;
  height: 36px;
  padding-left: 20px;
  width: 153px;
  font-size: 14px;
  line-height: 17px;
  background: rgba(234, 234, 234, 0.5);
  border-radius: 61px;
  border: none;
}

/* input checkbox */
#calculator-2 input[type="checkbox"] {
  display: none;
  height: auto;
  opacity: 0;
  width: auto;
}
.block .checkbox label {
  cursor: pointer;
  position: relative;
  display: inline-block;
  padding-left: 65px;
}
.block .checkbox label::before,
.block .checkbox label::after {
  position: absolute;
  content: "";
  display: inline-block;
  top: -3px;
}
.block .checkbox label::before {
  width: 46px;
  height: 25px;
  box-shadow: inset 0px 4px 8px rgba(0, 0, 0, 0.09);
  border-radius: 34px;
  background: #eaeaea;
  left: 0;
  content: "";
  transition: ease-in-out 0.25s;
  -webkit-transition: ease-in-out 0.25s;
  -moz-transition: ease-in-out 0.25s;
  -ms-transition: ease-in-out 0.25s;
  -o-transition: ease-in-out 0.25s;
}
.block .checkbox label::after {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  background: #fff;
  content: "";
  z-index: 10;
  left: 0;
  top: -6px;
  box-shadow: 0px 4px 4px rgba(130, 130, 130, 0.2);
  transition: ease-in-out 0.25s;
  -webkit-transition: ease-in-out 0.25s;
  -moz-transition: ease-in-out 0.25s;
  -ms-transition: ease-in-out 0.25s;
  -o-transition: ease-in-out 0.25s;
}
.block .checkbox input[type="checkbox"]:checked + label::after {
  left: 20px;
}
.block .checkbox input[type="checkbox"]:checked + label::before {
  background: #45a6ff;
}
/* input select */

#calculator-2 .building-dimensions .suffix {
  color: #45a6ff;
  font-size: 14px;
  line-height: 17px;
  opacity: 0.9;
  text-transform: uppercase;
  font-family: "ProximaNova-Bold";
  margin-left: 4px;
}
.main-info-object {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: space-between;
}

.building-dimensions {
  max-width: 711px;
  width: 100%;
  border: 4px solid #efefef;
  padding: 26px 36px;
}
.building-dimensions > h3 {
  font-size: 25px;
  line-height: 30px;
  color: #484848;
  font-family: "Gilroy-Bold";
  margin: 0;
}
.building-dimensions .block-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 33px;
}
.building-dimensions .block-content > div {
  margin-right: 34px;
}
#calculator-2 .area-block {
  margin-top: 38px;
}
#calculator-2 .area-block label {
  display: inline-block;
  font-size: 18px;
  line-height: 22px;
  color: #484848;
  font-family: "Gilroy-Bold";
}
#calculator-2 .area-block .area-region {
  font-size: 18px;
  line-height: 22px;
  color: #484848;
  font-family: "Gilroy-Medium";
}
.preliminary-cost {
  text-align: center;
  max-width: 709px;
  width: 100%;
  border: 4px solid #45a6ff;
  padding: 56px 0;
}
#calculator-2 .preliminary-cost h2 {
  color: #767676;
  font-size: 25px;
  line-height: 30px;
  text-transform: uppercase;
  font-family: "Gilroy-Semibold";
  margin: 0;
}
.preliminary-cost .block-content {
  font-size: 48px;
  line-height: 58px;
  color: #45a6ff;
  font-family: "Gilroy-Bold";
  margin-bottom: 21px;
}
.preliminary-cost .block-content .suffix {
  font-size: 21px;
  line-height: 21px;
  text-transform: uppercase;
  display: inline-block;
}
.construction-material {
  display: flex;
  justify-content: space-between;
  margin-top: 23px;
}
.metal-structures {
  max-width: 346px;
  width: 100%;
  border: 4px solid #efefef;
  padding: 26px 27px;
}
.metal-structures .block-content {
  margin: 0;
}
.metal-structures h3 {
  font-size: 25px;
  line-height: 30px;
  color: #484848;
  font-family: "Gilroy-Bold";
  margin-bottom: 24px;
  min-height: 60px;
}
#calculator-2 .metal-structures .block-content label {
  margin-bottom: 24px;
}
.metal-structures .select {
  margin-top: 26px;
  font-size: 16px;
  line-height: 19px;
  color: #484848;
  font-family: "Gilroy-Medium";
}
.metal-structures .select select {
  width: 63px;
  height: 40px;
  background: #f8f8f8;
  border: 2px solid #eeeeee;
  padding-left: 10px;
  margin-left: 10px;
}
#calculator-2 .metal-structures .checkbox label {
  margin-bottom: 0;
}
.foundation {
  max-width: 346px;
  width: 100%;
  border: 4px solid #efefef;
  padding: 25px 26px;
}
.foundation h3 {
  font-size: 25px;
  line-height: 30px;
  color: #484848;
  font-family: "Gilroy-Bold";
  margin-bottom: 24px;
  min-height: 60px;
}
.foundation .checkbox {
  margin-top: 88px;
}
.foundation .material {
  position: unset;
}
#calculator-2 .foundation .block-content label {
  margin-bottom: 24px;
}
#calculator-2 .foundation .checkbox label {
  margin-bottom: 0;
}
.row-6 {
  width: 100%;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.construction-fence {
  max-width: 711px;
  width: 100%;
  border: 4px solid #efefef;
  padding: 26px 25px;
}
.construction-fence > div {
  display: flex;
  justify-content: space-between;
}
.construction-fence h3 {
  font-size: 25px;
  line-height: 30px;
  color: #484848;
  font-family: "Gilroy-Bold";
  margin-bottom: 24px;
  max-width: 181px;
}
.construction-fence .select {
  margin-top: 26px;
  font-size: 16px;
  line-height: 19px;
  color: #484848;
  font-family: "Gilroy-Medium";
}
.construction-fence .select select {
  width: 77px;
  height: 40px;
  background: #f8f8f8;
  border: 2px solid #eeeeee;
  padding-left: 10px;
  margin-left: 10px;
}
#calculator-2 .construction-fence .block-content label {
  margin-bottom: 24px;
}
/* 

















 */
#calculator-2 .construction-material .checkbox label {
  margin-bottom: 0;
}
.construction-material .foundation .checkbox {
  margin-top: 88px;
}
.construction-material .metal-structures .checkbox {
  margin-top: 30px;
}
.construction-material .construction-fence .checkbox {
  margin-top: 30px;
}
.material .image {
  border: 2px solid #cccccc;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 250px;
  position: relative;
  width: 273px;
  /* margin: 0 auto; */
  /* margin-bottom: 10px; */
}
.material .image img {
  max-height: 115px;
  width: auto;
}
#calculator-2 .select-image .image {
  cursor: pointer;
  transition: ease-in-out 0.25s;
  -webkit-transition: ease-in-out 0.25s;
  -moz-transition: ease-in-out 0.25s;
  -ms-transition: ease-in-out 0.25s;
  -o-transition: ease-in-out 0.25s;
}
#calculator-2 .click {
  display: none;
  font-size: 14px;
  color: #6790ca;
  position: absolute;
  bottom: 9px;
}
.material-name {
  position: absolute;
  top: 6px;
  color: #45a6ff;
  font-family: "Gilroy-Medium";
  font-size: 16px;
  line-height: 19px;
}
.material-block {
  display: none;
}
.block h3 {
}
.construction-material .block-content {
  display: block;
}

/* select material block */
.material {
  position: relative;
}
.material-block {
  background-color: #f9f9f9;
  border: solid 1px #dddddd;
  -webkit-box-shadow: 10.6px 10.6px 15px 0 rgba(130, 130, 130, 0.3);
  box-shadow: 10.6px 10.6px 15px 0 rgba(130, 130, 130, 0.3);
  margin-top: 2px;
  padding: 7px;
  position: absolute;
  z-index: 11;
}
.material-block .image {
  margin-right: 15px;
}
.material .row-6 .image {
  margin-right: 0;
  margin-bottom: 10px;
}
.material-block .image:last-of-type {
  margin-right: 0;
}
.material-block.last {
  right: 0;
}
.wall_railing_value {
  right: 0;
}
.type_foundation_value {
  left: 0;
}
.material-block .image {
  background: #ffffff;
  cursor: pointer;
}
/*.material-block .image:hover {*/
#calculator-2 .image:hover {
  border: solid 2px #45a6ff;
}
.material-block .image span {
  margin-top: 20px;
}

/* additional-information */
.additional-information {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border: 4px solid #efefef;
  padding: 40px 35px;
  margin-top: 24px;
  justify-content: space-between;
  align-items: center;
}

.additional-information h3 {
  font-size: 25px;
  line-height: 30px;
  color: #484848;
  font-family: "Gilroy-Bold";
}
.additional-information .leftBlock .check {
  display: flex;
  margin-top: 28px;
}
.additional-information .leftBlock .check .checkbox {
  margin-right: 48px;
}
.additional-information .leftBlock .check .checkbox:last-of-type {
  margin-right: 0;
}
#calculator-2 .additional-information label {
  margin-bottom: 0;
}
#calculator-2 .additional-information h3 {
  margin: 0;
}
.additional-information .checkbox label {
  cursor: pointer;
  position: relative;
  display: inline-block;
  padding-left: 30px;
}
.additional-information .checkbox label::before {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  box-shadow: inset 0px 4px 8px rgba(0, 0, 0, 0.09);
  background: #fff;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
}
.additional-information .checkbox label::after {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  background: transparent;
  position: absolute;
  content: "";
  top: 5px;
  left: 5px;
}

.additional-information
  .checkbox
  input[type="checkbox"]:checked
  + label::after {
  background: #45a6ff;
}

/* calculator-mail */
form.calculator-mail2 > div:first-child {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
form.calculator-mail2 .blocksform {
  margin-bottom: 0px;
  margin-right: 22px;
  width: auto;
}
form.calculator-mail2 input {
  height: 25px;
  width: 225px;
}
form.calculator-mail2 .backf {
  display: none;
  margin-right: 30px;
}
form.calculator-mail2 .lb {
  display: block;
  margin-top: 20px;
}

.message-error-mail,
.message-error {
  margin-bottom: 10px;
  color: red;
}

.calculator-mail2 {
  background: #ffffff;
  border: solid 1px #dddddd;
  padding: 28px;
}
#calculator-2 .calculator-mail2 input[type="text"],
#calculator-2 .calculator-mail2 input[type="email"] {
  font-size: 17px;
  width: 224px;
}
.calculator-mail2 > div {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /*justify-content: space-around;*/
}
.calculator-mail2 .blocksform {
  margin-bottom: 0;
}
.calculator-mail2 .blocksform > label {
    margin-bottom: 10px !important;
}
#calculator-2 .calculator-mail2 div > .checkbox label {
  margin: 0;
}
#calculator-2 .calculator-mail2 div > .checkbox {
  margin-top: 35px;
}
.calculator-mail2 .privacy-policy,
.calculator-mail2 .calculate-b {
  display: block;
  margin: 15px 0 0 10px;
}
.calculator-mail2 > p {
    font-size: 14px;
    line-height: 1.2;
    margin: 15px 0;
}

.calculator-mail2 .privacy-policy {
  font-size: 16px;
}
.calculate-buttom-mail2 {
    display: block;
    width: 100%;
    background: #45a6ff;
    box-shadow: 0 5px 20px 0px rgb(69 166 255 / 20%);
    border: 1px solid #45a6ff;
    border-radius: 42px;
    font-size: 17px;
    line-height: 22px;
    color: #fff;
    font-family: "Gilroy-Semibold";
    padding: 10px;
    text-align: center;
}

.message-success {
  color: #009e73;
  margin-bottom: 10px;
}

.notation {
  margin-top: 20px;
  margin-bottom:20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.notation .leftBlock {
  max-width: 678px;
}
.notation .leftBlock p {
  font-size: 16px;
  line-height: 19px;
  color: #484848;
  font-family: "Gilroy-Medium";
  margin-bottom: 20px;
}
.notation .leftBlock p span {
  font-family: "Gilroy-Bold";
}
.notation .leftBlock p:last-of-type {
  margin-bottom: 0;
}
.notation .rightBlock {
  max-width: 680px;
}
.notation .rightBlock p {
  font-size: 16px;
  line-height: 19px;
  color: #484848;
}

/* media */
@media (max-width: 1440px) {
  .main-info-object {
    flex-direction: column-reverse;
  }
  .building-dimensions {
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .preliminary-cost {
    max-width: none;
  }
  .construction-material {
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .construction-fence {
    margin-top: 23px;
  }
  .notation {
    flex-direction: column;
  }
  .notation .leftBlock {
    max-width: none;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
  }
  .notation .rightBlock {
    max-width: none;
  }
}
@media (max-width: 1120px) {
  .additional-information {
    flex-direction: column;
    align-items: flex-start;
  }
  .additional-information .payment {
    margin-top: 25px;
  }
}

@media (max-width: 800px) {
  .select-image .next,
  .select-image .prev,
  #calculator-2 .label,
  .preliminary-cost.mob {
    display: block;
  }
  .material .image {
    height: auto;
  }
  .material-block {
    display: none !important;
  }

  #calculator-2 {
    font-size: 16px;
  }

  #calculator-2 select {
    width: 77px;
    height: 40px;
  }

  .construction-material .block-content,
  .block.construction-fence .block-content:nth-child(2) {
    width: 100%;
  }

  .material {
    position: relative;
    width: 237px;
  }
  .select-image {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .select-image .next,
  .select-image .prev {
    background: #f9f9f9;
    height: 180px;
    position: relative;
    width: 28px;
  }
  .select-image .next {
    border-bottom: solid 1px #dddddd;
    border-right: solid 1px #dddddd;
    border-top: solid 1px #dddddd;
  }
  .select-image .prev {
    border-bottom: solid 1px #dddddd;
    border-left: solid 1px #dddddd;
    border-top: solid 1px #dddddd;
  }

  .main-info-object {
    margin-right: 0;
  }
  #calculator-2 h2 {
    font-size: 18px;
    margin: 17px 0 11px 0;
  }
  #calculator-2 h3,
  #calculator-2 .additional-information h3 {
    font-size: 18px;
    margin: 13px 0 8px;
    padding: 0;
  }
  #calculator-2 label {
    font-size: 16px;
    margin-bottom: 7px;
  }
  /* #calculator-2 .select {
    margin: 14px auto 0;
    width: 150px;
  } */
  #calculator-2 input[type="number"] {
    width: 65px;
  }
  #calculator-2 .suffix {
    font-size: 16px;
  }
  .preliminary-cost,
  #calculator-2 .select-image .image .click {
    display: none;
  }
  .building-dimensions {
    align-items: flex-start;
  }
  .building-dimensions .block-content {
    /* -webkit-box-orient: inherit;
    -webkit-box-direction: inherit;
    -ms-flex-direction: inherit;
    flex-direction: inherit;
    margin: 0;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between; */
  }
  .building-dimensions .block-content > div {
    /* margin-right: 0; */
    margin-bottom: 15px;
  }
  .building-dimensions .block-content > div:last-of-type {
    margin-bottom: 0;
  }
  #calculator-2 .area-block {
    margin: 0;
    margin-top: 42px;
  }
  .main-info-object > div {
    -webkit-box-flex: unset;
    -ms-flex: unset;
    flex: unset;
    width: 100%;
  }
  /* .construction-material {
    grid-row-gap: 5px;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    margin: 5px 5px 0;
  } */

  /* .block.construction-fence > div {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  } */

  .additional-information {
    background: #ffffff;
    border: solid 1px #dddddd;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 5px 0px;
    padding-bottom: 10px;
    padding-top: 10px;
  }
  .additional-information .checkbox {
    display: block;
    margin: 10px 0;
    width: 100%;
  }

  .calculator-mail2 > div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .material-name {
  }

  /* arrow */
  #calculator-2 i {
    border: solid #888888;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 5px;
    width: 0;
    position: absolute;
    top: 50%;
  }
  #calculator-2 .right {
    right: 50%;
    margin: 0 -2px -4px 0;
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }

  #calculator-2 .left {
    left: 50%;
    margin: -2px 0 0 -4px;
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
  }

  /* Checkbox*/
  .construction-material .foundation .checkbox {
    margin-top: 100px;
  }
  #calculator-2 .calc .checkbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    /* align-items: center; */
    /* width: 300px;
    margin: 12px auto; */
  }
  #calculator-2 .calc .block .checkbox label {
    font-size: 16px;
    padding: 0;
    text-indent: -9999px;
    width: 56px;
  }
  #calculator-2 .calc .block .checkbox label::before {
    background: #dddddd;
    border: none;
    margin-top: 0;
    position: absolute;
    content: "";
    width: 46px;
    height: 25px;
    top: 0;
    left: 0;
    -webkit-transition: 250ms ease-in-out;
    -o-transition: 250ms ease-in-out;
    transition: 250ms ease-in-out;
  }
  #calculator-2 .calc .block .checkbox label::after {
    border: solid 1px #dddddd;
    background-color: #ffffff;
    position: absolute;
    content: "";
    width: 29px;
    height: 29px;
    top: -3px;
    left: 0;
    -webkit-transition: 250ms ease-in-out;
    -o-transition: 250ms ease-in-out;
    transition: 250ms ease-in-out;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }

  #calculator-2 .calc .block .checkbox input:checked + label::before {
    background: #45a6ff;
  }

  #calculator-2 .calc .block .checkbox input:checked + label::after {
    left: 20px;
  }

  /**/
  .preliminary-cost.mob {
    background: #ffffff;
    border: solid 1px #dddddd;
    margin: 5px auto;
  }
  .preliminary-cost.mob .block-content {
    -webkit-box-orient: inherit;
    -webkit-box-direction: inherit;
    -ms-flex-direction: inherit;
    flex-direction: inherit;
    font-size: 20px;
    height: 41px;
    margin-bottom: 16px;
    width: 269px;
  }

  /* send form*/
  .calculator-mail2 {
    padding-top: 0;
  }
  form.calculator-mail2 .blocksform {
    margin-right: 0;
    width: 100%;
  }
  #calculator-2 .calculator-mail2 label {
    text-align: left;
  }
  #calculator-2 .calculator-mail2 input[type="text"],
  #calculator-2 .calculator-mail2 input[type="email"] {
    width: 100%;
  }

  .construction-material .metal-structures .checkbox {
    margin-top: 40px;
  }
  #calculator-2 .additional-information .leftBlock .check {
    flex-direction: column;
    justify-content: flex-end;
  }
  #calculator-2 .additional-information .leftBlock .check .checkbox {
    flex-direction: row-reverse;
    margin-right: 0;
    justify-content: flex-end;
  }
  #calculator-2 .additional-information .leftBlock .check .checkbox label {
    font-size: 16px;
    padding: 0;
    text-indent: -9999px;
    width: 20px;
    margin-right: 10px;
  }
  #calculator-2
    .additional-information
    .leftBlock
    .check
    .checkbox
    label::after {
    width: 10px;
    height: 10px;
  }
  #calculator-2
    .additional-information
    .leftBlock
    .check
    .checkbox
    label::before {
    width: 20px;
    height: 20px;
  }
  #calculator-2
    .additional-information
    .leftBlock
    .check
    .checkbox
    + label::before {
    background: transparent;
  }
  .preliminary-cost.mob {
    flex-direction: column-reverse;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .preliminary-cost.mob .calc-price {
    font-size: 48px;
    line-height: 58px;
    color: #45a6ff;
    font-family: "Gilroy-Bold";
    text-transform: uppercase;
  }
  .notation .leftBlock {
    text-align: left;
  }
  #calculator-2 .label {
    font-family: "Gilroy-Medium";
  }
}
@media (max-width: 620px) {
  .construction-fence > div {
    flex-direction: column;
  }
  .construction-fence .block-content {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
  }
  .construction-fence .block-content:last-of-type {
    margin-bottom: 0;
  }
  .construction-material .construction-fence .checkbox {
    flex-direction: row;
  }
  .building-dimensions .block-content {
    flex-direction: column;
  }
  .construction-material .foundation .checkbox {
    margin-top: 50px;
  }
}
@media (max-width: 425px) {
  .additional-information .payment {
    width: 100%;
  }
  #calculator-2 .construction-fence .select select {
    width: 55px;
    margin-left: 0;
    padding-left: 0;
  }
  #calculator-2 .metal-structures .select select {
    width: 55px;
    margin-left: 0;
    padding-left: 0;
  }
  .building-dimensions {
    padding: 26px 15px;
  }
}
