/*
Theme Name: Divi ChildTheme Photography 
Description: Theme enfant de Divi pour le site photo www.faustinegauchet.com
Author: Faustine Gauchet
Author URI: https://www.faustinegauchet.com/
Template: Divi 
Version: 1.1.0
*/


/*****************************
 ********** GENERAL **********
 *****************************/

h1{
	text-transform: uppercase;
    font-size: 55px;
}

h3 {
	font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h4 {
	font-size: 20px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

h6 {
	font-size: 16px;
}



/****************************
 ********** HEADER **********
 ****************************/

#main-header{
	padding-top: 20px;
}

#logo{
	max-height: 80%;
}

header#main-header>.container{
    position: relative;
    width: 90%;
    max-width: 1400px;
    margin: auto;
}

#top-menu li {
    display: inline-block;
	padding-right: 0px!important;
    margin: 0 15px;
    font-size: 14px;
}


/***** SOUS-MENU *****/

ul.sub-menu{
	margin-top: -10px;
	padding: 5px 0px!important;
}

nav#top-menu-nav>ul#top-menu>li#menu-item-110>ul.sub-menu{
	width: 170px!important;
	transform: translateX(-27%);
}

nav#top-menu-nav>ul#top-menu>li#menu-item-111>ul.sub-menu{
	width: 210px!important;
transform: translateX(-38%);
}

#top-menu li li{
	width: inherit;
	padding: 0;
	margin: auto;
}

#top-menu li li a {
    width: inherit;
    padding: 4px 20px;
    text-align: center;
}


/***** BOUTON "RETOUR EN HAUT" *****/

/*Opacité du bouton et effets d'animation (pour tous les navigateurs)*/
.et_pb_scroll_top.et-visible {
    opacity: 1;
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
    animation: fadeIn 1s;
}
 
/*Positionnement et couleur du bouton*/
.et_pb_scroll_top.et-pb-icon {
    right: 25px; /*distance du bouton par rapport à la droite de la fenêtre*/
    bottom: 85px; /*distance du bouton par rapport au bas de la fenêtre*/
    border-radius: 50%; 
	border: 1px solid #3e412c;
	padding: 5px 6px 5px 5px;
    background: #3e412c;
}
 
 /*couleur de fond du bouton au survol*/
.et_pb_scroll_top.et-pb-icon:hover {
    background: rgba(0,0,0,0.1);
	border: 1px solid white;
}
 
/*Choix de l'icone et couleur de celui-ci*/
.et_pb_scroll_top:before {
    content: "\32"; /* icone provenant des icones de bases de Divi*/
    color: white; /*couleur de l'icône*/
}


/***** OVERLAY SUR LES SECTIONS PARALAX *****/

.gradient-overlay:before {
    content:"";
    position:absolute;
    z-index:1;
    background:inherit;
    top:0;
    bottom:0;
    width:100%;
}

.gradient-overlay .et_pb_row {
    z-index:2 !important;
}

.gradient-overlay {
    background-color: transparent;
}



/*****************************
 ********** ACCUEIL **********
 *****************************/


/***** SLIDER TEMOIGNAGES *****/

#slider-testimonial-home>.et_pb_container.cleafix{
	margin-right: 0!important;
}

.et_pb_slider .et_pb_container {
    width: 55%;
	margin-right: 0%!important;
}

#slider-testimonial-home>.et_pb_fullwidth_section, #slider-testimonial-home>.et_pb_slide_description {
    padding-top: 13%;
    padding-bottom: 17%;
}

#slider-testimonial-home>h4, .et_quote_content blockquote p, .et_pb_slide_description .et_pb_slide_title {
    font-weight: normal;
    font-style: normal;
    text-transform: capitalize!important;
    text-decoration: none;
    letter-spacing: 0px;
    line-height: 1.5em;
}

.et-pb-controllers {
    position: absolute;
    z-index: 10;
    bottom: 20px;
    left: 0;
    width: 55%;
    text-align: center;
    margin-left: 42.5%;
}

