﻿/* Reset des marges pour la navbar-left (logo) et navbar-right (contact) */
.uk-navbar-left {
	margin: 0 !important;
}

.uk-navbar-right {
	margin: 0 0 0 auto !important;
}

.uk-container {
	padding: 0px !important;
	margin: 0px !important;
	max-width: 100% !important;
}

.uk-article {
	margin: 0% 5%;
}

.uk-section-default {
	background-image: none !important;
}

/* Général */
/* On cache par défaut les éléments dont la class est dist */
.dist {
	display: none;
}

/* Accueil */

.search_form {
	width: 80%;
}

.input_accueil:focus {
	background-color: white !important;
	border-color: none !important;
}

#searchword {
	border-radius: 10px;
	border: 1px solid #5d829f;
	background-color: white;
	margin-bottom: 10px;
	margin-top: 5px;
}

.ui-autocomplete {
	position: absolute;
	z-index: 1000;
	cursor: default;
	padding: 0;
	margin-top: 2px;
	list-style: none;
	background-color: #ffffff;
	font-size: 14px;
}

.ui-autocomplete>li {
	padding: 3px 15px;
	cursor: pointer;
	font-size: 14px;
}

.ui-autocomplete>li:hover {
	background-color: #DDD;
}

.ui-helper-hidden-accessible {
	display: none;
}

#Informatique h3,
#Ressources_Humaines h3,
#Securite h3,
.categ_tag_list h6,
.categ_tag_list,
.retour_parent_accueil {
	-webkit-transition: all 500ms ease-in;
	-webkit-transform: scale(1);
	-ms-transition: all 500ms ease-in;
	-ms-transform: scale(1);
	-moz-transition: all 500ms ease-in;
	-moz-transform: scale(1);
	transition: all 500ms ease-in;
	transform: scale(1);
}

#Informatique:hover h3,
#Ressources_Humaines:hover h3,
#Securite:hover h3,
.categ_tag_list:hover h6,
.retour_parent_accueil:hover {
	-webkit-transition: all 500ms ease-in;
	-webkit-transform: scale(1.2);
	-ms-transition: all 500ms ease-in;
	-ms-transform: scale(1.2);
	-moz-transition: all 500ms ease-in;
	-moz-transform: scale(1.2);
	transition: all 500ms ease-in;
	transform: scale(1.2);
}

.categ_tag_list:hover {
	box-shadow: 0px 0px 10px 0px #000;
}

.retour_parent_accueil {
	color: #5d829f;
	cursor: pointer;
	text-align: center;
}

/*  */

/* Recherche hors page d'accueil */

.search_accueil_bandeau {
	background-image: url('https://adhara.fr/images/bandeau.png');
	background-repeat: no-repeat;
	background-position: center center;
	height: 100px;
}

.formulaire_bandeau {
	position: absolute;
	width: 100%;
}

.search_form_bandeau {
	width: 100%
}

#searchword_bandeau {
	height: 40px;
	border-radius: 5px;
	width: 50%;
	margin-left: 25%;
	background-color: white;
	margin-top: 1%;
	border: 1px solid #5d829f;
}

/*  */

/* Bouton de retour en haut de page */
#back_to_top {
	position: fixed;
	bottom: 40px;
	right: 40px;
	z-index: 9999;
	display: none;
	width: 40px;
	height: 40px;
}

/* Affichage des tags */

/* Classe Joomla! pour l'affichage de tous les tags (html/com_tags/tags/default_items.php) */
.tag-category {
	margin: 0 5% 5% 5% !important;
}

.listing {
	float: left;
	margin-left: 30px;
	margin-right: 30px;
	width: 100%;
}

.big_tag {
	float: left;
	width: 100%;
	margin-bottom: 20px;
}

.title_tag_principal {
	font-weight: bold;
}

.categ_tag_list {
	margin-top: 0px;
	margin-right: 25px;
	margin-bottom: 25px;
	margin-left: 25px;
	padding: 15px 15px 0px 15px;
	border: 1px solid #B1B1B1;
	background-color: white;
	width: 30%;
	float: left;
	text-align: center;
}

.title_tag {
	font-weight: bold;
}

/*  */

/* Affichage des formation sous la forme de cards */
.uk-card-badge {
	top: 100px;
}

.map {
	position: relative;
}

/* Map tooltip (affiche la ville au survol de la souris) */
.mapTooltip {
	position: absolute;
	background-color: #474c4b;
	opacity: 0.70;
	filter: alpha(opacity=70);
	border-radius: 10px;
	padding: 10px;
	z-index: 1000;
	max-width: 200px;
	display: none;
	color: #fff;
	font-weight: bold;
}

@media screen and (max-width:640px) {
	.categ_tag_2 {
		width: 80%;
		height: auto;
		margin: 10px;
	}

	.categ_tag_list {
		width: 80%;
	}

	/* ? */
	.affichage_total {
		width: 100% !important;
		margin-left: -3% !important;
	}

	.listing {
		float: left;
		margin-left: -30px;
		width: 100%;
	}

	#test_image {
		margin-bottom: 50px;
	}

	.search_accueil {
		height: 250px !important;
		;
	}

	.champ {
		width: 100% !important;
		;
	}

	textarea {
		width: 85% !important;
		;
	}

	.loupe {
		display: none;
	}
}

@media screen and (min-width: 640px) and (max-width: 960px) {
	.categ_tag_list {
		width: 30%;
	}
}

@media screen and (min-width: 960px) and (max-width: 1200px) {
	.categ_tag_list {
		width: 35%;
	}
}

@media screen and (max-width: 1200px) {
	#module-103 {
		display: none;
	}
}

/* Style pour la partie programme dans les programmes de formation */
.programme-details summary {
	list-style: none;
	cursor: pointer;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 10px;
}

.programme-details summary::after {
	content: '▼';
	display: inline-block;
	transition: transform 0.2s ease-in-out;
	margin: 0 0 20px 0;
}

.programme-details[open] summary::after {
	transform: rotate(180deg);
}

/* Animation de déroulement */
.programme-details > :not(summary) {
	max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.programme-details[open] > :not(summary) {
    max-height: 2000px;
    opacity: 1;
}