/*
 Theme Name:     Et vie danse
 Theme URI:      https://cestnous.fr/
 Description:    Child Theme
 Author:         C'est Nous - L'agence
 Author URI:     https://cestnous.fr/
 Template:       Divi
 Version:        1.0.0
*/


/* GENERAL */

:root {
  --font-body: baskerville-urw, serif;
  --font-title: quiche-display, sans-serif;
  --font-broad: 'Limelight', cursive;
  --font-paris: "fleur", sans-serif;
  --font-holly: "cheap-pine", sans-serif;

  --light-brown: #DDD9D2;

  --size-sm: 16px;
  --size-reg: 18px;
  --size-larg: 20px;
  --size-xlarg: 25px;
  --size-xxlarg: 35px;

  --w-light: 300;
  --w-reg: 400;

  --transition-2: all ease-in-out .2s;
}

.dflex-center {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.et_pb_section {
  background: transparent;
  transition: var(--transition-2);
}

body {
  font-family: var(--font-body);
  line-height: normal !important;
}

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: var(--w-reg);
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: var(--w-reg);
}

h1, h2 {
  font-size: var(--size-xxlarg) !important;
}

h3 {
  text-transform: uppercase;
  font-size: var(--size-larg) !important;
}

h4 {
  font-size: var(--size-xlarg) !important;
  font-style: italic;
}

.et_button_icon_visible .et_pb_button, .et_pb_button:hover, .et_pb_module .et_pb_button:hover {
  padding-right: 3em;
  padding-left: 1.5em;
}

.et_button_custom_icon .et_pb_button:after {
  line-height: 2em;
  margin-left: 0.7em !important;
}

/* HEADER */

header {
  position: fixed;
  width: 100%;
  z-index: 100;
}

.et-menu a {
  font-family: var(--font-title);
  color: white;
  font-size: var(--size-sm);
  font-weight: var(--w-light);
}

.stickHeader {
  background: white;
}

.stickHeader .et-menu a {
  color: black;
}

.stickHeader .et_pb_social_media_follow .et_pb_social_media_follow_network_1_tb_header.et_pb_social_icon .icon:before,
.stickHeader .et_pb_social_media_follow .et_pb_social_media_follow_network_2_tb_header.et_pb_social_icon .icon:before,
.stickHeader .et_pb_social_media_follow .et_pb_social_media_follow_network_0_tb_header.et_pb_social_icon .icon:before {
  color: black;
}

.stickHeader .et_pb_social_media_follow_network_2_tb_header.et_pb_social_icon a.icon,
.stickHeader .et_pb_social_media_follow_network_1_tb_header.et_pb_social_icon a.icon,
.stickHeader .et_pb_social_media_follow_network_0_tb_header.et_pb_social_icon a.icon {
  border-color: black;
}

.et_pb_menu .et-menu>li {
  padding-left: 25px;
  padding-right: 25px;
}

.menu-item-has-children .menu-item a {
    color: black !important;
}

@media (max-width: 980px) {
  header .et_pb_row {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .et_pb_menu--style-centered .et_pb_menu__menu>nav>ul, .et_pb_menu--style-centered .et_pb_menu__wrap {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: flex-end;
  }
}

/* HOME */

#about, #events {
  padding: 80px 0;
  background: rgb(221 217 210 / 30%);
}

#events { 
  margin: 80px 0 150px;
}

#about h4, #events h4 {
  margin-top: 4vh;
}

.carousel_home {
  padding: 80px 0 !important;
}

.carousel_home .owl-stage {
  margin-left: -100px !important;
}

.carousel_home h2 {
  font-size: var(--size-xlarg) !important;
}

.carousel_home a {
  background: var(--light-brown);
  color: black;
  padding: 10px 20px;
  line-height: normal;
  margin-top: 20px !important;
  display: inline-flex;
  border-radius: 50px;
  align-items: center;
  gap: 15px;
  transition: var(--transition-2);
}

