

/* Start:/local/components/wbest/calculator.properties/templates/.default/style.css?177462325613563*/
#calc-form-overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: rgba(58, 63, 68, 0.7803921569);
  z-index: 9999;
  overflow-y: auto;
}
#calc-form-overlay .calc-form {
  overflow-y: auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--black_bg_black);
  border-radius: 5px;
  transition: opacity 0.3s;
  opacity: 1;
}
#calc-form-overlay .calc-form .hide-elem {
  opacity: 0;
}
#calc-form-overlay .calc-form .calc-form__body {
  padding: 20px 40px;
}
#calc-form-overlay .calc-form--small {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#calc-form-overlay .calc-form__header {
  background-color: var(--orange_bg_black);
  font-size: 13px;
  padding: 38px 40px 20px;
}
#calc-form-overlay .calc-form__header-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}
#calc-form-overlay .calc-form__input-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 15px;
}
#calc-form-overlay .calc-form__input-group {
  margin-bottom: 16px;
}
#calc-form-overlay .calc-form__input input {
  width: 100%;
  height: 48px;
  margin-top: 6px;
  padding: 8px 13px;
}
#calc-form-overlay #calc-form-email {
  width: 100%;
  max-width: 480px;
}
#calc-form-overlay #calc-form-request {
  width: 100%;
  max-width: 544px;
}
#calc-form-overlay .calc-form-close {
  position: absolute;
  top: 3px;
  right: 10px;
  width: 10px;
  height: 10px;
  cursor: pointer;
}
#calc-form-overlay .calc-form-close svg {
  width: 100%;
  height: 100%;
}

.custom-select {
  max-width: 100%;
  position: relative;
  font-size: 16px;
}
.custom-select [type=checkbox] {
  display: none;
}
.custom-select img {
  width: 35px;
  height: 35px;
}
.custom-select .trigger::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: url("/bitrix/templates/aspro_max/images/svg/trianglearrows.svg") 1px 1px no-repeat;
  background-position: var(--light, 1px 1px) var(--dark, -9px 1px);
  vertical-align: middle;
}
.custom-select--open .custom-select__header {
  border-radius: 4px 4px 0 0;
}
.custom-select--open .custom-select__arrow .icon {
  transform: rotate(180deg);
}
.custom-select--open .custom-select__body {
  transform: translateY(0px);
  opacity: 1;
  pointer-events: auto;
}
.custom-select__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 41px;
  padding-right: 11px;
  outline: none;
  border: 1px solid var(--stroke_black);
  border-radius: 4px;
  background: var(--light_bg_black);
  font-size: 13px;
  transition: background ease 0.3s;
  overflow: hidden;
  cursor: pointer;
}
.custom-select__body {
  position: absolute;
  z-index: 10;
  top: 95%;
  left: 0;
  right: 0;
  max-height: 185px;
  background: var(--light_bg_black);
  border: 1px solid var(--stroke_black);
  transform: translateY(-5px);
  opacity: 0;
  pointer-events: none;
  overflow: hidden auto;
  transition: transform ease 0.3s, opacity ease 0.3s;
  border-top: none;
  border-radius: 0 0 4px 4px;
  scrollbar-width: thin;
  scrollbar-color: transparent #6F6772;
}
.custom-select__body::-webkit-scrollbar {
  width: 4px;
}
.custom-select__body::-webkit-scrollbar-track {
  background: transparent;
}
.custom-select__body::-webkit-scrollbar-thumb {
  background-color: #6F6772;
  border-radius: 5px;
}
.custom-select__option {
  width: 100%;
  margin: 0;
  font-size: 13px;
  transition: background 0.3s ease;
  cursor: pointer;
}
.custom-select__option:hover {
  background: var(--card_bg_black);
}
.custom-select__option input {
  display: none;
}
.custom-select__selected {
  line-height: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}
