﻿@import "variables.css";

/* ~~ Gestion du logo du type de plateforme ~~ */
.logo_type_plateforme {
    position: fixed;
    right: 10px;
    bottom: 10px;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    font-weight: bold;
    color: #F1700B;
    animation: spinZ 10s linear infinite;
    text-align: center;
    background: transparent;
    font-family: 'Gotham', sans-serif;
    font-weight: 600;
    overflow: hidden;
}

    .logo_type_plateforme span {
        position: absolute;
        display: inline-block;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        text-transform: uppercase;
        font-size: 14px;
        transition: all .5s cubic-bezier(0,0,0,1);
    }

        .logo_type_plateforme span#external_circle {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 2px solid rgba(241, 112, 11,1);
        }

        .logo_type_plateforme span#internal_circle {
            width: 60%;
            height: 60%;
            border-radius: 50%;
            border: 2px solid rgba(241, 112, 11,1);
            margin: 20%;
        }

    .logo_type_plateforme.macaron_local {
        color: #E8007F;
    }

        .logo_type_plateforme.macaron_local span#external_circle {
            border-color: #E8007F;
        }

        .logo_type_plateforme.macaron_local span#internal_circle {
            border-color: #E8007F;
        }

    .logo_type_plateforme.macaron_test {
        color: #00E83C;
    }

        .logo_type_plateforme.macaron_test span#external_circle {
            border-color: #00E83C;
        }

        .logo_type_plateforme.macaron_test span#internal_circle {
            border-color: #00E83C;
        }

    .logo_type_plateforme.macaron_preprod {
        color: #FFA600;
    }

        .logo_type_plateforme.macaron_preprod span#external_circle {
            border-color: #FFA600;
        }

        .logo_type_plateforme.macaron_preprod span#internal_circle {
            border-color: #FFA600;
        }

    .logo_type_plateforme.macaron_prod {
        color: #2BB7F8;
    }

        .logo_type_plateforme.macaron_prod span#external_circle {
            border-color: #2BB7F8;
        }

        .logo_type_plateforme.macaron_prod span#internal_circle {
            border-color: #2BB7F8;
        }

@keyframes spinZ {
    0% {
        transform: rotateZ(360deg);
    }

    100% {
        transform: rotateZ(0deg);
    }
}
/* ~~ Fin gestion du logo du type de plateforme ~~ */

/* "xs"" returns only a ruleset and no media query */
body {
    background: url('../images/fond/background.jpg');
    font-family: "effra", sans-serif;
}

.partie-droite,
.partie-gauche {
    height: 100vh;
}

.partie-droite {
    background: linear-gradient(225deg, rgba(241, 112, 11, 0.8), rgba(45, 45, 45, 0.8)), url(../images/fond/romain-girot-lyon-unsplash.jpg) no-repeat top center;
    background-size: cover;
    /*box-shadow: -10px 10px 20px rgba(18, 39, 57, .3);*/
    -ms-border-radius: 150px 0 0 0;
    border-radius: 150px 0 0 0;
    display: flex;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    -o-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
    flex-direction: column;
}

