/* Mejoras Accesibilidad */
.badge.bg-info-soft {
    color: #035787;
}
.badge.bg-primary, .badge.bg-secondary, .badge.bg-success {
    color: #080808;
}
.badge.bg-danger-soft {
    color: #761919;
}
.avatar-title {
    background-color: var(--bs-gray-800);
}

.btn-outline-info {
    --bs-btn-color: var(--bs-primary);
}
/* Mejoras Accesibilidad */




/* Archivo de estilo para la impresión */
@media print {

    /* if modal-body is your scrollable class */
    .modal-body {
        width: auto;
        height: auto;
        overflow: visible !important;
    }

    /* Oculta los elementos con clases que no deseas imprimir */
    .no-print {
        display: none;
    }

    .force-printing {
        display: block !important;
        opacity: 1 !important;
    }

    /*Forzamos a mostrar contenido en pestañas*/
    .tab-pane {
        display: block !important;
        opacity: 1 !important;
    }

    /*Forzamos a mostrar contenido en acordeones*/
    .accordion-collapse {
        display: block !important;
        opacity: 1 !important;
    }

    /*Forzamos a mostrar contenido en modales*/
    .accordion-body .col.ik-control-col1,
    .accordion-body .col.ik-control-col2 {
        flex: 0 0 auto !important;
        width: 100% !important;
    }

    .accordion-body .card {
        max-width: 100% !important;
    }

    .btn-check:checked+.btn,    
    :not(.btn-check)+.btn:active {
        background-color: black !important;
        border-color: black !important;
        color: black !important;
    }

    .btn-check+.btn,    
    .btn-check+.btn:active {
        background-color: white !important;
        border-color: white !important;
        color: white !important;
    }
}

p{
    margin-bottom: 0.25rem;
    margin-top: 0;
}

.ik-fullscreen {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bs-white);
    z-index: 10000;
}

#topbar {
    background-color: var(--bs-blue);
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.3);
}

#ik-blackout {
    display: none;
    position: absolute;
    background-color: white;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

#ik-progress-info {
    position: absolute;
    left: 1%;
    bottom: 1%;
    width: 200px;
    z-index: 1000;
}

.ik-mainmap-area-modal {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    overflow: hidden;
    z-index: 1049;
}

#ik-waiting {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 10000;
}

#ik-waiting div {
    margin-top: 50vh;
}

#ik-invisible-modal {
    background-color: rgba(255, 255, 255, 0);
    z-index: 20000;
    /* valor alto para ser el superior*/
}

#ik-px-puerto-barco-slots {    
    background-image: url("../imgs/oceano1920x1080.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
}

#ik-px-puerto-barco-slots-row {
    background-image: url("../imgs/barcos/barco_top_left.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
}

.ik-px-puerto-columnacontenedores {
    height: 95%;
    margin-top: 5%;
    margin-bottom: 0;
}

#ik-px-puerto-contenedores-sombra {
    display: none;
    position: absolute;
    top: 0;
    margin: 0;

    background-color: rgba(255, 255, 255, 0.5);
}

#modal_i5_finish .modal-content {
    background-image: url("../imgs/estrellas/estrellaOpa.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#ik-toast-NewTrip,
#ik-toast-FinishTrip {
    position: absolute;
    top: 1%;
    left: 1%;
    width: 50%;
    z-index: 10000;
}

.accordion-button {
    color: var(--bs-primary) !important;
}

/*ANIMACION LLUVIA*/

#ik-lluvia {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

#ik-lluvia .vapour {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: vapour 10s linear infinite;
}

#ik-lluvia i {
    position: absolute;
    width: 2px;
    height: 10px;
    top: -10px;
    background: #d3d3d3;
    animation: rain linear infinite;
}

.ik-EvidenceUrl .disabled .fe.fe-external-link {
    color: var(--color-danger);
}

.ik-row.not-my-info {
    /*gris muy claro*/
    background-color: #cccccc2c; 
    color: var(--bs-gray-800);
}

@keyframes vapour {

    0%,
    100% {
        @supports (-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px)) {
            -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
        }

        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
    }
}

@keyframes rain {
    0% {
        top: -10px;
    }

    100% {
        top: 100vh;
    }
}

@media (min-width: 768px) {
    .ik-mainmap-area {
        margin-top: -2rem !important;
        margin-left: -2.25rem !important;
    }
}

@media (max-width: 767px) {
    .ik-mainmap-area {
        margin-top: -2rem !important;
        margin-left: -1rem !important;
    }
}

.leaflet-container {
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height);
}

.leaflet-control-attribution.leaflet-control {
    display: none !important;
}


/** ANIMACIONES **/
.parpadeo {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes flash {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.5;
    }
}

@keyframes flash {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.5;
    }
}

.flash {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: flash;
    animation-iteration-count: infinite;

    animation-name: flash;
}

/**END ANIMACIONES **/