/*
 Theme Name:     Divi Child
 Description:    Theme Enfant Divi
 Author:         Olivier Denux - DENUX PRODUCTIONS
 Author URI:     https://www.denux-productions.com
 Template:       Divi
 Version:        2020
*/
 
 
/* début de la personnalisation*/

@import url("https://fonts.googleapis.com/css?family=|");
html body div#et-top-navigation ul.nav .current_page_item > a {
  height: auto;
  text-align: center;
  text-decoration: none;
  font-style: normal;
  text-shadow: none;
  display: inline-block;
  font-size: 14px;
  line-height: 20px;
  font-weight: bold;
  text-transform: uppercase;
  border: 1px solid #305ea9;
  padding: 1vw 2vw;
  color: #305ea9;
  border-radius: 2px;
  background: transparent;
  transition: all 300ms ease;
  font-family: Arial, Helvetica, sans-serif;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #ffffff;
  background-color: white;
  color: red;
  border: none;
}
html body div#et-top-navigation ul.nav .current_page_item > a:before,
html body div#et-top-navigation ul.nav .current_page_item > a:after {
  display: none;
}
html body div#et-top-navigation ul.nav .current_page_item > a:active {
  position: relative;
  top: 1px;
}
html body div#et-top-navigation ul.nav .current_page_item > a:hover {
  background: #305ea9;
  color: #ffffff;
}
html body header#main-header {
  background-color: #e83e3e;
  width: 80.4%;
  right: 9.8%;
  left: 9.8%;
  height: 88px;
  background: -o-linear-gradient(315deg, transparent 0px, #e83e3e 0) top left, -o-linear-gradient(225deg, transparent 0px, #e83e3e 0) top right, -o-linear-gradient(135deg, transparent 10px, #e83e3e 0) bottom right, -o-linear-gradient(45deg, transparent 10px, #e83e3e 0) bottom left;
  background: linear-gradient(135deg, transparent 0px, #e83e3e 0) top left, linear-gradient(225deg, transparent 0px, #e83e3e 0) top right, linear-gradient(315deg, transparent 10px, #e83e3e 0) bottom right, linear-gradient(45deg, transparent 10px, #e83e3e 0) bottom left;
  background-size: 51% 51%;
  background-repeat: no-repeat;
  background-image: -o-radial-gradient(0 0, circle, rgba(232, 62, 62, 0) 0px, #e83e3e 0px), -o-radial-gradient(100% 0, circle, rgba(232, 62, 62, 0) 0px, #e83e3e 0px), -o-radial-gradient(100% 100%, circle, rgba(232, 62, 62, 0) 14px, #e83e3e 15px), -o-radial-gradient(0 100%, circle, rgba(232, 62, 62, 0) 14px, #e83e3e 15px);
  background-image: radial-gradient(circle at 0 0, rgba(232, 62, 62, 0) 0px, #e83e3e 0px), radial-gradient(circle at 100% 0, rgba(232, 62, 62, 0) 0px, #e83e3e 0px), radial-gradient(circle at 100% 100%, rgba(232, 62, 62, 0) 14px, #e83e3e 15px), radial-gradient(circle at 0 100%, rgba(232, 62, 62, 0) 14px, #e83e3e 15px);
  border-color: rgba(0, 0, 0, 0) !important;
  border-style: none;
  border: none;
}
/*********************************************/
/* Les éléments du menu - OD **/
/* le menu actif */
html body div#et-top-navigation ul.nav .current_page_item > a {
  height: 40px;
  font-family: "Lobster Two", display;
  font-size: 20px;
  text-transform: none;
}
/* le menu non actif */
html body div#et-top-navigation ul.nav li a {
  height: auto;
  text-align: center;
  text-decoration: none;
  font-style: normal;
  text-shadow: none;
  display: inline-block;
  /*font-size: 16px;*/
  line-height: 20px;
  font-weight: bold;
  text-transform: uppercase;
  border: 1px solid #305ea9;
  padding: 1vw 2vw;
  color: #305ea9;
  border-radius: 2px;
  background: transparent;
  transition: all 300ms ease;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #e83e3e;
  background-color: white;
  color: red;
  border: none;
  /*max-height: 60px;*/
  font-family: "Lobster Two", display;
  font-size: 20px;
  text-transform: none;
}
html body div#et-top-navigation ul.nav .current_page_item > a {
  height: auto;
  color: #305ea9;
}
html body div#et-top-navigation ul.nav .current_page_item > a:hover {
  height: auto;
  color: #305ea9;
  background: white 0;
  transition: none;
}
/*******************************************/
html body div#et-top-navigation ul.nav li a:before,
html body div#et-top-navigation ul.nav li a:after {
  display: none;
}
html body div#et-top-navigation ul.nav li a:active {
  position: relative;
  top: 1px;
}
html body div#et-top-navigation ul.nav li a:hover {
  background: #305ea9;
  color: #ffffff;
}
html body div#footer-bottom {
  background-color: #e83e3e;
}
.post-36 .et_pb_section:nth-child(1) .et_pb_text h2 {
  font-family: "Lobster Two", display;
}
/* OD : pour forcer la vue du bandeau au dessus du menu sur tablette et smartphone */
/****************************************/
html body .mobile_nav {
  margin-top: -90px;
  background-color: rgba(0, 0, 0, 0) !important;
}
/*modifier la couleur du menu hamburger */
span.mobile_menu_bar:before {
  color: white;
}
/*pour enlever la ligne bleu au dessus du menu déroulant sur smartphone */
.et_mobile_menu {
  border-top: none;
  margin-top: -15px;
}
/* supprimer la ligne grise sous le menu principal de DIVI*/
#main-header {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
/**************************************/
/***enlever le texte "selectionnez une page" dans le menu hamburger ***/
.select_page {
  font-size: 0px !important;
}
/* fin du code CSS pour enlever "selectionnez une page" **/
html body div#et-top-navigation {
  height: 60px;
  font-size: 18px;
}
/**********************************************/
/* CSS voitures vendus *********************/
.et_pb_gallery_0 .et_pb_gallery_item.et_pb_grid_item .et_pb_gallery_image img {
  border-bottom-style: solid;
}
html body div#main-content {
  max-width: 80%;
  margin-left: 10%;
  margin-right: 10%;
}
#sidebar .et_pb_widget input[type=submit] {
  width: 90px;
}
html body div#et-top-navigation ul.nav .current-menu-item > a {
  color: #305ea9;
}
html body div#et-top-navigation ul.nav .current-menu-item > a {
  height: auto;
  color: #305ea9;
  background: white;
  transition: none;
}
html body div#et-top-navigation ul.nav .current_page_item > a {
  color: #305ea9;
}
html body div#et-top-navigation ul.nav li {
  padding-right: 15px;
}
@media only screen and (max-width: 980px) {
  #wtfdivi004-page-start-img,
  #myprefix-page-start-img {
    display: block !important;
    width: 100%;
  }
  #top-header,
  #main-header {
    position: relative !important;
    top: 0 !important;
  }
  #page-container {
    padding-top: 0 !important;
  }
  .post-36 .et_pb_section:nth-child(1) {
    padding-top: 30px;
  }
  .post-723 .et_pb_section:nth-child(3) {
    margin-top: -35px;
  }
}
@media screen and (max-width: 1024px) {
  /*taille du menu pour des écrans de 1024px
html body div#et-top-navigation ul.nav{width: 800px;
height: 60px;
}*/
  /* html body div#et-top-navigation ul.nav li{font-size: 14px;
height: 35px;
max-height: 40px;
}*/
  /*
html body div#et-top-navigation ul.nav li a{font-size: 14px;
line-height: 20px;
max-height: 40px;
height: 34px;
}

html body div#et-top-navigation ul.nav .current-menu-item>a{font-size: 14px;
max-height: 40px;
height: 34px;
}

html body div#et-top-navigation ul.nav .current_page_item>a{font-size: 14px;
}

html body div#et-top-navigation ul.nav{font-size: 14px;
}

html body div#et-top-navigation ul.nav li a{font-size: 14px;
}*/
  html body div#et-top-navigation ul.nav li {
    padding-right: 5px;
  }
  html body div#et-top-navigation {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .post-723 .et_pb_section:nth-child(3) .et_pb_row:nth-child(1) {
    padding-top: 0;
    padding-right: 20px;
    margin-left: 75;
    margin-top: -20px;
  }
  .post-723 .et_pb_section:nth-child(2) .et_pb_row:nth-child(1) {
    padding-bottom: 0;
    padding-left: 20px;
  }
  .post-723 .et_pb_section:nth-child(2) {
    padding-left: 0px;
  }
  .post-723 .et_pb_section:nth-child(3) {
    padding-right: 0px;
    margin-top: -25px;
  }
}
@media screen and (max-width: 568px) {
  .et_fixed_nav.et_show_nav.et_header_style_centered #page-container {
    margin-top: -5px;
  }
}
@media screen and (max-width: 320px) {
  .et_fixed_nav.et_show_nav.et_header_style_centered #page-container {
    margin-top: -5px;
  }
  .post-36 .et_pb_section:nth-child(1) {
    padding-top: 10px;
  }
}
@media only screen and (max-width: 980px) {
  #wtfdivi004-page-start-img,
  #myprefix-page-start-img {
    display: block !important;
    width: 100%;
  }
  #top-header,
  #main-header {
    position: relative !important;
    top: 0 !important;
  }
  #page-container {
    padding-top: 0 !important;
  }
}
@media screen and (max-width: 1024px) {
  html body div#et-top-navigation ul.nav .current_page_item > a {
    height: auto;
    text-align: center;
    text-decoration: none;
    font-style: normal;
    text-shadow: none;
    display: inline-block;
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #305ea9;
    padding: 1vw 1vw;
    color: #305ea9;
    border-radius: 2px;
    background: transparent;
    transition: all 300ms ease;
    font-family: Arial, Helvetica, sans-serif;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    color: #ffffff;
    background-color: white;
    color: red;
    border: none;
  }
  html body div#et-top-navigation ul.nav .current_page_item > a:before,
  html body div#et-top-navigation ul.nav .current_page_item > a:after {
    display: none;
  }
  html body div#et-top-navigation ul.nav .current_page_item > a:active {
    position: relative;
    top: 1px;
  }
  html body div#et-top-navigation ul.nav .current_page_item > a:hover {
    background: #305ea9;
    color: #ffffff;
  }
  html body div#et-top-navigation ul.nav .current_page_item > a {
    height: 40px;
    font-family: "Lobster Two", display;
    font-size: 14px;
    text-transform: none;
  }
  html body header#main-header {
    height: 65px;
  }
  html body div#et-top-navigation ul.nav li a {
    height: auto;
    text-align: center;
    text-decoration: none;
    font-style: normal;
    text-shadow: none;
    display: inline-block;
    line-height: 20px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #305ea9;
    padding: 1vw 1vw;
    color: #305ea9;
    border-radius: 2px;
    background: transparent;
    transition: all 300ms ease;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    color: #e83e3e;
    background-color: white;
    color: red;
    border: none;
    max-height: 60px;
    font-family: "Lobster Two", display;
    font-size: 14px;
    text-transform: none;
  }
  html body div#et-top-navigation ul.nav li a:before,
  html body div#et-top-navigation ul.nav li a:after {
    display: none;
  }
  html body div#et-top-navigation ul.nav li a:active {
    position: relative;
    top: 1px;
  }
  html body div#et-top-navigation ul.nav li a:hover {
    background: #305ea9;
    color: #ffffff;
  }
  .post-36 .et_pb_section:nth-child(1) {
    padding-top: 50px;
  }
}
@media screen and (max-width: 768px) {
  html body header#main-header {
    background-image: none;
  }
  .et_header_style_centered #main-header .logo_container {
    display: none;
  }
  .logo_container img {
    background-image: url("http://www.joesdreamcars.com/wp-content/uploads/2020/04/bandeau-joelcarsdream-final-768x240.jpg");
    background-position: center;
    background-attachment: scroll;
    height: 300px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  html body header#main-header #logo {
    margin-bottom: 87px;
    margin-top: 51px;
    background-image: none;
  }
  #main-header {
    height: 600px;
    margin-top: 0px;
  }
  html body .mobile_nav {
    margin-top: -40px;
    background-color: #e83e3e !important;
  }
  .post-36 .et_pb_section:nth-child(1) {
    margin-top: 0px;
    padding-top: 0px;
  }
  .et_fixed_nav.et_show_nav.et_header_style_centered #page-container {
    margin-top: -5px;
  }
}
.post-723 .et_pb_section:nth-child(4) .et_pb_row:nth-child(1) .et_pb_column:nth-child(1) {
  margin-top: -600px;
}
.post-723 .et_pb_section:nth-child(4) .et_pb_image img {
  position: static;
}
.post-723 .et_pb_section:nth-child(4) .et_pb_row:nth-child(1) {
  margin-left: 0;
  margin-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0px;
}
.post-723 .et_pb_section:nth-child(4) .et_pb_text {
  display: none;
}
.post-723 .et_pb_section:nth-child(4) {
  display: none;
}
.post-36 .et_pb_section:nth-child(3) .et_pb_slider .et_pb_slide_description {
  display: none;
}
/*modif OD pour le slider de l'accueil */
.post-36 .et_pb_section:nth-child(3) .et_pb_slider .et_pb_slide_image img {
  margin-left: auto;
  margin-right: auto;
}
.post-36 .et_pb_section:nth-child(3) .et_pb_slider .et_pb_slide_image img {
  min-width: 600px;
  height: inherit;
}
.et_pb_grid_item:not(.first_in_row) {
  padding-bottom: 0px;
  padding-left: 0px;
}
.et_pb_gallery_grid .et_pb_gallery_item {
  padding-bottom: 0px;
  padding-left: 0px;
  margin-bottom: 0;
}
.post-809 .et_pb_section:nth-child(1) .et_pb_text p {
  padding-bottom: 0px;
}
#comment-wrap #respond input[type=submit] {
  background: #e83e3e;
  border: none;
  color: white;
  font-family: "Lobster Two", display;
}
.post-819 .et_pb_section:nth-child(1) .et_pb_text h2 {
  font-family: "Lobster Two", display;
}
#sidebar .et_pb_widget input[type=text] {
  width: 300;
}
.post-410 .et_pb_section:nth-child(1) .et_pb_text h3 {
  font-family: lobster;
  color: #ffffff;
  line-height: 34px;
}
/* modification position onglet répondre dans blog */
#comment-wrap a.comment-reply-link {
   padding-top: 6px;
   margin-top: -45px;
}
