﻿#TPMS {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.fancy-box {
    padding: 20px;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.category {
    font-weight: bold;
    font-size: 1.2em;
}

.subcategory {
    margin-bottom: 10px;
}

@@media (min-width: 768px) {
    .subcategory {
        display: flex;
        align-items: baseline;
    }
}

.subcategory p {
    margin: 0;
    margin-right: 5px;
}

.subcategory input {
    flex: 1;
}

.slider-value {
    margin-left: 10px;
    font-weight: bold;
}

.ui-slider {
    width: 100%; /* Make the slider take the full width of its container */
}

.ui-slider-horizontal .ui-slider-range-min {
    background-color: #c00;
}

.ui-slider-handle {
    background: #c00;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    top: -0.4em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .ui-slider-handle:active {
        transform: scale(1.2);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

.ui-slider-range {
    background: #c00;
}

#TPMS .info-tpms {
    background: #f9f9f9;
    color: black;
    margin-bottom: 30px;
}

.positive-value {
    color: green;
}

.negative-value {
    color: red;
}

.info-bubble {
    display: inline-block;
    width: 12px; /* Smaller width */
    height: 12px; /* Smaller height */
    background-color: #007bff;
    color: white;
    text-align: center;
    border-radius: 50%;
    font-size: 10px; /* Smaller font size */
    line-height: 12px; /* Adjust line height */
    margin-left: 5px;
    position: relative;
    cursor: pointer;
    top: -5px; /* Move up */
    left: -5px; /* Move left */
}

.info-popup {
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    background-color: #f9f9f9;
    color: black;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    z-index: 1000;
    white-space: nowrap;
}

.info-bubble:hover .info-popup {
    display: block;
}

.partners-in-profit {
    position: absolute;
    top: 10px;
    right: 5%;
    height: 60px;
}

#downloadMaterial {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    #downloadMaterial span {
        color: red;
    }

    #downloadMaterial a {
        margin-right: 10px;
    }

.intro {
    text-align: center
}

h2 {
    font-family: "WuerthBook", Calibri, Arial, Helvetica, sans-serif;
}

    h2.centered {
        text-align: center;
    }
