@font-face {
    font-family: "Roboto";
    src: url("/wp-content/themes/cef/fonts/roboto/woff2/Roboto-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Roboto";
    src: url("/wp-content/themes/cef/fonts/roboto/woff2/Roboto-Italic.woff2") format("woff2");
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Roboto";
    src: url("/wp-content/themes/cef/fonts/roboto/woff2/Roboto-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Roboto";
    src: url("/wp-content/themes/cef/fonts/roboto/woff2/Roboto-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Roboto";
    src: url("/wp-content/themes/cef/fonts/roboto/woff2/Roboto-ExtraBold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url('/wp-content/themes/cef/fonts/lexend/Lexend-Thin.ttf') format('truetype');
}

@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('/wp-content/themes/cef/fonts/lexend/Lexend-ExtraLight.ttf') format('truetype');
}

@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/wp-content/themes/cef/fonts/lexend/Lexend-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/wp-content/themes/cef/fonts/lexend/Lexend-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/wp-content/themes/cef/fonts/lexend/Lexend-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/wp-content/themes/cef/fonts/lexend/Lexend-SemiBold.ttf') format('truetype');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/wp-content/themes/cef/fonts/roboto/woff2/Roboto-SemiBold.woff2') format('woff2');
}
@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/wp-content/themes/cef/fonts/lexend/Lexend-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/wp-content/themes/cef/fonts/lexend/Lexend-ExtraBold.ttf') format('truetype');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('/wp-content/themes/cef/fonts/roboto/woff2/Roboto-Black.woff2') format('woff2');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/wp-content/themes/cef/fonts/roboto/woff2/Roboto-Light.woff2') format('woff2');
}
/* Structure principale */
#onetrust-banner-sdk .ot-sdk-row,
#onetrust-pc-sdk .ot-sdk-row,
#ot-sdk-cookie-policy .ot-sdk-row {
    padding: 20px 25px 0 25px;
    gap: 16px;
    display: flex;
    flex-direction: column;
}

#onetrust-consent-sdk #onetrust-banner-sdk {
    font-family: 'Lexend';
    border-radius: 15px;
    max-width: 100%!important;
    width: calc(100% - 4%)!important;
    margin: 0;
    bottom: 16px;
    top: auto;
    left: 2%;
    right: 2%;
    transform: none;
}

#onetrust-consent-sdk #onetrust-banner-sdk #onetrust-policy-title {
    font-size: 20px;
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0!important;
    color:#0D1A22;
}

#onetrust-consent-sdk #onetrust-banner-sdk #onetrust-policy-title:after {
    display: none;
}

#onetrust-banner-sdk #onetrust-policy-title img {
    display: block;
    margin: 0 auto;
}

#onetrust-banner-sdk #onetrust-policy-title:before {
    display: none;
}

/* Logo */
#onetrust-banner-sdk.ot-bnr-w-logo .ot-bnr-logo {
    display: block!important;
    width: 50px!important;
    margin: 0!important;
    height: auto!important;
}

/* Contenu de la politique */
#onetrust-banner-sdk #onetrust-policy {
    margin-top: 0!important;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#onetrust-banner-sdk #onetrust-policy h3 {
    margin-top: 0;
    font-size: 19px!important;
}

#onetrust-banner-sdk #onetrust-policy h3:before {
    display: none;
}

#onetrust-consent-sdk #onetrust-policy-text {
    font-size: 14px!important;
    text-align: justify;
    margin: 0;
}

#onetrust-banner-sdk #onetrust-policy-text,
#onetrust-banner-sdk .ot-b-addl-desc,
#onetrust-banner-sdk .ot-gv-list-handler {
    margin: 0;
}

/* Boutons */
#onetrust-consent-sdk #onetrust-banner-sdk button {
    font-size: 14px;
    border-radius: 90px;
    letter-spacing: 0;
    outline: none;
    opacity: 1;
}

#onetrust-banner-sdk #onetrust-button-group-parent {
    padding: 0;
}

