/*
 * TYPO3 v14 : ameos_tarteaucitron 4.x embarque tarteaucitron.js 1.35 dont le thème par défaut est blanc/jaune.
 * Ces règles restaurent les couleurs sombres de tarteaucitron.js 1.17 (ameos_tarteaucitron 2.x, site v11).
 * La CSS tarteaucitron est injectée en JS après celle du skin : les sélecteurs sont préfixés par "html body"
 * pour l'emporter.
 */

/* Bandeau */
html body #tarteaucitronRoot #tarteaucitronAlertBig {
    background: #333;
    color: #fff;
}

html body div#tarteaucitronRoot #tarteaucitronAlertBig div.tarteaucitronPartnersList {
    background: #ffffff17;
}

html body #tarteaucitronAlertBig #tarteaucitronPrivacyUrl,
html body #tarteaucitronAlertBig #tarteaucitronPrivacyUrlDialog,
html body #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert,
html body #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert strong,
html body #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert .tarteaucitronPartnersList * {
    color: #fff;
}

html body #tarteaucitronAlertBig #tarteaucitronCloseAlert,
html body #tarteaucitronAlertBig #tarteaucitronPersonalize,
html body #tarteaucitronAlertBig #tarteaucitronPersonalize2,
html body .tarteaucitronCTAButton,
html body #tarteaucitron #tarteaucitronPrivacyUrl,
html body #tarteaucitron #tarteaucitronPrivacyUrlDialog,
html body #tarteaucitronRoot .tarteaucitronDeny,
html body #tarteaucitronRoot .tarteaucitronAllow,
html body .tarteaucitron-magic-block button {
    background: #008300;
    color: #fff;
}

html body #tarteaucitronRoot .tarteaucitronDeny {
    background: #9C1A1A;
}

html body #tarteaucitronAlertBig #tarteaucitronCloseAlert,
html body #tarteaucitron #tarteaucitronPrivacyUrl,
html body #tarteaucitron #tarteaucitronPrivacyUrlDialog {
    background: #fff;
    color: #333;
}

html body #tarteaucitronRoot .tarteaucitronCross::before,
html body #tarteaucitronRoot .tarteaucitronCheck::before,
html body #tarteaucitronRoot .tarteaucitronPlus::before {
    color: #fff;
}

html body #tarteaucitronCloseCross {
    color: #fff;
}

/* Panneau de gestion */
html body #tarteaucitronRoot .tarteaucitronH1,
html body #tarteaucitronRoot .tarteaucitronH2 {
    color: #fff;
}

html body #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronClosePanelCookie,
html body #tarteaucitron #tarteaucitronClosePanel {
    background: #333;
    color: #fff;
}

html body #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronTitle,
html body #tarteaucitron #tarteaucitronServices .tarteaucitronTitle button,
html body #tarteaucitron #tarteaucitronInfo,
html body #tarteaucitron #tarteaucitronServices .tarteaucitronDetails,
html body #tarteaucitronRoot .asCatToggleBtn {
    color: #fff;
    background: #333;
}

html body #tarteaucitron #tarteaucitronServices .tarteaucitronDetails:not(.tarteaucitronDetailsInline) {
    color: #fff;
}

html body #tarteaucitron #tarteaucitronServices .tarteaucitronHidden {
    background: rgba(51, 51, 51, 0.07);
}

html body #tarteaucitron #tarteaucitronServices .tarteaucitronTitle + [id^="tarteaucitronDetails"] {
    background: rgba(51, 51, 51, 0.2);
}

html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine {
    background: rgba(51, 51, 51, 0.1);
}

html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine:hover {
    background: rgba(51, 51, 51, 0.2);
}

html body #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine,
html body #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine:hover {
    background: #333;
}

html body #tarteaucitron .tarteaucitronBorder,
html body #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronCookiesListMain,
html body #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList,
html body #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronHidden,
html body #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine {
    border-color: #333 !important;
}

html body div#tarteaucitronRoot div#tarteaucitronSave {
    background: transparent;
}

/* Statut des services */
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed {
    border-color: #1B870B;
}

html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied {
    border-color: #9C1A1A;
}

html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow,
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronDeny,
html body .tac_activate .tarteaucitronAllow {
    background: #555;
    color: #fff;
}

html body #tarteaucitron #tarteaucitronServices #tarteaucitronAllAllowed.tarteaucitronIsSelected,
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed .tarteaucitronAllow,
html body #tarteaucitron #tarteaucitronServices #tarteaucitronServices_mandatory .tarteaucitronLine button.tarteaucitronAllow,
html body .tac_activate .tac_float .tarteaucitronAllow {
    background-color: #1B870B;
}

html body #tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied.tarteaucitronIsSelected,
html body #tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied2.tarteaucitronIsSelected,
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied .tarteaucitronDeny {
    background-color: #9C1A1A;
}

/* Opacité des boutons non sélectionnés (règles commentées dans tarteaucitron.js 1.35) */
html body #tarteaucitron #tarteaucitronServices #tarteaucitronServices_mandatory .tarteaucitronLine button.tarteaucitronAllow {
    opacity: 0.4;
}

html body .tarteaucitronLine .tarteaucitronAllow,
html body .tarteaucitronLine .tarteaucitronDeny {
    opacity: 0.4;
}

html body #tarteaucitronServices_mandatory button.tarteaucitronAllow {
    opacity: 1;
}

html body .tarteaucitronIsAllowed .tarteaucitronDeny,
html body .tarteaucitronIsDenied .tarteaucitronAllow {
    opacity: 0.4 !important;
}

html body .tarteaucitronIsAllowed .tarteaucitronAllow,
html body .tarteaucitronIsDenied .tarteaucitronDeny,
html body #tarteaucitron #tarteaucitronServices #tarteaucitronAllAllowed.tarteaucitronIsSelected,
html body #tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied.tarteaucitronIsSelected,
html body #tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied2.tarteaucitronIsSelected {
    opacity: 1;
}

/* Petit bandeau / liste des cookies */
html body #tarteaucitronAlertSmall {
    background: #333;
    box-shadow: none;
}

html body #tarteaucitronAlertSmall #tarteaucitronManager,
html body #tarteaucitronAlertSmall #tarteaucitronCookiesNumber {
    color: #fff;
}

html body #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesTitle {
    background: #333;
}

html body #tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesTitle strong {
    color: #fff;
}
