/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 26 2025 | 20:59:57 */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
div[tabindex]:focus {
    outline: none !important;
    box-shadow: none !important; /* Certains thèmes utilisent un box-shadow au lieu d'un outline */
}

/******
Header
******/

.w-auto{
	width: auto !important;
}

.top-bar a:hover,
.top-bar a:focus{
	color: white !important;
}

/******
Header - Button New ad
******/

#my-header .add-listing-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--directorist-color-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    overflow: hidden;
	white-space: nowrap;
}

#my-header .add-listing-btn:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

#my-header .add-listing-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    transition: left 0.5s ease;
}

#my-header .add-listing-btn:hover::before {
    left: 100%;
}

#my-header .btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

#my-header .add-listing-btn:hover .btn-icon {
    transform: rotate(90deg);
}

/* Animation de pulsation subtile */
@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(102, 126, 234, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4); }
}

#my-header .add-listing-btn {
    animation: pulse 3s infinite;
}

/* Responsive */
@media (max-width: 480px) {
    
    #my-header .btn-icon {
        width: 18px;
        height: 18px;
    }
}

/******
Header - Right container + Buttons 
******/
#my-header .directorist-nav-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
}

#my-header .directorist-nav-buttons .nav-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
   /* overflow: hidden; */
    background: transparent;
    padding: 0px;
    border: none; /* Assurez-vous qu'il n'y a pas de bordure par défaut */
}

#my-header .nav-btn:hover {
    color: #ffffff90;
}

#my-header .btn-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

#my-header .nav-btn:hover .btn-icon {
    transform: scale(1.1);
}

#my-header .connect-btn {
    color: white;
}
#my-header .connect-btn:hover {
    color: #ffffff90;
}
#my-header .connect-btn .btn-icon {
    color: white;
}

/* Styles pour le bouton une fois transformé en profil */
#my-header .nav-btn.user-profile-btn .btn-text {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100px;
    display: block;
    text-align: center;
}

#my-header .nav-btn.user-profile-btn .user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#my-header .nav-btn.user-profile-btn .user-initial {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

/* Animation de transition */
@keyframes fadeInProfile {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

#my-header .nav-btn.user-profile-btn .user-avatar,
#my-header .nav-btn.user-profile-btn .user-initial {
    animation: fadeInProfile 0.4s ease-out;
}

/* Effets au survol pour le profil */
#my-header .nav-btn.user-profile-btn:hover .user-avatar,
#my-header .nav-btn.user-profile-btn:hover .user-initial {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
	
	#my-header .elementor-widget-off-canvas {
    height: -moz-fit-content;
    height: fit-content;
    --e-off-canvas-animation-duration: 0.5s;
}
	
   #my-header .directorist-nav-buttons {
	   flex-direction: column;
	   flex-wrap: nowrap;
        gap: 0px;
        padding: 15px 10px;
    }

	
	#my-header .add-listing-btn,
	#my-header .mobile-menu-btn{
		    background: transparent;
			color: black;
			box-shadow: none !important;
			width: 100%;
			border-bottom: 1px solid #dedede;
			border-radius: 0px;
	}
	
	#my-header .connect-btn{
		background: transparent !important;
	}
	
	#my-header .user-avatar{
		height: 40px;
		width: 40px;
		border-radius: 50px;
		border: 1px solid grey;
		
	}
	
	
    #my-header .btn-icon {
        width: 20px;
        height: 20px;
    }
    
    #my-header .nav-btn.user-profile-btn .btn-text {
        max-width: 80px;
        font-size: 11px;
    }
    
    #my-header .nav-btn.user-profile-btn .user-avatar,
    #my-header .nav-btn.user-profile-btn .user-initial {
        width: 20px;
        height: 20px;
    }
}

/******
Header - Universal Search Bar
******/

#my-header .elementor-element-1c5b3e0 {
    flex: 1 !important; 
    min-width: 0;
}

#my-header .dir-universal-search__listings .directorist-all-listing-col{
	width: 100% !important;
	max-width: 400px !important;
	margin: 0px !important;
}

#my-header .dir-universal-search__listings .directorist-row {
	margin: 0px;
}

#my-header .dir-universal-search__listings .directorist-all-listing-col form{
	padding: 0px;
	border: none;
}

#my-header .dir-universal-search__listings .directorist-all-listing-col input{
	border: none !important;
	border-radius: 12px;
	padding-left: 50px;
}

#my-header .dir-universal-search__listings .dir-universal-search__icon{
	left: 10px;	
}

#my-header .dir-universal-search__listings .directorist-all-listing-col button{
	border-radius: 0 12px 12px 0;
}


#my-header .dir-universal-search__input {
    width: 100% !important;
    min-width: 0; /* Permet à l'input de rétrécir */
}

#my-header.directorist-universal-search__form {
    width: 100%;
    display: flex;
    flex: 1;
}

#my-header.dir-universal-search__form-wrapper {
    width: 100%;
}

#my-header .elementor-element-1bc7591, /* Container logo + bouton */
#my-header .elementor-element-e4411c3 { /* Container 4 boutons */
    flex-shrink: 0;
}

#my-header .directorist-col-6.directorist-all-listing-col {
    width: 100% !important;
    max-width: none !important;
}



	
	.masquer-nav-repertoires .listing-with-sidebar__type-nav {
		display: none !important;
	}



/****************
HERO Section Main Directory page

*******************/
		.hero-drompro-text-1 h1{
			color: white;
		}

		.hero-drompro-text-1 span{
			color: black;
			border-radius: 5px;
			padding: 10px 20px;
			background: white;
			margin-bottom: 20px;
			font-weight: 700
		}
	
    .hero-location a{
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-wrap: wrap;
    }
    
     .hero-location a h5{
        color: white;
        text-align: center;
		 margin: 15px 0;
    }
    
    @media (max-width: 1024px) {
    
     .hero-location a svg{
        width: 80px;
    }
    
     .hero-location a h5{
        font-size: 1rem;    
     }

    }



/***********************************
AJOUTER IMAGE AU CATEGORIE

*******************/

.directorist-categories__single__content {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: white;
}

.directorist-categories__single__name {
	color: black !important;
}

img.directorist-category-image {
    max-width: 140px;
    align-self: center;
}