* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --background-color: #fff;
  --color: #333;
  --title-article-color: #43aab6;
  --text-color: #fff;
}
.body {
  font-family: sans-serif;
  background-image: url(img/overlay.png);
}
.calc-detail {
  transition: 0.1s;
  cursor: pointer;
}
.selected {
  fill: url(#body-gr-gradient-selected);
  }
.st2.selected{fill:#43aab6;
}
.st13.selected {fill: #777;     stroke: none;}
/* .st13{opacity: 0.9;} */
.st13:hover { fill: #c7c7c7;}
.st13.selected:hover {fill: #888;}
/* .threshold-plastic {opacity:0.8;} */
.selected-hover,.selected:hover {fill:url(#body-gr-gradient-selected-hower);
}
.st2.selected:hover{fill:#47acc1;
}

/*Стили подписи кол-во деталей*/
.counter {}
.calc-instruction {
    background-color: #f6f6f6;
}
.calc-instruction__article {
  padding: 1em;
}
.scheme-instruction {
}
.calc-item {
  list-style: none; 
  font-size: 1em;
  line-height: 1.7; 
  padding-left: 0 !important;
}
.order-price, .order-total-price {width:6em;} 
.order-total-price {font-weight: 600;}
.td-checkbox {width:8em}
.calc-item label {
  cursor: pointer;
}
.calc-item label > span {}
.switch {
  display: inline-block;
  height: 17px;
  position: relative;
  width: 30px;
}
.switch input {
  display: none;
}
.slider {
  background-color: var(--color);
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: 0.4s;
}
.slider:before {
  background-color: var(--text-color);
  bottom: 2px;
  content: "";
  height: 13px;
  left: 2px;
  position: absolute;
  transition: 0.4s;
  width: 13px;
}
input:checked + .slider {
  background-color: var(--title-article-color);
}
input:checked + .slider:before {
  transform: translateX(13px);
}
.slider.round {
  border-radius: 17px;
  bottom: -3px;
  top: 3px;
}
.slider.round:before {
  border-radius: 50%;
}
.calc-item > li {padding-left:0.5em}
.calc-item > li> .text-details{display:inline-block; min-width: 11.5em;}
.calc-item > li> .checkboxes-details {display:inline-block; min-width:23em;}
.calc-item > li:nth-child(odd) {
    background: rgba(220, 220, 220, 0.25);
}
.calc-item li label {
  margin-left: 0.3em;
}
.order-item td, .norma-hours td {
border: 1px solid rgb(160 160 160);
padding:  0em 0.5em ;
}
.text-through {
    text-decoration: line-through;
}
.calc-bottom {text-align:center;}
[id|="remove"] + .slider {
    background-color: red;
}
input[id*="remove"]:checked + .slider
{background-color: red;}
[id|="remove"].slider{
  background: red;
}
.calc-banner {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  background-color: rgba(6, 5, 2, 0.25);
  backdrop-filter: blur(6px);
  z-index: 9999;
  transition: all 0.3s;
}
.calc-bottom .options {padding: 1em;}


.range-wrap {
display: flex;
    flex-wrap: wrap;
    /*justify-content: space-between;*/
    align-items: flex-end;
    /*width: 320px;*/

}
.range-inner {
    position: relative;
    padding-top: 35px;
}
.range-label {
    display: block;
    /*width: 100%;*/
    margin-right: 1em;
}
.range-input {
	accent-color: #43aab6;
    width: 200px;
    height: 17px;
    margin: 0;
    border: 2px solid #47acc1;
    border-radius: 3px;
    appearance: none;
    background-color: #ffffff75;
    background-image: linear-gradient(#47acc1);
    background-repeat: no-repeat;
    background-size: 0 100%;
}
.range-input::-webkit-slider-thumb {
  width: 25px;
  height: 25px;
  background-color: #47acc1;
  border-radius: 5px;
  appearance: none;
  
  cursor:pointer;
}
.range-input::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background-color: #47acc1;
  border-radius: 5px;
  appearance: none;
  border: 0;
  cursor:pointer;
}
.output {
  position: absolute;
  top: 0;
  left: var(--valuePercent);
  text-align: center;
  transform: translateX(calc(-1 * var(--valuePercent)));
}
.output-text {
	    font-weight: 600;
}
.plastic-none{
	/* display:none; */
	visibility: hidden;
}

.plastic-visible {
	/* display:block; */
	visibility: visible;
}

.form-new-line_div{
	margin-bottom: 1em;
}

.form-new-line_form{
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
/*
.popup {
  padding: 60px 32px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  max-width: 98%;
  background-color: var(--background-color);
  border: 1px solid var(--color);
  border-radius: 2px;
  transition: all 0.3s;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.25);
  z-index: 3;
  color: var(--text-color);
  text-align: center;
  max-width: 420px;
}
.popup h2 {
  color: var(--title-article-color);
  font-size: 24px;
  position: static;
  margin-bottom: 60px;
}
.popup p {
  font-weight: 400;
  margin-bottom: 60px;
  font-size: 21px;
}
.popup__sign-in {
  height: 40px;
  width: fit-content;
  padding-left: 32px;
  padding-right: 32px;
  background-color: var(--title-article-color);
  color: var(--text-color);
  box-sizing: border-box;
  position: relative;
  line-height: 40px;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  margin: 0 auto 8px;
  display: block;
}
.popup__no-thanx {
  height: 40px;
  width: 160px;
  color: var(--color);
  border: none;
  box-sizing: border-box;
  position: relative;
  line-height: 40px;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  background: transparent;
  margin: 0 auto 8px;
  display: block;
}
.popup__sign-in:active {
  top: 1px;
}
.popup__no-thanx:active {
  top: 1px;
}
.close.popup__close {
  font-size: 20px;
  top: 20px;
  position: absolute;
  right: 20px;
  width: 24px;
  height: 24px;
  color: var(--color);
  background-color: transparent;
  border: none;
}
.calc-banner.show {
  opacity: 1;
  visibility: visible;
}
*/

/* На экране скрываем специальные блоки для печати */
.only-print {
    display: none;
}

@media print {
    @page {
        size: A4 portrait;
        margin: 15mm 15mm 15mm 20mm;
    }

    /* Скрываем абсолютно всё на странице... */
    body * {
        visibility: hidden;
    }

    /* ...кроме самой области печати и всего, что внутри неё */
    #print-area,
    #print-area * {
        visibility: visible;
    }

    /* Показываем элементы, предназначенные только для бумаги */
    #print-area .only-print {
        display: block !important;
    }
    #print-area .only-print-flex {
        display: flex !important;
    }

    /* Полностью убираем непечатаемые кнопки, формы и колонки с чекбоксами */
    #print-area .no-print {
        display: none !important;
    }

    /* Размещаем область печати строго в верхнем левом углу листа А4 */
    #print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 20pt;
        color: #111;
    }

    /* Шапка бланка */
    .print-header {
        justify-content: space-between;
        align-items: flex-end;
        border-bottom: 2px solid #222;
        padding-bottom: 10px;
        margin-bottom: 16px;
    }
    .print-header h1 {
        font-size: 20pt;
        margin: 0;
        text-transform: uppercase;
    }
    .print-meta {
        font-size: 12pt;
        color: #444;
        text-align: right;
    }

    /* Таблицы */
    #print-area table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }
    #print-area td,
    #print-area th {
        border: 1px solid #888;
        padding: 7px 10px;
        vertical-align: middle;
    }
    #print-area .order-price,
    #print-area .order-total-price,
    #print-area .norma-paint-price {
        text-align: right;
        white-space: nowrap;
        width: 130px;
    }
    #print-area .norma-paint-hours {
        text-align: center;
        width: 80px;
    }

    /* Итоговая строка */
    #print-area .order-total td {
        font-weight: bold;
        font-size: 20pt;
        background-color: #f2f2f2 !important;
        border-top: 2px solid #222;
        border-bottom: 2px solid #222;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Зачёркнутые позиции */
    #print-area .text-through,
    #print-area .text-through td {
        text-decoration: line-through;
        color: #888;
        background-color: #fafafa;
    }

    /* Блок подписей */
    .print-signatures {
        justify-content: space-between;
        margin-top: 40px;
        page-break-inside: avoid;
    }
    .sign-block {
        width: 45%;
    }
    .sign-line {
        border-bottom: 1px solid #222;
        height: 28px;
        margin-bottom: 4px;
    }
    .sign-caption {
        font-size: 12pt;
        color: #555;
    }
}
