 @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;1,100;1,300;1,400;1,700&family=Rubik:ital,wght@0,300;0,400;0,500;1,300;1,500&display=swap');

html {
}
body {
	font-family: "Roboto Condensed";
	background-color: #eaeaea;  	
	    overflow-x: hidden; //horizontal
}

.animate-box {
    opacity: 0 ;
}

html, body { height: 100%; }

#wrapper{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#wrapper > section{
  flex: 1 0 auto;
}

#wrapper > footer{
  margin-top: auto;
  flex-shrink: 0;
}
#wrapper.active {
     position: absolute;
    top: 0;
    right: 0;
    margin: 0;
   width: calc(100% - 350px);
    
}

/* ==============================
   Page loader
   ============================== */


.page-loader{
    display:block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #fefefe;
    z-index: 100000;    
}

.loader{
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    font-size: 10px;
    text-indent: -12345px;
    border-top: 1px solid rgba(0,0,0, 0.08);
    border-right: 1px solid rgba(0,0,0, 0.08);
    border-bottom: 1px solid rgba(0,0,0, 0.08);
    border-left: 1px solid rgba(0,0,0, 0.5);
  
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
  
    -webkit-animation: spinner 700ms infinite linear;
    -moz-animation: spinner 700ms infinite linear;
    -ms-animation: spinner 700ms infinite linear;
    -o-animation: spinner 700ms infinite linear;
    animation: spinner 700ms infinite linear;
  
    z-index: 100001;
}

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}




header{
	width:100%;
	background-color:#fff;
	padding: 20px 40px 20px 40px;
	min-height: 90px;
	border-bottom: 5px solid #db1b23;
	z-index: 499 !important;

}
    

