body, .form-control { font-size: 16px !important; }
hr { width: 100%; }

header { background: #2d2d2d; margin-bottom: 1.5rem; }
header .logo-text { font-size: 18px; color: #ddd; margin-left: 1rem; }
main { flex: 1 0 auto; }
footer { flex: 0 0 auto; }
footer a { text-decoration: none; color: #2A2F5B; transition: .5s; }
footer a:hover { text-decoration: none; transition: .5s; }
footer .phone:hover { color: #2A2F5BDD; }
option .placeholder { font-style: italic; color: #999; }

.wrapper { display: flex; flex-direction: column; }

.logo { height: 57px; }

.card { border-radius: 12px; }
.form-control { border-radius: 6px; }

.shop-btn {
    margin: 0 .15rem;
    padding: 10px 18px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.5);
    transition: all .5s;
}
.shop-btn:hover {
    background: rgba(185, 185, 185, 0.18);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all .5s;
}

.documents label, .contacts label, .socials label {
    font-weight: 600;
    font-size: 16px !important;
    padding-bottom: 0.5rem;
}

.calculator .prices {
    margin-bottom: 10px;
    padding: 0 10px;
    img { height: 30px; }
    .gold-grade { color: #ffda00; }
}
.calculator .form-group label {
    font-size: 14px !important;
}
.calculator a {
    color: #2A2F5B;
    font-size: 16px;
    border-radius: 12px;
    b { margin-bottom: 2px; }
}
.calculator img {
    margin-right: 10px;
    width: 32px;
}
.calculator .card-body > label {
    width: 100%;
    font-size: 20px !important;
    text-align: center;
    font-weight: 600;
}
.calculator .btn-whatsapp {
    color: #fff;
    background-color: #29a71a;
    transition: all .5s;
}
.calculator .btn-phone {
    background-color: #ffda00;
    transition: all .5s;
}
.calculator .summa {
    font-size: 20px !important;
}
.calculator.gold {
    width: 49.5%;
    margin-bottom: 1%;
}
.calculator.tech {
    width: 49.5%;
    margin-bottom: 1%;
}
.calculator.common {
    width: 100%;
}

.socials a {
    background-color: #00000018;
    border-radius: 30px;
    padding-right: 15px;
    color: #2A2F5BCC;
}
.socials img {
    background-color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    width: 38px;
}

.copyright {
    font-size: 14px;
    margin-top: 3rem !important;
    margin-bottom: 1rem !important;
}

@media (max-width: 460px) {
    header { margin-bottom: 1rem; }
    header .logo-text { font-size: 14px; }
    .calculator .prices {
        /* margin-left: -0.25rem !important; */
        justify-content: center !important;
        .price-grade, .price { justify-content: center !important; }
    }
    .calculator.gold {
        width: 100%;
        margin-bottom: 1rem;
    }
    .calculator.tech {
        width: 100%;
        margin-bottom: 1rem;
        .prices .price {
            margin-top: 4px;
            font-size: 14px;
        }
    }
    .calculator .form-group { padding: 10px !important; }
    .documents { margin-top: -1.5rem; }
    .documents label, .contacts label, .socials label { padding-top: 1.5rem; }
    .range-input input[type="range"] {
        height: 5px;
    }
    .range-input input[type="range"]::-webkit-slider-thumb {
        width: 15px;
        height: 15px;
    }
    .range-input input[type="range"]::-moz-range-thumb {
        width: 15px;
        height: 15px;
    }
}

.range-input { position: relative; }
.range-input input[type="range"] {
    position: absolute;
    height: 4px;
    bottom: 1px;
    padding: 0;
    margin: 0;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    pointer-events: auto;
    cursor: pointer;

    background: linear-gradient(
        to right,
        #ffda01 0%,
        #ffda01 var(--fill-percent, 0%),
        #dee2e6 var(--fill-percent, 0%),
        #dee2e6 100%
    );

    appearance: none;
}

/* Thumb */
.range-input input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #ffda01;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.range-input input[type="range"]::-moz-range-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    background: #ffda01;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}