.et-pb-arrow-prev {
    position: absolute;
    margin-left: 41%;
    z-index: 100;
    top: 50%;
    margin-top: -24px;
    opacity: 0;
    color: #fff;
    font-size: 48px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.et-pb-arrow-next {
    position: absolute;
	margin-right: 2%!important;
    z-index: 100;
    top: 50%;
    margin-top: -24px;
    opacity: 0;
    color: #fff;
    font-size: 48px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}



/********************************
 ********** NEWSLETTER **********
 ********************************/

#optin-slim .et_pb_newsletter_field,
#optin-slim .et_pb_newsletter_button_wrap {
	flex-wrap: nowrap!important;
  	flex-basis: auto;
	margin-top: 20px;
}

#optin-slim .et_pb_newsletter_field, #optin-slim .et_pb_contact_field_half, #optin-slim .et_pb_contact_field_last_tablet, #optin-slim .et_pb_contact_field_last_phone{
	width: 39%
}

#optin-slim .et_pb_newsletter_button_wrap{
	width: 20%;
}

#optin-slim .et_pb_newsletter_footer {
	margin-top: -5px;
	text-align: center;
	font-size: 11px;
}

#optin-slim .et_pb_newsletter_description,
#optin-slim .et_pb_newsletter_form {
  width: 100%;
  padding: 0;
}



/*******************************
 ********** PAGE BLOG **********
 *******************************/

/***** SIDEBAR *****/

/* icone barre de rechercher */
.ds-icon-search input.et_pb_searchsubmit,
.widget_search input#searchsubmit {
    background: transparent;
    color: transparent;
    border: none;
    width: 55px;
    z-index: 2;
}

.ds-icon-search input.et_pb_s,
.widget_search input#s {
    padding-right: 55px !important;
}

.ds-icon-search .et_pb_searchform:before,
.widget_search::before {
    content: '\55';
    position: absolute;
    font-family: 'ETModules';
    z-index: 1;
    right: 0;
    font-size: 20px;
    padding: 8px 20px;
}

/*** slider events *
.slider-event-blog, .et-pb-arrow-prev {
	margin-left: 0;
}**/



/*********************************
********** PAGE ARTICLE **********
**********************************/

.single #left-area{
	width: 64%;
	margin-right: 8%;
}

.single #sidebar{
	width: 28%;
}

#sidebar, .textwidget, .et_pb_row.et_pb_row_0.et-last-child{
	width: 100%;
}

@media (min-width: 981px){
	.et_right_sidebar #left-area {
    	float: left;
    	padding-right: 0;
	}
}

#main-content .container:before{
	width: 0;
	opacity: 0;
	visibility: hidden;
}


/***** HEADER ARTICLE (hero tuto) *****/

.hero-section {
    padding-top: 180px;
    padding-bottom: 180px;
    background-repeat: no-repeat;
    background-size: cover;
    position:relative;
    max-height: 550px;
    background-color: #333;
}
 
.single-post #main-content #left-area {
    padding-top: 0px;
}
 
/* ---- Sidebar Settings ----
.single #sidebar {background: #efefef; padding-top: 20px; padding-right: 20px; padding-left: 20px; padding-bottom: 20px;} */
 
/* ---- Standard Post Title & Post Meta ---- */
.single h1.entry-title,.attachment h1.entry-title, .single p.post-meta {
    width: 100%;
    text-align: center;
    padding-left: 8px;
    padding-right: 8px;
    text-transform: uppercase;
    color: #fff;
}
 
 @media only screen and (min-width: 980px) {
/*** Set title font size for desktop ***/
.single h1.entry-title {
font-size: 65px !important;
font-family: 'Karla';
}
 }



/****************************
 ********** FOOTER **********
 ****************************/

#footer-bottom{
	display: none;
}



/**************************************
 ********** MOBILE ET TABLET **********
 **************************************/

