/******************/
/****RESPONSIVE****/
/******************/
@media screen and (max-width: 1740px) {
	.widzlarge {
	    width: auto;
	    margin-right: 30px;
	    margin-left: 30px;
	}
}


@media screen and (max-width: 1245px) {
	/*** CLASSICS ***/
	.widzmain {
		width: auto;
		margin-right: 30px;
		margin-left: 30px;
	}
	.page_hentry p:has(.alignleft):has(.alignright) > img.alignleft,
	.page_hentry p:has(.alignleft):has(.alignright) > img.alignright {
	  	width: 49% !important;
		margin: 0 0 32px;
	}
	/*** AUTRES ***/
	#logo {
		margin-right: 3%;
	}
	.footer_bloc_contact {
		width: 24%;
	}
	.widget_footer::before {
		width: 49%;
	}
	.single-product .chapo_single_product {
		column-gap: 5%;
	}
	.chapo_single_prod_slider {
		width: clamp(280px,40vw,500px);
	}
	.bloc_select_products ul li {
		width: 31%;
	}
	.bloc_rea_articles ul li,
	.bloc_services ul li {
		width: 23%;
	}
	.bloc_select_articles ul {
		flex-wrap: nowrap;
		overflow-x: scroll;
		scrollbar-width: thin;
	}
	.bloc_select_articles ul li {
		flex-shrink: 0;
	}
	.bloc_listing_marques ul li {
		width: 23%;
	}
	.bloc_listing_marques ul li .brand_logo {
		width: auto;
	}
	.bloc_listing_produits ul {
		justify-content: center;
	}
	.bloc_agences {
		column-gap: 8%;
	}
	.bloc_agences_pic {
		flex: 1;
		max-width: 604px;
		min-width: 0;
		height: auto;
	}
	.bloc_agences_pic img {
		width: 100%;
		height: auto;
	}
	.single_actu_card {
		width: 24%;
		margin: 35px 0 45px;
	}
	.bloc_chapo_top {
		align-items: flex-start;
  		gap: 40px;
	}
	.bloc_chapo_titles {
  		min-width: 0;
	}
	.bloc_chapo_home_thumb {
		flex-shrink: 0;
  		width: clamp(280px, 19vw + 283px, 520px);
	}
	.bloc_chapo_home_thumb img {
		height: auto;
  		aspect-ratio: 520 / 466;
	}
	.bloc_remontee_cat_products ul li {
		width: 23%;
	}
	.remontee_single_besoin {
		width: 23%;
	}
	.bloc_remontee_cat_products ul li.single_selected_brand {
	    width: 23%;
	    height: auto;
	}
	.bloc_partners_pic_list {
		grid-template-columns: repeat(4, 1fr);
	}
	.partners_single_pic {
		height: unset;
		aspect-ratio: 1/1;
	}
}


@media screen and (max-width: 1200px) {
	/*** AUTRES ***/
	.header_container {
		display: block;
	}
	#logo {
		width: fit-content;
		margin: 0 auto;
	}
	.header_menu {
		flex: unset;
		width: 100%;
	}
	.remontee_single_cat_product {
		display: grid;
		grid-template-columns: 155px 1fr;
		grid-template-rows: auto auto;
		grid-template-areas:
			"pic content"
			"btn btn";
	}
	.remontee_single_cat_pic,
	.remontee_single_cat_nopic {
		  grid-area: pic;
	}
	.remontee_single_cat_content {
		grid-area: content-start;
    	margin: 0 0 15px 28px;
	}
	.remontee_single_cat_btn {
		grid-area: btn;
	}
	.bloc_chapo_home::before {
		height: 59px;
	}
	.bloc_chapo_desc {
		margin-top: -105px;
	}
}


