#totalPrice1, #totalPrice2, #totalPrice {
    color: red;
    font-weight: bold;
}



.value_q_container {
    position: relative;
    width: 56px;
    top: -8px;
}

.value_q {
    width: 50%;
    height: 16px;
    background: red;
    border: none;
    text-align: center;
    font-size: 12px;
    color: white;
    position: relative;
    z-index: 2;
}

/* Удаляем стрелочки */
.value_q::-webkit-inner-spin-button,
.value_q::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.value_q {
    -moz-appearance: textfield; /* Отключаем стрелочки в Firefox */
}

.value_q_container:before,
.value_q_container:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
}

.value_q:focus {
    outline: none; /* Убираем контур при фокусе */
    box-shadow: none; /* Убираем тени, если они есть */
}


.value_q_container:before {
    top: -3px;
    border-bottom: 7px solid red;
}

.value_q_container:after {
    bottom: -3px;
    border-top: 7px solid red;
    margin-left: -28px;
}

#quantitySlider {
    width: 75%;
    margin: 0 auto;
    height: 10px;
    background: #d3d3d3; /* Градиент от красного к желтому */
    margin-top: 30px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 30px;
    cursor: pointer;
}

#quantitySlider .ui-slider-handle {
    width: 20px;
    height: 20px;
    position: absolute;
    top: -7px;
    margin-left: -10px;
    z-index: 200;
    background: red;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    border: none;
}

#quantitySlider .ui-slider-handle:focus,
body .slider_box .slider_line .ui-slider-handle.ui-state-focus {
    outline: none;
    border: none;
}

#quantitySlider .ui-slider-range {
    background: linear-gradient(to right, #696969, red);
}

/* Стили чекбокса категорий */
.checkbox.style-e {
    display: inline-block;
    position: relative;
    padding-right: 50px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox.style-e input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


.checkbox.style-e input:checked ~ .checkbox__checkmark {
    background-color: red;
}

.checkbox.style-e input:checked ~ .checkbox__checkmark:after {
    left: 21px;
    background-color: #fff;
}

.checkbox.style-e input:checked ~ .checkbox__body {
    font-weight: bold;
}

.checkbox.style-e:hover input ~ .checkbox__checkmark {
    background-color: #eee;
}

.checkbox.style-e:hover input:checked ~ .checkbox__checkmark {
    background-color: red;
}

.checkbox.style-e .checkbox__checkmark {
    position: absolute;
    top: 1px;
    right: 0;
    height: 22px;
    width: 40px;
    background-color: #eee;
    transition: background-color 0.25s ease;
    border-radius: 11px;
    margin-top: 15px;
}

.checkbox.style-e .checkbox__checkmark:after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 16px;
    height: 16px;
    display: block;
    background-color: #000;
    border-radius: 50%;
    transition: left 0.25s ease;
}

.checkbox.style-e .checkbox__body {
    font-family: 'Arial', Arial, serif;
    color: white;
    line-height: 1.4;
    font-size: 18px;
    transition: color 0.25s ease;
    margin-top: 15px;
}

#category_type {
  margin-left: 80px;
  margin-top: 20px;
  padding-bottom: 20px;
}

label.windows.checkbox.style-g.col .checkbox__body {
    margin-left: -80px;
    margin-top: 5px;
}

label.linux.checkbox.style-g.col .checkbox__body {
    margin-left: -100px;
    margin-top: 5px;
}

label.another.checkbox.style-g.col .checkbox__body {
    margin-left: -100px;
    margin-top: 5px;
}


.checkbox-dropdown {
    margin-top: 20px;
}

.checkbox-dropdown-list li {
    list-style: none; /* Скрываем маркеры списка */
    text-indent: -1em; /* Сдвигаем элементы списка влево */
}

