/**************************************************************************** HOMEPAGE BLOCK*/

.hp_block_main_container {
	margin-left: -15px;
	margin-right: -15px;
	position: relative;
	overflow: visible;
	margin-bottom: 90px;
	font-size: 0.8em;
}

.sub_element_content_image_wrapper,
.sub_element_content_cat_title,
.sub_element_content_title {
	display: block;
}

.sub_element_content_lnk {
	margin-top: 5px;
	font-size: 1.5em;
	color: gray;
	font-style: italic;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.sub_element_content_lnk_txt {
	margin-right: 5px;
}

/**************************************** SLIDER */

.hp_block_backgrounds_slider {
	position: relative;
	width: 100vw;
	height: 70vh;
	overflow: hidden;
}

.hp_block_background {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	transition: all 1.2s ease;
}

.hp_block_background:not(.current_slide) {
	opacity: 0;
	transform: scale(1.1);
}

.hp_block_background_img {
	min-width: 100%;
	min-height: 100%;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}


/********************************************************** sub-menu block */

.hp_block_main_buttons {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	padding: 0 15px;
}

@media (min-width: 768px) {
	.hp_block_main_buttons {
		padding: 0 calc((100vw - 750px) / 2);				/* On reproduit la largeur de colonne bootstrap. On fait en sorte qu'il y ait suffisament de padding de chaque coté pour qu'il reste 750px au centre */
	}
}

@media (min-width: 992px) {
	.hp_block_main_buttons {
		padding: 0 calc((100vw - 970px) / 2);				/* On reproduit la largeur de colonne bootstrap. On fait en sorte qu'il y ait suffisament de padding de chaque coté pour qu'il reste 970px au centre */
	}
}

@media (min-width: 1200px) {
	.hp_block_main_buttons {
		padding: 0 calc((100vw - 1170px) / 2);				/* On reproduit la largeur de colonne bootstrap. On fait en sorte qu'il y ait suffisament de padding de chaque coté pour qu'il reste 1170px au centre */
	}
}

.hp_block_category_button {
	position: relative;
	z-index: 2;
}

.hp_block_category_button:not(.activated_category) + .hp_category_sub_elements {
	opacity: 0;
	pointer-events: none;
}

.hp_block_category_button:not(.activated_category) + .hp_category_sub_elements > * {
	display: none;
}

.hp_block_category_wrapper {
	width: 32%;
	margin: 0 .5%;
}

.hp_block_category_button {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 30px 0;
	font-size: 2.2em;
	font-weight: bold;
	text-transform: uppercase;
	transform: translateY(50%);
	border-radius: 5px;
	border: none;
	background: #003772;
}

.hp_block_category_button:focus {
	background: #003772;
	outline: 1px dotted gray;
	outline-offset: -5px;
}

.hp_block_category_button:not(.activated_category) {
	font-weight: normal;
	color: #003772;
	background: white;
	box-shadow: 0 0 10px rgba(0, 0, 0, .4);
}

.hp_block_category_button::before {
	content: "";
	display: block;
	position: absolute;
	clip-path: polygon(50% 0, 0 100%, 100% 100%);
	-webkit-clip-path: polygon(50% 0, 0 100%, 100% 100%);
	left: 50%;
	transform: translateX(-50%);
	width: 10%;
	background: transparent;
	top: 0;
	height: 0;
}

.hp_block_category_button.activated_category::before {
	top: -8px;
	height: 12px;
	background: #003772;
	z-index: 0;
	transition: all .5s linear;
}

.hp_category_sub_element_button {
	padding: 8px 50px;
	font-size: 1.4em;
	z-index: 2;
	position: relative;
	width: calc(var(--length_btn) * 1ch + 100px);
}

.hp_category_sub_element_button.activated_sub_element {
	background: #003772;
	color: white;
	font-weight: 600;
	border-radius: 0;
	border: 1px solid #003772;
	pointer-events: none;
}

.hp_category_sub_element_button.hp_category_sub_element_button_noshow {
	display: none;
	opacity: 0;
}

.hp_category_sub_element_button:not(.activated_sub_element) {
	background: white;
	color: #003772;
	border-top: 1px solid #d2d2d2;
	border-bottom: 1px solid #d2d2d2;
	border-left: 1px solid #d2d2d2;
	border-right: 1px solid transparent;
}

.hp_category_sub_element_wrapper:last-child .hp_category_sub_element_button:not(.activated_sub_element){
	border-right: 1px solid #d2d2d2;
}

.hp_category_sub_elements {
	transition: all .5s linear;
	opacity: 1;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	padding-bottom: 100px;
	background: rgba(237, 237, 237, .95);
}

.hp_category_sub_element_content_wrapper {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	justify-content: center;
	display: flex;
	align-items: center;
}

.sub_element_content {
    display: flex;
    width: 60%;
}

.sub_element_content_image_wrapper {
	width: 40%;
}

.sub_element_content_image_wrapper img {
	max-width: 80%;
	display: block;
	margin: auto;
}

.sub_element_content_text {
	width: 60%;
	padding: 0 15px;
	color: #003772;
}

.sub_element_content_cat_title {
	font-size: 1.4em;
	text-transform: uppercase;
	font-weight: 600;
}

.sub_element_content_title {
	font-size: 2.6em;
}

.sub_element_content_desc {
	font-size: 1.6em;
	line-height: 1.1;
	font-weight: 200;
}

.hp_block_category_button:not(.activated_category) + .hp_category_sub_elements > .hp_category_sub_element_content_wrapper,
.hp_category_sub_element_button:not(.activated_sub_element) + .hp_category_sub_element_content_wrapper{
	display:none;
}


/******************************************************************** FLOATING BAR */

#floating_bar {
	position: fixed;
	top: 20vh;
	left: 0;
	background: #FFF;
	z-index: 100;
	box-shadow: 0 0px 25px rgba(0, 0, 0, .2);
	border-radius: 0 20px 20px 0;
	display:flex;
	flex-direction: column;
}

