/* BASICS 
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.user-select-none,
.usn {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hidden {display: none;}

/* SCROLL BEHAVIOR 
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.smooth-scroll {
    scroll-behavior: smooth;
}

/* CUSTOM SCROLLBARS 
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.large-scrollbar::-webkit-scrollbar,
.large-scrollbar::-webkit-scrollbar-button,
.large-scrollbar::-webkit-scrollbar-thumb {
    width: 13px;
    height: 13px;
}
.custom-scrollbar::-webkit-scrollbar,
.custom-scrollbar::-webkit-scrollbar-button,
.custom-scrollbar::-webkit-scrollbar-thumb {
    width: 7px;
    height: 7px;
}
.thin-scrollbar::-webkit-scrollbar,
.thin-scrollbar::-webkit-scrollbar-button,
.thin-scrollbar::-webkit-scrollbar-thumb {
    width: 3px;
    height: 3px;
}
.no-scrollbar::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar-button,
.no-scrollbar::-webkit-scrollbar-thumb {
    height: 0px;
    width: 0px;
}

.custom-scrollbar,
.large-scrollbar,
.thin-scrollbar,
.no-scrollbar {
    overflow: auto;
}

.custom-scrollbar::-webkit-scrollbar,
.large-scrollbar::-webkit-scrollbar,
.thin-scrollbar::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar {
    background-color: #F3F4F6;
}
.custom-scrollbar::-webkit-scrollbar-button,
.large-scrollbar::-webkit-scrollbar-button,
.thin-scrollbar::-webkit-scrollbar-button,
.no-scrollbar::-webkit-scrollbar-button {
    background-color: var(--orange-cuik);
}
.custom-scrollbar::-webkit-scrollbar-thumb,
.large-scrollbar::-webkit-scrollbar-thumb,
.thin-scrollbar::-webkit-scrollbar-thumb,
.no-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--orange-cuik-light);
}


.custom-scrollbar.black-scrollbar::-webkit-scrollbar,
.large-scrollbar.black-scrollbar::-webkit-scrollbar,
.thin-scrollbar::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar {
    background-color: #F3F4F6;
}
.custom-scrollbar.black-scrollbar::-webkit-scrollbar-button,
.large-scrollbar.black-scrollbar::-webkit-scrollbar-button,
.thin-scrollbar::-webkit-scrollbar-button,
.no-scrollbar::-webkit-scrollbar-button {
    background-color: #000;
}
.custom-scrollbar.black-scrollbar::-webkit-scrollbar-thumb,
.large-scrollbar.black-scrollbar::-webkit-scrollbar-thumb,
.thin-scrollbar::-webkit-scrollbar-thumb,
.no-scrollbar::-webkit-scrollbar-thumb {
    background-color: #111;
}


/* #ABSOLUTE-LINK
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
a.absolute-link {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

/* #ELLISPSIS
  –––––––––––––––––––––––––––––––––––––––––––––––––– */

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* PAGE LOADER 
  –––––––––––––––––––––––––––––––––––––––––––––––––– */

#page-loader {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: rgba(31, 31, 31, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

#page-loader img {
    width: 20rem;
}

#page-loader .loading-gif {
    width: 100%;
    height: 100%;
    max-width: 128px;
    max-height: 128px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    transform-style: preserve-3d;
}

/* LOADING GIF 
  –––––––––––––––––––––––––––––––––––––––––––––––––– */

.loading-gif {
    position: relative;
}

.loading-gif {
    margin: 0 auto;
}

.loading-gif .loader-circle,
.loading-gif .loader-bar {
    position: absolute;
    border-radius: 50%;
    top: 0;
    left: 0;
}

.loading-gif.extra-small,
.loading-gif.extra-small .loader-circle,
.loading-gif.extra-small .loader-bar {
    width: 10px;
    height: 10px;
}

.loading-gif.mini,
.loading-gif.mini .loader-circle,
.loading-gif.mini .loader-bar {
    width: 20px;
    height: 20px;
}