/* Стили чекбокса подкатегорий */
.checkbox.style-g {
    display: inline-block;
    position: relative;
    padding-left: 50px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox.style-g input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox.style-g input:checked ~ .checkbox__checkmark {
    background-color: transparent;
    border: none;
}

.checkbox.style-g input:checked ~ .checkbox__checkmark:after {
    opacity: 1;
    left: 8px;
}

.checkbox.style-g input:checked ~ .checkbox__body {
    font-weight: bold;
}

.checkbox.style-g:hover input ~ .checkbox__checkmark {
    background-color: #eee;
}

.checkbox.style-g:hover input:checked ~ .checkbox__checkmark {
    background-color: #eee;
}

.checkbox.style-g .checkbox__checkmark {
    position: absolute;
    top: 1px;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: transparent;
    border: 1px solid #fff; /* Белый контур вокруг квадратика */
    transition: background-color 0.25s ease;
    border-radius: 4px;
}

.checkbox.style-g .checkbox__checkmark:after {
    content: "";
    position: absolute;
    left: -20px;
    top: -8px;
    width: 12px;
    height: 25px;
    border: 1px solid red;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.25s ease, left 0.25s ease;
}

.checkbox.style-g .checkbox__body {
    color: white;
    line-height: 1.4;
    font-size: 16px;
    transition: font-weight 0.25s ease;
    margin-top: 5px;
}

.checkbox-dropdown-list {
    text-align: left;
    margin-left: 30px;
}

#calculatorForm {
    border: 1px solid rgba(0, 0, 0, 0.5); /* Цвет рамки и прозрачность */
    padding: 20px; /* Отступ внутри рамки */
    background-color: rgba(19, 19, 19, 0.9); /* Цвет фона и прозрачность */
}

.total_price {
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.5); /* Цвет рамки и прозрачность */
    padding: 10px; /* Отступ внутри рамки */
    background-color: rgba(255, 255, 255, 0.9); /* Цвет фона и прозрачность */
}
.total_price p {
    font-size: 16px;
    margin-bottom: 5px;
}
.price_calc {
    background: url("../img/price_bg.jpg");
    background-size: cover;
}

.container-calc h1 {
    margin-bottom: 10px; text-align: center;
    color: white;
}

.container_switch {
    font-family: Arial, sans-serif;
    text-align: center;
    border: 1px solid #444;

}

.container-calc h3 {
    margin-bottom: 30px; text-align: center;
    color: white;
}

.comment {
    color: rgba(255, 255, 255, 0.5); /* Темный цвет текста */
    margin-top: -50px;
}
.info {
    color: rgba(255, 255, 255, 0.5); /* Темный цвет текста */
    margin-top: 110px;
    font-size: 12px;
    text-align: right;
}

@media screen and (min-width: 1200px) {
    .value_q_container {
        margin-left: 103%;
    }
}

@media screen and (max-width: 1400px) {
     .value_q_container {
        margin-left: 103%;
    }

    #downloadBtn, #tickBtn,
    #downloadBtnRental, #tickBtnRental {
        font-size: 14px;
        padding: 4px 8px;
    }

    .checkbox.style-e,
    .checkbox.style-g {
        padding-right: 30px;
        padding-left: 30px;
    }

    .comment {
        font-size: 14px;
    }

    .checkbox.style-e .checkbox__checkmark {
      height: 16px;
      width: 28px;
      margin-top: 12px;
      margin-bottom: 20px;
      margin-right: 5px;
    }

    .checkbox.style-e .checkbox__checkmark:after {
      left: 1px;
      top: 2px;
      width: 12px;
      height: 12px;
    }

    .checkbox.style-e input:checked ~ .checkbox__checkmark:after {
      left: 15px;
    }

    .checkbox-dropdown .checkbox.style-g .checkbox__checkmark {
      left: -20px;
    }

    .checkbox-dropdown .checkbox.style-g .checkbox__checkmark:after {
      left: -20px;
    }

    .checkbox.style-e .checkbox__body {
      font-size: 16px;
      margin-top: 10px;
      padding-right: 10px;
    }

    label.windows.checkbox.style-g.col .checkbox__body {
      font-size: 14px;
      margin-right: -50%;
    }

    label.linux.checkbox.style-g.col .checkbox__body {
      font-size: 14px;
      margin-right: -50%;
    }

    label.another.checkbox.style-g.col .checkbox__body {
      font-size: 14px;
      margin-right: -50%;
    }



    #category_type {
      margin-bottom: 30px;
    }

    .checkbox-dropdown-list {
      margin-bottom: 50px;
    }

    #totalPrice1, #totalPrice2, #totalPrice {
        color: red;
        font-weight: bold;
        font-size: 14;
    }
}

