/*
Theme Name: cvmairie Child 
Description: Theme enfant du theme cvmairie 
Author: samloorie
Author URI: http://samloorie.fr
Template: cvmairie
Version: 1.0
*/

@font-face {
 font-family: "IconFont";
 src: url("/fonts/et-line.eot") format("eot"),
        url("/fonts/et-line.woff") format("woff"),
	 url("/fonts/et-line.ttf") format("ttf"),
	 url("/fonts/et-line.svg") format("svg");
}

@font-face {
  font-family: "Heebo";
  src: url("/fonts/Heebo-VariableFont_wght.ttf");
}
/* ---------------------------
 général
-----------------------------*/

body { 
color: #000000;
font-family: 'Verdana', sans-serif;
font-size: 12px !important;
line-height: 26px;
font-weight:400;
padding:0; margin:0;
background:#f8f7f7;}

/*debug diff texte blocs */

p, .et_pb_post p,
.et_pb_text,
.et_pb_text_inner, .et_pb_text_inner p { 
font-family: 'Verdana', sans-serif;
font-size: 1.02em !important;
line-height: 1.6em;
font-weight:400;
/*line-height: 1.3em;*/
}




a { color:#000;}

a:hover { color:#e9670e!important;}


h1 { 
  font-family:'Heebo', sans-serif; 
font-size: 60px;
line-height: 60px;
font-weight: 400;
}

h2 {
font-family: 'Heebo', sans-serif;
font-weight:600;
text-transform: none;
letter-spacing: 0px;
font-size: 38px;
line-height: 62px;
font-weight: 300;


}   
h2::before{
content: "\002014";
color: #BDDDBF;
margin-right:6px;
}   


h3 { font-size: 26px;
line-height: 34px;
font-weight: 300;
padding-top:2%;}
    
h3, h4, h5, h6 { font-family: 'Heebo', sans-serif; color:#000; }


.vert {
  color:#BDDDBF;
 font-weight:900;
 font-family: 'Heebo', sans-serif;
  }

.orange {
  color:#e9670e;
 font-weight:900;
 font-family: 'Heebo', sans-serif;
  }
blockquote { border:none;}
blockquote p, .et_pb_text_inner blockquote p{
font-size: 1.3em!important;
font-family: 'Heebo', sans-serif;
	padding:0!important;
color: #44564A!important;
font-weight:800;
margin:10px 0;

}


#main-content {
    padding-bottom:10px;padding-top:0;
	background:#f8f7f7!important;
}

#main-content .container {
    	background:#fff!important;
	margin-top:1%;
	padding:1%;
}

.et_pb_button,  .bouton, .give-btn, .tribe-common .tribe-common-c-btn, input[type="submit"], input[type="button"]  { 
color:#e9670e;  
 border-radius :0; 
 font-size:1em; 
 font-weight:800;
font-family: 'Heebo', sans-serif;
 padding:1% 2%;
	margin:4% 0!important;
     border:2px solid #e9670e !important;
box-shadow: 3px 3px #e9670e;
 }


 
.et_pb_button:hover, .bouton:hover, .give-btn:hover,
.tribe-common .tribe-common-c-btn:hover, 
input[type="submit"]:hover, input[type="button"]:hover  { 
color:#8CAD8D!important;      
border:2px solid #8CAD8D !important;
box-shadow: 4px 4px #8CAD8D; 
}

.et_pb_button a:hover, .bouton a:hover, .give-btn a:hover, .tribe-common .tribe-common-c-btn a:hover { 
color:#8CAD8D!important;}


/* image galerie */
#gallery-1 img {
    border: 0 solid transparent!important;
}

.wp-caption {
    border: 0!important;
    text-align: center;
	font-style:italic;
    background-color:transparent!important;
    margin-bottom: 10px;
    max-width: 96%;
    padding:0 0 5px 0;
}

.zoom-image {
  overflow:hidden;
  image-rendering: pixelated;  /* pour un rendu net dans Chrome */
}

.zoom-image img{
  transition:0.5s;
}

.zoom-image img:hover{
  transform : scale(1.2);
}


/*.focus {
	background:#fff;
	margin:3% 0;
	padding:4%;
	}*/

  .focus, .vignette-contact {
    background-color: #f6f6f6;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 2rem 3rem;
    position: relative;
    margin: 3rem 0!important;
}

  .focus::before, .vignette-contact::before {
    bottom: 0;
    left: 2.5%;
    position: absolute;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23b2b2b2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6' width='6' height='6'%3E%3Cpath d='M2 3h1v1H2zM0 5h1v1H0zM1 4h1v1H1zM5 0h1v1H5zM4 1h1v1H4zM3 2h1v1H3z'/%3E%3C/svg%3E");
    background-size: 6px;
    height: 1rem;
    width: 95%;
    content: "";
    transform: translateY(100%);
}

/*** effet box shadow ****/

/*.boxshadow,  .vignette-contact  , #sidebar .et_pb_widget   {
   border:2px solid #BDDDBF !important;
box-shadow: 4px 4px #BDDDBF;
}


 .bloc-telechargement-unique{
   border:2px solid #F9C9B2 !important;
box-shadow: 4px 4px #F9C9B2;
}*/




/* ---------------------------
header auto page classique
-----------------------------*/

/** fixe menu au scroll**
.et_fixed_nav #main-header, .et_fixed_nav #top-header {
    position: fixed;
	top: 25px;
}*/


#et_main_title { 
background-color:#8cad8d!important;
     background-size: cover!important;
     background-position:center!important;
    padding-bottom:0!important;
	padding:0;
    margin: 0 auto!important;
    /*border-radius: 0 0 100% 0;*/
    overflow:hidden;
	background-attachment: fixed;
  background-repeat: no-repeat;
  height:50vh;

}


 .titre { 
/*background: linear-gradient(90deg,rgba(232, 108, 55,0.82) 0%,rgba(80, 154, 86,0.42) 100%);
margin-bottom:0 auto;
padding:3% 0 5% 0;*/
    text-align:left;

}

#et_main_title .titre h5 { 
text-transform:uppercase;
font-weight:500;
    color:#fff!important;

}


