
/* --------------------------------------------------------- */
/* --------------------- TYPOGRAPHIE ----------------------- */
/* --------------------------------------------------------- */

    @font-face {
        font-family: 'karlaregular';
        src: url('../fonts/karla-regular-webfont.eot');
        src: url('../fonts/karla-regular-webfont.eot?#iefix') format('embedded-opentype'),
             url('../fonts/karla-regular-webfont.woff2') format('woff2'),
             url('../fonts/karla-regular-webfont.woff') format('woff'),
             url('../fonts/karla-regular-webfont.ttf') format('truetype'),
             url('../fonts/karla-regular-webfont.svg#karlaregular') format('svg');
        font-style: normal;
        font-weight: normal;
    }
    @font-face {    
        font-family: 'karlabold';
        src: url('../fonts/karla-bold-webfont.eot');
        src: url('../fonts/karla-bold-webfont.eot?#iefix') format('embedded-opentype'),
             url('../fonts/karla-bold-webfont.woff2') format('woff2'),
             url('../fonts/karla-bold-webfont.woff') format('woff'),
             url('../fonts/karla-bold-webfont.ttf') format('truetype'),
             url('../fonts/karla-bold-webfont.svg#karlabold') format('svg');
        font-style: normal;
        font-weight: normal;
    }
    /* Nouvelles fontes 2021, remplacent Cargo, puis Harbour, puis Absara, puis Faune */
    @font-face {
        font-family: 'terminal-grotesque';
        src: url('../fonts/terminal-grotesque-webfont.eot');
        src: url('../fonts/terminal-grotesque-webfont.eot?#iefix') format('embedded-opentype'),
             url('../fonts/terminal-grotesque-webfont.woff2') format('woff2'),
             url('../fonts/terminal-grotesque-webfont.woff') format('woff'),
             url('../fonts/terminal-grotesque-webfont.ttf') format('truetype'),
             url('../fonts/terminal-grotesque-webfont.svg#faunetext_regular') format('svg');
        font-weight: normal;
        font-style: normal;
    }

    @font-face {
        font-family: 'terminal-grotesque-open';
        src: url('../fonts/terminal-grotesque-open-webfont.eot');
        src: url('../fonts/terminal-grotesque-open-webfont.eot?#iefix') format('embedded-opentype'),
             url('../fonts/terminal-grotesque-open-webfont.woff2') format('woff2'),
             url('../fonts/terminal-grotesque-open-webfont.woff') format('woff'),
             url('../fonts/terminal-grotesque-open-webfont.ttf') format('truetype'),
             url('../fonts/terminal-grotesque-open-webfont.svg#faunetext_regular') format('svg');
        font-weight: normal;
        font-style: normal;
    }

/* --------------------------------------------------------- */
/* ---------------------- RESET CSS ------------------------ */
/* --------------------------------------------------------- */

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    h1, h2, h3, h4, h5, p, a {
        font-family: 'terminal-grotesque';
        font-weight: 400;
        color: #2f2a75;
    }

    a {
        text-decoration: none;
    }

/* --------------------------------------------------------- */
/* ---------------- CONTENEURS PRINCIPAUX ------------------ */
/* --------------------------------------------------------- */

    body {
        font-family: 'karlaregular';
        background-color: #f4f1f6;
        color: #2D2479;
        overflow-x: hidden;
    }
    .main-container {
        display: none;
        position: relative;
        margin: 50px;
    }
    #content {
        width: 90%;
        margin: 80px 0px 80px 60px;
    }
    #resultats {
        width: 80%;
        margin: 60px 0px 80px 60px;
    }
    footer {
        
    }

