/* ITNETCOM_GOOGLE_ANALYTICS_CONSENT_PHASE1B_V2 */
.itn-cookie-consent[hidden],
.itn-cookie-preferences[hidden] {
    display: none !important;
}

.itn-cookie-consent {
    position: fixed;
    z-index: 2147483000;
    right: 20px;
    bottom: 20px;
    left: 20px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px;
    border: 1px solid rgba(0, 0, 0, .16);
    background: #fff;
    color: #111;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .22);
}

.itn-cookie-consent__close,
.itn-cookie-preferences__close {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #171717;
    background: #fff;
    color: #171717;
    font-size: 24px;
    cursor: pointer;
}

.itn-cookie-consent__close {
    position: absolute;
    top: 12px;
    right: 12px;
}

.itn-cookie-consent__body {
    padding-right: 48px;
}

.itn-cookie-consent__eyebrow {
    margin: 0 0 8px;
    color: #d71920;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.itn-cookie-consent h2,
.itn-cookie-preferences h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.itn-cookie-consent p,
.itn-cookie-preferences p {
    margin: 0;
    color: #575757;
    font-size: 15px;
    line-height: 1.65;
}

.itn-cookie-consent a,
.itn-cookie-preferences a {
    color: #b90f16;
    text-underline-offset: 3px;
}

.itn-cookie-consent__actions,
.itn-cookie-preferences__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.itn-cookie-button {
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid #171717;
    background: #fff;
    color: #171717;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.itn-cookie-button:hover,
.itn-cookie-button:focus-visible {
    border-color: #d71920;
    color: #b90f16;
}

.itn-cookie-button--accept {
    border-color: #d71920;
    background: #d71920;
    color: #fff;
}

.itn-cookie-button--accept:hover,
.itn-cookie-button--accept:focus-visible {
    color: #fff;
    filter: brightness(.94);
}

.itn-cookie-preferences {
    position: fixed;
    z-index: 2147483100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, .62);
}

.itn-cookie-preferences__dialog {
    width: min(720px, 100%);
    max-height: min(760px, calc(100vh - 40px));
    overflow: auto;
    padding: 26px;
    border: 1px solid rgba(0, 0, 0, .18);
    background: #fff;
    color: #111;
}

.itn-cookie-preferences__header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.itn-cookie-category {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    margin-top: 24px;
    padding: 20px 0;
    border-top: 1px solid #dedede;
}

.itn-cookie-category h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.itn-cookie-category__status {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.itn-cookie-switch {
    position: relative;
    display: inline-flex;
    width: 52px;
    height: 30px;
    align-items: center;
}

.itn-cookie-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.itn-cookie-switch span {
    position: absolute;
    inset: 0;
    border: 1px solid #767676;
    border-radius: 999px;
    background: #d8d8d8;
    cursor: pointer;
    transition: .2s ease;
}

.itn-cookie-switch span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    transition: .2s ease;
}

.itn-cookie-switch input:checked + span {
    border-color: #d71920;
    background: #d71920;
}

.itn-cookie-switch input:checked + span::after {
    transform: translateX(22px);
}

.itn-cookie-switch input:focus-visible + span {
    outline: 3px solid rgba(215, 25, 32, .28);
    outline-offset: 2px;
}

.itn-cookie-settings-link {
    border: 0;
    padding: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

body.itn-cookie-modal-open {
    overflow: hidden;
}

@media (max-width: 680px) {
    .itn-cookie-consent {
        right: 10px;
        bottom: 10px;
        left: 10px;
        padding: 18px;
    }

    .itn-cookie-consent__body {
        padding-right: 38px;
    }

    .itn-cookie-consent__actions,
    .itn-cookie-preferences__actions {
        flex-direction: column;
    }

    .itn-cookie-button {
        width: 100%;
    }

    .itn-cookie-preferences {
        padding: 10px;
    }

    .itn-cookie-preferences__dialog {
        max-height: calc(100vh - 20px);
        padding: 20px;
    }

    .itn-cookie-category {
        gap: 14px;
    }
}
