﻿/* LOADER */
#loaderContainer {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: -1;
    opacity: 0;
    transition: all 0.2s ease;
}

#loader {
    height: 0%;
    width: 0%;
    background-color: #fff;
    opacity: 0.3;
    transition: all 0.2s ease;
}

#loaderContainer.showLoading {
    height: 100%;
    width: 100%;
    z-index: 1100;
    opacity: 1;
    transition: all 0.2s ease;
}

    #loaderContainer.showLoading #loader {
        height: 100%;
        width: 100%;
        transition: all 0.2s ease;
    }

#loaderContainer.hideLoading {
    height: 100%;
    width: 100%;
    z-index: -1;
    opacity: 0;
    transition: all 0.2s ease;
}

    #loaderContainer.hideLoading #loader {
        height: 0%;
        width: 0%;
        transition: all 0.2s ease;
    }



/* PULSO */
.pulse {
    overflow: visible;
    position: relative;
}

    .pulse::before {
        content: '';
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: inherit;
        border-radius: inherit;
        -webkit-transition: opacity .3s, -webkit-transform .3s;
        transition: opacity .3s, -webkit-transform .3s;
        transition: opacity .3s, transform .3s;
        transition: opacity .3s, transform .3s, -webkit-transform .3s;
        -webkit-animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
        animation: pulse-animation 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
        z-index: -1;
    }

@-webkit-keyframes pulse-animation {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        opacity: 0;
        -webkit-transform: scale(2.5);
        transform: scale(2.5);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(2.5);
        transform: scale(2.5);
    }
}

@keyframes pulse-animation {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        opacity: 0;
        -webkit-transform: scale(2.5);
        transform: scale(2.5);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(2.5);
        transform: scale(2.5);
    }
}



/* MOSTRAR / OCULTAR */
.showElement {
    animation: new-fade-in 500ms;
    display: block;
}

.hideElement {
    animation: new-fade-out 500ms;
    display: none;
}

@keyframes new-fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes new-fade-out {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}



/* FORMULARIOS */
form.was-validated .custom-input-group-file,
form.was-validated .custom-input-group-searchable-select {
    padding-bottom: 1.5rem !important;
}

.select2-selection {
    border-left: 0px !important;
    border-radius: 0 !important;
}

.select2-selection__rendered {
    color: rgb(0, 0, 0) !important;
    font-weight: bold;
    font-family: inherit;
    font-size: 0.875rem;
    height: -webkit-fill-available;
    overflow: hidden !important;
    padding-top: 0.15rem !important;
}

    .select2-selection__rendered::after {
        display: inline-block;
        margin-left: 0.255em;
        content: "";
        vertical-align: 0.255em;
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
    }

.navbar-search .input-group.disabled {
    opacity: 1;
    background-color: #e9ecef;
}



/*TAGS*/
.bootstrap-tagsinput {
    display: inline-block !important;
    max-width: 100% !important;
    /*padding: 0.25rem;*/
    cursor: text !important;
    vertical-align: middle !important;
    color: #8898aa !important;
    /*border: 0 solid transparent;*/
    border-radius: 0.25rem !important;
    background-color: #fff !important;
    /* original */
    position: relative !important;
    min-width: 0 !important;
    margin-bottom: 0 !important;
    flex: 1 1 !important;
    padding: 0.625rem 0.75rem !important;
    border: 1px solid #dee2e6 !important;
    border-left: 0 !important;
}



/*ADICIONALES*/
.table td,
.table th {
    font-size: 0.8125rem;
    max-width: 50vw !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nav-tabs .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.15s ease;
    color: #038C8C;
    background-color: transparent;
}

.spanText {
    white-space: unset;
}



/* CUSTOM STATUS ALERT FOR REQUEST (PULSE)*/
.icon-sm {
    width: 11px;
    height: 11px;
}

.icon-shape {
    display: inline-flex;
    padding: 2px;
    text-align: center;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}



/* TIMELINE */
@media (min-width: 992px) {
    .timeline-one-side .timeline-content {
        max-width: 100%;
    }
}