/* Bouton Accepter */
#onetrust-consent-sdk #onetrust-banner-sdk button#onetrust-accept-btn-handler {
    position: absolute;
    top: -21px;
    width: max-content;
    right: 15px;
    border-radius: 8px;
    background: #0070BB!important;
    border: 1px solid #0070BB!important;
    margin-bottom: 0;
    font-weight: 600;
    padding: 11px 18px;
    line-height: normal;
    font-family: 'Roboto';
}

/* Bouton Rejeter tout */
#onetrust-banner-sdk #onetrust-reject-all-handler {
    background-color: rgb(255, 255, 255)!important;
    color: rgb(64, 64, 64)!important;
    border: 1px solid rgb(64, 64, 64)!important;
}

#onetrust-consent-sdk #onetrust-banner-sdk button#onetrust-reject-all-handler {
    font-family: 'Roboto';
    position: absolute;
    bottom: 50px;
    right: 0;
    border: 0!important;
    padding: 0;
    color: #0070B8!important;
    border-bottom: 1px solid #0070B8!important;
    border-radius: 0;
    margin-bottom: 0;
    font-weight: normal;
}

#onetrust-consent-sdk #onetrust-banner-sdk button#onetrust-reject-all-handler:hover {
    border-bottom: 2px solid #0070B8!important;
}

/* Bouton Préférences */
#onetrust-banner-sdk .has-reject-all-button #onetrust-pc-btn-handler {
    border: 1px solid #0070BB!important;
    border-radius: 8px;
    color: #0070BB!important;
    font-weight: 400;
    margin-bottom: 0!important;
    padding: 11px 18px;
    line-height: normal;
    display: none;
}

/* Liens */
#onetrust-consent-sdk #onetrust-banner-sdk a[href],
#onetrust-consent-sdk #onetrust-banner-sdk a[href] font,
#onetrust-consent-sdk #onetrust-banner-sdk .ot-link-btn {
    color: #0070B8!important;
    font-weight: normal;
    text-decoration: none;
    border-bottom: 1px solid #0070B8!important;
    outline: none!important;
    margin-left: 0!important;
}

#onetrust-consent-sdk #onetrust-banner-sdk a[href]:hover,
#onetrust-consent-sdk #onetrust-banner-sdk a[href] font:hover,
#onetrust-consent-sdk #onetrust-banner-sdk .ot-link-btn:hover {
    border-bottom: 2px solid #0070B8!important;
}

/* Bouton de fermeture */
#onetrust-banner-sdk.ot-close-btn-link #onetrust-group-container {
    margin-top: 0;
}

#onetrust-banner-sdk.ot-close-btn-link #onetrust-close-btn-container {
    top: 15px;
    right: 20px;
}

#onetrust-banner-sdk.ot-close-btn-link #onetrust-close-btn-container button {
    margin-bottom: 0!important;
    font-size: 13px!important;
    color: #000!important;
}

#onetrust-pc-sdk #close-pc-btn-handler.ot-close-icon {
    outline: none;
    opacity: 1;
}

/* Panel de préférences */
#onetrust-pc-sdk #ot-pc-desc,
#onetrust-pc-sdk .ot-category-desc {
    font-size: 14px!important;
}

#onetrust-pc-sdk .category-menu-switch-handler h3,
#onetrust-pc-sdk .ot-desc-cntr h4,
#onetrust-pc-sdk #ot-lst-title h3,
#onetrust-pc-sdk #ot-pc-lst .ot-acc-hdr,
#onetrust-pc-sdk .ot-host-hdr .ot-host-name {
    font-size: 16px!important;
}

#onetrust-consent-sdk #onetrust-pc-sdk button:not(#clear-filters-handler):not(.ot-close-icon):not(#filter-btn-handler):not(.ot-remove-objection-handler):not(.ot-obj-leg-btn-handler):not([aria-expanded]):not(.ot-link-btn) {
    font-size: 13px!important;
    background-color: #0070BB!important;
    border-color: #0070BB!important;
    border-radius: 8px;
}

