/*
Theme Name: Mes Bienfaits
Template: neve
*/

/* Styles retouches */

h2 {border-left: 6px solid #74A416; padding-left: 12px; margin-top:20px;}
	h2.normal {border: none; padding: 0;}
	h2.pagecat {border: none; padding: 0; margin: 0; font-size: 1em;}
h4 {margin-top:12px;}
a {color:74A416;}
.nv-comment-content a, .nv-content-wrap a:not(.button):not(.wp-block-file__button) {text-decoration:none; font-weight:500; color:74A416;}
.nv-comment-content a:hover, .nv-content-wrap a:not(.button):not(.wp-block-file__button):hover {text-decoration:underline;}
.btn, .button, .wp-block-button a, button, input[type=button], input[type=submit] {font-size:0.9em;}
table, td {border :solid 1px #e9ebec;}
table {font-size:16px;}
td {vertical-align:top;}
th {background:#DCE8C5;}
p {margin:15px 0 15px 0;}
.alignleft {margin:8px 15px 6px 0;}
.wp-caption-text {text-align:none; font-size:.5em; font-weight:100; line-height:normal;}

/* Menu mobile */

@media (max-width: 960px) {
	.builder-item--primary-menu .nav-menu-primary > .primary-menu-ul li:not(.woocommerce-mini-cart-item) > a {color:#4f4f4f !important;}
	.builder-item--primary-menu .nav-menu-primary:not(.style-full-height) > .primary-menu-ul li:not(.woocommerce-mini-cart-item):hover > a {color:#74A416;}
}

/* Gutenberg */

.wp-block-columns {margin-bottom: 0;}
.wp-block-column {margin-bottom: 20px;}

figcaption {line-height:1em;} /* Legende images blocs */

/* Accueil plugin UAG */

.uagb-post-grid:not(.uagb-block-f80c92af) {
	border: solid 15px #fff;
    margin-top: -75px;
    background-color: #fff;
}

.uagb-post__title {text-align:center;}

.uagb-post__title {
	border: none;
	padding: none;
	text-transform: none;
}

/* Centrer h1 articles */

h1, .single h1.entry-title {
	text-align: center;
}

/* H1 des categories | mettre des lignes avant et apres */

.nv-page-title-wrap.nv-big-title .nv-page-title {
	border-bottom: none;
}

.nv-page-title-wrap.nv-big-title .nv-page-title h1 {
	text-align: center;
	color: #74a416;
	display: flex;
	flex-direction: row;
	text-transform: uppercase;
	font-size: 1.7em;
}

.nv-page-title-wrap.nv-big-title .nv-page-title h1::before, .nv-page-title-wrap.nv-big-title .nv-page-title h1::after {
	content: "";
	flex: 1 1;
	border-bottom: 1px solid #74a416;
	margin: auto;
}

.nv-page-title-wrap.nv-big-title .nv-page-title h1::before {
	margin-right: 12px;
}

.nv-page-title-wrap.nv-big-title .nv-page-title h1::after {
	margin-left: 12px;
}

/* Description categories */
.nv-page-title-wrap.nv-big-title .nv-page-title h1+p {
    margin: 30px 0 0 0;
}
	
/* Styles supplementaires */

.encadre {
	background: #DCE8C5;
	padding: 20px;
	margin-bottom: 15px;
}

.encadregris {
	background: #F8F8F8;
	padding: 20px;
	margin-bottom: 15px;
}

.encadrejaune {
	background: #FBF2B7;
	padding: 20px;
	margin-bottom: 15px;
}

/* Pour les newsletters */
.encadrenews {
	background: #F8F8F8;
	padding: 20px;
}
.centreimg { display: block; margin:0 auto; }

/* Pour les auteurs */
.encadreligne {
	border-style: solid;
	border-color: #E9EBEC;
	border-width: 1px;
	padding: 20px;
	margin-bottom: 15px;
}
.imageronde {
	overflow: hidden;
	border-radius: 50%;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
}

.bouton {
    color: #74A416;
    background-color: #fff;
    border: 1px solid #4F4F4F;
    border-radius: 0px;
    padding: 10px 10px;
    display: inline-block;
    text-decoration: none;
	margin: 15px 0px;
	opacity: 0.8;
}

/* Code accordeon */

.accordeon {
  background-color: #F8F8F8;
  color: #4F4F4F;
  cursor: pointer;
  padding: 15px 20px;
  margin: 3px 0;
  width: 100%;
  border: none ;
  text-align: left;
  outline: none;
  transition: 0.4s;
}

.accordeon.active, .accordeon:hover {
  background-color: #E9EBEC;
}

.accordeon:after {
  content: '\002B';
  color: #74A416;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.accordeon.active:after {
  content: "\2212";
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

/* Blockquotes */

blockquote {
  font-size: 16px;
  color: #4F4F4F;
  border-left: 6px solid #E9EBEC;
  margin: 20px 0 20px 20px;
  padding: 0 0 0 12px;
}
blockquote p {
  font-size: 16px;
}
blockquote:after, blockquote:before {display:none;}

/* Retirer la description des categories dans le menu */

.neve-mm-description {display:none;}

/* Partage social */

.mb-social {
    margin: 20px 0 0 0;
    -webkit-font-smoothing: antialiased;
	text-align:center;
}

.mb-social-link {
    padding: 8px 25px 8px 25px;
    color: #fff;
    font-size: 16px;
    border-radius: 2px;
    margin-right: 2px;
    cursor: pointer;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;	
    margin-top: 2px;
    display: inline-block;
}
 
.mb-social-link:hover,.mb-social-link:active {
	color: #fff;
	text-decoration: none;
}

.mb-social-facebook {background: #3B5997;}
.mb-social-messenger {background: #448AFF;}
.mb-social-twitter {background: #00aced;}
.mb-social-whatsapp {background: #25d366;}
.mb-social-linkedin {background: #0074A1;}
.mb-social-pinterest {background: #bd081c;}
.mb-social-email {background: #4F4F4F;}
.mb-social-twitter:hover, .mb-social-facebook:hover, .mb-social-pinterest:hover, .mb-social-linkedin:hover, .mb-social-whatsapp:hover, .mb-social-messenger:hover, .mb-social-email:hover {opacity: 0.8;}

/* Logo Facebook */

.facebook-css {display: inline-block;}

.facebook-css:after {
	color: #fff;
	content: 'f';
	font-family: Helvetica;
	font-size: 25px;
	font-weight: 500;
}

/* Logo Instagram */

.instagram-css {
  display:inline-block;
  width: 17px;
  height: 17px;
  border-radius: 25%;
  box-shadow: 0px 0px 0px 2px rgba(255,255,255,1);
}

.instagram-css:before {
  content: '';
  position: absolute;
  background-color: #fff;
  margin-top: 2.2px;
  margin-left: 13px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
}

.instagram-css:after {
  position: absolute;
  content: '';
  margin-top: 5px;
  margin-left: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0px 0px 0px 2px rgba(255,255,255,1);
}

/* Logo YouTube */

.youtube-css {
  display:inline-block;
  width: 24px;
  height: 17px;
  border-radius: 17.5%;
  background-color: #fff;
}
.youtube-css:after {
  content: '';
  position: absolute;
  margin-left: 9.5px;
  margin-top: 4.5px;
  border-left: 7px solid #74a416;
  border-top: 4.2px solid transparent;
  border-bottom: 4.2px solid transparent;
}

/* Bloc images */

.blocdiv {
	width: 100%;
	margin-bottom: 300px;
	overflow: hidden;
	text-align:center;
}

.colonne1-3 {
	position: absolute;
    left: 0;
    width: 33%;
	background-color: #fafafa;
	padding: 15px 0 3px 0;
}
	
.colonne2-3 {
    position: absolute;
    left: 33%;
    width: 33%;
	background-color: #fafafa;
	padding: 15px 0 3px 0;
}	
	
.colonne3-3 {
    position: absolute;
    left: 66%;
    width: 33%;
	background-color: #fafafa;
	padding: 15px 0 3px 0;
}

.colonne1-2 {
	position: absolute;
    left: 0;
    width: 50%;
	background-color: #fafafa;
	padding: 15px 0 3px 0;
}
	
.colonne2-2 {
    position: absolute;
    left: 50%;
    width: 50%;
	background-color: #fafafa;
	padding: 15px 0 3px 0;
}

/* Coherence cardiaque */

.circle {
	float: right;
	margin: 50px;
	width: 100px;
    height: 100px;
    border-radius: 50%;
	background-color: #74a416;
    animation: breathe 10s ease-in-out infinite;
  }

  @keyframes breathe {
    0%   { transform: scale(1); background-color: #74a416; box-shadow: 0 0 20px rgba(0,0,0,0.1); }
    50%  { transform: scale(1.55); background-color: #9bb84f; box-shadow: 0 0 40px rgba(0,0,0,0.25); }
    100% { transform: scale(1); background-color: #74a416; box-shadow: 0 0 20px rgba(0,0,0,0.1); }
  }

/* Media screen */

@media screen and (max-width: 992px) {
	.facebook-css:after {color: #74a416;}
	.instagram-css {box-shadow: 0px 0px 0px 2px #74a416;}
	.instagram-css:before {background-color: #74a416;}
	.instagram-css:after {box-shadow: 0px 0px 0px 2px #74a416;}
	.youtube-css {background-color: #74a416;}
	.youtube-css:after {border-left: 7px solid #fff; border-top: 4.2px solid transparent; border-bottom: 4.2px solid transparent;}
	.colonne1-3, .colonne2-3, .colonne3-3, .colonne1-2, .colonne2-2 {position: relative; width: 100%; left: 0; margin: 10px 0; padding: 10px 0 1px 0;}
	.blocdiv {margin-bottom: 15px;}
}

@media screen and (min-width: 992px) {
	.mb-social-whatsapp {display: none;}
	.mb-social-messenger {display: none;}
}