/*
Theme Name: Divi-child
Description: Divi Enfant, theme enfant de Divi 
Author: 24-7
Template: Divi
*/

/*
Rajoutez les règles CSS personnalisées 
*/

/*Nav*/
@media screen and (max-width:800px) {
#menu-item-1832 a {
border-bottom:none!important
}
	

}
@media screen and (max-width:1200px) {
	#top-menu li a {
		    font-size: 12px!important;
	}
	
	#logo {
		    max-height: 35%!important;
	}
}


li.agence-menu ul.sub-menu li a {
 text-align:left!important;


}

#formulaire-contact .et_pb_contact .et_pb_contact_field_half {

    width: 49%!important;
    margin-bottom: 10px;
    margin-right: 1%;
}

input[type=checkbox] { -webkit-appearance: checkbox!important;
appearance:checkbox!important;
display: inline-block!important; }

/*#agence-sticky  {
position: fixed;
    right: -2px;
    top: 350px;
    z-index: 10000000;
	    background-color: #fff;}*/
	
	#video-agence  {
margin-top:-15px}

/*@media screen and (max-width: 640px) {
 #section-agence-sticky  {
display:none!important}
}*/

.supsystic-tables-wrap .supsystic-table {
   
    text-align: center!important;
	
}

.supsystic-tables-wrap .supsystic-table .odd td{
   
    
	border:1px solid #0088c7!important;
}

.supsystic-tables-wrap .supsystic-table .odd td:nth-child(2n){
   
    
	    background-color: #f9f9f9!important;
}

.et-animated-content {
padding-top: 184px!important;
}

@media screen and (max-width: 981px) {
 body .et-animated-content  {
padding-top: 94px!important;}
}
/* infos */ 

@media screen and (min-width: 981px) {
 #footer-widgets {
display:none }
}
.infos-c a {
	color:red!important;
}
#footer-widgets {

position: fixed;
    right: 50%;
    bottom: 0%;
    z-index: 999999; }


body #footer-widgets .footer-widget {

    margin-bottom: -5%!important;
}
@media screen and (max-width: 981px) {
#footer-widgets {

padding:0px!important;
    right: 30%;
     }


#footer-widgets .footer-widget:last-child,  .footer-widget{

    margin-bottom: -5%!important;
	padding:0px!important;
}
}

/* Masquage vignette recaptcha /* 
.grecaptcha-badge { visibility: hidden; }

/*Formulaire*/

input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
	padding:7px
}

select {
	    margin-top: 15px;
}


/*tableaux*/
.table {
	
	text-align: center;
	    display: block;
    width: 100%;
    overflow-x: auto;
}

.table th, .table td {
    text-align: center;
 
	width: 15%;
}


.table tbody tr td:nth-child(2n) {
	background:#F9F9F9
}

.horaires_matin, .horaires_apresmidi {
	width:100%;
	display:block;
	text-align: center;
}


#et-secondary-menu .et-cart-info {
	
	display:none;

}


body #main-header {
    top: 70px !important;
}
#produits #block-5{
        width: 100%;
        margin-right: 0;
        margin-bottom: 0;
    }

#produits .woocommerce-product-gallery__trigger {
    background: #3570B1;  }


#produits .woocommerce-product-gallery__trigger::before {
    border: 2px solid #fff;

}
#produits .woocommerce-product-gallery__trigger::after {

background: #fff;
}

#produits .et_pb_widget_area_left {
    border-right: 0px solid rgba(0, 0, 0, .1);
   
}

#produits #block-8 {
        margin-bottom: 10px;
   
}

#produits .wp-block-search__input {
   
    border: 2px solid #3570B1;
    color: #3570B1;
	    border-radius: 0px;
}
#produits .wp-block-search__input::placeholder {
   
   
    color: #3570B1;
	    
}

#produits .wp-block-search__button {
    background-color: transparent;
    border: 0px;
    border-radius: 0px;
 color: transparent; }




