/*
Theme Name: Oval Child Theme
Description: This is a custom child theme
Template: salient
Version: 1.0
*/

/*GENERAL*/
:root {
  --white: #f4f3f1;
  --black: #0a0205;
  --current-color: var(--white);
  --base: 1440;
  --container-padding: 40px;
  --header-height: 106px;
}

::selection {
  background-color: var(--dark-green);
  color: var(--white);
  text-shadow: none;
}

@font-face {
  font-family: 'Everett';
  src:
    url('/wp-content/themes/oval-child/fonts/Everett-Regular.woff2') format('woff2'),
    url('/wp-content/themes/oval-child/fonts/Everett-Regular.otf') format('otf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/*WRAPPERS*/
@media (min-width: 1000px) {
  .full-width-content:not(.no-padding, .special-padding) > .row_col_wrap_12 {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  .no-padding {
    padding: 0 !important;
  }

  .no-padding > .row_col_wrap_12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 1000px) {
  .full-width-content:not(.no-padding) > .row_col_wrap_12 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .no-padding > .row_col_wrap_12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/*NAV*/
header#top,
#header-space,
body #header-outer,
body[data-header-color='dark'] #header-outer {
  background-color: var(--white);
}

.nectar-logo-tagline {
  margin-top: 28px;
  margin-bottom: 28px;
  position: relative;
  line-height: 1.1;
  display: flex;
  align-items: self-end;
}

@media only screen and (max-width: 999px) {
  body #top #logo img,
  #header-outer[data-permanent-transparent='false'] #logo .dark-version {
    height: 38vw !important;
  }
}

@media only screen and (min-width: 1000px) {
  .nectar-logo-tagline {
    margin-left: 28px;
  }
}

/*HERO*/

#custom-hero {
  height: calc(100svh - var(--header-height) - 130px - 40px);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hero-gallery,
.hero-row {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
}

#custom-hero img {
  height: 100% !important;
  width: auto !important;
  max-width: none !important;
  display: block;
  aspect-ratio: inherit;
  margin-bottom: 0 !important;
}

/* .hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: #e5e4e2;
  z-index: 20;
} */

@media (max-width: 1000px) {
  #custom-hero {
    height: calc(90svh - 235px);
  }

  #custom-hero img {
    height: auto !important;
    width: 100% !important;
  }
}

@media (min-width: 1000px) {
  .page-id-2.material .wpb_content_element,
  .page-id-2.material .wpb_row {
    margin-bottom: 0 !important;
  }

  .page-id-2 .container-wrap {
    padding: 0 !important;
    max-height: calc(100svh - var(--header-height));
  }
}

/*TITLES*/
.custom-title *,
.custom-title {
  margin-bottom: 0 !important;
}

.custom-title strong {
  font-weight: 600;
}

.custom-title.uppercase .custom-title.uppercase * {
  text-transform: uppercase !important;
}

.custom-title.lowercase,
.custom-title.lowercase * {
  text-transform: initial !important;
}

/*1vw = 14.4 en 1440px*/
@media (min-width: 1000px) {
  .custom-title.big *,
  .custom-title.big {
    font-size: calc(82 / 1440 * 100vw) !important;
    line-height: 0.95 !important;
  }

  .cat-sesiones .custom-title.big *,
  .cat-sesiones .custom-title.big {
    font-size: calc(50 / 1440 * 100vw) !important;
    line-height: 0.95 !important;
  }

  .custom-title.medium *,
  .custom-title.medium {
    font-size: calc(65 / 1440 * 100vw) !important;
    line-height: 1.1 !important;
  }
  .custom-title.small *,
  .custom-title.small {
    font-size: calc(35 / 1440 * 100vw) !important;
    line-height: 1.3 !important;
  }

  .custom-title.body *,
  .custom-title.body {
    font-size: calc(18 / 1440 * 100vw) !important;
    line-height: 1.4 !important;
  }

  .custom-title.tiny *,
  .custom-title.tiny,
  .nectar-button.medium {
    font-size: 14px !important;
    line-height: 1.1 !important;
  }

  a.toggle-heading {
    font-size: calc(14 / 1440 * 100vw) !important;
  }
  .testimonial_slider.span_12.col.font_size_desktop_2vw.font_line_height_1-4.disable-height-animation p {
    font-size: calc(14 / 1440 * 100vw) !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 1000px) {
  .custom-title.big *,
  .custom-title.big {
    font-size: calc(46 / 390 * 100vw) !important;
    line-height: 1 !important;
  }
  .custom-title.medium *,
  .custom-title.medium {
    font-size: calc(32 / 390 * 100vw) !important;
    line-height: 1.1 !important;
  }
  .custom-title.small *,
  .custom-title.small,
  a.toggle-heading {
    font-size: calc(22 / 390 * 100vw) !important;
    line-height: 1.3 !important;
  }

  .custom-title.tiny *,
  .custom-title.tiny,
  .nectar-button.medium {
    font-size: 14px !important;
    line-height: 1.1 !important;
  }

  .custom-title.body *,
  .custom-title.body {
    font-size: calc(16 / 390 * 100vw) !important;
    line-height: 1.4 !important;
  }
  .testimonial_slider.span_12.col.font_size_desktop_2vw.font_line_height_1-4.disable-height-animation p {
    font-size: calc(16 / 390 * 100vw) !important;
    line-height: 1.4 !important;
  }
}

/*TITLE ANIMATION*/

/*Fix lines*/
.animated.lines:before,
.animated.lines:after,
.splitting-lines.lines:after,
.splitting.lines:before {
  display: none !important;
}

.splitting-lines.lines {
  background-color: transparent;
  width: fit-content;
  height: auto !important;
}

.animated.lines {
  width: auto !important;
  height: auto;
  background-color: transparent;
}

.splitting-lines {
  opacity: 0;
}

.line-wrapper {
  display: block;
}

.line {
  display: block;
}

.word {
  display: inline-block;
}

.char {
  display: inline-block;
  will-change: transform, opacity;
}

/*FOOTER*/
.footer-logo {
  max-width: 160px !important;
}

.legals .wpb_wrapper {
  display: flex;
  padding: 3rem 0 1rem 0;
  gap: 2rem;
}

#footer a:hover {
  color: #ffffff;
}

@media (max-width: 1000px) {
  .legals .wpb_wrapper {
    flex-flow: column;
  }

  #footer img {
    max-width: 140px !important;
  }
}
