/*
 Theme Name:   Tarjeta Comahue Theme
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       the Understrap Contributors
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      1.2.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  tarjeta-comahue-theme
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/

/* Tipografias */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

/* Varables */
:root {
    --bs-primary: #0B97D5 !important;
    --bs-secondary: #0A3960 !important;
    --bg-primary: #0B97D5 !important;
    --bg-secondary: #0A3960 !important;
    --color-primario: var(--bs-primary);
    --color-primario-claro: color-mix(in srgb, var(--bs-primary) 80%, white 20%);
    --color-primario-oscuro: color-mix(in srgb, var(--bs-primary) 80%, black 20%);
    --color-secundario: var(--bs-secondary);
    --color-secundario-claro: color-mix(in srgb, var(--bs-secondary) 80%, white 20%);
    --color-secundario-oscuro: color-mix(in srgb, var(--bs-secondary) 70%, black 30%);
    --color-amarillo: #f4ab42;
    --sombra: 0px 0px 30px rgba(0, 0, 0, 0.2);
    --sombra-chica: 0px 0px 10px rgba(0, 0, 0, 0.15);
    --sombra-suave:0px 0px 25px rgba(0, 0, 0, 0.05);
    --transition: all 0.4s ease-out;
    --transition-rapida: all 0.2s ease-out;
}

body {
    /* background-color: #f3f7f8; */
    /* background-color: var(--bs-light); */
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    /* color: var(--bs-secondary); */
}
main:not(.inicio) {
    padding-bottom: 7rem;
}
a {
    text-decoration: none;
    transition: var(--transition-rapida);
}
/* main h1, main h2, main h3 {
    color: var(--color-primario);
} */
.wp-block-heading {
    color: var(--color-primario) !important;
}
.btn {
    border-radius: 2rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
}
.btn, .btn:hover {
    color: white;
}

.card, .card-img, .card-img-overlay {
    border-radius: 1.5rem;
    border: none;
}

/* --------- Header --------- */
header {
    z-index: 999;
    width: 100%;
    margin-top: 2rem;
}
.home header {
    position: absolute;
}
.navbar {
    border-radius: 2rem;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    box-shadow: var(--sombra);
}
.navbar-nav .nav-item {
    font-size: 0.9rem;
    margin: auto 0.3rem;
    text-transform: uppercase;
}
.navbar-nav .dropdown-item {
    font-size: 0.9rem;
}
.navbar-brand img, .navbar .iconos {
    width: 200px;
}
.navbar .iconos div {        
    justify-content: end;
    }
@media all and (min-width: 992px) {
	.navbar .nav-item:hover .dropdown-menu { display: block; transition: 0.5s;}
}

/* Telefonos */
@media (max-width: 768px) {
    .offcanvas-body {
        text-align: center;
        flex-grow: 0 !important;
    }
    .dropdown-menu {
        text-align: center;
    }
    .navbar-nav .nav-item {
        font-size: 1.1rem;
        margin: auto 0.3rem;
        text-transform: uppercase;
    }
    .navbar-nav .dropdown-item {
        font-size: 1.1rem;
    }
    /* .navbar-nav.iconos {
        margin-top: 2rem;
        font-size: 1.5rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    } */
    .navbar .iconos {
        margin-top: 2rem;
        width: auto;
        font-size: 1.5rem;
    }
    .navbar .iconos div {        
        text-align: center;
        justify-content: center;
    }
    .navbar .iconos div li {        
        margin: 0 0.5rem;
    }
}

/* scroll */
.header.scroll {
    position: fixed;
    margin-top: 0;
    /* top: 0;
    left: 0;
    right: 0; */
    width: initial;
    z-index: 1030;
    transition: 0.5s;
    background-color: var(--color-secundario);
    box-shadow: var(--sombra);
}
.header.scroll .navbar {
    transition: 0.5s;
    box-shadow: none;
    padding-left: 0rem;
    padding-right: 0rem;
}

/* --------- Paginas --------- */

.titulo-pagina {
    text-align: center;
    padding: 3.5rem 0 5rem 0;
}
.titulo-novedad {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primario);
}
/* Telefonos */
@media (max-width: 768px) {
    .titulo-pagina {
        padding: 2.5rem 0;
    }
}

/* Fondos */

