:root {
	--accent-color: #e61818;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

body {
  font-family: "Roboto", sans-serif;
}

.ss {
  max-width: 1200px;
  margin: 0 auto;
}

.calculator-item_size {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.cf-field__inner {
  width: 350px;
  height: 350px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cf-field__descr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
}

.cf-field-descr__text {
  color: rgba(34, 34, 34, 0.7);
}

.cf-field__cell {
  position: relative;
  width: 35px;
  height: 35px;
  border: 1px solid #cccccc;
}

.cf-field__cell[data-row="1"][data-col="1"] {
  border-radius: 5px 0 0 0;
}

.cf-field__cell[data-row="1"][data-col="10"] {
  border-radius: 0 5px 0 0;
}

.cf-field__cell[data-row="10"][data-col="1"] {
  border-radius: 0 0 0 5px;
}

.cf-field__cell[data-row="10"][data-col="10"] {
  border-radius: 0 0 5px 0;
}

.cf-field__cell:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  display: none;
}

.cf-field__cell:hover:after {
  display: block;
}

.cf-field__cell.last:after {
  display: block;
}

.cf-field__cell.selected {
  background-color: var(--accent-color);
}

.cf-field__cell.selected-choose {
  background-color: var(--accent-color);
}

.cf-selects_size {
  width: 220px;
}

.cf-selects {
  margin-right: 100px;
}

.cf-selects__item {
  width: 100%;
  margin-bottom: 26px;
}

.cf-selects select {
  width: 100%;
  height: 36px;
  font-size: 16px;
  outline: none;
  border: 1px solid #e4e2e2;
  border-radius: 5px;
  padding: 0 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url(images/arrow-sel.svg);
  background-repeat: no-repeat;
  background-size: 15px 12px;
  background-position: right 10px center;

  
}

option{
      padding: 10px;
}

.cf-selects__label {
  font-size: 18px;
  margin-bottom: 10px;
}

.cf-field__result {
  margin-right: 20px;
}

.cf-field-result {
  text-align: center;
  font-weight: 600;
  font-size: 18px;
}

.cf-field-result__width,
.cf-field-result__length {
  font-size: 24px;
}

.cf__param .quiz-choose_text {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 32%;
  flex: 0 1 32%;
}

.cf__installation .quiz-choose_text {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 49%;
  flex: 0 1 49%;
}

.circuit-scheme__cell {
  position: relative;
  width: 80px;
  height: 80px;
  border: 1px dashed #cccccc;
}

.circuit-scheme {
  margin: 50px auto 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  position: relative;
}

.circuit-scheme__cell-sv4,
.circuit-scheme__cell-sv3,
.circuit-scheme__cell-sv2,
.circuit-scheme__cell-sv1 {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: rgba(58, 191, 255, 0.4);
  border-radius: 5px;
}

.circuit-scheme__cell-sv4:after,
.circuit-scheme__cell-sv3:after,
.circuit-scheme__cell-sv2:after,
.circuit-scheme__cell-sv1:after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: #222222;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.circuit-scheme__cell-sv1 {
  left: -12px;
  top: -12px;
}

.circuit-scheme__cell-sv2 {
  right: -12px;
  top: -12px;
}

.circuit-scheme__cell-sv3 {
  left: -12px;
  bottom: -12px;
}

.circuit-scheme__cell-sv4 {
  right: -12px;
  bottom: -12px;
}

.circuit-scheme__x {
  position: absolute;
  top: -50px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  white-space: nowrap;
}

.circuit-scheme__y {
  position: absolute;
  left: -100px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  white-space: nowrap;
}

.cf__circuit .quiz-question__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.cf__circuit .quiz-question__item .quiz-question__different-block {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 60%;
  flex: 0 1 60%;
}

