/*
Theme Name: Fransylva
Theme URI: https://www.fransylva.fr/
Author: Kwan
Author URI: https://www.kwan.fr/
Description: Th&egrave;me du site Fransylva
Version: 1.0
*/

@font-face {
    font-family: 'CenturyGothic'; /*a name to be used later*/
    src: url('fonts/centurygothic.ttf'); /*URL to font*/
}

html {
    min-height:101vh;
}
body {
    font-family: 'Poppins', sans-serif !important;
}

a {
    transition-duration: 0.35s;
}


/* Navbar Styling */
.home .navbar {
    background:white !important;
    color:#000000 !important;
    padding: 1rem 2rem;
}

.page .navbar a, .archive .navbar a, .single .navbar a {
    color:#fff !important;
}
.home .navbar a {
    color:#007833 !important;
}
.page .navbar, .archive .navbar, .single .navbar {
    background:url('img/1591213181856-shutterstock-721120522.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    padding: 1rem 2rem;
}
.navbar a:hover{
    color: #ae0f11 !important; 
}
.navbar-brand {
    
}
.navbar-brand img {
    height: 125px;
    margin:20px 0 20px 0 !important;
}
.navbar a {
    font-size:18px !important;
}
#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    color:#007833 !important;
}
#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover {
    color:#ae0f11 !important;
}

#mega-menu-wrap-header-menu #mega-menu-header-menu a.mega-menu-link {
    cursor: pointer;
    display: inline;
}
a.mega-menu-link {
    
}

/* Target the container directly inside the navbar */
.navbar > .container, 
.navbar > .container-fluid {
    display: block !important;
    flex-wrap: nowrap !important;
}

/* Optional: If you want elements inside to stop acting like flex-items */
.navbar-brand,
.navbar-toggler,
.navbar-collapse {

}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 10px;
}
.nav-link:hover {
    color: #ac1319 !important;
}
.btn-contact {
    border: 1px solid #ddd !important;
    border-radius: 12px !important;
    padding: 10px 25px !important;
    font-weight: 500 !important;
}
.btn-rdv {
    background-color: #ac1319 !important;
    border: 1px solid #ac1319 !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 10px 25px !important;
    font-weight: 600 !important;
}
.btn-contact:hover {
    border: 1px solid #ac1319 !important;
    color: #e3262e !important;
    border-radius: 12px !important;
    padding: 10px 25px !important;
    font-weight: 600 !important;
}
.btn-rdv:hover {
    background-color: #ffffff;
    border: 1px solid #ac1319;
    color: #fff !important;
    border-radius: 12px;
    padding: 10px 25px;
    font-weight: 600;
}
.espace-adherents a {
    border: 2px solid #ffffff; 
    border-radius:4px;
    padding: 5px 12px;
    text-decoration: none;   
}
.espace-adherents a:hover {
    border: 2px solid #ae0f11; 
    border-radius:4px;
    padding: 5px 12px;
    text-decoration: none;
    color: #ae0f11 !important;   
}
.en-region a:hover{
    color: #ae0f11 !important; 
}
.home .espace-adherents a {
    border: 2px solid #007833; 
    border-radius:4px;
    padding: 5px 12px;
    text-decoration: none;   
}
.home .espace-adherents a:hover {
    border: 2px solid #ae0f11; 
    border-radius:4px;
    padding: 5px 12px;
    text-decoration: none;
    color: #ae0f11 !important;   
}




/**************************************** PAGE *******************************************/

