
.green, page-190 {
    border-bottom: 3px solid#57BA0A
}
.brown{
    border-bottom: 3px solid #784800
}
.blue{
    border-bottom: 3px solid #05AED3
}
/* Change background color of anchor when hovered */
/*#bold{
    color: #03162E; font-size: 14px ; font-weight:bold; font-style:Roboto Condensed;
}*/
.bold{
    color: #03162E; font-size: 14px ; font-weight:bold; font-style:Roboto Condensed;
}
/* Change background color of anchor when li is hovered */
.megamenu > li:nth-child(1):hover { color: #05AED3 !important; }
.megamenu > li:nth-child(2):hover { color: #784800 !important; }
.megamenu > li:nth-child(3):hover { color: #57BA0A !important; }

.megamenu .megamenu2>li{
	margin-top:5px;
}
.megamenu li:hover ul ul {
	top:6px;
}
.megamenu li ul.megamenu2>li>a {
    padding: 0px 5px 0px 0px !important;
}
.page-190 .megamenu2 > li > a {
    color: #03162E;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 3px solid #05AED3;
}

.page-191 .megamenu2 > li > a {
    color: #03162E;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 3px solid #784800;
}

.page-192 .megamenu2 > li > a {
    color: #03162E;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 3px solid #57BA0A;
}
ul.megamenu {
    margin:3px 0 0 0 !important;
}
.megamenu li:hover ul {
    visibility: visible;
    top: 36px;
}
.megamenu li:nth-child(1) ul ul {
    border-top: 0px;
    margin-top: 1px !important;
}
.megamenu li:nth-child(2) ul ul {
    border-top: 0px;
    margin-top: 1px !important;
}
.megamenu li:nth-child(3) ul ul {
    border-top: 0px;
    margin-top: 1px !important;
}
.megamenu li a {
    color: #FFF;
    padding: 7px 10px 10px 10px;
    text-transform: uppercase;
    font-size: 16px;
}
.megamenu > li > .megamenu2 > li > a:before {
    content: none;
}
.page-190 .megamenu2 > li > a:before { content: none;}
.megamenu li:hover a {
    background-color:white; /* Set the desired background color */
    color:inherit
}

.megamenu .megamenu3>li a:before {
    margin: 0 5px 0 0 !important;
}
.megamenu .megamenu2 ul.megamenu3 li {
    margin-left: 0 !important;
}
.tabL-03.quoi-de-neuf {
    background: #2780e2;
}

.megamenu4 li::before {
    content: "►"; /* The content you want to insert */
    color: red; /* Color of the "►" */
    font-size: 0.7em; /* Adjust the size of the "►" */
    display: inline-block; /* Make sure the "►" appears inline with the text */
    margin-right: 5px; /* Adjust the spacing between the "►" and the text */
}


/* ------------------------------------------------------------------------------------------- */
/* Base styles */
#page-2 .section0{background: linear-gradient(90deg, #ffffff 50%, transparent 50%);}
#page-2 .section0 .row{background: #ffffff;height:4px;}

.image-container {
    position: relative;
    display:inline-flex;
    margin:16px 16px;

}
.top-energie.updated {
    padding: 15px 0 0 0;
}
.top-energie li .image-container img {
	width:100%;
	height:100%;
	margin:0
}

.text-container {
    position: absolute;
    top: 211px;
    left: 0;
    right: 0;
    padding: 5px 15px;
    color: #fff;
    /*text-indent: 2%;*/
}

.text-container h3
{
    margin: 1px;
    margin-top: 1px;
    font-size: 14px;
    text-align: left;
}

.text-container p{
    margin: 1px;
    line-height:18px;
    text-align: left;

}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    transition: opacity 0.5s ease;
}

.image-container:hover .overlay {
    opacity: 0;
}
.top-energie li image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(0.9);
}

.image-container:hover .discover-btn {
    z-index: 1;
}

.discover-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #ffffff;
	z-index: -1;
	padding: 5px 8px;
	font-size: 10px;
	background-color: rgba(0, 0, 0, 0.5);
	border: 1px solid rgb(255, 255, 255);
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
	border-radius: 3px;
}

/* Media queries for responsiveness */
@media screen and (max-width: 768px) {
    .image-container {
        margin: 100px 60px;
        width: 80%; /* Adjust width as needed */
    }

    .text-container {
        font-size: 12px; /* Adjust font size for smaller screens */
    }

    .overlay {
        height: auto; /* Adjust overlay height for smaller screens */
    }

    .discover-btn {
        font-size: 8px; /* Adjust font size for smaller screens */
        left: 130px;
    }
}
/* ---------------- News Section Droite ---------------------- */

