/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* ----- AJOUTS StudioV3 -----*/

.fb_icon {}
.fusion-main-menu > ul > li.fb_icon > a:hover { border-color: transparent; }
.fusion-main-menu > ul > li.fb_icon > a { color: transparent!important; background-image: url(/wp-content/uploads/2021/04/lblf-facebook.png); background-position: center; background-repeat: no-repeat; background-size: 20px 20px; }
.fusion-is-sticky .fusion-main-menu > ul > li.fb_icon { width: 20px; }
.fusion-main-menu > ul > li:last-child { width: 20px; }

#menu-menu-principal i.glyphicon.fa-facebook.fab, .fusion-main-menu.fusion-sticky-menu i.glyphicon.fa-facebook.fab { color: #4267B2; font-size: 20px; }
.home main#main { padding-bottom: 0; }

/* TRAD bouton LOAD MORE POSTS */
.home button.fusion-load-more-button.fusion-blog-button.fusion-clearfix:after {
    content: "VOIR PLUS";
    color: #212934;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 0;
}
.home button.fusion-load-more-button.fusion-blog-button.fusion-clearfix {
    color: transparent;
    position: relative;
}

/* HOME */
body.home div#homecontent div.fusion-two-third > .fusion-column-wrapper > div:nth-of-type(2) { background-color: #63ab0c; }
body.home div#homecontent div.fusion-two-third > .fusion-column-wrapper > div:nth-of-type(2) div.fusion-recent-posts h4.entry-title a { font-size: 26px; font-weight: bold; color: #fff; text-transform: uppercase; }
body.home div#homecontent div.fusion-two-third > .fusion-column-wrapper > div:nth-of-type(2) div.fusion-recent-posts p { font-size: 16px; line-height: 1.45; padding: 5px 0 15px 0; }
body.home div#homecontent div.fusion-two-third div#posts_une p { border-bottom: 1px dotted #fff; }
body.home div#homecontent div.fusion-two-third div#list_agenda h4.entry-title { margin-bottom: 10px; padding-bottom: 15px; border-bottom: 1px dotted #fff; } 
body.home div#homecontent div.fusion-two-third div#list_agenda h4.entry-title a { font-size: 16px; font-weight: bold; }

body.home div#bloc-right-home.agenda_home_widget .fusion-column-wrapper { background-image: url(/wp-content/uploads/2021/05/agenda-photo_icone.png) !important; background-repeat: no-repeat !important; background-position: center top !important; background-size: contain !important; }

body.home div#homecontent div.fusion-two-third .fusion-column-wrapper div.fusion-one-half+div.fusion-one-half h3 { background-image: url(/wp-content/uploads/2021/03/agenda-photo_icone.png); background-position: center; background-color: transparent; background-size: cover; font-size: 22px; padding-top: 125px; color: #fff; font-weight: bold; padding-bottom: 15px; }
div#list_agenda + .fusion-button-wrapper.fusion-aligncenter { margin-bottom: 15px; }

/* ASSOS SPORT */

@media (min-width: 768px) {
	.sport_page .fusion-tabs.vertical-tabs .nav-tabs { width: 20%; }
	.sport_page .fusion-tabs.vertical-tabs .tab-content { width: 80%; }
}

body.sport_page #main .fusion-tabs.vertical-tabs .nav-tabs a h4 { font-size: 14px; font-weight: bold; padding: 10px 0; display: flex; align-items: center; }
body.sport_page #main .fusion-tabs.vertical-tabs .nav-tabs a h4:before { content: ""; display: inline-block; height: 20px; width: 20px; background-size: contain; background-repeat: no-repeat; margin-right: 5px; } 
body.sport_page #main .fusion-tabs.vertical-tabs .nav-tabs li.active a h4 { color: #96c73d; }

body.sport_page #main .fusion-tabs.vertical-tabs .nav-tabs a#football h4:before { background-image: url('/wp-content/uploads/2021/03/picto_soccerball.png'); }
body.sport_page #main .fusion-tabs.vertical-tabs .nav-tabs a#tennis h4:before { background-image: url('/wp-content/uploads/2021/03/picto_tennis.png'); }
body.sport_page #main .fusion-tabs.vertical-tabs .nav-tabs a#gymnastique h4:before { background-image: url('/wp-content/uploads/2021/03/picto_gym.png'); }
body.sport_page #main .fusion-tabs.vertical-tabs .nav-tabs a#tennisdetable h4:before { background-image: url('/wp-content/uploads/2021/03/picto_pingpong.png'); }
body.sport_page #main .fusion-tabs.vertical-tabs .nav-tabs a#basket h4:before { background-image: url('/wp-content/uploads/2021/03/picto_basketball.png'); }

