/*
 Theme Name:  Divi Child Theme
 Theme URI:    https://divilife.com
 Description:  Child Theme for Divi
 Author:       Tim Strifler
 Author URI:   https://divilife.com
 Template:     Divi
 Version:      1.0.0
*/

header .et_pb_section_0_tb_header {
  background: rgba(252, 201, 200, 0) !important;
  box-shadow: none;
  transition: background 0.5s ease-in-out 0.4s, box-shadow 0.5s ease-in-out 0.4s;
}

header .et_pb_section_0_tb_header .et_pb_row {
  transition: padding 0.5s ease-in-out;
}

header .et_pb_menu__logo-wrap img {
  max-height: 100px !important;
  transition: max-height 0.5s ease-in-out;
}

.et-db #et-boc header.et-l.scrolled .et_pb_section_0_tb_header.et_pb_section {
  /* background: rgb(153, 146, 194) !important;
  background: linear-gradient(
    90deg,
    rgba(153, 146, 194, 1) 0%,
    rgba(138, 135, 215, 1) 34%,
    rgba(129, 163, 207, 1) 100%
  ) !important; */
  background: #fcc9c8 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

header.scrolled .et_pb_section_0_tb_header .et_pb_row {
  padding: 10px 0;
}

header.scrolled .et_pb_menu__logo-wrap img {
  max-height: 60px !important;
}

/* Buttons */
.page-template-page-studio .et_pb_button:hover,
.page-template-page-atelier .et_pb_button:hover {
  color: #ffffff !important;
  border-radius: 14px !important;
  font-size: 0.875rem;
  text-transform: uppercase !important;
}

.page-template-page-studio .et_pb_button:after,
.page-template-page-atelier .et_pb_button:after {
  line-height: 27px;
}

/* Mobile Menu */
@media (max-width: 768px) {
  /*align the hamburger menu to the right right*/
  .pa-fullscreen-menu .et_pb_menu__wrap {
    justify-content: flex-end !important;
  }

  /*hide the desktop version of the menu*/
  .pa-fullscreen-menu .et_pb_menu__wrap .et_pb_menu__menu {
    display: none !important;
  }

  /*show the mobile version of the menu on desktop*/
  .pa-fullscreen-menu .et_pb_menu__wrap .et_mobile_nav_menu {
    display: block !important;
    align-items: center !important;
  }

  /*style the opened menu*/
  .pa-fullscreen-menu .opened #mobile_menu1 {
    width: 100vw !important;
    position: fixed !important;
    top: 0em !important;
    left: 0vw !important;
    height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: visibility 0.3s, opacity 0.3s ease-in-out;
    padding: 0 !important;
  }

  /*style the closed menu*/
  .pa-fullscreen-menu .closed #mobile_menu1 {
    background-color: #fff !important;
    text-align: center !important;
    width: 100vw !important;
    position: fixed !important;
    left: 100vw !important;
    top: 0em !important;
    height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
    transition: visibility 0.3s, opacity 0.3s, left 1s, ease-in-out;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /*remove the bullet points from the list items*/
  .pa-fullscreen-menu #mobile_menu1 li {
    list-style: none !important;
    text-align: center !important;
    width: 100%;
  }

  /*move the menu to the top above other elements*/
  .pa-fullscreen-menu .et_pb_menu__wrap span.mobile_menu_bar {
    z-index: 999999 !important;
  }

  /*change the opened menu icon*/
  .pa-fullscreen-menu .et_pb_menu__wrap .opened .mobile_menu_bar:before {
    content: "\4d" !important;
  }

  /*make the hamburger menu fixed position on mobile*/
  .pa-fullscreen-menu .opened .mobile_menu_bar {
    position: fixed !important;
    top: 5px;
    right: 5px;
  }

  /*remove the default blue border top on the mobile menu*/
  .pa-fullscreen-menu .et_mobile_menu {
    border-top: none;
  }

  /*remove the default background color on menu items*/
  .pa-fullscreen-menu .et_mobile_menu .menu-item-has-children > a {
    background-color: transparent;
  }

  /* Footer Menu */
  .et_pb_row_0_tb_footer {
    padding: 0;
  }

  .mt-footer-menu .et_mobile_nav_menu,
  .mt-footer-menu .mobile_nav {
    width: 100%;
  }

  .mt-footer-menu .mobile_menu_bar {
    display: none;
  }

  .mt-footer-menu .et_mobile_menu {
    display: flex;
    width: 100%;
    border: 0;
    box-shadow: none;
    flex-direction: column;
    position: relative;
    padding-top: 0;
  }

  .mt-footer-menu .et_mobile_menu li {
    text-align: center;
  }

  .mt-footer-menu .et_mobile_menu li a {
    border: 0;
  }
}

