@font-face {
    font-family: 'Barlow_Condensed_Light';
    src: url('fonts/Barlow_Condensed/BarlowCondensed-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Barlow_Condensed_Medium';
    src: url('fonts/Barlow_Condensed/BarlowCondensed-Medium.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
:root{
    --mainColor: #E9531B;
    --btnMainColor: #0060a7;
    --btnSecondColor: #ff0000;
    --secondColor: #F6BAA4;
    --secondColor09: rgba(246, 186, 164, 0.9);

    --v-progress-left: 50px;
    --v-progress-item-height-width: 12px;
    --v-progress-line-height: 35px;
    --v-progress-line-width: 3px;
    --v-progress-gap: 13px;
    --blue: #0081C9;
    --green: #159895;
    --light-blue: #5BC0F8;
}
*{
    box-sizing: border-box;
}
body {
    /*font-family: 'Barlow_Condensed_Light', sans-serif !important;*/
    font-family: sans-serif !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 16px !important;
}
h1, h2, h3 {
    font-family: 'Barlow_Condensed_Light', sans-serif !important;
    /*font-size: 16px !important;*/
}
button{
    font-size: 16px !important;
}
p, div, span{
    /*font-size: 18px !important;*/
}
input, select{
    font-size: 0.8em !important;
}
h4,h5,h6 {
    color: var(--mainColor);
    font-weight:bold;
}
.color {
    color:#FF741C;
}
.close {
    color:red;
    opacity:1;
}
.auth_div{
    box-shadow: 0px 0px 15px grey;
    padding: 15px;
    background-color: white;
}
.img_accueil{
    width: 20vw;
    height: auto;
    position: absolute;
    right: 10%;
    top: 50px;
    max-width: 350px
}
.div_img_accueil{
    display: inline-block;
    text-align: center;
}
.main_accueil{
    width: 80%;
    display: inline-block;
    text-align: justify;
    line-height: 1.5;
}
.presentation_accueil{
    padding: 100px 20% 50px 50px;
    margin: 0;"
}
.btn_menu {
    font-size: 1.25em !important;
    color: var(--mainColor);
    cursor:pointer;
}
.btn_menu::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #000;
    transition: width .3s;
    margin-top: 5px;
    background: var(--mainColor);
}

.btn_menu:hover::after {
    width: 100%;
    transition: width .3s;
}
#main {
    padding: 0;
    flex: 1;
}
#page {
    min-height:800px;
}
#page_form {
    min-height:800px;
    padding-left:10px;
    padding-right:10px;
    max-width:1024px;
    background-color:#FFF;
}
.ui-autocomplete
{
    z-index: 2000 !important;
    /*min-width: 500px !important;*/
}

.ui-autocomplete {
    max-height: 600px;
    /*min-width: 400px;*/
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}
.ui-autocomplete-loading{
    background:url('../images/loading.gif') no-repeat right center;
}
/* IE 6 doesn't support max-height
* we use height instead, but this forces the menu to always be this tall
*/
* html .ui-autocomplete {
    height: 100px;
}

/* Sauvegarder */
.btn_save {
    border-radius: 3px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid transparent;
    padding: 10px 16px;
    line-height: 1.3333333;
    border-radius: 6px;
    color: white;
    border-color: #ddd;
    background-color: #5CB85C;
    min-width:120px;
}

.btn_save:hover {
    background-color: #008d4c;
}

/* Supprimer */
.btn_delete {
    border-radius: 3px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid transparent;
    padding: 10px 16px;
    line-height: 1.3333333;
    border-radius: 6px;
    color: white;
    border-color: #ddd;
    background-color: #D9534F;
    min-width:120px;
}

.btn_delete:hover {
    background-color: #C9302C;
}

/* Retour */
.btn_return {
    border-radius: 3px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid transparent;
    padding: 10px 16px;
    line-height: 1.3333333;
    border-radius: 6px;
    color: white;
    border-color: #ddd;
    background-color: #337AB7;
    min-width:120px;
}

.btn_return:hover {
    background-color: #286090;
}

/* Info */
.btn_info {

    border-radius: 3px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid transparent;
    padding: 10px 16px;
    line-height: 1.3333333;
    border-radius: 6px;
    color: white;
    border-color: #ddd;
    background-color: #d9d089;
    min-width:120px;
}

.btn_info:hover {
    background-color: #cdc481;
}

/* Listing */
.listing {
    border: 1px solid #f4f4f4;
    width: 100%;
    font-size:12px;
    background-color:#FFFFFF;
}

.listing tr:hover {
    background-color: #EEEEEE;
}

.listing  th {
    border-top: 1px solid #f4f4f4;
    /*
    border-bottom: 2px solid #f4f4f4;
    */
    border-bottom: 1px solid gray;
    background-color: #f9f9f9 !important;

    /*height:45px;*/

    padding: 5px;

}
.listing td {
    /*
    border-top: 1px solid #f4f4f4;
    */
    padding: 5px;
    cursor:pointer;
    color:#444444;
}

