body {font-family: Nunito Sans,Arial,Helvetica,sans-serif;}

/* -------------    SIDEBAR / Menu de gauche   --------------- */
#sidebar {
    width: 230px;
    position: fixed;
    top: 0;
    left: -230px;
    height: 100vh;
    z-index: 999;
    background: #fff;
    color: #4D4D4D;
    transition: all 0.3s;
    overflow-x: hidden;
    overflow-y: auto;
    /*box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);*/
    border-right: 1px solid #4D4D4D;
}
#sidebar a,#sidebar a:hover,#sidebar a:focus {
/*    color: inherit;*/
    text-decoration: none;
}
#sidebar a.link {color: #337ab7;text-decoration: none;cursor: pointer;}
#sidebar a.link:hover {color: #23527c;text-decoration: underline;cursor: pointer;}
.ThemeB #sidebar {background-color: #f5f5f5; color: #242424;border-right-color: #d0d0d0}
.ThemeB #sidebar a {color: #242424;}
.ThemeB #sidebar .btn-info { --bs-btn-bg  :#0078d7;--bs-btn-border-color  :#0058b7;}
.ThemeB #sidebar .fa-duotone:before {color: #0078d7;}
.ThemeB #sidebar .fa-duotone:after {color: #0078d7;}
.ThemeB #rightPanel .navbar.bg-light {background-color: #0078d7 !important;color: white;}
.ThemeB .btn-primary {
  --bs-btn-bg: #0078d7;
  --bs-btn-border-color: #0078d7;
  --bs-btn-disabled-bg: #0078d7;
  --bs-btn-disabled-border-color: #0078d7;
}
.ThemeB .bg-primary {background-color: #0078d7 !important;}

.ThemeB #sidebar .sidebar-header { background: #FFFFFF;}
.ThemeB table.TblLeftMenu.groupe {border-radius: 15px; overflow: hidden;background-color: #FFFFFF;}


#sidebar.active {
    left: 0;
}

#sidebar .sidebar-header {
    padding: 1vh 12px;
    margin-bottom: 2vh;
    text-align: center;
}
.ThemeA #sidebar .sidebar-header {
    background: #DDEDFF;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}
#sidebar .sidebar-header img { max-width: 200px; max-height: 14vh; }

table.TblLeftMenu {
  margin: 1.5vh 5px 0;
  width: 218px;
  font-size: 16px;
}

table.TblLeftMenu td:nth-child(1) {padding-left: 10px;text-align: center;width:40px;}
table.TblLeftMenu td:nth-child(2) {padding-left: 10px;  }
.ThemeA table.TblLeftMenu td a {color: #0543a4;}
table.TblLeftMenu>tbody>tr>td {padding-top: 10px;padding-bottom: 5px; }

.ThemeA table.TblLeftMenu.groupe {border-radius: 15px; overflow: hidden;background-color: #DDEDFF;}
table.TblLeftMenu.groupe>tbody>tr>td {padding-top: 2px;padding-bottom: 2px; }
table.TblLeftMenu.groupe .groupHead td {font-weight: bold;padding-top: 5px;}

table.TblLeftMenu.groupe2 {border-radius: 15px; overflow: hidden;}
table.TblLeftMenu.groupe2 td {padding-top: 2px;padding-bottom: 2px; }
table.TblLeftMenu.groupe2 tr:nth-child(n+2) td:nth-child(2):before { content: '• ' }
table.TblLeftMenu.groupe2 .groupHead td {font-weight: bold;padding-top: 5px;}

#sidebar footer {
  border-top: 1px solid #aaa;
  position: absolute;
  bottom: 0;
  width: 235px;
   text-align: center;
}

/* -------------    SIDEBAR overlay / couche foncé pour le menu escamotable sur mobile   --------------- */
#sidebarOverlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
#sidebarOverlay.active {
    display: block;
    opacity: 1;
}
/* ---------     Zone droite  ----------- */
#rightPanel {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
    /*position: absolute;*/
    top: 0;
    right: 0;
}
.navbar {
    padding: 5px 10px ;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}
.navTitre, .navTitre a {font-family: Montserrat200, Arial, serif; font-size:clamp(5px, 5vw,1.25rem);color: inherit;text-decoration: none;}

#contentBody {
    padding: 1vw;
}
/*  Sur les écrans Large
 La sidebar est toujours visible
 */
@media (min-width: 1200px) {
  #sidebar {left: 0;  }
  body {margin-left: 230px;}
}

#login_box_panel {width: 95%; max-width: 400px;margin-top: 20px;}


.texteGrisFonce {color: #333333}


.btn-info {
  --bs-btn-color: #fff;
  --bs-btn-bg: #5bc0de;
  --bs-btn-border-color: #46b8da;
  --bs-btn-hover-color: #fff;
}


.cvsweb_info { background-color:#DDEDFF; font-size: 12px;}
.d-inline-flex>.cvsweb_info {align-content: center;}
.d-inline-flex>.cvsweb_lig1 {padding-left: 2px;align-content: center;}

.cvsweb_table {border-collapse: separate;}
.AT_GrayedField {background-color:#aaaaaa;}
.cvsweb_titre { font-size: 14px; font-weight: bold; color:#006699; background-color:#D3DCE3; }
.cvsweb_titre_menuitem{ color:black; font-size: 12px; background-color:#D3DCE3; }

:root {--bs-body-font-size:13px;--bs-body-line-height:1.25;}
.form-control,.form-select {font-size:13px;line-height:1.25;}
.divTextInputGroup {font-size: 13px;}

table.GrilleWhite{
   border-color:white;
   border-width:1px;
   border-style:solid;
   border-collapse:collapse;
}
table.GrilleWhite>tr>td,table.GrilleWhite>tr>th
,table.GrilleWhite>thead>tr>td,table.GrilleWhite>tbody>tr>td,table.GrilleWhite>tfoot>tr>td
,table.GrilleWhite>thead>tr>th,table.GrilleWhite>tbody>tr>th,table.GrilleWhite>tfoot>tr>th{
   border-width:1px;
   border-style:solid;
   border-color:white;
   padding: 2px 3px 2px 3px;
}
h6 {font-weight: bold;}
.subTitle {font-weight: bold;color: #005A80;margin-bottom: 2px;}

hr {
  margin: 6px 0;
  color: inherit;
  border: 0;
  border-top: 1px solid;
  opacity: 0.5;
}
.rowgap2 {row-gap: 2px;}
.rowgap5 {row-gap: 5px;}

.quickAccessTable input[type=text] {background-color: rgba(255, 255, 255, 0.24); border-color: rgba(0, 0, 0, 0.16); height:22px;width:45px;}
.quickAccessTable button {height:22px;}
.quickAccessTableDiv {margin-right: 20px; }
.quickAccessTable td {padding-top: 0;padding-bottom: 0; font-size: 13px; }
table.QuickAccessBlock>tbody>tr:last-child>td {padding-bottom: 5px;}

.msg_erreur {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: bold;
	color: #FF0000;
}
.msg_ok {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: bold;
	color: green;
}