header .btn-default{
   background: #003478;
   background-image: -webkit-linear-gradient(top, #003478, #1D65C3);
   background-image: -moz-linear-gradient(top, #003478, #1D65C3);
   background-image: -ms-linear-gradient(top, #003478, #1D65C3);
   background-image: -o-linear-gradient(top, #003478, #1D65C3);
   background-image: -webkit-gradient(to bottom, #003478, #1D65C3);
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 0;
    border: none;
    width: 100%;
    padding: 20px 0;
    box-shadow: inherit;
    font-size: 150%;
    margin: 0 30px 0 0;
    color: #fff;
}

header .btn-default:hover,
    header .btn-default:focus{
   background: #194E95;
   background-image: -webkit-linear-gradient(top, #194E95, #1F5AA7);
   background-image: -moz-linear-gradient(top, #194E95, #1F5AA7);
   background-image: -ms-linear-gradient(top, #194E95, #1F5AA7);
   background-image: -o-linear-gradient(top, #194E95, #1F5AA7);
   background-image: -webkit-gradient(to bottom, #194E95, #1F5AA7);
}

header .btn-default:focus, .btn-default:hover {
    background-color: #fff939;

}
header .form-control{
    border-radius: 0px;
    font-size: 180%;
    height: 68px;
    padding-left: 20px;
    text-transform: uppercase;
    font-style: italic;
    border-width: 1px 1px 1px 0;
    border-color: #ccc;
    border-style: solid;
    background-color: #F4F4F4;
    box-shadow: none;
}
.form-control:focus {
    border-color: #ccc;
    outline: 0;
    -webkit-box-shadow: inherit;
    box-shadow: inherit
}
header  .input-group-prepend{
	width: 40px !important;
}

header .input-group-text {
    background-color: #f4f4f4;
    border: 1px solid #ced4da;
    border-radius: .25rem;
	border-top-right-radius: 0.25rem;
	border-bottom-right-radius: 0.25rem;
	font-size: 1.6rem !important;
	width: 60px !important;
}

header .logo img{
	max-height:70px; 
}


header .logo p{
    font-size: 120%;
    color: #3D3D3D;
    text-transform: uppercase;
    margin-top: 5px;
}
header .top-nav p{
    /* font-size: 120%; */
    color: #E86531;
    text-transform: uppercase;
    margin-top: 5px;
}

#flags{
	width: auto;
	float: right;
	display: block;
	padding: 0;
	background: #f5f5f5;
	padding: 15px 15px 0px 15px;
	border-radius: 10px;
}
#flags .flag-icon{
	font-size: 2em;
	opacity: 0.3;
	margin-bottom: 15px;
	display: block;
	clear: both;
}
#flags a{
	text-decoration: none;
}
#flags a .flag-icon:hover,
#flags a .flag-icon.active{
	opacity: 1;
}



/* AUTO SUGGEST */
.auto-text-wrap{
	float: left;
}
.suggest-title,
.suggest-keyword{
	display: block;
	margin: 0 0 0 10px;
	line-height: 100%;
}
.suggest-keyword{
	color: #999;
	font-style: italic;
	margin-top: 8px;
}
.icon-wrap{
    width:60px;
    height:60px;
    display:inline-block;
    background-color: #0082C3;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    float: left;
}


/* CONTENT AREA */
section{
    background-color:#eaeaea;
    width: 100%;
    
}
section{
	font-size: 180%;
}
.category-block{
    width:100%;
    height:250px;
    background-color:#003478;
    text-align:center;
    padding: 10px;
    float: left;
    overflow: hidden;
    border: 1px solid #E1E1E1;
}

.category-block:focus,
.category-block:hover{
    color: #0082C3;
    text-decoration: none;
    background-color: #e41b13;
    /* width: 150px;
    height: 150px;
    margin: 25px 25px 5px 5px; */
	border-color: #eaeaea;
}
.category-block img{
    width: 80px;
    height: auto;
}

.category-block:focus img,
.category-block:hover img{
	width: 60px;
	margin-top: 10px;
}
.category-block p{
    color:#83C7F4;
    text-transform:uppercase;
    margin: 10px 0 0 0;
    padding:0;
    line-height: 120%;
    font-size: 130%;
}
.category-block:focus p,
.category-block:hover p{
    color: #fff;
    font-size: 140%;
    margin: 10px 10px 0 10px;
    text-decoration: none !important;
}
i.fas{
	/*font-size: 60px ;*/
}
/* AVANT (à supprimer / éviter) */
/* i.fas { font-size:60px; } */

/* APRÈS : scope sur le composant qui doit avoir de grosses icônes */
/*.category-block i.fas,
.category-block i.far,
.category-block i.fa {
  font-size: 60px;
} */

footer {
    width: 100%;
    min-height: 400px !important;
    line-height: 60px;
    background-color: #f5f5f5;
    clear: both;
	border-top:5px solid #1587e1; 
}

footer img{ 
    float: left;
    margin: 0 30px 0 0;
}

.footer {
  width: 100%;
  line-height: 60px; /* Vertically center the text there */
  background-color: #f5f5f5;
}



.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

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

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */


#sidebar {
    width: 350px;
    position: fixed;
    top: 0;
    left: -350px;
    height: 100vh;
    z-index: 999;
    background: #e4f1fb;
    color: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    z-index: 500;
}

#sidebar.active {
    left: 0;
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #e41b13;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
#dismiss:hover {
    background: #fff;
    color: #1587e1;
}

.overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    display: none;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #003478;
}

.mCSB_container {
    overflow:visible !important;
    width: auto;
    height: auto;
}

/* ---------------------------------------------------
    BREADCRUMB STYLE
----------------------------------------------------- */
.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: .5rem;
    color: #FFF;
    content: "/";
}
.breadcrumb a{
	color: #FFF;
}


.breadcrumb-item.active {
    color: #FFF;
    font-weight: 500;
}

.bg-danger {
    background-color: #e41b13 !important;
}

.pagination {
  display: flex;
  justify-content: center;
}
ul.pagination {
	width: 100%;
    font-size: 13px;
    line-height: 43px;
    text-align: right;
    margin: 30px auto;
}
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}



/* ===== Home & Post styles ===== */
.listing .item {
  -webkit-box-shadow: 0 5px 30px rgba(0,0,0,.05);
  box-shadow: 0 5px 30px rgba(0,0,0,.05);
}

/* Le cadre de l’image : ratio et overflow */
.listing .item .post-img {
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 2px solid #e41b13;
  /* Choisis un ratio d’affichage (modifiable) */
  height: clamp(180px, 28vw, 300px);  /* ✅ jamais > 300px */      /* ✅ limite la hauteur */
  /* Fallback si tu veux une hauteur fixe : dé-commente la ligne suivante
     height: 250px;
  */
}

/* L’image remplit le cadre et reste centrée */
.listing .item .post-img img {
  width: 100%;
  height: 100%;
  display: block;                 /* évite les espaces blancs */
  object-fit: cover;              /* remplit sans déformer */
  object-position: center;        /* centrée verticalement & horizontalement */
  -webkit-transition: transform .5s;
  transition: transform .5s;
}

/* Effet zoom au survol (conservé) */
.listing .item .post-img:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* Badge date (inchangé) */
.listing .item .post-img .date {
  display: inline-block;
  position: absolute;
  top: 15px;
  left: 15px;
  background: #000;
  color: #fff;
  padding: 10px 15px;
  text-align: center;
}
.listing .item .post-img .date span {
  font-family: TuesdayNight;
  display: block;
  font-size: 20px;
}

/* (Optionnel) Hauteurs différentes selon breakpoints si tu préfères une hauteur fixe
@media (min-width: 768px){
  .listing .item .post-img { height: 260px; aspect-ratio: auto; }
}
@media (min-width: 1200px){
  .listing .item .post-img { height: 300px; aspect-ratio: auto; }
}
*/

.listing .item .post-img .date i {
    font-family: 'Montserrat', sans-serif;
    display: block;
    font-size: 20px;
}
.listing .item .content {
    padding: 20px 20px 30px 20px;
    background: #fff;
}

 .item  h2 {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4em;
    font-weight: 500;
    text-align: center;
    color: #003478;
}
 .item  h3 {
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    line-height: 1.4em;
    font-weight: 300;
    text-align: center;
    color: #003478;
    text-transform: uppercase;
}


.listing .item .content > h2 strong {
	color: #ff6c3b !important;
	font-style: italic;
}

.listing .item .content h5 {
    font-size: 17px;
    margin-top: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4em;
}
.listing .item .content p {
    font-size: 24px;
    font-family: 'EB Garamond', serif;
   	color: #ff6c3b ;
}



.listing-entry {
    width: 100%;
    float: left;
    background: #fff;
    margin-bottom: 60px;
    box-shadow: 0 25px 75px rgba(0, 0, 0, 0.05);
}
@media screen and (max-width: 768px) {
    .listing-entry {
        margin-bottom: 45px;
    }
}
.listing-entry .listing-img {
    width: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}
.listing-entry .listing-img img {
    position: relative;
    max-width: 100%;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}
.listing-entry .desc {
    padding: 20px;
}
.listing-entry .desc h3 {
    font-size: 24px;
    line-height: 1.2em;
    font-weight: 400;
    margin-bottom: 15px;
}
.listing-entry .desc h3 a {
    color: #000;
    text-decoration: none;
    font-family: 'EB Garamond', serif;
    font-weight: 500;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.listing-entry:hover .listing-img img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}


/* padding */
.p-10 {
    padding: 10px;
}

.p-30 {
    padding: 30px !important;
}
.p-20 {
    padding: 20px;
}
.pt-0 {
    padding-top: 0px;
}
.pt-60 {
    padding-top: 60px;
}
.pt-90 {
    padding-top: 90px;
}
.pb-60 {
    padding-bottom: 60px;
}
.pb-90 {
    padding-bottom: 90px;
}

.pl-90 {
    padding-left: 90px;
}
.pl-60 {
    padding-left: 60px;
}
.pl-30 {
     padding-left: 30px;
}
  


/* margin */
.mb-0 {
    margin-bottom: 0;
}
.mb-10 {
    margin-bottom: 10px !important;
}
.mb-20 {
    margin-bottom: 20px !important;
}

.mb-30 {
    margin-bottom: 30px;
}
.mb-50 {
    margin-bottom: 50px ;
}
.mb-60 {
    margin-bottom: 60px ;
}

.mt-0 {
    margin-top: 0;
}
.mt-10 {
    margin-top: 10px;
}
.mt-20 {
    margin-top: 20px;
}
.mt-30 {
    margin-top: 30px;
}
.mt-50 {
    margin-top: 50px;
}
.mt-60 {
    margin-top: 60px;
}


main {
    flex: 1 0 auto;
}

#login_session{
	background-color: #003478;
	width: 100%;;
	padding: 20px 15px;
	text-align: center;
	position:absolute;
	bottom: 0;
	left: 50;
	color: #FFF;
	font-size: 18px;
}
#login_session a{
	color:#83C7F4;	
}