#floating_bar > .floating_bar_item:first-child:not(:hover) > .floating_bar_show_subitems {
	border-radius: 0 10px 0 0;
}

#floating_bar > .floating_bar_item:last-child:not(:hover) > .floating_bar_show_subitems:not(:focus):not(.focused_element) {
	border-radius: 0 0 10px 0;
}

#floating_bar .floating_bar_item {
	margin-bottom: 10px;
	width: 100%;
	position: relative;
}

#floating_bar .floating_bar_item:first-child {
	margin-top: 15px;
}

#floating_bar .floating_bar_show_subitems {
	padding: 5px 7px;
	height: 65px;
	width: 100%;
	background: white;
	border: transparent;
	display: flex;
	justify-content: center;
	margin: 0 auto;
	transition: all .2s linear;
	z-index: 2;
	position: relative;
}

#floating_bar .floating_bar_item:hover .floating_bar_show_subitems > img {
	filter: brightness(0) invert(1);
}

#floating_bar .floating_bar_item:hover .floating_bar_show_subitems {
	background: #003772;
	outline: 0;
	border-radius: 0;
}

#floating_bar .floating_bar_show_subitems > img {
	width: auto;
	height: 100%;
	max-width: 35px;
}

#floating_bar .floating_bar_show_subitems.focused_element + .floating_bar_content,
#floating_bar .floating_bar_show_subitems + .floating_bar_content:hover,
#floating_bar .floating_bar_show_subitems:hover + .floating_bar_content {
	transform: translateX(0);
}

#floating_bar .floating_bar_listing_item .floating_bar_show_subitems.focused_element + .floating_bar_content,
#floating_bar .floating_bar_listing_item .floating_bar_show_subitems + .floating_bar_content:hover,
#floating_bar .floating_bar_listing_item .floating_bar_show_subitems:hover + .floating_bar_content {
	background: #0a2549;
}