.decouverte_loisirs figure.wp-block-image { margin: 15px 0 0 0; }
.decouverte_loisirs figure.wp-block-image img { width: 100%; height: auto; }

@media (min-width: 768px) {
	body.autres_assos .fusion-tabs.vertical-tabs .nav-tabs { width: 20%; }
	body.autres_assos .fusion-tabs.vertical-tabs .tab-content { width: 80%; }
}

body.autres_assos #main .fusion-tabs.vertical-tabs .nav-tabs a h4 { font-size: 14px; font-weight: bold; padding: 10px 0; display: flex; align-items: center; }
body.autres_assos #main .fusion-tabs.vertical-tabs .nav-tabs li.active a h4 { color: #96c73d; }

/* ACTUALITES */

body.actualites_page.page-template-default div#main div.post-content h4 { font-size: 18px; }
body.actualites_page.page-template-default div#main div.post-content h4 a:after { content: ""; display: block; height: 3px; width: 33px; background: #96c73d; margin: 10px auto 5px 0; }
body.actualites_page.page-template-default div#main div.post-content h4 + p { font-size: 14px; line-height: 1.45; padding-top: 5px; }
body.actualites_page.page-template-default div#main div.post-content .columns .column p:last-of-type { border-bottom: 1px solid #a8a8a7; padding-bottom: 25px; margin-bottom: 5px; }
body.actualites_page.page-template-default div#sidebar li.cat-item.cat-item-3 {display: none;}

body.archive.category div#main .fusion-flexslider.flexslider.fusion-post-slideshow { float: left; width: 144px; margin: 0 20px 5px 0; }
body.archive.category div#main .fusion-post-wrapper { border: none; } 
body.archive.category div#main .fusion-post-content-wrapper { padding: 0; }
body.archive.category div#main .fusion-post-content-wrapper h2 { font-size: 18px; font-weight: bold; line-height: 1.25; }
body.archive.category div#main .fusion-post-content-wrapper h2 a:after { content: ""; display: block; height: 3px; width: 33px; background: #96c73d; margin: 10px auto 5px 0; }
body.archive.category div#main .fusion-post-content-wrapper p.fusion-single-line-meta { display: none; }
body.archive.category div#main .fusion-post-content-wrapper .fusion-content-sep { display: none; }
body.archive.category div#main .fusion-post-content-wrapper .fusion-post-content-container { margin-top: 10px; }
body.archive.category div#main .fusion-post-content-wrapper .fusion-meta-info { display: none; }
body.archive.category div#main .fusion-post-content-wrapper .fusion-post-content-container p:last-of-type { border-bottom: 1px solid #a8a8a7; padding-bottom: 25px; margin-bottom: 5px; }

.post-content p { font-size: 14px; line-height: 1.5; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HEADER ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~ Header Top ~~~~~~~~~~~~~~~~~~~~ */
div.fusion-header-wrapper {
  border-bottom: 4px solid #7fbb42;
  border-top: 8px solid #e5e5e5;
  padding-top: 2px;
}

/* ~~~~~~~~~~~~~~~~~~~~ Menu ~~~~~~~~~~~~~~~~~~~~ */
ul#menu-menu-principal li, ul#menu-menu-principal-1 li {
  text-transform: uppercase;
}
ul#menu-menu-principal li.current_page_item a {
  color: #3f3c38;
  font-weight: bold;
}
ul#menu-menu-principal li.current_page_item ul li a {
  font-weight: normal;
}

