.my-nav{
    margin: 15px;
    border: 2px solid;
    border-color: red;

    color: red;
}

.br-2{
    margin: 20px;
    border: 2px solid black !important;
}

.my-header1{
    /* background: hsl(157, 92%, 50%); */
    
    display: flex;
    width: 100%;
    height: 80px;
    padding: 5px;
    box-shadow: 0px 0px 10px silver;
}

.my-header2{
    /* background: hsl(0, 74%, 79%); */
    /* border: 1px solid red; */
    display: flex;
    width: 100%;
    height: 70px;
    padding: 5px;
}

.my-header3{
    /* background: hsl(199, 74%, 79%); */
    display: flex;
    width: 100%;
    height: 60px;
    padding: 5px;
}

.my-header4{
    background: #fff;
    width: 100%;
    height: 50px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    align-content: space-between;
}

.logo{
    margin-left: 15px;
    margin-right: 50px;

}

.clinique-name{
    color: #000;
    font-weight: bold;
    font-family: time new roman, sans serif;
    font-size: 20px;
    margin-left: 100px;
    /* background: silver; */
    display: flex;
    align-items: center;
    flex-basis: 800px;
}

a.my-btn-logout{
    text-decoration: none !important;
    margin-left: 200px;
    display: block;
    border: 1px solid;
    border-radius: 5px;
    color: #000;
    font-size: 16px;
    font-family: time new roman, sans serif;
    padding: 3px 5px;
}

a.my-btn-logout:hover{
    background: #000;
    color: #fff;
}

/* CSS for Consultation add page */
.container-fluid{
    margin: 0px !important;
    padding: 0px !important;
}
.menu-haut {
    background-color: #000;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    height: 25px;
}

.menu-haut > .form-name{
    margin: 0px 15px;
    padding: 2px;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #fff;
    background-color: #000;
    font-size: 10px;

}


.menu-haut > .links {
    display: flex !important;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    width: 100%;
}

.links > .link{
    text-decoration: none !important;
    margin: 0px 15px;
    padding: 2px;
    display: flex; 
    flex-basis: 100px; 
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    border-radius: 5px;
    color: #000;
    background-color: #fff;
    font-size: 10px;
}

.links > .link:hover{
    border: 2px solid orange;

}

.infos-consultation{
    background-color: silver;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 5px 5px;

}
/* End of CSS */

/*//////////////////// FINANCE CSS //////////////////////////////*/

.main-box{
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    background-color: #E5E5E5;
    padding: 5px;
    min-height: 450px;
    height: auto;
    border-radius: 5px;
}

.main-box > .box1{
    display: flex;
    justify-content: center;
    background-color: ;
    padding: 2px;
    flex-basis: 65%;
}

.main-box > .box2{
    display: flex;
    flex-direction: column;
    align-items: center ;
    justify-content: ;
    flex-basis: 35%;
    /* max-width: 400px; */
    height: auto;
    background-color: #fff;
    border-radius: 5px;
    border: 2px solid #007d71;
    padding: 10px  ;
    
    
}

.card-finance{
    margin: 15px 0px;
    background-color: #fff;
    border: 1px solid #000;
    width: 100%;
    height: 50px;
    border-radius: 5px;
    box-shadow: 2px 2px 2px .5px #007d71;


    display: flex;
    justify-content: space-around;
    align-items: center;

}

/* //////////////// CArd Acceuill CSS ///////////////////////////// */

.main-div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    background: #fff;
    width: 100%;
    padding: 30px 20px;
    border-radius: 5px;
    /* border: 1px solid red; */

}

a.link{
    text-decoration: none !important;
}

.card-box {
    text-decoration: none !important;
    background: #007d71;
    border: 1px solid #fff;
    border-radius: 5px;
    width: 300px;
    height: auto;
    padding: 2px;
    margin-bottom: 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-basis: 30%;
}

.card-icon{
    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    color: #007d71;
    font-size: 60px;
    height: 100px;
    width: 100px;
    margin: 2px;
    border-radius: 5px;
}

.card-body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    font-weight: bold;
    color: #007d71;
    height: 75px;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 0px 5px 5px 0px;
}

.tab1{
    background-color: #fff;
    padding: 1px;
    display: flex;
    flex-wrap: nowrap;

}

.tab2{
    /* background-color: yellow; */
    padding: 5px;
}

.tab3{
    /* background-color: navy; */
    padding: 5px;
}

/* consultation detail  */
.format-control{
    background:#fff;
    border: 1px solid silver ;
    border-radius: 5px;
    padding: 5px; 
    
}

/* ////////////////////////////////// LISTE PERSONNEL CSS ////////////////////////////// */

a.action-icon > .fa-info-circle{
    font-size: 20px !important;
    margin-right: 5px !important;
    color: #0dcaf0 !important;
}

a.action-icon > .fa-pencil-square{
    font-size: 20px !important;
    margin-right: 5px !important;
    color: #ffc107 !important;
}

a.action-icon > .fa-trash{
    font-size: 20px;
    color: #dc3545 ;
} 

a.action-icon > .fa-share{
    font-size: 20px !important;
    margin-right: 5px !important;
    color: #198754 !important;
}

a.action-icon > .fa-stethoscope{
    font-size: 20px !important;
    margin-right: 5px !important;
    color: #198754 !important;
}

a.action-icon > .fa-money{
    font-size: 20px !important;
    margin-right: 5px !important;
    color: #198754 !important;
}

a.action-icon > .fa-print{
    font-size: 20px !important;
    margin-right: 5px !important;
    color: #198754 !important;
}

a.action-icon > .fa-user-md{
    font-size: 20px !important;
    margin-right: 5px !important;
    color: #198754 !important;
}