#login_session{
	
}	
.rounded {
    border-radius:.25rem!important
}

#result{
	width: 100%;
	height: 100%;
}

#num_records{
	float: right;
	display: inline-block;
	color: #e4f1fb;
	margin-left: 50px;
	margin-top: -70px;
	margin-right: 35px;
}
table{
	
	    	font-size: 16px;
	    	border: none;

}
table th{
text-transform: uppercase;	
	    	font-size: 16px;
	    	text-align: center;

}
 
table td{
	    	font-size: 16px;
	    	text-align: center;
	    	background-color: #FFF;

}
 
  
table.XX.table-striped>tbody>tr:nth-child(odd)>td,
	.table-striped>tbody>tr:nth-child(odd)>th,body.YY {
    	background-color: #0e3788;
    	color: #FFF;
}
/* table zz*/
 table.zz > tbody > tr> td,
		tbody.aa {
    color:blue;font-weight:bold;
}

table.zz.table,
table.zz.table-bordered>thead>tr>th
{
  border: 2px solid #000000;
}


table.zz.table-bordered>tbody>tr>th, 
table.zz.table-bordered>tfoot>tr>th, 
table.zz.table-bordered>thead>tr>td, 
table.zz.table-bordered>tbody>tr>td, 
table.zz.table-bordered>tfoot>tr>td {
    border: 1px solid  #000000;      
}


