﻿/*************Loading gif****************/

.lds-roller {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    position: fixed;
    left: 50%;
    margin-left: -32px;
    top: 50%;
    margin-top: -32px;
    z-index: 10000;
}

#tabs > .lds-roller {
    margin-top: -2px;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 32px 32px;
}

    .lds-roller div:after {
        content: " ";
        display: block;
        position: absolute;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #002c50;
        margin: -3px 0 0 -3px;
    }

    .lds-roller div:nth-child(1) {
        animation-delay: -0.036s;
    }

        .lds-roller div:nth-child(1):after {
            top: 50px;
            left: 50px;
        }

    .lds-roller div:nth-child(2) {
        animation-delay: -0.072s;
    }

        .lds-roller div:nth-child(2):after {
            top: 54px;
            left: 45px;
        }

    .lds-roller div:nth-child(3) {
        animation-delay: -0.108s;
    }

        .lds-roller div:nth-child(3):after {
            top: 57px;
            left: 39px;
        }

    .lds-roller div:nth-child(4) {
        animation-delay: -0.144s;
    }

        .lds-roller div:nth-child(4):after {
            top: 58px;
            left: 32px;
        }

    .lds-roller div:nth-child(5) {
        animation-delay: -0.18s;
    }

        .lds-roller div:nth-child(5):after {
            top: 57px;
            left: 25px;
        }

    .lds-roller div:nth-child(6) {
        animation-delay: -0.216s;
    }

        .lds-roller div:nth-child(6):after {
            top: 54px;
            left: 19px;
        }

    .lds-roller div:nth-child(7) {
        animation-delay: -0.252s;
    }

        .lds-roller div:nth-child(7):after {
            top: 50px;
            left: 14px;
        }

    .lds-roller div:nth-child(8) {
        animation-delay: -0.288s;
    }

        .lds-roller div:nth-child(8):after {
            top: 45px;
            left: 10px;
        }

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*****************Nuevos cuadros de info***********************/

#floatInfoContainer {
    position: fixed;
    bottom: 5px;
    left: 0;
    right: 0;
    z-index: 100000;
    height: auto;
}

    #floatInfoContainer .floatInfoItem {
        min-height: 20px;
        margin-bottom: 8px;
        padding: 3px 5px 3px 12px;
        border-radius: 5px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        margin-left: auto;
        margin-right: auto;
    }

        #floatInfoContainer .floatInfoItem span.closeFloatInfoItem {
            cursor: pointer;
            font-weight: 600;
            font-size: x-large;
            padding: 3px 8px 6px 12px;
        }

        #floatInfoContainer .floatInfoItem span.floatInfoTextContent {
            padding-right: 12px;
            display: block;
        }

        #floatInfoContainer .floatInfoItem span.symbol {
            font-size: x-large;
            padding-right: 10px;
            font-weight: 600;
            width: 40px;
            text-align: center;
        }


@media screen and (max-width: 650px) {
    #floatInfoContainer .floatInfoItem {
        width: 95%;
    }

        #floatInfoContainer .floatInfoItem span.closeFloatInfoItem {
            font-size: large;
            padding-bottom: 3px;
            line-height: 1px;
        }

        #floatInfoContainer .floatInfoItem span.floatInfoTextContent {
            font-size: 0.9em;
        }

        #floatInfoContainer .floatInfoItem span.symbol {
            font-size: large;
            padding-right: 10px;
        }
}

@media screen and (min-width: 651px) and (max-width: 1366px) {
    #floatInfoContainer .floatInfoItem {
        width: 85%;
    }

        #floatInfoContainer .floatInfoItem span.floatInfoTextContent {
            font-size: 1.2em;
        }
}

@media screen and (min-width: 1367px) {
    #floatInfoContainer .floatInfoItem {
        width: 75%;
    }

        #floatInfoContainer .floatInfoItem span.floatInfoTextContent {
            font-size: 1.3em;
        }
}



@media screen and (min-width: 1367px) {
    #floatInfoContainer .floatInfoItem {
        width: 75%;
    }

        #floatInfoContainer .floatInfoItem span.floatInfoTextContent {
            font-size: 1.3em;
        }
}

/* alerts.css */

/* Estilo base para las alertas */
.alert {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

/* Alerta de peligro (danger) */
.alert-danger {
    color: #721c24;
    background-color: rgba(248, 215, 218, 0.8); /* Rojo pálido con 80% de opacidad */
    border-color: rgba(245, 198, 203, 0.8); /* Rojo más claro con 80% de opacidad */
}

/* Alerta de advertencia (warning) */
.alert-warning {
    color: #856404;
    background-color: rgba(255, 243, 205, 0.8); /* Amarillo pálido con 80% de opacidad */
    border-color: rgba(255, 238, 186, 0.8); /* Amarillo más claro con 80% de opacidad */
}

/* Alerta de información (info) */
.alert-info {
    color: #0c5460;
    background-color: rgba(209, 236, 241, 0.8); /* Azul claro con 80% de opacidad */
    border-color: rgba(190, 229, 235, 0.8); /* Azul más claro con 80% de opacidad */
}

/* Alerta de éxito (success) */
.alert-success {
    color: #155724;
    background-color: rgba(212, 237, 218, 0.8); /* Verde claro con 80% de opacidad */
    border-color: rgba(195, 230, 203, 0.8); /* Verde más claro con 80% de opacidad */
}

/* Opcional: Estilo para cerrar las alertas */
.alert .close {
    font-size: 1.0rem;
    font-weight: 700;
    color: inherit;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}