:root {
	--main-color: #fff;
	--secondary-color: #feda47;
}

.text-secondary-color {
	color: var(--secondary-color) !important;
}

.color-secondary {
	color: var(--secondary-color) !important;
}

.nav-link {
	color: var(--main-color) !important;
	font-weight: bolder;
}

.nav-link:hover {
	color: var(--menu-color) !important;
}



/*
WIDGET
*/
.card-widget:hover {
	transform: translateY(-25px);
	box-shadow: -15px 15px 30px -4px rgba(0, 0, 0, 0.2), 0px 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.card-widget {
	background-color: #fff;
	border-radius: 10px;
	border: none;
	position: relative;
	margin-bottom: 30px;
	height: 200px !important;
	transition: 0.5s;
}

.l-bg-violet-dark {
	background: linear-gradient(to right, #493240, #f09) !important;
	color: #fff;
}

.l-bg-bleu-dark {
	background: linear-gradient(to right, #373b44, #4286f4) !important;
	color: #fff;
}

.l-bg-vert-dark {
	background: linear-gradient(to right, #0a504a, #38ef7d) !important;
	color: #fff;
}

.l-bg-orange-dark {
	background: linear-gradient(to right, #a86008, #ffba56) !important;
	color: #fff;
}

.l-bg-rouge-dark {
	background: linear-gradient(to right, rgb(134, 0, 0), rgb(255, 62, 62)) !important;
	color: #fff;
}

.card-widget .card-widget-statistic-3 .card-widget-icon-large .fas,
.card-widget .card-widget-statistic-3 .card-widget-icon-large .far,
.card-widget .card-widget-statistic-3 .card-widget-icon-large .fab,
.card-widget .card-widget-statistic-3 .card-widget-icon-large .fal {
	font-size: 110px;
}

.card-widget .card-widget-statistic-3 .card-widget-icon {
	text-align: center;
	line-height: 50px;
	margin-left: 15px;
	color: #000;
	position: absolute;
	right: 10px;
	bottom: 5px;
	opacity: 0.2;
}

.l-bg-bleu {
	background: linear-gradient(135deg, #289cf5, #84c0ec) !important;
	color: #fff;
}

.l-bg-vert {
	background: linear-gradient(135deg, #23bdb8 0%, #43e794 100%) !important;
	color: #fff;
}

.l-bg-orange {
	background: linear-gradient(to right, #f9900e, #ffba56) !important;
	color: #fff;
}

.l-bg-bleu {
	background: linear-gradient(135deg, #289cf5, #84c0ec) !important;
	color: #fff;
}

/*END WIDGET*/

.separation {
	border-top: 5px solid #343a40;
	opacity: 0.9;
	margin-left: 0.2px !important;
	margin-right: 0.2px !important;
}

.widget-separator {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.5rem 0;
	margin-top: 1.5rem;
}

.widget-separator::before,
.widget-separator::after {
	content: "";
	flex: 1;
	height: 2px;
	background: rgb(33, 110, 62);
}

.widget-separator-label {
	flex-shrink: 0;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgb(33, 110, 62);
	background: #fff;
	padding: 0.35rem 1rem;
	border: 2px solid rgb(33, 110, 62);
	border-radius: 20px;
}

.dropdown-menu {
	background-color: lightgray !important;
}


.carousel {
	border-top: 5px solid #343a40;
	background-color: lightgray;
}

.carousel-inner {
	height: 300px;
}

.carousel-caption {
	color: #000 !important;
	top: 90%;
}

h2::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: .375rem;
	content: "";
	background: var(--main-color);
}

/*
*
* ==========================================
* CUSTOM UTIL CLASSES
* ==========================================
*
*/

.vertical-nav {
	min-width: 17rem;
	width: 17rem;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.4s;
}

.actualite-nav {
	min-width: 17rem;
	width: 17rem;
	height: 100vh;
	position: fixed;
	top: 0;
	right: 0;
	box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.4s;
}

.page-content {
	width: calc(100% - 34rem);
	margin-left: 17rem;
	margin-right: 17rem;
	transition: all 0.4s;
}

/* for toggle behavior */
#sidebarCollapse {
	background-color: var(--secondary-color) !important;
	color: white !important;
}

#actuCollapse {
	background-color: var(--secondary-color) !important;
	color: white !important;
}

#sidebar.activeleft {
	margin-left: -17rem;
}

#sidebar.active {
	margin-left: -17rem;
}

#sidebar.activeright {
	margin-right: -17rem;
}

#sidebaractu.activeleft {
	margin-left: -17rem;
}

#sidebaractu.active {
	margin-right: -17rem;
}

#sidebaractu.activeright {
	margin-right: -17rem;
}

