:root {
    --colorPrincipal: #d7be68;
    --colorSecundario: #ebd14a;
    --colorNeutral: #676b6c;
    --degradado: linear-gradient(
        90deg,
        rgb(241 237 151) 0%,
        rgb(215 193 110) 100%
    );
    --font: "Gotham";
}

@font-face {
    src: url(../fonts/Gotham-Book.otf);
    font-family: "Gotham";
    font-weight: 400;
    font-display: swap;
}

@font-face {
    src: url(../fonts/Gotham-Medium.otf);
    font-family: "Gotham";
    font-weight: 500;
    font-display: swap;
}

@font-face {
    src: url(../fonts/Gotham-Bold.otf);
    font-family: "Gotham";
    font-weight: 600;
    font-display: swap;
}

body,
html {
    background: #efeeee;
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.5;
}

body.background-transparent,
html.background-transparent {
    background: transparent;
}

body,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font);
    letter-spacing: normal;
}

@media screen and (max-width: 767px) {
    body {
        text-align: unset;
    }
}

p {
    color: #222;
    text-align: justify;
}

.bg-primary {
    background-color: var(--colorPrincipal) !important;
}

.bg-neutral {
    background-color: var(--colorNeutral) !important;
}

.bg-light-2 {
    background-color: #ddd;
}

b,
strong {
    font-weight: 600;
}

.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled {
    color: var(--dark);
    background-color: var(--colorPrincipal);
    border-color: var(--colorPrincipal);
}

.btn-primary:hover {
    color: var(--dark);
    background-color: var(--colorPrincipal);
    border-color: var(--colorPrincipal);
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    color: var(--dark);
    background-color: var(--colorPrincipal);
    border-color: var(--colorPrincipal);
}

/* header */

.logo-header {
    max-width: unset !important;
    max-height: unset !important;
    height: 75px;
    width: 100%;
}
.logo-dark {
    width: 170px;
    height: auto;
}
.navbar-top-default.navbar-gradient .navbar-nav .nav-link {
    min-width: auto;
}

.nav-icon .navbar-nav {
    gap: 0px 25px;
}

.header-social {
    margin-left: 25px;
    display: flex;
    justify-content: flex-end;
}

.header-social a {
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 50px;
    color: #fff;
    font-size: 17px;
    margin: 3px;
    border: 1px solid transparent;
    -webkit-transition: background-color 0.2s ease-in-out;
    -moz-transition: background-color 0.2s ease-in-out;
    -ms-transition: background-color 0.2s ease-in-out;
    -o-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
}

.header-social a:hover {
    background-color: #ffffff;
}

.navbar-top-default .navbar-nav .nav-link {
    padding: 0.4rem 0;
    color: #ffffff;
    font-weight: 500;
    position: relative;
}

.navbar-light .navbar-nav .nav-link:after {
    content: "";
    position: absolute;
    background: #fff;
    width: 0;
    height: 1px;
    bottom: 5px;
    left: 0;
    transition: width ease 0.3s;
}

.navbar-light .navbar-nav .nav-link:hover:after {
    width: 100%;
}

.header-appear .navbar-top-default.navbar-gradient {
    background: var(--degradado);
}

.header-appear .navbar-top-default.navbar-light {
    background-color: var(--colorNeutral);
}

/* menu */

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--white);
}

.side-menu {
    background: var(--colorNeutral);
}

/* index */

.onepage-slide h2 {
    font-size: 2rem !important;
    font-style: italic !important;
    text-align: center !important;
    width: 800px !important;
    margin: 0 auto !important;
    font-weight: 700 !important;
    text-wrap: balance;
}

@media screen and (max-width: 991px) {
    .tp-bullets.wexim {
        display: block;
    }
}
@media screen and (max-width: 767px) {
    .onepage-slide h2 {
        font-size: 1.25rem !important;
        text-align: center !important;
        width: 100vw !important;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-top: -3.5rem !important;
    }
}
#empresas-carousel img {
    width: 130px;
    object-fit: contain;
    transition: all 0.3s;
    margin: 0 auto;
    aspect-ratio: 1;
    will-change: transform;
}