/* ~~~~~~~~~~~~~~~~~~~~ Titre ~~~~~~~~~~~~~~~~~~~~ */
div.fusion-page-title-bar div.fusion-page-title-row div.fusion-page-title-wrapper div.fusion-page-title-captions h1.entry-title {
  background: #46433f;
  color: #ffffff;
  display: inline-block;
  line-height: 45px;
  padding: 0 15px;
  text-transform: uppercase;
  width: auto;
}
div.fusion-page-title-bar div.fusion-page-title-secondary div.fusion-breadcrumbs {
  text-shadow: 1px 1px 2px #000000;
  text-transform: uppercase;
}
div.fusion-page-title-bar div.fusion-page-title-secondary div.fusion-breadcrumbs a:hover {
  color: #96c73d;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CONTENT ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ General ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#main {
  background-position: center top;
}
body.page-template-default div#main div.post-content h2 {
  background-color: #96c73d;
  color: #ffffff;
  padding: 5px 10px;
  text-transform: uppercase;
}
body.page-template-default div#main div.post-content h3 {
  background-color: #585857;
  color: #ffffff;
  padding: 5px 10px;
}
body.page-template-default div#main div.post-content h4 {
  font-weight: bolder;
}
body.page-template-default div#main div.post-content li a h4 {
  font-size: 12px;
  font-weight: normal;
  line-height: 20px;
}
div#main div.post-content table tbody tr td {
  white-space: nowrap;
}
div.post-content .fusion-tabs .tab-content .tab-pane {
  width: 100%;
}
/* ~~~~~~~~~~~~~~~~~~~~ Sidebar ~~~~~~~~~~~~~~~~~~~~ */
div#sidebar div.heading h3 {
  background-color: #7fbb42;
  color: #ffffff;
  font-size: 16px;
  line-height: 32px;
}
div#sidebar div.heading h3::before {
  color: #ffffff;
  content: '\f061';
  font-family: 'FontAwesome';
  margin-left: 10px;
  margin-right: 10px;
}
div#sidebar div.widget_recent_entries div.heading h3::before {
  content: '\f1ea';
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Homepage ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
body.home div#main {
  background: none;
  padding-bottom: 0;
  padding-top: 0;
}
/* ~~~~~~~~~~~~~~~~~~~~ Bande Titre ~~~~~~~~~~~~~~~~~~~~ */
body.home div#discover h1 {
  color: #ffffff;
  font-size: 48px;
  font-variant: small-caps;
  margin: 0;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
/* ~~~~~~~~~~~~~~~~~~~~ Bande Contenu ~~~~~~~~~~~~~~~~~~~~ */
body.home div#homecontent {
  margin-bottom: 25px;
  margin-top: 40px;
}
body.home div#homecontent div.fusion-two-third div.fusion-blog-shortcode {
  background-color: #727272;
  padding: 15px;
}
body.home div#homecontent div.fusion-two-third div.fusion-blog-shortcode h2.entry-title a,
body.home div#homecontent div.fusion-two-third div.fusion-blog-shortcode p,
body.home div#homecontent div.fusion-two-third div.fusion-blog-shortcode p a {
  color: #ffffff;
}
body.home div#homecontent div.fusion-two-third div.fusion-blog-shortcode h2.entry-title a:hover,
body.home div#homecontent div.fusion-two-third div.fusion-blog-shortcode p a:hover {
  color: #96c73d;
}
body.home div#homecontent div.fusion-two-third div.fusion-blog-shortcode {
  margin-bottom: 25px;
}
body.home div#homecontent div.fusion-two-third div.fusion-load-more-button {
  display: none;
}
body.home div#homecontent div.fusion-two-third div.fusion-blog-shortcode div.fusion-post-medium-alternate,
body.home div#homecontent div.fusion-two-third div.fusion-recent-posts {
  margin-bottom: 0;
}
body.home div#homecontent div.fusion-two-third div.fusion-one-half.fusion-column-last div.fusion-recent-posts {
  margin-bottom: 25px;
}
body.home div#homecontent div.fusion-two-third div.fusion-blog-shortcode div.fusion-post-medium-alternate  div.fusion-flexslider,
body.home div#homecontent div.fusion-two-third div.fusion-one-half div.fusion-recent-posts div.fusion-flexslider {
  border: 2px solid #ffffff;
}
body.home div#homecontent div.fusion-two-third div.fusion-one-half div.fusion-recent-posts h4.entry-title a {
  color: #3f3c38;
  font-size: 15px;
  font-weight: normal;
}
body.home div#homecontent div.fusion-two-third div.fusion-one-half div.fusion-recent-posts h4.entry-title a:hover,
body.home div#homecontent div.fusion-two-third div.fusion-one-half div.fusion-recent-posts p {
  color: #ffffff;
}
body.home div#homecontent div.fusion-two-third div.fusion-one-half {
  background-color: #80c046;
  min-height: 380px;
  padding: 15px;
}
body.home div#homecontent div.fusion-two-third div.fusion-one-half+div.fusion-one-half h3 {
  background-color: #e5e5e5;
  color: #3f3c38;
  font-size: 15px;
  font-weight: 500;
  line-height: 30px;
  margin-top: 0;
  text-align: center;
  text-transform: uppercase;
}
body.home div#homecontent div.fusion-two-third div.fusion-one-half+div.fusion-one-half h4.entry-title {
  margin: 5px 0;
  line-height: 20px;
}
body.home div#homecontent div.fusion-two-third div.fusion-one-half+div.fusion-one-half h4.entry-title a {
  color: #ffffff;
  font-size: 13px;
}
body.home div#homecontent div.fusion-two-third div.fusion-one-half+div.fusion-one-half h4.entry-title a:hover {
  color: #333333;
}
body.home div#homecontent div.fusion-two-third div.fusion-one-half+div.fusion-one-half h4.entry-title a::before {
  content: '→ ';
}
body.home div#homecontent div.fusion-one-third, body.home div#homecontent div.fusion-one-third p:last-child,
body.home div#homecontent div.fusion-two-third, body.home div#homecontent div.fusion-two-third p:last-child {
  margin-bottom: 0 !important;
}
body.home div#homecontent div.fusion-one-third h2 {
  background-color: #7fbb42;
  color: #ffffff;
  font-size: 24px;
  line-height: 45px;
  margin-bottom: 5px;
  text-align: center;
}
body.home div#homecontent div.fusion-one-third h2::before {
  color: #ffffff;
  content: '\f1d8';
  font-family: 'FontAwesome';
  margin-right: 10px;
}
body.home div#homecontent div.fusion-one-third h2+h3 {
  margin-top: 0;
}
body.home div#homecontent div.fusion-one-third h3 {
  background-color: #3f3c38;
  color: #ffffff;
  font-size: 15px;
  line-height: 30px;
  text-align: center;
  text-transform: uppercase;
}
body.home div#homecontent div.fusion-one-third p em {
  color: #7fbb42;
  font-style: normal;
  font-weight: bolder;
}
body.home div#homecontent div.fusion-one-third div.fusion-button-wrapper {
  margin-bottom: 20px;
}
body.home div#homecontent div.fusion-one-third div.fusion-button-wrapper span.fusion-button-text-left {
  font-weight: normal;
}
/* ~~~~~~~~~~~~~~~~~~~~ Bande Bourgneuf La Foret ~~~~~~~~~~~~~~~~~~~~ */
body.home div#bourgneuf h1 {
  color: #ffffff;
  font-size: 24px;
  line-height: 30px;
  margin-top: 0;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  text-transform: uppercase;
}
body.home div#bourgneuf p {
  color: #ffffff;
  font-family: 'Open Sans Light', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 30px;
  text-align: center;
}
body.home div#bourgneuf div.fusion-button-wrapper span.fusion-button-text-left {
  font-weight: normal;
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Page Conseil Municipal ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
body.page-id-117 div#content h3 {
  background-color: #3f3c38;
  color: #ffffff;
  font-weight: normal;
  line-height: 30px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
