﻿

#cookieConsent {
    position: fixed;
    top: 0;
    z-index: 99999;
    margin-bottom: 0;
    padding: 20px 25px 20px 25px;
    font-size: 15px;
    max-height: 100vh; /* Limit height to the viewport */
    overflow-y: auto; /* Allow vertical scrolling when content overflows */
    box-sizing: border-box; /* Ensure padding is included in the height calculation */
}

#cookieConsent.alert-info {
    color: #000;
    background-color: #E2E2E2;
    border-color: #CCCCCC;
}


#cookieConsent p {
    padding: 0 0 7px 0;
}

#cookieConsent button,
#cookieConsentContent button {
    cursor: pointer;
}

#cookieConsentDetailContainer {
    display: none;
}

#cookieConsentOnlyInternalWarningContainer {
    display: none;
}

#main #cookieConsentDetailContainer,
.showDetail #cookieConsentDetailContainer {
    display: inline-block;
}

.showDetail #cookieConsentBaseContainer {
    display: none;
}

.cookieConsentLink,
.cookieConsentLink:visited {
    color: inherit;
    text-decoration: underline;
}

.cookieConsentLink:hover {
    color: inherit;
}

#cookieConsentCookieSettingsLink {
    cursor: pointer;
}

.cookieConsentButtonContainer {
    margin-top: 20px;
}

#cookieConsent button {
    margin: 0;
    font-size: 12px;
    min-width: 140px;
}

#cookieConsent #cookieSettingsButton {
    margin-right: 15px;
    margin-bottom: 10px;
}

.cookieTitle {
    font-weight: bold;
}

#cookieConsent #cookieSettingsSaveButton.button,
#cookieConsentContent #cookieSettingsSaveButton.button {
    margin-right: 20px;
    margin-bottom: 10px;
}

.externalContentConsent {
    border: 1px solid #808080;
    border-radius: 10px;
    padding: 10px;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    #cookieConsent {
        position: fixed;
        top: inherit;
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: 1700px;
        margin: 0 auto 0 auto;
        font-size: 17px;
    }

    #cookieConsent {
        font-size: 17px;
    }

    #cookieConsent p {
        padding: 0 0 15px 0;
    }

    .cookieConsentButtonContainer {
        margin-top: 0;
        margin-left: 0;
        display: flex;
    }

    #cookieConsent button {
        font-size: 13px;
    }

    #cookieConsentBaseContainer {
        display: flex;
        justify-content: space-between;
    }

    #cookieConsent #cookieSettingsButton {
        margin-bottom: 0;
    }

    #cookieConsent #cookieSettingsSaveButton.button,
    #cookieConsentContent #cookieSettingsSaveButton.button {
        margin-bottom: 0;
    }
}


