*, html {
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    width: 100%;
    height: 100%;
}

/* Block scrollbar when consent modal active */
body.consent-active {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

.overlay {
    background-color: rgba(51, 51, 51, .5);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999999;
    overflow-y: auto;
}

.overlay-image {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#consent-form {
    position: relative;
    z-index: 10;
}

.window {
    background-color: #fff;
    margin: 24px auto;
    padding: 30px 30px 20px;
    border: 1px solid #dadada;
    border-radius: 4px;
    width:80%;
    max-width: 800px;
    max-height: calc(100vh - 48px);
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.window-header {
    margin-bottom: 15px;
}

.window-header img {
    height: 40px;
    display: block;
    text-align: center;
    width: 40px;
    background-size: 40px 40px;
}

.window-footer {
    border-top: 1px solid #c2c2c2;
    font-size: 1em;
    line-height: 1.4em;
    padding: 20px 0 4px;
    justify-content: space-between;
    display: flex;
}

.window-content {
    overflow-y: auto;
    padding: 0 8px 16px 0;
    max-height: 65vh;
    overflow: auto;
    line-height: 22px;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

 ::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 1px hsla(0, 0%, 100%, 0.5);
}

.title {
    color: #525252;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 28px;
}

button {
    background-color: transparent;
    color: inherit;
    border-width: 0;
    padding: 0;
    cursor: pointer;
    font-family: WebdeSansRegular, Verdana, sans-serif;
    font-size: 1em;
    line-height: 1.4em;
    color: #333;
    margin-left: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    padding: 8px 18px;
    text-align: center;
    border: 1px solid transparent;
}

.btn {
    margin-left: 0;
}

.btn-secondary {
    border: 1px solid #999;
    background-color: transparent;
    color: #999;
}

/* DISABLED: No hover effects (2025-11-13) */
/* .btn-secondary:hover {
    background-color: #999;
    border-color: #999;
    color: #fff;
} */

.btn-primary {
    border: 1px solid rgb(38, 71, 150);
    background-color: rgb(38, 71, 150);
    color: #fff;
}

/* DISABLED: No hover effects (2025-11-13) */
/* .btn-primary:hover {
    background-color: rgb(38, 71, 100);
    border-color: rgb(38, 71, 100);
} */

.details {
    border-bottom: 1px solid #dadada;
    margin-bottom: 15px;
}

.details input {
    float: left;
}

.details .description {
    padding-left: 30px;
}

.description label {
    line-height: 24px;
    font-weight: 700;
}

.description p {
    margin: 5px 0 10px;
}

.title-text {
    font-weight: 700;
    margin-top: 10px;
}

.content-link {
    color: #2269c3;
    text-decoration: none;
}

.content-link:hover {
    color: #2269c3;
    text-decoration: underline;
    cursor: pointer;
}

.toggle {
    text-transform: uppercase;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}


/* Small devices (landscape phones, less than 768px) */

@media (max-width: 767.98px) {
    .window {
        margin: 1em;
        width: 90%;
    }
    .overlay {
        overflow-x: auto;
        overflow-y: auto;
        align-items: baseline;
    }
    .window-footer {
        flex-direction: column;
    }
}