#et_main_title  .titre h1 , #et_main_title  .filariane { 
display:block;
text-align:left;
font-family: 'Heebo', sans-serif;
 margin-left: 20px !important;
}




/* ---------------------------
fonction sous menu parent / enfant
-----------------------------*/
.sousmenu {
margin:0 auto 0 auto;
background:#bdddbf;
	padding:1% 0;
}

/*.sousmenu .container::before {
    bottom: -.5rem;
    left: 1rem;
    position: absolute;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23ccc' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6' width='6' height='6'%3E%3Cpath d='M2 3h1v1H2zM0 5h1v1H0zM1 4h1v1H1zM5 0h1v1H5zM4 1h1v1H4zM3 2h1v1H3z'/%3E%3C/svg%3E");
    background-size: 6px;
    height: .5rem;
    width: calc(100% - 2rem);
    content: "";
    display: block;
}


.sousmenu .container{
width: 90%;
max-width: 1250px;
margin:0 auto;

}

.sousmenu ul {
display: block;
text-align: left;
font-family: 'Heebo', sans-serif;
display:block;
padding:1%;

}

.sousmenu ul li {
display:inline-block;
list-style-type:none;
padding:5px 12px; 
margin:5px auto;
font-size:1.03em;
background:#fff;

}



.sousmenu ul .current_page_item li {
font-weight:800;
background:#508164!important;

}*/


/* ---------------------------
Menu
-----------------------------*/



/***** Menu flottant latérall *****/