@media (max-width: 1024px) {
	#floating_bar .floating_bar_listing_item.floating_bar_item:focus-within .floating_bar_content,
	#floating_bar .floating_bar_listing_item .floating_bar_show_subitems:focus + .floating_bar_content {
		background: #0a2549;
	}

	#floating_bar .floating_bar_show_subitems.focused_element > img,
	#floating_bar .floating_bar_item:hover .floating_bar_show_subitems > img,
	#floating_bar .floating_bar_item:focus-within .floating_bar_show_subitems > img {
		filter: brightness(0) invert(1);
	}

	#floating_bar .floating_bar_item .floating_bar_show_subitems:focus > img {
		filter: brightness(0) invert(1) drop-shadow(0 0 3px rgba(255, 255, 255, .5));
	}
	
	#floating_bar .floating_bar_item:focus-within .floating_bar_content,
	#floating_bar .floating_bar_show_subitems:focus + .floating_bar_content {
		transform: translateX(0);
	}
	#floating_bar .floating_bar_item:focus-within .floating_bar_show_subitems,
	#floating_bar .floating_bar_show_subitems:focus {
		background: #003772;
		outline: 0;
		border-radius: 0 !important;
	}
}

#floating_bar .floating_bar_content {
	background: white;
	min-width: 200px;
	box-shadow: 0 0 10px rgba(0, 0, 0, .2);
	display: flex;
	flex-direction:row;
	align-items: center;
	padding: 10px;
	z-index: 1;
	position: relative;
	background: #0a2549;
}

#floating_bar .floating_bar_content_item .floating_bar_content {
	padding: 0px 0px 5px 5px;
}


#floating_bar .floating_bar_content *,
#floating_bar .floating_bar_content *:hover,
#floating_bar .floating_bar_content *:focus {
	color: white;
	text-align: center;
}

#floating_bar .floating_bar_content .floating_bar_content_text a {
	text-decoration: none;
	background-image: linear-gradient(transparent calc(100% - 1px), white 1px);
	-webkit-background-size: 0% 100%;
	background-size: 0% 100%;
	transition: background-size .5s ease;
	background-repeat: no-repeat;
}

#floating_bar .floating_bar_content .floating_bar_content_text a:hover {
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
}

#floating_bar .floating_bar_content .floating_bar_content_text {
	line-height: 1;
}


#floating_bar .floating_bar_content *{
	transition: all .5s ease-in;
}

#floating_bar .floating_bar_content {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: -1;
	left: 100%;
	transform: translateX(-200%);
	transform: translateX(calc(-150% - 50px));
	transition: all .2s ease-in;
}

#floating_bar .floating_bar_content_list {
	display: flex;
	flex-direction: row;
	height: 100%;
	width: max-content;
}

#floating_bar .floating_bar_content_subitem {
	display: inline-block;
	flex: 0 0 auto;
	min-width: 65px;
	text-align: center;
	padding: 5px;
	margin: 0 6.5px;
	position: relative;
	display: flex;
	align-items: center;
}

#floating_bar .floating_bar_content_subitem img {
	height: 100%;
	display: inline-block;
}

#floating_bar .floating_bar_content_subitem:focus img {
	filter: drop-shadow(0 0 3px rgba(255, 255, 255, .5));
}

#floating_bar .floating_bar_content_subitem:not(:last-child)::after {
	position: absolute;
	right: -7px;
	top: 10px;
	bottom: 10px;
	width: 1px;
	background: #003772;
	content: "";
}

@media (max-width: 1200px)
{
	.widget-area.header_rechercher {
		display:none !important;
	}
}
body .main-header-menu a {
    padding: 0 0.8em;
}

#floating_bar .floating_bar_item:first-child {
	margin-top: 0;
}

#floating_bar .floating_bar_item {
	margin-bottom: 0;
}

#floating_bar {
	border-radius: 0 10px 10px 0;
}

#floating_bar .floating_bar_show_subitems {
	padding-right: 12px;
}

#floating_bar > div:first-child > button {
	padding-top: 8px;
	padding-bottom: 8px;
}

