/*
Theme Name: Le Journal de l'Expansion
Theme URI: https://www.journal-expansion.fr
Description: Thème enfant d'Ocean WP.
Author: Corinne Escudier
Author URI: https://corinne-escudier-designerweb.fr/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */
/*Réglages généraux*/
a:focus, a:hover{
    outline:0 !important;
}
strong{
    color:#122538;
}
/*En tête fixe au scroll*/
.home #site-header, .home #site-navigation-wrap .dropdown-menu >.current-menu-item >a{
    background-color:transparent !important;

}
.home #site-header{
    position: fixed !important;
    top:0;
    z-index:200;
}
.fixNavigation {
    position: fixed !important;
    top:0px;
    animation: fadeIn 0.5s ease-in-out;
}
/*Menu mobile*/
#site-header, #mobile-dropdown ul li{
    border:none !important;
}

#mobile-dropdown, body .sidr a, body .sidr-class-dropdown-toggle, #mobile-dropdown ul li a, #mobile-dropdown ul li a .dropdown-toggle, #mobile-fullscreen ul li a, #mobile-fullscreen .oceanwp-social-menu.simple-social ul li a{
    background-color:#122538;
    border: none !important;
}
/* Couleurs header pour sections 3 et 4 */
#site-header.formulaire a,
#site-header.medias a{
    color:#122538 !important; 
}
.home #site-header.formulaire .mobile-menu .hamburger-inner.,
.home #site-header.formulaire .mobile-menu .hamburger-inner::before,
.home #site-header.formulaire .mobile-menu .hamburger-inner::after;
.home #site-header.medias .mobile-menu .hamburger-inner.,
.home #site-header.medias .mobile-menu .hamburger-inner::before,
.home #site-header.medias .mobile-menu .hamburger-inner::after {
    background-color: #122538 !important; 
}
/*Scroll changment de section sur Home page*/
body.home{
    scroll-snap-type: y mandatory;/* Active le snap pour le scroll natif */
    overflow-y: scroll;
    height: 100vh; 
}
.home main div[data-elementor-type='wp-page'] {
   scroll-snap-type: y mandatory; /* Snap automatique au scroll */
}

.section {
    scroll-snap-align: start; /* Alignement au début de chaque section */
}
/*Fixer le footer sur Homepage*/
.home #footer {
  position: sticky;
  bottom: 0; 
}

/*Exemple de newsletter*/
.texte-scrollable {
    max-height: 400px; 
    overflow-y: auto; 
}
/* Formulaire newsletter*/
.wpforms-container{
    max-width: 650px;
}
div.wpforms-container-full .wpforms-form .wpforms-head-container{
    padding: 0 !important;
}
div.wpforms-container-full:not(:empty){
    margin:0 !important;
}
div.wpforms-container-full .wpforms-confirmation-container-full, div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message){
	background-color: transparent !important;
    color:#E6E0D3 !important;
}
.wpforms-container .wpforms-field, .wp-core-ui div.wpforms-container .wpforms-field{
    padding:25px !important;
}
#wpforms-103-field_5-container .wpforms-field-label{
	display:none !important;
}
.wpforms-container .wpforms-field-label, .wp-core-ui div.wpforms-container .wpforms-field-label{
	font-weight:400 !important;
}
.wpforms-container .wpforms-field.wpforms-field-checkbox{
    padding-bottom: 0 !important;
}
.wpforms-submit-container{
    margin-top:0 !important;
}
.wpforms-submit{
	border:none !important;
    height:60px !important;
    border-radius:30px !important;
    display:block !important;
    margin:0 auto !important;
    font-size:16px !important;
    width:200px !important;
    text-transform: none !important;
}
.wpforms-submit:focus, .choices__inner{
    border:none !important;
}
div.wpforms-container-full input, div.wpforms-container-full select, .wp-core-ui div.wpforms-container-full input, .wp-core-ui div.wpforms-container-full select, .choices .choices__inner{
    height:60px !important;
}
div.wpforms-container-full .wpforms-field.wpforms-field-checkbox ul li input+label{
    color:#122538;
    font-size: 11px;
    font-weight:bold;
}
div.wpforms-container-full .wpforms-field.wpforms-field-checkbox ul li  a{
    text-decoration: underline;
 }
/*Blog*/
.oceanwp-widget-recent-posts-li, .widget_categories li, .widget_recent_entries li, .widget_archive li, .widget_recent_comments li, .widget-recent-posts-icons li, .site-footer .widget_nav_menu li, div.wpforms-container-full input[type=checkbox]:before, div.wpforms-container-full input[type=radio]:before{
    border:none !important;
}

.blog-entry.thumbnail-entry .blog-entry-comments{
    display: none !important;
}
.blog-entry.thumbnail-entry .blog-entry-date{
    float:left !important;
}
.wp-block-search .wp-block-search__label{
    display:none !important;
}
/*Cookies*/
.cky-cookie-audit-table{
    font-family:'Rethink Sans' !important;
}
.cky-cookie-audit-table td{
    color:#7C7C7C !important;
    background-color: #E6E0D3 !important;
    border: 1px solid #122538 !important;
}
.cky-cookie-audit-table th {
    color: #122538 !important;
    background-color: #E6E0D3 !important;
    border: 1px solid #122538 !important;
}
 a.cky-banner-element {
	 padding: 8px 30px;
	 background: transparent;
	 color: #122538;
	 border: 1px solid #122538;
	 box-sizing: border-box;
	 border-radius: 2px;
	 cursor: pointer;
}
@media(max-width:767px){
	#entete, #exemple, #formulaire, #medias{
		min-height:calc(100vh - 90px);
	}
	#site-header.exemple, #site-header.formulaire, #site-header.medias{
		visibility:hidden;
	}
}