.menu-flottant {
    width:20em; 
    float: right; /* Je veux que le menu soit à droite*/
    position:fixed; /* Le menu est fixe à l'écran*/
    z-index:9999; /* Il sera au dessus de tous les éléments*/
    top: 40%; /* Il sera à 40% du bord supérieur de l'écran*/
    font-size: 1.2em; /* Taille de la police*/
    line-height: 2px; /* Hauteur de ligne du menu*/
    color: #fff; /* Couleur de la police*/
    font-weight:700; /* Mettre le texte en gras*/
    text-transform:uppercase; /* Mettre le texte en majuscule*/
    right: -16.5em; 
}
.menu-flottant ul {
    list-style: none; /* Le menu est une liste, mais je ne veux pas afficher les puces*/
    margin: 0; /* Choix des marges internes et externes*/
    padding: 0;
}
.menu-flottant ul li{
    display:block; /* Définition des items en tant que bloc*/
    background-color: #45625d; /* Couleur de fond*/
    height: 3.5em; /* Hauteur des items du menu*/
    color:#fff!important;
    padding: 1em 1.5em; /* Marges internes des items du menu*/
    position: relative; /* On leur attribut une position relative*/
    -webkit-transition: -webkit-transform 0.5s; /* Effet de déplacement au passage de la souris*/
    -moz-transition: -webkit-transform 0.5s; /* On le définit plusieurs fois pour assurer la compatibilité entre les navigateurs*/
  transition: transform .5s;
}
/*Couleurs de fond des items du menu*/
.menu-flottant ul li:nth-child(1) { background-color: #333; } 
.menu-flottant ul li li:nth-child(2) {background-color: #45625d; } 
.menu-flottant ul li li:nth-child(3) { background-color: #8cad8d; } 

.menu-flottant ul li:nth-child(4) { background-color: #bdddbf; } 
.menu-flottant ul li:nth-child(5) { background-color: #bee1ed; } 
.menu-flottant ul li:nth-child(6) { background-color: #e9670e; } 

/* Création de la transformation CSS qui permet d'afficher le menu au passage de la souris*/
.menu-flottant ul li:hover {
    -webkit-transform: translateX(-10em);
    transform: translateX(-10em);
}

/* Mise en forme des liens du menu*/
.menu-flottant ul li a {
    display:block; /* On les définit en tant que bloc*/
    color: #FFF; 
 text-align:left;
  font-size:1em; 
    line-height: 1.5em; 
     padding-bottom: 1.5em;
     margin-left:1.5em!important;
   /* height:2em; 
    margin:0 auto 0 0.5em;
    padding:1em 1.5em;*/
}
  
  .menu-flottant ul li a:hover {
    color: #FFF!important; 
 
}
/* Mise en forme des icônes du menu*/
  .menu-flottant ul li span {
    float: left; 
    line-height: 1.5em; 
    width:2em;
    padding-bottom: 1em;
  }  
 

#bloc-header {
    background:#fff!important;
}

#main-header {
    background:#fff!important;
    margin-top:0!important;
       /* top: 56px;
        border-radius: 0 0 100% 100%;*/
}

#top-header .container {
   background:#fff!important;
   width:80%!important;
   max-width:1050px!important;
   font-weight:100;
   font-size:0.8em;
}

.nav li ul {
    border-top: none; 
}

.nav li ul:before {
    content:'';
    position:absolute;
    width:100%;
    height:5px;
    background:linear-gradient(to right, #e86c37, #BDDDBF);
    top:-5px;
    left:0;
}

/*body.admin-bar.et_fixed_nav.et_secondary_nav_enabled #main-header, body.admin-bar.et_non_fixed_nav.et_transparent_nav.et_secondary_nav_enabled #main-header {
    top: 56px;
}*/

#top-menu a {
font-weight:600;
text-transform:uppercase!important;
font-family: 'Heebo', sans-serif;
}

.et_mobile_menu li a:hover, .nav ul li a:hover {
    background-color: transparent;
    opacity: .8;
}



#main-header {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow:none;
}

/* ---------------- Map Travaux / OSM ------------*/

.leaflet-popup-content-wrapper, .leaflet-popup-content {
    width: 460px !important;
    max-width: 653px !important;
    padding: 2% !important;
    border-radius: 20px !important;
    -webkit-border-radius:  20px !important;
	font-weight:600;
	font-family: 'Verdana', sans-serif;
    height: 100%;
}



/* ---------------------------
Style formulaire 
-----------------------------*/

.et_pb_search input.et_pb_searchsubmit {
   /* min-height: 100% !important;
    background-color: #113f67;
    color:#ffffff!important;
    position: absolute;
    top: 0;
    bottom: 0;
    cursor: pointer;*/
}


label {
      font-family: 'Roboto', sans-serif!important;
font-size: 1em!important;
    color: #000000;
}


input[type="submit"], input[type="button"] {
    /* color: #ffffff;
     text-transform: uppercase!important; font-size:1em;
     background: #113f67;
     border:1px solid #fff;
     padding: 10px 20px;
     border: none;
     width: auto;
     text-transform: uppercase;*/

 }
 
input[type="button"]:hover, input[type="submit"]:hover {
     /*background: #226597;*/
     transition: all 0.4s ease 0s;
 }
 input:active[type="button"] {
    /* background: #226597;*/
 }
 

/* generique */
input.text, input.title, input[type="text"], input[type="email"],input[type="tel"], select, textarea  {
    font-size: 14px;
    color:#000000;
    background:#f4f3f2;
font-weight: 500;
line-height: 1.7em;
    padding:15px;
    border: none;
     width:100%;
    
}




/* ---------------------------
Sidebar
-----------------------------*/

/*** Widget footer CPT ***/
#text-6 {
   
    width: 100%!important;
    
}

#main-content .container::before {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 0;
    background-color: transparent;
}

