

/* Start:/calc/calculator.css?167266349610438*/
.calc-description {
  margin-bottom: 2.2%;
}

.calc-description .subtitle {
  margin-bottom: 2.6%;
}

.calc-description .text {
  margin-bottom: 0.9%;
}

.calc-type-stairs {
  margin-bottom: 2.5%;
}

.calc-type-stairs .item {
  display: inline-block;
  position: relative;
  width: 15.019%;
  margin-top: 0.35%;
  margin-right: 1.7%;
  text-align: center;
  vertical-align: top;
}

.calc-type-stairs .input{
  display: none;
}

.calc-type-stairs .label {
  width: 100%;
}

.calc-type-stairs .img {
  margin: 1px;
  padding: 20% 20%;
  border: 1px solid #e5e5e5;  
}

.calc-type-stairs .desc {
  position: relative;
  margin: 5.6% 0;
}

.calc-type-stairs input:checked + .label .img {
  margin: 0;
  border: 2px solid #009a4c;
}

.calc-type-stairs input:checked + .label .desc {
  color: #009a4c;
} 

.calc-type-stairs input:checked + .label::after {
  content: url(/calc/images/calc-check.svg);
  display: block;
  position: absolute;
  top: 5%;
  left: 15%;
  width: 20px;
  height: 20px;
  background-color: #009a4c;
  border-radius: 50%;
}

.calc-balas {
  margin: 2.9% 0 3.5%;
}

.calc-balas .checks {
  margin-top: 2.6%;
}

.calc-balas .input {
  display: none;
}

.calc-balas .label {
  display: inline-block;
  width: 118px;
  margin-right: 2.75%;
}

.calc-balas .label-first {
  margin-left: 0.5%;
  margin-right: 3.5%;
}

.calc-balas .label::before {
  content: '';
  display: inline-block;
  position: relative;
  width: 12px;
  height: 12px;
  right: 5%;
  margin-right: 5%;
  margin-bottom: -2.5px;
  background-color: #eeeeee;
  border: 1px solid #d2d2d2;
  border-radius: 50%;
}

.calc-balas input:checked + .label::before {
  width: 6px;
  height: 6px;
  margin: 1px 6% -1.5px 1px;
  background-color: #009a4c;
  border: 3px solid #eee;
  box-shadow: 0 0 0 1px #d2d2d2;
}

.calc-balas .riser {
  display: inline-block;
  position: relative;
  width: 100%;
  top: 2px;
  margin-top: 1%;
  margin-left: 0.1%;
}

.calc-balas .riser::before {
  content: '';
  display: inline-block;
  position: relative;
  top: 5px;
  margin-right: 0.85%;
  width: 12px;
  height: 12px;
  background-color: #eeeeee;
  border: 1px solid #d2d2d2;
  border-radius: 2px;
  vertical-align: top;
}

.calc-balas input:checked + .riser::before{
  content: url(/calc/images/calc-check.svg);
  text-align: center;
  background-color: #009a4c;
  border-color: #009a4c;
  line-height: 13px;
}

.calc-type-bal {
  margin: 2.9% 0 2.3%;
}

.calc-type-bal .item {
  display: inline-block;
  position: relative;
  width: 15.019%;
  margin-top: 0.35%;
  margin-right: 1.7%;
  text-align: center;
  vertical-align: middle;
}

.calc-type-bal .item .input {
  display: none;
}

.calc-type-bal .item .img {
  width: 100%;
  margin: 1px;
  border: 1px solid #e5e5e5;  
}

.calc-type-bal .item input:checked + .label .img {
  margin: 0;
  border: 2px solid #009a4c;
}

.calc-type-bal .item input:checked + .label .desc {
  color: #009a4c;
} 

.calc-type-bal .item input:checked + .label::after {
  content: url(/calc/images/calc-check.svg);
  display: block;
  position: absolute;
  top: 6%;
  left: 8%;
  width: 20px;
  height: 20px;
  background-color: #009a4c;
  border-radius: 50%;
}

.calc-bal-size {
  display: inline-block;
  margin: 3% 0 1.55%;
}

.calc-bal-size .title {
  margin-bottom: 3.25%;
}

.calc-bal-size .input {
  display: inline-block;
  width: 30%;
  margin-right: 5%;
}