@media screen and (max-width: 1080px) {
	/*** 404 ***/
	#page_404{
	display: flex;
	flex-wrap: wrap;
	padding: 94px 0 94px;
	}
	#page_404_ill_block{
	width: 46%;
	margin: 0 8% 0 0;
	}
	/*** AUTRES ***/
	.header_container {
		display: block;
	}
	#logo {
		width: fit-content;
		margin: 0 auto;
	}
	.header_menu {
		flex: unset;
		width: 100%;
	}
	.bloc_carac_container {
		padding: 36px 25px 36px;
	}
	.bloc_select_products ul {
		row-gap: 32px;
	}
	.bloc_select_products ul li {
    	width: 47%;
  	}
	.contact_form {
		column-gap: 5%;
		padding: 50px 43px 45px 45px;
	}
	.bloc_agences {
		column-gap: unset;
	}
	.bloc_agences_pic {
		order: 2;
		flex: unset;
		width: 75%;
		margin: 0 auto;
	}
	.bloc_agence_maincontent {
		order: 1;
		flex: unset;
		width: 100%;
		margin-top: 25px;
	}
	.bloc_agences_list {
		justify-content: center;
	}
	.single_actu_card {
		width: 32%;
	}
	.bloc_remontee_cat_products ul li {
		width: 32%;
	}
	.bloc_besoins_maintitle {
		width: 366px;
	}
	.remontee_single_besoin {
		width: 45%;
	}
	.bloc_remontee_cat_products ul li.single_selected_brand {
	    width: 23%;
	    height: auto;
	}
}



@media screen and (max-width: 980px) {
	.footer_part_top {
		padding-bottom: 4px;
	}
	.footer_bloc_contact {
		width: 48%;
		margin-bottom: 20px;
	}
	.footer_intro_contact_btn  {
		padding-top: 6px;
	}
	.footer_bottom_widgets {
		order: 1;
		display: block;
		width: 100%;
		padding-top: 0;
	}
	.footer_nav {
		order: 2;
		width: 100%;
		margin-top: 58px;
	}
	.widget_footer {
		position: relative;
		width: 100%;
		padding-top: 20px;
	}
	.widget_footer:before {
	   width: 100%;
	}
	.widget_footer:first-child {
		padding-bottom: 23px;
	}
	.single-product .chapo_single_product {
		margin-bottom: 45px;
	}
	#single_product_img_block {
		margin-bottom: 0;
	}
	.single_product_img_thumb {
		height: 80px;
	}
	.bloc_caracteristics {
		column-gap: unset;
		row-gap: 18px;
	}
	.bloc_carac_container {
		width: 100%;
		flex: unset;
	}
	.bloc_select_prod_intro {
		display: block;
	}
	.bloc_select_col_right {
		margin-bottom: 40px;
	}
	.bloc_rea_articles ul,
	.bloc_services ul {
		justify-content: flex-start;
	}
	.page-template-page_accueil .bloc_select_products ul li {
		width: 47%;
	}
	.bloc_select_products ul li {
		width: 31%;
	}
	.gform-theme--foundation .gfield--width-half {
	    grid-column: span 12;
  	}
	.bloc_listing_produits ul li {
	    width: 190px;
	    height: 190px;
    }
	.bloc_listing_produits ul li::after {
		bottom: 34%;
	}
	.bloc_filtres_categories {
		width: 100%;
		padding: 10px 25px 10px 27px;
	}
	#ajax_remontee_cat_products_wrapper {
  		flex: 1;
	}
	.bloc_filtres_categories ul li {
		font-size: 16px;
		padding: 20px 0 16px;
	}
	.remontee_single_cat_product {
		display: flex;
	}
	.remontee_single_cat_pic, .remontee_single_cat_nopic {
		margin-right: 0;
	}
	.remontee_single_cat_content {
		margin-right: 10px;
	}
	.widget_blog_menu ul {
		padding-bottom: 15px;
		flex-wrap: unset;
		overflow-x: scroll;
		scrollbar-width: thin;
		scrollbar-color: var(--grismed);
	}
	.widget_blog_menu ul li a {
		width: max-content;
	}
	.bloc_chapo_top {
		margin-bottom: 0;
	}
	.bloc_chapo_home:before {
		/*display: none;*/
	}
	.bloc_chapo_home_thumb {
		width: 100%;
		height: 400px;
		max-height: 400px;
	}
	.bloc_chapo_home_thumb img {
		aspect-ratio: unset;
		width: 100%;
		height: 100%;
	}
	.bloc_chapo_desc {
		margin-top: 0;
	}
	.bloc_chapo_content {
		max-width: unset;
	}
	.bloc_chapo_content {
		padding: 40px 104px 42px 30px;
		background-color: var(--orangef);
		border-radius: 5px;
	}
	.bloc_chapo_content::before {
		display: none;
	}
	.bloc_remontee_cat_products ul list-style,
	.bloc_remontee_cat_products ul li.single_selected_brand {
		width: 48%;
	}
}