.widget_search input#s, .widget_search input#searchsubmit {
    padding: .7em;
    height: 40px !important;
    margin: 0;
    border-radius: 40px 40px ;
    font-size: 14px;
    line-height: normal !important;
    border: 1px solid #ddd;
    color: #666;
}

.widget_search #searchsubmit {
    background-color: #fff;
    width: 70px;
    color:#352317;
}
.et_right_sidebar #sidebar {
    padding-left: 0!important;
}

.et_pb_widget ul {
	list-style-type:none;
}

.et_pb_widget ul li {
	margin:5px 0 0 .6em!important;
	/*padding:5px 0;*/
	color:#323276;
	list-style-type:none;
}

/*.et_pb_widget ul li::before {
  content: "\002014";
color: #84655B;
margin-right:5px;

}*/

#sidebar {
    float: right;
    

}

#sidebar h4{
text-align: left;

}


#sidebar .et_pb_widget {
    margin-bottom: 30px;
    width: 100%;
    padding:5%!important;
    float: none;
    background:#fff;

}




/* ---------------------------
Bloc téléchargement + contact
-----------------------------*/


.vignette-contact, .bloc-telechargement   {
   padding: 3%;
   margin:0 0 2% 0;
   text-align:left;
 clear:bottom;
}

.vignette-contact  { background:#eff7f0;}

.bloc-telechargement   {background:#fff7f2;}



.vignette-contact h2, #sidebar h4, .sousmenu h4, .bloc-telechargement-unique h4, .widgettitle{
  line-height: 1.3em;
font-family: 'Heebo', sans-serif;
font-weight:700;
color: #000;;
margin: 10px 0;
text-transform: uppercase;
font-size: 1.5rem;
margin-bottom: 1.5rem;

}

 


.shared-files-main-elements-right a {
    font-size: 1.5em!important;
    font-family: 'Heebo', sans-serif;
}




/*** magazines ***/

.fb3d-thumbnail-lightbox-mode .book-heading h3, .fb3d-thumbnail-mode .book-heading h3 { 
    background: #84655B;
    
}

._3d-flip-book:hover .book-thumbnail img {
    transform: rotateY(0deg);
}

/***** Map Travaux *****/

#mapid { height: 400px; width:100%; border:3px solid #f4f3f2;}

#mapid .marker { color:#ddd;}


.leaflet-popup-content-wrapper,
.leaflet-popup-content{
    width:560px !important;
    max-width: 853px !important;
    margin:0 !important;
    padding:0 !important;
    border-radius:0 !important;
     -webkit-border-radius: 0 !important;
   -moz-border-radius: 0 !important;
    border-radius: 0 !important;
        
        height:100%;
  }

.leaflet-popup-content figure, 
.leaflet-popup-content .wp-block-embed-youtube{
  line-height:0 !important;

  }
.leaflet-popup-content p,
.leaflet-popup-content h3 a{
  padding: 0 10px;
}

.leaflet-container a.leaflet-popup-close-button{
  padding: 0 !important ;
  border-radius:50% !important;
  background-color:#fff !important;
    padding: 8px 0px 0 0 !important;
    width: 30px !important;
    height: 30px !important;
}


/* ---------------------------
Agenda
-----------------------------*/



.css-events-list tr, .css-events-list .vignettes-event {
    border-spacing: 0px;
    border-collapse: collapse;
  background: #f8f7f7;
border: 20px solid #fff;
}

.css-events-list table.events-table td {
    padding: 15px!important;
}



.events-table thead {
       background: #f8f7f7;
	font-weight:800;
	text-transform:uppercase;
}

/* ---------------------------
Plan du site
-----------------------------*/

.sitemap li .page_item {
  margin:0!important;
  text-transform:capitalize;
}
/* ---------------------------
Footer
-----------------------------*/
 
#main-footer {
    background-color: #f3f4f2;
    border-top:none;
    padding:0!important;
clip-path: ellipse(100% 100% at 50% 100%);
}
.footer-widget {
    color: #226597;
}
#main-footer a{
  color: #000000;

}