/* succes : #198754 , primary: #0d6efd */

a.add-btn{
    display: block !important;
    background-color: #007d71;
    color: #fff;
    margin: 10px 5px 10px ;
    height: 40px !important;
    border-radius: 5px;
    text-align: center;
    padding-top: 5px;
    text-decoration: none !important;

}

a.add-btn > i{
    font-size: 20px !important;
    margin-right: 5px;
}

a.add-btn > .fa-user-plus{
    margin-right: 5px;
    font-size: 20px ;
}

/* ////////////////////////////////////// FORMULAIRE CONSULTATION CSS ////////////////////////////////////// */

.wraper{
    background-color: #fff;
    padding: 15px;
    margin-top: -20px !important;
}
.row.info-top {
    text-align: center;
    margin: auto auto 10px auto ;
    border-bottom: 1px solid silver;
    font-size: 12px ;
    margin: -10px 0px 15px 0px !important;
}

/* CSS MENU FORM TAB */
.nav.nav-tabs1{

}

.nav.nav-tabs1 > li > a{
    text-decoration: none !important;
    color: #fff !important;
    margin-right: 15px;
    padding: 5px;
    border-radius: 5px !important;
    background: #007d71;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    display: block;
    width: 140px;
}

/* .nav.nav-tabs1 > li > a{
    
} */

.nav.nav-tabs1 > li > a > i{
    margin-right: 5px;
}

.nav.nav-tabs2{
    background: silver;
    padding: 5px 0px 5px 5px; 
    margin-top: 5px ;
}

.nav.nav-tabs2 > li > a{
    text-decoration: none !important;
    color: #000 !important;
    margin-right: 15px;
    padding: 2px;
    border-radius: 5px !important;
    background: rgb(235, 231, 231);
    border-bottom: 3px solid #fff;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    display: block;
    width: 160px;
}

.nav.nav-tabs2 > li {
    
}

.nav.nav-tabs2 > li > a > i{
    margin-right: 5px;
}

.nav.nav-tabs2 > li > a:active{
    margin-right: 15px;
    padding: 5px;
    border-radius: 5px !important;
    background: #fff;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    width: 140px;
}

/* CSS CONSULTATION FORM */
form#multi-tab-form{
    padding: 5px;
}

.row.title-tab{
    padding: inherit !important;
    font-size: 15px;
    font-weight: bold;
}

form#multi-tab-form  .form-group {
    margin-bottom: 1rem !important;
    font-size: 10px !important;
}

form#multi-tab-form  .form-group > label{
    font-size: 12px;
}

form#multi-tab-form  .form-group > input.form-control{
    height: 30px ;
    font-size: 12px;
}

form#multi-tab-form  .form-group > textarea.form-control{
    height: 35px;
    font-size: 12px;
}

form#multi-tab-form  .form-group > select.form-control{
    height: 30px;
    font-size: 12px;
}

form#multi-tab-form button[type=submit]{
    font-size: 12px;
    font-weight: bold;
    background: #007d71;
    color: #fff;
    border-color: #fff;
    border-bottom: 12px solid #000;
}
form#multi-tab-form button[type=submit]:hover{
    font-size: 12px;
    font-weight: bold;
    background: #fff;
    color: #000;
    border-color: #000;
    border-bottom: 12px solid #000;
}

/* CSS ORDONANCE FORM */

form#multi-tab-form .medicament-box{
    display: flex;
}
form#multi-tab-form .medicament-box > .form-group{
    margin-right: 15px;
    width: 400px;
}

form#multi-tab-form .medicament-box > .form-group:first-child{
    margin-right: 15px;
    width: 200px;
}

form#multi-tab-form .medicament-box > .form-group:nth-child(3){
    margin-right: 15px;
    width: 200px;
}

form#multi-tab-form button#add-fields-btn, form#multi-tab-form button#del-fields-btn,
 form#multi-tab-form button#add-examen-btn, form#multi-tab-form button#del-examen-btn,
 form#multi-tab-form button#add-article-btn, form#multi-tab-form button#del-article-btn{
    background: black;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px ;
    border-bottom: 8px solid silver;
    margin-bottom: 40px;
}

button#id_imprimer-ordonance, button#id_imprimer-bilan {
    font-size: 12px;
    border: 1px solid silver;
    background: #000;
    color: #fff;
    height: 20px;
    width: 100px;
    padding: 10px 0px;
    border-bottom: 7px solid silver;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}

button#id_imprimer-ordonance > i, button#id_imprimer-bilan > i{
    margin-right: 10px;
}

.my-div-bnt-print{
    float: right;
}

/* ///////  MY MODAL CSS  ////////////////////////////////////////////// */
#my-modal {
    display: none; /* masquer le modal par défaut */
    position: fixed; /* position fixe */
    z-index: 1; /* mettre le modal en premier plan */
    left: 0;
    top: -150px;
    width: 100%;
    height: 130%;
    overflow: auto; /*ajouter un défilement si nécessaire */
    background-color: rgba(0,0,0,0.4); /*ajouter un fond gris semi-transparent */

  }
  
  /* Style pour la fenêtre du modal */
  .my-modal-content {
    overflow-y: scroll !important;
    background-color: #fefefe;
    margin: 15% auto; /* centrer le modal sur la page */
    padding: 20px;
    border: 1px solid #888;
    width: 65%; /****-0%; /* Ajustez la largeur du modal ici */
    height: 70%;
    border-radius: 5px;
  }

  .my-qte-bg{
    background-color: rgba(248, 137, 137, 0.4) !important;
  }
  
  /* Style pour le bouton de fermeture du modal */
  .my-close {
    position: relative;
    right: -15px;
    top: -35px;
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .my-close:hover,
  .my-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  