@media screen and (max-width: 880px) {
	/*** BOUTON MENU PRINCIPAL ***/
	#navtop {
		display: none;
	}
	#navtop.navtop_hover {
		display: block;
	}
	#navtop_bt {
		display: flex !important;
		flex-direction: column !important;
		background-color: var(--grisc) !important;
	}
	/*** HEADER MENU ***/
	#header.header_backgd_color {
		background-color: var(--orangec);
	}
	.header_container {
		padding: 13px 0;
	}
	#logo.logo_display_on {
		display: block;
		margin-left: 0;
	}
	#logo.logo_display_off {
		display: none;
	}
	#navtop::before {
		display: none;
	}
	.header_nav ul {
		flex-wrap: nowrap;
		column-gap: unset;
		align-items: unset;
		flex-direction: column;
		justify-content: flex-start;
		padding: 43px 40px 0 0;
	}
	.header_nav ul li {
	    position: relative;
	}
	.header_nav ul li.menu-item-has-children:after {
		position: absolute;
		content: '';
		mask: url(../img/arrow_responsive_submenu.svg) no-repeat;
		width: 15px;
		height: 15px;
		right: 4px;
		top: 0;
		background-color: var(--grisf);
	}
	.header_nav ul li a {
		width: 100%;
		box-sizing: border-box;
		padding: 0 35px 10px 0;
		margin-bottom: 16px;
	}
	/*** sous-menu CLOSE ***/
	.header_nav ul ul {
		position: relative;
	}
	.header_nav ul li.menu-item-has-children > ul {
	  	display: none;
	}

	.header_nav ul li.menu-item-has-children ul li {
		position: relative;
	}
	.header_nav ul li.menu-item-has-children ul:has(li:nth-child(5)) {
		flex-direction: unset;
		flex-wrap: unset;
	}
	.header_nav ul li.menu-item-has-children ul li {
		width: auto;
		flex: unset;
		border-bottom: unset;
		padding-right: 25px;
		padding-bottom: 0;
	}
	.header_nav ul ul li {
		margin: 0 0 20px;
	}
	/*** sous-menu OPEN ***/
	.header_nav ul li.menu-item-has-children.resp_sub_this_hover > ul {
		display: flex;
		flex-direction: column !important;
		padding: 0 0 0 40px;
		transition: all 0.4s;
	}
	.header_nav ul li.menu-item-has-children.resp_sub_this_hover > ul li {
		padding-right: 0;
	}
	.header_nav ul li.menu-item-has-children.resp_sub_this_hover > ul li a {
		box-sizing: unset;
		padding: 0;
		margin: 0;
	}
	/* FIN sous-menu OPEN */
	#nav_contact {
		margin: 10px 0 62px;
	}
	/*** PAGE 404 ***/
	#page_404_ill_block{
	width: 100%;
	margin: 0;
	text-align: center;
	}
	#page_404_ill_block object{
	margin: auto;
	}
	#page_404_ill_main{
	flex: none;
	width: 100%;
	text-align: center;
	}
	/*** AUTRES ***/
	.chapo_single_prod_slider {
	   	width: 100%;
 	}
	#single_product_img_block {
		max-width: unset;
	}
	#single_product_img_window_wrapp {
		height: 350px;
	}
	#single_product_img_block {
		margin-bottom: 25px;
	}
	.single_product_img_bt_next, .single_product_img_bt_prev {
		top: 175px;
	}
	.single_product_img_thumb {
		max-width: 130px;
		height: 130px;
	}
	.chapo_single_prod_content {
	  	flex: unset;
	  	width: 100%;
	}
	.bloc_reassurance {
		padding: 57px 70px 45px;
	}
	.bloc_rea_articles:after {
		display: block;
	}
	.bloc_rea_articles ul,
	.bloc_services ul {
		flex-wrap: nowrap;
		overflow-x: scroll;
		scrollbar-width: thin;
	}
	.bloc_rea_articles ul li,
	.bloc_services ul li {
		flex-shrink: 0;		/* pour pas que le flexbox les rétrécit automatiquement pour qu'ils rentrent dans le conteneur */
		width: 213px;
	}
	.contact_form_infos {
		width: 100%;
	}
	.gravity_form {
		padding-top: 20px;
	}
	.pagination_wrap {
		margin-bottom: 35px;
	}
	.bloc_listing_marques ul li {
		width: 47%;
	}
	.single_actu_cards_list {
		justify-content: center;
		gap: 0 20px;
	}
	.single_actu_card {
    	width: 47%;
	}
	.bloc_besoins_maintitle {
		width: 100%;
	}
	.bloc_besoins_list {
		justify-content: center;
	}
	.bloc_partners_pic_list {
		grid-template-columns: repeat(3, 1fr);
	}
}


