@font-face {
    font-family: "Presto";
    src: url("/assets/layouts/companies/fonts/Dna/Presto.eot");
    src: url("/assets/layouts/companies/fonts/Dna/Presto.eot?#iefix") format("embedded-opentype"),
    url("/assets/layouts/companies/fonts/Dna/Presto.woff2") format("woff2"),
    url("/assets/layouts/companies/fonts/Dna/Presto.woff") format("woff"),
    url("/assets/layouts/companies/fonts/Dna/Presto.ttf") format("truetype"),
    url("/assets/layouts/companies/fonts/Dna/Presto.svg#glyphicons_halflingsregular") format("svg");
    font-weight: 600;
}

:root {
    --font-family-presto: 'DNA2';
}

/* FETAURED */

/* Featured 2 */
#featured-3 .sliderFeaturedContainer-3 {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 90%;
    margin: auto;
}

.mobileSliderFeaturedContainer-3{
    display: none !important;
}

content {
    width: 100%;
}

@media (min-height: 894px) and (max-width: 1510px) {
    .featuredContainerMain2 .featuredContainer2>figure,
    .featuredContainerMain3 .featuredContainer3>figure {
        height: 62vh;
    }

    #featured-3 .sliderFeaturedContainer-3{
        height: calc(100vh - 40px - 93px - 40px);
    }

    .featuredContainerStories3 figure {
        aspect-ratio: 13/8;
    }

}

@media (min-width: 1201px) and (max-width: 1288px) {
    .featuredContainerStories3 figure {
        aspect-ratio: 11/8;
    }
}

@media (min-width: 1289px) and (max-width: 1400px) {
    .featuredContainerStories3 figure {
        aspect-ratio: 12/8;
    }
}

.featuredContainerMain3 {
    width: 66%;
    height: fit-content;
}

.featuredContainerStories3 {
    width: 30%;
    display: flex;
    flex-direction: column;
}

.featuredContainerMain3 .featuredContainer3 figure {
    height: unset;
    max-height: 600px;
}

.featuredContainer2 figure,
.featuredContainer3 figure {
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
    height: 245px;
}

.latestNewsContainer-2 .featuredContainer2 figure {
    height: 250px;
}

.featuredContainer2 figure .category-wrapper,
.featuredContainer3 figure .category-wrapper {
    position: absolute;
    left: -1px;
    bottom: -1px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    z-index: 2;
    background-image: url("/assets/companies/view-home/files/tag-corner.png");
    background-position: 50%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: unset;
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
    max-width: calc(100% - 80px);
    width: fit-content;
    padding: 0 20px 0 0;
    border-bottom-left-radius: var(--border-radius-two);
}

figure .category-wrapper.hide {
    display: none;
}

.featuredContainer2 figure .category,
.featuredContainer3 figure .category {
    margin: 37px 0 10px 0;
    background-color: unset;
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
    padding: 0 20px;
    background: var(--light-color-two);
}

.featuredContainer2 figure .category .text,
.featuredContainer3 figure .category .text {
    font-size: var(--generic-font-two);
    color: var(--main-color);
    text-transform: uppercase;
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
    text-wrap: nowrap;
    width: auto;
}

