:root {
    --prim-color: #E9212D;
    --sec-color: #BA121E;
    --ter-color: #323538;
    --quat-color: #950F18;
    --dark-color: #393939;
    --text-color: #656565;
    --header-font: 'Inter', sans;
    --header-nav-color: #FFFFFF;
}

body {
    font-family: var(--header-font);
    font-size: .7em;
    letter-spacing: 1px;
    margin: -4px 0 0 0;
    color: var(--text-color);
}

.loading-overlay {
    background: #171717 !important;
}

.red-gradient {
    background: linear-gradient(120deg,
    #E9212D,
    #E4212D,
    #DA1F2C,
    #D11E2C,
    #C91D2B,
    #BE1C2B,
    #B91C2B,
    #B61B2A
    ) !important;
}

.dark-gradient {
    background: linear-gradient(120deg,
    #212023,
    #1F1F21,
    #1C1D1E,
    #1A1A1B,
    #141415,
    #101011,
    #0D0D0D,
    #0A0B0B,
    #070909,
    #050606,
    #030303,
    #000000
    ) !important;
}


.main {
    line-height: 1.1em;
    color: var(--text-color);
}

.main h1, .main h2, .main h3, .main h4, .main h5, .main h6 {
    font-family: var(--header-font);
    color: var(--sec-color);
    letter-spacing: 1px;
    line-height: normal;
    font-weight: normal;
    text-transform: none;
}

.main p {
    line-height: 24px;
    margin-bottom: 10px;
}

.main h1 {
    font-size: 30px;
}

.main h2 {
    font-size: 26px;
}

.main h3 {
    font-size: 20px;
}

.main h4 {
    font-size: 16px;
}

.main h5 {
    font-size: 12px;
}

.main h6 {
    font-size: 10px;
}

.main p, .main li {
    font-size: .9em;
    font-weight: 300;
    font-family: var(--header-font);
    color: var(--text-color);
    letter-spacing: 0;
}


@media (max-width: 576px) {
    .main h1 {
        font-size: 24px;
    }

    .main h2 {
        font-size: 20px;
    }

    .main h3 {
        font-size: 16px;
    }

    .main h4 {
        font-size: 14px;
    }

    .main h5 {
        font-size: 12px;
    }

    .main h6 {
        font-size: 10px;
    }

    .main p, .main li {
        font-size: .8em;
        line-height: 18px;
    }
}

.main li {
    margin-bottom: 8px;
}

section.section-scroll {
    background: transparent;
    padding: 120px 0 60px 0;
    margin: 0;
    border: none;
}

.section-scroll-dots-navigation > ul > li {
    margin-bottom: 0.8rem;
}

label {
    padding: 8px 0 4px 0;
    color: #FFFFFF;
}

.form-control {
    background-color: #323538;
    color: #FFFFFF;
}

a {
    color: #CCCCCC;
    text-decoration: none;
}

a:hover {
    color: var(--sec-color);
    text-decoration: none;
    margin: 1px 0 0 1px;
}

.blur-box {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-family: sans-serif;
    text-align: center;
    line-height: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 50%;
    max-height: 50%;
    padding: 20px 40px;
}

img.white-filter {
    filter: brightness(0) invert(1);
}

img.dark-filter {
    filter: brightness(0);
}


/* ----- Colores de la navegacion segun data-section-scroll-header-color en la seccion de la pagina */
@media (min-width: 992px) {
    #header .header-nav.header-nav-links nav > ul li:hover > a {
        color: var(--sec-color);
    }

    #header .header-nav.header-nav-links nav > ul > li > a {
        font-size: .85em;
    }

    .bg-light #header .header-nav.header-nav-links.header-nav-light-text nav > ul > li > a:not(.active) {
        color: #000000;
    }

    .black-gradient #header .header-nav.header-nav-links.header-nav-light-text nav > ul > li > a:not(.active),
    .red-gradient #header .header-nav.header-nav-links.header-nav-light-text nav > ul > li > a:not(.active),
    .red-gradient #header .header-nav.header-nav-links.header-nav-primary-text nav > ul > li > a:not(.active) {
        color: #FFFFFF;
    }

    .red-gradient #header .header-nav.header-nav-links.header-nav-light-text nav > ul > li > a.current-page-active,
    .red-gradient #header .header-nav.header-nav-links.header-nav-primary-text nav > ul > li > a.current-page-active {
        color: #000000;
    }

    #header .header-nav-main nav > ul > li > a {
        letter-spacing: 0;
        text-transform: lowercase;
    }

    html.side-header #header.side-header {
        position: fixed;
        box-shadow: none;
    }

    html.side-header #header.side-header {
        box-shadow: none;
        top: 0;

        max-width: unset;
    }


    html.side-header #header.side-header .header-nav.header-nav-links-vertical-columns nav > ul > li.dropdown .dropdown-menu:before {
        background: unset;
        border-right: none;
        border-left: none;
    }

    html.side-header #header.side-header .header-nav-main nav > ul > li.dropdown:hover > .dropdown-menu {
        border: none;
    }

    #header .header-nav-main nav > ul > li.dropdown .dropdown-menu li a {
        border: none;
        color: #CCCCCC;
        font-size: .8em;
        font-weight: 400;
        letter-spacing: 0;
    }

    #header .header-nav-main nav > ul > li.dropdown .dropdown-menu li:hover > a {
        background-color: transparent;
        color: var(--prim-color);
    }

    html.side-header #header.side-header .header-nav.header-nav-links-vertical-columns nav > ul > li.dropdown:hover > .dropdown-menu {
        background-color: transparent;
    }

    #header .header-nav.header-nav-links:not(.header-nav-dark-text) nav > ul > li > a {
        color: #EEEEEE;
    }

}


