/******************************************************* Styles desktop only  ***************************************************/


/* Navbar couleurs inversées pour les pages sombres */
@media (min-width:1150px) {

	.page-mon-espace #top .white-switch>a,
	.page-actus-et-agenda #top .white-switch>a,
	.page-annuaire #top .white-switch>a,
	.page-documentation #top .white-switch>a,
	.page-mentions-legales #top .white-switch>a,
	.um-page-login #top .white-switch>a,
	.um-page-register #top .white-switch>a,
	.um-page-password-reset #top .white-switch>a,
	.um-page-user #top .white-switch>a,
	.error404 #top .white-switch>a,
	.tax-categories_ressources_adherents #top .white-switch>a {
		color: white;
	}

	.page-mon-espace #top .white-switch .elementor-search-form__toggle,
	.page-actus-et-agenda #top .white-switch .elementor-search-form__toggle,
	.page-annuaire #top .white-switch .elementor-search-form__toggle,
	.page-documentation #top .white-switch .elementor-search-form__toggle,
	.page-mentions-legales #top .white-switch .elementor-search-form__toggle,
	.um-page-login #top .white-switch .elementor-search-form__toggle,
	.um-page-register #top .white-switch .elementor-search-form__toggle,
	.um-page-password-reset #top .white-switch .elementor-search-form__toggle,
	.um-page-user #top .white-switch .elementor-search-form__toggle,
	.error404 #top .white-switch .elementor-search-form__toggle,
	.tax-categories_ressources_adherents #top .white-switch .elementor-search-form__toggle {
		color: white;
	}
	


	.page-mon-espace #top.header-bg .white-switch>a,
	.page-actus-et-agenda #top.header-bg .white-switch>a,
	.page-annuaire #top.header-bg .white-switch>a,
	.page-documentation #top.header-bg .white-switch>a,
	.page-mentions-legales #top.header-bg .white-switch>a,
	.um-page-login #top.header-bg .white-switch>a,
	.um-page-register #top.header-bg .white-switch>a,
	.um-page-password-reset #top.header-bg .white-switch>a,
	.um-page-user #top.header-bg .white-switch>a,
	.error404 #top.header-bg .white-switch>a,
	.tax-categories_ressources_adherents #top.header-bg .white-switch>a {
		color: black;
	}

	.page-mon-espace #top.header-bg .white-switch .elementor-search-form__toggle,
	.page-actus-et-agenda #top.header-bg .white-switch .elementor-search-form__toggle,
	.page-annuaire #top.header-bg .white-switch .elementor-search-form__toggle,
	.page-documentation #top.header-bg .white-switch .elementor-search-form__toggle,
	.page-mentions-legales #top.header-bg .white-switch .elementor-search-form__toggle,
	.um-page-login #top.header-bg .white-switch .elementor-search-form__toggle,
	.um-page-register #top.header-bg .white-switch .elementor-search-form__toggle,
	.um-page-password-reset #top.header-bg .white-switch .elementor-search-form__toggle,
	.um-page-user #top.header-bg .white-switch .elementor-search-form__toggle,
	.error404 #top.header-bg .white-switch .elementor-search-form__toggle,
	.tax-categories_ressources_adherents #top.header-bg .white-switch .elementor-search-form__toggle {
		color: black;
	}
}

@media (min-width:1150px) and (max-width:1300px) {

	.box-menu-item .elementor-widget-container a .elementor-icon-box-content p.elementor-icon-box-description {
		font-size: 23px;
	}
}



/**************************************************************** Styles mobile ********************************************************/


.box-menu-item-mobile .elementor-icon-box-content {
	display: flex;
	align-items: center;
}

.box-menu-item-mobile .elementor-icon-box-title {
	width:35px;
}

.box-menu-item-mobile .elementor-icon-box-description {
	letter-spacing: -.8px;
}
@media (max-width: 1150px) {

	
	/* Couleurs inversées du bouton recherche */
	.page-mon-espace #top i:not(.fa-chevron-down),
	.page-actus-et-agenda #top i:not(.fa-chevron-down),
	.page-annuaire #top i:not(.fa-chevron-down),
	.page-documentation #top i:not(.fa-chevron-down),
	.page-mentions-legales #top i:not(.fa-chevron-down),
	.um-page-login #top i:not(.fa-chevron-down),
	.um-page-register #top i:not(.fa-chevron-down),
	.um-page-password-reset #top i:not(.fa-chevron-down),
	.um-page-user #top i:not(.fa-chevron-down),
	.error404 #top i:not(.fa-chevron-down),
	.tax-categories_ressources_adherents #top i:not(.fa-chevron-down) {
		color: white;
	}

	.page-mon-espace #top.header-bg  i:not(.fa-chevron-down),
	.page-actus-et-agenda #top.header-bg  i:not(.fa-chevron-down),
	.page-annuaire #top.header-bg  i:not(.fa-chevron-down),
	.page-documentation #top.header-bg  i:not(.fa-chevron-down),
	.page-mentions-legales #top.header-bg  i:not(.fa-chevron-down),
	.um-page-login #top.header-bg  i:not(.fa-chevron-down),
	.um-page-register #top.header-bg  i:not(.fa-chevron-down),
	.um-page-password-reset #top.header-bg  i:not(.fa-chevron-down),
	.um-page-user #top.header-bg  i:not(.fa-chevron-down),
	.error404 #top.header-bg  i:not(.fa-chevron-down),
	.tax-categories_ressources_adherents #top.header-bg i:not(.fa-chevron-down) {
		color: black;
	}
}	
	

