:root {
	--main-border-radius: 3px;
    --main-kviz-color:#27aae1;
	--main-kviz-color-gradient: #0d93cc;
	--main-kviz-color-gradient2: #61badf;
}

.calc-flw .col-md-6, .calc-flw .col-md-12 {
	padding: 0px!important;
}

.range-label {
    margin-top: 15px;
	 margin-bottom: 5px;
	 line-height: 1;
}

.calc-sl {
    font-size: 20pt;
    font-weight: bold;
	text-align: right;
	background: linear-gradient(89.51deg, var(--main-kviz-color-gradient) 1.15%, var(--main-kviz-color-gradient2) 99.77%);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(0, 0, 0, 0);
    line-height: 1;	
}

.calc-label {
	text-align: right;
    font-size: 14pt;
	line-height: 1.1;
}

.blocks, .cf-items {
	display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: space-between;
    margin-top: 20px;
	    width: 100%;
}

/* range */

      .range {
        display: grid;

        overflow: hidden;
      }

      .range-label {
        text-align: left;

      }
	  
	  .range-label .lbl {
		float: left;
		width: 50%;
		height: 38px;
		display: flex;
		align-items: center;
		font-size: 18px;
	  }

	  .range-label input {
		  float: right;
	  }

      .range-input {
        appearance: none;
        background: none;
        height: 30px;
      }

      .range-input::-webkit-slider-runnable-track {
        box-sizing: border-box;
        height: 8px;
        background-color: #ababab;
        border-radius: 10px;
      }

      .range-input::-moz-range-track {
        box-sizing: border-box;
        height: 8px;
        background-color: #ababab;
        border-radius: 10px;
      }

      .range-input::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 30px;
        height: 30px;
        margin-top: -11px;
        border: none;
        border-radius: 50%;
        background: white;
        box-shadow: 0 0 0 5px inset var(--main-kviz-color);
        border-image:
          linear-gradient(90deg, var(--main-kviz-color) 50%, #ababab 0)
          0 1 /
          calc(50% - 4px)
          100vw/0 100vw;
        transition: 300ms;
      }

      .range-input::-moz-range-thumb {
        width: 30px;
        height: 30px;
        margin-top: 0;
        border: none;
        border-radius: 50%;
        background: white;
        box-shadow: 0 0 0 5px inset var(--main-kviz-color);
        transition: 300ms;
      }

      .range-input::-moz-range-progress {
        height: 8px;
        border-radius: 10px;
        background-color: var(--main-kviz-color);
      }

      .range-input:focus-visible {
        outline: none;
      }

      .range-input:focus-visible::-webkit-slider-runnable-track {
        outline: none;
      }

      .range-input:focus-visible::-moz-range-track {
        outline: none;
      }

      .range-input:hover::-webkit-slider-thumb,
      .range-input:focus-visible::-webkit-slider-thumb {
        box-shadow: 0 0 0 10px inset var(--main-kviz-color);
      }

      .range-input:hover::-moz-range-thumb,
      .range-input:focus-visible::-moz-range-thumb {
        box-shadow: 0 0 0 10px inset var(--main-kviz-color);
      }

      .range-input:active::-webkit-slider-thumb {
        box-shadow: 0 0 0 30px inset var(--main-kviz-color);
      }
      .range-input:active::-moz-range-thumb {
        box-shadow: 0 0 0 30px inset var(--main-kviz-color);
      }

      .range-input:disabled::-webkit-slider-thumb {
        box-shadow: 0 0 0 30px inset gray;
      }
      .range-input:disabled::-moz-range-thumb {
        box-shadow: 0 0 0 30px inset gray;
      }

      .range-input:focus-visible::-webkit-slider-thumb {
        outline: 3px solid #41e847;
      }

      .range-input:focus-visible::-moz-range-thumb {
        outline: 3px solid #41e847;
      }

/* ----- */

.calc-phone-wrapper {
	box-sizing: border-box;
	margin-right: 5px;
}

.calc-form input {
    height: 40px;
    padding: 0px 10px;
    border-radius: 3px;
    outline: 0;
    border: 1px solid #dedede;
    width: 100%;
	box-sizing: border-box;
}

.calc-item-box {
	box-sizing: border-box;
}

.more-btn-main {
    margin-bottom: 0px;
    font-size: 15pt;
	line-height: 1.2;
    padding: 8px 20px;
    background: var(--main-kviz-color);
    color: #fff;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
	box-sizing: border-box;

}

/* UPD 1-5 Стрелки больше-меньше в number */

/* WebKit and Blink */
.scalc input::-webkit-outer-spin-button,
.scalc input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.scalc .number-block-wrapper {
	display: inline-block;
	margin-bottom: 20px;
}