.partie-gauche {
    display: flex;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    -o-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.partie-droite .inner-partie-droite {
    width: 50%;
}

    .partie-droite .inner-partie-droite .module {
        /*width: 50%;*/
        padding: 10px 20px;
        /*background: #fff;*/
        margin-top: 0;
        margin-bottom: 20px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: #fff;
    }

.partie-droite .inner-partie-droite .module:last-of-type {
            margin-bottom: 0;
        }

.partie-droite .inner-partie-droite .module .titre_module {
            font-size: 18px;
        }

.partie-droite .inner-partie-droite .module .desc_module {
            font-size: 16px;
        }

.partie-droite .inner-partie-droite .module .acces {
            text-align: left;
            margin-top: 10px
        }

a.bouton_cta {
        display: inline-block;
        background: rgba(var(--rgb-color-rouge), 1);
        color: var(--color-blanche);
        padding: 5px 20px;
        border-radius: 10px;
        text-decoration: none;
    }

    a.bouton_cta:hover {
        display: inline-block;
        background: rgba(var(--rgb-color-bleue), 1);
        box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
        color: var(--color-blanche);
        padding: 5px 20px;
        border-radius: 10px;
    }



.valide-button {
    background-color: var(--bg-rouge) !important;
    border: 2px solid var(--color-rouge) !important;
}

.tempo-button {
    background-color: var(--bg-blanc) !important;
    border: 2px solid var(--bg-blanc) !important;
}

.update-button {
    background-color: var(--color-rouge) !important;
    border: 2px solid var(--color-rouge) !important;
}

.cancel-button {
    background-color: var(--color-bleue) !important;
    border: 2px solid var(--color-bleue) !important;
}

.send-button {
    background-color: var(--bg-rouge) !important;
    border: 2px solid var(--color-rouge) !important;
}

.nope-button {
    background-color: var(--color-rouge) !important;
    border: 2px solid var(--color-rouge) !important;
}

.button-cta {
    background-color: var(--bg-rouge);
    color: var(--color-blanche) !important;
    display: inline-block;
    width: fit-content;
    width: -moz-fit-content;
    margin: auto;
    transition: transform .5s !important;
    transition-timing-function: cubic-bezier(.2, 3, .4, 1) !important;
    -webkit-animation: none;
    -moz-animation: none;
    -ms-animation: none;
    animation: none;
}

    .button-cta:hover {
        background-color: var(--bg-bleue);
        color: var(--color-blanche) !important;
        transform: scale(1.05, 1.05) !important;
    }

.button-cta-reverse {
    background-color: var(--bg-bleue);
    color: var(--color-blanche) !important;
    display: inline-block;
    width: fit-content;
    width: -moz-fit-content;
    margin: auto;
    transition: transform .5s !important;
    transition-timing-function: cubic-bezier(.2, 3, .4, 1) !important;
    -webkit-animation: none;
    -moz-animation: none;
    -ms-animation: none;
    animation: none;
}

    .button-cta-reverse:hover {
        background-color: var(--bg-rouge);
        color: var(--color-blanche) !important;
        transform: scale(1.05, 1.05) !important;
    }

        .button-cta:hover:disabled, .button-cta:active:disabled, .button-cta:focus:disabled,
        .button-cta-reverse:hover:disabled, .button-cta-reverse:active:disabled, .button-cta-reverse:focus:disabled {
            color: var(--color-blanche) !important;
            transform: scale(1, 1) !important;
            cursor: not-allowed;
        }

.button-cta:hover:disabled, .button-cta:active:disabled, .button-cta:focus:disabled {
    background-color: var(--color-rouge);
}

.button-cta-reverse:hover:disabled, .button-cta-reverse:active:disabled, .button-cta-reverse:focus:disabled {
    background-color: var(--color-bleue);
}

.button-cta:not(#addSousTypeLine):active, .button-cta:not(#addSousTypeLine):focus,
.button-cta-reverse:not(#addSousTypeLine):active, .button-cta-reverse:not(#addSousTypeLine):focus {
    transform: scale(1.02, 1.02) !important;
    -webkit-animation: var(--animation-pulse_cta);
    -moz-animation: var(--animation-pulse_cta);
    -ms-animation: var(--animation-pulse_cta);
    animation: var(--animation-pulse_cta);
}

.button-cta.actived,
.button-cta-reverse.actived {
    -webkit-animation: var(--animation-pulse_cta);
    -moz-animation: var(--animation-pulse_cta);
    -ms-animation: var(--animation-pulse_cta);
    animation: var(--animation-pulse_cta);
}

.show_mdp {
    right: 10px;
    top: 0;
    bottom: 0;
    color: #95cdb2;
    font-size: 24px;
    /* margin: 0 auto; */
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    /* padding-top: 8px; */
    cursor: pointer;
}

/* ~~ Card de connexion ~~ */
.card {
    border: 1px solid rgba(7, 36, 55,.8);
    box-shadow: 5px 5px 10px rgba(7, 36, 55,.2)
}
    .card .card-header {
        background: var(--bg-bleue);
    }
    .card .card-header h2 {
        margin: 0;
        color: var(--color-blanche);
    }
/* ~~ Fin card de connexion ~~ */

/* Checkbox custom */
.checkbox-flk {
    margin-bottom: 16px;
}

.checkbox-flk .label-cbx {
    user-select: none;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-flk .label-cbx input:checked + .checkbox {
        border-color: var(--color-rouge);
    }

    .checkbox-flk .label-cbx input:checked + .checkbox svg path {
        fill: var(--color-rouge);
    }

.checkbox-flk .label-cbx input:checked + .checkbox svg polyline {
        stroke-dashoffset: 0;
    }

.checkbox-flk .label-cbx:hover .checkbox svg path {
        stroke-dashoffset: 0;
    }

.checkbox-flk .label-cbx .checkbox {
        position: relative;
        margin-right: 8px;
        width: 20px;
        height: 20px;
        border: 2px solid #C8CCD4;
        border-radius: 3px;
    }

.checkbox-flk .label-cbx .checkbox svg {
        position: absolute;
        top: -2px;
        left: -2px;
    }

    .checkbox-flk .label-cbx .checkbox svg path {
        fill: none;
        stroke: var(--color-rouge);
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-dasharray: 71px;
        stroke-dashoffset: 71px;
        transition: all 0.2s ease;
    }

.checkbox-flk .label-cbx .checkbox svg polyline {
        fill: none;
        stroke: #FFF;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-dasharray: 18px;
        stroke-dashoffset: 18px;
        transition: all 0.3s ease;
    }

.checkbox-flk .label-cbx > span {
        pointer-events: none;
        vertical-align: middle;
    }

.checkbox-flk .invisible {
    position: absolute;
    z-index: -1;
    width: 0;
    height: 0;
    opacity: 0;
}
/* Fin Checkbox custom */

/* Animation delay */
.animate__animated.animate__delay-flk-0 {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}
.animate__animated.animate__delay-flk-1 {
    -webkit-animation-delay: 0.05s;
    animation-delay: 0.05s;
}
.animate__animated.animate__delay-flk-2 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}
.animate__animated.animate__delay-flk-3 {
    -webkit-animation-delay: 0.15s;
    animation-delay: 0.15s;
}
.animate__animated.animate__delay-flk-4 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}
.animate__animated.animate__delay-flk-5 {
    -webkit-animation-delay: 0.25s;
    animation-delay: 0.25s;
}
.animate__animated.animate__delay-flk-6 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}
.animate__animated.animate__delay-flk-7 {
    -webkit-animation-delay: 0.35s;
    animation-delay: 0.35s;
}
.animate__animated.animate__delay-flk-8 {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}
.animate__animated.animate__delay-flk-9 {
    -webkit-animation-delay: 0.45s;
    animation-delay: 0.45s;
}
.animate__animated.animate__delay-flk-10 {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}
/* Fin Animation delay */

/* "sm" applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
}

/* "md" applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
}

/* "lg" applies to medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
}

/* "xl" applies to large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
}

/* "xxl" applies to x-large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
}

.welcome-page .logo {
    width: 64px;
}

.icon-banner {
    width: 32px;
}

.body-container {
    margin-top: 60px;
    padding-bottom: 40px;
}

.welcome-page li {
    list-style: none;
    padding: 4px;
}

.logged-out-page iframe {
    display: none;
    width: 0;
    height: 0;
}

.grants-page .card {
    margin-top: 20px;
    border-bottom: 1px solid lightgray;
}

    .grants-page .card .card-title {
        font-size: 120%;
        font-weight: bold;
    }

        .grants-page .card .card-title img {
            width: 100px;
            height: 100px;
        }

    .grants-page .card label {
        font-weight: bold;
    }