#footer-widgets {
    margin-right: 1%!important;
}

.fwidget .et_pb_widget .widget_nav_menu #menu-footer-principal li, 
.menu-footer-principal li .menu-item,
.menu-footer-principal-container li{
 list-style: none!important;
border-bottom:1px solid #fff;
}


#footer-widgets .footer-widget a, 
#footer-widgets .footer-widget li a, 
#footer-widgets .footer-widget li a:hover {

    background:none!important;
    margin-left:0!important;
    padding-left:0!important;
}


/*Debueg menu qui saute /Modifier le point de rupture du menu mobile*/

@media only screen and ( max-width: 1050px ) {
	#top-menu-nav, #top-menu {display: none;}
	#et_top_search {display: none;}
	#et_mobile_nav_menu {display: block;}

  #main-footer {clip-path: none!important;}
  #main-header { border-radius: 0!important;}
}

/**** Responsive *****/



@media screen and (max-width: 800px)
{


p {font-size: 1em;}
	h2 {font-size: 1.6em;line-height: 1.3em;margin: 10px 0 ;}   
    h1 {font-size: 2em;line-height: 1.8em;}   
	h3 { font-size: 14px; line-height:1.2em;}
    .big-title{font-size:2rem;}

  	#et_main_title  { text-align:center;margin: 0 auto!important; border-radius: 0 0 0 0;}
	#et_main_title  .titre h1  {font-size:1.8em;}
	#et_main_title  .titre  {width:100%; padding:10% 4%;}
	.sousmenu {width:100%; background:#f5f3f2; margin:2px auto 0 auto;}
	.sousmenu ul li {display:block;font-size:1em; padding:5px; }
	
	#main-footer {clip-path: none!important;}
  #main-header { border-radius: 0!important;}

  .menu-flottant {
    width:20em; 
    float: right; /* Je veux que le menu soit à droite*/
    position:fixed; /* Le menu est fixe à l'écran*/
    z-index:9999; /* Il sera au dessus de tous les éléments*/
    top: 60%; /* Il sera à 40% du bord supérieur de l'écran*/
    font-size: 1em; /* Taille de la police*/
    line-height: 2px; /* Hauteur de ligne du menu*/
    color: #fff; /* Couleur de la police*/
    font-weight:700; /* Mettre le texte en gras*/
    text-transform:uppercase; /* Mettre le texte en majuscule*/
    right: -16.5em; 
 }

}