@media all and (max-width: 980px) {
	
	#main-header{
		padding: 4%;
		z-index: 800;
	}
	
	.container{
		text-align: center;
	}
	
	.logo_container{
		display: contents!important;
	}	
	
    
	/***** MENU RESPONSIVE (plugin) *****/
	
	button#responsive-menu-button.responsive-menu-button.responsive-menu-boring.responsive-menu-accessible {
		background-color: rgba(61, 64, 43, 0.7);
	}
	
	#responsive-menu-container{
		z-index: 850;
	}
	
	#responsive-menu-title{
		letter-spacing: 5px;
    	font-size: 20px!important;
    	font-weight: 600;
	}
 
	a.responsive-menu-item-link{
		letter-spacing: 2px;
    	text-transform: lowercase;
	}
	
	div#responsive-menu-additional-content{
    	margin: 0;
		padding: 0 5%!important;
	}
	
	/***** bouton retour en haut *****/
	.et_pb_scroll_top.et-visible{
		opacity: 0!important;
		display: none!important;
	}
	
	.et_pb_scroll_top.et-pb-icon{
		opacity: 0!important;
	}
}





/*************Advent Calendar 2017 - 7**************/
/*************Custom Single Post Layout*************/
/*******************By Divi Soup******************


/***Post Content***/


/*Add margin below the featured image*

.single .et_pb_post .et_post_meta_wrapper img {
    margin-bottom: 20px;
}


/*Add margin to the post meta elements*

.single .author,
.single .published,
.single .post-meta a[rel~="category"],
.single .comments-number {
    margin: 0 15px 0 20px;
}


/*Style the post meta icons*

.single .author a:before,
.single .published:before,
.single .post-meta a[rel~="category"]:before,
.single .comments-number a:before {
    font-family: 'ETModules';
    color: #ffffff;
    margin-right: 5px;
    margin-left: -20px;
}


/*Add the post meta icons*

.single .author a:before {
    content: '\e08a';
}

.single .published:before {
    content: '\e023';
}

.single .post-meta a[rel~="category"]:before {
    content: '\e07c';
}

.single .comments-number a:before {
    content: '\77';
}

/***Sidebar***/


/*Remove the dividing line*

@media all and (min-width: 981px) {
    .single #main-content .container:before {
        display: none;
    }
}

/***Post navigation***/


/*Next/previous post nav*/


/*Navigation sizing*

.single #ds-single-post-nav {
    margin: 40px 0;
    display: inline-block;
    width: 100%;
}


/*Post title styling*

.single #ds-single-post-nav h2 {
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.2em;
}


/*Align the prev post nav*

.single span.ds-single-nav-previous {
    width: 47.5%;
    margin-right: 5%;
    float: left;
}


/*Align the next post nav*

.single span.ds-single-nav-next {
    display: block;
    text-align: right;
}


/*Prev/next post nav button styling*

.single span.ds-single-nav-previous a[rel~="prev"],
.single span.ds-single-nav-next a[rel~="next"] {
    color: #fff;
    background: #636789;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    padding: .7em 1em !important;
    border: 2px solid #636789;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}


/*Prev/next post nav button hover styling*

.single span.ds-single-nav-previous a[rel~="prev"]:hover,
.single span.ds-single-nav-next a[rel~="next"]:hover {
    color: #636789;
    background: #fff;
}


/*Prev/next arrows size*

.single .ds-meta-nav {
    font-size: 18px;
}


/*Reduce post nav button size on mobile*

@media all and (max-width: 479px) {
    .single span.ds-single-nav-previous a[rel~="prev"],
    .single span.ds-single-nav-next a[rel~="next"] {
        font-size: 10px;
        padding: .7em .75em !important;
    }
}


/***Related posts***/


