@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body , html{
    height: 100%;
}
body {
    font-family: "Poppins", sans-serif;
    /* overflow-x: hidden ; */
}

#searchForm{
    margin-left: 12px;
}
#searchForm .dropdown{
    min-width: 160px;
    
}
.dropdown-button {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
background-color: #FFFFFF;
border: 1px solid #DADCEC;
cursor: pointer;
border-radius: 8px;
font-size: 16px;
color: #41566C;
font-family: Roboto;
font-weight: 400;
height: 40px;
transition: .3s all;
z-index: 999;
position: relative;
}
.dropdown-button:hover {
background-color: #F7F7FA;
border: 1px solid #5F64A566;
box-shadow: 0px 1px 2px 0px #1018280D;
}
.dropdown-button:hover svg path{
stroke: #9F248B;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #F7F7FA;
border: 1px solid #DADCEC;
z-index: 9;
width: 100%;
border-radius: 0px 0px 4px 4px;
padding-top: 32px;
top: 12px;
}

.dropdown-content.show {
display: block;
}

.dropdown-content a {
display: block;
padding: 4px 12px; 
text-decoration: none;
color: #41566C;
}

.dropdown-content a:hover {
background-color: #DADCEC; 
opacity: 1;
}
/* Heading Styles */
h1 {
    font-family: "Poppins";
    font-weight: 600; /* Semi-bold */
    font-size: 23px;
    line-height: auto;
}

h2 {
    font-family: "Poppins";
    font-weight: 600; /* Semi-bold */
    font-size: 18px;
    line-height: auto;
}

h3 {
    font-family: "Poppins";
    font-weight: 600; /* Semi-bold */
    font-size: 16px;
    line-height: auto;
}

h4 {
    font-family: "Poppins";
    font-weight: 500; /* Semi-bold */
    font-size: 16px;
    line-height: auto;
}

/* For the rest (e.g., h5, h6, paragraphs, etc.) */
h5, h6, p,  div {
    font-family: "Poppins";
    font-weight: 500; /* Medium */
    font-size: 14px; /* Default size */
    line-height: auto;
}

/* Additional font sizes if needed */
h5 {
    font-size: 14px;
}

h6 {
    font-size: 12px;
}


.dashboard-block{
    display: flex;
    flex-direction: column;
    height: 100%;
}
/* Sidebar
#wrapper {
    display: flex;
    flex-direction: row;
} */
.sidebar{
    position: fixed;
    width: 244px;
    left: 0;
    top: 0;
    transition: .5s all ease;
    z-index: 999;
    background-color: #fff;
    flex-grow: 0;
    height: 100vh;
}
.content-side-bar{
    padding: 20px 24px;
}
.dashboard {
    margin-left: 244px;
    flex-grow: 1;
    flex-basis: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.main-dashborad{
    display: flex;
    flex-direction: row;
}
.main {
    background: #F7F7FA;
    padding: 24px;
    border-radius: 16px 0px 0px 16px;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

a {
    color: #9F248B;
    text-decoration: none;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    text-align: left;
}
.no-posts-message h5{
    color: #312A73;
    font-size: 16px;
    font-weight: 500;
    font-family: Roboto;
}
.no-posts-message p{
    color: #5F64A5;
    font-size: 14px;
    font-weight: 400;
    font-family: Roboto;
    margin-bottom: 0
}
a:hover {
    opacity: 0.7;
    color: #9F248B;
}

.flex-link a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-link img {
    width: 16px;
}
#sidebar-wrapper {
    min-height: 100vh;
    width: 250px;
    margin-left: -320px;
    transition: all 0.3s;
}
.header-section-offre {
    /* height: 260px; */
    /* padding: 24px; */
    background-repeat: no-repeat !important;
    background-position: right !important;
    background-size: contain !important;
    border-radius: 16px 0 0 0 !important;
    margin-top: -24px;
    margin-right: -24px;
    margin-left: -24px;
    display: flex;
    align-items: center;
}
/* .content-dashboard .title.d-flex {
    padding: 24px 24px 0 24px;
    margin-top: -55px;
    position: relative;
    background-color: #F7F7FA;
    border-radius: 16px 16px 0 0;
} */
.content-dashboard .block-offre-emploi {
    padding-left: 32px;
    padding-right: 32px;
    background-color: #F7F7FA;
    padding-top: 40px;
}
.sidebar.toggled {
    left: 0;
    height: 100% !important;
    width: 100% !important;
    background-color: #0000006c;
}
.content-side-bar{
    height: 100% !important;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
}
#searchForm{
    display: flex;
    gap: 16px;
    flex-direction: row-reverse;
}


