/*
purple: #42145F
orange: #FF5800
cream: #F8CD95
*/

i.fa,i.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:var(--fa-display,inline-block);font-style:normal;font-variant:normal;line-height:1;text-rendering:auto}
i.fa,i.fas{font-family:"Font Awesome 6 Free"}
i.fas{font-weight:900}
i.fa-comment-dots:before, i.fa-commenting:before {content: "\f4ad";}
i.fa-paper-plane:before {content: "\f1d8";}
i.fa-redo-alt:before, i.fa-rotate-forward:before, i.fa-rotate-right:before {content: "\f2f9";}
i.fa-lightbulb:before{content:"\f0eb"}

/* sigle style */
.entry-content{
  margin-left: -10px;
  margin-right: -10px;

  h1,h2,h3,h4,h5,h6 {
    margin-block-start: 0.5rem;
    margin-block-end: 1rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
  }

  h1 {
    font-size: 2.5rem;
    font-weight: 600;
  }

  h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-block-start: 3rem;
    margin-block-end: 1rem;
    border-left: #ff5800 0.5rem solid;
    padding-left: 1rem;
  }

  h3 {
    font-size: 1.75rem;
    margin-block-start: 2rem;
    margin-block-end: 1rem;
    color: #f8cd95;
  }

  h4 {
    font-size: 1.5rem;
  }

  h5 {
    font-size: 1.25rem;
  }

  h6 {
    font-size: 1rem;
  }
  
  p {
    margin-block-start: 0;
    margin-block-end: 0.9rem;
  }

  hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
  }

  a {
    background-color: transparent;
    text-decoration: none;
    font-weight: 500;
    color: #fff;
    text-decoration: underline;
  }
  & a:hover, a:active {
    color: #f8cd95;
  }
  & a:not([href]):not([tabindex]) {
    color: inherit;
    text-decoration: none;
  }
  & a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
    color: inherit;
    text-decoration: none;
  }
  & a:not([href]):not([tabindex]):focus {
    outline: 0;
  }
  & a.elementor-button:hover{
    color: white;
  }

  b,
  strong {
    font-weight: 600;
  }

  img {
    border-style: none;
    height: auto;
    max-width: 100%;
  }

  figcaption {
    font-size: 16px;
    color: #333333;
    line-height: 1.4;
    font-style: italic;
    font-weight: 400;
  }

  [hidden] {
    display: none;
  }

  /**
  * Table styling
  */
  table {
    background-color: transparent;
    width: 100%;
    margin-block-end: 15px;
    font-size: 0.9em;
    border-spacing: 0;
    border-collapse: collapse;
  }
  table th,
  table td {
    padding: 15px;
    line-height: 1.5;
    vertical-align: top;
    border: 1px solid rgba(128, 128, 128, 0.5019607843);
  }
  table th {
    font-weight: bold;
  }
  table thead th,
  table tfoot th {
    font-size: 1em;
  }
  table caption + thead tr:first-child th,
  table caption + thead tr:first-child td,
  table colgroup + thead tr:first-child th,
  table colgroup + thead tr:first-child td,
  table thead:first-child tr:first-child th,
  table thead:first-child tr:first-child td {
    border-block-start: 1px solid rgba(128, 128, 128, 0.5019607843);
  }
  table tbody > tr:nth-child(odd) > td,
  table tbody > tr:nth-child(odd) > th {
    background-color: rgba(128, 128, 128, 0.0705882353);
  }
  table tbody tr:hover > td,
  table tbody tr:hover > th {
    background-color: rgba(128, 128, 128, 0.1019607843);
  }
  table tbody + tbody {
    border-block-start: 2px solid rgba(128, 128, 128, 0.5019607843);
  }
  @media (max-width: 767px) {
    table table {
      font-size: 0.8em;
    }
    table table th,
    table table td {
      padding: 7px;
      line-height: 1.3;
    }
    table table th {
      font-weight: 400;
    }
  }

  /**
  * List styling
  */
  dl,
  dt,
  dd,
  ol,
  ul,
  li {
    margin-block-start: 0;
    margin-block-end: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
  }

  ul{
    font-size: 1.2rem;
    line-height: 1.75rem;
    margin-left: 0.1rem !important;
    margin-bottom: 2rem !important;

    li {
      list-style: none;
      list-style-position: outside;
      position: relative;
      padding-left: 2rem;
    }

    & li::before {
      content: url("data:image/svg+xml,%3Csvg data-slot='icon' fill='none' stroke-width='3' stroke='%23FF5800' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m8.25 4.5 7.5 7.5-7.5 7.5'%3E%3C/path%3E%3C/svg%3E");
      position: absolute;
      left: 0;
      top: 3px;
      display: inline-block;
      width: 1em;
      height: 1em;
      margin-right: 0.25rem;
      vertical-align: text-top;
    }
  }

  /* TODO: ol (numbers) */
  ol{
    font-size: 1.2rem;
    line-height: 1.75rem;
    margin-left: 2.2rem !important;
    margin-bottom: 2rem !important;

    li {
      list-style:decimal;
      list-style-position: outside;
      font-size: 1.4rem;
      color: #000;
    }

  }

}

