@charset "UTF-8";

/*******************************************************************/
/********************** RESPONSIVE SCREEN **************************/
/*******************************************************************/
/* Hide short text by default (resolution > 1200px)*/
.small-text-ged{
	display:none;
}
.small-text-epass{
	display:none;
}
.small-ets-info{ 
	display:none;
}

@media (max-width: 720px){
	.small-text-ged { display: inline-block; }
    .full-text-ged { display: none; }
    .small-text-epass { display: inline-block; }
    .full-text-epass { display: none; }
    .login-text { display: none; }
    .info-text { display: none; }
    .logout-text { display: none; }
    .small-ets-info{ display: inline-block; 
    				 padding-left : 16px; }
    .big-ets-info{ display: none; }  
}
@media (max-width: 780px){
	li.nav-item.mr-7 {
    	margin-right: 1rem !important;
    }
}
@media screen and (max-width: 1080px) and (min-width: 780px){
      
      li.nav-item.mr-7 {
    	margin-right: 2rem !important;
    }
} 
@media screen and (max-width: 1080px) {
      .header-title {
         display:none;
      }
} 
@media screen and (max-width: 1360px) {
	.table-mini-font-size {
		font-size: 0.6rem;
	}
}
@media screen and (max-width: 1360px) and (min-width: 1080px){
      
      li.nav-item.mr-7 {
    	margin-right: 7rem !important;
    }
}
@media screen and (min-width: 1360px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl {
		max-width: 1320px;
	}
	.table-mini-font-size {
		font-size: 0.8rem;
	}
}

@media screen and (min-width: 1400px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl {
		max-width: 1360px;
	}
}

@media screen and (min-width: 1600px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl {
		max-width: 1560px;
	}
	.table-mini-font-size {
		font-size: 1rem;
	}
}

@media screen and (min-width: 1920px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl {
		max-width: 1880px;
	}
}

/*******************************************************************/
/****************************** LAYOUT *****************************/
/*******************************************************************/
html {
	height: 100%;
	min-height: 100%;
}

body {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	display: flex;
	flex-direction: column;
	height: 100%;
	margin-bottom: 0;
	color: #575757;
	line-height: 2;
}

.mr-7, .mx-7 {
	margin-right: 7rem !important;
}

h1, h2, h3, h4, h5 {
	font-family: "Raleway", Helvetica, Arial, sans-serif;
	line-height: 1.5;
	font-weight: bold;
	color: #514B64;
}

.full-height {
	height: 100%;
}

.full-width {
	width: 100%;
}

.max-content-width {
	width: max-content;
}

.col-border {
	border: 1px solid rgba(0, 0, 0, .125);
	border-radius: .25rem;
}

a, a:hover {
	text-decoration: none;
	cursor: pointer;
	color: #FF9B91;
}

a:hover {
	color: #af4047;
}

a.download-link, button.buttons-csv {
	border: 1px solid #FF9B91;
	background: #FFF;
	color: #FF9B91;
}

a.download-link:hover, button.buttons-csv:hover {
	border: 1px solid #4F2F4E !important;
	background: #FFF !important;
	color: #4F2F4E !important;
}

button.buttons-csv {
	margin-left: 1.5rem !important;
}

.btn {
	min-width: max-content;
	transition: none !important;
}

.btn:focus {
	outline: 0 !important;
	box-shadow: none !important;
	border: none !important;
}

.badge-notification {
	font-size: 1rem;
	max-width: 9rem;
}

.file-info {
	border-left: 4px solid #181818;
}

.min-height-4 {
	min-height: 4em;
}

/* Data table */
.table {
	color: #575757;
}

table.dataTable {
	width: 100% !important;
	border-collapse: collapse;
}

table.dataTable .badge {
	padding: 1em !important;
	white-space: normal;
}

.table.dataTable td {
	border-bottom: 1px solid #E4E4E4;
}

.table.dataTable td em.fa-check, .table.dataTable td em.fa-times {
	width: 100%;
	text-align: center;
}

.table.dataTable th {
	border-top: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	color: #534A66;
}

.table-mini-font-size th {
	border: 1px solid #CCCCCC;
}

.table.dataTable th[rowspan] {
	vertical-align: middle;
}

.table.dataTable th[rowspan]:after {
	vertical-align: top;
}

.table.dataTable tr.th-secondary {
	background-color: #F8F9FB;
}

.dataTables_wrapper .dataTables_filter input {
	margin-right: 1em;
}

.dataTables_wrapper .dataTables_info {
	padding: 1em;
}

.table.dataTable .checkbox {
	min-width: 12rem;
}

/* drop down button in synthesis */ 
.table.dataTable .dropdown-menu.show {
  display: flex;
  width: 420px;
  flex-wrap: wrap;
}