.single-adr{
font-family: Roboto;
font-size: 16px;
font-weight: 600;
line-height: 20px;
color: rgba(45, 45, 44, 1) ;
}

.single-offer-content p {
font-family: Roboto;
font-size: 16px;
font-weight: 400;
line-height: 20px;
color: rgba(65, 86, 108, 1)
}

.single-ac-adr{
font-family: Roboto;
font-size: 16px;
font-weight: 400;
line-height: 20px;
color: rgba(65, 86, 108, 1);
text-decoration: underline;
}
p.single-offer-details {
    font-size: 14px;
    font-weight: 500;
    color: rgba(95, 100, 165, 1);
    font-family: 'Roboto';
    line-height: 18px;
}
.single-offer-content-details {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
}
.main-title h1{
    font-size: 23px;
    color: rgba(45, 45, 44, 1);
    font-weight: 600;
    font-family: 'Poppins';
}
.single-offer-subtt{
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    font-family: 'Roboto';
}
.application-cards-container{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}
.application-card {
    width: 47%;
}
@media screen and (min-width : 1440px) and (max-width: 1659.5px) {
    .application-card {
        width: 45%;
    }
}
@media screen and (min-width : 992px) and (max-width: 1439.5px) {
    .application-card {
        width: 100%;
    }
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        justify-content: space-between;
    }
}

#page-content-wrapper {
    flex: 1;
}

#sidebar-wrapper {
    padding: 24px;
    /* min-width: 310px; */
}
/* .application{
    padding: 36px 41px 36px 24px;
} */
.custom-logo {
    width: 76.98px;
    height: auto;
}
.sidebar-heading{
    padding-bottom: 24px;
}
.site-logo {
    text-align: center;
    padding: 16px;
}

.navbar {
    background: white;
    padding-top: 20px;
    padding-bottom: 20px;
    flex-grow: 0;
}

.navbar-nav li a {
    color: #41566C;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-family: 'Poppins' !important;
    font-weight: 500;
    transition: .3s all;
}

.navbar-nav li {
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    text-align: left;
    color: #41566C;
    height: 46px;
    display: flex;
    align-items: center;
    margin: 4px 0px;
}

/* .icon-hover {
    display: none;
} */
.content-dashboard{
    background-color: #F7F7FA;
    border-radius: 16px 0 0 16px;
    padding: 24px;
    flex-grow: 1;
}
.current-menu-item {
    background: #9F248B;
    border-radius: 8px;
}
.navbar-nav li.current-menu-item a:hover{
    color: #fff;
    font-weight: 600;
}
.navbar-nav li.current-menu-item a{
    color: #fff;
    font-weight: 600;
}
.navbar-nav li.current-menu-item:hover{
    color: #fff;
    background:#9F248B ;
    font-weight: 600;
}
.navbar-nav li.current-menu-item{
    color: #fff;
    background:#9F248B ;
    font-weight: 600;
}

/* Ensure icons for the current page item are displayed correctly */
.navbar-nav .current-menu-item  .icon-initial {
    display: none !important; /* Hide initial icon */
}

.navbar-nav .current-menu-item  .icon-hover {
    display: block !important; /* Show hover icon */
}

/* Ensure hover effects do not override active item styles */
.navbar-nav .current-menu-item:hover  .icon-initial {
    display: none !important; /* Hide initial icon on hover for current item */
}

.navbar-nav .current-menu-item:hover  .icon-hover {
    display: block !important; /* Show hover icon on hover for current item */
}

/* Regular menu items */
.navbar-nav li:not(.current-menu-item) > .menu-item-link:hover .icon-initial {
    display: none !important; /* Hide initial icon on hover for non-active items */
}

.navbar-nav li:not(.current-menu-item) > .menu-item-link:hover .icon-hover {
    display: block !important; /* Show hover icon on hover for non-active items */
}

.navbar-nav li:not(.current-menu-item) .icon-initial {
    display: block !important; /* Show initial icon for non-active items */
}

.navbar-nav li:not(.current-menu-item)  .icon-hover {
    display: none !important; /* Hide hover icon for non-active items */
}
.navbar-nav li a:hover{
    font-weight: 600;
    opacity: 1;
}

.navbar-nav li:hover {
    background: #fff;
    border-radius: 8px;
    color: #9F248B !important;
}
.navbar-nav li.current-menu-item:hover a{
    background:#9F248B !important;
    color:#ffffff !important;
    opacity: 1;
    font-family: 'Poppins' !important;
}
.categories-list a:hover{
    background-color: #F7F7FA;
    opacity: 1;
    border: 1px solid #DADCEC;
}
.navbar-nav li.current-menu-item:hover a{
    color:#ffffff !important;
    background:#9F248B;
    font-weight: 600;
}