.calc-bal-size .input input {
  margin-top: 2%;
  background-color: #eeeeee;
}

.calc-roof {
  display: inline-block;
  width: 48%;
  margin: 3% 0 3.65%;
  vertical-align: top;
}

.calc-roof .title {
  margin-bottom: 3.25%;
}

.calc-roof .input {
  width: 32%;
}

.calc-roof .input input {
  margin-top: 3.5%;
}

.calc-buttons {
  margin-top: 3.55%;
  margin-bottom: 7.25%;
}

.calc-buttons .button {
  margin-right: 0.5%;
  padding: 0.85% 1.8%;
  font-size: 1em;
  font-weight: 700;
  border: 1px solid #009a4c;
  transition-duration: .05s;
}

.calc-buttons .button:active {
  color: #009a4c;
  background-color: #fff;
  border: 1px solid #009a4c;
  transition-duration: .2s;
}

.calc-buttons .button-white {
  color: #009a4c;
  background-color: #fff;
  border: 1px solid #009a4c;
}

.calc-buttons .button-white:hover {
  color: #1b8252;
  background-color: #fff;
  border: 1px solid #1b8252;
} 

.calc-buttons .button-white:active {
  color: #fff;
  background-color: #009a4c;
  border: 1px solid #009a4c;  
}

.calc-result {
  display: block;
  float: left;
  width: 49.6%; 
}

.calc-result .title {
  margin-bottom: 6.7%;
}

.calc-result .table {
  width: 100%;
  margin-top: 2.85%;
  margin-bottom: 4.45%;
}

.calc-result .subtitle {
  margin: 0;
  color: #383838;
  font-size: 1.1em;
}

.calc-result .row {
  height: 25px;
  margin: 0;
  font-size: inherit;
  background-image: url/calc/images/calc-bg.png);
  background-repeat: repeat-x;
  background-position-y: 55%
}

.calc-result .row > td:last-child {
  text-align: right;
}

.calc-result .table .row .cell {
  padding-right: 2.5%;
  background-color: #fff;
}

.calc-result .table .row .cellR {
  padding-left: 7%;
  background-color: #fff;
}

.calc-result .table-grey {
  margin-right: 1.15%;
  margin-bottom: 2.65%;
  padding: 3% 3.5% 1.35%;
  border-radius: 4px;
  background-color: #eeeeee;
}

