/*
Theme Name: Bundi Child Theme
Description: This is a custom child theme
Template: salient
Version: 1.0
*/

/*GENERAL*/
:root {
  --light: #f7f4f0;
  --black: #111111;
  --dark: #59351d;
  --accent: #df5f43;
  --current-color: var(--light);
  --base: 1440;
}

::selection {
  background-color: var(--dark);
  color: var(--light);
  text-shadow: none;
}

@font-face {
  font-family: 'Fraunces';
  src:
    url('/wp-content/themes/bundi-child/fonts/Fraunces.woff2') format('woff2'),
    url('/wp-content/themes/bundi-child/fonts/Fraunces.woff') format('woff'),
    url('/wp-content/themes/bundi-child/fonts/Fraunces.ttf') format('ttf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src:
    url('/wp-content/themes/bundi-child/fonts/Inter-Light.woff2') format('woff2'),
    url('/wp-content/themes/bundi-child/fonts/Inter-Light.woff') format('woff'),
    url('/wp-content/themes/bundi-child/fonts/Inter-Light.ttf') format('ttf');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src:
    url('/wp-content/themes/bundi-child/fonts/Inter-Regular.woff2') format('woff2'),
    url('/wp-content/themes/bundi-child/fonts/Inter-Regular.woff') format('woff'),
    url('/wp-content/themes/bundi-child/fonts/Inter-Regular.ttf') format('ttf');

  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mango';
  src:
    url('/wp-content/themes/bundi-child/fonts/Mango.woff2') format('woff2'),
    url('/wp-content/themes/bundi-child/fonts/Mango.woff') format('woff'),
    url('/wp-content/themes/bundi-child/fonts/Mango.ttf') format('ttf');
  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*/

body #header-outer,
body[data-header-color='dark'] #header-outer {
  background-color: var(--light) !important;
}

/*BTN*/
body[data-button-style='slightly_rounded_shadow'] .nectar-button:hover,
body[data-button-style='slightly_rounded_shadow'] .nectar-button:focus {
  box-shadow: none !important;
  -ms-transform: translateY(0);
  transform: translateY(0);
  -webkit-transform: translateY(0);
  background-color: var(--dark) !important;
}
a.nectar-button.medium.regular.accent-color.regular-button.phone_icon:before {
  content: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.3333 10.3333C12.5333 10.3333 11.6667 10.2 10.9333 9.93333H10.7333C10.5333 9.93333 10.4 10 10.2667 10.1333L8.8 11.6C6.93333 10.6 5.33333 9.06667 4.4 7.2L5.86667 5.73333C6.06667 5.53333 6.13333 5.26667 6 5.06667C5.8 4.33333 5.66667 3.46667 5.66667 2.66667C5.66667 2.33333 5.33333 2 5 2H2.66667C2.33333 2 2 2.33333 2 2.66667C2 8.93333 7.06667 14 13.3333 14C13.6667 14 14 13.6667 14 13.3333V11C14 10.6667 13.6667 10.3333 13.3333 10.3333ZM3.33333 3.33333H4.33333C4.4 3.93333 4.53333 4.53333 4.66667 5.06667L3.86667 5.86667C3.6 5.06667 3.4 4.2 3.33333 3.33333ZM12.6667 12.6667C11.8 12.6 10.9333 12.4 10.1333 12.1333L10.9333 11.3333C11.4667 11.4667 12.0667 11.6 12.6667 11.6V12.6667Z" fill="%23F7F4EF"/></svg>');
  position: relative;
  top: 3px;
  margin-right: 4px;
}

a.toggle-heading {
  text-align: left !important;
}
@media (min-width: 1000px) {
  .toggle a.nectar-button {
    width: calc(33% - 20px);
  }
}
@media (max-width: 1000px) {
  .toggle a.nectar-button {
    width: 100%;
  }
}

/*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;
}

.custom-title.black,
.custom-title.black * {
  color: var(--black);
}
.custom-title.light,
.custom-title.light * {
  color: var(--light);
}

.custom-title.dark,
.custom-title.dark * {
  color: var(--dark);
}

.custom-title.accent,
.custom-title.accent * {
  color: var(--accent);
}

a.toggle-heading {
  font-family: 'Inter', sans-serif !important;
  text-transform: uppercase !important;
  line-height: 1.1 !important;
  color: var(--dark) !important;
}
span.open-quote,
span.close-quote {
  display: none !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;
  }
}

@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;
  }
}
.custom-title.display,
.custom-title.display * {
  font-family: 'Lektorat', serif !important;
  font-weight: 400 !important;
}
.custom-title.primary,
.custom-title.primary * {
  font-family: 'Fraunces', serif !important;
  font-weight: 400 !important;
}

.custom-title.secondary,
.custom-title.secondary *,
.nectar-button.medium {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !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;
  }
}
