/*
Theme Name: Divi Community Child Theme
Description: Theme enfant de Divi par Divi Community
Author: Julien - WebMate
Author URI: https://www.divi-community.fr
Template: Divi
Version: 1.1
*/

/*
  ____ _____     _____      ____ ___  __  __ __  __ _   _ _   _ ___ _______   __
 |  _ \_ _\ \   / /_ _|    / ___/ _ \|  \/  |  \/  | | | | \ | |_ _|_   _\ \ / /
 | | | | | \ \ / / | |    | |  | | | | |\/| | |\/| | | | |  \| || |  | |  \ V /
 | |_| | |  \ V /  | |    | |__| |_| | |  | | |  | | |_| | |\  || |  | |   | |
 |____/___|  \_/  |___|    \____\___/|_|  |_|_|  |_|\___/|_| \_|___| |_|   |_|

*/

/* 
** CENTRER DU CONTENU VERTICALEMENT 
** Voir tuto : https://www.divi-community.fr/snippets-divi/centrer-du-contenu-verticalement
*/

.dc-centrer-verticalement {
  display: flex;
  flex-direction: column;
  justify-content: center;
  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;
}

/*
** INVERSER LE SENS DES COLONNES SUR MOBILE
** Voir tuto : https://www.divi-community.fr/snippets-divi/inverser-ordre-des-colonnes-sur-mobile
*/

@media only screen and (max-width: 980px) {
  .dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
}

/*
** MENU MOBILE : en pleine largeur et le hamburger devient une croix pour fermer
*/

.et_mobile_menu {
  margin-left: -30px;
  padding: 5%;
  width: calc(100% + 60px);
}

.mobile_nav.opened .mobile_menu_bar:before {
  content: "\4d";
}

.et_pb_row.et_pb_row_0 {
  display: flex;
  align-items: center;
}
/* 
** AUGMENTER LA LARGEUR CHAMP RÉSULTAT CAPTCHA 
** Parfois, suivant la taille du texte, certains chiffres du résultat sont masqués
*/
.et_pb_contact_right p input {
  max-width: 50px;
}

/*
** METTRE EXPOSANTS ET INDICES À LA BONNE TAILLE
** Généralement, ils sont bien trop gros…
*/
sup,
sub {
  font-size: 70%;
}

.page.et_pb_pagebuilder_layout #main-content {
  background-image: url(https://www.ossystem.fr/wp-content/uploads/2021/01/degrade-fond.svg) !important;
  background-repeat: no-repeat;
  background-size: cover;
}
div.et_pb_section.et_pb_section_2 {
  background-image: none !important;
  background: transparent;
}
/* #reveal {
  margin-left: 9vw;
} */
#reveal3 {
  margin-left: 35% !important;
}
#reveal4 {
  margin-left: 56%;
}
/*
#reveal5 {
  margin-left: 55vw;
  width: 600px;
} */
@media screen and {
  max-width: 1340px;
}
 {
  #reveal {
    margin-left: 50%;
  }
}

@media screen and (max-width: 769px) {
  .et_pb_row_0 {
    display: flex !important;
    align-items: center !important;
  }
  .et_pb_row_0 div {
    margin-bottom: 0;
  }
  #reveal3 {
    margin-left: 0 !important;
  }
  #reveal4 {
    margin-left: 0;
  }
  #reveal5 {
    margin-left: 0 !important;
  }
}
@media screen and (max-width: 450px) {
  .et_pb_blurb_position_left .et_pb_blurb_container {
    padding-left: 0;
  }
  #adaptees span.dsm-text-notation-middle:hover:before {
    left: 13%;
    background-color: #15e0b4;
  }
  #argent span.dsm-text-notation-middle:hover:before,
  #argent span.dsm-text-notation-middle:before,
  #adaptees span.dsm-text-notation-middle:before {
    left: -20% !important;
    background-color: #15e0b4;
    width: 100%;
    white-space: break-spaces !important;
    /* top: 0; */
    padding-left: 10px !important;
    top: -50px !important;
    height: fit-content !important;
  }
  #adaptees span.dsm-text-notation-middle:before,
  #adaptees span.dsm-text-notation-middle:hover:before {
    left: -2% !important;
  }
}

@media screen and (max-width: 321px) {
  #argent span.dsm-text-notation-middle:hover:before,
  #argent span.dsm-text-notation-middle:before {
    left: 0% !important;
  }
}