@media screen and (max-width: 1200px) {
     .value_q_container {
        margin-left: 103%;
    }

    #downloadBtn, #tickBtn,
    #downloadBtnRental, #tickBtnRental {
        font-size: 14px;
        padding: 4px 8px;
    }

    .checkbox.style-e,
    .checkbox.style-g {
        padding-right: 30px;
        padding-left: 30px;
    }

    .comment {
        font-size: 14px;
    }

    .checkbox.style-e .checkbox__checkmark {
      height: 16px;
      width: 28px;
      margin-top: 12px;
      margin-bottom: 20px;
      margin-right: 5px;
    }

    .checkbox.style-e .checkbox__checkmark:after {
      left: 1px;
      top: 2px;
      width: 12px;
      height: 12px;
    }

    .checkbox.style-e input:checked ~ .checkbox__checkmark:after {
      left: 15px;
    }

    .checkbox-dropdown .checkbox.style-g .checkbox__checkmark {
      left: -20px;
    }

    .checkbox-dropdown .checkbox.style-g .checkbox__checkmark:after {
      left: -20px;
    }

    .checkbox.style-e .checkbox__body {
      font-size: 16px;
      margin-top: 10px;
      padding-right: 10px;
    }

    label.windows.checkbox.style-g.col .checkbox__body {
      font-size: 14px;
      margin-top: 25px;
      margin-right: -50%;
    }

    label.linux.checkbox.style-g.col .checkbox__body {
      font-size: 14px;
      margin-top: 25px;
      margin-right: -50%;
    }

    label.another.checkbox.style-g.col .checkbox__body {
      font-size: 14px;
      margin-top: 25px;
      margin-right: -50%;
    }


    label.windows.checkbox.style-g.col .checkbox__checkmark {
       left: 20%;
    }

    label.linux.checkbox.style-g.col .checkbox__checkmark {
       left: 15%;
    }

    label.another.checkbox.style-g.col .checkbox__checkmark {
       left: 15%;
    }

    #category_type {
      margin-bottom: 30px;
    }

    .checkbox-dropdown-list {
      margin-bottom: 50px;
    }

    #totalPrice1, #totalPrice2, #totalPrice {
        color: red;
        font-weight: bold;
        font-size: 14;
    }
}

@media screen and (max-width: 991px) {
         .value_q_container {
        margin-left: 103%;
    }

    #downloadBtn, #tickBtn,
    #downloadBtnRental, #tickBtnRental {
        font-size: 14px;
        padding: 4px 8px;
    }

    .checkbox.style-e,
    .checkbox.style-g {
        padding-right: 30px;
        padding-left: 30px;
    }

    .comment {
        font-size: 14px;
    }

    .checkbox.style-e .checkbox__checkmark {
      height: 16px;
      width: 28px;
      margin-top: 12px;
      margin-bottom: 20px;
      margin-right: 5px;
    }

    .checkbox.style-e .checkbox__checkmark:after {
      left: 1px;
      top: 2px;
      width: 12px;
      height: 12px;
    }

    .checkbox.style-e input:checked ~ .checkbox__checkmark:after {
      left: 15px;
    }

    .checkbox-dropdown .checkbox.style-g .checkbox__checkmark {
      left: -20px;
    }

    .checkbox-dropdown .checkbox.style-g .checkbox__checkmark:after {
      left: -20px;
    }

    .checkbox.style-e .checkbox__body {
      font-size: 14px;
      margin-top: 10px;
      padding-right: 10px;
    }

    label.windows.checkbox.style-g.col .checkbox__body {
      font-size: 14px;
      margin-top: 25px;
      margin-right: -50%;
    }

    label.linux.checkbox.style-g.col .checkbox__body {
      font-size: 14px;
      margin-top: 25px;
      margin-right: -50%;
    }

    label.another.checkbox.style-g.col .checkbox__body {
      font-size: 14px;
      margin-top: 25px;
      margin-right: -50%;
    }


    label.windows.checkbox.style-g.col .checkbox__checkmark {
       left: 0%;
    }

    label.linux.checkbox.style-g.col .checkbox__checkmark {
       left: -10%;
    }

    label.another.checkbox.style-g.col .checkbox__checkmark {
       left: -10%;
    }

    #category_type {
      margin-bottom: 30px;
    }

    .checkbox-dropdown-list {
      margin-bottom: 50px;
    }

    #totalPrice1, #totalPrice2, #totalPrice {
        color: red;
        font-weight: bold;
        font-size: 14;
    }

}

