/* 1 REM  es igual a 16px */

:root {
  font-size: 16px;
  --color-1: #3a5179;
  --color-2: #ef4444;
  --color-3: #00182f;
  --color-4: #ffffff;
}

/* ========================================
	ESTILOS POR DEFECTO
======================================== */

/* LOGO OPACIDAD  */
#site-logo #site-logo-inner a img {
  opacity: 1 !important;
}
/* MENU PRINCIPAL QUITAR SUBRAYADO  */
.page a:focus,
.single a:focus,
.blog a:focus {
  outline: solid 0px !important;
}
/* FOOTER REDES SOCIALES  */
#footer-widgets .fab {
  color: var(--color-3);
}

/* FOOTER TITULOS H3  */
#footer-widgets .footer-box h3 {
  font-weight: 600;
  color: var(--color-2);
  font-size: 16px;
}

#footer-bottom .wsp-asesorial {
  color: var(--color-2) !important;
}
/* CENTRAR BOTON DE ENVIAR DEL FORMULARIO  */
.evf-submit-container {
  text-align: center;
}

.ionicon {
  width: 1.5rem;
  margin-right: 5px;
}

/* FORMULARIO DE CONTACTO  */
#formulario {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: var(--color-1);
  margin-bottom: 50px;
}

#formulario::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: var(--color-2);
}

#formulario .container-formulario {
  position: relative;
  min-width: 1100px;
  min-height: 550px;
  display: flex;
  z-index: 100;
}

#formulario .container-formulario .contactInfo {
  position: absolute;
  top: 40px;
  width: 350px;
  height: calc(100% - 80px);
  background: var(--color-1);
  z-index: 1;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2);
}

#formulario .fas,
#formulario .far {
  color: var(--color-2);
  font-size: 1.5rem;
  margin-top: 5px;
}

#formulario .fab {
  color: #fff;
  font-size: 2rem;
  margin-top: 5px;
}

#formulario .container-formulario .contactInfo h2 {
  margin-top: 0;
  margin-bottom: 0px;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
}

#formulario .container-formulario .contactInfo .info {
  position: relative;
  margin: 20px 0;
}

#formulario .container-formulario .contactInfo .info li {
  position: relative;
  list-style: none;
  display: flex;
  margin: 20px 0;
  cursor: pointer;
  align-items: flex-start;
}

#formulario .container-formulario .contactInfo .sci {
  position: relative;
  display: flex;
}

#formulario .container-formulario .contactInfo .sci li {
  list-style: none;
  margin-right: 15px;
}

#formulario .container-formulario .contactInfo .sci li a {
  text-decoration: none;
}

#formulario .container-formulario .contactInfo .sci li a img {
  filter: invert(1);
  opacity: 0.5;
}

#formulario .container-formulario .contactInfo .sci li:hover a img {
  opacity: 1;
}

#formulario .container-formulario .contactForm {
  position: absolute;
  padding: 20px 50px;
  background: #fff;
  margin-left: 150px;
  padding-left: 250px;
  width: calc(100% - 150px);
  height: 100%;
  box-shadow: 0 50px 50px rgba(0, 0, 0, 0.5);
}

#formulario .container-formulario .contactForm h2 {
  color: #0f3959;
  font-size: 24px;
  font-weight: 500;
  margin-top: 0px;
}

@media (max-width: 1024px) {
  #formulario {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--color-1);
    margin-bottom: 50px;
  }

  #formulario .container-formulario .contactInfo {
    position: relative;
    top: 40px;
    max-width: 400px;
    height: calc(100% - 80px);
    background: var(--color-1);
    z-index: 1;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 100px;
  }

  #formulario .container-formulario .contactForm {
    position: relative;
    padding: 30px 50px;
    background: #fff;
    margin-left: 0px;
    padding-left: 0px;
    width: 400px;
    height: 100%;
    box-shadow: 0 50px 50px rgba(0, 0, 0, 0.5);
  }

  #formulario .container-formulario {
    position: relative;
    min-width: auto;
    min-height: 600px;
    display: inline-block;
    z-index: 100;
  }

  .everest-forms {
    padding-left: 20px;
  }

  section#formulario {
    padding-bottom: 50px;
  }
}

/* FIN FORMULARIO DE CONTACTO  */