.table.dataTable .dropdown-item {
  width: 33,33%;
}

/* Forms */
.form-row {
	width: 100%;
}

.form-control:focus {
	outline: 0 !important;
	box-shadow: 0 0 0 .2rem #FFDCC8 !important;
	border: none !important;
}

[type="search"] {
	-webkit-appearance: auto;
	font-family: "Font Awesome 5 Free";
	font-weight: 400;
	content: "\f002";
	width: 381px;
}

/* Cards */
.card {
	border: 1px solid #CED4DA !important;
	line-height: 1.7;
}

.card-deck .card {
	background-color: #F8F9FB !important;
}

.card-deck .card .highcharts-background {
	fill: #F8F9FB !important;
}

.card-header, .card-footer {
	background-color: #fff !important;
	border: none !important;
}

.note-toolbar {
	background: hsla(0, 0%, 50.2%, .11) !important;
}

.card-header .fa {
	transition: .3s transform ease-in-out;
}

.card-header .collapsed .fa {
	transform: rotate(180deg);
}

.card.action-button-card .btn {
	height: min-content;
}

.rubrique-card {
	border: none !important;
}

.rubrique-card .card-header, 
.restitution-card {
	background-color: #F8F9FB !important;
	border: 1px solid #CED4DA !important;
}

.rubrique-card .card-header a {
	color: #FF5A65 !important;
}

/* Summernote */
.note-editor.note-frame .note-status-output {
	height: auto !important;
}

.sn-checkbox-use-protocol {
	display: none;
}

.modal {
    overflow-y: auto !important;
}

/* High charts */
.card-highcharts .highcharts-figure {
	border: 1px solid #E4E4E4;
}

.highcharts-container {
	width: 100% !important;
}

.highcharts-data-table table {
	font-family: Verdana, sans-serif;
	border-collapse: collapse;
	border: 1px solid #EBEBEB;
	margin: 10px auto;
	text-align: center;
	width: 100%;
}

.highcharts-data-table caption {
	padding: 1em 0;
	font-size: 1.2em;
	color: #555;
}

.highcharts-data-table th {
	font-weight: 600;
	padding: 0.5em;
}

.highcharts-data-table td, .highcharts-data-table th,
	.highcharts-data-table caption {
	padding: 0.5em;
}

.highcharts-data-table thead tr, .highcharts-data-table tr:nth-child(even)
	{
	background: #f8f8f8;
}

.highcharts-data-table tr:hover {
	background: #f1f7ff;
}

/* Custom upload */
.custom-file-label::after {
	content: "Parcourir" !important;
}

.spinner-border {
	width: 3rem !important;
	height: 3rem !important;
}

/* Map Es ENC */
#map {
	height: 35rem;
}

.leaflet-top {
	top: 50px;
}

.info {
	width: 18rem;
	padding: 6px 8px;
	background: white;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
}

.info h4 {
	margin: 0 0 5px;
	color: #777;
}

#group {
	display: flex;
	align-items: center;
	position: absolute;
	bottom: 50px;
	left: 20px;
	width: 50px;
	height: 25px;
	background-color: white;
	border-radius: 5px;
	border-color: gray;
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	opacity: 1;
	text-align: center;
	z-index: 500;
}

/*******************************************************************/
/****************************** HEADER *****************************/
/*******************************************************************/

/*nav bar top */
.navbar-top {
	padding: 0;
	background-color: #FF5A65;
	color: #FFF;
}

.navbar-alert {
	background-color: #BE1D1D;
}

.navbar-top a {
	color: #FFF !important;
}

.navbar-top .nav-link:hover, .navbar nav-link.active {
	background-color: #181818;
}

.navbar-top .nav-link a:hover {
	text-decoration: none;
}

/*nav header */
.navbar-header {
	background-color: #FFF;
	padding: 1rem;
}

.header-title {
	white-space: normal;
}

.navbar-firstconnection {
	padding: 0;
	background-color: #BE1D1D;
	color: #ffffff;
}

.navbar-firstconnection-text {
	color: white;
	text-align: left;
	padding-left: .5rem;
	margin-bottom: 0;
	font-size: 90%;
}

.navbar-header .navbar-brand {
	color: #FF9B91;
}

.select-profil {
	min-width: 16em;
}

/*nav menu */
.navbar-menu {
	border-top: solid 1px #CCCCCC;
	border-bottom: solid 1px #CCCCCC;
	background-color: #FFF;
}
.navbar-light {
    color: #575757 !important;
}
/*nav tab */
.nav-tabs {
	border-bottom: none !important;
	width: 100%;
	background-color: #FFF;
	display: flex;
	justify-content: space-around;
}

