/*
  ___  ______  _____   _____  _   _  _____ ___  ___ _____
 / _ \ | ___ \|  __ \ |_   _|| | | ||  ___||  \/  ||  ___|
/ /_\ \| |_/ /| |  \/   | |  | |_| || |__  | .  . || |__
|  _  ||    / | | __    | |  |  _  ||  __| | |\/| ||  __|
| | | || |\ \ | |_\ \   | |  | | | || |___ | |  | || |___
\_| |_/\_| \_| \____/   \_/  \_| |_/\____/ \_|  |_/\____/
Sommaire
    -1/ Unset + General
    -2/ Nav
    -3/ Header
    -4/ Card Actu
    -5/ Container Alerte
    -6/ Archive
    -7/ Bloc repeteur
    -8/ Trombi
    -9/ Page files
 */

/* 1 - UNSET + GENERAL */
#wp-admin-bar-wp-logo,
#wp-admin-bar-comments {
    display: none;
}

body {
    background-color: #fff;
    color: var(--color-content);
}
main {
    min-height: 80vh;
    font-size: 18px;
}
.pageAndPostContent .wp-block-image img {
    max-width: 100%;
    object-fit: contain;
    height: auto;
}
footer {
    border-top: 1px rgba(0, 0, 0, 0.15) solid;
}
section {
    padding: 2rem 0;
}
section:nth-of-type(1) {
    /* padding: 0 !important; */
}

footer li,
.top-bar li,
.post-categories li,
.cat-actus > ul > li {
    list-style: none;
}
a:hover {
    text-decoration: none;
    color: unset;
}
a {
    color: unset;
}

ul.post-categories {
    margin-bottom: 0;
}

img.custom-logo {
    max-width: 140px;
    max-height: 140px;
    height: auto;
    object-fit: contain;
}
@media (max-width: 575px) {
    .top-menu img.custom-logo,
    footer img.custom-logo {
        max-height: 60px;
    }
}
@media (max-width: 575px) {
    footer .col-md-4 {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    footer .social-links {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 1rem 0 !important;
    }
}
.acf-map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}
.acf-map img {
    max-width: inherit !important;
}
.btn-custom {
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 20px;
    transition: all 0.3s;
}
.footerCategLinks{
    border: 1px solid gray;
    padding: 1px 4px;
    margin: 4px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
}
.footerCategLinks:hover{
    border-color: transparent !important;
    font-weight: 600;
}
/* ----------------------------------------------------------------------------- */
/* 2 - NAV */
.btn-hamburger {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 5px;
    color: rgba(0, 0, 0, 0.5);
}
.top-bar {
    border-bottom: 1px solid #f7f7f7;
    padding: 4px 0;
    height: 2.5rem;
}
.top-bar ul {
    margin-bottom: 0;
}
.top-menu {
    padding: 4px 0;
}
nav.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    transition: all 0.5s;
    background-color: #fff;
    /* box-shadow: var(--color-boxshadow)  0px 1px 6px; */
}
.navbar-toggler {
    transition: color 300ms linear;
    margin-left: auto;
    -webkit-transition: color 300ms linear;
    -moz-transition: color 300ms linear;
    -ms-transition: color 300ms linear;
    -o-transition: color 300ms linear;
}
.navbar a.links-logo-navbar.on-top {
    transition: all 0.3s;
}
nav .nav-link {
    font-size: 18px;
    /* font-weight: bold; */
    letter-spacing: 1px;
    /* text-transform: uppercase; */
}
@media (max-width: 767px) {
    #bs-navbar-collapse {
        border-radius: 5px;
        border: 2px solid transparent;
    }
}
.navbar-collapse {
    justify-content: flex-end;
}
a.links-logo-navbar img {
    width: auto;
    max-height: 80px;
    max-width: 140px;
    object-fit: contain;
}
@media (max-width: 1000px) {
    #bs-navbar-collapse {
        justify-content: flex-end;
    }
}
@media (max-width: 767px) {
    #bs-navbar-collapse {
        justify-content: center;
    }
    a.links-logo-navbar {
        display: flex;
        justify-content: flex-start;
    }
}
nav .top-menu a.links-logo-navbar {
    transform: scale(0);
    transition: all 0.3s;
}
li.menu-item a:not(.dropdown-item) {
    text-transform: uppercase;
}

