/**
 * home.css est inclus dans les fichiers :
 * - layout.php
 */

/* Body de la page d'accueil */

body {
	display: flex;
	flex-direction: column;
	height: 100vh;
	overflow: hidden;
}

#principal_content {
	height: 100%;
}

#home {
	padding-bottom: 2vh;
	position: relative;
}

h2 {
	font-size: 1.8vw;
	text-align: center;
}

h2 span {
	color: #0072ba;
	font-size: 1.8vw;
}

.theme {
	background: white;
	border-color: rgba(0, 0, 0, 0.5);
	border-radius: 25px;
	border-style: solid;
	border-width: 1px;
	box-shadow: 0px 2px 4px grey;
	height: 10vh;
	margin: 0 5px 0 5px;
	margin-bottom: 5px;
	transition: 0.3s;
}

.theme:active {
	background-color: #b3d9e8;
	box-shadow: 0px 0px 0px transparent;
	transform: translateY(2px);
	transition: all 0.3s;
}

.theme:hover {
	background-color: #b3d9e8;
	box-shadow: 0px 0px 0px transparent;
	transform: translateY(2px);
	transition: all 0.3s;
}

.theme img {
	width: 32%;
}

.theme .mine_icone {
	width: 58%;
}

.theme p {
	font-size: 0.8vw;
	font-weight: bold;
	margin: 0;
}

.bloc_chiffres_importants {
	height: 18%;
	position: relative;
	width: 80%;
}

.cercles {
	position: absolute;
	text-align: center;
	width: 18%;
}

.chiffres_importants_text1 {
	font-size: 2.9vw;
	margin: 0;
	text-align: center;
}

.chiffres_importants_text2 {
	font-size: 1vw;
	text-align: center;
}

/* Moteur de recherche */

.search-bar_home {
	display: flex;
	width: 100%;
}

.search-bar_home input {
	border-radius: 25px;
	height: 40px;
	width: 270px;
}

.search-bar_home input[type=search] {
	border-color: #0072ba;
	border-style: solid;
	border-width: 3px;
	padding-left: 35px;
}

.search-btn_home {
	background-image: url("../../images/btn_search_1.png");
	background-repeat: no-repeat;
	background-size: 100%;
	border-color: #0072ba;
	border-radius: 50%;
	border-style: solid;
	border-width: 3px;
	height: 2.8em;
	position: absolute;
	transform: translateX(230px);
	transition: 0.2s;
	width: 2.8em;
}

.search-btn_home:hover {
	background-image: url("../../images/btn_search_3.png");
	transition: 0.2s;
}

.contenant_loupe_icone_home {
	height: 40px;
	position: absolute;
	width: 40px;
	z-index: 5;
}

.loupe_icone_home {
	background-image: url("../../images/icon_search.png");
	background-repeat: no-repeat;
	background-size: 100%;
	height: 20px;
	width: 20px;
}

#home_bloc_droite {
	height: 100%;
	padding: 20px 0 20px 0;

}

@media (min-width: 1600px) {

	/* Moteur de recherche */

	.search-bar_home input {
		border-radius: 25px;
		height: 48px;
		width: 420px;
	}

	.search-bar_home input[type=search] {
		font-size: 18px;
		padding-left: 55px;
	}

	.search-btn_home {
		height: 3em;
		transform: translateX(372px);
		width: 3em;
	}

	.contenant_loupe_icone_home {
		height: 48px;
		width: 48px;
	}

	.loupe_icone_home {
		height: 28px;
		width: 28px;
	}
}

@media (min-width: 1350px) and (max-width: 1600px) {

	/* Moteur de recherche */

	.search-bar_home input {
		border-radius: 25px;
		height: 45px;
		width: 370px;
	}

	.search-bar_home input[type=search] {
		font-size: 18px;
		padding-left: 45px;
	}

	.search-btn_home {
		height: 2.8em;
		transform: translateX(325px);
		width: 2.8em;
	}

	.contenant_loupe_icone_home {
		height: 45px;
		width: 45px;
	}

	.loupe_icone_home {
		height: 25px;
		width: 25px;
	}
}

@media (min-width: 1000px) and (max-width: 1350px) {

	/* Moteur de recherche */

	.search-bar_home input {
		border-radius: 25px;
		height: 40px;
		width: 320px;
	}

	.search-bar_home input[type=search] {
		font-size: 18px;
		padding-left: 40px;
	}

	.search-btn_home {
		height: 2.5em;
		transform: translateX(280px);
		width: 2.5em;
	}

	.contenant_loupe_icone_home {
		height: 40px;
		width: 40px;
	}

	.loupe_icone_home {
		height: 20px;
		width: 20px;
	}
}

@media (max-width: 1000px) {

	/* Moteur de recherche */

	.search-bar_home input {
		border-radius: 25px;
		height: 35px;
		width: 260px;
	}

	.search-bar_home input[type=search] {
		font-size: 18px;
		padding-left: 35px;
	}

	.search-btn_home {
		height: 2.25em;
		transform: translateX(225px);
		width: 2.25em;
	}

	.contenant_loupe_icone_home {
		height: 35px;
		width: 35px;
	}

	.loupe_icone_home {
		height: 18px;
		width: 18px;
	}

	.btn-link {
		background: none;
		border: none;
		color: #0000ee;
		cursor: pointer;
		font-family: inherit;
		font-size: inherit;
		outline: none;
		padding: 0;
		text-decoration: underline;
	}
}