.blogPostCardImageContainer{
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border-radius: var(--border-radius-two);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.blogPostCardImage{
    min-width: 100%;
    min-height: 100%;
}

.featuredContainerText-3 h3 {
    font-size: var(--generic-font);
    line-height: var(--generic-line-height);
}

.featuredContainerText-3 p {
    font-size: var(--generic-font);
    line-height: var(--generic-line-height);
    border-bottom: 1px solid black;
    padding-bottom: 8px;
    margin-bottom: 8px;
    margin-top: auto;
    color: var(--main-color);
    font-weight: var(--font-weight-regular);
}

.featuredContainer2 a,
.featuredContainer3 a {
    font-size: var(--generic-font);
    line-height: var(--generic-line-height);
    font-weight: var(--font-weight-bold);
    color: var(--main-color);
}

.featuredContainer2 figure img,
.featuredContainer3 figure img {
    /* height: 100%;
    width: 100%; */
    object-fit: cover;
    border-bottom-left-radius: 28px;
    /* min-width: 100%; */
    min-height: 100%;
}

.buttonHoveOverlayBackground {
    position: absolute;
    top: 0;
    width: 100%;
    background: rgb(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    align-items: self-end;
    padding-bottom: 60px;
    padding-left: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    border-radius: var(--border-radius-two);
}

figure:hover .buttonHoveOverlayBackground {
    visibility: visible;
    opacity: 1;
}

.buttonHoverOverlayContainer {
    display: grid;
    grid-gap: 10px;
}

.buttonHoverOverlay {
    display: flex;
    align-items: center;
    font-size: var(--generic-font-two);
}

.buttonHoverOverlay p {
    color: var(--light-color);
}

.buttonHoverOverlay figure {
    background: white;
    border-radius: 100%;
    margin-right: 10px;
    width: fit-content;
    margin-bottom: 0;
    width: 35px;
    height: 30px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttonHoverOverlay figure img {
    height: 15px;
    object-fit: contain;
}

.buttonHoverOverlayContainer {
    height: fit-content;
    display: grid;
    grid-gap: 10px;
}

/* Fonts especiales para featured destacado */

.featuredContainerMain3 .featuredContainerText-3 h3 {
    font-size: var(--title-font-two);
    line-height: var(--title-line-height-two);
    font-weight: var(--font-weight-semibold);
}

/* Estilos especiales para featured stories */

.featuredContainerStories3 .featuredContainer3 {
    margin-bottom: 20px;
}

/* Featured 3 */
#featuredContainer1 {
    display: flex;
    background: var(--light-color);
    border-radius: var(--border-radius-one);
    justify-content: space-between;
    overflow: hidden;
    width: 90%;
    margin: 0 auto 40px;
}

#featuredContainer1 figure {
    width: 50%;
}

#featuredContainer1 figure img{
    height: 500px;
    object-fit: cover;
}

.featuredContainerText-1 {
    width: 50%;
    padding: 4%;
}

.featuredContainerText-1 span {
    font-size: var(--generic-font-two);
    text-transform: uppercase;
    font-weight: var(--font-weight-semibold);
    color: var(--main-color);
}

.featuredContainerText-1 h2 {
    font-size: var(--title-font);
    line-height: var(--title-line-height);
    margin: 20px 0;
    text-transform: uppercase;
}

.featuredContainerText-1 p {
    max-width: 500px;
    font-size: var(--generic-font);
    line-height: var(--generic-line-height);
    border-bottom: 1px solid var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.featuredContainerText-1 a {
    font-size: var(--generic-font);
    line-height: var(--generic-line-height);
    font-weight: var(--font-weight-semibold);
    color: var(--main-color);
}


/* Banners Welcome to */
.bannerWelcome {
    background-color: var(--main-color);
    border-radius: var(--border-radius-one);
    padding: 30px 30px 35px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: auto;
    margin-top: 50px;
    background-size: cover;
    background-position: center;
}

.bannerWelcomeLeft {
    width: 45%;
}

.bannerWelcomeLeft h2 {
    color: var(--light-color-two);
    font-size: var(--title-font);
    font-weight: var(--font-weight-bold);
    line-height: 55px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.bannerWelcomeLeft h3 {
    color: white;
    font-size: var(--generic-font);
    font-weight: var(--font-weight-regular);
}

.bannerWelcome img {
    max-height: 40px;
    max-width: 130px;
    max-width: fit-content;
}

.bannerWelcomeRight {
    display: flex;
    flex-direction: column;
    width: fit-content;
    width: 50%;
}

.bannerWelcomeRight p {
    color: var(--light-color-two);
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 20px;
}

/* BannerWelcome-1 */
.bannerWelcome .bannerWelcomeLeft h2,
#logoBannerWelcome{
}


/* Latest News 2 */

#latestNnew-2 {
    width: 90%;
    margin: 50px auto;
}

#latestNnew-2 h2 {
    font-size: var(--sub-title-font);
    line-height: var(--sub-title-line-height);
    letter-spacing: 0.5px;
}

.latestNewsContainer-2 {
    margin-top: 30px;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}

.featuredContainer2{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
}

/* Brands 2 */

.brandsContainer {
    background-color: var(--light-color);
    border-radius: var(--border-radius-one);
    padding: 30px 30px 40px 30px;
    width: 90%;
    margin: 40px auto;
}

.brandsContainerHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 10px 30px 0;
}

.brandsContainerHeader h2 {
    font-size: var(--title-font-two);
    line-height: var(--title-line-height-two);
}

.brandsHeaderArrows {
    display: flex;
    width: fit-content;
}

.brandsHeaderArrows img {
    width: 40px;
    cursor: pointer;
    margin-left: 10px;
}

.brandBox {
    height: auto;
    z-index: 1;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    border-radius: var(--border-radius-one);
    margin: 0 10px;
}

.brandBox .brand-image {
    width: 100%;
    height: 100%;
}