.carousel_home a:hover {
  background: black;
  color: white;
}

.carousel_home a:after {
  content: '$';
  font-size: var(--size-reg);
  font-family: 'ETmodules';
}

.carousel_home .owl-nav {
  position: absolute;
  top: -10vh;
  z-index: 1000000;
  right: 0;
}

.item_car img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

#events img {
  margin-top: -160px;
  margin-bottom: -160px;
}

@media (max-width: 980px) {
  .carousel_home .owl-stage {
    margin-left: 0px !important;
  }

  .carousel_home .owl-nav {
    top: -5vh;
  }

  #events img {
    margin-bottom: 0;
  }

  #about h4, #events h4 {
    margin-top: 0;
  }

  .carousel_home {
    padding: 40px 0 !important;
  }
}

/* FOOTER */

footer p, footer .menu_footer li {
  font-size: var(--size-sm);
}

.menu_footer ul {
  list-style: none;
  padding: 0;
  text-align: right;
}

.copyright {
    border-top: solid 1px;
    padding: 10px 0;
    margin-top: 10px;
}

.copyright p {
  text-align: center;
  font-size: 14px;
}

@media (max-width: 980px) {
  .menu_footer ul, footer p {
    text-align: center;
  }
}

/* MENU MOBILE */

.mobile_menu_bar {
    position: relative;
    z-index: 10000;
}

.mobile_nav ul.et_mobile_menu {
  position: fixed;
  width: 80%;
  height: 100vh !important;
  top: 0 !important;
  right: -81%;
  left: auto;
  transition: var(--transition-2);
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
}

.mobile_nav.opened ul {
  right: 0;
}

.et_mobile_menu li a {
  font-family: var(--font-title);
  font-size: var(--size-larg);
  padding: 10px 0;
  border: none;
  text-align: center;
  color: black;
  font-weight: 400;
}

.et_mobile_menu li li {
    padding-left: 0;
}

.menu-item-has-children .menu-item a {
    font-size: 14px;
    padding:5px 0;
}

.et_mobile_menu .menu-item-has-children>a {
    font-weight: normal;
    background-color: transparent;
}

/* PAGES */ 

.title_section {
    background-position: center;
    background-size: cover;
}

.title_section h1, .title_section h2, .title_section h3, .title_section h4, .title_section p {
  color: white;
}

.txt_col div {
    column-count: 3;
    gap: 50px;
}

#carouselPhotos1 img, #carouselPhotos2 img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

#carouselPhotos1, #carouselPhotos2 {
  margin-top: 40px;
}

@media (max-width: 980px) {
  .txt_col div {
    column-count: 1;
    gap: 0;
  }
}

.broadway h2 {
  font-family: var(--font-broad);
}

.paris h2 {
  font-family: var(--font-paris);
  font-size: 60px !important;
  font-weight: 700;
  line-height: 30px;
}

.hollywood h2 {
  font-family: var(--font-holly);
  font-size: 50px !important;
}

.formules {
  background: rgb(221 217 210 / 30%);
}

.img_square img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
    background-color: #fff;
    border: none;
    color: #4e4e4e;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.1);
    padding: 10px 20px;
    margin-top: 10px !important;
    width: 100%;
    border-radius: 20px;
	font-size: var(--size-reg);
}

input.wpcf7-submit {
    font-size: var(--size-reg);
    background-color: #e5e1d6;
    border-width: 0px!important;
    border-radius: 50px;
    padding: 10px 20px;
	transition: all ease-in-out .2s;
}

input.wpcf7-submit:hover {
    color: #e5e1d6;
    background-color: #000000;
}

.readmore .moreText {
    display:none;
}

.readmore a.more {
    display:block;
    font-weight: bold;
    text-decoration: underline;
    padding: 20px 0px;
}

#carouselMedia img {
    aspect-ratio: 1/1;
    object-fit: cover;
}