/*
Theme Name: CAP Métiers PRO
Author: XADIA
Author URI: https://www.xadia.fr
Description: Theme pour le site CAP Métiers PRO
Version: 1.1.2
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
html,
body,
.interface-interface-skeleton__content {
    overflow-x: hidden;
}

p, ul {
    line-height: var(--wp--custom--line-height--default);
}

header {
    position: fixed;
    width: 100%;
    z-index: 110;
}

aside.sidebar-container {
    position: fixed;
    display: none;
    z-index: 111;
    width: 100%;
    height: 100%;
}

aside.sidebar-container.is-open {
    display: block;
}

header > div:first-child,
footer > div:not(.cap-metiers-footer-menu-actions-block) {
    padding-right: var(--wp--style--root--padding-right);
    padding-left: var(--wp--style--root--padding-left);
}

.no-scroll {
    overflow: hidden;
}

.is-hidden {
    display: none!important;
}

.sso-content {
    background-image: url("/wp-content/themes/cap-metiers-pro/assets/img/Logo_CMNA.png");
    background-repeat: no-repeat;
    background-size: auto;
    background-position-x: 80%;
    background-position-y: 12%;
}

.dark-mode .sso-content {
    background-image: url("/wp-content/themes/cap-metiers-pro/assets/img/Logo_CMNA_Blanc.png");
}

@media screen and (max-width: 1300px) {
    .sso-content {
        background-image: none;
    }
}

/* Animation */
@keyframes bounce {
    0%, 100% {
      transform: translateY(-25%);
      animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
      transform: none;
      animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}




.loader {
    width: 100px;
    height: 100px;
    background-image: url("/wp-content/themes/cap-metiers-pro/assets/img/loader.gif");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 auto;
    display: inline-block;
    vertical-align: text-top;
}

.loader_white {
    width: 100px;
    height: 100px;
    background-image: url("/wp-content/themes/cap-metiers-pro/assets/img/loader_white.gif");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 auto;
    display: inline-block;
    vertical-align: text-top;
}
.w-20 {
    width: 20px;
}
.h-20 {
    height: 20px;
}




/* Surcharge WP FORMS */
.wpforms-block button[type=submit] {
    border-radius: var(--wp--custom--radius--s)!important;
    font-size: var(--wp--preset--font-size--1125)!important;
    font-weight: var(--wp--custom--font-weight--bold)!important;
    padding-top: var(--wp--custom--spacing--750)!important;
    padding-right: var(--wp--custom--spacing--1875)!important;
    padding-bottom: var(--wp--custom--spacing--750)!important;
    padding-left: var(--wp--custom--spacing--1875)!important;
    height: auto!important;
}
.wpforms-block button[type=submit]:hover {
    background: var(--wp--preset--color--primary)!important;
    border-color: var(--wp--preset--color--primary)!important;
    color: var(--wp--preset--color--secondary)!important;
}
.wpforms-uploader {
    border-style: dotted!important;
}

.only-for-print {
    display: none;
}

@media print {
    @page {
        size: A4 portrait;
    }

    header,
    footer,
    aside,
    .wp-block-cap-metiers-breadcrumb,
    .wp-block-cap-metiers-item-actions,
    .wp-block-cap-metiers-posts-suggested,
    .hide-on-print,
    #tarteaucitronIcon {
        display: none !important;
    }

    main {
        padding-top: 0 !important;
    }

    .only-for-print {
        display: block !important;
    }
}








#tarteaucitronIcon {
    bottom: .5rem;
    left: .5rem;
    display: inline-table!important;
}
@media screen and (max-width: 1300px) {
    #tarteaucitronIcon {
        bottom: 3.4rem;
    }
}
#tarteaucitronIcon > #tarteaucitronManager {
    padding: 0;
}
#tarteaucitronIcon > #tarteaucitronManager > img {
    
}




.dark-mode body {
    background-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--light);
}

.dark-mode .wp-block-heading,
.dark-mode .wp-block-query-title,
.dark-mode .wp-block-post-title {
    color: var(--wp--preset--color--light);
}

.dark-mode iframe {
    background: var(--wp--preset--color--light);
}