/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Stratège Médias
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.1.1
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

#et-top-navigation .et_pb_button {
    margin-top: 0px;
    font-size: inherit;
    font-weight: inherit;
}

#top-header, #et-secondary-nav li ul {
    background-color: #c21b1b;
}

#top-header, #top-header a, #et-secondary-nav li li a, #top-header .et-social-icon a:before {
    font-size: 13px;
    font-weight: bold;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
}

#et-info {
    float: none;
}

.logo_container a {
    position: absolute;
}

.btn-return {
    display: inline-block;
    margin-top: 20px;
    border: 2px solid #fff;
    border-radius: 4px;
    padding: 2px 10px;
    color: #fff;
    font-size: 16px;
}

/* Ajouter les id des pages d'accueils en/fr pour cibler le lien "retour vers le haut" et le faire apparaitre en haut du badge recaptcha */
.page-id-4509 #wpfront-scroll-top-container,
.page-id-4506 #wpfront-scroll-top-container,
.page-id-245 #wpfront-scroll-top-container,
.page-id-1117 #wpfront-scroll-top-container {
    right: 5px !important;
    bottom: 75px !important;
}

.logo_container a img#logo {
    display: block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(/wp-content/uploads/2025/04/premext-logo.png) no-repeat;
    width: 410px;
    height: 120px;
    padding-left: 410px;
	margin-top: 7px;
    position: relative;
    background-size: cover;
}

#footer-bottom .container {
    text-align: center;
}

#footer-info {
    float: none;
    display: inline-block;
}

/* Bouton du Primary Menu Bar */
span.et_pb_more_button.et_pb_button {
    border-color: #c21b1b;
    color: #fff !important;
	background-color: #c21b1b !important;
}

span.et_pb_more_button.et_pb_button:hover {
    color: #fff !important;
}

/* Couleur des titres dans le Footer */
h4.title {
	color: #c21b1b !important;
}

#top-header .container {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
}

#et-secondary-menu>ul>li a {
    margin-left: 15px;
}

.et_secondary_nav_two_panels #et-secondary-menu {
    margin-right: 7px;
}

/* Contact Form - le message d'erreur */
.et-pb-contact-message p {
    color: #000 !important;
    font-size: 24px;
	font-weight: 600;
	line-height: 2em;
	background-color: rgba(255,255,255, 0.5);
    margin-bottom: 0px;
	padding: 0px 0px 0px 20px;
}
.et-pb-contact-message ul {
	color: #cc0000 !important;
    font-size: 20px;
	font-weight: 600;
	line-height: 1.75em;
	background-color: rgba(255,255,255, 0.5);
    margin-bottom: 25px;
	padding: 0px 20px 0px 40px;
}

/*image gallery item aspect ratio landscape 4:3*/

.pa-image-gallery-4-3 .et_pb_gallery_image {
  padding-top: 75%;
  display: block;
}

.pa-image-gallery-4-3 .et_pb_gallery_item img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}


/* Mobile styles */