@media (min-width: 768px) {
    #mainnavbar li.menu-item:after {
        content: "";
        position: absolute;
        top: 30%;
        bottom: 30%;
        right: 0;
        width: 1px;
        background-color: #dddddd;
    }
    #mainnavbar li.menu-item {
        position: relative;
        padding: 0 0.3rem;
    }
}
li.menu-item.current_page_item {
    color: var(--color-title);
}
li.menu-item:not(.current_page_item):hover {
    color: var(--color-secondary);
}

#mainnavbar.scrolled {
    transform: translateY(-2.5rem);
    -webkit-transform: translateY(-2.5rem);
    -moz-transform: translateY(-2.5rem);
    -ms-transform: translateY(-2.5rem);
    -o-transform: translateY(-2.5rem);
}

/* ----------------------------------------------------------------------------- */
/* 3 - HEADER&FOOTER */
header.homePage {
    height: 80vh;
    overflow: hidden;
}
.swiper-pagination-bullet-active {
    opacity: 1;
}

/*-----V2 CONSTRUCTEUR-----*/
/* Titre */
.titleSection {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 28px;
    letter-spacing: 4px;
    font-weight: 700;
    color: var(--color-title);
}
.subTitleSection {
    font-size: 22px;
    font-weight: 400;
    display: block;
    padding-top: 0;
    font-style: italic;
    color: var(--color-subtitle);
    /* margin-bottom: 1.5rem; */
}

/* Carrousel */
.swiper-pagination {
    bottom: 0px !important;
    top: unset !important;
}
.swiper-effect1 .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 60%;
    height: 300px;
}
.swiper-effect1 .swiper-slide img {
    display: block;
    width: 100%;
}
.swiper-effect2 {
    min-height: 25rem;
}
.swiper-effect2 .swiper-pagination {
    bottom: -10%;
    top: unset;
}
@media (max-width: 768px) {
    .swiper-effect2 {
        min-height: 300px;
    }
}
/* CardActu */

.cardActu {
    box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
    overflow: hidden;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    background-color: #f1f1f1;
}
.cardActu .card-image {
    max-height: 60%;
    overflow: hidden;
}
.cardActu .card-content {
    padding: 1rem;
}
.cardActu .card-content span {
    opacity: 0.7;
}

/* Indicateurs */
.card-indicateur {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* box-shadow: 1px 2px 6px var(--color-boxshadow); */
}
.img-indicator {
    height: 120px;
    width: 120px;
    object-fit: scale-down;
    border-radius: 50%;
    box-shadow: 3px 2px 3px rgba(0, 0, 0, 0.7);
    border: 4px solid white;
}
.valueIndicator {
    font-size: 2.2rem;
    font-weight: bold;
    /* text-shadow: var(--color-primary-alpha) 5px 5px 2px; */
}
.titleIndicator {
    font-style: italic;
    text-align: center;
    /* opacity: .9; */
    color: var(--color-subtitle);
}
/* Galerie */
.frame {
    /* padding: 1rem; */
    background-color: rgb(255, 255, 255);
    margin: 5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* box-shadow: 1px 2px 6px var(--color-boxshadow); */
}
/* CallToAction */
.flexible-call_to_action {
    position: relative;
    text-align: center;
}
.flexible-call_to_action .titleSection {
    margin: 2rem 0;
}
/* CardTemoignage */
.cardTemoignage {
    padding: 1rem;
    background-color: #f1f1f1;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    /* box-shadow: 1px 2px 6px var(--color-boxshadow); */
}
.cardTemoignage img.rounded-circle {
    max-height: 10rem;
    box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.5);
}
.cardTemoignage img.rounded-circle,
.cardTemoignage i.fas {
    max-height: 10rem;
    text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.5);
}

/* Links */
.pageAndPostContent a {
    font-weight: bold;
}

.pageAndPostContent a:not(.wp-block-button__link):hover {
    color: --color-bg-hover-btn;
    font-weight: bold;
}

/* BOUTONS */
.btn-primary {
    border: 0;
    font-size: 22px;
    background-color: var(--color-btn-bg);
    color: var(--color-btn-text);
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
}
.btn-primary:hover {
    font-size: 24px;
    letter-spacing: 1px;
    background-color: var(--color-btn-bg-hover);
    color: var(--color-btn-text-hover);
}
.btn-secondary {
    border: 0;
    background-color: var(--color-secondary);
    /* box-shadow: 1px 4px 4px var(--color-boxshadow); */
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
}
.btn-secondary:hover {
    letter-spacing: 1px;
    filter: hue-rotate(180deg);
    -webkit-filter: hue-rotate(180deg);
}