/*remove the default hover background color and adjust opacity*/
.et_mobile_menu li a:hover {
  background-color: transparent;
  opacity: 1;
}

/*remove the default border bottom on menu items*/
.pa-fullscreen-menu .et_mobile_menu li a {
  border-bottom: none;
  font-size: 24px;
  padding: 15px 5%;
}

/* Boutique */
.mt-product-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 3rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.mt-product-section__title {
  text-align: center;
  padding: 3rem 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mt-product-section__wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
}

.mt-product {
  text-align: center;
  width: 50%;
  height: 100%;
  padding: 0 15px 60px; /* max-width: 330px; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mt-product-section:not(.expand) .mt-product:nth-child(n + 4) {
  display: none;
}

.mt-product__image {
  background-color: rgba(255, 255, 255, 0.3);
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
  width: 100%;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
}

.mt-product__image .inner {
  height: 0;
  display: block;
  padding-top: 147%;
}

.mt-product__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.mt-product__title {
  font-size: 1.125rem;
  padding: 10px 0 0;
  min-height: 60px;
}

.mt-product__content hr {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  height: 0;
  width: 30px;
  border-radius: 15px;
}

.mt-product__desc {
  font-style: italic;
  font-size: 0.875rem;
  line-height: 1.7;
  width: 100%;
  min-height: 95px;
}

.mt-product__link {
  display: block;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 14px;
  margin-top: 20px;
  padding: 6px 25px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
}

.more-button {
  display: inline-block;
  width: 200px;
  border: none;
  background: none;
  color: #fff;
  text-transform: uppercase;
  text-decoration: underline;
  font-size: 1rem;
  cursor: pointer;
}

.mt-product-section.expand .more-button {
  display: none;
}

@media (min-width: 769px) {
  .mt-product {
    width: 33.333%;
    padding: 0 5% 60px;
  }

  .mt-product__image {
    width: 70%;
  }

  .mt-product__title {
    padding-bottom: 15px;
  }

  .mt-product__content hr {
    width: 80px;
  }

  .more-button {
    font-size: 1.25rem;
  }
}

/* Custom Podast page */
#main-content.podcast-page-main-content {
  background: none;
}

.podcast-page {
  max-width: 1080px;
  margin: 0 auto;
}

.podcast-page .hero-zone {
  padding-top: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.podcast-page .hero-zone .heading {
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.1em;
}

.podcast-page .hero-zone hr {
  border: 0;
  border-top: 3px solid #fff;
  width: 20%;
  max-width: 150px;
  margin: 2rem 0 3rem;
}

.podcast-page .podcast-page__content .serie-name {
  padding: 0 0 3rem;
  text-align: center;
}

.podcast-page__wrapper {
  display: flex;
  flex-direction: column;
}

.podcast-page__image {
  background-size: cover;
  width: 100%;
}

.podcast-page__image .inner {
  display: block;
  height: 0;
  padding-top: 100%;
}

.podcast-page__excerpt {
  width: 100%;
  padding: 15px 3% 2em;
  text-align: center;
}

.podcast-page__excerpt h1 {
  line-height: 1.2;
  font-size: 1.5rem;
}

.podcast-page__description {
  padding: 0 20px;
}

.podcast-page__description a {
  color: #fff;
  text-decoration: underline;
}

#mt-player {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 10000;
}

#mt-player iframe {
  position: absolute;
  bottom: 0;
}

@media (min-width: 769px) {
  .podcast-page__wrapper {
    flex-direction: row;
    padding-bottom: 3rem;
  }

  .podcast-page .hero-zone {
    padding-top: 200px;
  }

  .podcast-page__image {
    width: 40%;
  }

  .podcast-page__excerpt {
    width: 60%;
    text-align: left;
    padding-top: 0;
  }

  .podcast-page__excerpt h1 {
    font-size: 2rem;
  }

  .podcast-page__description {
    padding: 0;
  }
}

