body{
    overflow: initial;
}

.content {
    display: flex;  
    flex-flow: row wrap;
    align-items: center;
    margin-right: 5px;
}

.content > * {
    flex: 1 100%;
    margin-bottom: 20px;
}

#tabs ul {
    list-style: none;
    padding-left: 15px;
}

#tabs ul li {
    float: left;
    width: 47%;
    border: 1px solid gainsboro;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: center;
}

#tabs ul li a {
    padding: 5% 37%;
}

#tabs ul li:hover {
    background: #ccc;
    color: #666
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active,
.ui-tabs .ui-tabs-nav li.ui-state-disabled,
.ui-tabs .ui-tabs-nav li.ui-tabs-loading {
    background-color: #ccc;
}

.ui-tabs .ui-tabs-panel {
    padding: 10px;
    border: 1px solid #B1B1B1;
    margin: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.175);
    clear: both;
    background: #fff;
}

.icones{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.icones > * {
    margin: 5px;
}

.mapael {
    cursor: pointer;
    text-align: center;
}

#map{
    margin-top: 15px;
}

/* Style the tab */
.tab, .format-label label {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button, .format-label label {
  background-color: #f1f1f1;
  float: left;
  border: 1px solid #f1f1f1;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
/* .tab button:hover, .format-label label:hover {
  background-color: #ddd;
} */

/* Create an active/current tablink class */
button.active, label.active {
  background-color: #ccc;
  color: rgba(176,39,123,.76);
  font-weight: bold;
  border: 1px solid black;
}

button.disabled, label.disabled, button:disabled {
    background-color: #fafafa !important;
    color: lightgrey;
    cursor: default;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border-top: none;
}

.tabcontent>p{
    margin: 10px 0;
}

.tab a{
    width: 90%;
    min-width: fit-content;
    max-width: 300px;
    border-radius: unset;
}

.tab-btn{
    display: flex;
    width: 100%;
}

.tablinks{
    width: inherit;
}

button{
    white-space: nowrap;
}

a{
    white-space: normal;
}

.cpf-img-mobile{
    height: 40px;
}

.cpf-img{
    height: 60px;
}

div.modal{
    width: 60%;
    position: initial;
    top: 0;
    left: 0;
    margin-left: 0;
    max-width: inherit;
}

.modal a.close-modal{
    top: 17%;
    right: 27%;
}

.modal-body{
    display: flex;
    justify-content: space-evenly;
    max-height: 500px;
}

.modal-body>*{
    flex: 0 0 auto;
}

.modal-header{
    display: flex;
    flex-direction: column;
}

.modal-title{
    margin-bottom: 0px;
    color: rgba(176,39,123,.76);
    font-weight: bold;
    font-size: 1.6em;
}

.sticky>*{
    margin-top: 5px;
    margin-bottom: 5px;
}

button.samesize {
    width: 70%;
    min-width: fit-content;
    margin-top: 5px;
}

#btnMenuMobile {
    float: right;
    width: 10%;
    min-width: fit-content;
    font-weight: bold;
}

.format_stage{
    text-align: center;
    font-weight: bold;
    margin: 5px 0;
}

/* .code{
    /*text-align: center;
} */

.flex{
    display: flex;
}

.description{
    width: 80%;
}

.description > p{
    margin: 5px 0;
}

#add-formation{
    background-color: white;
    color: rgba(134,30,94,.76);
    padding: 5px;
    font-weight: bold;
    border-radius: 3px;
}

#button-select{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
}

#button-select>a{
    font-weight: bold;
    border-radius: 5px;
    padding: 8px;
    margin: 16px;
}

#button-select>a p{
    margin: 0;
    line-height: 26px;
}

.btn-cpf{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #4065B5;
    
}

.btn-cpf:hover{
    background-color: #2751A5;
    box-shadow: 0 8px 50px -6px rgba(84,84,120,.26);
}

.satisfaction{
    display: flex;
    align-items: center;
    justify-content: center;
}

.satisfaction img{
    width: 50px;
    margin-right: 30px;
}

.note-row{
    display: flex;
    justify-content: space-between;
}

.avis-google p{
    text-align: center;
    font-size: 20px;
    margin: 0;
}

/* Tentative : mettre la carte de France sticky pour y avoir accès tout au long de la page
Probleme : L'aside ne mesure pas la hauteur de la page, la carte s'arrete où l'aside s'arrete
.carte-regions{
    position: -webkit-sticky;
    position: sticky;
    top: 200px;
}

.dates{
    position: -webkit-sticky;
    position: sticky;
    top: 500px;
} */

@media all and (max-width: 959px) {
    .content{
        margin-left: 5px;
    }
    div.modal{
        width: 100%;
    }
    .modal-body{
        flex-direction: column;
        max-height: fit-content;
    }
    .modal a.close-modal{
        top: 20%;
        right: 19%;
    }
    .buttons-valider{
        display: flex;
        flex-direction: column;
    }
    .buttons-valider > *{
        margin-top: 10px;
        margin-bottom: 10px;
    }
    h1{
        background-color: #f9f9f9;
        position: -webkit-sticky;
        position: sticky;
        top: 105px;
        padding-top: 5px;
        padding-bottom: 5px;
        height: 50px;
    }
}

@media all and (min-width: 960px) and (max-width: 1199px) {
    .tabs { order: 1; }
    .dates { order: 3; }
    .aside { flex: 1 0 0; }
    .content{
        margin-left: 5px;
    }
    h1{
        background-color: #f9f9f9;
        position: -webkit-sticky;
        position: sticky;
        top: 100px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    div.modal{
        width: 80%;
    }
    .modal-body{
        flex-direction: column;
        max-height: fit-content;
    }
    .modal a.close-modal{
        right: 20%;
        top: 19%;
    }
    #button-select{
        flex-direction: row;
    }

    .modal-content{
        height: 70vh;
    }
}

@media all and (min-width: 1200px) and (max-width: 1500px) {
    div.modal{
        width: 80%;
    }
    .modal a.close-modal{
        right: 20%;
        top: 19%;
    }
    .tab a{
        font-size: 14px;
    }
}