.brand-image img {
    object-fit: cover;
    border-radius: var(--border-radius-one);
    border-bottom-left-radius: 50px;
    border: 1px solid var(--light-color);
    height: 60vh;
}

.brandBox .brand-name {
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
    color: #000;
    border: none;
    bottom: 0px;
    left: 0px;
    background-image: url("/assets/companies/view-home/files/tag-corner-gray.png");
    background-position: 50%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: unset;
    padding: 0 75px 10px 20px;
    display: flex;
    align-items: center;
    position: absolute;
    width: fit-content;
}

.brand-name .text {
    font-size: var(--generic-font);
    width: fit-content;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    margin-top: 45px;
    margin-bottom: 3px;
}

.see-more-brand {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    border: 1px solid #000;
    color: #000;
    text-align: center;
    line-height: 20px;
    margin-left: 10px;
    font-size: 15px;
    margin-top: 40px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#leftBottomBorderFix1{
    position: absolute;
    left: 0px;
    bottom: 0px;
    background-color: red;
    width: 30px;
    height:50px;
}

#leftBottomBorderFix2{
    position: absolute;
    left: 0px;
    bottom: 0px;
    background-color: red;
    width: 30px;
    height:50px;
}

#viewHomeSocialsContainer{
    position: relative;
    width: 90%;
    height: auto;
    overflow: hidden;
    display: none;
    margin-left: 5%;
    margin-top: 40px;
}

#viewHomeSocialsTitle{
    position: relative;
    width: 100%;
    height: auto;
    font-size: var(--sub-title-font);
    line-height: var(--sub-title-line-height);
    letter-spacing: 0.5px;
}

#viewHomeSocials{
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
}
@media screen and (max-width: 868px) {
    #viewHomeSocials{
        aspect-ratio: 1 / 1.5;
    }
}

@media (min-width: 1600px) {
    .latestNewsContainer-2 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1300px) {
    header {
        height: 70px;
        padding: 0 5%;
    }

    #container-menu {
        width: 95% !important;
        border-bottom-left-radius: var(--border-radius-one);
        border-bottom-right-radius: var(--border-radius-one);
        left: 2.5% !important;
        top: -100% !important;
        transition: top 0.5s ease-in-out !important;
        z-index: -1;
        padding: 50px 0 20px !important;
    }

    #container-menu.open {
        top: 86px !important;
    }

    .downloadBoxButton {
        /* margin: 10px 0 0 2.5% !important; */
    }

    #companyMainLogo {
        max-width: 80px;
        max-height: 30px;
    }
}

@media screen and (max-width: 768px) {
    .bannerWelcome {
        flex-direction: column;
        margin-top: 40px;
    }

    .bannerWelcomeLeft,
    .bannerWelcomeRight {
        width: 100%;
    }

    content {
    }

    /* Banners Welcome to */
    .bannerWelcomeLeft h2 {
        margin-bottom: 0
    }

    .bannerWelcome img {
        max-height: 25px;
        width: unset;
        max-width: unset;
    }

    .bannerWelcomeRight p {
        font-size: 15px;
        line-height: 20px;
        margin-top: 15px;
    }

    /* Latest news 2 */
    .latestNewsContainer-2 {
        grid-template-columns: 1fr;
    }

    /* Featured 3 */
    #featuredContainer1 {
        flex-direction: column;
        margin: 0px auto 20px;
    }

    #featuredContainer1 figure {
        width: 100%;
    }

    .featuredContainerText-1 {
        width: 95%;
        padding: 30px 2.5%;
    }

    #featured-3 .sliderFeaturedContainer-3{
        height: auto;
        overflow: hidden;
    }

    .mobileSliderFeaturedContainer-3 .featuredContainer3 figure{
        height: 350px;
    }

    .mobileSliderFeaturedContainer-3 .featuredContainer3 figure img{
        height: -webkit-fill-available;
    }

    /* Brands */
    .brandsContainer {
        padding: 20px;
    }

    .brandBox {
        margin: 0;
    }

    #featured-3{
        height: auto;
        overflow: hidden;
    }

    .featuredContainerMain3{
        display: none
    }

    .featuredContainerStories3{
        display: none
    }

    .mobileSliderFeaturedContainer-3{
        width: 90%;
        margin: auto;
        display: block !important;
    }

    .slick-prev{
        left: 15px !important;
        z-index: 1;
    }

    .slick-next{
        right: 15px !important;
    }

    .slick-next,
    .slick-prev{
        top: 37% !important;
    }
}




