*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

body{
	font-family: 'Montserrat',verdana;
	font-weight: 400;
	font-size: 12px;
	color: #003051;
	background: linear-gradient(to bottom, #ffffff, #cbe6e8);
    min-height: 100vh;
}

#hachure {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: -1;
}

.container, .container_stagiaire {
    display: flex;
    flex-flow: column nowrap;
    /*min-height: 80vh;*/
    width: 90vw;
    margin: auto;
    flex-grow: 1;
    margin-bottom: 30px;
}

.container_stagiaire {
    width: clamp(370px,70vw,850px)
}

.text_center {
    text-align: center;
}

.barre_titre {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    margin-top: 10px;
    align-items: center;
}


.logoudi, .logonemo, .affTest, .logoconnect {
    width: 280px;
}

.logoconnect {
    width: 280px;
}
.logonemo {
    display: flex;
    justify-content: center;
}

.logonemo a {
    text-decoration: none;
    color: #003051;
}

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

.menuTest {
    display: none;
    padding-left: 30px;
}

.btn_pointer, .btn_qrcode, .btn_comment_formateur, .btn_materiel_formateur, .heure_arriv_depart, .btn_materiel, .btn_plus_formateur, .btn_plus_stagiaire, .btn_menu_test {
    cursor: pointer;
}

.btn_comment_formateur {
    color: #ccc;
}

.btn_menu_test {
    margin-right: 10px;
}

.choix {
    display: flex;
    flex-flow: row;
    justify-content: center;
    margin-top: 80px;
}

.cadre {
    display: flex;
    width: 100%;
    padding: 0 20px;
}

.cadre_choix {
    display: flex;
    width: 200px;
    height: 120px;
    border-radius: 25px;
    background-color: #c8e6e8;
    border: 1px solid transparent;
    box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
    margin: 0 20px;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    cursor: pointer;
    font-size: 24px;
    color: #000;
}

.choix a{
    text-decoration: none;
}

.cadre_input {
    display: flex;
    flex-direction: column;
    width: 300px;
    justify-content: center;
}

.input_text, textarea {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #D2D6DB;
    border-radius: 6px;
    padding: 10px 5px;
    margin: 8px 0 25px;
}

textarea {
    resize: none;
    height: 80px;
}

.listaff {
    list-style: none;
}

.valid {
    color: blue;
}

.signe {
    color: green;
}

.notif {
color: red;
}

.fixTableHead {
    position: relative;
    overflow-y: auto;
    height: 90%;
}
.fixTableHead thead th {
    position: sticky;
    top: 0;
}

.nom_list_stagiaire {
    font-size: 14px;
}

.tablecustom, .table_list, .table_list_emargement {
    border-collapse: collapse;
    background-color: #fff;
    table-layout: auto;
}

.tablecustom, .table_list {
    width: 100%;
}

.table_list_emargement {
    max-width: 100%;
}

.tablecustom th, .tablecustom td, .table_list th, .table_list td, .table_list_emargement th, .table_list_emargement td {
    text-align: left;
    border: 1px solid #ddd;
    padding: 8px;
}

.col_nomStagiaire {
    white-space: nowrap;
}

/* .tablecustom tr:nth-child(even){background-color: #fff;}
.tablecustom tr:nth-child(odd){background-color: #f0cc3d;} */