.fondo-blanco-gris {
    background: #f0f0f0;
background: -webkit-linear-gradient(0deg, rgba(240, 240, 240, 1) 0%, rgba(255, 255, 255, 1) 100%);
background: -moz-linear-gradient(0deg, rgba(240, 240, 240, 1) 0%, rgba(255, 255, 255, 1) 100%);
background: linear-gradient(0deg, rgba(240, 240, 240, 1) 0%, rgba(255, 255, 255, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#F0F0F0", endColorstr="#FFFFFF", GradientType=0);
}
.fondo-gris-blanco {
    background: #FFFFFF;
background: -webkit-linear-gradient(0deg, rgba(255, 255, 255, 1) 30%, rgba(243, 243, 243, 1) 100%);
background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 1) 30%, rgba(243, 243, 243, 1) 100%);
background: linear-gradient(0deg, rgba(255, 255, 255, 1) 30%, rgba(243, 243, 243, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#F3F3F3", GradientType=0);
}

#hero {
    /* display: d-flex; */
    height: 100vh;
    /* align-items: center; */
    /* background-image: url(../img/fondo-hero.png);
    background-repeat: no-repeat;
    background-position: left center; */
    /* background-size: cover; */
}
#hero .columna-fondo {
    height: 100vh;
    /* background-image: url(../img/fondo-hero.png); */
    background-repeat: no-repeat;
    background-position-x: right;
    background-size: cover;
    animation-duration: 1.7s;
    animation-name: slide-right;
    z-index: 1;
    /* animation-iteration-count: 1; */
}
#hero .columna-logo {
    padding-right: 4rem;
    margin-left: -6rem;
    animation-duration: 1.7s;
    animation-name: slide-bottom;
    z-index: 2;
}
#hero .logo {
    /* width: 450px; */
}
#hero p {
    margin-bottom: 0;
}
#hero .titulo-principal {
    font-size: 3rem;
    font-weight: 700;
    line-height: 3.2rem;
}
#hero .titulo-secundario {
    font-size: 1.5rem;
}

/* Telefonos */
@media (max-width: 768px) {
    /* #hero {
        align-items: initial;
    } */
    #hero .row {
        /* height: 100vh; */
    }
    #hero .columna-fondo {
        height: 45vh;
        background-image: url(../img/fondo-hero-movil.png);
        background-position: center bottom;
        animation-duration: 1s;
        animation-name: slide-bottom;
    }
    #hero .columna-logo {
        padding-right: 0;
        margin-left: 0;
        padding: 0rem 1rem 0 1rem;
        text-align: center;
    }
    #hero .logo {
        width: 350px;
    }
}

/* --------- Secciones --------- */

section {
    /* min-height: 100vh; */
    padding: 6rem 0 8rem 0;
}
section .encabezado {
    text-align: center;
    margin-bottom: 2rem;
}
section .encabezado .titulo, .titulo-pagina .entry-title {
    color: var(--bs-secondary);
    font-size: 3.3rem;
    line-height: 3.3rem;
    font-weight: 700;
    letter-spacing: -0.05rem;
}
section.text-bg-secondary .encabezado .titulo,
section.text-bg-secondary .encabezado .subtitulo,
section.text-bg-dark .encabezado .titulo,
section.text-bg-dark .encabezado .subtitulo {
    color: white;
}
section .encabezado .subtitulo, .titulo-pagina .subtitulo {
    color: var(--bs-gray-500);
    font-size: 1.3rem;
    line-height: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
/* Telefonos */
@media (max-width: 768px) {
    section .encabezado .titulo, .titulo-pagina .entry-title {
        font-size: 2.8rem;
        line-height: 2.8rem;
    }
}

/* Seccion Prestamos */

#prestamos {
    /* min-height: 90vh; */
    /* background-image: url(../img/fondo-seccion-Prestamos.jpg); */
    background-repeat: no-repeat;
    /* background-position-x: right; */
    background-position: right center;
    background-size: contain;
    padding: 8rem 0;
}
#prestamos .iconos p {
    font-size: 0.9rem;
    line-height: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 0;
}
/* Telefonos */
@media (max-width: 768px) {
    #prestamos {
        min-height: auto;
        background-image: none !important;
    }
}

/* Seccion convenios */

#convenios .card {
    text-align: center;
    padding: 2rem 0 1rem 0;
    height: 100% !important;
}
#convenios .card img {
    margin: 0 auto 1rem auto;
    width: 100px;
}
#convenios .card-title {
    color: var(--bs-secondary);
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: 700;
}
#convenios .card-text {
    /* padding: 0 1rem; */
}
#convenios .card-footer {
    border-top: none;
    background-color: white;
}