@media screen and (max-width: 680px) {
	/*** MARGINS ***/
	.bloc_partners_pic,
	.bloc_remontee_cat_products,
	.contact_form,
	.bloc_agences,
	.bloc_listing_produits,
	.bloc_services,
	.bloc_intro_classic,
	.product_term_desc,
	.bloc_reassurance,
	.bloc_select_products,
	.bloc_select_articles_container,
	.bloc_caracteristics {
		margin-bottom: 40px;
	}
	/*** BASICS ***/
	.page_hentry h1,
	.classic_title_h1 {
	    font-size: 30px;
	    line-height: 38px;
	}
	.page_hentry h2,
	.classic_title_h2,
	.classic_title_h2_white {
	    font-size: 22px;
	    line-height: 34px;
	}
	.page_hentry h3,
	.classic_title_h3 {
	    font-size: 16px;
	    line-height: 28px;
	}
	.page_hentry h4,
	.classic_title_h4,
	.classic_title_h4_white {
	    font-size: 16px;
	    line-height: 28px;
	}
	.page_hentry p {
		font-size: 14px;
	    line-height: 24px;
	}
	.page_hentry img {
		max-height: 300px;
	}
	.page_hentry p:has(.alignleft):has(.alignright) > img.alignleft,
	.page_hentry p:has(.alignleft):has(.alignright) > img.alignright {
		width: 100% !important;
		max-height: 300px;
	}
	.chapo_basic {
		padding: 32px 0 45px;
	}
	/*** AUTRES ***/
	.footer_part_top,
	.footer_part_central,
	.footer_part_bottom  {
		padding-right: 84px;
		padding-left: 84px;
	}
	.footer_bloc_contact {
		width: 100%;
	}
	.single_product_img_thumb {
		max-width: 80px;
		height: 80px;
	}
	.bloc_select_prod_desc.page_hentry p {
		font-size: 15px;
		line-height: 26px;
	}
	.bloc_select_products ul {
		padding-bottom: 30px;
		margin: 0;
	}
	.page-template-page_accueil .bloc_select_products ul li {
		width: 100%;
	}
	.bloc_select_products ul li {
		width: 100%;
		padding: 0;
		border-left: 0;
	}
	.selected_single_prod_thumb,
	.selected_single_prod_nothumb {
		margin-bottom: 10px;
	}
	.selected_single_prod_cat {
		left: 20px;
	}
	.select_article_title {
		font-size: 16px;
	}
	.bloc_select_articles_intro,
	.single_carac_title,
	.bloc_rea_intro {
		font-size: 15px;
		line-height: 27px;
	}
	.bloc_reassurance {
		padding: 57px 45px 45px;
	}
	.bloc_select_articles ul {
		margin-bottom: 45px;
	}
	.product_term_desc .term-description {
		font-size: 15px;
		line-height: 26px;
	}
	.services_container {
		padding: 40px 0;
	}
	.bloc_listing_marques ul {
		width: 100%;
		gap: 20px 10px;
	}
	.bloc_listing_produits ul li {
		width: 130px;
	    height: 130px;
	}
	.bloc_listing_produits ul li::after {
		bottom: 30%;
	}
	.bloc_listing_produits ul li .single_category_title.classic_title_h4 {
		line-height: 22px;
	}
	.remontee_single_cat_product {
		display: grid;
	}
	.bloc_chapo_home_thumb {
		height: 296px;
	}
	.bloc_chapo_content {
		padding: 40px 44px 20px 30px;
	}
	.bloc_remontee_cat_products ul {
		justify-content: space-between;
	}
	.bloc_remontee_cat_products {
		padding: 57px 30px 72px;
	}
	.bloc_remontee_cat_products ul li,
	.bloc_remontee_cat_products ul li.single_selected_brand{
		width: 47.5%;
	}
	.single_selected_brand_thumb, .single_selected_brand_nothumb {
	    width: 155px;
	    height: 155px;
	}
	.page-template-page_accueil .bloc_remontee_cat_products {
		margin-bottom: 0;
	}
}