main {
    padding:30px 0;
}
main .page p {
    font-family:Montserrat;
    font-size:16px;
    color:#666;    
}
main .page h2 {
    color:rgb(172, 19, 25) !important;
    display:inline-block !important;
    font-family:'Poppins' !important;
    font-size:30px !important;
    padding-left:70px !important;
    background-image: url('img/favicon-xUE4.jpg');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 50px 50px;
    margin-bottom:1.8rem;
    line-height:50px !important;
}
.page-template-TPL-page-foret main .page h2 {
    color:rgb(172, 19, 25) !important;
    display:inline-block !important;
    font-family:'Poppins' !important;
    font-size:30px !important;
    padding-left:70px !important;
    background-image: url('img/logo-foret-kDiQ.jpg');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 50px 50px;
    margin-bottom:1.8rem;
    line-height:50px !important;
}
.page-template-TPL-page-foret main .page h2 span {
    color:#007833 !important;
    display: block !important;
    clear: both !important;
    margin-bottom:-18px;
    width:100%;
    max-width: calc(100% - 100px);
}
.page-template-TPL-page-foret main .page h2 span.answer {
    background-color:#ac1319 !important;
    color:white !important;
    display: inline-block !important;
    width:auto !important;
    position: absolute !important;
    top:0 !important;
    right:0 !important;
    padding:0px 20px;
    font-size:20px;
}
.page-template-TPL-page-foret main .page span.answer {
    display: inline-block !important;
    width:auto !important;
    padding:10px 20px;
    font-size:20px;
    font-size:20px;
    font-weight:600;
}
.page-template-TPL-page-foret main .page span.answer.false {
    background-color:#ac1319 !important;
    color:white !important;
}
.page-template-TPL-page-foret main .page span.answer.true {
    background-color:#007833 !important;
    color:white !important;
}
.page-template-TPL-page-foret main .page span.answer.truefalse {
    background-color:#f8b119 !important;
    color:white !important;
}
main .page h3 {
    color:rgb(0, 120, 51);
    font-family:"Montserrat", sans-serif;
    font-size:16px;
    font-weight:400 !important;
    margin-bottom:1.2rem;
}
main .page a {
    color:rgb(0, 120, 51);
}
.appdrag-palette-color-vert-fs, .texte-vert {
    color:rgb(0, 120, 51) !important;
}
.appdrag-palette-color-rouge-fs, .texte-rouge {
    color:#9a0014 !important;
}
.texte-source {
    font-family:"Montserrat", sans-serif;
    font-size:12px !important;
    font-style:italic !important;
}
figure {
    border:none !important;
}
figcaption {
    font-family:"Montserrat", sans-serif !important;
    margin-top:5px;
    font-size:12px !important;
    font-style:italic !important;
    color:rgb(66, 66, 66) !important;
}



/**************************************** CARTE *******************************************/

.page-id-16 h1 {
    border-bottom-color:rgb(172, 19, 25);
    border-bottom-style:dotted;
    border-bottom-width:3px;
    border-left-color:rgb(172, 19, 25);
    border-left-style:dotted;
    border-left-width:3px;
    box-sizing:border-box;
    color:#212121;
    font-weight: 600;
    letter-spacing: -0.5px;
    display:block;
    font-family:Montserrat;
    font-size:26px;
    margin-bottom:10px;
    margin-left:0px;
    margin-right:0px;
    margin-top:0px;
    overflow-wrap:break-word;
    padding-bottom:0px;
    padding-left:10px;
    padding-right:0px;
    padding-top:0px;
    position:relative;
    text-align:justify;
}

#bloc-departement {
    position:relative;
    background-color:rgba(0,120,51,.1);
    text-align:left !important;
    margin-bottom:0 !important;
    margin-top:0 !important;
    padding:15px 10px 5px !important;
}
#bloc-region {
    position:relative;
    background-color:rgba(154,0,20,.1);
    text-align:left !important;
    margin-bottom:0 !important;
    margin-top:0 !important;
    padding:15px 10px 5px !important;
}




/**************************************** ARCHIVE *******************************************/

.archive h1 {
    font-family: 'Montserrat';
    font-size:26px;
    color: #212121;
    font-weight:400;
    letter-spacing: .05em;
}
.archive h1::after {
    content: "";
    position: relative;
    display: block !important;
    height: 2px !important;
    width: 10% !important;
    background-color: #ac1319;
    margin: 15px 0 40px 0;
}
.archive h2 {
    font-family: 'Montserrat';
    font-size:26px;
    color: #212121;
    font-weight:400;
    letter-spacing: .05em;
}
.archive h2::after {
    content: "";
    position: relative;
    display: block !important;
    height: 2px !important;
    width: 10% !important;
    background-color: #ac1319;
    margin: 15px 0 40px 0;
}
.archive .post h3 {
    color: #000;
    font-family: 'CenturyGothic' !important;
    font-size:17px;
    font-weight:800;    
}
.archive .post h3::after {
    content: "";
    position: relative;
    display: block !important;
    height: 1px !important;
    width: 85px !important;
    background-color: #000;
    margin: 15px 0 15px 0;
}
.archive .post a {
    text-decoration: none;   
}
.archive .post p {
    color: #555;
    font-weight:300;    
}


/**************************************** FIL D'ARIANE *******************************************/

#breadcrumbs {
    font-family: 'CenturyGothic';
    font-size:14px;
    color: #212529;
    font-weight:400;
      
}
#breadcrumbs a {
    font-family: 'CenturyGothic';
    font-size:14px;
    color: #212529;
    font-weight:400;
    text-decoration: none;    
}
#breadcrumbs a:hover {
    color: #007833; 
    text-decoration: underline;  
}


/**************************************** ARTICLE *******************************************/