/* fix strong bold */
strong.font-bold:not(.no-force){display: inline !important;}
strong.font-bold > *,
strong.font-bold > * > *{
  font-weight: 700;
}

strong.font-semibold:not(.no-force){display: inline !important;}
strong.font-semibold > *,
strong.font-semibold > * > *{
  font-weight: 600;
}

/* Menu - submenu */
li.menu-item-has-children{
  position: relative;
}

li.menu-item-has-children > a{
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

li.menu-item-has-children:hover > a > svg{
  color: #FF5800
}

li.menu-item-has-children > ul{
  display: none;
  position: absolute;
  top: 150%;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 2rem;
  background-color: rgba(66, 20, 95, 0.97);
  border-radius: 0.5rem;
  box-shadow: 0 0 5px 5px rgba(0,0,0,0.1);
  z-index: 99;
}

li.menu-item-has-children.active > ul{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

li.menu-item-has-children.active > ul > li{

}

.tag-canvas{
  position: relative;
  background-color: red;
  overflow: hidden;
}

.tag-canvas canvas{
  position: absolute;
  top: -1px;
  left: -1px;
  width: 100%;
  height: 100%;
}

.carousel .swiper-wrapper{
  transition-timing-function: linear !important;
}

/* filet details */

details.filter-duracion > summary{
  list-style-image: url('../images/marketplace/categories/icon-filter-duracion-orange.svg');
}

details.filter-duracion > summary:hover,
details.filter-duracion[open] > summary{
  list-style-image: url('../images/marketplace/categories/icon-filter-duracion-white.svg');
}

details.filter-modalidad > summary{
  list-style-image: url('../images/marketplace/categories/icon-filter-modalidad-orange.svg');
}

details.filter-modalidad > summary:hover,
details.filter-modalidad[open] > summary{
  list-style-image: url('../images/marketplace/categories/icon-filter-modalidad-white.svg');
}

details.filter-tematicas > summary{
  list-style-image: url('../images/marketplace/categories/icon-filter-tematicas-orange.svg');
}

details.filter-tematicas > summary:hover,
details.filter-tematicas[open] > summary{
  list-style-image: url('../images/marketplace/categories/icon-filter-tematicas-white.svg');
}


/* swiper lab init */
.swiper.lab.init .swiper-wrapper{
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.swiper.lab.init .swiper-slide {
  height: 182px;
  display:flex;
  align-items: end;
  justify-content:center;
  transition:all 200ms linear;
  transform: scale(0.8);
  
  &.swiper-slide-active{
    transform: scale(1.15);
  }

  & img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* swiper lab interactividad */
.swiper.lab.interactividad .swiper-slide {
  position: relative;
  opacity: .8;
  transform: scale(.84);
  transition: all .3s ease-in-out;
  overflow: hidden;
}

.swiper.lab.interactividad .swiper-backface-hidden .swiper-slide {
  transform: scale(.84) translateZ(0);
}

.swiper.lab.interactividad .swiper-slide.swiper-slide-active {  
  transform: scale(1) !important;
  opacity: 1 !important;
}

.swiper.lab.interactividad .swiper-backface-hidden .swiper-slide.swiper-slide-active {
  transform: scale(1) translateZ(0) !important;
}

.swiper-interactividad-button-prev{
  margin-right: 1rem;
}

.swiper-interactividad-button-prev::after{
  content: url('https://xdev.learnia.io/wp-content/themes/learnia-v3/assets/images/icon-button-right.webp') !important;
  rotate: 180deg;
  line-height: 0 !important;
}

.swiper-interactividad-button-next::after{
  content: url('https://xdev.learnia.io/wp-content/themes/learnia-v3/assets/images/icon-button-right.webp') !important;
  line-height: 0 !important;
}

/* necesitas */

.swiper-necesitas-button-prev{
  margin-right: 1rem;
}

.swiper-necesitas-button-prev::after{
  content: url('https://xdev.learnia.io/wp-content/themes/learnia-v3/assets/images/icon-button-right.webp') !important;
  rotate: 180deg;
  line-height: 0 !important;
}

.swiper-necesitas-button-next::after{
  content: url('https://xdev.learnia.io/wp-content/themes/learnia-v3/assets/images/icon-button-right.webp') !important;
  line-height: 0 !important;
}

.swiper-pagination-necesitas .swiper-pagination-progressbar-fill{
  background-color: white !important;
}

/* casos */

.swiper-casos-button-prev{
  margin-right: 1rem;
}

.swiper-casos-button-prev::after{
  content: url('https://xdev.learnia.io/wp-content/themes/learnia-v3/assets/images/icon-button-right.webp') !important;
  rotate: 180deg;
  line-height: 0 !important;
}

.swiper-casos-button-next::after{
  content: url('https://xdev.learnia.io/wp-content/themes/learnia-v3/assets/images/icon-button-right.webp') !important;
  line-height: 0 !important;
}

.swiper-pagination-casos .swiper-pagination-progressbar-fill{
  background-color: white !important;
}

/* Equipo */

.swiper-equipo-button-prev{
  margin-right: 1rem;
}

.swiper-equipo-button-prev::after{
  content: url('https://xdev.learnia.io/wp-content/themes/learnia-v3/assets/images/icon-button-right.webp') !important;
  rotate: 180deg;
  line-height: 0 !important;
}

.swiper-equipo-button-next::after{
  content: url('https://xdev.learnia.io/wp-content/themes/learnia-v3/assets/images/icon-button-right.webp') !important;
  line-height: 0 !important;
}

.swiper-pagination-equipo .swiper-pagination-progressbar-fill{
  background-color: white !important;
}

/* inmersivas */

.swiper-inmersivas-button-prev{
  margin-right: 1rem;
  left: -3rem;
}

.swiper-inmersivas-button-next{
  right: -3rem;
}

.swiper-inmersivas-button-prev::after{
  content: url('https://xdev.learnia.io/wp-content/themes/learnia-v3/assets/images/icon-button-right.webp') !important;
  rotate: 180deg;
  line-height: 0 !important;
}

.swiper-inmersivas-button-next::after{
  content: url('https://xdev.learnia.io/wp-content/themes/learnia-v3/assets/images/icon-button-right.webp') !important;
  line-height: 0 !important;
}

/* ventajas */

.swiper-ventajas-button-prev{
  margin-right: 1rem;
  left: -3rem;
}

.swiper-ventajas-button-next{
  right: -3rem;
}

.swiper-ventajas-button-prev::after{
  content: url('https://xdev.learnia.io/wp-content/themes/learnia-v3/assets/images/icon-button-right.webp') !important;
  rotate: 180deg;
  line-height: 0 !important;
}

.swiper-ventajas-button-next::after{
  content: url('https://xdev.learnia.io/wp-content/themes/learnia-v3/assets/images/icon-button-right.webp') !important;
  line-height: 0 !important;
}

/* cursos */

.swiper-cursos-button-prev{
  margin-right: 1rem;
}

.swiper-cursos-button-prev::after{
  content: url('https://xdev.learnia.io/wp-content/themes/learnia-v3/assets/images/icon-button-right.webp') !important;
  rotate: 180deg;
  line-height: 0 !important;
}

.swiper-cursos-button-next::after{
  content: url('https://xdev.learnia.io/wp-content/themes/learnia-v3/assets/images/icon-button-right.webp') !important;
  line-height: 0 !important;
}

.swiper-pagination-cursos .swiper-pagination-progressbar-fill{
  background-color: white !important;
}

/* cursos (marketplace) */

.swiper-marketplace-cursos-button-prev{
  margin-right: 1rem;
}

.swiper-marketplace-cursos-button-prev::after{
  content: url('https://xdev.learnia.io/wp-content/themes/learnia-v3/assets/images/icon-button-right.webp') !important;
  rotate: 180deg;
  line-height: 0 !important;
}

.swiper-marketplace-cursos-button-next::after{
  content: url('https://xdev.learnia.io/wp-content/themes/learnia-v3/assets/images/icon-button-right.webp') !important;
  line-height: 0 !important;
}

.swiper-pagination-marketplace-cursos .swiper-pagination-progressbar-fill{
  background-color: #ff5800 !important;
}

.error404 .entry-title,
.error404 .page-content > p{
  text-align: center;
}