@media screen and (max-width: 767px) {
    .value_q_container {
        margin-left: 103%;
    }

    #downloadBtn, #tickBtn,
    #downloadBtnRental, #tickBtnRental {
        font-size: 14px;
        padding: 4px 8px;
    }

    .checkbox.style-e,
    .checkbox.style-g {
        padding-right: 30px;
        padding-left: 30px;
    }

    .comment {
        font-size: 14px;
    }

    .checkbox.style-e .checkbox__checkmark {
      height: 16px;
      width: 28px;
      margin-top: 12px;
      margin-bottom: 20px;
      margin-right: 5px;
    }

    .checkbox.style-e .checkbox__checkmark:after {
      left: 1px;
      top: 2px;
      width: 12px;
      height: 12px;
    }

    .checkbox.style-e input:checked ~ .checkbox__checkmark:after {
      left: 15px;
    }

    .checkbox-dropdown .checkbox.style-g .checkbox__checkmark {
      left: -20px;
    }

    .checkbox-dropdown .checkbox.style-g .checkbox__checkmark:after {
      left: -20px;
    }

    .checkbox.style-e .checkbox__body {
      font-size: 14px;
      margin-top: 10px;
      padding-right: 10px;
    }

    label.windows.checkbox.style-g.col .checkbox__body {
      font-size: 14px;
      margin-top: 25px;
      margin-right: -50%;
    }

    label.linux.checkbox.style-g.col .checkbox__body {
      font-size: 14px;
      margin-top: 25px;
      margin-right: -50%;
    }

    label.another.checkbox.style-g.col .checkbox__body {
      font-size: 14px;
      margin-top: 25px;
      margin-right: -50%;
    }


    label.windows.checkbox.style-g.col .checkbox__checkmark {
       left: 20%;
    }

    label.linux.checkbox.style-g.col .checkbox__checkmark {
       left: 15%;
    }

    label.another.checkbox.style-g.col .checkbox__checkmark {
       left: 15%;
    }

    #category_type {
      margin-bottom: 30px;
    }

    .checkbox-dropdown-list {
      margin-bottom: 50px;
    }

    #totalPrice1, #totalPrice2, #totalPrice {
        color: red;
        font-weight: bold;
        font-size: 14;
    }
}

@media screen and (max-width: 479px) {
    .value_q_container {
        margin-left: 103%;
    }

    #downloadBtn, #tickBtn,
    #downloadBtnRental, #tickBtnRental {
        font-size: 14px;
        padding: 4px 8px;
    }

    .checkbox.style-e,
    .checkbox.style-g {
        padding-right: 30px;
        padding-left: 30px;
    }

    .comment {
        font-size: 14px;
    }

    .checkbox.style-e .checkbox__checkmark {
      height: 16px;
      width: 28px;
      margin-top: 12px;
      margin-bottom: 20px;
      margin-right: 5px;
    }

    .checkbox.style-e .checkbox__checkmark:after {
      left: 1px;
      top: 2px;
      width: 12px;
      height: 12px;
    }

    .checkbox.style-e input:checked ~ .checkbox__checkmark:after {
      left: 15px;
    }

    .checkbox-dropdown .checkbox.style-g .checkbox__checkmark {
      left: -20px;
    }

    .checkbox-dropdown .checkbox.style-g .checkbox__checkmark:after {
      left: -20px;
    }

    .checkbox.style-e .checkbox__body {
      font-size: 14px;
      margin-top: 10px;
      padding-right: 10px;
    }

    label.windows.checkbox.style-g.col .checkbox__body {
      font-size: 14px;
      margin-top: 25px;
      margin-right: -50%;
    }

    label.linux.checkbox.style-g.col .checkbox__body {
      font-size: 14px;
      margin-top: 25px;
      margin-right: -50%;
    }

    label.another.checkbox.style-g.col .checkbox__body {
      font-size: 14px;
      margin-top: 25px;
      margin-right: -50%;
    }


    label.windows.checkbox.style-g.col .checkbox__checkmark {
       left: 10%;
    }

    label.linux.checkbox.style-g.col .checkbox__checkmark {
       left: -5%;
    }

    label.another.checkbox.style-g.col .checkbox__checkmark {
       left: -5%;
    }

    #category_type {
      margin-bottom: 30px;
    }

    .checkbox-dropdown-list {
      margin-bottom: 50px;
    }

    #totalPrice1, #totalPrice2, #totalPrice {
        color: red;
        font-weight: bold;
        font-size: 14;
    }
}