.post-date {
    font-family: "Open Sans", sans-serif !important;
    font-size:14px !important;
    color: #888 !important;
    font-weight:300 !important;
    margin-top: 30px;      
}
.single #single-content h1 {
    font-family: 'CenturyGothic';
    font-size:20px;
    color: #007833;
    font-weight:400;
    letter-spacing: .05em;
}
.single #single-content h1::after {
    content: "";
    position: relative;
    display: block !important;
    height: 1px !important;
    width: 20% !important;
    background-color: #9a0014;
    margin: 15px 0 40px 0;
}
.single #single-content p {
    font-family:'Montserrat';
    font-size:16px;
    font-weight:400;
}
.single #single-content a {
    text-decoration: none; 
}
.single #single-content a:hover {
    text-decoration: underline; 
}
.single #single-content img {
    max-width:100%;
    height:auto;
}



/**************************************** SIDEBAR *******************************************/

.single #sidebar {
    max-width: 390px;
}
.single #sidebar h4 {
    font-family: 'CenturyGothic';
    font-size:20px;
    color: #007833;
    font-weight:400;
    letter-spacing: .05em;
}
.single #sidebar h4::after {
    content: "";
    position: relative;
    display: block !important;
    height: 1px !important;
    width: 100% !important;
    background-color: #ddd !important;
    margin: 15px 0 40px 0;
}
.rpwwt-widget ul {
    list-style: outside none none;
    margin-left: 25px !important;
    margin-right: 25px !important;
    padding-left: 0;
    padding-right: 0;
}
.rpwwt-post-title {
    font-family: 'CenturyGothic';
    font-size:15px;
    color: #007833;
    font-weight:400;
    letter-spacing: .05em;
    text-decoration: none;    
}
.rpwwt-widget a {
    text-decoration: none;
}
.rpwwt-post-date {
    font-family: "Open Sans", sans-serif !important;
    font-size:14px !important;
    color: #888 !important;
    font-weight:300 !important;     
}
.rpwwt-widget ul li img {
    display: inline;
    float: left;
    margin: 0 !important;
}











/**************************************** MAGAZINES *******************************************/

.magazine {
    text-align: center;
    padding:0 30px 30px 30px;
}

.magazine img {

}
.magazine-detail {

}
.magazine-detail {
    font-family:'Montserrat' !important;
    font-size:16px;
    color:#666;    
}
.magazine-detail img {

}











/**************************************** FOOTER *******************************************/

.footer-top {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/1591219906697-shutterstock-387896095.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding:60px 0;
    color:white;
    /*font-family: 'CenturyGothic';*/
    font-size:15px;
    font-weight:300;     
}
.footer-top hr {
    display: inline-block;
    background-color:red;
    width:28px;
    height:2px;
    border:none;
}
.footer-top a {
    color:white;
    text-decoration: none; 
}
.footer-top a:hover {
    color:white;
    text-decoration: underline; 
}
.footer-top ul {
    list-style-type: none;
    margin-left: 0;
    padding-left:0;
}
.footer-top ul li {
    line-height:32px !important;
}
.footer-bottom {
    background-color: white !important;
    padding:20px 0 0 0;
}
.footer-bottom a {
    color: #ae0f11;
    text-decoration: none;
}
.footer-heading {
    font-size:17px;
    font-weight:600;
}
.bloc-red {
    display: inline-block;
    background-color: #ae0f11;
    color:white;
    clear: both;
    margin-bottom:15px;
    padding:10px 15px;
    border-radius: 8px;    
}
.bloc-red:hover {
    color: #ae0f11 !important;
    background-color:white;
    text-decoration: none !important;
}
.bloc-red {
    display: inline-block;
    background-color: #ae0f11;
    color:white;
    clear: both;
    margin-bottom:15px;
    padding:10px 15px;
    border-radius: 8px; 
    font-size:13px;
    font-weight: 500;
    width:calc(100% - 35px);   
}
.bloc-green {
    display: inline-block;
    background-color: rgb(0, 120, 51);
    color:white;
    clear: both;
    margin-bottom:15px;
    padding:10px 15px;
    border-radius: 8px;
    font-size:13px;
    font-weight: 500;
    width:calc(100% - 35px);         
}
.bloc-green:hover {
    color: rgb(0, 120, 51) !important;
    background-color:white;
    text-decoration: none !important;    
}
.bloc-green span, .bloc-red span {
    float: left;
    display: inline-block;
    height:40px;
    width: 40px;
    text-align: left;
    padding-top: 10px;
    padding-left: 5px;   
}
.footer-smo {
    
}
.footer-smo i {
    font-size:24px;    
}
.footer-smo a {
    margin-right:10px;  
}
.footer-smo a:hover i {
    color: #ae0f11; 
}






/**************************************** STYLES APPDRAG *******************************************/

.appdrag-palette-color-vert-fs {
    color: #007833;
}






/* =WordPress Core
-------------------------------------------------------------- */

.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}