:root {
    --bosch-black: #000000;
    --bosch-blue: #003C6B;
    --bosch-blue-light: #0868A1;
    --bosch-blue-dark: #001E36;
    --bosch-gray-bg: #F2F5F7;
    --bosch-gray-dark: #4E4E4E;
    --bosch-gray-title: #E5EBF0;
    --bosch-gray-switch: #D4D4D4;
    --bosch-green: #03A76A;
    --bosch-red: #ED0007;
    --bosch-red-light: #FF4D4D;
    --bosch-white: #FFFFFF;
    --bosch-white-10: rgba(255,255,255,0.1);
    --bosch-yellow: #FEF5BF;
}

@font-face {
    font-family: 'Neutraface2TextBook';
    src: url("../fonts/Neutraface2TextBook-Regular-umPWjtB.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Neutraface2TextBook';
    src: url("../fonts/Neutraface2TextBook-Italic-ydsyt6k.ttf") format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Neutraface2TextBook';
    src: url("../fonts/Neutraface2TextBook-Bold-RRgfNMp.ttf") format('truetype');
    font-weight: bold;
    font-style: normal;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
}

body {
    background-color: var(--bosch-gray-bg);
}

main {
    height: 100%;
    width: 100%;
}

.hide {
    display: none !important;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#header-main {
    width: 100%;
    padding: 15px 40px;
    background-color: var(--bosch-white);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    color: var(--bosch-black);
    font-family: Neutraface2TextBook, sans-serif;
    font-size: 18px;
    box-sizing: border-box;
    row-gap: 20px;
    border-bottom: 1px solid var(--bosch-black);
}

#header-main-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

#header-main-left img {
    width: 175px;
}

#header-main-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 40px;
}

.header-main-link {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.header-main-link a {
    text-decoration: none;
    color: var(--bosch-black);
}

.header-main-link .fa-solid {
    font-size: 18px;
    margin-right: 10px;
}

#header-main-session {
    flex-direction: column;
}

#header-main-store {
    font-size: 14px;
}

#header-main-caret .fa-solid {
    font-size: 18px;
    margin-left: 10px;
}

#header-user-button {
    cursor: pointer;
    position: relative;
}

#header-user-dropdown {
    display: none;
    position: absolute;
    background-color: var(--bosch-white);
    border: 1px solid var(--bosch-black);
    min-width: 160px;
    overflow: auto;
    top: 55px;
    z-index: 1;
}

#header-user-dropdown a {
    color: var(--bosch-black);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.header-user-dropdown-show {
    display: block !important;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 71px;
    min-width: 71px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bosch-red);
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.toggle-switch-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--bosch-white);
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-switch-slider {
    background-color: var(--bosch-green);
}

input:checked + .toggle-switch-slider:before {
    -webkit-transform: translateX(36px);
    -ms-transform: translateX(36px);
    transform: translateX(36px);
}

.toggle-switch .toggle-switch-text {
    position: absolute;
    top: 7px;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: Neutraface2TextBook, sans-serif;
    font-size: 18px;
}

.toggle-switch .toggle-switch-text::after {
    content: attr(data-off);
    position: absolute;
    right: 12px;
    color: var(--bosch-white);
    opacity: 1;
    transition: all 0.4s ease-in-out;
}

.toggle-switch .toggle-switch-text::before {
    content: attr(data-on);
    position: absolute;
    left: 10px;
    color: var(--bosch-white);
    opacity: 0;
    transition: all 0.4s ease-in-out;
}

.toggle-switch input:checked~.toggle-switch-text::after {
    opacity: 0;
}

.toggle-switch input:checked~.toggle-switch-text::before {
    opacity: 1;
}

input:disabled + .toggle-switch-slider {
    background-color: var(--bosch-gray-switch);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: var(--bosch-white);
    border: 1px solid var(--bosch-black);
    margin: 10% auto;
    padding: 20px;
}

.modal-close {
    position: relative;
    color: var(--bosch-black);
    background-color: var(--bosch-white);
    float: right;
    border: 1px solid var(--bosch-black);
    border-radius: 50%;
    height: 24px;
    width: 24px;
    line-height: 24px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    left: 32px;
    top: -32px;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted var(--bosch-black);
    cursor: pointer;
}

.tooltip .tooltip-text {
    visibility: hidden;
    background-color: var(--bosch-black);
    color: var(--bosch-white);
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;

    position: absolute;
    z-index: 1;

    top: -5px;
    left: 110%;
}

.tooltip:hover .tooltip-text, .tooltip:focus .tooltip-text, .tooltip:active .tooltip-text {
    visibility: visible;
}

.tooltip .tooltip-text::after {
    content: " ";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 34px;
    width: 34px;
    background-color: var(--bosch-white);
    border-radius: 5px;
    border: 1px solid var(--bosch-green);
}

.checkbox-container:hover input ~ .checkbox-checkmark {
    background-color: var(--bosch-gray-bg);
}

.checkbox-container input:checked ~ .checkbox-checkmark {
    background-color: var(--bosch-green);
}

.checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkbox-checkmark:after {
    display: block;
}

.checkbox-container .checkbox-checkmark:after {
    left: 13px;
    top: 7px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.radio-container {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: var(--bosch-white);
    border: 2px solid var(--bosch-blue);
    border-radius: 50%;
}

.radio-container:hover input ~ .radio-checkmark {
    background-color: var(--bosch-gray-title);
}

.radio-container input:checked ~ .radio-checkmark {
    background-color: var(--bosch-blue);
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-container input:checked ~ .radio-checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.radio-container .radio-checkmark:after {
    top: 7px;
    left: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.autocomplete {
    background-color: var(--bosch-white);
}

.autocomplete div {
    padding: 15px 20px;
    color: var(--bosch-black);
    font-family: Neutraface2TextBook, sans-serif;
    font-size: 18px;
    border: 1px solid var(--bosch-black);
    border-top: none;
}

.autocomplete:first-child {
    border-top: 1px solid var(--bosch-black);
}

.modal {
    display: none;
    width: 100vw;
}

.modal-content {
    border-radius: 5px;
    width: 685px;
    max-width: 95%;
    box-sizing: border-box;
}

.modal-wrapper {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.modal-show {
    display: block;
}

.collapsible {
    color: var(--bosch-white);
    background-color: var(--bosch-blue);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 20px;
    width: 100%;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    box-sizing: border-box;
}

.collapsible-content {
    padding: 0;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    box-sizing: border-box;
    border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
}

.collapsible:after {
    content: '\f107';
    font: normal normal normal 18px/1 FontAwesome;
    margin-left: 5px;
}

.collapsible-active:after {
    content: '\f106';
    font: normal normal normal 18px/1 FontAwesome;
}

#glossary-modal-content {
    width: 95.0%;
    max-width: 1280px;
}

.glossary-modal-title {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.glossary-image {
    max-width: 100%;
}

.loading-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.loading-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid var(--bosch-black);
    border-color: var(--bosch-black) transparent var(--bosch-black) transparent;
    animation: loading-ring 1.2s linear infinite;
}

@keyframes loading-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 780px) {
    #header-main {
        flex-direction: column;
    }
    #header-main-right {
        flex-direction: column;
    }
}