.calculator-window {
/* Context for relative positioning */
label {
    position: relative;
  }
  
  /* Base styles for both types of inputs */
  input[type="radio"],
  input[type="checkbox"] {
    appearance: none;
    background: #fff;
    border: 2px solid #4848e4;
    height: 1.5em;
    width: 1.5em;
    border-radius: 100%;
    vertical-align: text-bottom;
    position: relative;
    cursor: pointer;
  }
  
  /* Remove the circular shape from checkboxes */
  input[type="checkbox"] {
    border-radius: 0;
  }
  
  /* Styles for the pseudo-elements */
  input[type="radio"]::before,
  input[type="checkbox"]::before {
    content: "";
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    top: 0;
  }
  
  /* Center of the checked radio button */
  input[type="radio"]:checked::before {
    border: 5px solid transparent;
    border-radius: 100%;
    background: #2196F3;
    margin: 4px;
  }

  /* The checkmark shape */
  input[type="checkbox"]:checked {
    background-color: #2196F3;
  }
  
  /* The checkmark shape */
  input[type="checkbox"]:checked::before {
    left: 2px;
    top: 0px;
    width: 7px;
    height: 18px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);

  }
}

.row .palete-color {
  max-width: 740px;
  width: 740px;
  display: none;
  position: fixed;
  left: 20vw;
  z-index: 10000;
  background-color: #fff;
  padding: 40px 0 30px 0;
  top: 20%;
}

.palete-color .palete-color-element span {
  width: 97px;
  height: 73px;
  display: inline-block;
  margin: 9px;
  cursor: pointer;
  border: 4px solid transparent;
  background-repeat: no-repeat;
}

.palete-color-close {
  background-image: url(/themes/windows/img/closed.png) !important;
  background-repeat: no-repeat;
  background-position: 0 5px;
  position: absolute;
  right: 15px;
  top: 8px;
  width: 16px;
  height: 23px;
  cursor: pointer;
}

body.fixed {
  overflow: hidden;
  position: fixed;
}

.lamination {
  display: flex;
  cursor: pointer;
}
.lamination label {
  cursor: pointer;
}

.lamination-checkbox {
  border: 2px solid #4848e4;
  width: 24px;
  height: 22px;
  margin-right: 5px;
}

.lamination-checkbox.is-active {
  width: 25px;
  height: 24px;
  margin-bottom: 3px;
  border: 0;
}

.calculator-windows-menu > li > i {
  display: inline-block;
  font-family: normal;
  min-height: 32px;
  min-width: 32px;
  background-image: url(../img/calculator/wndtypes.png);
  background-repeat: no-repeat;
  cursor: pointer;
  height: 49px;
  width: 62px;
  transition: .6s ease;
}

.calculator-windows-menu ul > li {
  display: inline-block;
  min-height: 32px;
  min-width: 32px;
  vertical-align: top;
  background-repeat: no-repeat;
  height: 49px;
  min-width: 38px;
  margin: 0 5px 5px;
  cursor: pointer;
  padding: 0;
}

.calculator-windows-menu ul > li span {
  display: none;
}

.calculator-windows-menu ul > li.active, 
li.window-active.active i{
  outline: solid 3px #4848e4;
}

.calculator-windows-menu {
  padding: 0;
  list-style: none;

  .window-active {
    position: relative;
  }
  
  .window-3 li, .window-3 > i {
    height: 71px !important;
  }

  .window-4 li, .window-4 > i {
    height: 69px !important;
  }

   ul {
    list-style: none;
    display: none;
    margin: 0;
    position: absolute;
    top: -37px;
    left: 45px;
    padding: 15px;
    background: #f9f9f9;
    -webkit-box-shadow: 0 0 0 2px #e4e4e4;
    box-shadow: 0 0 0 2px #e4e4e4;
    -webkit-transition: .3s 0 ease;
    transition: .6s ease;
    height: auto;
    width: auto;
    white-space: nowrap;
    z-index: 29;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
  }

  ul.is-active {
    display: block;
  }

}