.site-logo a:hover{
    opacity: 1;
}

.navbar-nav li:hover a img{
    opacity: 1 !important;
}
.navbar-nav li:hover a {
    color: #9F248B !important;
    font-weight: 600;
}
.navbar-nav li:hover a img{
    opacity: 1;
}
.navbar-nav li a:hover img{
    opacity: 1 !important;
}

.navbar-nav li a img{
    opacity: 0.7;
}
.navbar-nav li.current-menu-item a img{
opacity: 1;
}
.navbar-nav li img {
    width: 21.67px !important;
    max-width: unset !important;
    height: auto;
    margin: 0px 8px !important;
}

.separator {
    margin: 12px 0px;
}

.dropdown {
    position: relative;
}

select {
    width: 150px;
    padding: 8px 12px;
    border: 1px solid #DADCEC;
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: white url('/wp-content/themes/lby-acms/img/select.png') no-repeat right 12px center;
    background-size: 10px;
    font-size: 16px;
    color: #41566C;
    outline: none !important;
    box-shadow: unset;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    box-sizing: content-box;
    box-shadow: 0px 1px 2px 0px #1018280D;
}

select:hover {
    background: #F7F7FA url('/wp-content/themes/lby-acms/img/select-hover.png') no-repeat right 12px center;
    background-size: 10px;
    box-shadow: 0 0 5px rgba(0, 82, 204, 0.3);
}

select:active {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 82, 204, 0.3);
    border: 1px solid #D1D1D1;
}

select:disabled {
    background-color: #F5F5F5;
    color: #B1B1B1;
    border-color: #E1E1E1;
}



.profile-dropdown .profile-picture {
    width: 48px;
    height: 48px;
    border-radius: 9px;
    border: 1px solid #41566C1F;
    padding: 4px;
    box-sizing: border-box;
    margin-right : 8px;
}

