﻿.bandera {
    width: 100%;
    height: 4px;
}

.bandera-roja-horizontal {
    background-color: #FF0000;
}

.bandera-verde-horizontal {
    background-color: #4BAA00;
}

.bandera-azul-horizontal {
    background-color: #4986CE;
}

@media (min-width: 1200px) {
    .titulo-redes-sociales {
        font-size: 30px;
        font-weight: bold;
    }

    .links-redes-sociales {
        justify-content: left;
        font-size: 30px;
    }

    .input-newsletter input {
        width: 254px;
    }

    #mc_embed_signup .mc-field-group input {
        padding: unset !important;
        padding: 0.4rem !important;
        border-color: black;
    }
}

@media (max-width: 1200px) {
    .titulo-redes-sociales {
        font-size: 1.7rem;
        font-weight: 700;
    }

    .swiper-grid > .swiper-wrapper {
        flex-direction: unset !important;
    }

    #swiper-redes-sociales .swiper-slide {
        margin-top: unset !important;
    }

    #swiper-redes-sociales .swiper-button-prev, #swiper-redes-sociales .swiper-button-next {
        top: 55% !important;
    }

    .links-redes-sociales {
        justify-content: center;
        font-size: 30px;
    }

    .input-newsletter {
        margin-bottom: 30px;
    }

        .input-newsletter input {
            width: 100%;
        }

    #mc_embed_signup .mc-field-group input {
        padding: unset !important;
        padding: 0.53rem !important;
        border-color: black;
    }
}

#swiper-redes-sociales .swiper-slide {
    position: relative;
    overflow: hidden;
    height: 214px !important;
    margin-top: unset !important;
}

    #swiper-redes-sociales .swiper-slide:hover::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 1; /* Asegura que el fondo esté sobre el contenido del swiper-slide */
    }

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
}

#swiper-redes-sociales .swiper-slide {
    cursor: pointer;
}

    #swiper-redes-sociales .swiper-slide:hover .overlay {
        opacity: 1;
        z-index: 1;
    }

    #swiper-redes-sociales .swiper-slide:hover .post-type svg {
        opacity: 0;
    }

.clamped-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
    font-size: 13px;
    line-height: normal;
}

.reacciones svg {
    fill: white;
    height: 20px;
    width: 20px;
}

.reacciones {
    justify-content: space-around; /* O cualquier otra alineación que desees */
    width: 100%; /* Ajusta el ancho según tus necesidades */
}

    .reacciones .heart-reaction, .reacciones .comments-reaction {
        align-items: center;
    }

#swiper-redes-sociales .swiper-button-prev {
    left: 0;
    transform: translate3d(-50%,-50%,0);
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);
    position: absolute;
    top: 65%;
    width: 60px;
    height: 60px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;
    opacity: .85;
    transition: all .2s;
    backface-visibility: hidden;
    background: rgba(0, 0, 0, 0.9);
}

#swiper-redes-sociales .swiper-button-next {
    right: 0;
    transform: translate3d(50%,-50%,0);
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);
    position: absolute;
    top: 65%;
    width: 60px;
    height: 60px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;
    opacity: .85;
    transition: all .2s;
    backface-visibility: hidden;
    background: rgba(0, 0, 0, 0.9);
}

#swiper-redes-sociales .swiper-button-prev:after {
    font-size: 17px !important;
    color: white;
    margin-top: 4px;
    margin-right: 0px;
}

#swiper-redes-sociales .swiper-button-next:after {
    font-size: 17px !important;
    color: white;
    margin-top: 4px;
    margin-left: 0px;
}

.post-type {
    position: absolute;
    z-index: 2;
    top: 0.6em;
    right: 0.6em;
    width: 24px;
    height: 24px;
    transition: all .3s ease;
}

    .post-type svg {
        width: 24px;
        height: 24px;
        fill: rgba(255,255,255,0.8);
    }

#swiper-redes-sociales .swiper-slide img {
    object-fit: cover;
    min-height: 214px;
    width: 100%;
}

.links-redes-sociales i {
    padding-right: 25px;
    margin-bottom: 30px;
}

.input-newsletter input {
    border: 1px solid;
    height: 31px;
    font-weight: lighter;
    font-size: 15px;
    padding-left: 10px;
}

.modal-redes-mobile {
    background-color: white;
    width: 100%;
    position: absolute;
    z-index: 10;
}

    .modal-redes-mobile .modal-body {
        overflow-y: auto;
        max-height: 465px;
    }

.user-name {
    font-weight: 700;
}

a.user-name:hover {
    text-decoration: underline;
}

.btn-share-redes {
    cursor: pointer;
}

.close-modal-mobile {
    border-bottom: 1px solid #f1f1f1;
    background-color: #f8f8f8;
    width: 100%;
}

    .close-modal-mobile i {
        font-size: 20px;
    }

.target-element {
    display: inline-block;
    /* border: 1px solid #ccc; */
    padding: 10px;
    cursor: pointer;
}

.custom-tooltip {
    display: none;
    position: absolute;
    top: -40%;
    background-color: #2f353a;
    color: #fff;
    border-radius: 3px;
    width: 162px;
    font-size: 13px;
    z-index: 1;
    right: 10px;
}

    .custom-tooltip i {
        font-size: 12px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .custom-tooltip .d-flex {
        line-height: 1;
        align-items: center;
        padding: 12px 0;
        cursor: pointer;
    }

        .custom-tooltip .d-flex:hover {
            background-color: #42474c;
        }

    .custom-tooltip:before {
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #2f353a;
        bottom: -6px;
        content: "";
        height: 0;
        left: 65%;
        margin-left: -6px;
        position: absolute;
        width: 0;
    }

.footer-content {
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.swiper-instagram-modal .swiper-pagination .swiper-pagination-bullet {
    background-color: rgba(255,255,255,0.6);
    opacity: unset;
}

.swiper-instagram-modal .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #fff;
}

.swiper-instagram-modal .swiper-button-prev:after {
    right: 0px;
    font-size: 45px !important;
    color: white;
}

.swiper-instagram-modal .swiper-button-next:after {
    left: 0px;
    font-size: 45px !important;
    color: white;
}

#mc_embed_signup form {
    margin: unset !important;
}

#mc_embed_signup input {
    border-radius: unset !important;
    -webkit-border-radius: unset !important;
}

#mc_embed_signup .button {
    border-radius: unset !important;
    padding: 0.3rem !important;
    height: unset !important;
}

.icon-arrow-newsletter {
    position: absolute;
    left: 35%;
    top: 13%;
    font-size: 22px;
}

#mc-embedded-subscribe {
    clear: unset !important;
    margin: unset !important;
}

.col-2 {
    width: 16.66666667% !important;
}

.button-container {
    position: relative;
}

    .button-container::after {
        content: '\2192';
        position: absolute;
        right: 20px;
        top: -8%;
        font-size: 30px;
        color: white;
        cursor: pointer;
        pointer-events: none;
    }
