/*
Theme Name: Divi Enfant
Description: EEBC, theme enfant de Divi
Author: Claire Janssens
Template: Divi
*/

 /***************   COLOR ***************
#EEB000 : jaune #EEB000, rgb(218,165,32)
*/

 /***************   FONTS ***************/
@font-face {
  font-family: "outlined-iconset";
  src: url("fonts/outlined-iconset.eot");
  src: url("fonts/outlined-iconset.eot?#iefix") format("embedded-opentype"),
    url("fonts/outlined-iconset.woff") format("woff"),
    url("fonts/outlined-iconset.ttf") format("truetype"),
    url("fonts/outlined-iconset.svg#outlined-iconset") format("svg");
  font-weight: normal;
  font-style: normal;
}


/*************** MENU SMARTPHONE ***************/
@media only screen and (max-width: 767px) {

  /* replace tt le contenu a sa place */
  div#et-main-area {
    margin-left: 0px !important;
    margin-top: 80px !important;
  }

  /*-------------icone hamburger devient un bouton avec texte -----------------------------------*/
  /* design du bloc hamburger */
  .mobile_menu_bar:before {
    background-color: #eeb000;
    top: 20px;
    color: #fff !important;
  }

  /* design du bloc MENU/FERMER */
  .mobile_menu_bar::after,
  .mobile_nav.opened .mobile_menu_bar::after {
    font-family: "rubik" !important;
    font-size: 17px;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 20px 9px 10px;
    background-color: white;
    top: -4px;
    color: #000 !important;
    cursor: pointer;
  }

  .mobile_menu_bar::after {
    content: "MENU";
  }

  .mobile_nav.opened .mobile_menu_bar::after {
    content: "FERMER";
  }

  /*-------END ------icone hamburger devient un bouton avec texte -----------------------------------*/

  /*------------- Menu Mobile full-screen -----------------------------------*/

  /* icone burger devient un X quand menu ouvert */
  .mobile_nav.opened .mobile_menu_bar:before {
    font-family: "ETmodules";
    content: "\4d";
  }

  span.mobile_menu_bar {
    z-index: 9999;
  }

  /* design de la zone de menu ouvert */
  #cj-menu-pour-mobile .et_mobile_menu {
    top: 0;
    left: 0;
    position: fixed;
    z-index: 9998;
    overflow-y: scroll !important;
    max-height: 90vh !important;
    -overflow-scrolling: touch !important;
    -webkit-overflow-scrolling: touch !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    margin-left: -30px;
    padding-top: calc(90px + 3%);
    padding-bottom: 10%;
    padding-left: 0px;
    padding-right: 0px;
    height: 100%;
    width: calc(100% + 60px);
    border: none;
  }

  #cj-menu-pour-mobile .et_mobile_menu li a {
    text-align: center;
    font-size: 1.45em;
    border: 0;
    padding: 3% 0;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  /* couleur des mots du menu pr page active */
  .mobile_nav ul#mobile_menu1 .current_page_item>a {
    color: #eeb000;
  }

  .mobile_nav ul#mobile_menu1 li ul li a {
    font-size: 1.05em !important;
    margin: auto;
    padding-top: 0.2em;
    color: red;
  }

  /* couleur des mots du menu au rollover et arrière plan */
  .et_mobile_menu li a:hover {
    color: #eeb000;
    opacity: 1;
  }

  .et_mobile_menu li a:hover,
  .nav ul li a:hover {
    background-color: white;
  }

  /*-------END------ Menu Full-screen -----------------------------------*/

  /*------------- ajout icone menu mobile ------------------------------*/

  /*.cj-menumot-nouveau:before, .cj-menumot-activites:before, .cj-menumot-agenda:before, .cj-menumot-ressources:before, .cj-menumot-contact:before, .cj-menumot-sermons:before  */
  .et_mobile_menu li a:before {
    /*position: absolute;
        display: inline-block;*/
    font-family: "outlined-iconset";
    font-size: 20px;
    color: black;
    font-weight: normal;
    padding-right: 2%;
  }

  .cj-menumot-accueil a {
    margin-left: 2%;
  }

  .cj-menumot-nouveau a:before {
    content: "";
  }

  .cj-menumot-activites a:before {
    content: "";
  }

  .cj-menumot-agenda a:before {
    content: "";
  }

  .cj-menumot-ressources a:before {
    content: "";
  }

  .cj-menumot-contact a:before {
    content: "";
  }

  .cj-menumot-sermons a:before {
    content: "";
  }

  /*-----END-------- ajout icone menu mobile -----------------------------------*/
}