/* .dropdown.profile-dropdown{
    margin-right : 32px
} */
.dropdown.profile-dropdown a:hover{
    opacity: 1;
}
.dropdown.profile-dropdown .dropdown-toggle::after{
    background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect y='26' width='26' height='26' rx='4' transform='rotate(-90 0 26)' fill='%23F0F0FA'/%3E%3Cpath d='M18.8335 10.5L13.0002 15.5L7.16683 10.5' stroke='%235F64A5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    border: none;
    width: 26px;
    height: 26px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.dropdown.profile-dropdown.show .dropdown-toggle::after{
    background-image: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='26' width='26' height='26' rx='4' transform='rotate(90 26 0)' fill='%239F248B' fill-opacity='0.08'/%3E%3Cpath d='M7.16699 15.5L13.0003 10.5L18.8337 15.5' stroke='%239F248B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
.dropdown.profile-dropdown .dropdown-menu{
    width: 100%;
}
.user-name {
    margin-right: 8px;
    color : #41566C ; 
    font-family : 'Poppins' ;
    font-Weight : 600 ;
    font-size : 14px ;
    line-height : 21px ;
}

.time-tor {
    font-size: 14px;
    font-weight: 500;
    font-family: 'Roboto';
    color: #5F64A5;
}
select option {
    /* Styles pour les options */
    background-color: #DADCEC;
    /* Couleur de fond des options */
    color: #41566C;
    /* Couleur du texte des options */
    padding: 8px;
    /* Espacement intérieur */
    font-size: 14px;
    /* Taille de police */
    font-size: 14px;
    line-height: 1.5;
    /* Ajuster l'espacement vertical */
}

/* Au survol des options */
select option:hover {
    background-color: #DADCEC;
    color: #41566C;
}

.menu-toggle {
    display: none;
}

input[type="text"] {
    min-width: 310px;
    border-radius: 8px;
    border: 1px solid #DADCEC;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    padding: 14px;
    outline: none !important;
}

input[type="text"]:hover {
    background: #F7F7FA;
    border: 1px solid #5F64A599;
}

input[type="text"]:active,
input[type="text"]:focus {
    border: 1px solid #9F248B;
    background: #F7F7FA;
}

.search-input {
    background: #fff url(/wp-content/themes/lby-acms/img/search.png) no-repeat left 12px center !important;
    background-size: 20px !important;
    padding: 10px 45px !important;
}

.search-input:hover,
.search-input:active,
.search-input:focus {
    background: #F7F7FA url(/wp-content/themes/lby-acms/img/search.png) no-repeat left 12px center !important;
    background-size: 20px !important;
}
/* .search-input{
    background: #F7F7FA url(/wp-content/themes/lby-acms/img/search.png) no-repeat left 12px center !important;
    background-size: 20px !important;
    padding-left: 40px !important;
} */

.application {
    border-left: 1px solid #5F64A54D;
    background: #DADCEC;
    height: 100%;
    padding: 36px 24px 10px 24px;
 
}
.page-template-page-applications .application {
    border-radius: 16px 0 0 16px;
    padding: 24px;
}
.page-template-page-applications .application-details {
    padding: 20px 32px;
    margin-top: 0px;
}
#menu-footer-menu {
    display: flex;
    margin: 16px;
}

footer .menu-item-type-custom {
    margin-right: 20px;
}

footer .menu-item-type-custom a {
    color: #41566C;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.41px;
    text-align: center;
    text-decoration: underline;
}



h2 img {
    width: 26px;
    margin: 0px 8px 0px 0px;
}

.application-cadre {
    min-height: 138px;
    padding: 8px;
    border-radius: 8px;
    background: #FFFFFF url(/wp-content/themes/lby-acms/img/up-faded.svg) no-repeat left 12px bottom 8px !important;
    background-size: 26px !important;
    cursor: pointer;
    outline: none !important;
    
}

.application-cadre:hover {
    min-height: 138px;
    padding: 8px;
    border-radius: 8px;
    background: #FFFFFF url(/wp-content/themes/lby-acms/img/up.svg) no-repeat left 12px bottom 8px !important;
    background-size: 26px !important;
    border: 1.3px solid #9F248B80;
    box-shadow: 0px 1px 12px 0px #656D8933;
}

.application-cadre:hover h2,
.application-cadre:hover p {
    color: #9F248B;
}

.application-details {
    margin-top: 24px;

}

.app-icon {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.app-icon img {
    width: 26px;
}

.application-cadre h2 {
    font-family: Roboto;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.10000000149011612px;
    margin-bottom: 0;
}

.application-cadre p {
    font-family: Roboto;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.10000000149011612px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}


.footer-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

a.close-menu{
    display: none;
}

.feat-latest {
    width: 60%;
    min-width: 60%;
    padding: 8px;
    margin-right: 16px;
    padding-right: 16px;
    margin: 8px 0px 8px 8px;
    border-radius: 4px;
    min-height: 280px;
    transition: .5s all ease;
}

.latest-post:hover .feat-latest {
    border-radius: 4px 0 0 4px;
}


/* Media Queries */
@media (max-width: 991.5px) {
    .dashboard {
        margin-left: 0px;
    }
    .sidebar {
        left: -244px;
    }
    .menu-toggle{
        display: block;
    }
    .navbar{
        padding: 10px 16px 15px !important;
    }
    .sidebar-heading{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    a.close-menu{
        display: block;
    }
    .main-dashborad{
        flex-direction: column;
    }
    .content-side-bar {
        height: 100% !important;
        background-color: #fff;
        width: 0;
        transition: .5s all ease;
    }
    .sidebar.toggled .content-side-bar{
        width: 80vw;
    }
  
    .content-dashboard{
        padding: 16px;
    }
    .categories-list{
        padding-left: 0px !important;
    }
    .header-section , .header-section-offre{
        background-position: center !important;
        background-size: 0 !important;
        margin-right: -15px !important;
        margin-left: -15px !important;
    }
    .content-dashboard .nav-tabs li.nav-item {
        width: 48%;
    }
    .content-dashboard .nav-tabs li.nav-item a{
        text-align: center;
    }
    .latest-post{
        padding: 8px !important;
        flex-direction: column !important;
    }
    .feat-latest{
        width: 100%;
        margin: 0 !important;
    }
    .latest-content{
        width: 100% !important;
        padding-left: 0 !important;
    }
}
    .padding-24 {
        padding: 24px 32px 24px 24px;
    }
.event-archive-link{
    opacity: 1 !important;
}
    .pt-37 {
        padding-top: 37px;
    }

    .loading-spinner {
        text-align: center;
        font-size: 16px;
        color: #007bff;
        margin: 20px 0;
    }

    /* Optional: Use CSS animations for a more visible loader */
    .loading-spinner::after {
        content: '';
        display: inline-block;
        width: 24px;
        height: 24px;
        border: 3px solid #007bff;
        border-radius: 50%;
        border-top: 3px solid transparent;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }


    /* Styles for the Latest Post Section */
    .latest-post {
        display: flex;
        padding: 0px;
        background-color: #fff;
        margin-bottom: 20px;
        border: 1px solid #DADCEC;
        border-radius: 8px;
        margin-left: 24px;
        margin-right: 24px;
        transition: .1s all ease;
        box-shadow: 0px 1px 12px 0px #656D8929;
    }
    .latest-post:hover{
        border: 1px solid #9F248B;
    }
    .latest-post:hover .latest-content{
        transform: translate(-40px, 0px);
        border-radius: 0 8px 8px 0;
        min-width: calc(40% + 32px);
    }
    .latest-post:hover .content-bloc-category{
        background-color:#9F248B ;
    }
    .latest-post:hover .content-bloc-category a{
        color: #fff !important;
    }
    .latest-content {
        padding-top: 24px;
        justify-content: space-between;
        display: flex;
        flex-direction: column;
        width: 40% ;
        transition: .5s all ease;
        padding-left: 16px;
        background-color: #fff;
        border-radius: 0 8px 8px 0;
    }
   
.latest-post .latest-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2D2D2C;
    transition: .5s all ease;
    overflow: hidden; 
    text-overflow: ellipsis; 
    -webkit-line-clamp: 2; 
    display: -webkit-box;
     -webkit-box-orient: 
    vertical; white-space: normal;
    padding-right: 16px;
}
.latest-post:hover .latest-title {
    color: #9F248B;
    overflow: hidden; 
    text-overflow: ellipsis; 
    -webkit-line-clamp: 2; 
    display: -webkit-box;
     -webkit-box-orient: 
    vertical; white-space: normal;
}

.latest-post .latest-excerpt {
    font-size: 14px;
    color: #41566C;
    margin-bottom: 10px;
    padding-right: 16px;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: normal;
    font-family:  Roboto, sans-serif;
    padding-right: 16px;
}
.latest-post .latest-content .footer{
    background-color: #DADCEC;
    padding: 13px 16px;
    border-radius: 8px 0 8px 0;
    transition: .5s all ease;
}
.latest-post .latest-content .footer a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .5s all ease;
}
.latest-post:hover .latest-content .footer a{
    color: #9F248B;
}
.latest-post .latest-content .footer a svg path{
    transition: .5s all ease;
}
.latest-post:hover .latest-content .footer a svg path{
    stroke: #9F248B;
    opacity: 1 !important;
}
.latest-post .latest-read-more {
    font-size: 16px;
    color: #5F64A5;
    text-decoration: none;
}

.latest-post .latest-read-more:hover {
    text-decoration: underline;
}

/* General Styles */
.posts-list .item {
    display: flex;
    flex-direction: column;
    height: 290px; /* Adjust height as needed */
    background: #fff;
    box-sizing: border-box;
    position: relative;
    border-radius: 10px;
    margin: 8px 4px;
    border: 1px solid #DADCEC;
    transition: border 0.5s, transform 0.5s;
    box-shadow: 0px 1px 12px 0px #656D8929;
    cursor: pointer;
}
.posts-list-item{
    padding: 0px 4px;
}

span.highlight {
    font-weight: 600;
}

.posts-list .item:hover {
    border: 1px solid #9F248B;
}

.posts-list .item:hover .content-title {
    color: #9F248B;
}
.item-event:hover a{
    opacity: 1 !important;
}
.item-offer:hover a{
    opacity: 1 !important;
}
.item-offer:hover .offer-content .offer-content-details .footer-offer svg  {
    width: 24px;
    height: 18px;
}
.item-offer:hover .offer-content .offer-content-details .footer-offer svg  path{
    opacity: 0.7;
}
.posts-list .item:hover .content-bloc-category {
    background-color: #9F248B;
    transform: translate(0px, -5px);
}
.posts-list .item:hover .content-bloc-category a{
    color: #fff !important;
}
.posts-list .item .content-bloc-category a{
    color: #fff !important;
}
.posts-list .item:hover .footer a span {
    color: #9F248B !important;
}

.posts-list .item:hover .footer a svg path {
    stroke: #9F248B;
}

/* Content Styles */
.content-title {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    text-align: left;
    transition: color 0.5s;
    margin-bottom: 8px;
    overflow: hidden; 
    text-overflow: ellipsis; 
    -webkit-line-clamp: 2; 
    display: -webkit-box;
     -webkit-box-orient: 
    vertical; white-space: normal;
}
.event-title-text{
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
     -webkit-box-orient:
    vertical; white-space: normal;
}
.content-bloc {
    display: flex;
    align-items: end;
    justify-content: flex-start;
    padding: 15px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 117px;
    border-radius: 5px;
    transition: border-radius 0.5s;
}

.content-bloc-category {
    background: #6B7EDF;
    border: 1px solid #5F64A599;
    color: #fff;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 4px;
    text-decoration: none;
}
.latest-post .content-bloc-category{
    width: fit-content;
    transition: .5s all ease;
}
.latest-post .content-bloc-category a{
    color: #fff;
}
.latest-post .content-bloc-category .content-title{
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.content-excerpt {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    color: #667085;
   
}
.header-section-offre h1{
    font-size: 28px;
    color: #312A73;
}
/* Pagination Styles */
.pagination {
    text-align: center;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination a {
    text-decoration: none;
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #DADCEC;
    color: #312A73;
    border-radius: 4px;
    background: #fff;
    transition: background 0.3s;
}
.page-numbers{
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #5F64A5;
    background: #f7f7fa !important;
    border: none !important;
}
a.page-numbers:hover{
    color: #5F64A5 !important;
    opacity: 1 !important;
}
.page-numbers.current{
    background: #DADCEC !important;
    color: #312A73 !important;
    border: 1px solid #5F64A51A !important;
    border-radius: 8px;
}
.pagination a:hover {
    background: #6B7EDF;
    color: #fff;
}

/* Category Filter Styles */
.categories-list {
    display: flex;
    padding-left: 24px;
    gap: 8px;
    margin-bottom: 20px;
}
a.with-decoration img{
    margin-left: 12px;
}
.categories-list li {
    list-style: none;
}

.categories-list a {
    text-decoration: none;
    color: #312A73;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 4px;
    border: 1px solid #DADCEC;
    background: #fff;
    transition: background 0.3s, color 0.3s;
}

.categories-list a.category-filter.active {
    background: #6B7EDF;
    border: 1px solid #5F64A599;
    color: #fff;
}

/* Footer and Other Styles */
.posts-list .item .footer {
    height: 40px;
    background: #DADCEC;
    border-radius: 0 0 10px 10px;
}

.posts-list .item .footer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
}
.posts-list .item .footer a svg path {
    transition: 0.5s all ease;
}
.posts-list .item:hover .footer a svg path {
    stroke: #9F248B ;
    opacity: 1;
}
.posts-list .item .footer a img {
    width: auto;
}

.posts-list .item .footer a span {
    color: #5F64A5;
    transition: color 0.5s;
}

.item-content {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 8px 16px;
    background-color: #fff;
    transition: 0.5s all ease;
}

.posts-list .item:hover .item-content {
    transform: translate(0px, -15px);
}

.no-posts-message{
    padding: 16px;
    margin-left: 32PX;
    background-color: #DADCEC;
    border-radius: 8px;
    border: 1px solid #5F64A51A;
    margin-bottom: 40px;
}

.error-title{
    font-family: Roboto;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: #312A73;
}
.header-section {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    height: 260px;
    justify-content: space-between;
    background: url('../img/news-bg.png') , #DADCEC;
    border-radius: 16px 0 0 0;
    margin-top: -24px;
    margin-right: -24px;
    margin-left: -24px;
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
}
.header-section img{
     height: 260px;
     object-fit: cover;
     width: 100% !important;
     max-width: 100% !important;
     z-index: 0;
    position: relative;
}
.header-section img {
    max-width: 50%;
    margin-right: 20px;
}

.header-section h1 {
    font-size: 28px;
    color:  #312A73;
}
.content-dashboard .bloc-tabs {
    background-color: #F7F7FA;
    border-radius: 16px 16px 0 0;
    padding: 24px 0px 0 0px;
    margin-top: -55px;
    position: relative;
}
.header-dash{
    background-color: #F7F7FA;
    border-radius: 16px 16px 0 0;
    padding: 24px 24px 0 24px;
    margin-top: -55px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-info-footer{
    background-color: #F7F7FA;
    border-radius: 16px 16px 0 0;
    padding: 24px 24px 0 24px;
    margin-top: -55px;
    position: relative;

}
.header-dash h2{
    margin-bottom: 0;
}
.tab-pane h2{
    font-size: 18px !important;
    color: #2D2D2C;
    margin-bottom: 18px;
    font-weight: 600;
}
.content-dashboard .nav-tabs{
    border-bottom: 1px solid #DADCEC;
    margin-left: 24px;
    margin-right: 24px;
    gap: 8px;
}
.nav-tabs .nav-link{
    color: #41566C;
    font-size: 16px;
    padding: 0 8px 11px 8px;
}
.container.newest-posts{
    padding-left: 24px !important;
    padding-right: 24px !important;
    padding-bottom: 40px !important;
}
.title.d-flex {
    gap: 8px;
}
.nav-tabs .nav-link.active {
    background-color: #ccc0;
    color: #9F248B;
    border-top:0;
    border-left:0;
    border-right:0;
    font-size: 16px;
    border-bottom: 2px solid #9F248B;
}

.tab-content {
    margin-top: 40px;
}


.error-content{
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

/********* page profile *****************/

#save_profile_changes{
    padding: 8px 16px;
    background-color: #9F248B;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 8px;
    border-radius: 8px;
    font-size: 16px;
    font-family: Roboto;
}
    .profile-picture {
        position: relative;
        width: 90px;
        height: 90px;
        margin-left: 24px;
        overflow: hidden;
    }
    .profile-picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
        border: 1px solid #41566C1F;
        padding: 4px;
        box-sizing: border-box;
        margin-right: 8px;
    }
    .profile-picture-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 90%;
        height: 90%;
        background-color: rgba(0, 0, 0, 0.3);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        transform: translate(-50%, -50%);
        border-radius: 16px;
    }
    .profile-picture:hover .profile-picture-overlay {
        opacity: 1;
    }
    .profile-picture-overlay label {
        color: white;
        cursor: pointer;
    }
    /* .profile-info {
        text-align: center;
    } */
    .profile-info h2 {
        margin-bottom: 20px;
    }
    .profile-info p {
        margin-bottom: 15px;
    }
    .profile-info input[type="text"] , .profile-info input[type="email"] {
        width: 100%;
        padding: 10px;
        height: 40px;
        margin-bottom: 15px;
        border: 1px solid #DADCEC;
        border-radius: 8px;
        background-color: #ffffff00;
        font-size: 16px;
        color: #41566C;
        font-family: 'Roboto';
    }
    .profile-info button {
        background-color: #007bff;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    .profile-info button:hover {
        background-color: #0056b3;
    }
    .success-message {
        color: #155724;
        background-color: #d4edda;
        border: 1px solid #c3e6cb;
        padding: 10px;
        margin-bottom: 15px;
        border-radius: 4px;
        display: none; /* Hidden by default */
    }
    .edit-profile-picture{
        position: absolute;
        top: 8px;
        right: 8px;
    }
    .profile-info label{
        color: #5F64A5;
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 4px;
        font-family: 'Roboto';
    }
    .profile-info{
        margin-left: 24px;
        margin-top: 24px;
    }
    a.deco-link{
        margin-left: 24px; 
        text-decoration: underline;
    }



/***********single page*************/
.custom-single-post {
    background-color: #F7F7FA;
    padding: 24px 40px;
    border-radius: 16px 0 0 16px;
    flex-grow: 1;
    flex-basis: 0;
}
footer.text-lg-start{
    flex-grow: 0;
}
.retour-link{
    padding-bottom: 10px;
}
.content-page {
    background-color: #fff;
    border: 1px solid #DADCEC;
    border-radius: 16px;
    padding: 24px;
    max-width: 762px;
}
.post-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.post-title h1{
    font-size: 23px;
    max-width: 100%;
}
.post-age {
    font-size: 14px;
    max-width : 150px;
    min-width : 80px;
}
.content-page .content-bloc-category {
    width: max-content;
    margin-bottom: 24px;
}
.content-page .content-bloc-category p{
    margin-bottom: 0;
}
.content-page .content-bloc-category p a{
    color: #FFFFFF;
    font-size: 14px;
}
.post-grids{
    width: -webkit-fill-available;
}
.post-text img{
    width: -webkit-fill-available;
}
.post-content {
    display: flex;
    align-items: start;
    gap: 20px !important;
    justify-content: flex-start;
}
.single-offre-emploi li{
    font-family: Roboto;
    color: #41566C;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    word-wrap: break-word;
    hyphens: auto; 
}
.post-content.no-thumbnail .post-text {
    width: 100% !important;
}
.post-image {
    width: 45% !important;
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 5px;
}
.post-text {
    width: 100%;
    font-family: Roboto;
    color: #000;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    word-wrap: break-word;
    hyphens: auto;
}
.post-text p ,.post-text strong , .post-text em , .post-text li , .post-text ul{
    width: 100%;
    font-family: Roboto;
    color: #000;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    word-wrap: break-word;
    hyphens: auto;
}
.dropdown.profile-dropdown:hover .user-name{
    color: #9F248B;
}
.dropdown.profile-dropdown:hover.profile-dropdown .dropdown-toggle::after{
    background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2227%22%20height%3D%2226%22%20viewBox%3D%220%200%2027%2026%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Crect%20x%3D%220.875%22%20y%3D%2226%22%20width%3D%2226%22%20height%3D%2226%22%20rx%3D%224%22%20transform%3D%22rotate(-90%200.875%2026)%22%20fill%3D%22%239F248B%22%20fill-opacity%3D%220.08%22/%3E%3Cpath%20d%3D%22M19.708%2010.5L13.8747%2015.5L8.04134%2010.5%22%20stroke%3D%22%239F248B%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E');
}

.post-content .post-image img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
    float: left;
    padding-right: 10px;
}