.tablecustom tr:hover,.table_list tr:hover,.table_list_emargement tr:hover {background-color: #eee;}

.tablecustom th, .table_list th, .table_list_emargement th{
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    color: white;
}

.tablecustom.presentiel th{
    background-color: #f9ba46;
}
.tablecustom.distanciel th{
    background-color: #e3a83c;
}
.tablecustom.evenement th{
    background-color: #3bdbcc;
}
.tablecustom.presentslocaux th{
    background-color: #49c4f0;
}
.tablecustom.formateurSession th{
    background-color: #f9ba46;
}

.table_list th, .table_list_emargement th{
    background-color: #04a2aa;
}

.table_list th.text_center, td.text_center{
    text-align: center;
}

.tabsession, .tabsession_module, .part_decharge, .tabsession_cloture {
    margin-top: 15px;
}

.tabsession_module {
    display: flex;
}

.tabsession_cloture{
    margin-bottom: 50px;
  }

.sousmodule {
    margin-top: 10px;
    display: flex;
    justify-content: start;
}

.session {
    margin-top: 5px;
}

.inscrit {
    margin-left: 20px;
    color: #ff00cc;
}

.couleur_etage {
    display: inline-block;
    height: 10px;
    width: 30px;
    /* border: solid 1px #ccc;*/
    margin-left: 5px;
}

.ago {
    margin-left: 20px;
    color: #4e7d59;
}

.formateur {
    color: darkgoldenrod;
}

.salle {
    margin-left: 20px;
    color: #484a40;
}

.module {
    width: 50%;
    margin: 10px;
    padding: 15px;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid transparent;
    box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
}

.bloc10 {
    width: 10%;
}
.bloc30 {
    width: 30%;
}
.bloc40 {
    width: 40%;
}
.bloc50 {
    width: 50%;
}
.bloc60 {
    width: 60%;
}
.bloc70 {
    width: 70%;
    padding-right: 10px;
}

.form-control, .form-control-ajout {
    display: block;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.form-control-ajout {
    margin: 10px;
}

.btn_env, .btn_env_com, .btn_env_part,.btn_arrive, .btn_depart, .btn_arrive_formateur, .btn_depart_formateur, .btn_sign_clear, .btn_sign_save, .btn_env_materiel,
 .btn_imprime, .btn_bienvenue, .btn_valid_emargement, .btn_valid_session, .btn_valid_enr_session, .btn_valid_enr_periode, .btn_valid_code,
 .btn_valid_enr_journee, .btn_arrive_participant,  .btn_depart_participant, .btn_enr_ajout_stagiaire, .btn_enr_ajout_formateur, .btn_recharge_stagiaire {
    background: #0066A2;
    color: white;
    border-style: outset;
    border-color: #0066A2;
    height: 30px;
    width: 100px;
    cursor: pointer;
}
.btn_env_part{
    margin-top: 10px;
}

.btn_valid_enr_session, .btn_valid_enr_periode, .btn_valid_enr_journee, .btn_enr_ajout_stagiaire, .btn_enr_ajout_formateur {
    width: 120px;
}

.btn_depart, .btn_depart_formateur, .btn_depart_participant {
    background: #eb4f4f;
}

.btn_sign_clear {
    background: #ccc;
}

.btn_sign_save {
    background: green;
}

.btn_signature {
    margin-top: 20px;
    display: flex;
    align-content: center;
    justify-content: space-between;
}

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

.reglementstagiaire {
    margin-top: 20px;
}

.affReglementStagiaire {
    cursor: pointer;
    text-decoration: underline;
    color: #0066A2;
}

.espace20 {
    margin-top: 20px;
}

.w100 {
    width: 100%;
}

.w95 {
    width: 95%;
}

.w90 {
    width: 90%;
}

.w200 {
    width: 200px;
}

.w20p100 {
    width: 20%;
}

.w50p100 {
    width: 50%;
}

.w50px {
    width: 50px;
}

.w250px {
    width: 300px;
}

.right {
    text-align: right;
}

.label_materiel {
    color: #959090;
    font-size: 10px;
    margin-left: 10px;
}
#list_materiel .form-control-ajout {
    margin-top: 0;
}

input[type=submit] {
    background: #0066A2;
    color: white;
    border-style: outset;
    border-color: #0066A2;
    height: 30px;
    width: 100px;
    cursor: pointer;
}

.btn_ajout_list,.btn_voir_list, .btn_out_udi, .btn_comment, .btn_ajout_participant, .btn_out_visiteur, .btn_voir_depart_anticipe {
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.btn_formateurSession, .btn_anticipe {
    cursor: pointer;
}

.type_formateur {
    font-size: 10px;
    color: #428fbb;
}

.bloctd {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.btn_ajout_visiteur {
    cursor: pointer;
}

.nbvisiteurs, .nbUDI {
    margin: 0 20px;

}

.docs {
    cursor: pointer;
}

/**** popup ***/
#fade {
	display: none;
	position: fixed; left: 0; top: 0; 
	z-index: 10;
	width: 100%; height: 100%;
	background: rgba(80, 80, 80, 0.9);
	z-index: 998;
}

.popup_droite, .popup_tout{
	display: none;
	background: #fff;
	padding: 0px; 	
	float: left;
	position: fixed;
	width: clamp(300px, 70%, 800px);
	height: 100vh;
    top: 0;
	right: 0;
	z-index: 999;
	border-radius: 10px 0 0 10px;
	box-shadow: 2px 2px 20px rgba(51, 51, 51, 0.7);
}

.popup_tout {
    width: 95%;
}

.popup-centre {
    background: #e7ebf4;
    padding: 10px; 	
    float: left;
    position: fixed;
    width: 50%;
    height: 30%;
    top: 5%;
    left: 50%;
    transform: translateY(-50%);
    transform: translateX(-50%);
    z-index: 1500;
    border-radius: 10px;
    box-shadow: 2px 2px 20px rgba(51, 51, 51, 0.7);
}

.bienvenue {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
    width: 100%;
    height: 100%;
    font-size: 24px;
    flex-direction: column;
    align-items: center;
}

.container_popup {
    position: relative;
    width: 95%;
    height: 90%;
    margin: auto;
    overflow: auto;
    padding-bottom: 60px;
}

.fond_titre_popup {
    width: 100%;
    background: #43454b;
    min-height: 80px;
    padding: 5px 0;
    border-top-left-radius: 10px;
    margin-bottom: 10px;
}

.btnferme_popup, .btnferme_popup2, .btn_retour {
    cursor: pointer;
    font-size: 1.5em;
    color: #f1e3e3;/*878383*/
}

.titre_popup, .titre_emargement {
    position: relative;
    width: 95%;
    margin: 15px auto;
    display: flex;
    justify-content: space-between;
    align-items: start ;
    font-size: 1.5em;
    color: #fff;/*2a4a9a*/
}

.titre_emargement {
    color: #2a4a9a;/*2a4a9a*/
}

.titre_popup a {
    color: #f1e3e3;
}

.titre_formation{

    width: 100%;
    display: flex;
    flex-flow : row wrap;
    justify-content: space-between;
}

.signature-pad {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    font-size: 10px;
    width: 100%;
    height: 300px;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
    border-radius: 4px;
    padding: 16px;
}
  
.signature-pad::before,
.signature-pad::after {
    position: absolute;
    z-index: -1;
    content: "";
    width: 40%;
    height: 10px;
    bottom: 10px;
    background: transparent;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
}
  
.signature-pad::before {
    left: 20px;
    -webkit-transform: skew(-3deg) rotate(-3deg);
            transform: skew(-3deg) rotate(-3deg);
}
  
.signature-pad::after {
    right: 20px;
    -webkit-transform: skew(3deg) rotate(3deg);
            transform: skew(3deg) rotate(3deg);
}
  
.signature-pad--body {
    position: relative;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    border: 1px solid #f4f4f4;
}
  
.signature-pad--body
  canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}
  
.signature-pad--footer {
    color: #C3C3C3;
    text-align: center;
    font-size: 1.2em;
    margin-top: 8px;
}
  
.signature-pad--actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 8px;
}