.scalc .number-block-wrapper button {
	display: block;

}

.scalc .number-block-wrapper button:focus {
	  outline: none;
  box-shadow: none;	
}

/* Firefox */
.scalc input[type="number"] {
  -moz-appearance: textfield;
}

.scalc input[type="number"]:focus {
    outline: none;
	box-shadow: none;
}

.scalc .number-block {
    display: flex;
    justify-content: center;
    align-items: center;

}

.scalc .value-control {
  width: 38px;
  height: 38px;
  margin: 0 8px;
  padding: 0px !important;
  background: var(--main-kviz-color);
  border: 0px;
  border-radius: var(--main-border-radius);
  color: #fff!important;
  cursor: pointer;
}

.scalc .value-control:hover {
  background: #eee;
}

.scalc .value-control:active {
  background: #ddd;
}

.scalc .value-control:focus,
.scalc .value-input:focus {
  outline: 2px solid #3e67fd;
  outline-offset: 1px
}

.scalc .value-input {
  margin: 0;
  box-sizing:border-box;
  height: 38px;
  width: 70px;
  border: 1px solid #dedede;
  border-radius: var(--main-border-radius);
  padding: 5px 8px;
  text-align: center;
}

.scalc .value-input:hover {
  border-color: #777;
}

/* Конец UDP 1-5 */