/*************** HEADINGS ***************/
h2 {
  font-family: "rubik" !important;
  font-size: 28px !important;
  text-transform: uppercase;
  color: #4c4c4c !important;
}

h2:before {
  content: "—";
  color: #eeb000;
  font-weight: 100;
  padding-right: 6px;
}

/* supp du filet before H2 vue mensuelle agenda */
.fc-header-title h2:before {
  content: none;
}

/*fleche avant h3 valeurs*/
.cj-list-valeurs h3::before {
  content: "→";
  color: #eeb000;
  float: left;
  margin-left: -1.5em;
}

.cj-titre-popup-reprisecultes h5 {
  font-family: "rubik" !important;
  font-size: 30px !important;
  color: #4c4c4c !important;
}

 /*************** DIVERS ***************/
/* classe pr centrer verticalement ds 1 colonne */
.cj-vertical-align {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* supprime bouton ical de la grille events */
#cj-grid-calendar .fc-footer {
  display: none;
}

#cj-grid-calendar-accueil .fc-footer {
  display: none;
}

/* decale tout le contenu vers la droite, de la largeur du menu vertical */
 #et-main-area {
  margin-left: 100px !important;
} 

@media all and (min-width: 768px) and (max-width: 980px) {
  /* decale tout le contenu vers la droite, de la largeur du menu vertical */
   div#et-main-area {
    margin-left: 110px !important;
  } 
}

/* pr mettre des elements au premier plan (ds css avancé de la ligne)*/
.cj-element-overlap {
  z-index: 10 !important;
}


/************** BOUTONS STANDARD ***************/
.et_pb_module a.cj_button {
  background-color: #eeb000;
  background-image: linear-gradient(to right, #eeb000, #e6c000, #eeb000);
  display: inline-block !important;
  cursor: pointer;
  position: relative;
  transition: color 0.35s ease, background-position 0.3s ease-in-out,
    background-color 0.35s ease, box-shadow 0.3s ease-in-out;
  z-index: 1;
  overflow: hidden;
  background-size: 200% 100%;
  background-position: 0 0;
}

.et_pb_module a.cj_button:hover {
  background-image: linear-gradient(to right, #eeb000, #e6c000, #eeb000);
  background-position: 100% 100% !important;
}

/************** BLOCKQUOTES ***************/
.cj-quote-separateur {
  z-index: -1;
}

/************** BOUTONS MOSAIC ***************/
.cj-button-mosaic {
  display: inline !important;
}

/************** LIST ***************/
/*enlever signe d'origine */
#cj-different-bullet-list ul li {
  list-style-type: none;
  margin-left: 1.5em;
}

#cj-different-bullet-list li {
  display: list-item;
  text-align: -webkit-match-parent;
}

/*ajout d'un nouveau signe devant */
#cj-different-bullet-list ul li::before {
  content: "→";
  color: #eeb000;
  float: left;
  margin-left: -2em;
}

#cj-different-bullet-list ul {
  max-width: 500px;
  text-align: justify;
}



/************** PAGE ACCUEIL ***************/

.header_full_custom.et_pb_fullwidth_header_0 .header-content .et_pb_fullwidth_header_subhead {
  margin-bottom: 5%;
}

.et_pb_fullwidth_header p {
  padding-bottom: 5%;
}

.cj-fullscreen-header {
  height: 100vh;
}