#produits .wp-block-search__button::before {
  content: "\55"; 
	    font-family: ETmodules !important;
  color: #3570B1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wpb_wmca_accordion_wrapper_theme_transparent ul li a:hover, .wpb_wmca_accordion_wrapper_theme_transparent>ul>li.current_page_ancestor>a, .wpb_wmca_accordion_wrapper_theme_transparent>ul>li.current_page_parent>a, .wpb_wmca_accordion_wrapper_theme_transparent>ul>li.current_page_item>a, .wpb_wmca_accordion_wrapper_theme_transparent>ul>li.current-menu-parent>a, .wpb_wmca_accordion_wrapper_theme_transparent>ul>li.current-menu-ancestor>a, .wpb_wmca_accordion_wrapper_theme_transparent>ul>li.current-menu-item>a, .wpb_wmca_accordion_wrapper_theme_transparent>ul>li.current-cat>a, .wpb_wmca_accordion_wrapper_theme_transparent>ul>li.wpb-wmca-current-cat-parent>a, .wpb_wmca_accordion_wrapper_theme_transparent>ul>li.wpb-submenu-indicator-minus>a, ul.children>li.current-cat a{
    background-color: #E8E8E8;
	border-radius:0px;
}
.wpb_wmca_accordion_wrapper_theme_transparent>ul>li li:hover>a, .wpb_wmca_accordion_wrapper_theme_transparent>ul>li li.current-cat>a, .wpb_wmca_accordion_wrapper_theme_transparent>ul>li li.current-menu-item>a, .wpb_wmca_accordion_wrapper_theme_transparent li.current_page_item>a {
    border-color: transparent;
	border:0px solid;
	animation: 0;
}
.wpb_wmca_accordion_wrapper_theme_transparent ul li a {
    border-radius: 0px;
    border-left: 0px solid transparent;
}

#produits #block-9 {
        border-right: 1px solid #D9D9D9;
       border-bottom: 1px solid #d9d9d9;
    border-left: 1px solid #d9d9d9;
    margin-bottom: 0px;
}

.wpb_category_n_menu_accordion>ul>li>a {

    padding: 10px 5px;
    font-weight: normal;
	   border-top: 1px solid #D9D9D9;
}

.search     #left-area, .woocommerce-page     #left-area{
        width: 100%;
     
    }

  .search   #main-content .container:before, .woocommerce-page #main-content .container:before  {

        height: 0px;
        width: 0px;
    
    }




#menu-menu-secondaire-2025  li.menu-item-2975 a, #menu-menu-secondaire-2025 li.menu-item-2976 a, #menu-menu-secondaire-2025  li.menu-item-2977 a {

    color: transparent!important;
}

#menu-menu-secondaire-2025  li.menu-item-2975 a {
    
	background: url('https://www.celestin-materiaux.fr/wp-content/uploads/2018/10/recrute2.png') no-repeat center center;
	    width: 115px;
}

#menu-menu-secondaire-2025  li.menu-item-2976 a {
   
	background: url('https://www.celestin-materiaux.fr/wp-content/uploads/2019/03/youtube-1.png') no-repeat center center;
	    width: 115px;
}

#menu-menu-secondaire-2025  li.menu-item-2977 a {
   
	background: url('https://www.celestin-materiaux.fr/wp-content/uploads/2025/04/les-negociants-des-tp-2.png') no-repeat center center;
	color: transparent;
	    width: 115px;
}

#menu-menu-secondaire-2025 .et_pb_menu .et-menu>li {
    padding-left: 5px;
    padding-right: 5px;
}

#menu-menu-secondaire-2025>li {
    margin-top: 0px!important;
}
#menu-item-2978 a, #menu-item-2993 a, #menu-item-2979 a, #menu-item-3593 a{
color:#fff!important;
line-height: 15px!important;
    margin-top: 30px;
	font-weight:bold;
}

#menu-item-3593 a{

    margin-top: 25px!important;
	
}

@font-face {
	font-family: 'ElegantIcons';
	src:url('fonts/ElegantIcons.eot');
	src:url('fonts/ElegantIcons.eot?#iefix') format('embedded-opentype'),
		url('fonts/ElegantIcons.woff') format('woff'),
		url('fonts/ElegantIcons.ttf') format('truetype'),
		url('fonts/ElegantIcons.svg#ElegantIcons') format('svg');
	font-weight: normal;
	font-style: normal;
}

#menu-item-2978 a:before, #menu-item-2993 a:before , #menu-item-2979 a:before, #menu-item-3593 a:before {
font-family: 'ElegantIcons';
	content: attr(data-icon);
	speak: none;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	padding-right:5px;
}

#menu-item-2993 a:before{
 content: "\e08a";
}

