/* Estilo general del scrollbar */
::-webkit-scrollbar {
    width: 8px;  
    height: 8px;   
}

::-webkit-scrollbar-thumb {
    background: var(--colorEmpresaP2); 
    border-radius: 4px; 
}

::-webkit-scrollbar-thumb:hover {
    background: var(--colorEmpresaP);
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:active {
    background-color: var(--colorEmpresaS); 
}

::-webkit-scrollbar-track {
    background: #e1e1e1;
    border-radius: 4px;
}

::-webkit-scrollbar-track:hover,
::-webkit-scrollbar-track:active {
  background: #d4d4d4;
}


body {
    opacity: 0;
    transition: opacity 1s ease-in;
}

.background-color {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40vh;
    background: rgb(2, 0, 36);
    background: linear-gradient(0deg, rgb(16, 77, 97) 0%, rgba(24, 120, 152, 1) 50%);
    z-index: -1;
}

.image-wrapper {
    display: inline-block;
    background-color: var(--colorEmpresaP);
    padding: 3px;
    border-radius: 50%;
    transition: background-color 0.3s;
    cursor: pointer;
}

.image-wrapper:hover {
    background-color: var(--colorEmpresaS);
}

.image-wrapper img {
    display: block;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    transition: border-color 0.3s;
}

.image-wrapper:hover img {
    border-color: var(--colorEmpresaS);
}

.badge {
    z-index: 2;
}

.glider-prev,
.glider-next {
    position: relative;
    font-size: xx-large;
    left: -43px;
}

.sombra {
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.69);
    -moz-box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.69);
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.69);
    cursor: pointer;
}

.sombra:hover {
    -webkit-box-shadow: 0px 0px 5px 3px var(--colorEmpresaP2);
    -moz-box-shadow: 0px 0px 5px 3px var(--colorEmpresaP2);
    box-shadow: 0px 0px 5px 3px var(--colorEmpresaP2);
}

.animated-border {
    position: relative;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

.animated-border::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 5px;
    background-color: var(--colorEmpresaP);
    transition: width 0.3s ease;
}

.animated-border:hover::after {
    width: 100%;
    left: 0;
}

.animated-border:hover {
    background-color: var(--colorEmpresaP3);
}
.whatsapp-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    background-color: #25D366;
    color: white;
    font-size: 25px;
    width: 50px;
    height: 50px;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}
.navbar {
    background-color: #0033A0;
}

.navbar .nav-link {
    color: var(--colorEmpresaP);
}

.carousel-caption {
    width: 100%;
    position: absolute;
    right: 0%;
    bottom: 0rem;
    left: 0%;
    padding-top: 3.25rem;
    padding-bottom: 2.25rem;
    color: #fff;
    text-align: center;
    background-color: var(--colorEmpresaS2);
}

.caption-controls-wrapper .bi {
    font-size: 2em;
    cursor: pointer;
    color: #FFF;
    margin: 0 5px;
}

.caption-controls-wrapper {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
}

.carousel-control-prev1,
.carousel-control-next1 {
    visibility: hidden;
}

@media (min-width: 300px) and (max-width: 768px) {
    .carousel-caption {
        position: relative;
        background-color: rgb(255, 255, 255);
        color: #000000;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .carousel-control-prev1,
    .carousel-control-next1 {
        visibility: visible;
        opacity: 1;
    }
    .botonesAvanzado{
        display: none;
    }
    .foot{
        margin-bottom: 60px;
    }
}

@media (max-width: 300px) {
    .carousel-caption {
        position: relative;
        background-color: rgb(255, 255, 255);
        color: #000000;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }
}