.listing tr {
    /*
    border-bottom: 2px solid #f4f4f4;
    */
    border-bottom: 1px solid #CCCCCC;
}

/***********************************************************************************************************************
***************** BOOTSTRAPT EQUAL COLUMNS *****************************************************************************
************************************************************************************************************************/
/*
 * Row with equal height columns
 * --------------------------------------------------
 */
.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}
footer{
    background-color: var(--mainColor);
    padding: 0px;
    width: 100%;
    text-align: center;
    min-height: 250px;
    font-size: 1.125em;
}
footer #top, footer #bottom{
    margin-top: 10px;
    width: 100%;
}
footer div.row{
    display: flex;
    align-items: flex-start;
}
footer a{
    text-decoration: none;
    color: white;
}
footer span.white-card:not(.responsive_tittle){
    display: inline-block;
    background-color: white;
    color: var(--mainColor);
    font-weight: bold;
    padding: 10px;
    font-family: 'Barlow_Condensed_Medium', sans-serif !important;
}
footer #footer-left{
    color: white;
    font-family: 'Barlow_Condensed_Medium', sans-serif !important;
    line-height: 1.2em !important;
}
footer #footer-left p{
    text-align: center;
    padding: 0px 30px;
}
footer #footer-middle{
    color: white;
    bottom: 0;
    margin-top: auto;
}
footer #footer-middle p#mentions{
    font-weight: bold;
}
footer #footer-middle p#copyright{
    color: black;
}
footer #footer-right img{
    margin-top: 15px;
    width: 150px;
    height: auto;
}
img#footer-logo{
    width: 200px;
    height: auto;
    margin-bottom: -9px;
}
.responsive_tittle{
    display: none;
}
.social-container {
    text-align: center;
}
.social-icons {
    padding: 0;
    list-style: none;
    margin: 0;
}
.social-icons li {
    display: inline-block;
    margin: 0.1em;
    position: relative;
    font-size: 0.75em; /* Réduire la taille des icônes en ajustant cette valeur */
}
.social-icons i {
    /*color: #fff;*/
    color: var(--mainColor);
    position: absolute;
    top: 9px;
    left: 9px;
    transition: all 265ms ease-out;
}
.social-icons a {
    display: inline-block;
}
.social-icons a:before {
    transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    content: " ";
    width: 32px;
    height: 32px;
    border-radius: 100%;
    display: block;
    transition: all 265ms ease-out;
    /*border: 1px solid white;*/
    background-color: white;
}
.social-icons a:hover:before {
    transform: scale(0);
    transition: all 265ms ease-in;
}
.social-icons a:hover i {
    transform: scale(2.2);
    -ms-transform: scale(2.2);
    -webkit-transform: scale(2.2);
    background: -webkit-linear-gradient(45deg, white, white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 265ms ease-in;
}
#div_menu{
    top: 0;
    position: sticky;
    background-color: white;
    box-shadow: 0px 0px 15px grey;
    z-index: 99;
}
.blue-text{
    color: #00607E;
    font-weight: bold;
}
.orange-text{
    color: var(--mainColor);
    font-weight: bold;
}
#formations_filters{
    background-color: rgba(255, 255, 255);
    top: 95px;
    margin-top: 20px;
    width: 18vw;
    position: fixed;
    left: 2vw;
    padding: 15px;
    box-shadow: 0px 0px 15px grey;
}
#formations_result, #formations_header{
    background-color: rgba(255, 255, 255);
    margin-left: 22vw;
    width: 72vw;
    padding: 20px;
    box-shadow: 0px 0px 15px grey;
    margin-top: 20px;
}

.delete-button {
    width: 100%;
    font-size: 1em !important;
    padding: 10px 14px;
    display: block;
    border: 1px solid var(--btnSecondColor);
    margin: 5px;
    cursor: pointer;
    background-color: var(--btnSecondColor);
    color: white;
}
.delete-button:hover {
    background-color: white;
    color: var(--btnSecondColor);
    transition: all ease 0.25s;
}
.delete-button:focus {
    background-color: white;
    color: var(--btnSecondColor);
    transition: all ease 0.25s;
}
.filter-button {
    width: 100%;
    font-size: 1em !important;
    padding: 10px 20px;
    display: block;
    border: 1px solid var(--btnMainColor);
    margin: 5px;
    cursor: pointer;
    background-color: var(--btnMainColor);
    color: white;
}
.filter-button:hover {
    background-color: white;
    color: var(--btnMainColor);
    transition: all ease 0.25s;
}
.btn_inscription{
    font-size: 1em !important;
    padding: 10px 14px;
    display: block;
    border: 1px solid var(--btnMainColor);
    margin: 5px;
    cursor: pointer;
    background-color: var(--btnMainColor);
    color: white;
}
.btn_inscription:hover {
    background-color: white;
    color: var(--btnMainColor);
    transition: all ease 0.25s;
}