.big-window {
  display: none;
  .big-window-data {
    display: flex;
  }

  .big-window-height {
    margin-left: 15px;
    height: 350px;
  }

}

.big-window-height, .big-window-width {
  position: relative;
}

.big-window-width-value, .big-window-height-value {
  position: absolute;
  font-weight: bold;
  color: #009bec;
}

.big-window-height-value {
  right: -37px;
  top: -35px;
}

.big-window-width-value {
  right: -90px;
  top: -8px;
}

.big-window-btn {
  position: absolute;
}

.big-window-height-data {
  position: relative;
  .big-window-btn.btn-minus {
    left: 38px;
    top: 50px;
  }
  
  .big-window-btn.btn-plus {
    right: -40px;
    top: 10px;
  }

}

.big-window-width-data {
  .big-window-btn.btn-minus {
    right: 45px;
    top: 25px;
  }
  
  .big-window-btn.btn-plus {
    right: 0px;
    top: 25px;
  }
}

.summa-all-common {
  margin-top: 10px;
  margin-left: 5px;
}

.big-window-btn {
  display: none;
}

.btn.window-calculation-btn,
.btn.window-calculation-success
{
  display: none;
}

.big-window-btn {
  border: 1px solid var(--color-blue-500);
  border-radius: 15px;
  background-color: var(--color-white);
}
.big-window-btn:hover {
  background-color: var(--color-blue-200);
  cursor: pointer;
}
.big-window-btn:focus {
  outline: none;
  box-shadow: var(--shadow-focus);
  border: 1px solid var(--color-blue-500) !important;
}
.big-window-btn[disabled] {
  opacity: var(--opacity-50);
  pointer-events: none;
}
.big-window-btn:active {
  background-color: var(--color-blue-300);
}

.big-window-btn .icon {
  user-select: none;
}

.window-order {
  display: flex;
  flex-direction: column;
  width: 195px;
  span {
    font-size: 12px;
  }

  .window-order-size {
    font-weight: bold;
  }

  .window-order-img {
    position: relative;
  }
  
  .window-order-delete {
    position: absolute;
    width: 18px;
    height: 18px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
    font-size: 8px;
    top: -9px;
    right: -9px;
    background-color: #ff6d6d;
    font-weight: 700;
    cursor: pointer;
    z-index: 9;
    opacity: 1;
  }

}

.calculator-window {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.window-common {
   margin-right: 65px;
   margin-bottom: 40px;
}

.add-services-common {
  flex: 2;
  margin-left: 65px;
}

.window-orders {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.window-info {
  display: flex;
  margin-bottom: 20px;
}


.order-option {
  display: flex;
  flex-direction: column;
}

.order-calculator {
  display: flex;
  font-weight: 700;
  border-bottom: 1px solid #000;
  gap: 85px;
  padding-bottom: 5px;
}


@media (max-width: 767px) {
  .calculator-windows-menu {
    display: flex;
    justify-content: space-between;
  }
  .calculator-windows-menu ul.is-active {
    display: flex;
    flex-direction: column;
    top: 55px;
    left: -5px;
  }

  .calculator-windows-menu li.window-4 ul.is-active {
    top: 75px;
    left: -62px;
  }

  .big-window-data img {
    max-width: 310px;
  }

  .big-window .big-window-height {
    height: 255px;
  }

  .big-window-height .big-window-btn.btn-minus {
      left: 20px;
      top: 50px;
  }
  .big-window-height .big-window-btn.btn-plus {
    right: -37px;
    top: 11px;
  }

  .window-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .add-services-common {
    margin-left: 0;
  }

  .row .palete-color {
    max-width: 267px;
    top: 1%;
    overflow-y: scroll;
  }
  
}

.big-window-width-data {
  position: relative;
}