/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */
.link--absolute {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 90;
}

.et_pb_menu__logo {
  position: relative;
  overflow: visible !important;
}

.et_pb_menu__logo img {
  max-height: 45px !important;
}

.et_pb_menu__logo::before {
  content: "Production";
  font-family: "HaasGrotDisp-45Light", Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  color: #cce5d8;
  position: absolute;
  left: 205px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  top: 3px;
}

.et_pb_menu__logo::after {
  content: "Designer";
  font-family: "HaasGrotDisp-45Light", Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  color: #cce5d8;
  position: absolute;
  left: 205px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  top: 24px;
}

#menu-menu-principal .current-menu-item a {
  text-decoration: underline !important;
}

.project {
  background: #221c18;
}

.project-container,
.about-container {
  width: 96%;
  display: flex;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
  max-width: 1920px;
}

.project .entry-content {
  padding-top: 30px;
}

.project-container--left,
.about-container--left {
  width: 20%;
}

.project-container--main,
.about-container--main {
  width: 60%;
  padding-bottom: 50px;
}

.project-container--right,
.about-container--right {
  width: 20%;
  padding-left: 3%;
}

.project-container__heading,
.about-container__heading {
  font-family: "HaasGrotDisp-45Light", Helvetica, Arial, Lucida, sans-serif;
  font-size: 15px;
  color: #cce5d8 !important;
  text-transform: uppercase;
}

.project-container__title,
.about-container__title {
  font-family: "HaasGrotDisp-55Roman", Helvetica, Arial, Lucida, sans-serif;
  font-size: 26px;
  color: #cce5d8 !important;
  text-transform: none;
}

.project-container__heading--toggle {
  cursor: pointer;
}

.project-container__heading--toggle::before {
  content: "+";
  display: inline-block;
  padding-right: 10px;
  font-size: 20px;
  opacity: 0;
}

.project-process__heading {
  font-family: "HaasGrotDisp-45Light", Helvetica, Arial, Lucida, sans-serif;
  color: #cce5d8 !important;
  letter-spacing: 0.5px;
  padding-bottom: 20px;
  text-transform: uppercase;
}

.project-container__video video {
  width: 100%;
  display: block;
}

.project-container__images {
  padding-top: 15px;
  border-top: 1px solid #cce5d8;
  margin-top: 50px;
}

.project-container__image {
  padding-bottom: 20px;
}

.project-container__image img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.project-container__image--double {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.project-container__image--double img {
  width: 48.5%;
}

.project-container-info__block {
  padding-top: 20px;
}

.project-container-info__item {
  padding-left: 23px;
}

.project-container-info__title {
  font-family: "HaasGrotDisp-45Light", Helvetica, Arial, Lucida, sans-serif;
  color: #cce5d8;
  font-weight: 800;
  font-size: 15px;
  padding-bottom: 1px !important;
}

.project-container-info__text {
  font-family: "HaasGrotDisp-45Light", Helvetica, Arial, Lucida, sans-serif;
  color: #cce5d8;
  font-weight: 500;
  padding-bottom: 1.2em !important;
}

.projects__list {
  display: flex;
  flex-wrap: wrap;
  background-color: #221c18;
}

.projects__item {
  width: 33.333%;
  position: relative;
}

.projects__image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.projects__image img {
  display: block;
  width: 100%;
  transition: all 0.65s ease-in-out;
  transform: scale(1.03);
}

.projects__text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #cce5d8;
  z-index: 10;
  opacity: 0;
  font-family: "HaasGrotDisp-45Light", Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  color: #221c18;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.25s ease-in-out;
}

.projects__item:hover img {
  transform: scale(1.25);
}

.projects__item:hover .projects__text {
  opacity: 1;
}

body.home .et_pb_row_0_tb_header.et_pb_row {
  border: none;
}

body.paint_background_dark {
  background-color: #221c18 !important;
}

body.paint_background_green,
body.paint_background_green .project,
body.page-template-page-template-personal {
  background-color: #cce5d7 !important;
}

body.page-template-page-template-personal .projects__list,
body.page-template-page-template-personal
  .et_pb_section_0_tb_footer.et_pb_section,
body.page-template-page-template-personal
  .et_pb_section_0_tb_header.et_pb_section {
  background-color: #cce5d7 !important;
}

body.page-template-page-template-personal
  .et_pb_menu--with-logo
  .et_pb_menu__menu
  > nav
  > ul
  > li
  > a {
  color: #221c18 !important;
}

body.page-template-page-template-personal .project-container--right {
  display: none;
}

body.paint_background_green .project-container__title,
body.paint_background_green .project-container__heading,
body.paint_background_green .project-container-info__title,
body.paint_background_green .project-container-info__text {
  color: #221c18 !important;
}

body.paint_background_green .project-container__images {
  border-color: transparent;
}

body.paint_background_green .project-container-info {
  border-color: #221c18;
}

body.page-template-page-template-about #main-content {
  background-color: #221c18 !important;
  min-height: calc(100vh - 235px);
}

.about-container__image--main {
  width: 40%;
}

.about-container--main {
  display: flex;
  flex-wrap: wrap;
}

.about-container-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 60%;
  padding-left: 10%;
}

.about-container__heading--credits {
  margin-top: 20px;
  text-transform: uppercase;
}