.nav-tabs .nav-link {
	border: none;
}

/*nav menu, nav tab */
a.nav-link {
	color: #575757 !important;
	white-space: nowrap;
}

a.nav-link.text-uppercase {
	color: #FFF !important;
}

a.nav-link.text-uppercase:hover {
	color: #FFF !important;
}

a.nav-link:hover {
	color: #4F2F4E !important;
}

a.nav-link a:hover {
	text-decoration: none;
}

li.nav-item.active:not(.nav-year ) {
	border-bottom: solid 3px #FF9B91;
}

li.nav-year.active a.nav-link span {
	padding: 0.5rem;
	background-color: #FF9B91;
	color: #FFF !important;
	border-radius: 0.25rem;
}

.progress {
	height: 1.4rem;
	background-color: #E9F4E5;
}

.progress-bar {
	background-color: #FF9B91;
}

.big-number {
	font-size: 1.5rem;
}

.gigantic-number {
	font-size: 2rem;
}

/*******************************************************************/
/************************ FIL D'ARRIANE ****************************/
/*******************************************************************/

.breadcrumb {
	background-color: #F8F9FB;
	margin-top: 1rem;
	padding: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
	content: ">";
}

.breadcrumb-item a {
	color: #FF9B91;
	font-size: 1.3em;
	font-weight: 500 !important;
}

.breadcrumb-item.active {
	align-self: center;
	color: #8d3238;
}

/*******************************************************************/
/**************************      BODY      *************************/
/*******************************************************************/

body {
	overflow-x: visible;
}

.main {
	background-color: #F8F9FB;
}

.main-header {
	padding: .75rem 1.25rem;
}

/* DASHBOARD PAGE */
.close-icon {
	cursor: pointer;
}

.list-group-item.multi-collapse.collapsing {
	-webkit-transition: none;
	transition: none;
	display: none;
}

.default-font-size {
	font-size: 1rem;
}

.results .badge ul li {
	background: inherit;
	text-align: right;
}

.pull-right-number-large {
	min-width: 90px;
	text-align: right;
}

.pull-right-number-short {
	min-width: 20px;
	text-align: right;
	width: 100%;
	margin-top: auto;
}

.quick-access a {
	color: #575757;
}

.quick-access a:hover {
	color: #4F2F4E;
}

/* INFOS PAGE */
#label-other {
	cursor: pointer;
	color: green;
	display: block;
	padding: 10px;
	margin: 3px;
}

/* ERROR PAGE */
.error {
	color: #990000;
	background-color: #FFE2DD !important;
}

#error .row {
	justify-content: space-between;
	margin-bottom: 1em;
}

#error .label {
	font-weight: bold;
}

/*******************************************************************/
/************************      FOOTER      *************************/
/*******************************************************************/

.footer {
	width: 100%;
	margin-top: auto;
	border-top: solid 1px #CCCCCC;
}

.footer p {
	margin-bottom: 1em;
}

.logo-atih img {
	width: 300px;
}

.sumreturn {
	font-size: 1rem;
	float: right;
}

#toc {
	font-size: 1rem;
}

/*******************************************************************/
/************************      COLORS      *************************/
/*******************************************************************/

/* General colors */
.primary-green {
	color: #FF9B91;
}

.primary-white {
	color: #F8F9FB;
}

.primary-purple {
	color: #FF5A65;
}

.primary-red {
	color : #FF0000;
}

.secondary-green {
	color: #4F2F4E;
}

.secondary-purple {
	color: E7ECF8;
}

/* Background */
.primary-green-bg {
	background-color: #FF9B91;
}

.primary-white-bg {
	background-color: #F8F9FB;
}

.primary-purple-bg {
	background-color: #FF5A65;
}

.secondary-green-bg {
	background-color: #7c4c48;
}

.secondary-purple-bg {
	background-color: #FFDCC8;
}

/* State colors */
.aucune-validation {
	background-color: #FFD6D6;
}

.non-valide {
	background-color: #FCE2FF;
}

.valide {
	background-color: #FFE9D0;
}

.scelle {
	background-color: #FFFBD0;
}

.descelle {
	background-color: #DAFFFE;
}

.cloture {
	background-color: #E9F9EA;
}

.decloture {
	background-color: #E7E0FF;
}

.fin-de-participation {
	background-color: #D9D9D9;
}

/* Old state (Default color) */
.approuve-par-le-superviseur {
	background-color: #6C757D;
}

.non-approuve-par-le-superviseur {
	background-color: #6C757D;
}

.aucune-transmission-realisee {
	background-color: #818181;
}

.ref-closed {
	background-color: #6C757D;
}

/* Button colors */
.btn-enc-green {
	background-color: #FF9B91;
	color: #FFF;
}

