/* 
    Created on : 3 mai 2023, 16:22:45
    Author     : Lionel
    Purpose    : CSS Styles for some Utils features 
                Accordeon (FAQs, Privacy & Cookies pages, etc...)
                Scroll To Top with Scrolling Progress Indicator
*/

:root {
    --color-accordeon-black: #343f4b;
    --color-accordeon-red: #c91432;
}

.section-empty {
    height: 2vh;
}

#our_sites_list li {
    padding: 5px 0;
}

/* ============================ */
/* Styles for Accordeon Section */
/* ============================ */
.accordeons {
    padding: 1em;
    border-radius: 10px;
    border: none;
}
.accordeons hr {
    height: 1px;
    border-width: 0;
    background-color: silver;
    margin-left: 1em;
    margin-right: 1em;
}
.tabs {
    overflow: hidden;
}
.tab {
    width: 100%;
    color: var(--color-accordeon-black);
    overflow: hidden;
}
.tab-label {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    padding: 0 0.5em 0em 0.5em;
    font-weight: bold;
    cursor: pointer;
    align-items: center;
    color: var(--color-accordeon-black);
}
.tab-label h4, .tab-label h3 {
    margin: 0.5em 0 0.5em 0;
    font-size: 1em;
}
.tab-label:hover {
    color: var(--color-accordeon-red);
}
.tab-label::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    text-align: center;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    padding-left: 0.5em;
}
.tab-content {
    max-height: 0;
    padding: 0 1em;
    background: white;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    background-color: white;
}
.tab-content p {
    margin: 0;
    line-height: 1.3;
}
#section-accordeon input:checked + .tab-label {
    /*color: ;*/
}
#section-accordeon input:checked + .tab-label::after {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    color: var(--color-accordeon-red);
}
#section-accordeon input:checked ~ .tab-content {
    max-height: max-content;
    padding: 1em;
}
#section-accordeon input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

/* =============================================== */
/* Scroll To Top with Scrolling Progress Indicator */
/* =============================================== */
#scroll-top-progress {
    position: fixed;
    bottom: 100px;
    right: 30px;
    height: 40px;
    width: 40px;
    display: none;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    opacity: 0.75;
}
#scroll-top-progress-value {
    display: block;
    height: calc(100% - 10px);
    width: calc(100% - 10px);
    background-color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1em;
    color: #001a2e;
    font-weight: 900;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
#scroll-top-progress:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    opacity: 1;
}

@media screen and (max-width: 64em) {
    .tab-label h4, .tab-label h3 {
        font-size: 85%;
    }
    .accordeons {
        padding: 0.2em;
    }
}

/* ================================= */
/* Section Trust - With Logos slider */
/* ================================= */
#section-trust {
    display: block;
    text-align: center;
    font-size: 120%;
}
#section-trust h5 {
    font-size: 1em;
}
/* Scrolling Logos Right To Left */
.logos-scroll-rtl {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 180px;
    box-shadow: 0 4px 8px 0 rgb(96 140 184 / 20%);
}
.logos-scroll-rtl > :first-child {
    display: inline-flex;
    padding-right: 2em;
    padding-left: 100%;
    white-space: nowrap;
    animation: defilement-logos-rtl 30s infinite linear;
}
.logos-scroll-rtl img {
    height: 100px;
    padding-right: 1em;
}
.logos-scroll-rtl > :first-child:hover {
    animation-play-state: paused;
    cursor: help;
}

@keyframes defilement-logos-rtl {
    0% {
        transform: translate3d(0,0,0);
    }
    100% {
        transform: translate3d(-200%,0,0);
    }
}

@media screen and (max-width: 64em){
    .logos-scroll-rtl {
        width: 90%;
    }
    .logos-scroll-rtl img {
        height: 80px;
    }
}

/* =================== */
/* Chevrons animation  */
/* =================== */
.chevrons {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin: 3em 0 1em 0;
    min-height: 20vh;
}

.chevron {
    position: absolute;
    width: 2.1rem;
    height: 0.30rem;
    opacity: 0;
    transform: scale(0.3);
    -webkit-animation: move-chevron 3s ease-out infinite;
    animation: move-chevron 3s ease-out infinite;
}

.chevron:first-child {
    -webkit-animation: move-chevron 3s ease-out 1s infinite;
    animation: move-chevron 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
    -webkit-animation: move-chevron 3s ease-out 2s infinite;
    animation: move-chevron 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    background: var(--color-logo-pink-dark);
}

.chevron:before {
    left: 0;
    transform: skewY(30deg);
}

.chevron:after {
    right: 0;
    width: 50%;
    transform: skewY(-30deg);
}

@-webkit-keyframes move-chevron {
    25% {
        opacity: 1;
    }
    33.3% {
        opacity: 1;
        transform: translateY(2.28rem);
    }
    66.6% {
        opacity: 1;
        transform: translateY(3.12rem);
    }
    100% {
        opacity: 0;
        transform: translateY(4.8rem) scale(0.5);
    }
}

@keyframes move-chevron {
    25% {
        opacity: 1;
    }
    33.3% {
        opacity: 1;
        transform: translateY(2.28rem);
    }
    66.6% {
        opacity: 1;
        transform: translateY(3.12rem);
    }
    100% {
        opacity: 0;
        transform: translateY(4.8rem) scale(0.5);
    }
}

@media screen and (max-width: 35em) {
    .chevron {
        width: 1.5rem;
        height: 0.20rem;
    }
}