/* --------------------------------------------------------- */
/* ----------------------- LOADING ------------------------- */
/* --------------------------------------------------------- */
    
    .loading{
        position: absolute;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100vw;
        height: 100vh;
        background-color: #f4f1f6;
        z-index: 20;
        transition: all 1s ease-in;
    }
    .off{
        display: none;
    }
    .stop-loading{
        transform: translateY(-100%);
    }
    .containeur-loading{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .containeur-loading .small-txt-loading{
        font-size: 1.5em;
        text-transform: uppercase;
        padding: 0 0 15px 0;
    }
    .containeur-loading .big-txt-loading{
        font-family: 'terminal-grotesque-open';
        font-size: 2.5em;
        text-transform: uppercase;
        padding-top: 15px;1
    }
    .containeur-loading img{
        width: 300px;
    }

/* --------------------------------------------------------- */
/* ------------------------- LOGO -------------------------- */
/* --------------------------------------------------------- */
    
    .logo{
        position: absolute;
        left: -20px;
        top: -20px;
        z-index: 10;
        width: 175px;
        height: auto;
    }
    .logo a{
        display: block;
        width: 100%;
    }
    .logo img{
        width: 100%;
    }

/* --------------------------------------------------------- */
/* ------------------------ HEADER ------------------------- */
/* --------------------------------------------------------- */

    .main-container{
        display: none;
        position: relative;
        margin: 50px;
    }
    .on{
        display: block;
    }
    header{
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        /*height: 45vh;*/
        height: 332px;
        overflow: hidden;
        background-color: #6c96cf;
        border: 5px #2f2a75 solid;
    }
    header:hover #fenetres{
        filter: blur(3px);
        -webkit-filter: blur(3px);
    }
    header:hover #clouds{
        filter: blur(1px);
        -webkit-filter: blur(1px);
        z-index: 11;
    }
    header:hover{
        overflow: initial;
        overflow: hidden;
    }

/* --------------------------------------------------------- */
/* ------------------------- MODAL ------------------------- */
/* --------------------------------------------------------- */

    /*
    .link-modal{
        background-color: #f4f1f6;
        border: #2f2a75 3px solid;
        width: 600px;
        padding: 20px 50px;
        text-align: center;
        z-index: 9;
        opacity: 0;
        transition: all 200ms ease;
    }
    .link-modal p{
        font-size: 1.1em;
        width: 310px;
        margin: 0 auto;
    }
    .link-interface{
        text-transform: uppercase;
        display: inline-block;
        margin-top: 15px;
        padding: 5px 30px;
        background: #2f2a75;
        color: #f4f1f6;
        outline: #2f2a75 1px solid;
        outline-offset: 2px;
        transition: all 200ms ease;
    }
    .link-interface:hover{
        outline-offset: 0px;
        outline: #2f2a75 3px solid;
    }
    header:hover .link-modal{
        opacity: 1;
    }
    */

/* --------------------------------------------------------- */
/* ------------------------ CLOUDS ------------------------- */
/* --------------------------------------------------------- */

    #clouds{
        position: absolute;
        width: 3737px;
        height: 100%;
        top: 0;
        background: url('../assets/bandeau-cloud.png');
        animation-name: MOVE-BG;
        animation-duration: 50s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        filter: blur(5px);
        -webkit-filter: blur(5px);
        pointer-events: none;
    }
    @keyframes MOVE-BG {
        from {
          transform: translateX(0);
        }
        to { 
          transform: translateX(calc(-3737px + 100vw));
        }
     }

/* --------------------------------------------------------- */
/* ----------------------- FENÊTRES ------------------------ */
/* --------------------------------------------------------- */

    #fenetres{
        position: absolute;
        top: 0;
        left: 0;
        animation: all 200ms ease;

    }

    .container-fenetre-info{
        position: absolute;
        top: 110px;
        left: 5vw; /*15vh*/
        width: 40vw;
        max-width: 420px;
        min-width: 300px;
        z-index: 2;
     }
     .fenetre-date{
        position: absolute;
        top: -60px;
        right: -75px;
        width: 230px;
        z-index: 3;
    }

     .container-fenetre-formation{
        position: absolute;
        top: 110px;
        left: 45vw; /*55vh*/
        width: 25vw;
        max-width: 270px;
        min-width: 200px;
    }
    .fenetre-formations{
        position: relative;
        z-index: 3;
    }
    .fenetre-design{
        position: absolute;
        top: -50%;
        left: 50%;
        width: 300px;
        z-index: 1;
    }

     #fenetres img{
         width: 100%;
     }