ul.listfiles {
    list-style: none;
    font-size: 20px;
}
ul.listfiles li a {
    display: flex;
    align-items: center;
    padding: 5px 0;
    margin: 10px 0;
}
ul.listfiles li a span {
    margin-left: 10px;
}

header .swiperAccueil {
    height: 70vh;
}
header .swiperAccueil video.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}
header .swiperAccueil .bg-video-filter {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
header .swiperAccueil .swiper-pagination {
    top: unset;
    bottom: 0;
}
header .swiperAccueil .swiper-slide > .slide-title {
    position: absolute;
    bottom: 0;
    color: white;
    font-size: 2.8rem;
    transition: all 1.3s;
    -webkit-transition: all 1.3s;
    -moz-transition: all 1.3s;
    -ms-transition: all 1.3s;
    -o-transition: all 1.3s;
    transform: translateY(5rem);
    -webkit-transform: translateY(5rem);
    -moz-transform: translateY(5rem);
    -ms-transform: translateY(5rem);
    -o-transform: translateY(5rem);
    padding: 0.6rem 2.3rem;
    background-color: rgba(0, 0, 0, 0.38);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 5px 15px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

header .swiperAccueil .swiper-slide.swiper-slide-active .slide-title {
    transform: translateY(-5rem);
    -webkit-transform: translateY(-5rem);
    -moz-transform: translateY(-5rem);
    -ms-transform: translateY(-5rem);
    -o-transform: translateY(-5rem);
}
header .swiperAccueil .swiper-pagination .swiper-pagination-progressbar-fill {
    background-color: var(--color-primary);
}
header .swiperAccueil .swiper-button-next,
header .swiperAccueil .swiper-button-prev {
    color: var(--color-primary);
    filter: brightness(2);
    text-shadow: 3px 3px 5px #000;
}

.alert-warning {
    color: #9d2929;
    background-color: #fff;
    border-color: #ffd6ba;
}

.alert-info {
    color: #18363b;
    background-color: #fff;
    border-color: #bee5eb;
}

#floating_label {
    background-color: var(--color-btn-bg);
    border-radius: 50%;
    color: #fff;
    padding: 0.7rem;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    transition: all 0.5s;
    z-index: 999;
}

#floating_label p {
    display: inline-block;
    font-size: 21px;
    position: absolute;
    transition: all 0.5s;
    overflow: hidden;
    white-space: nowrap;
    left: 0px;
    width: 0px;
    top: 0px;
    opacity: 0;
    background-color: var(--color-btn-bg);
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    border-radius: 5px;
    padding: 0px 5px 0px 50px;
    z-index: -1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#floating_label:hover p {
    opacity: 1;
    width: 300px;
}

#floating_label i {
    animation: rotate 1s;
}
#floating_label:hover i {
    animation: rotatebckwd 1s;
}


#floating_label_right {
    background-color: var(--color-btn-bg);
    border-radius: 50%;
    color: #fff;
    padding: 0.7rem;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    transition: all 0.5s;
    z-index: 999;
}

#floating_label_right p {
    display: inline-block;
    font-size: 21px;
    position: absolute;
    transition: all 0.5s;
    overflow: hidden;
    white-space: nowrap;
    right: 0px;
    width: 0px;
    top: 0px;
    opacity: 0;
    background-color: var(--color-btn-bg);
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    border-radius: 5px;
    padding: 0px 50px 0px 5px;
    z-index: -1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#floating_label_right:hover p {
    opacity: 1;
    width: 300px;
}

#floating_label_right i {
    animation: rotatebckwd 1s;
}
#floating_label_right:hover i {
    animation: rotate 1s;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}
@keyframes rotatebckwd {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-359deg);
    }
}
.left {
    left: 1.5rem;
}
.right {
    right: 1.5rem;
}
.up {
    top: 8.5rem;
}
.down {
    bottom: 1.5rem;
}

/* flexible-cards */

.card-custom-ratio {
    width: 100%;
    padding-top: 80%;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.card-custom-ratio img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    object-fit: cover;
}
.card-custom-ratio .card-body {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: white;
    transition: all 0.4s;
}
.card-custom-ratio:hover .card-body {
    background-color: var(--color-primary);
    color: white;
}