.link-empresas {
    transition: all 0.3s;
}

.link-empresas:hover img {
    transform: scale(1.1);
    transition: all 0.3s;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cappro-card.cappro-card-news .card {
    background: transparent !important;
}

.cappro-card .card {
    height: 100%;
    width: 100%;
}

.cappro-card .card .container-card-img {
    height: 100%;
    width: 100%;
    transition: all 1s;
    overflow: hidden;
}

.cappro-card:hover .card img {
    transform: scale(1.05);
    transition: all 1s;
}

.cappro-card .card-body {
    overflow: hidden;
}

.link-cappro-card {
    position: absolute;
    left: 50%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    column-gap: 8px;
    transform: translate(-50%, 50%);
    transition: all 0.4s;
}

.cappro-card:hover .link-cappro-card {
    transform: translate(-50%, -25%);
}

.cappro-card .link-cappro-card:hover {
    color: #fff;
}

.cappro-card .link-cappro-card:hover i {
    color: #fff;
    transform: translateX(3px);
    transition: all 0.3s;
}

.cappro-card:nth-child(1n + 1) .card,
.cappro-card:nth-child(1n + 1) .card {
    /*aqui*/
    background-color: var(--colorNeutral);
    color: #fff;
}

.owl-carousel .owl-item:nth-child(1n + 2) .cappro-card .card,
.owl-carousel .owl-item:nth-child(1n + 2) .cappro-card .card p,
.cappro-card:nth-child(1n + 2) .card,
.cappro-card:nth-child(1n + 2) .card {
    /*aqui*/
    background-color: #111;
    color: #fff;
}

.owl-carousel .owl-item:nth-child(2n + 3) .cappro-card .card,
.owl-carousel .owl-item:nth-child(2n + 3) .cappro-card .card p,
.cappro-card:nth-child(2n + 3) .card,
.cappro-card:nth-child(2n + 3) .card {
    /*aqui*/
    background-color: var(--colorPrincipal);
    color: #111;
}

.owl-carousel .owl-item:nth-child(4n + 1) .cappro-card .card,
.owl-carousel .owl-item:nth-child(4n + 1) .cappro-card .card p,
.cappro-card:nth-child(4n + 1) .card,
.cappro-card:nth-child(4n + 1) .card {
    /*aqui*/
    background-color: var(--colorNeutral);
    color: #fff;
}

.cappro-card .card-footer {
    background-color: transparent;
    border-top: 0;
    padding: 0;
}

.cappro-card .card-footer a {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 0.75rem 1.25rem;
}

.container-footer-info {
    width: fit-content;
    margin: 0 auto;
}

.container-footer-contacto {
    width: fit-content;
    margin-left: auto;
}

.side-nav {
    color: #ffffff !important;
}

.cappro-card .card-footer a:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: unset;
}

.cappro-card .card-footer a i {
    transition:
        transform 0.2s ease-in-out,
        -webkit-transform 0.2s ease-in-out;
}

.cappro-card:hover .card-footer a i {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .cappro-card h3.card-title {
        font-size: 16px;
    }
}

.gray {
    background: #efeeee;
}

