/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Tags: responsive-layout,one-column,two-columns,three-columns,four-columns,left-sidebar,right-sidebar,custom-background,custom-colors,featured-images,full-width-template,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready
Version: 3.17.6.1543609858
Updated: 2018-11-30 21:30:58

/* rajouter un bouton avec icone dans le menu ordi */
#top-menu .atp-lien-personnalise a {

padding: 15px !important;
background: #bfa17d;
color: #fff !important;
border: 2px solid #fff;
border-radius: 45px / 45px; 
}

#top-menu .atp-lien-personnalise a:hover {
background: #fff;
color: #BF481F !important;
opacity: 1 !important;
}

#top-menu .current_page_item a::before {
content: "";
position: absolute;
z-index: 2;
left: 0;
right: 0;
}
#top-menu li a:before {
content: "";
position: absolute;
z-index: -2;
left: 0;
right: 100%;
bottom: 50%;
background: #BF481F;
height: 3px;
-webkit-transition-property: right;
transition-property: right;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-timing-function: ease-out;
transition-timing-function: ease-out;
}
#top-menu li a:hover {
opacity: 1 !important;
}
#top-menu li a:hover:before {
right: 0;
}
#top-menu li li a:before {
bottom: 10%;
}
/* avoir le header en fixe et toujours visible sur mobile */
@media (max-width: 980px) {
.et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
position: fixed;
}
}


/* intervertir des colonnes sur mobiles uniquement */

/*** wrap row in a flex box ***/
.custom_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
.first-on-mobile {
-webkit-order: 1;
order: 1;
}
 
.second-on-mobile {
-webkit-order: 2;
order: 2;
}
 
.third-on-mobile {
-webkit-order: 3;
order: 3;
}
 
.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}
 

/* augmenter taille logo sur mobile */
.et_header_style_centered #logo {
    max-height: 110px;
	
}
/* réduire taille header sur mobile en hauteur */
.et_header_style_centered {
    max-height: 110px !important;
	
}
/*---------------Header Texture (mettre image dans header divi et ceci sur largeur ecran ordi---------------*/
 @media all {
	#main-header {
    background-size: initial;
    background-repeat: no-repeat;
	text-align: center ;
	background-position: top;
    background-image: url(https://www.auxramieresgrandgite.com/wp-content/uploads/2019/02/grand-gite-aux-ramieres-header2.jpg) !important;
}
}
/* enlever selectionner une page sur mobile */
.select_page {
	display:none!important;
	background: #fff !important;
}
/* make "select page bg color transparent" */
    .et_header_style_centered #main-header .mobile_nav,
    .et_header_style_split #main-header .mobile_nav {
         background-color: rgba(0, 0, 0, 0); }
/*------------------------------------------------*/
/*---------[GQ - MOBILE MENU BUTTON 2]avoir texte mebu et pas de hambyrger sur mobile------------*/
/*------------------------------------------------*/
 
    .mobile_menu_bar:before {
            display:none}
    .mobile_menu_bar::after {
            font-family: Lato;
		font-size: medium;
		font-style: bold;
            content: "MENU";
            position: relative;
		top: 25px!important;
            padding: 5px 5px 5px 5px;
            background: #FFFFFF;
			color: #bf6142!important;
        	cursor: pointer;}
    .mobile_nav.opened .mobile_menu_bar:after {
        content: "FERMER";}
/*---------------mettre hamburger blanc et + gros ---------------*/
span.mobile_menu_bar:before {
    color: #fff !important;
	font-size: 50px;
}

/*---------------mettre hamburger + haut + gros---------------*/
 
.et_header_style_centered .mobile_menu_bar {

    position: absolute;
    font-size: 65px;
	top: -45px!important;

}
/*---------------centrer verticalement deux modules ou colonnes ---------------*/
.centrer-verticalement {
  display: flex;
  flex-direction: column;
  justify-content: center;

/* Et les déclinaisons avec préfixes pour obtenir un résultat homogène sur les divers navigateurs  */
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
      -ms-flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
}
/* bouton croix sur lightbox module gallery de divi  */
.mfp-iframe-holder .mfp-close, .mfp-image-holder .mfp-close {

    font-size: 30px;
    font-family: 'Open Sans',Arial,sans-serif;
    font-weight: 100;
	}
/* hide default footer */
    #footer-bottom {
        display: none;} 

/* rendre overlay transparent dans galerie photo foogallery  */
.foogallery-default a:hover:before {
    background-color: rgba(0,0,0.1) !important;
}
.foogallery-caption {

background-color: rgba(0,0,0.1)!important; }

/* rendre overlay transparent dans galerie photo foogallery test2 */
.foogallery .fg-caption {
	visibility: hidden;
	opacity: 0;
	background-color: rgba(0,0,0,0.1);
	color: #fff;
	position: absolute;
	z-index: 8;
	width: 100%;
	max-height: 100%;
	overflow: hidden;
	font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	font-size: 13px;
	font-weight: bolder;
	line-height: 1.3;
	border: none;
	text-align: center;
	cursor: pointer;
}

/* ajout icone foogallerie */

.foogallery.fg-hover-custom .fg-thumb:focus:before {
	visibility: visible;
	opacity: 1;
}

.foogallery.fg-hover-custom .fg-caption-inner:before {
	content: "";
	display: inline-block;
	position: relative;
	width: 32px;
	height: 32px;
	margin: 10px 0 5px 0;
	background: transparent no-repeat center center;
	background-size: 32px 32px;
	vertical-align: middle;
}

.foogallery.fg-hover-custom .fg-thumb:before,
.foogallery.fg-hover-custom .fg-caption-inner:before {
	background-image: url('https://auxramieres.com/wp-content/uploads/2019/05/fg_custom_icon.png');
}

/* @2x Images (Pixel Ratio of 1.25+) */
@media only screen and (-o-min-device-pixel-ratio: 5/4),
only screen and (-webkit-min-device-pixel-ratio: 1.25),
only screen and (min-device-pixel-ratio: 1.25),
only screen and (min-resolution: 1.25dppx) {
	.foogallery.fg-hover-custom .fg-thumb:before,
	.foogallery.fg-hover-custom .fg-caption-inner:before {
		background-image: url('https://auxramieres.com/wp-content/uploads/2019/05/fg_custom_icon@2x.png');
	}
}

/* @3x Images (Pixel Ratio of 2.25+) */
@media only screen and (-o-min-device-pixel-ratio: 9/4),
only screen and (-webkit-min-device-pixel-ratio: 2.25),
only screen and (min-device-pixel-ratio: 2.25),
only screen and (min-resolution: 2.25dppx) {
	.foogallery.fg-hover-custom .fg-thumb:before,
	.foogallery.fg-hover-custom .fg-caption-inner:before {
		background-image: url('https://auxramieres.com/wp-content/uploads/2019/05/fg_custom_icon@3x.png');
	}
}
.button-formulaire
{ color: #bf6242 !important;
	

border-color: #bf6242;

border-radius: 31px;
border-bottom-style: solid;
border-bottom-width: 2px;

font-weight: 600 !important;
	}