table td .btn {
    padding: .1rem .75rem;
    color: #FFF !important;
}

.card{
	border: 0;
}
.card-body h2{
    font-family: "Lato",sans-serif;
    font-size: 25px;
    color: #003478;
    text-transform: uppercase;
    margin: 0 0 10px 0 !important;
    max-width: 700px;

}

.card-body h2::after {
content: "";
display: block;
width: 60px;
height: 3px;
background-color: #e41b13 !important;
margin-top: 12px;
margin-bottom: 15px;
}

.card-body h3{
    font-family: "Lato",sans-serif;
    font-size: 20px;
    color: #003478;
    text-transform: uppercase;
    margin: 0 0 10px 0 !important;

}

.card-body h3::after {
content: "";
display: block;
width: 60px;
height: 3px;
background-color: #e41b13 !important;
margin-top: 12px;
margin-bottom: 15px;
}


.card-body p{
	font-size: 16px;
}

.card-body button.close{
	position: absolute;
	top:30px;
	right: 30px;
	font-size: 50px;
	color: #e41b13 !important;
	opacity: 1;
    background-color: transparent;
  border: 0;
	
}
.card-body button.btn-close {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    font-size: 24px !important;

    width: 1.5rem;
    height: 1.5rem;

    opacity: 1 !important;

    /* Couleur rouge */
    --bs-btn-close-color: #e41b13;

    /* SVG rouge forcé */
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e41b13'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");

    background: transparent var(--bs-btn-close-bg) center/1.5rem auto no-repeat !important;
}

.card-body button.close:hover{

	color: #f5625d;
	
}

/* Type */
.card ul {list-style: none}
.card ul li {
	font-size: 16px;
}
.card li::before {content: "•"; color: red;
  display: inline-block; width: 1em;
  margin-left: 0;
  font-size:22px
}


.btn-primary {
    color: #FFF;
    background-color: #003478;
    border-color: #003478;
}
.btn-primary,
.btn-primary:active,
.btn-primary.active {
  background-color: #003478 !important;
  color: #FFF !important;
      border-color: #003478;
      padding: 15px 0;
      margin

}
.btn-primary:hover,
.btn-primary.focus {
  color: #e41b13 !important;
  background-color: #2264ba !important;
}

.btn-info {
    color: #FFF;
    background-color: #003478;
    border-color: #003478;
}
.btn-info,
.btn-info:active,
.btn-info.active {
  background-color: #003478 !important;
  color: #FFF !important;
      border-color: #003478;
      padding: 15px 0;
      margin

}
.btn-info:hover,
.btn-info.focus {
  color: #e41b13 !important;
  background-color: #2264ba !important;
}

.red{
	color: red !important;
	font-size: 20px;
}
.green{
	color: green !important;
	font-size: 20px;
}

.fiche-detail-list li::before {
    content: "";
    color: red;
    display: inline-block;
    width: 1em;
    margin-left: 0;
    font-size: 22px;
}

.fiche-detail-list{
width: 100%;
  list-style: none;
  padding-left: 0;
  float: left;
  margin-bottom: 40px;
  /*margin-top:3.6rem;*/
}


.fiche-detail-list li{
	
  border-bottom: 1px solid #ddd;
  margin-top:0;
  overflow:hidden;
  width: 50%; 
  float: left;
  padding:5px 20px;
  line-height: 30px;
}
.fiche-detail-list li:hover{
	background-color: #e0dfdf;
}

.fiche-detail-list li span.left{
	font-weight: 500;
	  text-transform: uppercase;

}
.fiche-detail-list li span.left2{
	font-weight: 500;

}
.fiche-detail-list li span.right{
	font-weight: 200;
}	

. li.bgAlt{
	background-color: #e0dfdf;
}






/*.project-detail-list li:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}*/

.fiche-detail-list li .left,.fiche-detail-list li .left2{
  float: left;
  font-weight: 400;
  color: #000;
}
.fiche-detail-list li .left::before,.fiche-detail-list li .left2::before {content: "•"; color: red;
  display: inline-block; width: 1em;
  margin-left: 0;
  font-size:22px
}

.fiche-detail-list li .right{
  float: right;
}

.fiche-detail-meta{
  margin-top: 4.5rem;
  overflow:hidden;
}

.fiche-detail-meta .left{
  font-weight: 600;
}