@media screen and (max-width: 500px) {
	/*** AUTRES ***/
	#logo {
		width: 206px;
		height: auto;
	}
	#logo img {
		width: 100%;
		height: auto;
		object-fit: contain;
	}
	.footer_part_top,
	.footer_part_central,
	.footer_part_bottom  {
		padding-right: 30px;
		padding-left: 30px;
	}
	.single_prod_h1 {
		font-size: 22px;
	}
	.single_prod_infos {
		font-size: 14px;
	}
	.single_prod_brandname {
		font-size: 16px;
	}
	.single_prod_price .price {
		margin-top: 0;
	}
	.bloc_listing_marques ul li {
		width: 100%;
	}
	.bloc_listing_produits ul {
		width: 100%;
	}
	.remontee_single_cat_product {
		display: flex;
		flex-direction: column;
	}
	.remontee_single_cat_content {
		flex: unset;
		margin-right: 0;
		margin-left: 0
	}
	.single_actu_card {
		width: 100%;
    	padding-bottom: 10px;
		margin: 25px 0 10px;
	}
	.single_actu_pic,
	.single_actu_nopic {
		height: 246px;
	}
	.remontee_single_besoin {
		width: 47%;
		height: 130px;
		min-height: unset;
		padding: 10px;
	}
	.single_besoin_maintitle {
		padding-right: 0;
		padding-bottom: 15px;
	}
	.single_besoin_maintitle:after {
		top: 70%;
		right: 35%;
  		transform: translateX(-50%);
	}
	.remontee_single_besoin:hover .single_besoin_maintitle:after {
	    right: 25%;
	}
	.bloc_remontee_cat_products ul li.single_selected_brand {
		width: 46%;
		padding: 10px;
	}
	.single_selected_brand_thumb, .single_selected_brand_nothumb {
	    width: 100px;
	    height: unset;
	}
	.bloc_remontee_cat_products ul li.single_selected_brand::after {
		right: 10px;
		bottom: 10px;
	}
	.bloc_remontee_cat_products ul li.single_selected_brand:hover::after {
	  	right: 20px;
	}
	.bloc_partners_pic_list {
		grid-template-columns: repeat(2, 1fr);
	}
}



@media screen and (max-width: 400px) {
	.bloc_remontee_cat_products ul li {
		width: 100%;
	}
}