.cf__circuit .quiz-question__item .quiz-question__different-block:last-child() {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 40%;
  flex: 0 1 40%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.cf__circuit-title {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 500;
  border-bottom: 1px solid #222222;
}

.table-coast {
  width: 100%;
  margin-bottom: 40px;
  border-spacing: 0;
}

.table-coast span {
  font-size: 14px;
}

.table-coast tbody tr:nth-last-child(1) td {
  /* border-bottom: 1px solid #222222; */
  background-color: #15b1d8;
  color: #ffffff ;
}
.table-coast tbody tr:nth-last-child(2) td {
  /* border-bottom: 1px solid #222222; */
  background-color: #27ae60;
  color: #ffffff ;
}

.table-coast tbody tr:first-child td:first-child{
  border-radius: 8px 0 0 0;
}
.table-coast tbody tr:first-child td:last-child{
  border-radius: 0 8px 0 0;
}
.table-coast tbody tr:last-child td:first-child{
  border-radius: 0 0 0 8px;
}
.table-coast tbody tr:last-child td:last-child{
  border-radius: 0 0 8px 0;
}

.table-coast tbody tr{
  background: #f6f6f6;
 }

 .table-coast tbody tr:nth-of-type(odd){
  background: #e9e9e9;
}
.table-coast tbody tr td {
  /* white-space: nowrap; */
  /* border-top: 1px solid #222222; */
  /* border-right: 1px solid #222222;
  border-left: 1px solid #222222; */
  padding: 5px 20px ;
}

.table-coast tbody tr td:nth-last-child(1),
.table-coast tbody tr td:nth-last-child(2) {
  border-left: 1px solid #cccccc69;
  text-align: center;
}

.cf-circuit__result-sale {
  font-size: 20px;
  padding: 10px;
  background-color: var(--accent-color);
  border-radius: 5px;
  font-weight: 600;
  color: #ffffff;
}

/* .table-total {
  background-color: rgba(250, 246, 18, 0.76);
} */

.table-total span {
  font-size: 18px !important;
}
.table-sale{
  position: relative;
}
.table-sale:before{
  position: absolute;
  content:"";
  display: block;
  width: 120%;
  height: 3px;
  top: 50%;
  left: -10%;
  background-color: rgb(255, 51, 51);
  border-radius: 20px;
  transform: translateY(-50%);
}

.cf-circuit__block[data-table="table"] {
  flex: 0 1 100%;
  margin-bottom: 30px;
}

.cf-circuit__block[data-scheme="scheme"] {
  flex: 0 1 100%;
  margin-bottom: 30px;
}

@media only screen and (max-width: 991px) {
  .calculator-item_size {
    display: flex;
    flex-direction: column;
  }

  .cf-selects_size {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }

  .cf-selects__item {
    flex: 0 1 32%;
  }
  .cf-selects {
    margin-bottom: 20px;
  }
}

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

  .cf__param .quiz-choose_text {
    flex: 0 1 49%;
  }

  .cf-selects__item {
    flex: 0 1 49%;
    margin-bottom: 10px;
  }

  .cf-selects select {
    width: 100%;
    height: 35px;
    font-size: 16px;
  }

  .cf-selects__label {
    font-size: 18px;
    /* margin-bottom: 10px; */
  }
  .cf-field-descr {
    flex-direction: column;
    align-items: center;
  }

  .cf-field {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .circuit-scheme__cell {
    width: 40px;
    height: 40px;
  }

  .circuit-scheme__cell-sv4,
  .circuit-scheme__cell-sv3,
  .circuit-scheme__cell-sv2,
  .circuit-scheme__cell-sv1 {
    width: 15px;
    height: 15px;
  }

  .circuit-scheme__cell-sv4:after,
  .circuit-scheme__cell-sv3:after,
  .circuit-scheme__cell-sv2:after,
  .circuit-scheme__cell-sv1:after {
    width: 7px;
    height: 7px;
  }

  .circuit-scheme__cell-sv1 {
    left: -8px;
    top: -8px;
  }

  .circuit-scheme__cell-sv2 {
    right: -8px;
    top: -8px;
  }

  .circuit-scheme__cell-sv3 {
    left: -8px;
    bottom: -8px;
  }

  .circuit-scheme__cell-sv4 {
    right: -8px;
    bottom: -8px;
  }

  .circuit-scheme__y {
    left: -80px;
  }
}

@media only screen and (max-width: 576px) {
  .cf__param .quiz-choose_text {
    flex: 0 1 100%;
  }

  .cf__installation .quiz-choose_text {
    flex: 0 1 100%;
  }


  .cf-field__inner {
    width: 300px;
    height: 300px;
  }

  .cf-field__cell {
    width: 30px;
    height: 30px;
  }
  .cf-selects__item {
    flex: 0 1 100%;
  }
  .cf__size {
    padding: 10px 20px 20px;
  }

  .cf-field-result {
    font-size: 16px;
    margin-bottom: 5px;
    margin-right: 0;
  }

  .table-coast tbody tr td:last-child {
    width: 30%;
  }

  .cf-circuit__result-sale {
    font-size: 18px;
    padding: 10px;
  }

  .table-total span {
    font-size: 15px !important;
  }
}

@media only screen and (max-width: 360px) {
  .cf-field__inner {
    width: 250px;
    height: 250px;
  }

  .cf-field__cell {
    width: 25px;
    height: 25px;
  }
}


.quiz-choose .cf-selects__item{
  margin-bottom: 0;

}

.quiz-choose .cf-selects__item .cf-selects__label{
  font-size: 14px;
  margin-bottom: 4px;
}

.quiz-choose__text span{
  display: block;
  /* margin-bottom: 6px; */
  /* font-weight: 600; */
}

.quiz-choose__parametrs select{
  height: 30px;
  width: 100%;
  font-size: 16px;
  outline: none;
  border: 1px solid #e4e2e2;
  border-radius: 5px;
  padding: 0 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url(images/arrow-sel.svg);
  background-repeat: no-repeat;
  background-size: 15px 12px;
  background-position: right 10px center;
}
.quiz-choose .cf-selects__item{
  margin-bottom: 8px;
}
.quiz-choose .cf-selects__item:last-child{
  margin-bottom: 0;
}

.quiz-question__info-block{
  padding: 14px;
  border-radius: 5px;
  margin-bottom: 40px;
  display: none;
}

.quiz-question__info-block_1{
  background-color: rgba(31, 185, 26, 0.301);
}
.quiz-question__info-block_2{
  background-color: rgba(23, 206, 197, 0.301);
}
.quiz-question__info-block_3{
  background-color: rgba(88, 99, 248, 0.301);
}



.quiz-choose .quiz-choose__quest{
  position: absolute;
  top: 8px;
  left: 8px;
  height: 20px;
  width: 20px;
  z-index: 4;
  cursor: pointer;

}

.quiz-choose .quiz-choose__quest svg{
  fill: #438eaf;
}
#fundament-opt .modal-dialog{
  max-width: 700px;
}

#fundament-opt .modal-content .close{
  position: absolute;
  top: 0px;
  right: 8px;
  outline: none;
  z-index: 9999;
}

.fundament-opt-info{
  padding: 25px;
}

.fundament-opt-info img{
  width: 250px;
  height: auto;
  float: right;
}


[data-show="0"]{
  display: none !important;
}