.btn-enc-green:hover {
	background-color: #4F2F4E;
	color: #FFF;
}

.btn-enc-purple, .note-btn-primary {
	background-color: #FF5A65 !important;
	color: #FFF !important;
	border: none !important;
}

.btn-enc-purple:hover, .note-btn-primary:hover {
	background-color: #7B6C93 !important;
	color: #FFF !important;
	border: none !important;
}

.btn-enc-purple.disable, .note-btn-primary.disabled {
	background-color: #575757 !important;
	color: #FFF !important;
	border: none !important;
}

.bg-mco {
	background-color: #F19536 !important;
	color: #FFF !important;
}

.bg-ssr {
	background-color: #FF9B91 !important;
	color: #FFF !important;
}

.bg-had {
	background-color: #FF5A65 !important;
	color: #FFF !important;
}

/* Font Awsome custom style */
.far.fa-check-circle {
	color: #FF9B91;
}

fieldset .form-card {
	background: white;
	border: 0 none;
	border-radius: 0px;
	box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
	padding: 20px 40px 30px 40px;
	box-sizing: border-box;
	width: 94%;
	margin: 0 3% 20px 3%;
	position: relative
}

fieldset {
	background: white;
	border: 0 none;
	border-radius: 0.5rem;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding-bottom: 20px;
	position: relative
}

fieldset:not(:first-of-type ) {
	display: none
}

fieldset .form-card {
	text-align: left;
	color: #9E9E9E
}

#active-button {
	display: table;
	margin: auto;
	padding-left: 0;
}

#active-button li {
	display: inline-block;
	width: 85px;
}

#active-button li .round-btn {
	width: 35px;
	height: 35px;
	border-radius: 50px;
	background-color: #FFFFFF;
	border: 2px solid #FF5A65;
	display: block;
	color: #000;
	text-align: center;
	font-family: 'poppins';
	font-weight: 500;
	line-height: 30px;
	max-width: 100%;
	margin: auto;
	position: relative;
	z-index: 1;
}

#active-button li.active .round-btn {
	background-color: #FFFFFF;
	border: 3px solid #53B891;
	color: #53B891;
}

#active-button li:not(:first-child ) .round-btn:before {
	position: absolute;
	content: '';
	width: 53px;
	height: 2px;
	background-color: #FF5A65;
	left: -53px;
	top: 50%;
	transform: translateY(-50%);
	z-index: -1;
}

#active-button li.active:not(:first-child ) .round-btn:before {
	background-color: #53B891;
}

#label-complete {
	cursor: pointer;
	color: #53B891;
	display: block;
	padding: 10px;
	margin: 3px;
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #53B891;
    background-color: #53B891;
}

.italic-msg{
	font-style: italic;
	font-size :  0.8rem;
}

.dataTables_filter input {
	color: #575757;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
.revert-size{
	font-size: revert;
}
.over-hidden{
	overflow: hidden;
}
.small-size{
	font-size: small;
}

/* Statstic card */

.statistics-grid {
	margin-left: 10px;
	display: flex; /* Ajoute ceci pour aligner les cartes horizontalement */
	flex-wrap: wrap; /* Cela permettra de passer à la ligne si l'écran est trop petit */
	justify-content: start; /* Aligner les cartes au début du conteneur */
	align-items: flex-start; /* Aligner les cartes en haut */
	gap: 10px; /* Ajouter un peu d'espace entre les cartes */
}

.stat-card {
	flex: 0 1 calc(25% - 10px); /* Cela permettra à chaque carte d'occuper 30% de l'espace disponible moins le gap */
	display: flex; /* Utilise flexbox pour organiser les éléments à l'intérieur de la carte */
	flex-direction: column; /* Organiser les éléments en colonne */
	justify-content: center; /* Centrer les éléments verticalement */
	align-items: center; /* Centrer les éléments horizontalement */
	padding: 20px;
	text-align: center;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	width: 300px;
	height: 150px;
}

.stat-title {
	font-size: 1rem; /* Ajuste la taille du titre */
	margin-bottom: 0.5rem; /* Ajoute de l'espace entre le titre et la valeur */
}

.stat-value {
	font-size: 2rem; /* Ajuste la taille de la valeur */
	font-weight: bold;
}

/* Ajoute des médias queries si nécessaire pour gérer la réactivité sur les petits écrans */
@media (max-width: 768px) {
	.stat-card {
		flex: 0 1 calc(50% - 10px); /* Sur les petits écrans, prendre 50% de la largeur */
	}
}

@media (max-width: 480px) {
	.stat-card {
		flex: 0 1 100%; /* Sur les très petits écrans, prendre toute la largeur */
	}
}