#top-sidebar {
	background-color: var(--main-color) !important;
	opacity: 1 !important;
	min-height: 113px;
}

#sidebar {
	background-color: #343a40 !important;
	opacity: 0.9;
	z-index: 4000;
}

#sidebaractu {
	background-color: #343a40 !important;
	opacity: 0.9;
	z-index: 4000;
}

#top-bar {
	background-color: var(--main-color) !important;
	opacity: 0.9 !important;
	min-height: 113px;
	margin-left: 0.2px;
	margin-right: 0.2px;
}

#sidebar ul li:hover {
	background-color: var(--secondary-color) !important;
}

#content.activeleft {
	width: calc(100% - 17rem);
	margin-right: 17rem;
	margin-left: 0rem;
}

#content.active {
	width: 100%;
	margin: 0;
}

#content.activeright {
	width: calc(100% - 17rem);
	margin-left: 17rem;
	margin-right: 0rem;
}

#sideActu {
	color: white;
	overflow: scroll;
	height: 85%;
}


/*
  *
  * ==========================================
  * FOR DEMO PURPOSE
  * ==========================================
  *
  */



.separator {
	margin: 3rem 0;
	border-bottom: 1px dashed #fff;
}

.text-uppercase {
	letter-spacing: 0.1em;
}

.text-gray {
	color: #aaa;
}




@-ms-viewport {
	width: device-width;
}

@-o-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

li {
	list-style-type: none;
}

a {
	text-decoration: none;
	outline: none !important;
}

html {
	padding: 0;
	margin: 0 auto;
	height: 100%;
}

body {
	height: 100%;
	padding: 0;
	margin: 0 auto;
	font-family: 'montserratlight';
	font-size: 14px;
	font-weight: 400;
	color: #222222;
	background-color: #feda47DD !important;
	background-image: url(../img/fond-site.png);
	background-size: cover;
	text-align: left;
}

.bg-img {
	height: 100%;

	background-size: cover;
}

#header h1 {
	font-family: 'montserratregular';
	color: #ffffff !important;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
	font-size: 27px;
	margin: 10px 0px 10px 0px;
}

#deconnexion {
	font-size: 17px;
	margin: 53px 23px 0px 0px;
	color: var(--main-color);
	float: right;
}

.publier i {
	font-size: 22px;
}

.publier {
	font-size: 17px;

	color: var(--main-color);

}

#deconnexion i {
	font-size: 22px;
}

#main-center {
	width: 100%;
}



#header {
	background: url(../img/background-header3.jpg) 0px 80px repeat-x;
}

#logo {
	margin: 20px 0 0 0px;
}

#logo img {
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

#bandeau {
	background: #000000;
	color: #fff;
	display: inline-block;
	width: 100%;
	padding: 5px 0px 0px 20px;
	margin: 15px 0px 20px 0px;
	font-size: 18px;
}

.button {
	border: none;
	display: block;
	text-align: center;
	cursor: pointer;
	text-transform: uppercase;
	outline: none;
	overflow: hidden;
	position: relative;
	color: #eeeeee;
	font-weight: 600;
	font-size: 15px;
	background-color: #000000;
	padding: 15px 50px;
	margin: 0 auto;
}

.button span {
	position: relative;
	z-index: 1;
}

.button:after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 470%;
	width: 140%;
	background: var(--main-color);
	-webkit-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
	-webkit-transform: translateX(-100%) translateY(-25%) rotate(45deg);
	transform: translateX(-100%) translateY(-25%) rotate(45deg);

}

.button:hover:after {
	-webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
	transform: translateX(-9%) translateY(-25%) rotate(45deg);
}

#nom {
	font-size: 18px;
	line-height: 30px;
}

/** MENU DEROULANT **/

.wrapper-dropdown-1 {
	position: relative;
	padding: 5px;
	margin: 0 auto;
	padding: 0px 10px 0px 0px;
	color: #fff;
	outline: none;
	cursor: pointer;
}

.wrapper-dropdown-1:after {
	content: "\eb79";
	font-family: 'icofont';
	width: 0;
	height: 0;
	position: absolute;
	right: 12px;
	top: 5px;
	margin-top: -6px;
}

