/*
clamp ::
    - 1rem : taille minimale 
    - 2vw : taille préférée (responsive) 
    - 2.5rem : taille maximale

exemple image responsible class : .responsive-logo-pano {
    height: clamp(150px, 30vh, 400px);
    width: auto;
    width: clamp(200px, 50vw, 600px);
    height: auto;
}
*/

/**
============================================
Classes des KRPANO
============================================
*/
.quiz-responsive-question {
    font-size: clamp(0.4rem, 4.5vw, 4.5rem) !important;
}

.quiz-responsive-reponse {
        font-size: clamp(0.4rem, 2.0vw, 2.0rem) !important;
}

.responsive-popup-titre {
    /* font-size: clamp(0.4rem, 4.5vw, 4.5rem) !important; */
    font-size: clamp(0.8rem, 5vw, 2.5rem) !important;
}

.responsive-pano-accessibilite-text {
    width: 37rem !important;
}

.responsive-logo-pano {
    font-size: clamp(0.4rem, 2.5vw, 2.5rem) !important;
}

.responsive-station-image-pano {

}

.responsive-accessiblite-pano-image {

}

/**
============================================
Classes de la page d'accueil du front avec la frise
============================================
*/

* {
    user-select: none;
}

.home-responsive-title {
    font-size: clamp(0.4rem, 10vw, 4.5rem) !important;
    margin-bottom: 50px;
}

.home-responsive-accessibilite-image {

}
.home-responsive-accessibilite-text {
    font-size: clamp(0.2rem, 2.5vw, 2.5rem) !important;
}

.home-responsive-logo {
    width: clamp(100%, 40%, 120%);
}

.home-responsive-button-go {
    font-size: clamp(0.2rem, 5vw, 2.5rem) !important;

}

.responsive-timeline-body {

}

.responsive-tisseo-service-image {
    /*max-width: 20%;*/
    /*min-width: 10%;*/
}

/*
.responsive-text {
    font-size: 1rem;
}
*/
@media (min-width: 1600px) {
    #nextBtn{
        visibility: visible;
    }
}

@media (min-width: 1901px) {
    #nextBtn{
        visibility: hidden !important;
    }
}

@media (min-width: 576px) and (max-width: 680px) {

    /* Conteneur de la timeline */
   /* #timeline-container {
     
        padding-top: 125px;
      }
    .home-responsive-title {
        margin-bottom: 10px;
    }

    .rotate-pano {
        transform: rotate(90deg) !important;
        display: block;
    }

    .contaiuer-fluid {
        height: 100%;
        width: 80%;
    }*/

    .kr-header {
        width: 15%;
        max-width: 15%;
        padding-left: 50px;
        padding-right: 50px;
        padding-top: 4rem;
    }
    
    .media {
        border: none;
    }
    /*
    .media .branch-event {
        transform: translateX(-106px);
    }

     */
}
@media (min-width: 577px) {

    #timeline:before {
        content: '';
        position: absolute;
        top: 4.2em;
        left: 0;
        border-top: 4px solid #4BBE3F;
        width: 100%;
        height: 0;
        z-index: 0;
        transform: translateY(-50%) ;
    }
    #timeline {
        display: flex; /* permet à :before de ne pas dépasser */
		justify-content: space-between;
        position: relative;
    }

    .timeline-btn-start {
        transform: rotate(180deg);
    }

    /* CHANGER la valeur du background-color*/
    .last-pastille {
        background-color: #f5f7fa;
        position: relative;
        z-index: 1
    }


}
@media (max-width: 576px) {
    
      #nextBtn{
        visibility: hidden !important;
    }

    
    .branch-h {
        border-bottom: solid green 3px;
        width: 5em;
        transform: translateX(29px) translateY(16px);
    }
    
    .row>* {
        padding-right: 0px;
        padding-left: 0px;
        width: 90%;
    }

    .container-fluid {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
        margin-right: auto;
    }
    #timeline-container {
            width: 100%;
            max-width: 100%;
            padding-top: 5px;
            transform: translateX(-25px);
    }
    .media {
        border: none;
    }
    .branch-event {
        background-image: url(../../img/line.png);
        background-size: 90px 15px;
        background-position-x: center;
        background-repeat: no-repeat;
        background-position-y: center;
        transform: translateX(-110px) translateY(15px);
    }

    .branch-event img {
    vertical-align: middle;
    top: 1em;
    }
    .noeud-ramifie {
        top: 3em;
        left: -2.5em;
    }
    .event {
        height: 70px !important;
        width: 30px !important;
    }

    .media img {
       /* width: 50px;
        height: auto;*/
        position: absolute;
        left: 1px !important;
        width: 30px;
        height: auto;
    }

    .media .event-text {
        position: absolute;
        /*left: 80% !important;*/
        margin-left: 40px;
        margin-top: 10px;
        /*padding: 5px 5px;*/
    }
    .event-text {
        max-width: 300px;
        line-height: normal;
    }
    
    .responsive-text {
        font-size: 1.2rem;
    }

    .event-text-inactive {
        min-width: 200px;
    }

    .media > span {
        display: inline-block;
        width: auto;
        max-width: 300px;
        height: auto;
        overflow-wrap: break-word;
        word-wrap: break-word;
        white-space: wrap;
        padding: 10px 20px;
    }

    .media:nth-child(1) > span {
        width: 155px;
    }
    

    .media:nth-child(5) > span {
        width: 170px;
    }
    
    .media:nth-child(8) > span {
        width: 180px;
    }
    
    .media:nth-child(12) > span {
        width: 150px;
    }
    
    .media:nth-child(21) > span {
        width: 132px;
    }

    .badge {
        white-space: normal;
    }

    .branch-event > span {
        padding: 5px 20px;
        height: 40px;
    }

    #timeline {
        display: flex;
        flex-direction: column;
        /* 👈 pour affichage vertical */
        align-items: center;
    }

    .wrap {
        text-align: center;
        /*margin: 20px;*/
        position: relative;
        /*margin-bottom: 5em;;*/

    }

    .links {
        padding: 0 10px;
        display: flex;
        justify-content: space-between;
        position: relative;
    }


    .wrap:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        /*border-top: none;*/
        border-left: 4px solid #4BBE3F;
        background: none;
        height: 95%;
        /*width: 50%;*/
        transform: translate(49.8%, 3%);

        width: 100%;
        /*transform: rotate(90deg) !important;*/
    }




    .branch-line {
        position: relative;
        width: 3px;
        height: 50px;
        background-color: #4BBE3F !important;
        left: 0.9em;
        top: 0%;
        transform: translateX(-50%);
    }
    
    .event {
        flex-direction: row;
        /* horizontal dans la colonne */
        align-items: center;
        justify-content: flex-start;
        position: relative;
    }

    .event-text {
        position: absolute;
        /* left: 80% !important; */
        margin-left: 40px;
        margin-top: 10px;
        padding: 5px 14px;
        top: 1.4em;
    }

    .event-text-oblique {
        transform: rotate(0deg);
        transform-origin: left middle;
        max-width: 300px;
    }
	
	

    .front-accessibilite {
        margin-right: 10px;
    }
/* 
    .front-question{
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    } */
}


@media (min-width: 768px) {
    .responsive-text {
        font-size: 1.5rem;
    }
}

@media (min-width: 992px) {
    .responsive-text {
        font-size: 2rem;
    }
}
/* 
@media (max-width: 430px) {
.front-question{
    white-space: normal;
} 
}*/