.background-image-nostros {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 3rem;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.container-text-nosotros {
    width: 50%;
}

.half-section-expand-wrapper {
    height: 100%;
}

.btn-cappro {
    width: 100%;
    background-color: var(--colorPrincipal);
    text-align: left;
    height: 80px;
    line-height: 80px;
    padding: 0 40px;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}

.btn-cappro i {
    transition:
        transform 0.2s ease-in-out,
        -webkit-transform 0.2s ease-in-out;
}

.btn-cappro:hover i {
    transform: translateX(5px);
}

.half-section-expand-content h3 {
    font-size: 2rem;
}

@media screen and (max-width: 767px) {
    .feature-skill-box {
        padding: 1.5rem 0;
    }
    .btn-cappro {
        height: 58px;
    }
}

@media (min-width: 992px) {
    .half-section-content {
        max-width: 560px;
        padding: 7.5rem 0;
        margin: auto;
    }
    .half-section-expand {
        width: 100%;
        margin-left: auto;
        justify-content: flex-end;
        transition: all ease 0.75s;
    }
    .half-section-expand-wrapper:hover .half-section-expand {
        width: 100%;
    }
    .bg-overlay {
        transition: all ease 0.75s;
    }
    .half-section-expand:hover .bg-overlay {
        opacity: 0.4;
    }
    .half-section-expand h3 {
        margin-left: auto;
        margin-right: auto;
        opacity: 1;
        transition: opacity 0.3s ease;
        width: 100%;
        padding: 0 60px;
    }
    .half-section-expand:hover h3 {
        opacity: 0;
        transition: opacity 0s ease;
    }
    .expand-text {
        opacity: 0;
        position: absolute;
        bottom: 0px;
        margin-right: 35px;
        transform: translateY(0px);
        -ms-transform: translateY(0px);
        transition: opacity 0s ease;
    }
    .half-section-expand:hover .expand-text {
        opacity: 1;
        transform: translateY(75px);
        -ms-transform: translateY(0);
        transition: opacity 0.75s ease;
    }
    .square-section {
        aspect-ratio: 1;
        padding: 3rem;
        display: flex;
        align-items: center;
    }
    .square-section:hover .bg-overlay {
        background: #000 !important;
        opacity: 0.4;
    }
    .square-section h3 {
        height: 100%;
    }
    .square-section:hover h3 {
        opacity: 0;
        height: 0;
        transition: opacity 0s ease;
    }
    .square-section .expand-text {
        position: relative;
        margin: 0;
        height: 0;
        transform: none;
    }
    .square-section:hover .expand-text {
        color: #fff;
        opacity: 1;
        height: 100%;
        transition: opacity 0.75s ease;
    }
}

@media (max-width: 1200px) {
    .square-section .expand-text {
        font-size: 16px;
        line-height: normal;
    }
    .half-section-expand:hover .expand-text {
        margin: auto;
        padding: 0 30px;
    }
    .square-section {
        padding: 1rem;
    }
}

@media (max-width: 991px) {
    .half-section-expand-content {
        padding: 0;
    }
    .half-section-expand-wrapper,
    .square-section {
        aspect-ratio: 1;
        display: flex;
        align-items: center;
    }
    .half-section-expand-content h3 {
        margin-bottom: 10px;
    }
    .half-section-expand-content p {
        font-size: 16px;
    }
}

img.feature-half {
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* page-header */

.page-header {
    height: 50vh;
    padding: 0;
    display: flex;
    align-items: flex-end;
}

.cover-text {
    background: rgb(215 190 104 / 80%);
    padding: 37px 48px 37px 48px;
    max-width: 728px;
}

.solid-header {
    height: auto;
    padding-top: 55px;
}

/* Publicaciones */

.responsive-calendar .controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
}

.responsive-calendar .btn {
    min-width: 100%;
    padding: 0;
}

.responsive-calendar .day a {
    border-radius: 6px;
}

.responsive-calendar .btn:hover {
    color: var(--colorPrincipal);
}

.responsive-calendar .day.active a {
    color: #222;
    background-color: var(--colorPrincipal);
}

.responsive-calendar .day.active a:hover {
    color: #222;
    background-color: var(--colorSecundario);
}

/* la camara */

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #000;
    background-color: var(--colorPrincipal);
}

.nav-pills .nav-link {
    border-radius: 0;
    font-size: 18px;
    font-weight: 500;
    padding: 1rem 1rem;
}