.wrapper-dropdown-1 .dropdown {
	position: absolute;
	top: 30px;
	left: -10px;
	right: 0;
	background: #fff;
	list-style: none;
	font-weight: normal;
	z-index: 100;
	width: 108%;
	opacity: 0;
	pointer-events: none;
}

.wrapper-dropdown-1 .dropdown li a {
	display: block;
	text-decoration: none;
	color: var(--main-color);
	padding: 7px;
	border-bottom: 2px solid var(--main-color);
}

.wrapper-dropdown-1 .dropdown li:hover a {
	background: #f3f8f8;
}

.wrapper-dropdown-1.active .dropdown {
	opacity: 1;
	pointer-events: auto;
}

.wrapper-dropdown-1.active:after {
	content: "\eb73";
}


/** FIN MENU **/

.icone {
	text-align: center;
	padding: 5px !important;
}

.icone a {
	width: 80%;
	margin: 10px auto 0px auto;
	padding: 20px;
	display: inline-block;
	border-radius: 15px;
	text-align: center;
	color: #ccc;
	font-size: 700%;
	border: 2px solid #fff;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12),
		inset 0px 0px 10px rgba(0, 0, 0, 0.12);
	transition: all 0.2s ease;
}

.icone.active a:hover {
	transform: scale(0.95);
	box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.25),
		inset 0px 0px 35px rgba(255, 255, 255, 0.8);
}

.icone.inactive {
	cursor: normal;
	pointer-events: none;
}

.icone h4 {
	font-family: 'montserratmedium';
	font-size: 13px;
	margin: 15px 0px 5px 0px;
	text-transform: uppercase;
}

.icone p {
	text-align: left;
	font-size: 10px;
	padding: 0px 18px;
}

.icone.violet a {
	color: #832e62;
	border: 2px solid #832e62;
}

.icone.bleu a {
	color: rgba(31, 174, 202, 1);
	border: 2px solid rgba(31, 174, 202, 1);
}

.icone.rouge a {
	color: #E0001B;
	border: 2px solid #E0001B;
}

.icone.vert a {
	color: #7d8c2d;
	border: 2px solid #7d8c2d;
}

.icone.rose a {
	color: #cc177b;
	border: 2px solid #cc177b;
}

.icone.orange a {
	color: #EB620E;
	border: 2px solid #EB620E;
}

.icone.marron a {
	color: #634207;
	border: 2px solid #EB620E;
}

.icone.jaune a {
	color: #fff333;
	border: 2px solid #fff333;
}

.icone.noir a {
	color: #000000;
	border: 2px solid #000000;
}

/** ELEMENTS RESPONSIVE **/

@media screen and (min-width: 992px) {

	#actualites {
		padding: 0px;
		margin: -50px 0px 0px 0px;
	}

}

@media screen and (min-width: 768px) {

	.conseiller {
		font-size: 10px;
		width: 11% !important;
	}

	.conseiller a:hover img {
		transform: scale(1.55);
		z-index: 1000;
	}

	.droite {
		padding-left: 50px !important;
	}
}

@media screen and (max-width: 992px) {
	#header {
		background: url(../img/background-header.jpg) 0px 93px repeat-x;
	}

	#popup {
		margin: 30px !important;
		width: auto !important;
		height: auto !important;
		display: inline-block;
	}

	.logo {
		padding-left: 50px !important;
		text-align: center !important;
	}

	.logo:before {
		display: none !important;
	}

	.logo img {
		margin: 0 auto;
	}

	.fermer {
		right: 20px;
	}
}

@media screen and (max-width: 768px) {
	#bandeau {
		padding: 5px 0px 0px 0px;
	}

	.wrapper-dropdown-1 .dropdown {
		width: 104%;
	}

	#logo {
		text-align: center;
	}

	#logo img {
		display: inline-block;
	}

	#header h1 {
		padding: 4px 2px;
		text-align: center;
		background: rgba(31, 174, 202, 1);
	}

	#header {
		background: none;
	}

	#deconnexion {
		display: inline-block;
		width: 100%;
		text-align: center;
		float: none;
		margin: 0px auto;
	}
}


/** FIN ELEMENTS RESPONSIVE **/

.actu p {
	padding: 10px 0px 20px 0px;
	font-size: 12px;
}

.date {
	color: var(--secondary-color);
	text-align: right;
	font-size: 13px;
	padding: 5px 0px;
}

#actualites h2 {
	padding: 0px 0px 0px 10px;
	text-transform: uppercase;
	color: #e10000;
}