/* effet rebond de la fleche*/
.header_full_custom.et_pb_fullwidth_header_0 .et_pb_fullwidth_header_scroll a .et-pb-icon {
  margin-bottom: 15px;
  display: inline-block;
  /* effet rebond*/
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  -ms-transform: perspective(1px) translateZ(0);
  -moz-transform: perspective(1px) translateZ(0);
  -o-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;

  -webkit-animation-name: hvr-wobble-vertical;
  -moz-animation-name: hvr-wobble-vertical;
  animation-name: hvr-wobble-vertical;
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  -moz-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@-webkit-keyframes hvr-wobble-vertical {
  16.65% {
    -webkit-transform: translateY(8px);
    -ms-transform: translateY(8px);
    transform: translateY(8px);
  }

  33.3% {
    -webkit-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
  }

  49.95% {
    -webkit-transform: translateY(4px);
    -ms-transform: translateY(4px);
    transform: translateY(4px);
  }

  66.6% {
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
  }

  83.25% {
    -webkit-transform: translateY(1px);
    -ms-transform: translateY(1px);
    transform: translateY(1px);
  }

  100% {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes hvr-wobble-vertical {
  16.65% {
    -webkit-transform: translateY(8px);
    -ms-transform: translateY(8px);
    transform: translateY(8px);
  }

  33.3% {
    -webkit-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
  }

  49.95% {
    -webkit-transform: translateY(4px);
    -ms-transform: translateY(4px);
    transform: translateY(4px);
  }

  66.6% {
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
  }

  83.25% {
    -webkit-transform: translateY(1px);
    -ms-transform: translateY(1px);
    transform: translateY(1px);
  }

  100% {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

/* cacher bouton abonnement agenda*/
#cj-grid-calendar-accueil .fc-footer.dlg-align-right {
  display: none;
}


/*************** PAGE MISSION ***************/
/* gros chiffres */
.cj-bloc-mission-gauche1:before,
.cj-bloc-mission-gauche2:before,
.cj-bloc-mission-droite:before {
  position: absolute;
  font-family: "rubik";
  font-size: 5vw;
  color: white;
  opacity: 0.5;
  padding-top: 70%;
  z-index: 13;
}

.cj-bloc-mission-gauche1:before {
  content: "#01";
  padding-left: 10%;
}

.cj-bloc-mission-gauche2:before {
  content: "#03";
  padding-left: 10%;
}

.cj-bloc-mission-droite:before {
  content: "#02";
  padding-left: 14%;
}

/*************** PAGE AGENDA ***************/

.cj-grid-calendar.fc-footer.dlg-align-center {
  display: none !important;
}

/*** enleve separateur entre content et sidebar ***/
#main-content .container:before {
  background: none;
}

/*** Agrandis la zone de content en pleine largeur ***/
@media (min-width: 981px) {
  #left-area {
    width: 100%;
    padding: 23px 0 0 !important;
    float: none !important;
  }
}

/*** cache Sidebar ***/
#sidebar {
  display: none;
}

/*** titre page event single ***/
.events.type-events h1.entry-title {
  font-family: "rubik";
  color: #4c4c4c;
  font-size: 50px !important;
  text-transform: uppercase;
  text-align: center;
}

/*** nom du mois ds vue mensuelle ou semaine ***/
.fullCalendar .fc-header-title h2 {
  font-family: "rubik";
  color: black;
  font-size: 30px !important;
  text-align: center;
}

@media only screen and (min-width: 768px) and (max-width: 980px) {
.fullCalendar .fc-header-title h2 {
font-size: 20px !important;
}
.fc-header-center .fc-header-title {
  left:5%;
}
}

/*** font de la description sur page single event ***/
#left-area {
  font-family: arial;
  font-size: 16px;
  line-height: 1.4;
}

/*** espace avant grid ***/
body .grid-gallery ul.rhg_grid {
  margin: 15px 0 0;
}

/*** titre tooltip ***/
.fct-header .fc-title a {
  font-size: 22px;
}

/*** changer icone de fin d'evenement ds grid ***/
[class*="grid-"] .icon-postmeta-fc_end_datetime::before {
  font-family: "rhcgallery";
  content: "\e609" !important;
  font-size: 23px !important;
}

/*** ajouter filet avant infos ds single event ***/
.fe-extrainfo-container.se-dbox::before {
  content: "";
  display: inline-block;
  position: relative;
  text-align: center;
  border-top: 1px solid black;
  width: 18rem;
  left: 50%;
  margin: 20px auto 40px -9rem;
}

/* google map sur page single event*/
.rhc .sws-gmap3-frame {
  padding: 0px !important;
}

/*** ajuster espace sous titre ds grid view ***/
.fc-title.noslide-link.fc-event-link.griditem-title {
  margin-top: 15px;
  margin-bottom: 15px;
}

