/*
Theme Name:     Divi Child
Theme URI:      http://example.com/
Description:    Thème enfant pour le thème Divi
Author:         dpared
Author URI:
Template:       Divi
Version:        0.1.0
*/

@import url("../Divi/style.css");

#login h1 a{
    background: url(images/logo-login.png) no-repeat !important;
    max-width: none !important;
    width: 100%;
    height: 99px !important;
}

body.login {
    background: #ccc;
}

/* *** Récup depuis LESS *** */

@charset "UTF-8";
/* ********* VARIABLE ********** */
/* ********* Login ********** */
div.updated,
.login .message,
.press-this #message {
  background-color: #1c7b1b;
  color: #FFF;
  border-left: none;
  -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}
#login .wp-core-ui .button-primary {
  background: #1c7b1b;
  border-color: #1c7b1b;
  -webkit-box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.5), 0 1px 0 rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.5), 0 1px 0 rgba(0, 0, 0, 0.15);
  color: #fff;
  text-decoration: none;
}
.login #nav a,
.login #backtoblog a,
.login label,
#login p {
  color: #84ba19;
}
/* *************************** */
/* ********* Général ********** */
#page-container {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  padding-top: 43px !important;
}
p {
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
#cookie-law-info-bar {
  z-index: 999999 !important;
  width: 100%;
  max-width: 500px;
  left: 50%;
  margin-left: -250px;
  bottom: 50px !important;
  background-color: rgba(0, 0, 0, 0.9) !important;
  border-radius: 5px;
}
@media (max-width: 500px) {
  #cookie-law-info-bar {
    left: 0;
    margin-left: 0;
    bottom: 0 !important;
  }
}
#cookie-law-info-bar a#cookie_action_close_header.large.cli-plugin-button {
  font-size: 20px;
  margin-top: 20px;
  border-radius: 3px;
  display: block !important;
  width: 120px;
  margin: 20px auto 10px auto;
}
/* *************************** */
/* ********* Header ********** */
#top-menu .menu-item-has-children > a:first-child {
  padding-right: 0px;
}
#top-menu .menu-item-has-children > a:first-child:after {
  display: none!important;
}
#main-header {
  padding-left: 75px;
}
#main-header .logo_container {
  background-color: #fff;
  width: 292px;
  height: 117px;
  border: 1px solid #D8DBDC;
  border-radius: 0 0 30px 0;
}
#main-header .logo_container img#logo {
  max-height: none;
  margin-left: 22px;
}
#main-header.et-fixed-header .logo_container {
  width: 200px;
  height: 80px;
  border: 1px solid #D8DBDC;
  border-radius: 0 0 30px 0;
}
#main-header.et-fixed-header .logo_container img#logo {
  max-height: 70%;
  margin-left: 8px;
}
@media (max-width: 1040px) {
  #main-header {
    padding-left: 0px;
  }
  #main-header .logo_container {
    width: 200px;
    height: 80px;
    border: 1px solid #D8DBDC;
    border-radius: 0 0 30px 0;
  }
  #main-header .logo_container img#logo {
    max-height: 70%;
    max-width: none;
    margin-left: 8px;
  }
}
#main-header div#et-top-navigation {
  padding-top: 14px;
}
#main-header nav#top-menu-nav li a {
  padding-bottom: 16px;
}
#main-header nav#top-menu-nav li .sub-menu li {
  padding: 0;
  display: block;
}
#main-header nav#top-menu-nav li .sub-menu li a {
  width: 100%;
  display: block;
}
#main-header nav#top-menu-nav li .sub-menu li::before {
  display: none !important;
}
#main-header nav#top-menu-nav li::before {
  content: "|";
  position: absolute;
  top: 0;
  left: -15px;
  color: #1c7b1b;
}
#main-header nav#top-menu-nav li:first-child::before {
  content: "";
  display: none;
}
#main-header nav#top-menu-nav li.current-menu-ancestor > a {
  color: #1c7b1b;
}
#main-header nav#top-menu-nav li.current-menu-ancestor .sub-menu li a {
  color: #fff !important;
}
#main-header nav#top-menu-nav li.current-menu-ancestor .sub-menu li::before {
  display: none;
}
/* *************************** */
/* ************ Galeries *************** */
.single .et_pb_post {
  margin-bottom: 0;
}
.image-alaune {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 250px;
  height: auto;
  z-index: 2;
}
img.pictos-references {
  display: inline-block;
  vertical-align: middle;
  margin-right: 20px;
}
.reference-a-la-une .su-post h1,
.reference-a-la-une .su-post .su-post-meta {
  display: none;
}
.reference-a-la-une .su-post .su-post-content .et_pb_section {
  padding: 0;
}
.reference-a-la-une .su-post .su-post-content .et_pb_section .et_pb_row {
  width: 100%;
}
.reference-a-la-une .bandeau-realisations {
  display: none;
}
.galerie-reference .et_pb_gallery_items .et_pb_gallery_item {
  margin: 0 !important;
  margin-bottom: 0 !important;
  display: inline-block !important;
  float: none !important;
  width: 33% !important;
  vertical-align: top;
  border: 4px solid #fff;
}
.galerie-reference .et_pb_gallery_items .et_pb_gallery_item:first-child {
  width: 99% !important;
}
.galerie-reference .et_pb_gallery_items .et_pb_gallery_item .et_pb_gallery_image {
  margin: 0;
}
.galerie-reference .et_pb_gallery_items .et_pb_gallery_item .et_pb_gallery_image a {
  display: block;
  margin: 0;
}
.galerie-reference .et_pb_gallery_items .et_pb_gallery_item .et_pb_gallery_image a img {
  display: block;
  margin: 0;
}
.galerie-reference .et_pb_gallery_items .et_pb_gallery_item .et_pb_gallery_image a .et_overlay::before {
  color: #717070;
}
.galerie-reference .et_pb_gallery_items[data-per_page="3"] .et_pb_gallery_item,
.galerie-reference .et_pb_gallery_items[data-per_page="5"] .et_pb_gallery_item {
  width: 50% !important;
}
.galerie-reference .et_pb_gallery_items[data-per_page="3"] .et_pb_gallery_item:first-child,
.galerie-reference .et_pb_gallery_items[data-per_page="5"] .et_pb_gallery_item:first-child {
  width: 100% !important;
}
.galerie-reference .et_pb_gallery_items[data-per_page="2"] .et_pb_gallery_item {
  width: 100% !important;
}
.galerie-reference .et_pb_gallery_items[data-per_page="2"] .et_pb_gallery_item:first-child {
  width: 100% !important;
}
.galerie-fond-gris .et_pb_gallery_items .et_pb_gallery_item {
  border: 4px solid #F0EFEE;
}
.galerie-fond-orange .et_pb_gallery_items .et_pb_gallery_item {
  border: 4px solid #EE7901;
}
.galerie-fond-bleu .et_pb_gallery_items .et_pb_gallery_item {
  border: 4px solid #0070BA;
}
#portfolio-realisations .et_pb_portfolio_filters ul li a:first-letter {
  opacity: 0;
}
#portfolio-realisations .et_pb_portfolio_filters ul li.et_pb_portfolio_filter_all a:first-letter {
  opacity: 1;
}
.grille-references .et_pb_portfolio_item {
  margin-right: 10px !important;
  margin-bottom: 10px !important;
  width: calc(33% - 10px) !important;
  width: -webkit-calc(33% - 10px) !important;
  width: -moz-calc(33% - 10px) !important;
  overflow: hidden;
  position: relative;
  display: inline-block;
  float: none;
}
.grille-references .et_pb_portfolio_item::before {
  content: "";
  display: block;
  padding-top: 100%;
  /* initial ratio of 1:1*/

}
.grille-references .et_pb_portfolio_item a {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.grille-references .et_pb_portfolio_item a .et_portfolio_image {
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.grille-references .et_pb_portfolio_item a .et_portfolio_image img {
  height: 100%;
  width: auto !important;
  max-width: none;
}
.grille-references .et_pb_portfolio_item h2 {
  position: absolute;
  top: 0;
  background-color: rgba(47, 83, 158, 0.7);
  color: #fff;
  display: block;
  width: 100%;
  padding: 10px 5px !important;
  margin: 0 !important;
  transition: all 0.2s ease-out;
  z-index: 4;
  pointer-events: none;
  font-size: 12px;
  font-weight: bold;
  text-transform: normal;
  text-align: center;
}
.grille-references .et_pb_portfolio_item h2 a {
  position: relative;
}
.grille-references.col4 .et_pb_portfolio_item {
  width: calc(25% - 10px) !important;
  width: -webkit-calc(25% - 10px) !important;
  width: -moz-calc(25% - 10px) !important;
}
@media screen and (max-width: 980px) {
  .grille-references .et_pb_portfolio_item {
    width: 100% !important;
    margin-right: 0 !important;
  }
}
/* *************************** */
/* ********* Formulaire ********** */
p.et_pb_contact_field {
  padding: 0 0 0 1% !important;
}
.et_pb_contact_field_options_title {
  display: block !important;
}
.et_pb_contact_field_checkbox,
.et_pb_contact_field_options_title,
.et_pb_contact_field_radio,
.et_pb_contact_field_select_title {
  display: inline-block;
  margin-left: 20px;
}
/* *************************** */
/* ********* Footer ********** */
#main-footer::before {
  clear: both;
}
#main-footer .et_pb_row_5.et_pb_row {
  width: 90% !important;
  max-width: 1400px !important;
}
#main-footer .et_pb_row_5.et_pb_row {
  padding-top: 20px!important;
  padding-bottom: 20px!important;
  width: 80%;
  max-width: none;
  color: #fff;
}
#main-footer .et_pb_row_5.et_pb_row a {
  color: #fff;
  font-size: 19px;
}
#main-footer .container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}
#main-footer .container .liens-footer .et_pb_text_inner div {
  display: inline-block;
  float: left;
  padding-left: 10px;
  margin: 4px 10px 0 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}