@media (max-width: 991px) {
    .section-scroll-dots-navigation {
        display: none;
    }

    section.section-scroll {
        padding: 100px 0 30px 0;
    }

    #header .header-nav-main nav > ul li {
        border: none;
    }

    #header .header-nav-main nav > ul > li > a {
        text-transform: lowercase;
        font-weight: normal;
    }

    #header .header-nav-main nav > ul li a {
        font-size: 1em;
    }

    #header .header-nav-main nav {
        background-color: #171717;
    }

    #header .header-nav-main nav > ul {
        padding-top: 5px;
        padding-bottom: 0;
    }

    html #header.header-transparent .header-nav-main:before {
        width: calc(100% - 35px);
    }

    #header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a {
        color: #FFFFFF;
    }

}


/* Scroll navigation */

.section-scroll-dots-navigation > ul > li > a:before {
    top: 50%;
    left: 50%;
    width: 20px;
    height: 5px;
    border-radius: 30px;
    transition: ease opacity 500ms;
    opacity: 1;
}

.red-gradient .section-scroll-dots-navigation > ul > li.active > a:before {
    background: #FFFFFF;
}

.dark-gradient .section-scroll-dots-navigation > ul > li.active > a:before {
    background: var(--prim-color);
}

.bg-light .section-scroll-dots-navigation > ul > li.active > a:before {
    background: var(--prim-color);
}

.section-scroll-dots-navigation > ul > li.active > a:before {
    transform: translate3d(-50%, -50%, 0);
    width: 35px;
    height: 6px;
    border-radius: 30px;
    opacity: 1;
}

.red-gradient .section-scroll-dots-navigation > ul > li > a:before {
    background: #999999;
}

.dark-gradient .section-scroll-dots-navigation > ul > li > a:before {
    background: #CCCCCC;
}

.bg-light .section-scroll-dots-navigation > ul > li > a:before {
    background: #999999;
}


.section-scroll-dots-navigation {
    background: transparent;
}

.section-scroll-dots-navigation > ul > li {
    margin-bottom: 2px;
}

.btn-outline-primary {
    color: var(--prim-color);
    border-color: var(--sec-color);
}

.btn-outline-primary:hover {
    color: #FFFFFF;
    background-color: var(--prim-color);
    border-color: var(--ter-color);
}


.red-gradient p {
    color: white;
}

.dark-gradient p {
    color: #CCCCCC;
}

.bg-light p {
    color: #333333;
}


.toggle.toggle-simple .toggle > .toggle-title {
    padding-left: 0;
    margin-bottom: 0;
    font-size: 1.2em;
    font-weight: bold;
}

.toggle.toggle-simple .toggle > .toggle-title:before {
    left: auto;
    right: 20px;
    margin-top: 0;
    top: 12px;
    font-weight: 900;
    color: #333333;
    font-size: 10px;
}

html .toggle-primary.toggle-simple .toggle > .toggle-title:after {
    background-color: transparent;
}

/* Youtube Responsive video container */
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Whatsapp icon */

.whatsapp-button {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 95px;
    right: 28px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 3px;
    z-index: 100;
}



.whatsapp-icon {
    margin-top: 12px;
    margin-left: 4px;
    font-size: 3.2em;
}


.contact-button {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 165px;
    right: 28px;
    background-color: var(--prim-color);
    color: #FFFFFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 3px;
    z-index: 100;
}

.contact-icon {
    margin-top: 14px;
    margin-left: 2px;
    font-size: 2.8em;
}

@media (max-width: 576px) {
    .whatsapp-button {
        position: fixed;
        bottom: 24px;
        right: 92px;
    }

    .contact-button {
        position: fixed;
        bottom: 24px;
        right: 160px;
    }

}


@media (max-width: 576px) {
    .carousel-half-full-width-wrapper > .owl-carousel .owl-stage-outer {
        margin-bottom: 20px;
        margin-right: 200px;
        margin-top: 160px;
    }
}

article.post-large, article.post-large .post-image {
    margin: 0;
}