.signImg, .signImgSansClic {
      height: 50px;
}
.signImgDist {
    height: 50px;
}

.signImg_emargement {
    max-width: 100%;
    height: auto;
    max-height: 50px;
}

.code_stagiaire {
    font-size: 22px;
}

.ajout_comment {
    width: 70%;
    margin: auto;
    text-align: right;
}

.com_accueil, .com_prod, .com_formateur, .com_bureau {
    border-radius: 10px;
    padding: 10px;
    width: 60%;
    margin-bottom: 5px;
}


.com_prod, .com_accueil, .com_bureau {
    margin-left: auto;
}

.com_prod {
    background-color: #83bbf0;
}

.com_formateur {
    background-color: #e6af5d;
}

.com_accueil {
    background-color: #c5cdd2;
}

.com_bureau {
    background-color: #c5edb1;
}

.nom_com {
    font-style: italic;
    font-size: 10px;
}

.lecteur {
    width: 100%;
    text-align: right;
    font-size: 10px;
    color: #fff; 
}

.noir {
    color: #000;
}

.rouge {
    color: #ff0000;
}

.bleu {
    color: #427fc9;
}

.gris {
    color: #ccc;
}

.ui-front {
    z-index: 1000;
}

.icone_formateur {
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
}

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

.habillage_decharge {
    border: 2px solid #000;
    border-radius: 20px;
    padding: 15px; 
}

/* Switch 1 Specific Styles Start */
  
.box_1{
    background: transparent;
}
  