.management.wd-widget.eqp {
    margin: 0;
}

.news-quoi-de-neuf .article.articletype-0:hover {
    background-color: #0c2f56;
}

#page-2 .news-list-view {
	margin-right:0;
}

.news-list-view .news-quoi-de-neuf .article{
    margin: 0;
	padding:5px 10px 0px 10px !important;
}

.news-list-view .news-quoi-de-neuf .news-list-category {
	width:max-content;
	height: 20px;
	display: flex;
	flex-direction: row;
	justify-content: left;
	align-items: center;
	gap: 10px;
	margin: 8px 0px 2px 0px;
	padding: 2px 6px;
	top: 8px;
	left: 12px;
	background-color: #2780e2;
	border: none; /* Add this to remove default button border */
	/* font-family: Roboto; */
	font-size: 10px;
	font-weight: normal;
	font-stretch: condensed;
	font-style: normal;
	line-height: 1;
	letter-spacing: normal;
	text-align: center; /* Align text center within the button */
	color: #fff;
	text-transform:uppercase;
}
.news-list-view .news-quoi-de-neuf .article p {
	margin:0;
}
.management .news-list-view .news-quoi-de-neuf h3 {
    text-transform: none;
    padding-bottom: 0;
}
.mg-right .direction p a{ 
	background: #0d345f; 
}

:lang(ar) .mg-right .direction p a{
    text-align:left !important;
}
.mg-right .direction p a:hover{ 
	background: #0c2f56; 
	color:#0a92d0
}

.news-list-view .news-quoi-de-neuf .news-list-date {
    width: 5px;
    height: 16px;
    margin: 8px 0px;
    /* font-family: Roboto; */
    font-size: 11px;
    font-weight: normal;
    font-stretch: condensed;
    font-style: normal;
    line-height: 1.45;
    letter-spacing: normal;
    text-align: left;
    color: rgba(255, 255, 255, 0.6);
    padding: 0;
}

.content-wrap .news-single .article .header {
	margin-bottom:0;
}

.news.news-single .footer {
	display:block;
	border-bottom: 0;
    border-top: 0;
}

/* Add this CSS to your existing styles */
.Appel-dOffres {


    font-size: 16px;
    font-weight: 400;
    font-stretch: condensed;
    font-style: normal;
    line-height: 1.18;
    letter-spacing:normal;
    text-align:justify;

    color: #fff;
}


.offre{
    height: 44%;
    width: 100%;
    display:list-item;

}



.Date {
    width: 5px;
    height: 16px;
    margin: 8px 8px 8px 8px;
    /* font-family: Roboto; */
    font-size: 11px;
    font-weight: normal;
    font-stretch: condensed;
    font-style: normal;
    line-height: 1.45;
    letter-spacing: normal;
    text-align: left;
    color: rgba(255, 255, 255, 0.6);
    padding: 5px;
}

.Line-1 {
    width: 292px;
    height: 1px;
    margin: 0px 0 0;
    background-color: rgba(255, 255, 255, 0.18);
}
/* Add this CSS to your existing styles */
.offre:hover {
    background-color: rgb(10, 41, 74);
}

.offre:hover .Appel-dOffres {
    color: #0593d3;
    transition: color 0.8s ease;
    border-bottom: 1px solid #0593d3; ;

}


.offre:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

/* Set initial state of arrow to hidden */
.offre .arrow {
    display: inline;
    width: 14px;
    height: 16px;
    margin-left: 170px;
    opacity: 0; /* Initial opacity */
    transition: opacity 0.3s ease-out; /* Add transition effect for opacity */
    -webkit-transition: opacity 0.3s ease; /* Safari and older versions of Chrome */
    -moz-transition: opacity 0.3s ease; /* Firefox */
    -o-transition: opacity 0.3s ease; /* Opera */
}

/* Show arrow on hover */
.offre:hover .arrow {
    display: inline-block;
    opacity: 1; /* Change opacity on hover */
}

.border-box {
    border: 1px solid transparent; /* Set border width and color */
    margin-left: 10px; /* Optional: Add padding inside the border */
    display: inline-block; /* Make the box fit the content */
}
.bodytext1 a:hover {
    color: #0593d3;;
    transition: color 0.8s ease;
}

.news .page-navigation ul li:before {
	content:none;
}

.news .news-list-view .page-navigation ul li a {
    display: block;
    background: #e6e6fa;
    padding: 0 8px;
    color: #323d5f;
}

.news .news-list-view .page-navigation ul li.current {
	padding: 0 8px;
	font-weight:700;
}
.news .news-list-view .page-navigation ul li.current , .news .news-list-view .page-navigation ul li a:hover {
    background: #efeff9;
}