@media (max-width: 980px) {
  #main-footer .container .liens-footer .et_pb_text_inner div {
    display: block;
    text-align: center;
    float: none;
    padding-left: 0;
    margin: 4px 10px 5px 10px;
    border-left: none;
  }
}
#main-footer .container .liens-footer .et_pb_text_inner div a {
  display: block;
  line-height: 1.1em;
  margin-bottom: 5px;
  margin-top: 5px;
  font-size: 17px;
}
#main-footer .container .liens-footer .et_pb_text_inner div a:hover {
  color: #000 !important;
}
#main-footer .container #footer-widgets {
  padding: 0;
}
#main-footer .container .footer-widget:nth-child(n) {
  margin: 0 !important;
  color: #fff;
}
#main-footer .container .footer-widget:nth-child(n) .adresse {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.1em;
}
#main-footer .container .footer-widget:nth-child(n) .adresse a {
  color: #fff;
}
@media (min-width: 1360px) {
  #main-footer .container .footer-widget:nth-child(n) .adresse {
    padding-left: 63px;
  }
}
@media (max-width: 980px) {
  #main-footer .container .footer-widget:nth-child(n) .adresse {
    padding-left: 10px;
  }
}
#main-footer .container .footer-widget:nth-child(n) .et_pb_widget {
  float: none;
}
@media (max-width: 980px) {
  #main-footer .container .footer-widget:nth-child(n) {
    width: 100% !important;
  }
  #main-footer .container .footer-widget:nth-child(n) .adresse {
    width: 49%;
    display: inline-block !important;
    margin-bottom: 30px;
  }
  #main-footer .container .footer-widget:nth-child(n) .et_pb_image {
    width: 49%;
    display: inline-block !important;
  }
}
#main-footer .container .section-footer {
  padding: 0;
}
#main-footer .container .su-post,
#main-footer .container .su-post-content {
  margin-bottom: 0;
}
#main-footer #footer-bottom {
  padding: 0px !important;
}
/* *************************** */