input[type="checkbox"].switch_1{
    font-size: 20px;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    width: 3em;
    height: 1.5em;
    background: #ddd;
    border-radius: 3em;
    position: relative;
    cursor: pointer;
    outline: none;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    }
    
    input[type="checkbox"].switch_1:checked{
    background: #0ebeff;
    }
    
    input[type="checkbox"].switch_1:after{
    position: absolute;
    content: "";
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    background: #fff;
    -webkit-box-shadow: 0 0 .25em rgba(0,0,0,.3);
            box-shadow: 0 0 .25em rgba(0,0,0,.3);
    -webkit-transform: scale(.7);
            transform: scale(.7);
    left: 0;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
    
input[type="checkbox"].switch_1:checked:after{
    left: calc(100% - 1.5em);
}
    
/* Switch 1 Specific Style End */

/** Formateur */
.list_formateur {
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.formateur_session, .stagiaire_depart {
    font-size: 16px;
    margin-left: 10px;
}

.stagiaire_depart {
    color: #0066A2;
}

.listDocFormateur {
    margin-left: 20px;
    line-height: 20px;
}

.listDocFormateur a {
    color: #003051;
    text-decoration: none;
}

.listDocFormateur li:hover {
    text-decoration: underline;
}

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

/** Bureau pedagogique */

.item_materiel {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.item_materiel .item {
    margin-right: 10px;
}

/** Tableau stagiaire */
.tab_stagiaire {
    display: flex;
    justify-content: space-around;
}

.tab_formateur {
    display: flex;
    justify-content: space-between;
}
.item_tab_formateur_33_left {
    flex: 0 0 33%;
    text-align: left;
}
.item_tab_formateur_33_center {
    flex: 0 0 33%;
    text-align: center;
}
.item_tab_formateur_33_right {
    flex: 0 0 33%;
    text-align: right;
}
.item_tab_formateur_25_left {
    flex: 0 0 25%;
    text-align: left;
}
.item_tab_formateur_25_center {
    flex: 0 0 25%;
    text-align: center;
}
.item_tab_formateur_25_right {
    flex: 0 0 25%;
    text-align: right;
}

.item_tab_stagiaire_25 {
    flex: 0 0 25%;
    text-align: center;
}
.item_tab_stagiaire_25_left {
    flex: 0 0 25%;
    text-align: left;
}
.item_tab_stagiaire_25_center {
    flex: 0 0 25%;
    text-align: center;
}
.item_tab_stagiaire_25_right {
    flex: 0 0 25%;
    text-align: right;
}

.item_tab_stagiaire_33 {
    flex: 0 0 33%;
    text-align: center;
}
.regroupFormateur{
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
}


.signDist{
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content:space-around;
}
.btn_connecte{
    padding : 5px;
}

/** Emargement */

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

.commentaire_session_individel {
    text-decoration: underline;
    cursor: pointer;
    color: #585555;
}

.fond_ligne_non_valide {
    background-color: #f08f8f;
}

.fond_ligne_traite {
    background-color: #10beff;
}

.check_fait,.check_validsign {
    cursor: pointer;
}

.tooltip-container {
    position: absolute;
    background-color: #706666;
    color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    max-width: 300px;
    display: none;
    z-index: 9999;
}
.tooltip-container:before {
    content: "";
    position: absolute;
    border-style: solid;
    border-color: #706666 transparent transparent transparent;
    border-width: 8px 8px 0 8px;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.check_fait {
    margin-bottom: 10px;
}
.btn_imprim_emargement_individuel {
    color: #333;

}

/** Switch présent/absent **/
.switch-group {
    display: flex;
    border: 1px solid #000;
    border-radius: 8px;
    overflow: hidden;
    /* width: 180px; */
    margin: auto;
}
.switch-btn {
    flex: 1;
    padding: 5px;
    font-size: 10px;
    cursor: pointer;
    text-align: center;
    background: white;
    transition: background 0.3s, color 0.3s;
    font-weight: bold;
}
.switch-btn:not(:last-child) {
    border-right: 2px solid #000;
}
.selected-absent { background: red; color: white; }
.selected-nd { background: #ddd; color: white; }
.selected-present { background: #14bf14; color: white; }

.btn_action_valid_emargement {
    padding: 2px;
    cursor: pointer;
    background: #8cc08c;
    color: #fff;
    width: 100%;
    border: none;
    border-radius: 10px;
}

.btn_action_valid_emargement:hover {
    background: #7bb77b;
}