﻿body {
}

/*Menú navegación*/
#navegacion a {
    color: var(--bs-link-color) !important;
    text-decoration: underline !important;
}


/*Introducción*/
.introduccion {
    height: 233px;
    background-color: #14717E;
    /* UI Properties */
    /*background: transparent url('/temas2/img/enc_pres/rectangulo_147762.png') 0% 0% no-repeat padding-box;*/
    border-radius: 4px 4px 0px 0px;
    opacity: 1;
}


/*Menú nivel 1*/
.nav_est {
    /*background-color: #0d717e;*/
}

    .nav_est > .nav-tabs {
        --bs-nav-tabs-border-color: #CCD6DE !important;
        --bs-nav-tabs-border-radius: 0 !important;
        --bs-nav-tabs-link-active-color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
    }

        .nav_est > .nav-tabs .nav-link {
            color: #fff;
            /*margin-top: 2px;
            margin-bottom: 2px;*/
        }

            .nav_est > .nav-tabs .nav-link.active,
            .nav-tabs .nav-item.show .nav-link,
            .nav-tabs .nav-link:hover {
                background-color: #fff !important;
                color: #003057;
                font-weight: bold;
            }

    .nav_est .scroller-left {
        width: 50px;
        /* background: linear-gradient(to left, transparent 10%, #0d717e 50%, #0d717e 70%);*/
        background: linear-gradient(to left, transparent, 10%, #0d717e, 40%, #0d717e 40%);
    }
    .nav_est .scroller-right {
        width: 50px;
        /*background: linear-gradient(to right, transparent 10%, #0d717e 50%, #0d717e 70%);*/
        background: linear-gradient(to right, transparent,10%, #0d717e,40%, #0d717e 40% );
    }

    .nav_est button:hover,
    .nav_est button:focus {
        outline: inherit !important;
        border-radius: inherit !important;
        border: #000 solid  !important;
    }
    .nav_est button {
        border-radius: inherit !important;
    }


/*Menú nivel 2*/
 .nav_estN2 {
   /* height:45px;*/
}
.nav_estN2 > .nav-tabs .nav-link:hover {
    --bs-nav-tabs-border-radius: 0 !important;
    border-radius: inherit !important;

}

.nav_estN2 > .nav-tabs .nav-link {
    /*margin-top: 2px;
    margin-bottom: 2px;*/
}

    .nav_estN2 > .nav-tabs .nav-link.active,
    .nav_estN2 > .nav-tabs .nav-item.show .nav-link,
    .nav_estN2 > .nav-tabs .nav-link:hover {
        background: none !important;
        border-bottom: #0077C8 solid 3px;
        border-top: 0px;
        border-left: 0px;
        border-right: 0px;
        color: #003057;
        font-weight: bold;
    }


.nav_estN2 > .tab-pane .fade .show .active {
    display: block;
}


    .nav_estN2 .scroller-left {
        width: 50px;
        /*background: linear-gradient(to left, rgba(17, 255, 238, 0), 10%, #ffffff, 40%, #003057 40%);*/
        background: linear-gradient(to left, transparent, 10%, #ffffff, 40%, #003057 40%);
    }

    .nav_estN2 .scroller-right {
        width: 50px;
        background: linear-gradient(to right, transparent,10%, #ffffff,40%, #003057 40% );
    }


    /*.nav_estN2 .scroller-left > div {
        position: absolute;
        left: 26px;
        height: 38px;
        top: 0px;
        margin: 0px;
        width: 24px;
        background: linear-gradient(to left, rgba(17, 255, 238, 0), rgb(255, 255, 255));
        display: flex;*/
        /* background: linear-gradient(to left, transparent 10%, #003057 50%, #003057 70%);*/
    /*}

    .nav_estN2 .scroller-right > div {
        position: absolute;
        left: -24px;
        height: 38px;
        top: 0px;
        margin: 0px;
        width: 24px;
        background: linear-gradient(to right, rgba(17, 255, 238, 0), rgb(255, 255, 255));
        display: flex;*/
        /*background: linear-gradient(to right, transparent 10%, #003057 50%, #003057 70%);*/
    /*}*/

.nav_estN2 {
   /* background: transparent linear-gradient(90deg, #FFFFFF00 0%, #FFFFFF 100%) 0% 0% no-repeat padding-box;
    mask-image: linear-gradient(90deg, transparent 0, transparent 36px, black calc(36px + 22px), black calc(100% - 36px - 22px), transparent calc(100% - 36px), transparent);
    background: linear-gradient(90deg, transparent 0, transparent 36px, black calc(2px + 28px), black calc(100% - 24px - 28px), transparent calc(100% - 24px), transparent);*/
    opacity: 1;
}

.nav_estN2 button:hover,
.nav_estN2 button:focus {
    outline: inherit !important;
    /*border-radius: inherit !important;*/
    border: #000 solid !important;
}

.fade:not(.show) {
    display: none !important;
}

.boton_descarga {
    display: inline-block;
    padding: 10px;
    color: #ffffff !important;
    background-color: #2d8c93;
    text-decoration: none;
    border-radius: 5px;
}

    .boton_descarga:hover {
        opacity: 0.8;
    }

<!-- Loading CSS -->
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: 1s all;
    opacity: 0;
}

.loading.show {
    opacity: 1;
}

.loading .spin {
    border: 3px solid hsla(185, 100%, 62%, 0.2);
    border-top-color: #3cefff;
    border-radius: 50%;
    width: 3em;
    height: 3em;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/*
menu-bloques {
    position: sticky;
    top: 0px;
    z-index:1020;
}
*/
.r_stick {
    /*background-color: #c0c2c3;*/
    background-color: white;
}

    .r_stick > div > div > ul {
        border: 0 !important;
        position: initial;
    }

    .r_stick .dropdown-item.active {
        text-decoration: none;
        color: #3D454B;
        background-color: #BFEFEC;
        opacity: 0.6;
        font-weight: bold;
    }


/*Prueba de menu HOrizontal*/

/*.wrapper {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    padding: 5px;
    height: 50px;
}
*/

.list {    
    left: 0px;
    top: 0px;
    min-width: 3500px;
    margin-top: 0px;
    
}

    .list li {
        display: table-cell;
        position: relative;
        text-align: center;
        cursor: grab;
        cursor: -webkit-grab;
        color: #efefef;
        vertical-align: middle;
    }

.scroller {
    vertical-align: middle;
    top: 0;
    bottom: 0;
    z-index: 1;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
    border: 0;
    width: 28px;
}
