﻿
::-webkit-scrollbar {
    width: 5px;
    height: 6px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #cc3d38;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #cc3d38;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #cc3d38;
    }





header {
    width: 100%;
    height: 120px;
}

/***************************** NAVBAR ****************************************/
.login-button {
    background-color: red;
    color: white;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s background-color;
}

    .login-button:hover {
        background-color: #fc3b3b;
    }

.navbar {
    background-color: white;
    /*height: 80px;*/
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
}

    .navbar-toggler:focus, .btn-close:focus {
        box-shadow: none;
        outline: none;
    }

.nav-link {
    color: black;
    font-weight: 500;
    position: relative;
}

    .nav-link:hover, .nav-link.active {
        color: red;
    }


/* Dropend */
.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}


@media (max-width: 991px) {
    .nav-link::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: red;
        visibility: hidden;
        transition: 0.3s ease-in-out;
    }

    .nav-link:hover::before, .nav-link.active::before {
        width: 100%;
        visibility: visible;
    }

}

@media (min-width: 991px) {
    .nav-link::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: red;
        visibility: hidden;
        transition: 0.3s ease-in-out;
    }

    .nav-link:hover::before, .nav-link.active::before {
        width: 100%;
        visibility: visible;
    }
}

/***************************** END NAVBAR ****************************************/

/***************************** FOOTER ****************************************/
.divider {
    font-size: 30px;
    display: flex;
    align-items: center;
}

    .divider::before, .divider::after {
        flex: 1;
        content: '';
        padding: 3px;
        background-color: red;
        margin: 5px;
    }

/***************************** END FOOTER ****************************************/

/***************************** SCROLLER ****************************************/
.scroller {
    max-width: 600px;
    background-color: white;
}

.scroller__inner {
    padding-block: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.scroller[data-animated="true"] {
    overflow: hidden;
    -webkit-mask: linear-gradient( 90deg, transparent, white 20%, white 80%, transparent );
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

    .scroller[data-animated="true"] .scroller__inner {
        width: max-content;
        flex-wrap: nowrap;
        animation: scroll var(--_animation-duration, 40s) var(--_animation-direction, forwards) linear infinite;
    }

.scroller[data-direction="right"] {
    --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
    --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
    --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
    --_animation-duration: 60s;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 0.5rem));
    }
}

@media (max-width: 600px) {

    .scroller {
        width: 50%;
    }

        .scroller .scroller__inner img {
            width: 120px;
            height: auto;
        }
}

/***************************** END SCROLLER ****************************************/

/***************************** STICKY ****************************************/
.sticky-container {
    padding: 0px;
    margin: 0px;
    position: fixed;
    left: -170px;
    top: 300px;
    width: 210px;
    z-index: 1100;
}

.sticky li {
    list-style-type: none;
    background-color: #ff0000;
    color: #efefef;
    height: 43px;
    padding: 0px;
    margin: 0px 0px 1px 0px;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    cursor: pointer;
    text-align: right;
    border-radius: 15px;
}

    .sticky li:hover {
        margin-right: -115px;
    }

    .sticky li img {
        float: right;
        margin: 5px 4px;
        margin-left: 5px;
    }

    .sticky li p {
        padding-top: 5px;
        margin: 0px;
        line-height: 16px;
        font-size: 14px;
    }

        .sticky li p a {
            text-decoration: none;
            color: #fff;
        }

            .sticky li p a:hover {
                text-decoration: underline;
            }

@media (max-width: 481px) {
    .sticky-container {
        top: 340px;
        width: 126px;
        left: -104px;
    }

    .sticky li {
        height: 28px;
        padding: 0px;
        margin: 0px 0px 1px 0px;
        border-radius: 15px;
    }

        .sticky li:hover {
            margin-right: -58px;
        }

        .sticky li img {
            float: right;
            margin: 5px 4px;
            margin-left: 5px;
            width: 16px;
            height: auto;
        }

        .sticky li p {
            padding-top: 8px;
            margin: 0px;
            line-height: 8px;
            font-size: 8px;
        }
}

/***************************** END STICKY ****************************************/

/***************************** BADGE ****************************************/
.badge-red {
    background-color: red;
    color: white;
    padding: 4px 8px;
    text-align: center;
    border-radius: 5px;
    font-size: 12px;
}

.badge-white {
    background-color: white;
    color: red;
    padding: 4px 8px;
    text-align: center;
    border-radius: 5px;
    font-size: 12px;
}

/***************************** END BADGE ****************************************/

/***************************** QUIENES SOMOS ****************************************/
#login-container {
    height: 200px;
    width: 550px;
    padding: 20px;
    border-radius: 20px;
    position: relative;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
    background-color: white;
}

.profile-img {
    height: 160px;
    width: 160px;
    background: url('../img/QuienesSomos/CardContact/VLADIMIR.png');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 20px;
    left: 450px;
    border-radius: 50%;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
}

.description {
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right: 100px;
}

@-webkit-keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@media (max-width: 574px) {
    #login-container {
        height: 162px;
        width: 360px;
    }

    .profile-img {
        height: 100px;
        width: 100px;
        top: 30px;
        left: 266px;
    }

    .description {
        margin-top: -15px;
        margin-bottom: 5px;
        margin-left: 1px;
        margin-right: 50px;
    }
}
/***************************** END QUIENES SOMOS ****************************************/


/* Slider Banner Marcas */
.slider {
    width: 100%;
    height: auto;
    margin: auto;
    overflow: hidden; 
}

.slider .slide-track {
    display: flex;
    animation: scroll 40s linear infinite;
    -webkit-animation: scroll 40s linear infinite;
    width: calc(200px * 14);
    background-color: white;
}

.slider .slide {
    width: 200px;
}

.slider .slide img {
    width: 100%;
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }
    100% {
        -webkit-transform: translateX(calc(-200px * 7));
        transform: translate(calc(-200px * 7));
    }
}
/* End Slider Banner Marcas */



.overflow-scroll {
    border: none;
    height: 870px; 
}


/* Card Promociones Index*/
.cardpromo {
    position: relative;
    min-width: 300px;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
    padding: 40px 20px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.3);
    transition: .5s;
}
.cardpromo:hover {
    transform: scale(1.1);
}
/* Fin */




/***************************** BTN TOP ****************************************/
#myBtnTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 12px;
    border-radius: 4px;
}

    #myBtnTop:hover {
        background-color: #555;
    }

/***************************** END BTN TOP ****************************************/

/***************************** ALL PAGES ****************************************/
.textline {
    font-size: 30px;
    display: flex;
    align-items: center;
}

    .textline::before, .textline::after {
        flex: 1;
        content: '';
        padding: 3px;
        background-color: red;
        margin: 5px;
    }

.textlinebg {
    font-size: 30px;
    display: flex;
    align-items: center;
}

    .textlinebg::before, .textlinebg::after {
        flex: 1;
        content: '';
        padding: 2px;
        background-color: red;
        margin: 5px;
        box-shadow: 2px 3px 5px rgba(0,0,0,0.5);
    }

#ImgBoxShadow {
    box-shadow: 2px 3px 5px rgba(0,0,0,0.5);
}

.groupbtn-center {
    display: flex;
    justify-content: center;
}

.txtwhiteborderblack {
    color: white;
    text-shadow: 1px 1px black;
}

.txtbordernone {
    text-shadow: none
}

/***************************** END ALL PAGES ****************************************/