/*Hide the default title and meta*

.single .ds-related-posts .post-meta,
.single .ds-related-posts .entry-title {
    display: none;
}


/*Set the display and margin*

.single .ds-related-posts {
    display: inline-block;
    margin-top: 30px;
}


/*Remove padding*

.single #left-area .ds-related-posts ul {
    padding-left: 0;
}


/*Style the post title*

.single .ds-related-content h4 {
    line-height: 1.2em;
    text-transform: uppercase;
    font-size: 18px;
}


/*Set post width and margin*

.single .ds-related-list {
    list-style-type: none;
    width: 30%;
    float: left;
    margin-right: 5%;
}


/*Remove margin from last post*

.single .ds-related-list:last-child {
    margin-right: 0;
}


/***Comments***


/*Add the comment border*

.single .comment-body {
    border: 5px solid #f5f5f5;
}


/*Position the text*

.single .comment-body {
    position: relative;
    padding: 20px;
    margin-bottom: 30px;
}


/*Position the avatar container*

.single .comment_avatar {
    position: relative;
    top: 0;
}


/*Position the avatar image*

.single .comment_avatar img {
    display: inline-block;
    float: left;
    margin-right: 20px;
    height: auto;
}


/*Adjust the indent for replies*

.single .comment .children {
    margin-left: 30px;
}


/*Style the comment form input text*

.single #commentform textarea,
.single #commentform input:not(.et_pb_button) {
    font-family: "Open Sans", Arial, sans-serif;
    background-color: transparent;
    font-size: 14px;
    margin-bottom: 20px;
    color: #333;
    border: 2px solid #f5f5f5;
}


/*Style the reply and submit buttons*

.single a.comment-reply-link.et_pb_button,
.single .form-submit .et_pb_button {
    border-radius: 0;
    color: #fff;
    background: #636789;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid #636789;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}


/*Styling for the reply link button only*

.single a.comment-reply-link.et_pb_button {
    font-size: 14px;
    margin-right: 20px;
    top: 20px;
    padding: .1em .5em;
}


/*Move the submit button to the left*

.single #commentform .form-submit {
    float: left;
}


/*Style the reply and submit buttons on hover*

.single a.comment-reply-link.et_pb_button:hover,
.single .form-submit .et_pb_button:hover {
    background: transparent;
    color: #636789;
    font-weight: bold;
}


/*Hide the reply link button arrow*

.single a.comment-reply-link.et_pb_button:hover:after {
    display: none;
}


/*Style the edit comment link*

.single .comment-edit-link {
    color: #636789;
}


/*Comment Form*/


/*Style the logged in as link*

.single p.logged-in-as a {
    color: #636789;
    text-transform: uppercase;
    font-size: 12px;
}


/*Remove excess padding from the form fields*

.single p.comment-form-author,
.single p.comment-form-comment,
.single p.comment-form-email,
.single p.comment-form-url {
    padding-bottom: 0;
}


/*Align the form fields on larger screens*

@media all and (min-width: 768px) {
    .single #commentform input#author {
        width: 48.5%;
        float: left;
    }
    .single #commentform input#email {
        width: 48.5%;
        float: right;
    }
    .single #commentform input#url {
        width: 100%;
    }
}


/*Purple bars*/


/*Style the titles*

.single h4.ds-related-posts-header,
.single #respond h3,
.single h1#comments,
.single #sidebar h4.widgettitle {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    z-index: 1;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}


/*Add the left and right bars*

.single h4.ds-related-posts-header:before,
.single h4.ds-related-posts-header:after,
.single #respond h3 span:before,
.single #respond h3 span:after,
.single h1#comments:before,
.single h1#comments:after,
.single #sidebar h4.widgettitle:before,
.single #sidebar h4.widgettitle:after {
    position: absolute;
    top: 30%;
    overflow: hidden;
    width: 50%;
    height: 5px;
    content: '\a0';
    background-color: #636789;
}

.single h4.ds-related-posts-header:before,
.single #respond h3 span:before,
.single h1#comments:before,
.single #sidebar h4.widgettitle:before {
    margin-left: -52%;
}

.single h4.ds-related-posts-header:after,
.single #respond h3 span:after,
.single h1#comments:after,
.single #sidebar h4.widgettitle:after {
    margin-left: 2%;
}

/*************Advent Calendar 2017 - 7**************/
/**********End - Custom Single Post Layout**********/
/*******************By Divi Soup********************/