.calc-result .table-grey .subtitle{
  margin-top: 1.75%;
  margin-bottom: 3%;
  font-size: 1.15em;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.calc-result .table-grey .row .cell-grey {
  padding-right: 2.5%;
  color: #626262;
  background-color: #eeeeee;
}

.calc-result .table-grey .row .cellR-grey {
  padding-left: 7%;
  color: #626262;
  background-color: #eeeeee;
}

.calc-callback {
  display: block;
  width: 32.65%;
  margin:0 2.05%;
  padding: 1.35% 3.35% 3.75%;
  border: 1px solid #e5e5e5;
}

.calc-callback .title {
  margin-left: 1.75%;
  margin-bottom: 5.75%;
}

.calc-callback .inputs {
  margin-left: 2%;
  width: 96.25%;
}

.calc-callback .inputs label {
  font-size: 0.9em;
}

.calc-callback .inputs input {
  margin-top: 0.9%;
  margin-bottom: 5%;
}

.calc-callback .button {
  margin-left: 2%;
  padding: 2.75% 4.78%;
  font-size: 1em;
  font-weight: 700;
  border: 1px solid #009a4c;
  transition-duration: .05s;
}

.calc-callback-form .button:active {
  color: #009a4c;
  background-color: #fff;
  border: 1px solid #009a4c;
  transition-duration: .2s;
}

.calc-callback .inputs .required {
  color: #eb3b3e;
}

/* TIPS */

.calc-tip {
  display: inline-block;
  position: relative;
  top: 3px;
  width: 16px;
  height: 16px;
  margin-left: 0.8%;
  background-image: url(/calc/images/calc-tip-icon.png);
  border-radius: 50%;
  cursor: pointer;
}

.calc-tip:hover::after {
  content: '';
  display: block;
  position: absolute;
  transform: translate(4%, -100%);
  padding: 10px;
  font-size: 13px;
  font-style: italic;
  color: #fff;
  text-align: center;
  background-color: #009a4c;
  border: 1px solid #e5e5e5;
  border-radius: 10px 10px 10px 0;
}

.calc-tip-stairs:hover::after {
  content: 'Лестницы бывают с прямым маршем, поворотные и разворотные';
  width: 420px;
}

.calc-tip-balas:hover::after {
  content: 'Балясины — невысокие фигурные столбики в виде колонн, поддерживающие перила лестниц';
  width: 575px;
}

.calc-tip-riser:hover::after {
  content: 'Если закрывать марш подступенниками не нужно, снимите галочку';
  width: 420px;
}

.calc-tip-type-bal:hover::after {
  content: 'Если балюстрады у вас нет или ее ограждать не нужно, пропустите данный пункт';
  width: 520px;
}

.calc-tip-roof:hover::after {
  content: 'Включая перекрытие';
  width: 175px;
}

/* MEDIA QUERIES */
@media (max-width: 950px) {
  .calc-tip {
    display: none;
  }

  .calc-type-stairs .item{
    width: 22%;
    margin-right: 0;
  }

  .calc-type-bal .item {
    width: 22.5%;    
  }

  .calc-buttons .button {
    padding: 0.85em 1.8em;
  }

  .calc-callback-form .button  {
    padding: 0.85em 1.8em;
  }
}

@media (max-width: 900px) {
  .calc-callback {
		float: none;
		margin: 0;
	}

	.calc .input {
		width: 66%;
	}
}

@media (max-width: 820px) {
  .calc-type-stairs .item{
    width: 25%;
    margin-right: 4%;
  }
}

@media screen and (max-width:700px) {
  .calc-result {
    width: 100%;
  }

  .calc-result p {
    font-size: 0.7em;
  }

  .calc-callback {
    width: 90%;
    font-size: 1em;
	float: none;
  }
}

@media (max-width: 560px) {
  .calc-description .subtitle {
    line-height: 1.2em;
  }

  .calc-description .text {
    margin-top: 1em;
  }

  .calc-instruction {
    margin-top: 1em;
  }

  .calc-type-stairs {
    text-align: center;
  }

  .calc-type-stairs .item{
    width: 33.5%;
    margin: 0 auto;
  }

  .calc-type-stairs .label {
    width: 80%;
  }

  .calc-type-stairs .img {
    padding: 10% 10%;
  }

  .calc-type-stairs .input {
    display:none;
  }
  .calc-type-stairs input:checked + .label::after {
    content: url(/calc/images/calc-check-mobile.svg);
  }

  .calc-balas .label {
    width: 31.5%;
    margin-right: 1%;
    text-align: center;
  }

  .calc-balas .label-first {
    margin-left: 0;
    margin-right: 1%;
  }

  .calc-balas .label::before  {
    margin-right: 1%;
  }

  .calc-balas input:checked + .label::before {
    margin-right: 2%;
  }

  .calc-balas .riser {
    margin-top: 5%;
    margin-bottom: 2.5%;
  }

  .calc-balas .riser.label {
    text-align: none; 
  }

  .calc-balas input:checked + .riser::before {
    content: url(/calc/images/calc-check-mobile.svg);
    top: 3px;
  }

  .calc-type-bal {
    text-align: center;
  }

  .calc-type-bal .item .img {
    width: 95%;
  }

  .calc-type-bal .item input:checked + .label::after {
    content: url(/calc/images/calc-check-mobile.svg);
  }

  .calc-bal-size {
    width: 100%;
    text-align: center;
  }

  .calc-roof {
    width: 100%;
    text-align: center;
  }

  .calc-roof .input {
    width: 66%;
    margin: 0 auto;
    text-align: center;
  }

  .calc-buttons {
    text-align: center;
  }

  .calc-callback {
    width: 90%;
    text-align: center;
	float: none;
  }
}

@media (max-width: 440px) {
  .calc-type-stairs .item {
    width: 47.5%;
    margin: 0 auto;
  }

  .calc-type-bal .item{
    width: 40.5%;
  }
}

@media (max-width: 350px) {
  .calc-type-stairs .label {
    width: 95%;
  }
}
/* End */
/* /calc/calculator.css?167266349610438 */