.custom-select__selected input {
  display: none;
}
.custom-select__option, .custom-select__selected {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
  padding-left: 10px;
}
.custom-select__arrow {
  color: #B3B3B3;
  margin-left: 27px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.custom-select__arrow .icon {
  font-size: 22px !important;
  transition: transform ease 0.3s;
}
.custom-select__label {
  position: relative;
  flex: 1;
  line-height: 16px;
  transition: background ease 0.3s;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
}

.fence-calculator {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.fence-calculator__img {
  grid-column: span 5 / auto;
}
.fence-calculator__img img {
  width: 100%;
}
.fence-calculator__calculator {
  grid-column: span 7 / auto;
}
@media (max-width: 1280px) {
  .fence-calculator__img {
    display: none;
  }
  .fence-calculator__calculator {
    grid-column: span 12 / auto;
  }
}

.fence-calculator__title {
  font-weight: 600;
}
.fence-calculator__row:not(:first-child) {
  margin-top: 40px;
}
.fence-calculator__inputs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 15px;
}
.fence-calculator__elem-group {
  grid-column: span 2 / auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .fence-calculator__elem-group {
    grid-column: span 6 / auto;
  }
}
.fence-calculator__calc {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}
.fence-calculator__calc-text {
  max-width: 570px;
  font-size: 14px;
  margin: 10px 20px 10px 0;
}
.fence-calculator__elem-text {
  position: relative;
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 5px;
}
.fence-calculator__elem-text span {
  margin-right: 8px;
}
.fence-calculator__question {
  position: relative;
  top: 3px;
  border: 1px solid var(--basic_text_black);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  line-height: 16px;
  text-align: center;
  font-size: 11px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.fence-calculator__question-modal {
  position: absolute;
  top: 20px;
  right: -135px;
  z-index: 2;
  width: 183px;
  padding: 22px 12px 12px;
  font-size: 12px;
  background: var(--black_bg_black);
  border: 1px solid var(--stroke_black);
  box-shadow: -2px -1px 3px rgba(0, 0, 0, 0.1), 2px 1px 3px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
.fence-calculator .fence-input {
  width: 100%;
  height: 41px !important;
  padding: 10px 8px;
  background: var(--light_bg_black) !important;
}
.fence-calculator #fence-button-parameters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-width: 0;
  background: #7FA938;
  color: #fff;
  text-transform: initial;
  grid-column: span 4 / auto;
}
.fence-calculator #fence-button-parameters img {
  margin: 0;
  margin-bottom: 2px;
}
.fence-calculator #fence-button-parameters span {
  margin-right: 10px;
}
.fence-calculator .fence-button {
  flex: 0 0 144px;
  height: 45px;
}
@media (max-width: 600px) {
  .fence-calculator .fence-button {
    flex: 0 0 45px;
  }
  .fence-calculator__calc-text {
    margin: 15px 0 0 0;
  }
}
.fence-calculator .perimeterType__title {
  margin: 5px 0;
}
.fence-calculator .perimeterType__example {
  width: 161px;
  height: 33px;
  background-color: #F6F6F6;
  border: 3px dashed #000000;
}
.fence-calculator .perimeterType__example--top {
  border: unset;
  border-top: 3px dashed #000000;
}
.fence-calculator .calc-form {
  position: absolute;
  z-index: 999;
  width: 100%;
  max-width: 334px;
  background: var(--black_bg_black);
  border-radius: 5px;
  padding: 16px;
  transition: opacity 0.3s;
  box-shadow: -2px -1px 3px rgba(0, 0, 0, 0.1), 2px 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--stroke_black);
  opacity: 0;
  pointer-events: none;
}
.fence-calculator .calc-form.open-modal {
  opacity: 1;
  pointer-events: all;
}
.fence-calculator .calc-form--small {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fence-calculator .calc-form__header {
  font-size: 13px;
  padding-bottom: 20px;
}
.fence-calculator .calc-form__header-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.fence-calculator .calc-form__input-group {
  margin-bottom: 16px;
}
.fence-calculator .calc-form__input input {
  width: 100%;
  height: 48px;
  margin-top: 6px;
  padding: 8px 13px;
}

.calc-form-close {
  position: absolute;
  top: 3px;
  right: 10px;
  width: 10px;
  height: 10px;
  cursor: pointer;
}
.calc-form-close--question {
  top: 5px;
  right: 5px;
}
.calc-form-close svg {
  width: 100%;
  height: 100%;
}

.fence-select-img {
  padding-right: 10px;
}
.fence-select-img--small {
  height: 39px;
  padding: 1px 10px 1px 0;
}
.fence__select-material-inputs {
  grid-template-columns: repeat(12, 1fr);
}
.fence__select-material-inputs .input-group {
  grid-column: span 4 / auto;
}
@media (max-width: 768px) {
  .fence__select-material-inputs {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 870px) {
  .fence__select-material-inputs {
    grid-template-columns: 225px 225px;
    grid-gap: 20px;
  }
  .fence-calculator__modals {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
  }
  .fence-calculator {
    padding-bottom: 100px;
  }
  .fence-calculator__question-modal {
    left: -84px;
  }
  .fence-calculator__question-modal--left {
    left: -150px;
  }
}
@media screen and (max-width: 600px) {
  .fence-calculator__inputs {
    grid-template-columns: 1fr;
    grid-gap: 15px;
  }
  .fence__select-material-inputs {
    grid-template-columns: 225px;
  }
  .fence-calculator__modals {
    grid-column-start: auto;
    grid-column-end: auto;
    grid-row-start: auto;
    grid-row-end: auto;
  }
  .calc-form {
    max-width: 90vw;
  }
  .fence-calculator__calc {
    flex-direction: column-reverse;
  }
  .fence-calculator {
    padding-bottom: 80px;
  }
}
.input-group {
  width: 100%;
}

.fence-cost {
  max-width: 1280px;
}
.fence-cost__head {
  display: flex;
  justify-content: space-between;
}
.fence-cost__title {
  font-size: 18px;
  font-weight: 600;
}
.fence-cost__back {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.fence-cost__back-text {
  margin-right: 15px;
}
.fence-cost__back-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  background-color: #2F80ED;
  border-radius: 16px;
}
.fence-cost__back-icon img {
  margin-left: 3px;
}
.fence-cost__table {
  display: grid;
  grid-template-columns: 6fr 1fr 1fr 1fr 2fr;
  margin-top: 15px;
  border-top: 1px solid #D9D9D9;
  border-left: 1px solid #D9D9D9;
}
.fence-cost__cell {
  text-align: center;
  padding: 16px;
  border-right: 1px solid #D9D9D9;
  border-bottom: 1px solid #D9D9D9;
}
.fence-cost__cell:nth-child(5n+1) {
  text-align: left;
}
.fence-cost__cell--title {
  font-weight: 600;
  background: var(--grey_bg_black) !important;
}
.fence-cost__total {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
}
.fence-cost__text {
  max-width: 706px;
}
.fence-cost__summ {
  font-size: 20px;
}
.fence-cost__summ span {
  color: #2F80ED;
}
.fence-cost__buttons {
  display: flex;
  justify-content: flex-end;
}
.fence-cost__button {
  width: 48px;
  height: 48px;
  margin-right: 10px;
  border: 1px solid #DFDFDF;
  border-radius: 5px;
}
@media screen and (max-width: 1023px) {
  .fence-cost .fence-cost__total {
    flex-direction: column-reverse;
  }
  .fence-cost .fence-cost__text {
    margin-top: 15px;
  }
  .fence-cost .fence-cost__buttons button {
    margin-top: 15px;
  }
}
@media screen and (max-width: 767px) {
  .fence-cost .fence-cost__table-wrapper {
    padding-bottom: 10px;
    overflow-x: auto;
  }
  .fence-cost .fence-cost__table {
    width: 1280px;
  }
  .fence-cost .fence-cost__buttons {
    justify-content: flex-start;
  }
  .fence-cost .calc-form__input-row {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 550px) {
  .fence-cost .fence-cost__head {
    margin-top: 15px;
  }
  .fence-cost .calc-form:not(.calc-form--small) {
    height: 100vh;
  }
}
@media screen and (max-width: 500px) {
  .fence-cost .fence-cost__title {
    max-width: 150px;
  }
  .fence-cost .fence-cost__back-text {
    flex: 0 1;
  }
  .fence-cost .fence-cost__buttons {
    flex-wrap: wrap;
  }
}

.no-click {
  pointer-events: none;
}
.common_select-link {
  overflow: hidden;
  text-overflow: ellipsis;
}
.no-click .custom-select__header, .no-click .common_select-link {
  background: var(--grey-black, #999) !important;
}

.open-modal {
  opacity: 1;
  pointer-events: all;
}

body {
  --grey-black: var(--light, #999) var(--dark, #121212);
}

.region_wrapper {
  font-size: 15px !important;
}

.auth_wr_inner .name {
  font-size: 12px !important;
}

.hide-elem {
  visibility: hidden;
  opacity: 0;
}
/* End */
/* /local/components/wbest/calculator.properties/templates/.default/style.css?177462325613563 */