/*** enlever bouton ics ***/
.ical-tooltip .fbd-buttons {
  display: none;
}

/*** enlever icone map ds vue accordeon sur page d'accueil ***/
.rhc-map-social-buttons {
  display: none;
}

/*** texte informatif à l'abonnement ***/
p.rhc-icalendar-description {
  color: red;
  font-weight: 600;
}

.rhc-accordion-widget-item .rhc-title {
  line-height: 1.3;
}


/*************** PAGE FAQ ***************/

/* overlay pr arriere plan avec ou sans parallax */
.cj_bakckground_faq .et_parallax_bg:before,
.cj_bakckground_faq:before {
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.67);
}

/*************** PAGE CONTACT ***************/
.cj-carte-google .infowindow p {
  padding: 10px !important;
  text-align: center !important;
}

/*************** PAGE MAINTENANCE ***************/
.page-id-1161581 .cj-menu-icon-container {
  display: none;
}

/*************** PAGE des EVENEMENTS ***************/
.cj-event-description-new .rhc-gmap {
  max-height: 400px;
}

.cj-event-description-new .rhc_top_image,
.cj-event-description-new .rhc-icon-location,
.cj-event-description-new .fe-extrainfo-label,
.cj-event-description-new .fe-extrainfo-container {
  display: none;
}

/* align vertical blurb */
.cj-blurb-vertical-align .et_pb_blurb_position_left .et_pb_blurb_container,
.cj-blurb-vertical-align .et_pb_blurb_position_right .et_pb_blurb_container {
  vertical-align: middle !important;
  position: relative !important;
  top: 4px !important;
}

.cj-event-description-new #cj-event-description-content {
  margin-left: 51px !important;
  margin-bottom: 30px !important;
  max-width: 65% !important;
}

/*************** PRE FOOTER ************** voir css ds pre footer */
.cj_prefooter_link a {
  color: #4c4c4c;
}

.cj_prefooter_link a:hover {
  color: #91908c;
}

/**************** BACK TO TOP BUTTON ****************/
.et_pb_scroll_top.et-pb-icon {
  margin-right: 30px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.et_pb_scroll_top:before {
  content: "\21";
}

/**************** STYLES tablette portrait ****************/
@media only screen and (min-width: 768px) and (max-width: 980px) {
  h2 {
    font-size: 30px !important;
  }

  /*** espace blurb horaires cultes ***/
  .et_pb_blurb_0 .et_pb_module_header {
    margin-top: -30px;
  }
}

@media only screen and (min-width: 981px) and (max-width: 1300px) {
  #cj-section-appli-sermon {
    margin-top: 30px !important;
  }
}

/*********************************************************************************************/
/**************** STYLES smartphone ****************/
@media only screen and (max-width: 767px) {
  h2 {
    font-size: 22px !important;
  }

  /*** espace blurb horaires cultes ***/
  .et_pb_blurb_0 .et_pb_module_header {
    margin-top: -30px;
  }

  /*** nom du mois ds vue mensuelle ou semaine ***/
  .fullCalendar .fc-header-title h2 {
    font-size: 20px !important;
  }

  /*** titre page event single ***/
  .events.type-events h1.entry-title {
    font-size: 30px !important;
  }

  /*** filet sous image ***/
  .fe-extrainfo-container.se-dbox::before {
    display: none;
  }
}

/**************** STYLES smartphone et tablette portrait ****************/
@media all and (max-width: 980px) {
  .page-id-59 .et_parallax_bg {
    display: none;
  }

  #cj-different-bullet-list ul li {
    list-style-type: none;
    margin-left: 0;
  }

  #cj-different-bullet-list ul li::before {
    margin-left: -1.2em;
  }

  /*** titre event ds accordeon widget ***/
  .page-id-44 .rhc-title {
    line-height: 1.3;
  }
}

/**************** MOBILE ORDRE des MODULES ****************/
@media all and (max-width: 980px) {

  /*** 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;
  }

  /*** classes pr gérer ordre des éléments ***/
  .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;
  }

  /*** ajout marge à la dernière colonne***/
  .custom_row:last-child .et_pb_column:last-child {
    margin-bottom: 30px;
  }
}