body.page-id-117 div#content div.fusion-one-third, body.page-id-117 div#content div.fusion-two-third {
  margin-bottom: 0 !important;
}
body.page-id-117 div#content div.fusion-one-half h3:nth-of-type(even) {
  background-color: #96c73d;
}
body.page-id-117 div#content div.fusion-one-half.fusion-column-last h3 {
  background-color: #96c73d;
}
body.page-id-117 div#content div.fusion-one-half.fusion-column-last h3:nth-of-type(even) {
  background-color: #585857;
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Page Actualites ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
body.page-id-762 div#content h2.entry-title a:hover {
  color: #ffffff;
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Page Contact ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
body.page-id-22 div#content div.fusion-google-map {
  margin-bottom: 30px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FOOTER ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~ Copyright ~~~~~~~~~~~~~~~~~~~~ */
footer#footer.fusion-footer-copyright-area {
  border-width: 5px;
}
div.fusion-copyright-content {
  text-align: center;
}
div.fusion-copyright-notice a:hover {
  color: #ffffff;
  text-decoration: underline;
}

a#cn-accept-cookie {
    background: #95C73D;
    padding: 10px;
    border-radius: 5px;
	color:black;
}
a#cn-accept-cookie:hover {color:black;}

a#cn-refuse-cookie {
    background: #ff2000;
    padding: 10px;
    border-radius: 5px;
	color:white;
}
a#cn-refuse-cookie:hover {color:white;}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MEDIA QUERIES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
@media only screen and (max-width: 640px) and (min-width: 320px) {
  body.home .fusion-columns .fusion-column {
    margin: 0;
  }
}
@media only screen and (max-width: 1100px) and (min-width: 800px) {
  ul#menu-menu-principal li, ul#menu-menu-principal-1 li {
    text-transform: none;
  }
}
@media only screen and (max-width: 1050px) and (min-width: 800px) {
  ul#menu-menu-principal li, ul#menu-menu-principal-1 li {
    padding-right: 10px;
  }
}
@media only screen and (max-width: 890px) and (min-width: 816px) {
  ul#menu-menu-principal li a, ul#menu-menu-principal-1 li a {
    font-size: 12px;
  }
}
@media only screen and (max-width: 815px) and (min-width: 800px) {
  ul#menu-menu-principal li a, ul#menu-menu-principal-1 li a {
    font-size: 11px;
  }
}