/* --------------------------------------------------------- */
/* ----------------------- TAG LINE ------------------------ */
/* --------------------------------------------------------- */

    #tagline{
         display: flex;
         justify-content: space-between;
         align-items: center;
         padding: 50px;
     }
     #tagline h2{
        font-size: 3.5em;
        color: #f4f1f6;
     }
     #tagline h2 span{
        background-color: #2f2a75;
        padding: 5px 15px;
     }
     #tagline h2 span:not(:first-child){
        position: relative;
        top: -5px;
     }
     .introduction-txt{
         max-width: 610px;
         font-size: 1.5em;
         padding: 10px 15px;
     }

     .fenetre-down{
        display: block;
         position: relative;
         width: 200px;
         align-self: flex-end;
     }
     .img-fenetre-down{
         width: 100%;
     }
     .arrow-img{
         position: absolute;
         top: 60px;
         left: 38px;
         animation: 2s infinite alternate ease-in arrow-anim;
     }
     @keyframes arrow-anim {
        0% {
            top: 60px;
        }
        25% { 
            top: 50px;
        }
        50%{
            top: 60px;
        }
        100%{
            top: 60px;
        }
     }

/* --------------------------------------------------------- */
/* ----------------- SÉLECTION FORMATION ------------------- */
/* --------------------------------------------------------- */

    #selection-formation{
        margin: 60px;
    }
    .consigne-selection{
        position: relative;
    }
    .consigne-selection h4{
        display: inline-block;
        padding: 10px 20px;
        border: 2px #2f2a75 solid;
    }
    .block-flottant{
        position: absolute;
        top: calc(100% - 2px);
        left: 30px;
        width: 250px;
    }

/* --------------------------------------------------------- */
/* -------------------- CHOIX SECTIONS --------------------- */
/* --------------------------------------------------------- */
    
    .sections {
        position: relative;
        height: 1200px;
    }

    .filiR {
        border: 3px solid #2D2479;
        margin: 30px 0;
        position: relative;
    }
    .cases_seconde {
        width: 420px;
        position: absolute;
        left: 80px;
    }
    .cases_esaa {
        width: 520px;
        position: absolute;
        top: 80px;
        left: 580px;
    }
    .cases_sti {
        width: 560px;
        position: absolute;
        top: 300px;
        left: 0;
    }
    .cases_pro {
        width: 340px;
        position: absolute;
        top: 680px;
        left: 620px;
    }
    .boutons {
        width: 500px;
        position: absolute;
        top: 940px;
        left: 180Px;
    }


    .onglet {
        font-family: 'terminal-grotesque';
        font-size: 18px;
        color: #2D2479;
        padding: 5px 10px;
        border-bottom: 3px solid #2D2479;
    }
    .onglet img {
        width: 12px;
    }


    .choix {
        display: flex;
        justify-content: space-between;
        padding: 20px;
    }
    .choix_pro {
        flex-direction: row-reverse;
    }
    fieldset {
        border: none;
        width: 100%;
    }
    fieldset input {
        margin-bottom: 7px;
    }

    .cadre_rose {
        height: 70px;
        border: 3px solid #2D2479;
        background-color: #F0B1D0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .eyes1 {
        width: 140px;
    }
    .noeyes {
        width: 200px;
        margin-bottom: 4px;
    }
    .eyes2 {
        width: 200px;
        margin-bottom: 4px;
    }
    .eyes_sti {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin: 10px 0 15px 0;
    }
    .eyes3 {
        width: 245px;
        margin-bottom: 0px;
    }
    .eyes4 {
        width: 245px;
    }
    .eyes5 {
        width: 200px;
        height: 120px;
        margin-right: 20px;
    }
    .cadre_rose img {
        width: 70px;
    }

    .validation {
        text-align: center;
        border: none;
        width: 220px;
        height: 60px;
        background-color: #2D2479;
        color: white;
        font-family: 'terminal-grotesque';
        font-size: 24px; 
    }
    .reset {
        text-align: center;
        border: none;
        width: 220px;
        height: 60px;
        background-color: #F0B1D0;
        color: white;
        font-family: 'terminal-grotesque';
        font-size: 24px;
        margin-left: 20px;
    }

