﻿/*  Generic Cookiebot custom styles:*/

#CybotCookiebotDialog {
    -webkit-box-shadow: 0px -1px 7px 0px rgba(176,173,176,1) !important;
    -moz-box-shadow: 0px -1px 7px 0px rgba(176,173,176,1) !important;
    box-shadow: 0px -1px 7px 0px rgba(176,173,176,1) !important;
    padding: 10px 5% !important;
    max-width: 100% !important;
    box-shadow: 0 0 5px rgba(0,0,0,0.1) !important;
    overflow-y: scroll !important;
}

    #CybotCookiebotDialog * {
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1.45 !important;
        color: #666666;
        font-family: Acciona, Helvetica, Arial, sans-serif !important;
    }

#CybotCookiebotDialogBodyContent #CybotCookiebotDialogBodyContentTitle {
    color: #666666
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper {
    float: none;
    display: flex;
    padding-top: 2px;
    padding-bottom: 8px;
}

    #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper * {
        float: none !important;
    }

#CybotCookiebotDialogBody * {
    float: none !important;
}

#CybotCookiebotDialogBody {
    max-width: 100% !important;
    padding: 0px
}

#CybotCookiebotDialogBodyLevelDetailsButton:focus {
    outline: none
}

#CybotCookiebotDialogBodyLevelDetailsWrapper, #CybotCookiebotDialogDetailBodyContentTabsAbout,
.CybotCookiebotDialogDetailBodyContentCookieContainerTypes, .CybotCookiebotDialogDetailBodyContentCookieTypeTable thead th {
    background-color: #E8E8E8 !important
}

/*CONTENEDOR BOTONES*/
#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper {
    display: flex !important
}

#CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper #CybotCookiebotDialogBodyLevelButtonLevelOptinDeclineAll {
    color: white;
}

#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper .CybotCookiebotDialogBodyButton {
    text-transform: uppercase !important;
    font-weight: 500 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    float: none !important;
    padding: 2px 4px !important;
}

/*DESPLEGABLE*/
#CybotCookiebotDialogBodyLevelButtons {
    float: none !important;
}

#CybotCookiebotDialogBodyLevelButtonsTable {
    padding-bottom: 4px;
    margin: 11px 0px 9px !important
}

/*MEDIA QUERIES*/
@media all and (min-width: 1280px) {
    #CybotCookiebotDialog {
        padding: 15px 10% !important;
    }
}

@media all and (max-width: 679px) {
    #CybotCookiebotDialog {
        padding: 10px 30px !important;
    }

    #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper {
        flex-direction: column;
        align-items: center;
        width: 100%
    }

    #CybotCookiebotDialogBodyContent {
        padding-top: 1px !important;
    }

    #CybotCookiebotDialogDetailBodyContentTextOverview {
        width: 99% !important
    }
}

@media all and (min-width: 680px) {
    #CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper
    #CybotCookiebotDialogBodyLevelButtonLevelOptinDeclineAll {
        margin-left: 8px;
        width: 240px !important
    }

    #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelectionWrapper {
        width: 656px !important;
        justify-content: space-between !important;
        flex-direction: row
    }

    #CybotCookiebotDialogBodyLevelButtons {
        display: flex;
        justify-content: flex-start;
    }

    #CybotCookiebotDialogBodyLevelButtonsTable {
        width: 656px !important;
        display: flex !important;
    }

    .CybotCookiebotDialogBodyButton:not(#CybotCookiebotDialogBodyLevelButtonLevelOptinDeclineAll) {
        width: 180px !important;
        max-width: 180px !important;
    }

    #CybotCookiebotDialogBodyLevelDetailsWrapper {
        width: 203px
    }

    #CybotCookiebotDialogBodyLevelButtonsSelectPane {
        width: 426px !important
    }

    #CybotCookiebotDialogBodyLevelDetailsButton {
        width: 80%
    }

    #CybotCookiebotDialogDetailBody {
        width: calc(100% - 8px) !important;
        max-width: calc(100% - 8px) !important;
        margin-left: 8px !important
    }

    #CybotCookiebotDialogDetailBodyContentTextOverview {
        width: 100% !important
    }
}

/*MOBILE GIROSCOPE ORIENTATION*/
@media (orientation: landscape) and (max-height: 414px) {
    #CybotCookiebotDialog {
        top: 32% !important;
        transform: scale(0.92) !important;
        transform-origin: 0px bottom;
        max-height: 92% !important;
        bottom: 0px !important;
        position: fixed !important;
    }
}

@media (orientation: landscape) and (max-height: 380px) {
    #CybotCookiebotDialog {
        top: 10% !important;
        transform: scale(0.92) !important;
        transform-origin: 0px bottom;
        max-height: 92% !important;
        bottom: 0px !important;
        position: fixed !important;
    }
}

@media (orientation: landscape) and (max-height: 320px) {
    #CybotCookiebotDialog {
        display: block;
        top: 3% !important;
        transform: scale(0.92) !important;
        transform-origin: 0px bottom;
        max-height: 92% !important;
        bottom: 0px !important;
        position: fixed !important;
    }
}

@media (orientation: portrait) and (max-width: 320px) and (max-height: 580px) {
    #CybotCookiebotDialog {
        display: block;
        top: 15% !important;
        transform: scale(0.84) !important;
        transform-origin: 0px bottom;
        max-height: 95% !important;
        bottom: 0px !important;
    }
}