@media (max-width: 768px) {
	/* Recaptcha masqué */
	.grecaptcha-badge {
		display: none!important;
	}
	
	.grey-background {
		background: #F2F2F2;
		background-image:none!important;
	}

	.overlay-off .elementor-background-overlay {
		display:none;
	}

	.recherche-ressource ::placeholder, .recherche-annuaire ::placeholder {
		font-size: 12px;
	}

	.recherche-annuaire-outside > div {
		justify-content: flex-start;
	}

	#top li.btn-menu-adherent {
		border: none;
	}

	.blue-block-qsn {
		height: 45px;
	}

	/* Affichage des news */

	.list-events {
		width: 100%;
		margin: 0 auto;
	}

	.list-events .event {
		grid-template-columns: repeat(10, 1fr);
		grid-template-rows: minmax(50px, auto);
	}

	.list-events .thumbnail {
		grid-column: 2 / 11;
		grid-row: 1 / 4;
		height: 215px;
	}

	.event .thumbnail .none {
		height: 215px;
	}

	.event .content h4 {
		font-size: 19px;
		line-height: 21px;
	}

	.event .event-date {
		font-size: 12px;
	}

	.home-news .events-right {
		margin-top: 0;
	}

	.home-news .home-list-events-title h3 {
		font-size: 20px;
	}

	.home-news .home-list-events-title {
		grid-template-columns: repeat(10, 1fr);
	}

	.home-news .home-list-events-title h3 {
		grid-column: 2 / 11;
		margin-bottom: 20px;
	}

	.list-events .event-detail {
		position: relative;
		grid-column: 1 / 10;
		grid-row: 3 / 7;
	}

	.list-events .event:nth-child(even) {
		margin-top: 0;
	}

	.event {
		margin: 0;
	}

	.pinned-events .event .thumbnail img {
		height: 215px;

	}

	.pinned-events .event {
		margin-bottom: 40px;
	}

	.grid-2 .eael-tabs-nav>ul,
	.grid-3 .eael-tabs-nav>ul,
	.grid-4 .eael-tabs-nav>ul {
		display: flex;
		flex-direction: column;
		width: 100%;
	}

	.eael-advance-tabs .eael-tabs-nav>ul>li {
		width: 100%;
		display: none;
		text-align: left;
	}

	.eael-advance-tabs .eael-tabs-nav>ul>li.visible {
		display: block;
	}


	.eael-advance-tabs .eael-tabs-nav>ul>li.active {
		display: block;
		position: relative;
	}

	.eael-advance-tabs .eael-tabs-nav>ul>li.active::before {
		content: url(img/chevron-down.svg);
		position: absolute;
		width: 30px;
		height: auto;
		top: 35%;
		right: 20px;
		display: inline-block;
		transition: .5s;
	}

	.eael-advance-tabs .eael-tabs-nav>ul>li.active.rotate::before {
		content: url(img/chevron-down.svg);
		position: absolute;
		width: 30px;
		height: auto;
		top: 35%;
		right: 20px;
		display: inline-block;
		transform: rotate(180deg);
		transition: .5s;
	}

	.grid-2 .eael-tabs-nav>ul > li > span,
	.grid-3 .eael-tabs-nav>ul > li > span,
	.grid-4 .eael-tabs-nav>ul > li > span {
		text-align: left;
	}

	/* Scroll horizontal */
	.elementor-section.overflow-x-auto .elementor-container {
		flex-wrap: nowrap;
		overflow-x: auto;
	}

	.elementor-section.overflow-x-auto .elementor-container .elementor-column {
		min-width: 300px;
	}

	.elementor-section.overflow-x-auto .elementor-container {
		padding-bottom: 20px;
	}

	.elementor-section.overflow-x-auto .elementor-container::-webkit-scrollbar {
		width: 5px;
		height: 8px;
		background-color: #F2F2F2;
		border-radius: 10px;
	}

	.elementor-section.overflow-x-auto .elementor-container::-webkit-scrollbar-thumb {
		background: #252B60;
		border-radius: 10px;
	}

	.grid-tabs-content {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		grid-gap: 15px;
	}

	span.bouton-technique {
		font-size: 10px;
	}
	

	/* Ressources */

	.docs h2.accordion-header div {
		font-size: 25px;
		line-height: 30px;
	}

	.docs .document-count {
		font-size: 14px;
		letter-spacing: normal;
	}

	.accordion-button {
		padding: 0;
	}

	#ressources-accordion .row {
		flex-wrap: nowrap;
		overflow-x: auto;
	}

	.document-indiv {
		border-bottom: 8px solid #252B60;
	}

	.document-indiv .telecharger-ressource {
		max-height: 55px;
		visibility: visible;
		transform: translateY(0px);
		padding: 16px;
	}

	/* Annuaire */

	.adherent {
		margin: 10px auto;
	}

	/* Recherche */

	#header-recherche {
		margin: 80px auto 0 auto;
	}

	#header-recherche h1 {
		font-size: 20px;
	}


	#header-recherche p:not(#breadcrumbs) {
		font-weight: 400;
		font-size: 14px;
	}

	.resultat-recherche .recherche-post-type {
		font-size: 14px;
	}

	.resultat-recherche .recherche-content h3 {
		font-size: 18px;
	}

	.resultat-recherche .arrow-search {
		background: #252B60;
		padding: 16px;
		display: flex;
		justify-content: center;
		align-items: center;
		position: absolute;
		right: 0;
		top: -45px;
		height: 45px;
		width: 45px;
	}

	.resultat-recherche {
		margin: 30px 0 70px;
	}

	.list-results {
		margin: 0 10px;

	}

	.content-slide-hom-1 {
		justify-content: space-around;
		padding: 15px;
	}

	.content-slide-hom-1 img {
		margin: 5px;
	}

	.content-slide-hom-2 div, .content-slide-hom-3>div {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

	.content-slide-hom-3 {
		justify-content: space-between;
	}

	.content-slide-hom-3 p {
		font-size: 12px;
	}

	.content-slide-hom-2 div img, .content-slide-hom-3 div img {
		margin-bottom: 15px;
		margin-right: 15px;
	}

	/* Annuaire */

	.recherche-annuaire {
		margin-bottom: 15px;
	}

	.recherche-annuaire-outside div>* {
		margin: 10px auto;
	}

	.recherche-annuaire-outside select {
		width: 50%;
	}

	.recherche-annuaire-inside #formulaire-annuaire {
		flex-wrap: wrap;
	}

	.recherche-annuaire-inside #adherent_keyword, .recherche-annuaire-inside #adherent_type {
		width: 100%;
		margin : 5px;
	}

	.posts-per-page {
		justify-content: center;
	}

	.recherche-annuaire-inside button[type=submit] {
		display: none;
	}

	.annuaire .count-results {
		margin: 0 auto;
		text-align: center;
	}