.nav-pills .nav-item:not(:last-of-type) .nav-link {
    border-right: 2px solid #ccc;
}

.nav-fill .nav-item {
    transition: all ease 0.2s;
}

.nav-fill .nav-item:hover {
    background-color: #d0d0d0;
}

.content-page h4 {
    margin-bottom: 0.5rem;
}

.tab-pane h4 {
    margin-bottom: 25px;
}

.content-page p {
    margin-bottom: 21px;
}

.card .empresa-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .empresa-image img {
    height: unset;
    max-height: 140px;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.6s;
    will-change: transform;
    margin-bottom: 1rem;
}

.card .empresa-image a:hover img {
    transform: scale(1.2);
    transition: all 0.6s;
}

.card-publicacion {
    background: transparent;
}

.img-publicaciones {
    height: auto;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

.card-body-cappro {
    background: transparent;
    padding: 1rem 0;
}

.text-black {
    color: #000;
}

.grid-rse {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    align-items: center;
    gap: 1.5rem;
}

.card .text-rse {
    color: #000 !important;
    background: transparent !important;
    margin-bottom: 1rem;
}

.link-publicaciones {
    font-size: 1rem;
    display: flex;
    align-items: center;
    column-gap: 8px;
    transition: all 0.3s;
}

.link-publicaciones i {
    transition: all 0.3s;
}

.link-publicaciones:hover {
    color: var(--colorPrincipal);
}

.link-publicaciones:hover i {
    transform: translateX(3px);
    transition: all 0.3s;
    color: var(--colorPrincipal);
}

.text-estadisticas {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-box {
    transition: all 0.4s;
}

.team-box-three {
    transition: all 0.4s;
    position: relative;
}

.team-box-three::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;
    background: var(--colorPrincipal);
    border-radius: 0.25rem;
    opacity: 0;
    transition: all 0.4s;
    z-index: -1;
}

.team-box-three:hover::after {
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: all 0.4s;
}

.team-box-three:hover {
    box-shadow: 0px 4px 30px 0px #00000024;
    transform: translateY(-5px);
    transition: all 0.4s;
}

.team-box {
    padding: 1.5rem;
    border: 0;
    border-radius: 0.25rem;
    transition: all 0.4s;
    position: relative;
}

.team-box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;
    background: var(--colorPrincipal);
    border-radius: 0.25rem;
    opacity: 0;
    transition: all 0.4s;
    z-index: -1;
}

.team-box:hover::after {
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: all 0.4s;
}

.team-box:hover {
    box-shadow: 0px 4px 30px 0px #00000024;
    transform: translateY(-5px);
    transition: all 0.4s;
}

.team-box .team-text h5 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.team-box .team-text {
    padding: 0;
    font-weight: 500;
}

.team-image img {
    aspect-ratio: 3/4;
    object-fit: cover;
}

.team-image {
    margin-bottom: 2rem;
}

/* estadisticas */

.blog-category li.nav-item a.active {
    font-weight: 500;
}

#sidebar-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1002;
    background: var(--colorPrincipal);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.tab-content {
    clear: both;
}

@media (max-width: 991px) {
    .mobile-sidebar {
        position: fixed;
        left: -350px;
        top: 0;
        bottom: 0;
        z-index: 1001;
        background-color: #f8f9fa;
        width: 100%;
        max-width: 350px;
        overflow-y: scroll;
        box-shadow: 0.1rem 0 0.6rem 0 rgb(51 51 51 / 50%);
        will-change: transform;
        visibility: hidden;
        transition: all 0.35s;
    }
    .mobile-sidebar.active {
        visibility: visible;
        transform: translateX(350px);
    }
    .mobile-sidebar .nav {
        padding-top: 30px;
    }
}

/* noticias */

.blog-item-content p {
    margin-bottom: 15px;
}

.blog-detail-tag .btn.btn-transparent-gray:hover {
    border-color: var(--colorPrincipal);
    background-color: var(--colorPrincipal);
    color: #222;
}