#menu-item-2979 a:before{
 content: "\e07a";
}

#menu-item-3593 a:before{
 content: "\e009";
	    font-weight: bold;
    font-size: 1.1em;
}

#menu-item-2978 a:before {
 content: "";
    display: inline-block;
      width: 25px;
    height: 18px;
    margin-left: 8px;
    background-image: url('https://www.celestin-materiaux.fr/wp-content/uploads/2025/07/produits.png');
    background-size: contain;
    background-repeat: no-repeat;

    vertical-align: middle;
}
#menu-item-2978, #menu-item-2993, #menu-item-2979, #menu-item-3593 {
background-color:#E60128;
}

@media only screen and (min-width: 1223px) {  

#menu-item-3593:before {
 content: "";
    display: inline-block;
    width: 180px;
    height: 48px;
    background-image: url('https://www.celestin-materiaux.fr/wp-content/uploads/2025/07/Espace-lyon.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 15px;
    margin-top: 10px;
    vertical-align: middle;
}
	
	}

#menu-item-3593 {
border-bottom-left-radius: 10px;
	    margin-left: 10px;
		padding-left:9px
}
#menu-item-2979 {
border-bottom-right-radius: 10px;
	 margin-right: 10px;
	padding-right:9px
}


 #menu-item-3005 {
  background-color: #3570B1;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding-left: 9px;
  width: 115px;

}
 #menu-item-3005 a {
 
  color: #fff !important;
  text-align:center;
line-height: 1.2em;
  font-weight: bold;
  padding-top: 11px;
}
	.wc-blocks-components-select .wc-blocks-components-select__container {
   
    height: auto!important;
  
}
.wc-blocks-components-select .wc-blocks-components-select__label {
	position:relative!important;}

.woocommerce-checkout select {
    margin-top: 2px;
}
.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select {
   
    padding: 0.5em;
}

.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__expand
 {
   
    top: 70%;
   
}

.et_pb_contact_field_half {
    width: 50%;
    float: left;
}

@media only screen and (max-width: 770px) {  

.et_pb_contact_field_half {
    width: 100%;
    float: left;
}
	
	}

.et_pb_contact_field_last {
    clear: both;
    width: 100%;
}


.woocommerce-checkout .wc-block-components-totals-item.wc-block-components-totals-footer-item .wc-block-components-totals-item__label:after {
    content:'*';
	font-size:12px
}

.woocommerce-checkout .wc-block-components-totals-wrapper .wc-block-components-totals-item.wc-block-components-totals-footer-item .wc-block-components-totals-item__description:after {
    content:"* hors application de l'indice de r\00E9vision en cours";
	font-size:12px
}

/* Style des ronds de stock */
.stock-vert,
.stock-orange {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
}

.stock-vert { background: green; }
.stock-orange { background: orange; }

.woocommerce-order-received .woocommerce-table.woocommerce-table--custom-fields.shop_table.custom-fields .thwcfe-section-title {
   display:none
}
.woocommerce-order-received .woocommerce-table.woocommerce-table--custom-fields.shop_table.custom-fields:before {
   content:'D\00E9tails de la commande : ';
	font-weight:bold;
	padding:10px;
	display: block;
}


.woocommerce-order-received .woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr:first-child th:after {
    clear:both;    display: block;
    font-weight: normal;
	content:"Indice de r\00E9vision appliqu\00E9  sur la facture : 1,04";
	font-size:12px
}

.wpb_category_n_menu_accordion ul li>a>span.wpb-submenu-indicator {
 
    width: 30px!important;}

.wpb_category_n_menu_accordion>ul>li>a {
    font-size: 13px!important;
  
}

/* Cacher le bouton panier Divi pour les utilisateurs non connectés */
body:not(.logged-in) .et_pb_menu__cart-button,
body:not(.logged-in) .et_pb_menu__icon.et_pb_menu__cart-button {
    display: none !important;
}

.et_pb_menu__cart-button.et_pb_menu__icon__with_count {

    margin-top: 0px !important;
	border-bottom-right-radius: 10px!important;
    margin-right: 10px!important;
    padding-right: 9px!important;
	    background-color: #E60128!important;
	    padding-left: 11px!important;
	font-size: 14px!important;
	color:#fff!important;
	    font-weight: bold;
    padding-top: 10px!important;
  
}