/* FAQ	 */
	#faq-accordion .accordion-item h3 button {
		font-size: 17px;
	}


}

@media (max-width:1215px) {
	#menu-and-search .elementor-widget-wrap {
		flex-direction: row-reverse;
	
	}

	.overlay-off-tab .elementor-background-overlay {
		display:none;
	}
	
	.title-with-slash .elementor-icon-box-wrapper {
		display: flex;
		align-items: center;
	}
	
	.title-with-slash .elementor-icon-box-icon {
		padding-right: 15px;
		margin-bottom: 0!important;
	}
	
		#date-annuaire {
	display:none; /* permet d'afficher sur le pdf la date à laquelle le pdf a été généré */
}
	
	/* Couleurs inversées du bouton recherche */
	.page-mon-espace #top i:not(.fa-chevron-down),
	.page-actus-et-agenda #top i:not(.fa-chevron-down),
	.page-annuaire #top i:not(.fa-chevron-down),
	.page-documentation #top i:not(.fa-chevron-down),
	.page-mentions-legales #top i:not(.fa-chevron-down),
	.um-page-login #top i:not(.fa-chevron-down),
	.um-page-password-reset #top i:not(.fa-chevron-down),
	.error404 #top i:not(.fa-chevron-down),
	.tax-categories_ressources_adherents #top i:not(.fa-chevron-down) {
		color: white;
	}

	.page-mon-espace #top.header-bg  i:not(.fa-chevron-down),
	.page-actus-et-agenda #top.header-bg  i:not(.fa-chevron-down),
	.page-annuaire #top.header-bg  i:not(.fa-chevron-down),
	.page-documentation #top.header-bg  i:not(.fa-chevron-down),
	.page-mentions-legales #top.header-bg  i:not(.fa-chevron-down),
	.um-page-login #top.header-bg  i:not(.fa-chevron-down),
	.um-page-password-reset #top.header-bg  i:not(.fa-chevron-down),
	.error404 #top.header-bg  i:not(.fa-chevron-down),
	.tax-categories_ressources_adherents #top.header-bg i:not(.fa-chevron-down) {
		color: black;
	}

}