/* Seccion novedades */

#novedades .card {
    height: 500px;
    color: white;
}
#novedades .card .card-img {
    height: 500px;
    object-fit: cover;
}
#novedades .card-img-overlay {
    display: flex;
    flex-direction: column;
    justify-content: end;
    background-color: rgba(10, 57, 96, 0.6) !important;
    padding-bottom: 3rem;
	overflow: hidden;
}
#novedades .card-title {
    margin-bottom: 1rem;
	padding-right: 1rem;
}
/* Telefonos */
@media (max-width: 768px) {
    #novedades .card {
        min-height: 450px;        
    }
    #novedades .card .card-img {
        min-height: 450px;
    }
}

/* --------- Convenios --------- */

.logos-convenios .row {
    align-items: center;
    margin: 0.05rem auto;
}
.logos-convenios .titulo {
    color: var(--color-primario);
    font-weight: 600;
    font-size: 2.7rem;
    /* line-height: 1rem; */
}
.logos-convenios p {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1rem;
    margin-bottom: 0;
}.logos-convenios .fw-bold {
    font-size: 1rem;
    line-height: 1.2rem;
    margin-bottom: 0.5rem;
}
/* Telefonos */
@media (max-width: 768px) {
    .logos-convenios .row {
        margin-bottom: 2rem;
    }
}

/* Seccion contato */

#contacto {
    /* min-height: 100vh; */
    /*background-image: url(../img/fondo-seccion-Contacto.jpg);*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left center;
}
#contacto input:not(.wpcf7-submit), #contacto textarea {
    background-color: var(--bs-gray-300);
    color: var(--bs-gray-700);
    border: none;
    padding: 10px;
    border-radius: 10px;
    /*margin-bottom: 1rem;*/
    width: 80%;
}
/*#contacto form p {
    margin-bottom: 0;
}*/
#contacto form .wpcf7-not-valid-tip {
	margin-top: -10;
    /*margin-bottom: 10px;*/
}
#contacto .wpcf7-submit {
	background-color: var(--color-primario);
	color: white;
    border-radius: 2rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
	border: none;
	transition: var(--transition-rapida);
}
#contacto .wpcf7-submit:hover {
	background-color: var(--color-primario-claro);
}
#contacto .wpcf7-response-output {
	background-color: white;
	width: 80%;
}
/* Telefonos */
@media (max-width: 768px) {
    #contacto {
        background-image: none !important;
    }
    /* #contacto .container {
        padding: 0 1.5rem;
    } */
    #contacto input:not(.btn), #contacto textarea {
        width: 100%;
    }
}

/* --------- Datos contacto --------- */
#datos-contacto {
    padding: 4rem 0 3rem 0;
    font-size: 0.9rem;
}
#datos-contacto .titulo {
    margin-bottom: 1rem;
    font-weight: 600;
}
#datos-contacto ul {
    padding: 0;
}
#datos-contacto li {
    list-style: none;
    margin-bottom: 0.2rem;
}
#datos-contacto a {
    color: white;
}
#datos-contacto a:hover {
    color: rgb(99, 209, 236);
}

/* --------- Post navigation --------- */

nav.post-navigation {
	display: none !important;
}

/* --------- Footer --------- */

#wrapper-footer {
    background-color: var(--color-primario-claro);
    color: white;
    padding: 1rem 0;
    font-size: 0.8rem;
}
footer p {
    margin-bottom: 0.2rem;
}
footer a {
    color: white;
}
footer a:hover {
    color: var(--color-secundario);
}

/* --------- Icono pie --------- */
.icono-pie {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 70px;
    z-index: 996;
    background:#4BC658;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    transition: all 0.4s;
}

.icono-pie i {
    font-size: 28px;
    color: #fff;
    line-height: 0;
}

.icono-pie:hover {
    background: var(--color-primario);
}
/* .icono-pie:hover i {
    color: var(--color-primario);
} */

.icono-pie.active {
    visibility: visible;
    opacity: 1;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .icono-pie {
        bottom: 40px;
    }
}

/* ************************** Animacion ************************** */