.single-event-date {
    font-family: Roboto;
    background-color: #6B7EDF;
    border-radius: 4px;
    flex-grow: 0;
    width: 250px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.single-event-date .day {
    font-size: 18px;
    font-weight: 600;
    line-height: 22.5px;
    color: #F7F7FA;
    font-family: 'Pooppins', sans-serif;
    margin-bottom: 0;
    text-align: center;
}

.single-event-date .month {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: #F7F7FA;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 0;
}

.event-title {
    font-family: 'Pooppins', sans-serif;
    font-weight: 600;
    font-size: 23px;
    line-height: 34.5px;
    color: #2D2D2C;
}
span.single-time-date-wicon{
 font-size: 14px;
color: #5F64A5;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
white-space: normal;
max-width: 90%;
}

.event-header-title {
padding-left: 20px;
margin-right: auto;
}

.post-age {
padding-left: 20px;
font-family: 'Roboto', sans-serif;
font-weight: 400;
font-size: 14px;
line-height: 18px;
color: #2D2D2C;
margin-bottom: 0;
min-width: 80px;
max-width: 150px;
}


ul#menu-footer-menu .current-menu-item{
    background: #fff;
}

.document-link{
    color: #2D2D2C ;
    font-size: 16px;
    text-decoration: underline;
    font-weight: 400;
    line-height: 20px;
    font-family: 'Roboto';
    text-align: end;
}
/*********search-page*************/
.post-type-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    margin-top: 24px;
}
.post-type-icon-heading {
    display: flex;
    align-items: center;
    gap: 8px;
}
.post-type-icon-heading h2{
    margin-bottom: 0;
}
.search-results-title {
    color: #5F64A5;
    font-size: 14px !important;
}
a.view-all-link.with-decoration svg path{
    fill: #9F248B;
}
.search-result.post-result , .search-result.agenda-result, .search-result.offre-emploi-result, .search-result.informations_metier-result{
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0px 1px 12px 0px #656D8929;
}
h3.result-title a{
    color: #312A73;
    text-decoration: underline;
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: normal;
    max-width: 70%;
}
.search-excerpt{
    font-size: 14px;
    color: #5F64A5;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: normal;
    max-width: 70%;
}
@media screen and (min-width : 1440px){
    .post-type-header a.view-all-link.with-decoration{
        font-size: 16px;
    }
    .post-age{
        min-width: 150px;
    }
}
@media screen and (min-width : 200px) and (max-width: 991.5px) {
    .application-card {
        width: 125px;
        min-width: 125px;
    }
    .single-event-header {
        display: flex;
        padding-bottom: 24px;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        
        }
        .latest-post:hover .latest-content{
            background-color: white;
            transform: translate(0px, -10px);
            min-width: calc(40% + 32px);
            border-radius: 0 8px 8px 0;
        }

        .post-content {
            display: flex;
            align-items: center;
            gap: 24px;
            flex-direction: column;
        }
        .post-text {
            width: 100%;
            font-family: Roboto;
            color: #41566C;
            font-weight: 400;
            font-size: 16px;
            line-height: 20px;
            text-align: center;
            word-wrap: break-word;
            hyphens: auto;
        }
        .post-header {
            display: flex;
            align-items: center;
            flex-direction: column  ;
        }
        .post-image{
            width: 100%;
        }
    .application-cards-container {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        margin-bottom: 16px;
        overflow-x: auto;
        -ms-overflow-style: none;  /* Internet Explorer 10+ */
        scrollbar-width: none;  /* Firefox */
        scroll-behavior: smooth;
    }
    .application-cards-container::-webkit-scrollbar { 
        display: none;  /* Safari and Chrome */
    }

}
@media (max-width: 767px) {
    .see-all-link-desktop {
        display: none;
    }
    .see-all-link-mobile {
        display: block;
    }
    #searchForm{
        display: flex;
        gap: 16px;
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    .see-all-link-desktop {
        display: block;
    }
    .see-all-link-mobile {
        display: none;
    }
}