.about-container__heading--spanish {
  font-family: "HaasGrotDisp-45Light", Helvetica, Arial, Lucida, sans-serif;
  text-transform: none;
  font-size: 24px;
  line-height: 1.2;
}

.about-container__heading--english {
  font-family: "HaasGrotDisp-45Light", Helvetica, Arial, Lucida, sans-serif;
  text-transform: none;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 30px;
}

.about-container-info__heading {
  margin-bottom: 30px;
}

.about-container-info__subheading {
  font-family: "HaasGrotDisp-45Light", Helvetica, Arial, Lucida, sans-serif;
  color: #cce5d8;
  font-size: 18px;
  margin-bottom: 10px;
}

.about-container-info__link {
  font-family: "HaasGrotDisp-45Light", Helvetica, Arial, Lucida, sans-serif;
  color: #cce5d8;
  font-size: 18px;
  font-weight: 700;
  text-decoration: underline;
}

@media only screen and (max-width: 980px) {
  .projects__item {
    width: 50%;
  }

  .project-container--main,
  .about-container--main {
    width: 80%;
  }

  .project-container__images,
  .about-container__images {
    margin-top: 20px;
  }

  .project-container--left,
  .about-container--left {
    width: 100%;
    margin-bottom: 20px;
  }

  .about-container--left {
    order: 1;
  }

  .project-container--main,
  .about-container--main {
    width: 100%;
  }

  .about-container--main {
    display: block;
    order: 3;
  }

  .project-container--right,
  .about-container--right {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    padding-left: 0;
  }

  .about-container--right {
    display: block;
    order: 2;
  }

  .project-container__heading {
    display: none;
  }

  .about-container__heading {
    display: block;
  }

  .project-container-info,
  .about-container-info {
    width: 100%;
    padding-bottom: 0;
    border-bottom: 1px solid #cce5d8;
    margin-bottom: 50px;
  }

  .about-container-info {
    border-bottom: none;
  }

  body.paint_background_green .project-container-info {
    margin-bottom: 25px;
  }

  .project-container-info__block {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    padding-right: 20px;
  }

  .project-container-info__item {
    padding-left: 0;
  }

  .about-container__image--main {
    width: 60%;
  }

  .about-container-intro {
    padding-left: 0;
  }

  .about-container__heading--english {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .about-container__heading--spanish {
    font-size: 18px;
    margin-bottom: 0;
  }

  .about-container__heading--credits {
    margin-bottom: 30px;
    margin-top: 10px;
  }

  .about-container-info__heading {
    margin-bottom: 0px;
  }

  .about-container-info__subheading {
    margin-bottom: 5px;
  }
}

@media only screen and (max-width: 650px) {
  .et_pb_menu__logo-wrap {
    width: 50% !important;
  }

  .et_pb_menu__logo::before,
  .et_pb_menu__logo::after {
    left: 120%;
  }

  .projects__item {
    width: 100%;
  }

  .project-container--right {
    display: flex;
    flex-wrap: wrap;
  }

  .project-container__heading {
    /* display: block;
        width: 100%; */
  }

  .project-container__images {
    padding-top: 5px;
  }

  .project-container-info {
    /* display: none; */
  }

  .project-container-info__text {
    padding-bottom: 0.5em !important;
  }

  .project-container-info.project-container-info--expaned {
  }

  .project-container-info__block {
    flex-wrap: wrap;
  }

  .project-container-info__item {
    width: 50%;
  }

  .project-container__image--double img {
    width: 100%;
    margin-bottom: 25px;
  }

  .about-container-intro {
    width: 100%;
  }
}

/* Header */

header.et-l--header {
  position: relative;
  z-index: 999;
}

body.page-template-page-template-personal .et_pb_menu__logo::before {
  color: #221c18;
}

body.page-template-page-template-personal .et_pb_menu__logo::after {
  color: #221c18;
}

body.page-template-page-template-personal
  .et_pb_menu_0_tb_header
  .mobile_nav
  .mobile_menu_bar:before {
  color: #221c18;
}

/* Header */

header.et-l--header {
  position: relative;
  z-index: 999;
}

body.page-template-page-template-personal .et_pb_menu__logo::before {
  color: #221c18;
}

body.page-template-page-template-personal .et_pb_menu__logo::after {
  color: #221c18;
}

body.page-template-page-template-personal
  .et_pb_menu_0_tb_header
  .mobile_nav
  .mobile_menu_bar:before {
  color: #221c18;
}

body.page-template-page-template-personal .dark_background .et_mobile_nav_menu {
  border-color: #221c18;
}

#cn-accept-cookie {
  color: #221c18 !important;
}

body.page-id-2377 #main-content {
  background-color: #221c18 !important;
  padding-bottom: 60px;
}

body.page-id-2377 .main_title {
  font-family: "HaasGrotDisp-45Light", Helvetica, Arial, Lucida, sans-serif;
  color: #cce5d8 !important;
  text-transform: none;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 30px;
}

body.page-id-2377 .wp-block-heading {
  font-family: "HaasGrotDisp-45Light", Helvetica, Arial, Lucida, sans-serif;
  color: #cce5d8 !important;
  text-transform: none;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin-top: 30px;
  margin-bottom: 30px;
}

body.page-id-2377 p {
  font-family: "HaasGrotDisp-45Light", Helvetica, Arial, Lucida, sans-serif;
  color: #cce5d8 !important;
  font-size: 16px;
  text-transform: none;
  line-height: 1.15;
}