/* --------------------------------------------------------- */
/* ----------------------- RESULTAT ------------------------ */
/* --------------------------------------------------------- */

    .resultat {

    }
    .resultat h4 {
        font-family: 'terminal-grotesque';
        font-size: 30px;
        color: #2D2479;
        margin-bottom: 7px;
    }
    .resultat a {
        color: #F0B1D0;
        font-size: 18px;
    }
    .resultat a:hover {
        color: #f44;
    }
    
    .two_cols {
        display: flex;
    }

    .infos span {
        color: #6C96CF;
    }
    /*
    .plan_site {
        width: 90px;
    }
    .resultat img {
        width: 80px;
        height: auto;
    }
    */
    .result {
        margin: 14px 0px 0px 20px;
    }
    .visite {
        margin-bottom: 27px;
    }
    .visite p {
        margin: 0px 0px 0px 0px;
    }
    .visite p:first-child {
        margin: 0px 0px 10px 0px;
    }
    .nom_section {
        font-weight: bold;
        border-bottom: 2px solid black;
        padding-bottom: 0px;
    }
            
            
/* --------------------------------------------------------- */
/* ------------------------ CADRES ------------------------- */
/* --------------------------------------------------------- */

    .cadre_bleu {
        margin: 40px 40px 0px 40px;
        border: 4px solid #029ce6;
        /*width: 50%;*/
        width: 512px;
        height: 512px;
    }
    .cadre_bleu h4 {
        margin: 15px 0;
        font-style: normal;
        font-weight: normal;
        text-align: center;
        font-family: 'terminal-grotesque';
        font-size: 30px;
        color: #029ce6;
    }
    .carte {
        text-align: center;
        /*margin: 40px 40px 0px 40px;*/
    }
    #map {
        /* la carte DOIT avoir une hauteur sinon elle n'apparaît pas */
        height: 432px;
    }
    
    .adresses {
       /* margin: 40px 40px 0px 0px;*/
    }
    .adresses p {
        font-size: 16px;
        text-align: left;
        margin: 0 0 30px 40px;
    }
    .adresses a {
        color: #000;
        font-size: 14px;
        margin-top: 4px;
    }
    .espaceur {
        height: 30px;
    }
    .stop {
        height: 48px;
    }

/* --------------------------------------------------------- */
/* --------------------- MEDIA QUERIES --------------------- */
/* --------------------------------------------------------- */

    @media only screen and (max-width: 750px) {

        /*---- HEADER ----*/
        .main-container {
            margin: 30px;
        }
        header{
            /*flex-direction: column;*/
            height: 492px;
        }
        .container-fenetre-info{
            position: relative;
            top: 110px;
            left: 3vw;
        }
        .container-fenetre-formation{
            position: relative;
            top: 180px;
            left: -12vw;
        }

        #tagline{
            padding: 30px 0 0 20px;
        }
        #tagline h2{
            font-size: 2.5em;
        }
        #tagline h2 span{
            padding: 5px 0px;
        }
        #tagline h2 span:not(:first-child){
            top: 0px;
        }
        .introduction-txt{
            font-size: 1.3em;
            padding: 30px 0px;
        }
        .fenetre-down {
            display: none;
        }

        #selection-formation{
            margin: 0 30px;
        }
        
        /*--- Choix sections ---*/
        #content {
            width: 94%;
            margin: 80px 10px 80px 10px;
            margin: 80px auto;
        }
        .sections {
            height: 1200px;
        }
        .onglet {
            font-size: 16px;
        }
        .onglet img {
            width: 11px;
        }    
        .cases_seconde {
            width: 100%;
            position: relative;
            left: 0;
        }
        .cases_esaa {
            width: 100%;
            position: relative;
            top: 0;
            left: 0;
        }
        .cases_sti {
            width: 100%;
            position: relative;
            top: 0;
            left: 0;
        }
        .cases_pro {
            width: 100%;
            position: relative;
            top: 0;
            left: 0;
        }
        .boutons {
            width: 100%;
            position: relative;
            top: 0;
            left: 0;
        }

        fieldset input {
            margin-bottom: 0px;
        }
        .noeyes {
            width: 120px;
        }
        .eyes2 {
            width: 120px;
        }
        .eyes_sti {
            flex-direction: column;
            margin: 10px 0;
        }
        .eyes3 {
            width: 100%;
            margin-bottom: 4px;
        }
        .eyes4 {
            width: 100%;
        }
        .eyes5 {
            width: 200px;
            height: 120px;
            margin-right: 20px;
        }
        .cadre_rose img {
            width: 50px;
        }

        /*--- Résultats ---*/
        #resultats {
            width: 90%;
            margin: 60px 20px;
        }
        .resultat h4 {
            font-size: 24px;
            margin-bottom: 0px;
        }
        .nom_section {
            padding-bottom: 4px;
        }
        /*--- Timeline ---*/
        /*     
        #content {
            width: 700px;
            margin-top: 120px;
        }
        .timeline {
            margin: 0 0 0 0;          
        }
        .morning {
            width: 149px;
        }
        .midterm {
            width: 89px;
        }
        .afternoon {
            width: 99px;
        }
        .after {
            width: 50px;
        }
        .informations {
            width: 390px;
        }
        .espaceur{
            height: 70px;
        }

        .cadre_bleu {
            width: 512px;
            height: 512px;
        }
        footer {
            flex-wrap: wrap;
            justify-content: center;
        }
        */
    }