.card2 {
  width: 300px;
  background-color: transparent;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
  transition: box-shadow 0.3s;
  border-radius: 10px;
  overflow: hidden;
}
.card2 a {
  color: inherit;
  text-decoration: none;
}
.card2:hover {
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
}

.card__header {
  height: 235px;
  overflow: hidden;
  background-color: #000;
  transition: height 0.3s;
}
.card__header img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  opacity: 1;
  transition: all 0.3s ease-in-out;
  transform: scale(1);
}
.card2:hover .card__header img {
  opacity: 0.6;
  transform: scale(1.2);
}
.card2:hover .card__header {
  height: 90px;
}

.card__body {
  position: relative;
  padding: 16px;
  height: 150px;
  transition: height 0.3s;
}
.card2:hover .card__body {
  height: calc(150px + 145px);
}

.card__body--category {
  position: absolute;
  left: 0;
  top: -16px;
  height: 32px;
  padding: 0 16px;
  color: #fff;
  font-size: 12px;
  line-height: 32px;
  text-transform: uppercase;
  background-color: #7209b7;
}

.card__body--title {
  margin: 0;
  padding: 10px 0;
  color: #000;
  font-size: 24px;
  font-weight: bold;
}
.card2:hover .card__body--title {
  -webkit-animation: titleBlur 0.3s;
  animation: titleBlur 0.3s;
}

.card__body--subtitle {
  margin: 0;
  padding: 0 0 10px 0;
  font-size: 20px;
  color: var(--color-3);
}
.card2:hover .card__body--subtitle {
  -webkit-animation: subtitleBlur 0.3s;
  animation: subtitleBlur 0.3s;
}

.card__body--description {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 80px;
  margin: 0;
  padding: 0;
  color: #1e293b;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  opacity: 0;
  transition: opacity 0.2s;
  transform: 0.2s;
  transition-delay: 0s;
  transform: translateY(20px);
}
.card2:hover .card__body--description {
  opacity: 1;
  transition-delay: 0.1s;
  transform: translateY(0);
}

.card__footer .icon--comment {
  margin-left: 12px;
}

@keyframes titleBlur {
  0% {
    opacity: 0.6;
    text-shadow: 0px 5px 5px rgba(0, 0, 0, 0.6);
  }
  100% {
    opacity: 1;
    text-shadow: 0px 5px 5px rgba(0, 0, 0, 0);
  }
}
@-webkit-keyframes titleBlur {
  0% {
    opacity: 0.6;
    text-shadow: 0px 5px 5px rgba(0, 0, 0, 0.6);
  }
  100% {
    opacity: 1;
    text-shadow: 0px 5px 5px rgba(0, 0, 0, 0);
  }
}
@-webkit-keyframes subtitleBlur {
  0% {
    opacity: 0.6;
    text-shadow: 0px 5px 5px rgba(255, 255, 255, 0.6);
  }
  100% {
    opacity: 1;
    text-shadow: 0px 5px 5px rgba(255, 255, 255, 0);
  }
}
@keyframes subtitleBlur {
  0% {
    opacity: 0.6;
    text-shadow: 0px 5px 5px rgba(255, 255, 255, 0.6);
  }
  100% {
    opacity: 1;
    text-shadow: 0px 5px 5px rgba(255, 255, 255, 0);
  }
}

/* ELIMINAR ADMIN MENU PERSONALIZADOR */
.ab-top-menu li#wp-admin-bar-customize {
  display: none !important;
}

.card {
  color: var(--color-4);
  background-size: cover;
  background-position: center;
  padding: 10rem 0 0;
  /* max-width: 300px; */
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 500ms ease;
}

.card:hover,
.card:focus-within {
  transform: scale(1.05);
}

.card-content {
  --padding: 1.5rem;
  padding: var(--padding);
  background: linear-gradient(
    hsl(0 0% 0% / 0),
    hsl(20 0% 0% / 0.3) 20%,
    hsl(0 0% 0% / 1)
  );
}

.card-title {
  position: relative;
  width: max-content;
  max-width: 100%;
  color: var(--color-neutral);
  line-height: 1.6rem;
  font-size: 1.5rem;
}

.card-body {
  color: rgb(255, 255, 255, 0.85);
}

.card-title::after {
  content: '';
  position: absolute;
  left: calc(var(--padding) * -1);
  bottom: -4px;
  height: 4px;
  width: calc(100% + var(--padding));
  background: var(--color-segundo);
  transform-origin: left;
  transition: transform 500ms ease;
}

