.calculator {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  height: 100%;
  margin: 0;
  /* background: #f8f8f8; */
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}
form {
  margin: 0 !important;
}
.calc-container {
  width: 1120px;
  /* min-width: 1120px; */
  display: flex;
  flex-direction: row;
  min-height: 700px;
  max-height: 700px;
  border-radius: 4px;
  background: #fff;
  /* border: 5px solid #e6e6e6; */
  box-shadow: 0 0 15px 8px rgba(0, 0, 0, 0.1);
}
.type-grid {
  display: none;
}
.calc-steps-container {
  flex: 15 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.calc-steps {
  height: 80%;
  overflow: auto;
  padding: 0 24px;
  flex-grow: 0;
}
.calc-sidebar-container {
  flex: 5 1;
  box-sizing: border-box;
  padding: 24px 24px 24px 24px;
  background: #f7f7f7;
  position: relative;
}
.calc-sidebar-container .recept-container {
  position: absolute;
  bottom: 94px;
  right: 24px;
  left: 24px;
}
.calc-steps-header {
  display: flex;
  flex: 0 0 auto;
  padding: 24px 24px 0;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}
.calc-steps-header .svg-header {
  width: 20px;
  height: 20px;
  fill: #ffd311;
  margin-right: 10px;
}
.step {
  max-width: 100%;
  display: none;
}
.step.active {
  display: flex;
}
.step .calc-form-fields {
}
.title-calc {
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  font-size: 16px;
  color: #212121 !important;
}
.calc-title {
  font-size: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  color: #999;
  line-height: 1.4;
  margin-bottom: 16px;
  margin-top: 0;
}
.title-separator {
  margin: 0 0 0 -24px;
  border: none;
  height: 1px;
  background: #f3f3f3;
  flex-grow: 0;
}
.calc-two-questions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.calc-question {
  flex: 0 1 47%;
}
.error-height {
  margin-top: -8px;
  color: #999;
  font-size: 14px;
  font-weight: 400 !important;
}
.price-conf {
  white-space: nowrap;
}
.calc-title-question {
  color: #212121;
  font-size: 24px;
  padding: 24px 0 12px 4px !important;
  font-weight: 500;
}
.dropdown {
  box-sizing: border-box;
}
.dropdown input.search {
  font-size: 16px;
  box-sizing: border-box;
}
.dropdown .menu {
  box-sizing: border-box;
}
.step .calc-form-fields .calc-form-radio,
.step .calc-form-fields .calc-form-checkbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.step label {
  padding: 0.8rem 2rem 0.8rem 1rem;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex: 0 1 49%;
  align-items: center;
  border-radius: 5px;
  border: solid 1px rgba(217, 216, 230, 0.55);
  margin-bottom: 16px;
  cursor: pointer;
  color: #212121 !important;
}
.step label.active {
  border: solid 1px #ffd311;
}

.step label.label-grid-6 {
  flex: 0 1 49%;
}
.step label.label-grid-12 {
  flex: 0 1 100%;
}
.step label:hover {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
.step label img {
  width: 100%;
}
input {
  outline: 0;
}
.calculator input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  font-size: 1.5rem;
  border-color: #dbdbdb;
  padding-bottom: calc(0.375em - 1px);
  padding-left: calc(0.625em - 1px);
  padding-right: calc(0.625em - 1px);
  padding-top: calc(0.375em - 1px);
  border: solid 1.2px var(--color-bg-3, #b1b5be);
  color: var(--color-bg-text, #363636) !important;
  background: none;
  background-color: var(--color-bg-1, #f7f7f7) !important;
  box-shadow: none;
  height: 2.65em;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.calc-form-radio .label-radio-image,
.form-check-image {
  flex-wrap: wrap;
  position: relative;
}
.calc-form-checkbox {
  display: flex;
}
.calc-form-checkbox .form-check-label,
.calc-form-radio .form-radio-label {
  position: relative;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.checkmark {
  position: relative;
  height: 20px;
  width: 20px;
  background-color: #e8e8e8;
  box-sizing: border-box;
}
.form-radio-label .checkmark {
  border-radius: 50%;
}
.form-check-label .checkmark {
  border-radius: 4px;
  box-sizing: border-box;
}
.calc-form-radio .label-radio-image .checkmark {
  border-radius: 50%;
}
.calc-form-radio .label-radio-image input,
.form-check-image input {
  display: none;
}
.calc-form-radio .label-radio-image input ~ .checkmark {
  display: none;
  position: absolute;
  right: 12px !important;
  top: 12px !important;
  border-radius: 50% !important;
  width: 24px !important;
  height: 24px !important;
  background-color: hsla(0, 0%, 100%, 0.5) !important;
  -webkit-box-shadow: 0.6px 1.9px 6px 0 var(--color-alpha2) !important;
  box-shadow: 0.6px 1.9px 6px 0 var(--color-alpha2) !important;
  border: 2px solid var(--color) !important;
}
.calc-form-radio .label-radio-image input ~ .checkmark:after {
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffd311;
}
.calc-form-radio .label-radio-image input:checked ~ .checkmark,
.form-check-image input:checked ~ .checkmark {
  display: flex;
  border: 3px solid #ffd311 !important;
  box-shadow: 0 2px 6px 0 var(--color-alpha) !important;
}

.form-check-image input ~ .checkmark {
  display: none;
  background-color: #ffd311;
  border: 2px solid #ffd311;
  position: absolute;
  right: 12px !important;
  top: 12px !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 4px;
}
.form-check-image input:checked ~ .checkmark {
  display: flex;
  border: 3px solid #ffd311 !important;
  box-shadow: 0 2px 6px 0 var(--color-alpha) !important;
}
.form-check-image .checkmark:after {
  top: 1px;
  left: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  box-sizing: content-box;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.calc-form-checkbox .form-check-label input,
.form-radio-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.calc-form-checkbox .form-check-label input:disabled ~ .checkmark,
.form-radio-label input:disabled ~ .checkmark,
.calc-form-checkbox .form-check-label input:disabled ~ .title-label,
.form-radio-label input:disabled ~ .title-label {
  opacity: 0.5;
}
.calc-form-checkbox .form-check-label:hover input:disabled ~ .checkmark,
.form-radio-label:hover input:disabled ~ .checkmark {
  background-color: #e8e8e8;
}
.form-check-label:hover input ~ .checkmark,
.form-radio-label:hover input ~ .checkmark {
  background-color: #ccc;
}
.form-check-label input:checked ~ .checkmark {
  background-color: #ffd311;
  border: 2px solid #ffd311;
}
.form-radio-label input:checked ~ .checkmark {
  background-color: #fff;
  border: 2px solid #ffd311;
}
.form-check-label input:checked ~ .checkmark:after,
.form-radio-label input:checked ~ .checkmark:after,
.label-radio-image input:checked ~ .checkmark:after,
.form-check-image input:checked ~ .checkmark:after {
  display: block;
}
.form-check-label .checkmark:after {
  left: 4px;
  top: 1px;
  width: 5px;
  height: 8px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  box-sizing: content-box;
}
.form-radio-label .checkmark:after {
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffd311;
}
.calc-form-checkbox .form-check-label .title-label,
.calc-form-radio .form-radio-label .title-label {
  flex: 1 0;
  padding-left: 1rem;
  font-weight: 500;
  line-height: 1.2;
}
.label-text {
  flex: 1 0;
}
.label-text .description-type {
  padding-left: 1rem;
  color: #888;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 2px;
}
.calc-steps-footer {
  padding: 0 24px 24px;
  box-shadow: 0 -2px 3px rgba(0, 0, 0, 0.075);
}
.controls .button {
  font-size: 16px !important;
  height: 42px;
  z-index: 100;
  padding: 0 16px 0 22px;
  font-weight: 500;
  overflow: hidden;
  min-height: 42px;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  border-radius: 24px;
  border: none;
  line-height: 1.3rem;
  display: flex !important;
  align-items: center;
  cursor: pointer;
  outline: none;
  color: #000 !important;
  justify-content: center;
}
.controls .price-configuration {
  display: none !important;
}
.controls .button:hover {
  opacity: 0.8;
}
.controls .button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.controls {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.controls svg {
  width: 20px;
  height: 14px;
  fill: #000;
}
.controls .next-button {
  color: #000;
  background-color: #ffd311;
  box-shadow: 0 3px 10px 0 var(--color-alpha);
  will-change: box-shadow;
  transition: box-shadow 0.2s ease-in, -webkit-box-shadow 0.2s ease-in;
}
.controls .next-button .next-button-icon {
  width: 20px;
  padding-left: 5px;
  margin-bottom: -4px;
}
.controls .prev-button {
  text-decoration: none !important;
  color: #4a505e !important;
  background-color: #fafafa !important;
  border: 1px solid #e5e5e5 !important;
  margin-right: 20px;
  margin-left: auto;
  padding-right: 10px;
  padding-left: 12px;
  will-change: box-shadow;
  -webkit-transition: -webkit-box-shadow 0.2s ease-out;
  transition: -webkit-box-shadow 0.2s ease-out;
  transition: box-shadow 0.2s ease-out;
  transition: box-shadow 0.2s ease-out, -webkit-box-shadow 0.2s ease-out;
}
.controls .prev-button svg {
  transform: rotate(180deg);
  vertical-align: middle;
}
.controls .reset-button {
  text-decoration: none !important;
  color: #4a505e !important;
  background-color: #fafafa !important;
  border: 1px solid #e5e5e5 !important;
  margin-right: 20px;
  /* margin-left: auto; */
  padding-right: 10px;
  padding-left: 12px;
  will-change: box-shadow;
  -webkit-transition: -webkit-box-shadow 0.2s ease-out;
  transition: -webkit-box-shadow 0.2s ease-out;
  transition: box-shadow 0.2s ease-out;
  transition: box-shadow 0.2s ease-out, -webkit-box-shadow 0.2s ease-out;
}
.controls .submit-button {
  padding: 0 22px;
  background: #fad313;
}
.sidebar-title-type-gird {
  font-size: 20px;
  height: auto;
  font-weight: 600;
  color: #212121;
  /* margin-bottom: 16px; */
}
.configuration-items {
  /* margin-top: 12px; */
  height: auto;
  color: #999;
  font-size: 14px;
  font-weight: 500;
}
.configuration-item {
  margin-top: 8px;
}
.price-configuration {
  display: flex;
  flex-direction: column;
  color: #999;
  font-size: 14px;
  font-weight: 500;
}

.price-configuration .title-price {
  margin-top: 12px;
}
.price-configuration .price {
  /* margin-left: 10px; */
  font-size: 20px;
  font-weight: 600;
  color: #212121;
}
.calc-form {
  display: flex;
  flex-direction: column;
  padding: 100px 150px;
  justify-content: center;
  margin: auto;
  align-items: center;
}
.calc-form .calc-title-form {
  font-size: 20px;
  margin-bottom: 20px;
}
.calc-form input {
}
.calc-form .submit-button {
  margin: 0 auto;
}
.select-desc-types {
  display: none;
}
.select-desc-types {
  color: #999;
  font-size: 14px;
  font-weight: 500;
  margin: 20px 60px 10px 0;
}
.calc-select-desc-types .title-step {
  font-size: 30px;
  align-items: flex-start;
  line-height: 1.4;
  margin-top: 20px;
}
.select-desc-types .select-desc-type-title {
  font-size: 20px;
  color: #212121;
  font-weight: 600;
}
.select-desc-types p {
  margin-top: 20px;
}
.price-order {
  display: flex;
  font-size: 20px;
  font-weight: 500;
  color: #212121;
}
.price-order .title-price {
}
.price-order .final-price {
  margin-left: 10px;
  font-size: 22px;
  font-weight: 700;
}
.select-desc-types .select-desc-type-title {
  margin-bottom: 20px;
}
.calc-additional {
  display: flex;
  font-size: 20px;
  margin-bottom: 4px;
}
.calc-additional .text-calc-additional {
  margin-left: 10px;
}
@media (min-width: 768px) {
  .calc-steps::-webkit-scrollbar {
    -webkit-appearance: none;
  }
  .calc-steps::-webkit-scrollbar:vertical {
    width: 6px;
  }
  .calc-steps::-webkit-scrollbar-thumb {
    background-color: #ffd311;
    border-radius: 10px;
  }
  .calc-steps::-webkit-scrollbar-track:vertical {
    border-radius: 10px;
    background-color: rgba(136, 133, 133, 0.26);
  }
}
@media (max-width: 1200px) {
  .calc-container {
    min-width: 100%;
    box-shadow: none;
    min-height: 100vh;
    border: none;
    height: auto;
  }
}
@media (max-width: 818px) {
  html,
  body {
    height: auto;
  }
  .calculator {
    height: auto;
    justify-content: normal;
    align-items: normal;
  }
  .calc-steps-container {
    flex: 0 1 100%;
    height: auto;
    /* padding-right: 20px; */
  }
  .title-separator {
    margin: auto -20px auto -30px;
  }
  .calc-steps {
    height: auto;
    padding-right: 0;
    margin-bottom: 62px;
    padding-right: 20px;
  }
  .calc-steps-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 100;
  }
  .calc-steps-footer .controls {
    padding: 6px 10px;
  }
  .calc-steps-footer .controls .next-button {
    border-radius: 4px;
    padding: 0 20px;
  }
  .calc-sidebar-container {
    display: none;
  }
  .calc-question {
    margin-right: 0;
  }
}
@media (max-width: 480px) {
  html.pum-open.pum-open-overlay.pum-open-scrollable body > [aria-hidden] {
    padding-right: 0px !important;
  }
  .pum-container {
    margin-bottom: 0 !important;
  }
  .step label {
    flex: 0 1 100%;
    padding: 0.8rem;
  }
  .calc-steps-header {
    padding: 15px;
  }
  .calc-title {
    font-size: 14px !important;
    margin-bottom: 0 !important;
  }
  .calc-steps {
    padding: 0 15px;
  }
  .calc-two-questions {
    flex-direction: column;
  }
  .calc-form {
    padding: 15px 24px 15px 0px;
  }
  .calc-title-question {
    font-size: 20px;
  }
  .calc-tilte-question-image {
    font-size: 14px;
  }
  .label-text .description-type {
    font-size: 12px;
  }
  .calc-steps-footer {
    padding: 10px 15px;
  }
  .calc-steps-footer .controls {
    padding: 0;
    margin: 0;
  }
  .calculator input[type="text"] {
    font-size: 1.2rem;
  }
  .select-desc-types {
    margin: 20px 0px 32px 0;
  }
  .price-order {
    margin-bottom: 16px;
  }
  .controls .price-configuration {
    display: block !important;
  }
  .controls .price-configuration .title-price {
    margin-top: 0;
    color: #fff;
  }
  .controls .price-configuration .price {
    color: #fff;
  }
  .controls .reset-button {
    display: none !important;
  }
  .controls .prev-button {
    max-width: 42px;
    margin-bottom: 0;
  }
  .controls .next-button {
    max-width: 140px;
    margin-bottom: 0;
  }
  .mobile-content .wpb_wrapper .et-font-size {
    font-size: 16px !important;
    line-height: 1.5;
    display: inline-block;
  }
}