#onetrust-consent-sdk #onetrust-pc-sdk .ot-leg-btn-container .ot-active-leg-btn {
    font-size: 13px!important;
}

#onetrust-consent-sdk #onetrust-pc-sdk .category-host-list-handler,
#onetrust-pc-sdk .ot-always-active,
#onetrust-pc-sdk .ot-host-opt li>div div {
    font-size: 14px!important;
}

#onetrust-consent-sdk #onetrust-pc-sdk .ot-active-menu {
    border-color: #0070BB!important;
}

/* Responsive Mobile (max-width: 767px) */
@media (max-width: 767px) {
    #onetrust-banner-sdk .ot-sdk-row {
        padding: 16px 20px 0 20px;
    }

    #onetrust-consent-sdk #onetrust-banner-sdk {
        border-radius: 0;
        left: 0;
        right: 0;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        width: 100%!important;
        max-height: 100%!important;
        overflow: inherit;
        padding: 31px 0 15px;
    }

    #onetrust-consent-sdk #onetrust-banner-sdk #onetrust-policy-title {
        font-size: 16px!important;
        line-height: normal;
        text-align: left;
    }

    #onetrust-consent-sdk #onetrust-policy-text {
        font-size: 12px!important;
        line-height: normal;
        margin-bottom: 0;
            color: #0D1A22;
    }

    #onetrust-banner-sdk #onetrust-policy-text,
    #onetrust-banner-sdk .ot-b-addl-desc,
    #onetrust-banner-sdk .ot-gv-list-handler {
        width: 100%;
        max-height: 42vh;
        overflow: auto;
        line-height: 1.5;
    }

    #onetrust-banner-sdk.otFloatingRoundedCorner {
        width: 100%;
    }

    #onetrust-consent-sdk #onetrust-banner-sdk button#onetrust-reject-all-handler {
        width: auto;
        text-align: center;
        right: 15px;
        bottom: 5px;
    }

    #onetrust-banner-sdk .has-reject-all-button .banner-actions-container {
        display: flex;
        flex-direction: column;
    }

    #onetrust-banner-sdk .has-reject-all-button .banner-actions-container #onetrust-reject-all-handler {
        order: 1;
    }

    #onetrust-banner-sdk .has-reject-all-button .banner-actions-container #onetrust-accept-btn-handler {
        order: 0;
    }

    #onetrust-banner-sdk #onetrust-button-group {
        display: flex;
        flex-direction: column;
    }

    #onetrust-banner-sdk .has-reject-all-button .banner-actions-container {
        order: -1;
    }

    #onetrust-banner-sdk .has-reject-all-button #onetrust-pc-btn-handler {
        order: -1;
        margin-bottom: 12px!important;
    }
}



@media (min-width: 768px) {
#onetrust-consent-sdk #onetrust-banner-sdk button#onetrust-accept-btn-handler {
    top: 6px;
    right: 6px;
    padding: 7px 13px;
    font-size: 13px;
}
}
@media (min-width: 1024px) {
#onetrust-consent-sdk #onetrust-banner-sdk button#onetrust-accept-btn-handler {
    top: 13px;
    right: 15px;
     padding: 11px 18px;
    font-size: 14px;
}
}
/* Responsive Desktop large (min-width: 1440px) */
@media (min-width: 1440px) {
    #onetrust-banner-sdk .ot-sdk-row {
        padding: 20px 35px 0 35px;
    }

    #onetrust-consent-sdk #onetrust-banner-sdk button#onetrust-accept-btn-handler {
        position: absolute;
        top: 15px;
        right: 20px;
    }

    #onetrust-consent-sdk #onetrust-banner-sdk button#onetrust-reject-all-handler {
        position: absolute;
        bottom: 50px;
        right: 20px;
        top: inherit;
        line-height: normal;
    }
}