/* --------------------------------------------------------- */
/* ----------------------- TIMELINE ------------------------ */
/* --------------------------------------------------------- */

    /* --------------- Filières ----------------- */
    /*
    .filiere {
        border: 2px solid #000;
        padding-bottom:  30px;
        margin-bottom: 20px;
    }
    .f_design {

    }
    .f_indus{

    }
    .nom_filiere {
        font-family: 'terminal-grotesque';
        font-size: 30px;
        margin: 10px 0;
    }
    */
    /* -------------- Généralités --------------- */
    /*
    .site {
        font-family: 'terminal-grotesque';
        font-size: 30px;
        margin-top: 60px;
    }
    .heures_conf {
        margin: 0 0 20px 0;
        border-bottom: 2px solid #000;
        padding: 0 0 30px 10px;

    }
    .heures_conf p {
        margin: 0;
    }
    .heures_conf p span {
        font-weight: bold;
    }
    .timeline {
        margin: 0 0 0 40px;          
    }
    .timeline_b {
        margin: 40px 0 0 40px;          
    }
    */
    /* --------------- Lignes Flex ---------------- */

    /*
    .line {
        display: flex;
    }
    .line_date {
        text-align: center;
        height: 40px;
        line-height: 40px;
        font-weight: bold;
        font-size: 14px;
    }
    .line_hours {
        height: 30px;
        line-height: 30px;
        font-size: 11px;
        font-weight: bold;
        text-align: left;
        position: relative;
        left: -15px;
    }
    .line_borders {
        height: 15px;
    }
    .line_colors {
        font-size: 16px;
        height: 16px;
        line-height: 16px;
    }
    .line_infos {
        font-size: 16px;
        line-height: 16px;
    }
    .name {
        width: 249px;
        padding-right: 10px;
        border-right: 1px solid black;
        text-align: right;
        font-weight: bold;
    }
    .name_hours {
    }
    .morning {
        background-color: white;
        width: 179px;
        border-right: 1px solid black;
    }
    .midterm {
        background-color: white;
        width: 109px;
        padding-right: 10px;
        border-right: 1px solid black;
    }
    .afternoon {
        background-color: white;
        width: 119px;
        border-right: 1px solid black;
    }
    .after {
        background-color: white;
        width: 240px;
    }
    .informations {
        background-color: white;
        width: 650px;
        padding-left: 10px;
        font-size: 12px;
    }
    .vendredi {
        background-color: white;
        width: 240px;
    }
    .samedi {
        background-color: white;
        width: 200px;
    }
    .visioconf {
        background-color: white;
        width: 39px;
        border-right: 1px solid black;
    }
    .after_b {
        background-color: white;
        width: 100px;
    }
    .line_hours_b {
        height: 30px;
        line-height: 30px;
        font-size: 11px;
        font-weight: bold;
        text-align: left;
        position: relative;
    }
    .name_c {
        width: 245px;
    }
    .after_c {
        width: 115px;
    }
    .noborder {
        border-color: white;
    }
    */

    /* A effacer */
    /*
    .horaires {
        border-collapse: collapse;
        font-size: 11px;
        margin-left: 40px;
    }
    th img {
        width: 30%;
        height: auto;
    }
    */
    
        /* --------------- Ligne dates ---------------- */
    /*
    .horaires tr:first-child th {
        text-align: center;
        height: 40px;
        font-size: 14px;
        left: 0;
    }
    .jours {
        text-align: center;
        height: 40px;
        line-height: 40px;
        font-weight: bold;
        font-size: 14px;
        left: 0;
    }
    */

        /* --------------- Ligne heures ---------------- */
    /*
    .horaires tr th {
        height: 30px;
        vertical-align: middle;
        text-align: left;
        position: relative;
        left: -10px;
    }
    */
        /* --------------- Lignes ---------------- */
    /*
    .horaires tr td {
        width: 59px;
        height: 15px;
        border-left: solid 1px black;
        padding: 0;
        vertical-align: top;
    }
    .horaires tr td:first-child {
        border-left: none;
        padding-right: 10px;
        width: 230px;
        font-family: 'karlabold';
        text-align: right;
    }
    .pause {
        width: 119px;
    }
    .horaires tr td.noborder {
        border-left: solid 1px white;
    }
    .horaires tr td:last-child {
        width: 159px;
    }
    */
        /* --------------- Sites ---------------- */
    /*
    .site_bleu {
        color: #029ce6;
    }
    .site_vert {
        color: #ffdc0a;
    }
    .site_rouge {
        color: #e20613;
    }
    */
        /* --------------- Barres ---------------- */
    /*
    .bleu {
        background-color: #029ce6;
    }
    .vert {
        background-color: #ffdc0a;
    }
    .rouge {
        background-color: #e20613;
    }
    */
        /* --------------- Lignes salles ---------------- */
    /*
    .details_bleu {
        color: #000;
    }
    .details_bleu span {
        margin-left: 10px;
    }
    .details_bleu a {
        font-weight: bold;
        color: #029ce6;
    }
    .details_vert {
        color: #000;
    }
    .details_vert span {
        margin-left: 10px;
    }
    .details_vert a {
        font-weight: bold;
        color: #ffdc0a;
    }
    .details_rouge{
        color: #000;
    }
    .details_rouge span {
        margin-left: 10px;
    }
    .details_rouge a {
        font-weight: bold;
        color: #e60211;
    }
    */
        /* --------------- Options ---------------- */
    /*
    .petit {
        font-size: 11px;
        line-height: 11px;
    }
    .invisible {
        display: none;
    }
    */
        /* ----------------- PDF ------------------ */
    /*
    .pdf {
        margin: 70px 0 30px 40px;
        font-size: 18px;
    }
    .pdf a {
        color: #000;
    }
    */

/* --------------------------------------------------------- */
/* ----------------------- COULEURS ------------------------ */
/* --------------------------------------------------------- */

    /*
    Années précédentes :
    
    ROUGE = R : 227 - V : 6 - B : 19    (227,6,19)      #e30613
    VERT = R : 63 - V : 180 - B : 152   (63,180,152)    #3fb498
    BLEU = R : 74 - V : 93 - B : 167    (74,93,167)     #4a5da7

    BLEU 2019 = R : 0 - V : 21 - B : 224    (0,21,224)  #0015e0
    
    ROUGE 2020 = R :   #e60211  [ CMJN  0 100 100 0 ]  RVB 227   6  19
    JAUNE 2020 = V :   #ffdc0a  [ CMJN  0  10 100 0 ]  RVB 255 220  10
    BLEU 2020  = B :   #029ce6  [ CMJN 80  20   0 0 ]  RVB   2 156 230

    (E20613 pour le rouge, 70C9F2 pour le bleu et FFDA05 pour le jaune) selon Paul Elie
    
    JFO 2021 :
    Bleu foncé (principal)  :   #2D2479
    Bleu clair              :   #6C96CF
    Rose                    :   #F0B1D0
    Fond écran              :   #f4f1f6

    */