/* /// EN Contrôle du dégradé dans la vidéo /// */
/* /// --------------------------------- /// */
@media (max-width: 1710px) {
    .page-id-245 .innovation-can-en .et_pb_video_box .fluid-width-video-wrapper {
    padding-top: 70%!important;
	}
}
@media (max-width: 1515px) {
    .page-id-245 .innovation-can-en .et_pb_video_box .fluid-width-video-wrapper {
    padding-top: 70%!important;
	}
}
@media (max-width: 1442px) {
    .page-id-245 .innovation-can-en .et_pb_video_box .fluid-width-video-wrapper {
    padding-top: 80%!important;
	}
}
@media (max-width: 1320px) {
    .page-id-245 .innovation-can-en .et_pb_video_box .fluid-width-video-wrapper {
    padding-top: 90%!important;
	}
}
@media (max-width: 1286px) {
    .page-id-245 .innovation-can-en .et_pb_video_box .fluid-width-video-wrapper {
    padding-top: 95%!important;
	}
}
@media (max-width: 1254px) {
    .page-id-245 .innovation-can-en .et_pb_video_box .fluid-width-video-wrapper {
    padding-top: 100%!important;
	}
}
@media (max-width: 1236px) {
    .page-id-245 .innovation-can-en .et_pb_video_box .fluid-width-video-wrapper {
    padding-top: 105%!important;
	}
}
@media (max-width: 1186px) {
    .page-id-245 .innovation-can-en .et_pb_video_box .fluid-width-video-wrapper {
    padding-top: 110%!important;
	}
}@media (max-width: 1162px) {
    .page-id-245 .innovation-can-en .et_pb_video_box .fluid-width-video-wrapper {
    padding-top: 115%!important;
	}
}
@media (max-width: 1144px) {
    .page-id-245 .innovation-can-en .et_pb_video_box .fluid-width-video-wrapper {
    padding-top: 115%!important;
	}
}
@media (max-width: 1120px) {
    .page-id-245 .innovation-can-en .et_pb_video_box .fluid-width-video-wrapper {
    padding-top: 120%!important;
	}
}
@media (max-width: 1072px) {
    .page-id-245 .innovation-can-en .et_pb_video_box .fluid-width-video-wrapper {
    padding-top: 130%!important;
	}
}
@media (max-width: 1026px) {
    .page-id-245 .innovation-can-en .et_pb_video_box .fluid-width-video-wrapper {
    padding-top: 135%!important;
	}
}
@media (max-width: 1004px) {
    .page-id-245 .innovation-can-en .et_pb_video_box .fluid-width-video-wrapper {
    padding-top: 140%!important;
	}
}
@media (max-width: 988px) {
    .page-id-245 .innovation-can-en .et_pb_video_box .fluid-width-video-wrapper {
    padding-top: 150%!important;
	}
}
@media (max-width: 980px) {
    .page-id-245 .innovation-can-en .et_pb_video_box .fluid-width-video-wrapper {
    padding-top: 56%!important;
	}
}


@media (max-width: 1300px) {
    
    .logo_container a img#logo {
        width: 341px;
        height: 100px;
        padding-left: 341px;
		margin-top: 2px;
    }

    .et_header_style_left #et-top-navigation .mobile_menu_bar {
        position: relative;
        top: -12px;
    }
    
    .et_header_style_left #et-top-navigation nav>ul>li>a {
        font-size: 0.9em;
        padding-bottom: 40px !important;
    }
    
    .et_header_style_left #et-top-navigation {
        padding-top: 43px !important;
    }
	
	/* Mobile - Menu Hamburger - */
	.mobile_menu_bar::before {
		color: #c21b1b !important;
	}
	
	/* Mobile - Ligne du menu déroulant- */
	.et_mobile_menu {
		border-color: #c21b1b !important;
	}
}

@media (max-width: 980px) {
	
	/* Contact Form - le message d'erreur */
	.et-pb-contact-message p {
		font-size: 20px;
		font-weight: 600;
		line-height: 1.5;
	}
	.et-pb-contact-message ul {
		font-size: 18px;
		font-weight: 600;
		line-height: 1.25em;
	}
    
    .logo_container a {
        top: 10px;
    }
    
    .et_secondary_nav_two_panels #et-secondary-menu {
        margin-top: 0;
    }
    
    html #et-secondary-menu, html #et-secondary-nav {
        display: block!important;
        padding-top: .4em;
    }
    
    .mobile_nav .lang-item {
        display: none;
    }

    .page-id-565 .logo_container a img#logo {
        width: 220px;
        height: 64px;
        padding-left: 220px;
		margin-top: 2px;
    }
    	 
    .logo_container a img#logo {
        width: 220px;
        height: 64px;
        padding-left: 220px;
		margin-top: 2px;
    }
	
}

@media (max-width: 450px) {

	/* Contact Form - le message d'erreur */
	.et-pb-contact-message p {
		font-size: 18px;
		font-weight: 600;
		line-height: 1.25;
	}
	.et-pb-contact-message ul {
		font-size: 16px;
		font-weight: 600;
		line-height: 1.25em;
	}
    
    #et-info {
        text-align: left;
    }
    
    #top-header .container {
        display: flex;
        align-items: center;
        
        justify-content: space-between;
    }
    
    #et-info-phone {
        margin-bottom: 5px;
        display: block;
    }
    
    #top-header .container.clearfix:after {
        clear: none;
        display: none;
    }
}