.btn_primary{
    font-size: 1em !important;
    padding: 10px 14px;
    display: block;
    border: 1px solid var(--btnMainColor);
    margin: 5px;
    cursor: pointer;
    background-color: var(--btnMainColor);
    color: white;
}
.btn_primary:hover {
    background-color: white;
    color: var(--btnMainColor);
    transition: all ease 0.25s;
}
.btn_primary:focus {
    background-color: white;
    color: var(--btnMainColor);
    transition: all ease 0.25s;
}

.btn_secondary{
    font-size: 1em !important;
    padding: 10px 14px;
    display: block;
    border: 1px solid var(--btnSecondColor);
    margin: 5px;
    cursor: pointer;
    background-color: var(--btnSecondColor);
    color: white;
}
.btn_secondary:hover {
    background-color: white;
    color: var(--btnSecondColor);
    transition: all ease 0.25s;
}
.btn_secondary:focus {
    background-color: white;
    color: var(--btnSecondColor);
    transition: all ease 0.25s;
}

button#scrollToTopButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--mainColor);
    color: white;
    border-radius: 50%;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
    z-index: 99;
    border: 1px solid white;
}
button#scrollToTopButton:hover {
    background-color: white;
    color: var(--mainColor); /* Change color on hover */
    border: 1px solid var(--mainColor);
}
button#scrollToTopButton.show {
    display: block;
}
#list-menu{
    overflow: hidden;
}
ul.menu {
    width: 100%;
    list-style-type: none;
    padding: 0;
    margin: 0;
    z-index: 100;

}
ul.menu li {
    display: inline-block;
    padding: 14px;
}
.button-show-menu{
    position: fixed;
    top: 30px;
    left: 20px;
    color: var(--mainColor);
    background-color: white;
    border: none;
    display: none;
}
#menu-logo{
    text-align: left;
}
.entite-box {
    border: 1px solid #ddd;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.entite-box:last-child {
    margin-bottom: 0px;
}
.modal-body {
    max-height: 400px !important;
}
.box-evode {
    margin: 20px 0;
    padding: 0;
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    box-shadow: 5px 5px 10px rgba(128, 128, 128, 0.5);
    overflow: hidden; /* Ensure smooth transition */
}
.box-evode-title, .box-evode-content {
    padding: 5px;
    margin: 0;
}
.box-evode-title {
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
    color: var(--mainColor);
    font-weight: bold;
    background-color: #ededed;
    cursor: pointer;
}
.box-evode-title.disabled {
    color: grey;
}
.box-evode-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
}
.box-evode-title .box-evode-dropdown {
    float: right;
    background-color: #ededed;
    border: none;
}
.box-evode-content.active {
    max-height: 2000px;
}
.box-evode-dropdown i {
    transition: transform 0.3s ease;
}
.box-evode-dropdown.active i {
    transform: rotate(-180deg);
}
.hr{
    margin-top: 10px;
    margin-bottom: 10px;
    border-top: 1px solid var(--secondColor);
}
.hr.middle{
    width: 30%;
    margin-left: 35%;
}
.stepper-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;

    @media (max-width: 768px) {
        font-size: 12px;
    }
}

.stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: -50%;
    z-index: 2;
}

.stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 2;
}

.stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    margin-bottom: 6px;
}

.stepper-item.active {
    font-weight: bold;
}

.stepper-item .step-name{
    text-align: center;
}

.stepper-item.completed .step-counter {
    background-color: var(--mainColor);
    color: white;
}

.stepper-item.completed::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid var(--mainColor);
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 3;
}

.stepper-item:first-child::before {
    content: none;
}
.stepper-item:last-child::after {
    content: none;
}
.error {
    border: 1px solid red;
}
/*Responsive*/
@media (min-width: 768px) {

}
@media (max-width: 767px) {
    footer #footer-left p{
        text-align: center;
    }
    .responsive_tittle{
        position: relative;
        display: inline-block;
        background-color: white;
        color: var(--mainColor);
        padding: 10px;
        font-weight: bold;
        margin-bottom: 20px;
    }
    footer{
        position: relative;
    }
    footer #top{
        display: none;
    }
    footer div.row{
        display: block;
    }
    ul.menu{
        height: 0px;
        overflow: scroll;
    }
    ul.menu li {
        display: block;
    }
    .button-show-menu{
        display: block;
    }
    #menu-logo{
        text-align: center;
    }
    #formations_header{
        padding: 20px;
        width: 100vw;
        margin-left: 0;
    }
    #formations_filters{
        width: 100vw;
        position: static;
        padding: 15px;
    }
    #formations_result{
        margin-left: 0px;
        width: 100vw;
    }
    .modal, .modal-dialog, .modal-content, .modal-body {
        max-width: 100% !important;
        left: 0% !important;
    }
    .img_accueil{
        position: relative;
        width: 50vw;
    }
    .div_img_accueil{
        width: 100%;
    }
    .main_accueil{
        width: 100%;
    }
    .presentation_accueil{
        padding: 100px 10%;
    }
}