.slide-bottom {
    animation-duration: 2s;
    animation-name: slide-bottom;
    animation-iteration-count: 1;
    /* animation-direction: alternate; */
}
.slide-bottom-1 {
	-webkit-animation: slide-bottom-1 1s ease-out both;
	        animation: slide-bottom-1 1s ease-out both;
}
.slide-bottom-2 {
	-webkit-animation: slide-bottom-2 1s ease-out both;
	        animation: slide-bottom-2 1s ease-out both;
}
.slide-top {
	-webkit-animation: slide-top 0.3s ease-out both;
	        animation: slide-top 0.3s ease-out both;
}
.slide-right {
    -webkit-animation: slide-right 0.5s ease-out both;
	        animation: slide-right 0.5s ease-out both;
}
.hero-slide-right {
    -webkit-animation: slide-right 1.5s ease-out both;
	        animation: slide-right 1.5s ease-out both;
}
.hero-slide-bottom {
	-webkit-animation: slide-bottom-1 1.5s ease-out both;
	        animation: slide-bottom-1 1.5s ease-out both;
}
/* .iconScale {
    -webkit-animation: iconScale 0.3s ease-out both;
	        animation: iconScale 0.3s ease-out both;
} */
.iconScale {
    animation-duration: 1s;
    animation-name: iconScale;
    animation-iteration-count: infinite;
    /* animation-direction: alternate; */
}

/* ----------------------------------------------
 * Generated by Animista on 2024-1-6 12:38:51
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

 /**
 * ----------------------------------------
 * animation slide-bottom
 * ----------------------------------------
 */
 @keyframes slide-bottom {
    from {
        translate: 0 -50px;
        /* scale: 120% 1; */
        /* opacity: 0.5; */
    }

    to {
        translate: 0;
        /* scale: 100% 1; */
        /* opacity: 1; */
    }
  }

/**
 * ----------------------------------------
 * animation slide-bottom-1
 * ----------------------------------------
 */
 @-webkit-keyframes slide-bottom-1 {
    0% {
      -webkit-transform: translateY(-50px);
              transform: translateY(-50px);
              opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
              opacity: 1;
    }
  }
  @keyframes slide-bottom-1 {
    0% {
      -webkit-transform: translateY(-50px);
              transform: translateY(-50px);
              opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
              opacity: 1;
    }
  }

/**
 * ----------------------------------------
 * animation slide-bottom-2
 * ----------------------------------------
 */
 @-webkit-keyframes slide-bottom-2 {
    0% {
      -webkit-transform: translateY(-60px);
              transform: translateY(-60px);
              opacity: 0;
    }
    100% {
      -webkit-transform: translateY(10px);
              transform: translateY(10px);
              opacity: 1;
    }
  }
  @keyframes slide-bottom-2 {
    0% {
      -webkit-transform: translateY(-60px);
              transform: translateY(-60px);
              opacity: 0;
    }
    100% {
      -webkit-transform: translateY(10px);
              transform: translateY(10px);
              opacity: 1;
    }
  }

  /**
 * ----------------------------------------
 * animation slide-top
 * ----------------------------------------
 */
 @-webkit-keyframes slide-top {
    0% {
      -webkit-transform: translateY(40px);
              transform: translateY(40px);
              /* opacity: 0; */
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
              /* opacity: 1; */
    }
  }
  @keyframes slide-top {
    0% {
      -webkit-transform: translateY(40px);
              transform: translateY(40px);
              /* opacity: 0; */
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
              /* opacity: 1; */
    }
  }

  /**
 * ----------------------------------------
 * animation icono escala
 * ----------------------------------------
 */

@-webkit-keyframes iconScale {
    0% {
        transform: scale(0.8); /* Starting size */
        opacity: 0.8;
    }
    50% {
        transform: scale(1); /* Starting size */
        opacity: 1;
    }
    100% {
        transform: scale(0.8); /* Back to starting size */
        opacity: 0.8;
    }
}
 @keyframes iconScale {
    0% {
        transform: scale(0.8); /* Starting size */
        opacity: 0.8;
    }
    50% {
        transform: scale(1); /* Starting size */
        opacity: 1;
    }
    100% {
        transform: scale(0.8); /* Back to starting size */
        opacity: 0.8;
    }
}

/**
 * ----------------------------------------
 * animation slide-right
 * ----------------------------------------
 */
 @-webkit-keyframes slide-right {
    0% {
      -webkit-transform: translateX(-50px);
              transform: translateX(-50px);
              opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
              opacity: 1;
    }
  }
  @keyframes slide-right {
    0% {
      -webkit-transform: translateX(-50px);
              transform: translateX(-50px);
              opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
              opacity: 1;
    }
  }