/* contacto */

.address-block ul.address-list {
    color: #262626;
}

ul.address-list i {
    color: var(--colorNeutral);
}

.contact-form .form-control {
    border: 1px solid #ced4da;
    color: #222;
    letter-spacing: normal;
    padding: 0.375rem 0.75rem;
}

/* footer */

footer {
    padding: 1rem 0 1rem;
    position: relative;
    background: linear-gradient(
        90deg,
        rgb(243 238 147) 45%,
        rgb(235 195 99) 80%
    );
}

.footer-wave {
    z-index: 9;
}

footer.bg-dark {
    background: #000 !important;
}

main {
    position: relative;
}

img.footer-image {
    position: absolute;
    bottom: -1px;
    width: 100%;
    pointer-events: none;
}

@media (max-width: 480px) {
    .footer-image {
        object-fit: cover;
        object-position: right;
        height: 80px;
    }
    footer {
        background: linear-gradient(
            90deg,
            rgb(232 212 119) 0,
            rgb(235 195 99) 45%
        );
    }
}

.footer-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 20px;
    text-align: left;
}

.footer-social li a:hover {
    background-color: var(--colorPrincipal);
}

.footer-column h5 {
    margin-bottom: 10px;
    font-size: 16px;
    letter-spacing: normal;
    font-family: var(--font);
}

.padding-card {
    padding: 0 3rem;
}

.modal-principal .close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 99;
}

.modal-principal .modal-body {
    padding: 0;
}

.text-pacto {
    text-align: center;
    margin-top: 1rem;
    line-height: 1.3;
}

.card-title a {
    transition: all 0.3s;
}

.card-title a:hover {
    color: #fff;
}

.section-contacto {
    padding-top: 3rem;
    padding-bottom: 6rem;
}

.title-tab-content {
    text-align: center;
    line-height: 1.2;
}

.g-recaptcha {
    transform: scale(0.7);
    -webkit-transform: scale(0.7);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}

.header-appear .header-social .newsletter-highlight:hover {
    color: #111 !important;
}

/* Subscribe modal description under title/close */
#subscribeModal .modal {
    padding-right: 0 !important;
}
#subscribeModal .modal-header {
    flex-wrap: wrap;
}

#subscribeModal .modal-header .modal-description {
    width: 100%;
    margin: 0.6rem 0 0;
    color: #565660;
    font-size: 0.9rem;
    line-height: 1.4;
}

#subscribeModal .modal-title {
    line-height: 1.2;
}

.modal-header .close {
    height: fit-content;
}

/* Mobile: make modal not take full width so background is partially visible */
@media (max-width: 676px) {
    #subscribeModal .modal-dialog {
        max-width: 420px !important;
        margin: 8vh auto;
        padding: 0 2.5rem;
        /* give some vertical space */
    }

    #subscribeModal .modal-content {
        border-radius: 12px;
        overflow: hidden;
    }

    #subscribeModal .form-group {
            margin-bottom: 0.75rem;
    }

    #subscribeModal label {
        font-size: 0.875rem;
        line-height: 1.2;
    }
}

@media screen and (max-width: 768px) {
    .logo-dark {
        width: 140px;
        height: auto;
    }
    .grid-rse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .container-footer-info,
    .container-footer-contacto {
        margin: unset;
    }

    .background-image-nostros {
        position: relative;
    }

    .background-image-nostros:after {
        content: "";
        position: absolute;
        background: rgb(215 190 104 / 82%);
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .container-text-nosotros {
        width: 100%;
        z-index: 1;
    }

    .half-section-content {
        padding: 2rem 0;
    }
    .background-image-nostros,
    .padding-card,
    .padding-responsive {
        padding: 0 15px;
    }
    .nav-pills.nav-camara .nav-item {
        width: 100% !important;
        display: block;
    }
    .title-tab-content {
        text-align: left;
    }
}