/* Podcast collection */
.podcast-collection {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.podcast-collection-block {
  background-color: #fcc9c8;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 0 3rem;
  color: #000;
}

.podcast-collection-block__image {
  background-size: cover;
}

.podcast-collection-block__image .inner {
  height: 0;
  padding-top: 100%;
  display: block;
}

.podcast-collection-block__content {
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.podcast-collection-block__content h3 {
  color: #000;
  font-size: 1.15rem;
}

.podcast-collection-block__content .season {
  padding: 0.5rem 0 0.7rem;
  display: block;
  font-family: "Cormorand Garamond", serif;
}

.podcast-collection-block__content .subtitle {
  line-height: 1.4;
  font-style: italic;
  letter-spacing: 0.1em;
  flex-grow: 1;
}

.podcast-collection-block__content .fake-link {
  display: inline-block;
  border: 2px solid #000;
  border-radius: 14px;
  color: #000;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1rem;
  font-weight: 500;
  width: 120px;
  margin: 15px auto;
  padding: 6px;
}

@media (min-width: 769px) {
  .podcast-collection-block {
    width: 30%;
  }

  .podcast-collection-block__content h3 {
    font-size: 1.375rem;
  }
}

/* Studio */
.mt-studio {
  display: flex;
  flex-direction: row;
  max-width: 1080px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.mt-studio__block {
  width: 50%;
  padding: 20px 20px 4rem;
}

.mt-studio__image {
  background-size: cover;
  background-position: center;
  display: block;
}

.mt-studio__image .inner {
  height: 0;
  display: block;
  padding-top: 100%;
}

.mt-studio__content {
  padding-top: 2rem;
  text-align: center;
}

.mt-studio__content a {
  color: #fff;
  border: 2px solid #fff;
  border-radius: 14px;
  padding: 5px 1rem;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.mt-studio__title {
  min-height: 70px;
  line-height: 1.3;
}

@media (min-width: 769px) {
  .mt-studio__block {
    width: 33.33%;
    padding: 20px 4% 4rem;
  }
}

/* Ateliers */
.mt-atelier {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.mt-atelier__block {
  border-radius: 1rem;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: row;
  background: rgb(196, 116, 138);
  background: linear-gradient(
    135deg,
    rgba(196, 116, 138, 1) 0%,
    rgba(111, 113, 154, 1) 100%
  );
  color: #fff;
  box-shadow: 0 3px 12px rgb(0 0 0 / 20%);
}

/* .mt-atelier__block:nth-child(2n) {
  background-color: #85a4de;
}

.mt-atelier__block:nth-child(3n) {
  background-color: #f8cc76;
} */

.mt-atelier__image_wrapper {
  width: 38%;
  border-radius: 1rem;
}

.mt-atelier__image {
  width: 100%;
  background-color: #fff;
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
}

.mt-atelier__image .inner {
  display: block;
  height: 0;
  padding-top: 100%;
}

.mt-atelier__content {
  width: 62%;
  padding: 15px 4% 15px 4%;
  display: flex;
  flex-direction: column;
}

.mt-atelier__title {
  font-size: 1.5rem;
  font-weight: bold;
}

.mt-atelier__subtitle {
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 200;
  line-height: 1.4;
}

.mt-atelier__subtitle:after {
  content: "";
  border-top: 3px solid #fff;
  height: 0;
  width: 60px;
  display: block;
  position: relative;
  top: 7px;
}

.mt-atelier__description {
  padding: 1rem 0;
  text-transform: uppercase;
  font-weight: 500;
}

.mt-atelier__bottom {
}

.mt-atelier__bottom a {
  display: inline-block;
  background: none;
  border: 2px solid #fff;
  border-radius: 12px;
  text-transform: uppercase;
  color: #fff;
  padding: 2px 10px;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.1rem;
}

.mt-atelier__infos {
  text-transform: uppercase;
}

.mt-atelier__headline {
  text-transform: uppercase;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  text-align: center;
  padding: 3rem 0;
}

.mt-atelier__placeholder {
  margin: 3rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 14px;
}

.mt-atelier__headline {
  text-transform: none;
  font-weight: normal;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .mt-atelier__image_wrapper {
    width: 25%;
  }

  .mt-atelier__content {
    width: 80%;
  }

  .mt-atelier__title {
    font-size: 2.31rem;
  }

  .mt-atelier__subtitle {
    font-size: 1.09rem;
  }

  .mt-atelier__bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 0;
  }
}