.calc-v2 .calc-item-box .calc-img-item {
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.calc-v2 .calc-item-box {
	position: relative;
	text-align: center;
}

.calc-v2 .calc-img-check {
	border-radius: 50px;
	height: 20px;
	width: 20px;
	background: var(--main-kviz-color) url('/images/itimgcheck.png') 50% 50% no-repeat;
	position: absolute;
    top: -8px;
    left: -8px;
	background-size: 10px;
}

.calc-glub {
	margin-top: 10px;
    text-align: left;
}

.calc-head {
	text-align: left;
	margin-bottom: 15px!important;
	margin-top: 20px!important;
}

.calc-v2 .calc-img-check {
	display: none;
}

.calc-v2 .calc-img-head {
	text-align: center;
	font-size: 12pt;
	padding: 5px 5px 10px 5px;
	height: 61px;
}

.calc-v2 .calc-img-pict-wrapper {
	position: relative;
	display: inline-block;	
}

.calc-v2 .calc-item-box .row-flex {
	justify-content: left !important;
}

.calc-v2 .calc-img-pict {

	max-width: 100%;
	padding: 2px;
	text-align: center;
}

.calc-v2 .calc-img-pict img {
    height: 130px;
    width: 100%;
}

.calc-v2 .col-md-3 {
	padding: 0px;
}

.calc-v2 .calc .manufacturer-label {
	padding-left: 0px;
}


.calc-v2 .calc-item-mob:first-child .manufacturer-label:before {
	display: none;
}


button,
input {
  overflow: visible;
}

.calc-item-box-1 {
  text-align: left;
}

.flex-wrap,
.ps-flex-wrap {
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.calc {
  padding-bottom: 30px;
}

.calc .h2 {
  text-align: center;
  font-size: 27px;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 700;
}

/*.calc-item {width: 31%;}*/
.calc-item {
   padding-right: 20px;
}

.calc input[type=radio],
.zv_main input[type=radio] {
  display: none;
}

.calc input[type=radio]:checked+label:before,
.zv_main input[type=radio]:checked+label:before {
  background-color: #D93B0A;
}

.calc input[type=radio]:checked+label,
.zv_main input[type=radio]:checked+label {
  color: #D93B0A;
}


.calculator2-input {
  height: 40px;
  width: 65px;
  border: none;
  text-align: center;
  margin: 0px;
  font-size: 20px;
  display: inline-block;
  vertical-align: top;
  outline: 0;
  font-weight: 700;
  color: #111;
  border-radius: 3px;
}

.calculator2-input:focus {
  -webkit-box-shadow: 0 0 2px 1px rgba(0, 146, 107, .5);
  box-shadow: 0 0 2px 1px rgba(0, 146, 107, .5);
}

.label-title {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
  position: relative;
  white-space: nowrap;
}

.label-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 20px;
  background-color: #D93B0A;
}

.calc-v2 .label-title:after {
	background: none;
}

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

.final-price {
	    width: 100%;
}

.calc-right {
    padding: 35px;
	/*background: url('C:/Work/PRACTICE/SEO виджеты/КАЛЬКУЛЯТОР/images/calc-fon.png') no-repeat;
	background-position: bottom -40px right 10px;*/
}

.calc-form {

    background: #f8f9fb;
    display: flex;
    flex-direction: column;	
}

.calc-price-final {
  font-size: 30px;
  font-weight: 700;
  text-align: right;
  margin-bottom: 30px;
  margin-top: 20px;
}

.ps-flex {
	display: flex;
}

.calc-price-title {
  margin: 0;
  margin-top: 10px;
}

.calc-price-title span {
  color: #D93B0A;
}

.calc-min {
  display: inline-block;
  margin: 5px 0;
  font-size: 18px;
  background-color: #ffdb4d;
  padding: 10px;
}


@media only screen and (max-width:1230px) {
 
  .calc .h2 {
    font-size: 24px;
  }

  .calc .manufacturer-label {
    font-size: 18px;
  }
  
}

@media only screen and (min-width:991px) and (max-width:1200px) {
	.scalc .value-control {
		width: 34px;
		height: 34px;
	}
	
	.scalc .value-input {
		font-size: 13pt;
		height: 34px;
		width: 50px;
	}
}

@media only screen and (max-width:992px) {
	
	.calc-phone-wrapper {
		margin-right: 0px;
		margin-bottom: 5px;
	}
	
	.calc-item {
		    padding-right: 0px;
	}
	
	.calc-item-box .col-sm-3 {
		        width: 25%;
	}
	
	.calc-right {
		padding: 30px;
	}
	
	.calc-price-final {
		margin-top: 0px;
		margin-bottom: 20px;
	}
	
	.calc-label {
		display: none;
	}
	
  .calc-flw {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

  .calc-v2 .calc-item-mob:first-child {
    margin-bottom: 10px;
  }
  
  .calc .h2 {
    font-size: 22px;
  }

  .calc .manufacturer-label {
    font-size: 17px;
  }

}

@media only screen and (max-width:820px) {

  .calc-title {
    font-size: 17px;
  }

  .calc .calc-item .calculator2-input {
    width: 50px;
  }

  .calc .manufacturer-label {
    margin-bottom: 15px;
  }
}

@media only screen and (max-width:767px) {
  .mainpage .ps-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .ceny-table-box .flex {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .ceny-table-item {
    width: 50%;
  }

  .calc-item {
    margin-bottom: 10px;
  }

  .calc-flw {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .calc-flex-1 {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .calc-item-box-1 {
    width: auto;
    margin-left: 15px;
    margin-right: 15px;
  }

  .calc-item-box-1 .label-title {
    text-align: left;
  }

  .calc .h2 {
    font-size: 20px;
  }

  .calc-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .calc .calc-item .calculator2-input {
    width: 50px;
  }

  .calc .manufacturer-label {
    margin-bottom: 15px;
  }

  .calc-price-title {
    line-height: 1.2;
  }

  .calc .label-title:after {
    display: none;
  }

  .calc .calc-control-box--mb {
    margin-bottom: 8px;
  }
  
}

@media only screen and (max-width:570px) {
		
	.calc-item-box .col-sm-3 {
		width: 50%!important;
		
	}
	
	.calc-v2 .calc-img-pict img {
		height: 150px;
	}
}

@media only screen and (max-width:510px) {

	
	.scalc .value-control {
        width: 20px;
        height: 20px;
		font-size: 16pt;
		background: #fff;
		color: #000 !important;
		margin: 0px 3px;
		font-weight: bold;
	}
	
	.scalc .value-control:hover {
		background-color: #fff;
	}
	
	.number-block .value-control:nth-child(3) {
		color: #D93B0A!important;
	}
	
	.calc-right {
		padding: 20px;
	}
	
	.calc-price-final {
		font-size: 26px;
		margin-top: 0px;
		margin-bottom: 20px;
	}
	
	.calc-label {
		display: none;
	}
	
	.calc-sl {
		    font-size: 16pt;
	}
	
	.scalc .value-input {
		font-size: 12pt;
		height: 34px;
		width: 37px !important;
	}
	
	.scalc .range-label .value-input {
		width: 45px !important;
	}
}

@media only screen and (max-width:480px) {
  .ps-hidden-lg {
    display: block !important;
  }
  
  .calc-v2 .calc-form {
	  margin-top: 15px;
  }

  .ps-hidden-xs {
    display: none !important;
  }

  .ps-header {
    padding-top: 0;
    padding-bottom: 0;
  }

  .mobile-menu-list li a {
    font-size: 15px;
  }

  .ps-wrapper h1 {
    font-size: 19px;
    line-height: 1.2;
  }

  .ps-wrapper h2 {
    font-size: 18px;
    line-height: 1.2;
  }

  .ps-wrapper h3 {
    font-size: 18px;
    line-height: 1.2;
  }

  .calc .ps-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .calc-p {
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
    font-size: 15px;
  }

  .calc .h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.2;
    padding-left: 10px;
    padding-right: 10px;
  }

}

@media only screen and (max-width:410px) {

  .calc .h2 {
    font-size: 18px;
  }
  
}