.loading-gif,
.loading-gif .loader-circle,
.loading-gif .loader-bar {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.loading-gif.large,
.loading-gif.large .loader-circle,
.loading-gif.large .loader-bar {
    width: 40px;
    height: 40px;
}

.loading-gif.extra-large,
.loading-gif.extra-large .loader-circle,
.loading-gif.extra-large .loader-bar {
    width: 60px;
    height: 60px;
}

.loading-gif .loader-circle {
    border: 5px solid #f3f3f3;
}

.loading-gif .loader-bar {
    border: 5px solid transparent;
    border-top: 5px solid #831843;
    -webkit-animation: spin 1.5s cubic-bezier(0, 0.07, 0.8, 0.88) infinite; /* Safari */
    animation: spin 1.5s cubic-bezier(0, 0.07, 0.8, 0.88) infinite;
}
  
/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    50% { -webkit-transform: rotate(180deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

input.border-loading,
textarea.border-loading,
.card-content.border-loading {
    opacity: 0.7;
    animation: border-loading 1s ease-in-out infinite;
    border: 3px solid var(--twc-gray-400);
}

@keyframes border-loading {
    0% {
        border-color: var(--twc-gray-300);
    }
    25% {
        border-color: var(--twc-gray-500-f8);
    }
    50% {
        border-color: var(--twc-gray-300);
    }
    75% {
        border-color: var(--twc-gray-500-f8);
    }
    100% {
        border-color: var(--twc-gray-300);
    }
}

/* MASKS 
  –––––––––––––––––––––––––––––––––––––––––––––––––– */

.mask {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.mask-error {
    background-image: linear-gradient(45deg, #8004, #8002, #8001);
    border-top: 2px solid;
    border-right: 2px solid;
    border-color: #f00a;
}

.mask-success {
    background-image: linear-gradient(45deg, #0803, #0802, #0801);
    border-top: 2px solid;
    border-right: 2px solid;
    border-color: #0f0A;
}

/* ANIMATIONS 
  –––––––––––––––––––––––––––––––––––––––––––––––––– */

/* H-WHEEZE */

.h-wheeze {
    animation: h-wheeze 0.82s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes h-wheeze {
    10%, 90% {transform: translate3d(-0.5px, 0, 0);}
    20%, 80% {transform: translate3d(1px, 0, 0);}
    30%, 50%, 70% {transform: translate3d(-2px, 0, 0);}
    40%, 60% {transform: translate3d(2px, 0, 0);}
}

/* V-WHEEZE */

.v-wheeze {
    animation: v-wheeze 0.82s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes v-wheeze {
    10%, 90% {transform: translate3d(0, -0.5px, 0);}
    20%, 80% {transform: translate3d(0, 1px, 0);}
    30%, 50%, 70% {transform: translate3d(0, -2px, 0);}
    40%, 60% {transform: translate3d(0, 2px, 0);}
}

/* PULSE WHEEZE */

.pulse-wheeze {
    animation: pulse-wheeze 0.82s cubic-bezier(.36,.07,.19,.97) both;
    transform: scale(1);
}

@keyframes pulse-wheeze {
    10%, 90% {transform: scale(0.90);}
    20%, 80% {transform: scale(1.05);}
    30%, 50%, 70% {transform: scale(0.96);}
    40%, 60% {transform: scale(1.10);}
}

/* LOADERS */

.animate-spin {
    animation: spin 1s linear infinite;
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {opacity: 1;}
    50% {opacity: .5;}
}

.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* img pair hover toggle
  -------------------------------------------------- */

.hover-toggle:hover .not-on-hover,
.hover-toggle .on-hover {
    display: none;
}

.hover-toggle .not-on-hover,
.hover-toggle:hover .on-hover {
    display: initial;
}

/* MASK PREVENT ACTIONS
  -------------------------------------------------- */

.mask-prevent-actions {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    flex-direction: column;
}

/* LAZY-LOAD 
  –––––––––––––––––––––––––––––––––––––––––––––––––– */

.loading-gif.lazy-load {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    transform-style: preserve-3d;
}
    
/* TOGGLE SWITCH 
    –––––––––––––––––––––––––––––––––––––––––––––––––– */

/* <label class="toggle-switch rounded text-l text-r">
    <input type="checkbox">
    <span class="slider bg-[#0078A0]"></span>
    <span id="home-billing-annuel" class="left-text" style="color: white;">Annuel</span>
    <span id="home-billing-mensuel" class="right-text" style="color: white;">Mensuel</span>
</label> */

    /* The switch - the box around the slider */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: .4s;
    transition: .4s;
}

.toggle-switch .slider {
    background-color: #0078A0;
}

.toggle-switch.rounded .slider {
    border-radius: 34px;
}

.toggle-switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.toggle-switch.rounded .slider:before {
    border-radius: 50%;
}

.toggle-switch input:checked + .slider {
    background-color: #ccc;
}

.toggle-switch input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

.toggle-switch input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.toggle-switch .slider.round {
    border-radius: 34px;
}

.toggle-switch .slider.round:before {
    border-radius: 50%;
}

.toggle-switch.text-l .left-text {
    position: absolute;
    left: -100%;
    transform: translate3d(-6px, 0, 0);
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.toggle-switch.text-r .right-text {
    position: absolute;
    right: -100%;
    transform: translate3d(12px, 0, 0);
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

/* SEO TOOLS BACKGROUND
–––––––––––––––––––––––––––––––––––––––––––––––––– */
body.seo-tools-page {
    background-color: var(--twc-gray-900);
}