@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");

/* ### ######## ### */
/* ### COULEURS ### */
/* ### ######## ### */
 :root {
        --default-text-color: #272525;
        --dark-blue-color : #007d89;
        --blue-color : #2ea2c1;
        --green-color : #00776c;
        --yellow-color : #efd500;
}

/* ### ########## ### */
/* ### UTILITAIRE ### */
/* ### ########## ### */
:root {
        scroll-behavior: auto;
}
body {
        font-family:Ubuntu;
        opacity:0;
        color:var(--default-text-color);
}
body.unselectable {
        user-select:none;
}
img, iframe, video {
        max-width:100%;
}
img {
        height:auto;
}
a {
        color:var(--current-page-color);
        border:none;
        transition:all .2s;
}
a:hover {
        color:var(--main-color);
}
a.full-size-link {
        position:absolute;
        top:0;
        left:0;
        right:0;
        bottom:0;
        z-index:2;
}
span.underlined {
        text-decoration: underline;
}
a.underlined {
        color:inherit;
        text-decoration: underline;
}
a.underlined:hover {
        color:var(--yellow-color);
}
.dote-cross{
        position: relative;
}
.dote-cross:before{
        content: '';
        position: absolute;
        top: 0;
        right: 100%;
        width: 20px;
        height: 100%;
        background-image: url(../assets/icon/cross.svg);
}

/* 
#########################
### Titrages & textes ###
#########################
*/
h1 {
        font-weight:800;
        font-size:3.1rem;
        line-height:1.1;
}
h2 {
        position: relative;
        font-weight:900;
        font-size: 22px;
        text-transform: uppercase;
        color: var(--blue-color);
}
h3 {
        text-transform:uppercase;
        font-weight:normal;
        font-size:1.4rem;
        margin-bottom:0;
}
h4 {
        text-transform:initial;
        font-weight:900;
        font-size:1.1rem;
}
h5 {
        font-weight:bold;
        font-size:1em;
}
p,a,h1,h2,h3,h4,h5,span{
        font-family: 'pp-neue';
}
p,
.main-col p,
.main-col > ul, 
.main-col > ol,
#comments {
    max-width: 720px;
    line-height: 1.6;
}
p:last-child {
        margin-bottom:0;
}

/* ### ######### ### */
/* ### BOOTSTRAP ### */
/* ### ######### ### */
.btn {
        font-family:Faro;
        font-weight:bold;
}
.btn-primary, .wp-block-button .wp-block-button__link,
.btn-primary:hover, .wp-block-button .wp-block-button__link:hover {
        background:var(--current-page-color);
        border-color:var(--current-page-color);
        color:var(--current-page-color-inverse);
}
body.admin-bar .edit-link a {
    color: #000!important;
}

/* ### ############ ### */
/* ### LOADER FACET ### */
/* ### ############ ### */

.loader-overlay {
        position:absolute;
        top:0;
        left:0;
        bottom:0;
        right:0;
        z-index:99; /* laisse passer le fixed menu */
        background:rgba(255, 255, 255, .85);
}
.loader-overlay .loader {
        position:absolute;
        top:50%;
        left:50%;
        transform:translate(-50%, -50%);
        display: inline-block;
        width: 80px;
        height: 80px;
}
.loader-overlay .loader:after {
        content: " ";
        display: block;
        width: 64px;
        height: 64px;
        margin: 8px;
        border-radius: 50%;
        border: 6px solid var(--main-color);
        border-color: var(--main-color) transparent var(--main-color) transparent;
        animation: loader-animation 1.2s linear infinite;
}
@keyframes loader-animation {
        0% {
              transform: rotate(0deg);
        }
        100% {
                transform: rotate(360deg);
        }
}