.card:hover .card-title::after,
.card:focus-within .card-title::after {
  transform: scaleX(1);
}

.button {
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  color: var(--color-neutral);
  background-color: var(--color-segundo);
  padding: 14px 28px;
  border-radius: 050px;
  font-size: 16px;
  transition: background 700ms ease !important;
  text-transform: capitalize;
}

.button:hover,
.button:focus {
  background: var(--color-tercero);
  color: var(--color-neutral);
}
.button2 {
  text-decoration: none;
  color: var(--color-4);
  background-color: #075e54;
  border-radius: 10px;
  font-size: 15px;
  text-transform: capitalize;
  font-weight: 600;
  position: relative;
  top: 15px;
  width: 150px;
}

.button2 .ga-flex {
  padding: 5px 10px;
}
#mobile-dropdown .button2 .ga-flex a {
  padding: 0;
}

.button2 .fab {
  font-size: 25px !important;
}

.button2 a {
  color: #ffffff !important;
  text-decoration: none;
}

/* CONTACTO  */

.contacto-cards .contacto-card {
  transition: all 0.5s;
}

.contacto-cards .contacto-card:hover {
  background-color: var(--color-2);
  transform: scale(1.1);
}

.contacto-cards .contacto-card p,
.contacto-cards .contacto-card div {
  transition: color 0.5s;
}

.contacto-cards .contacto-card:hover p,
.contacto-cards .contacto-card:hover div {
  color: var(--color-4);
}

.contacto-cards .contacto-card svg {
  transition: color 0.5s;
}

.contacto-cards .contacto-card:hover svg {
  color: var(--color-3);
}

.contacto-cards .contacto-card:hover h2 {
  color: var(--color-3);
}

/* Mision Vision y Valores */

.tabs-principios {
  /* position:absolute; */
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.tabs-principios .tab-header {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  border-bottom: solid 2px var(--color-3);
}

.tabs-principios .tab-header > div {
  width: calc(100% / 3);
  text-align: center;
  color: var(--color-3);
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  outline: none;
}

.tabs-principios .tab-header > div.active {
  color: var(--color-2);
}

.tabs-principios .tab-indicator {
  position: relative;
  width: calc(100% / 3);
  height: 3px;
  background: var(--color-2);
  left: 0px;
  border-radius: 5px;
  transition: all 500ms ease-in-out;
  top: -3px;
}

.tabs-principios .tab-body {
  position: relative;
  height: calc(100% - 60px);
  margin-top: 20px;
}

.tabs-principios .tab-body > div {
  position: absolute;
  top: -200%;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 500ms ease-in-out 0ms, transform 500ms ease-in-out 0ms;
}

.tabs-principios .tab-body > div.active {
  top: 0px;
  opacity: 1;
  transform: scale(1);
}
.header-main-inner .nav-menu-primary ul li > a {
  font-size: 18px;
}

.joinchat {
  --btn: 80px !important;
}
header.header {
  position: fixed !important;
  width: 100%;
  z-index: 10000;
  margin-bottom: 100px !important;
}
.nv-index-posts .nv-page-title,
.entry-header {
  margin-top: 112px !important;
}
@media (hover) {
  .card-content {
    transform: translateY(60%);
    transition: transform 500ms ease;
  }

  .card:hover .card-content,
  .card:focus-within .card-content {
    /* modificar aqui to fix */
    transform: translateY(0%);
    transition-delay: 500ms;
  }

  .card:focus-within .card-content {
    transition-duration: 0ms;
  }

  .card-content > *:not(.card-title) {
    opacity: 0;
    transition: opacity 500ms linear;
  }

  .card:hover .card-content > *:not(.card-title),
  .card:focus-within .card-content > *:not(.card-title) {
    opacity: 1;
    transition-delay: 1000ms;
  }

  .card-title::after {
    transform: scaleX(0);
  }
}

@media (min-width: 768px) {
  .nosotros-banner img {
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
  }

  /* .tabs-principios {
  padding: 20px;
} */
}

/* DE CELULAR PARA ABAJO */

@media (max-width: 768px) {
  .tabs-principios {
    height: 350px;
  }
  .button2 {
    margin-left: 40px;
    margin-bottom: 30px;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .tabs-principios {
    width: 75%;
    margin: 0 auto;
  }
  .valores .button {
    margin-left: 150px;
  }
}