.sub_element_content_image_wrapper img {
	max-width: 110%;
	width: 80%;
	margin-bottom: 20px;
}


/********************************************************* CAT LIST */

.tei_category_list {
	padding: 0;
}

.tei_category_list_item_img {
	min-width: 100%;
	height: auto;
}

.tei_category_list_item .tei_category_list_item_title {
	margin-bottom: 5px;
	line-height: 1;
}

.tei_category_list_item_desc {
	margin-bottom: 10px;
}

.tei_category_list_item_solutions {
	color: #003772;
}

.tei_category_list_item_solutions_title {
	text-transform: uppercase;
	font-weight: bold;
}

.tei_category_list_item_solutions_list {
	margin-bottom: 10px;
}

.tei_category_list_item {
	padding-top: 25px;
	padding-left: 25px;
	padding-bottom: 15px;
	margin-bottom: 30px;
	position: relative;
	display: flex;
	flex-wrap: wrap;
}

.tei_category_list_item > * {
	position: relative;
	z-index: 2;
}

.tei_category_list_item:hover {
	transition: .2s ease all;
}

.tei_category_list_item:hover .tei_double_fleche.tei_fleche_grise.tei_fleche_petite {
	background-color:white;
}

.tei_category_list_item:hover .tei_double_fleche.tei_fleche_grise.tei_fleche_petite::after,
.tei_category_list_item:hover .tei_double_fleche.tei_fleche_grise.tei_fleche_petite::before {
	border-color: #194b80;
}

.tei_category_list_item:hover * {
	color: white;
}

.tei_category_list_item::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	right: 15px;
	left: 15px;
	border: 1px solid #c9c9c9;
	display: block;
	clear: unset;
	pointer-events: none;
	z-index: 1;
	background-color: transparent;
	transition: .2s ease all;
}

.tei_category_list_item:hover::after {
	background-color: #194b80;
}

.tei_category_list_item_link {
	color: gray;
	font-style: italic;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.tei_category_list_item_link_txt {
	margin-right: 5px;
}

/***************************************************************** SOLUTION PRODUCTS */

.tei_sol_products_cats {
	display: flex;
	flex-direction: revert;
	flex-wrap: wrap;
	width: 100%;
	justify-content: center;
}

.tei_sol_products_selector_chk {
	position: absolute;
	opacity: 0;
}
.tei_sol_products_selector_label {
	margin-right: 10px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	padding: 5px 10px;
	transition: all .2s ease;
	cursor: pointer;
}

.tei_sol_products_selector_chk:checked + .tei_sol_products_selector_label {
	background-color: rgba(0,0,0,.1);
}

.tei_sol_products_row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.tei_sol_products_row.tei_sol_products_row_hidden {
	display: none;
}

.tei_sol_products_row:not(.tei_sol_products_row_hidden) ~ .tei_sol_products_row {
	display: none;
}

.tei_sol_products_item {
	color: #003772;
	margin-top: 30px;
	overflow: hidden;
}

/* .tei_sol_products_item_inside:hover::after {
	position: absolute;
	content: '';
	right: 0;
	top: 0;
	bottom: 0;
	left: 0;
} */

.tei_sol_products_item_inside {
	position: relative;
	padding: 10px 20px 55px;
	border: 1px solid #c9c9c9;
	-webkit-border-radius: .4em;
	-moz-border-radius: .4em;
	border-radius: .4em;
	background-color: #fff;
	height: 100%;
}

.tei_sol_products_more {
	margin-top: 15px;
}

.tei_sol_products_image {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.tei_sol_products_subtitle {
	font-weight: bold;
	font-size: 1.1em;
}

.tei_sol_products_desc {
	margin-top: 10px;
}

.tei_sol_products_see_more {
	position: absolute;
	bottom: 10px;
	right: 20px;
	left: 20px;
	display: flex;
	flex-direction: row;
	margin-top: 15px;
	color: gray;
}

@media screen and (max-width: 920px) {
	#floating_bar {
		display: none;
	}
	.widget-area.header_rechercher {
			display: flex !important;
	}
}
