#actualites h3 {
	font-size: 17px;
	margin: 0px;
	text-transform: uppercase;
	border-bottom: 1px solid #000;
	padding: 0px 0px 6px 0px;
}

.conseiller {
	text-align: center;
	margin: 0px 7px;
	padding: 0px !important;
}

.conseiller a {
	color: #222;
}

.conseiller img {
	border-radius: 60px;
	border: 3px solid #ffffff;
	transition: all 0.3s ease;
}

.nom {
	font-family: 'montserratsemibold';
	margin-top: 3px;
}



.separateur {
	margin: 10px 0px;
}

.footer {
	margin: 10px 0px 0px 0px;
	padding: 10px 0px 0px 0px;
	background: var(--main-color);
	opacity: 0.9;
	color: #000 !important;
	font-size: 13px;
	font-family: 'montserratlight';
}

.footer a {
	color: #000;
	font-family: 'montserratregular';
}

/** POPUP ET ERREUR **/

.popup {
    overflow: hidden;
}

#fond-popup {
    background-image: url(../img/fond-site.png);
    width: 100%;
    height: 100vh; /* Plus moderne que 1000px fixe */
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#popup {
    padding: 40px;
    width: 650px; /* Légèrement plus large */
    max-width: 90%; /* Responsive */
    background: #fffd;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.25);
    border-radius: 15px; /* Coins arrondis modernes */
}

#popup h1 {
    color: var(--secondary-color);
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: bold;
}

#popup h2 {
    color: #000;
    font-size: 18px;
    margin-bottom: 20px;
}

#popup a {
    color: #111;
    font-size: 14px;
}

#popup a:hover {
    color: var(--secondary-color);
}

.erreur p {
    color: rgba(224, 0, 27, 1);
    background: #ffe6e6;
    padding: 10px 15px;
    border-radius: 8px;
    border-left: 4px solid rgba(224, 0, 27, 1);
}

.envoyer {
    float: right;
    color: #000;
    text-transform: uppercase;
    font-size: 18px;
    font-family: 'montserratmedium', sans-serif;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 600;
}

.envoyer:hover {
    color: var(--secondary-color);
}

.logo {
    text-align: center;
    position: relative;
}

.logo:before {
    content: "";
    width: 1px;
    height: 200px;
    background: #ddd;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.input-text {
    background: #f5f5f5;
    padding: 12px 15px;
    margin: 0 0 15px 0;
    border: 1px solid #e0e0e0;
    width: 100%;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-text:focus {
    outline: none;
    border-color: rgba(224, 0, 27, 0.5);
    background: #fff;
}

/* Animation */
.animated.fadeInUp {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    #popup {
        padding: 30px 20px;
    }
    
    .logo:before {
        display: none;
    }
}


.fermer {
	color: #cc177b;
	position: absolute;
	margin: -30px 0px 0px 530px;
	cursor: pointer;
}

.fermer i {
	font-size: 40px !important;
}

.card {
	border: solid 1px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease-in-out;
	background-color: white;
	overflow: hidden;
	/* Permet de cacher le dépassement de la barre de couleur */
	transition: 0.5s;
}

a:hover {
	text-decoration: none !important;
	color: black !important;
}

.card:hover {
	transform: translateY(-20px);
	box-shadow: -15px 15px 30px -4px rgba(0, 0, 0, 0.3), 0px 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.card-body {
	padding: 20px;
	position: relative;
}

.card-title {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 10px;
}

.card-text {
	font-size: 16px;
	margin-bottom: 0;
}

.color-bar {
	position: absolute;
	top: -10px;
	left: -10px;
	bottom: -10px;
	width: 20px;
	border-radius: 10px;
}

.color-bar-green {
	background-color: rgb(33, 110, 62);
}

.color-bar-orange {
	background-color: rgb(241, 144, 0);
}

.color-bar-dark {
	background-color: #000
}

.bubble-icon-green {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	background-color: rgb(33, 110, 62);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white !important;
	font-size: 24px;
	/* Ajuster la taille de l'icône */
}

.bubble-icon-orange {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	background-color: rgb(241, 144, 0);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white !important;
	font-size: 24px;
	/* Ajuster la taille de l'icône */
}

.bubble-icon-dark {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	background-color: #000;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white !important;
	font-size: 24px;
	/* Ajuster la taille de l'icône */
}


a {
	color: #343a40 !important;
	text-decoration: none !important;
}