.bg-fixed {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}
@media screen and (max-width: 1000px) {
    .bg-fixed {
        background-size: cover !important;
    }
}
.headerBanner {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    position: relative;
    /* margin-bottom: 3rem; */
}
@media screen and (max-width: 768px) {
    .headerBanner {
        padding: 4rem 0;
    }
}
img.logoFormation {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 0.8rem;
}
.headerBanner img.logoFormation {
    z-index: 1;
    filter: brightness(10);
}
.bgHeaderBanner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.45);
}
.titleHeaderBanner {
    z-index: 1;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 10px #000;
    color: white;
    text-align: center;
}
.card_item {
    overflow: hidden;
    border-radius: 15px;
    -webkit-box-shadow: 0px 0px 8px -3px rgba(0, 0, 0, 0.59);
    box-shadow: 0px 0px 8px -3px rgba(0, 0, 0, 0.59);
}

.card_item .title {
    color: var(--color-title);
}
.card_item .dateTime {
    color: gray;
}

.card_item .img-resize {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.btn-actu {
    margin-top: auto;
    background-color: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    transition: all 0.5s;
}

.card_item:hover .btn-actu {
    background-color: var(--color-primary);
    color: white;
}

/* HOME HEADER BANNER */

.logo_home_header_banner {
    max-width: 250px;
    max-height: 250px;
    object-fit: contain;
}
.title_home_header_banner {
    color: #fff;
    font-weight: bolder;
    text-shadow: 3px 3px 10px #000;
}

.cta_home_header_banner {
    border-radius: 5px;
    color: #fff;
    border: 2px solid #fff;
    font-weight: bold;
    font-size: 120%;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.4s;
}
.cta_home_header_banner:hover {
    color: #000;
    background-color: #fff;
}
.img-cover {
    object-fit: cover;
    height: 100%;
}

@media screen and (max-width: 768px) {
    .title_carrousel {
        font-size: 1.5rem !important;
    }
}

.arrow {
    position: absolute;
    bottom: 0;
    padding-bottom: 50px;
}
.arrow span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 5px solid #fff;
    border-right: 5px solid #fff;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}
.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}
.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}
@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    65% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

/* Page Formation */
@media screen and (max-width: 768px) {
    .info_bloc {
        margin: 2rem 0rem !important;
    }
  }

.ref-page-formation {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-primary);
}
.level-page-formation {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-primary);
}
.main-text-formation {
    font-size: 2rem;
    font-weight: bold;
    color: rgb(52, 52, 52);
}

.vertical-divider {
    position: absolute;
    width: 1px;
    height: 100%;
    background-color: red;
}
.info_bloc {
    box-shadow: rgb(0 0 0 / 15%) 2px 3px 6px;
    border-radius: 10px;
}

.left_content::before {
    content: "";
    position: absolute;
    top: auto;
    bottom: 0;
    right: 5%;
    left: 5%;
    width: 90%;
    background-color: gray;
    height: 1px;
}
@media screen and (min-width: 576px) {
    .left_content::before {
        content: "";
        position: absolute;
        top: 5%;
        bottom: 5%;
        right: 0;
        left: auto;
        height: 90%;
        background-color: lightgray;
        width: 1px;
    }
}




/* Trombi */

.card-trombi-ratio {
    width: 100%;
    padding-top: 120%;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.card-trombi-ratio img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    object-fit: cover;
}
.card-trombi-ratio .card-body {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: white;
    transition: all 0.4s;
}
.card-trombi-ratio:hover .card-body {
    background-color: var(--color-primary);
    color: white;
}
.card-trombi-ratio:hover {
    cursor: pointer;
}

/* alerte information */
@keyframes float {
    0% {
        transform: translatey(0px) rotate(10deg);
    }
    50% {
        transform: translatey(-20px) rotate(5deg);
    }
    100% {
        transform: translatey(0px) rotate(10deg);
    }
}
@keyframes float2 {
    0% {
        transform: translate(0px, 0px) rotate(0deg);
    }
    50% {
        transform: translate(10px, 25px) rotate(-15deg);
    }
    100% {
        transform: translate(0px, 0px) rotate(0deg);
    }
}
.alerte_informations svg.fa-exclamation-triangle {
    animation: float 9s ease-in-out infinite reverse;
}
.alerte_informations svg.fa-exclamation-circle {
    animation: float2 6s ease-in-out infinite reverse;
}