@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0c0d0d;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        /*justify-content: flex-end;*/
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(13, 13, 13) 0%, #131313 70%);
    z-index:10;
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        /*display: none;*/
        overflow-y:auto;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }

    .netwoksjero{
        background:#fff;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}


/*GENERIC CLASS*/

.pad-5px{
    padding:5px !important;
}

.marg-bot-100px {
    margin-bottom: 100px !important;
}

.wid-100 {
    width: 100% !important;
}

.url{
    cursor: pointer !important;
}




.dialog-right {
    border-radius: 20px 20px 20px 0px;
}

.dialog-left {
    border-radius: 20px 20px 0px 20px;
}


.noresize {
    resize: none !important;
}

.right-side {
    text-align: right !important;
}

.left-side {
    text-align: left !important;
}

.central-side {
    text-align: center !important;
}

.top-side {
    vertical-align: top !important;
}

.bottom-side {
    vertical-align: bottom !important;
}

.medium-side {
    vertical-align: middle !important;
}


.normal {
    white-space: normal !important;
}

.pre {
    white-space: pre !important;
}

.nowrap {
    white-space: nowrap !important;
}

.prewrap {
    white-space: pre-wrap !important;
}

.preline {
    white-space: pre-line !important;
}



marg-1px {
    margin: 1px !important;
}

.marg-left-1px {
    margin-left: 1px !important;
}

.marg-right-1px {
    margin-right: 1px !important;
}

.marg-top-1px {
    margin-top: 1px !important;
}

.marg-bot-1px {
    margin-left: 1px !important;
}

.marg-2px {
    margin: 2px !important;
}

.marg-left-2px {
    margin-left: 2px !important;
}

.marg-right-2px {
    margin-right: 2px !important;
}

.marg-top-2px {
    margin-top: 2px !important;
}

.marg-bot-2px {
    margin-left: 2px !important;
}


.marg-3px {
    margin: 3px !important;
}

.marg-left-3px {
    margin-left: 3px !important;
}

.marg-right-3px {
    margin-right: 3px !important;
}

.marg-top-3px {
    margin-top: 3px !important;
}

.marg-bot-3px {
    margin-left: 3px !important;
}

.marg-4px {
    margin: 4px !important;
}

.marg-left-4px {
    margin-left: 4px !important;
}

.marg-right-4px {
    margin-right: 4px !important;
}

.marg-top-4px {
    margin-top: 4px !important;
}

.marg-bot-4px {
    margin-left: 4px !important;
}

.marg-5px {
    margin: 5px !important;
}

.marg-left-5px {
    margin-left: 5px !important;
}

.marg-right-5px {
    margin-right: 5px !important;
}

.marg-top-5px {
    margin-top: 5px !important;
}

.marg-bot-5px {
    margin-left: 5px !important;
}

.marg-1 {
    margin: 1% !important;
}

.marg-left-1 {
    margin-left: 1% !important;
}

.marg-right-1 {
    margin-right: 1% !important;
}

.marg-top-1 {
    margin-top: 1% !important;
}

.marg-bot-1 {
    margin-left: 1% !important;
}

.marg-2 {
    margin: 2% !important;
}

.marg-left-2 {
    margin-left: 2% !important;
}

.marg-right-2 {
    margin-right: 2% !important;
}

.marg-top-2 {
    margin-top: 2% !important;
}

.marg-bot-2 {
    margin-left: 2% !important;
}


.marg-3 {
    margin: 3% !important;
}

.marg-left-3 {
    margin-left: 3% !important;
}

.marg-right-3 {
    margin-right: 3% !important;
}

.marg-top-3 {
    margin-top: 3% !important;
}

.marg-bot-3 {
    margin-left: 3% !important;
}

.marg-4 {
    margin: 4% !important;
}

.marg-left-4 {
    margin-left: 4% !important;
}

.marg-right-4 {
    margin-right: 4% !important;
}

.marg-top-4 {
    margin-top: 4% !important;
}

.marg-bot-4 {
    margin-left: 4% !important;
}

.marg-5 {
    margin: 5% !important;
}

.marg-left-5 {
    margin-left: 5% !important;
}

.marg-right-5 {
    margin-right: 5% !important;
}

.marg-top-5 {
    margin-top: 5% !important;
}

.marg-bot-5 {
    margin-left: 5% !important;
}

.padd-1px {
    padding: 1px !important;
}

.padd-left-1px {
    padding-left: 1px !important;
}

.padd-right-1px {
    padding-right: 1px !important;
}

.padd-top-1px {
    padding-top: 1px !important;
}

.padd-bot-1px {
    padding-left: 1px !important;
}

.padd-2px {
    padding: 2px !important;
}

.padd-left-2px {
    padding-left: 2px !important;
}

.padd-right-2px {
    padding-right: 2px !important;
}

.padd-top-2px {
    padding-top: 2px !important;
}

.padd-bot-2px {
    padding-left: 2px !important;
}


.padd-3px {
    padding: 3px !important;
}

.padd-left-3px {
    padding-left: 3px !important;
}

.padd-right-3px {
    padding-right: 3px !important;
}

.padd-top-3px {
    padding-top: 3px !important;
}

.padd-bot-3px {
    padding-left: 3px !important;
}

.padd-4px {
    padding: 4px !important;
}

.padd-left-4px {
    padding-left: 4px !important;
}

.padd-right-4px {
    padding-right: 4px !important;
}

.padd-top-4px {
    padding-top: 4px !important;
}

.padd-bot-4px {
    padding-left: 4px !important;
}

.padd-5px {
    padding: 5px !important;
}

.padd-left-5px {
    padding-left: 5px !important;
}

.padd-right-5px {
    padding-right: 5px !important;
}

.padd-top-5px {
    padding-top: 5px !important;
}

.padd-bot-5px {
    padding-left: 5px !important;
}

.padd-1 {
    padding: 1% !important;
}

.padd-left-1 {
    padding-left: 1% !important;
}

.padd-right-1 {
    padding-right: 1% !important;
}

.padd-top-1 {
    padding-top: 1% !important;
}

.padd-bot-1 {
    padding-left: 1% !important;
}

.padd-2 {
    padding: 2% !important;
}

.padd-left-2 {
    padding-left: 2% !important;
}

.padd-right-2 {
    padding-right: 2% !important;
}

.padd-top-2 {
    padding-top: 2% !important;
}

.padd-bot-2 {
    padding-left: 2% !important;
}


.padd-3 {
    padding: 3% !important;
}

.padd-left-3 {
    padding-left: 3% !important;
}

.padd-right-3 {
    padding-right: 3% !important;
}

.padd-top-3 {
    padding-top: 3% !important;
}

.padd-bot-3 {
    padding-left: 3% !important;
}

.padd-4 {
    padding: 4% !important;
}

.padd-left-4 {
    padding-left: 4% !important;
}

.padd-right-4 {
    padding-right: 4% !important;
}

.padd-top-4 {
    padding-top: 4% !important;
}

.padd-bot-4 {
    padding-left: 4% !important;
}

.padd-5 {
    padding: 5% !important;
}

.padd-left-5 {
    padding-left: 5% !important;
}

.padd-right-5 {
    padding-right: 5% !important;
}

.padd-top-5 {
    padding-top: 5% !important;
}

.padd-bot-5 {
    padding-left: 5% !important;
}


.height-1px {
    height: 1px !important;
}

.height-2px {
    height: 2px !important;
}

.height-3px {
    height: 3px !important;
}

.height-4px {
    height: 4px !important;
}

.height-5px {
    height: 5px !important;
}

.height-6px {
    height: 6px !important;
}

.height-7px {
    height: 8px !important;
}

.height-9px {
    height: 9px !important;
}

.height-10px {
    height: 10px !important;
}

.height-20px {
    height: 20px !important;
}

.height-30px {
    height: 30px !important;
}

.height-40px {
    height: 40px !important;
}

.height-50px {
    height: 50px !important;
}

.height-85px {
    height: 85px !important;
}

.height-100px {
    height: 100px !important;
}

.height-150px {
    height: 150px !important;
}

.height-200px {
    height: 200px !important;
}

.height-250px {
    height: 250px !important;
}

.height-300px {
    height: 300px !important;
}

.height-350px {
    height: 350px !important;
}

.height-400px {
    height: 400px !important;
}

.height-450px {
    height: 450px !important;
}

.height-500px {
    height: 500px !important;
}

.height-550px {
    height: 550px !important;
}

.height-600px {
    height: 600px !important;
}

.height-650px {
    height: 650px !important;
}

.height-700px {
    height: 700px !important;
}

.height-750px {
    height: 750px !important;
}

.height-800px {
    height: 800px !important;
}

.height-850px {
    height: 850px !important;
}

.height-900px {
    height: 900px !important;
}

.height-950px {
    height: 950px !important;
}

.height-1000px {
    height: 1000px !important;
}

.height-1 {
    height: 1% !important;
}

.height-2 {
    height: 2% !important;
}

.height-3 {
    height: 3% !important;
}

.height-4 {
    height: 4% !important;
}

.height-5 {
    height: 5% !important;
}

.height-8 {
    height: 8% !important;
}

.height-10 {
    height: 10% !important;
}

.height-15 {
    height: 15% !important;
}

.height-20 {
    height: 20% !important;
}

.height-25 {
    height: 25% !important;
}

.height-30 {
    height: 30% !important;
}

.height-35 {
    height: 35% !important;
}

.height-40 {
    height: 40% !important;
}

.height-45 {
    height: 45% !important;
}

.height-50 {
    height: 50% !important;
}

.height-55 {
    height: 55% !important;
}

.height-60 {
    height: 60% !important;
}

.height-65 {
    height: 65% !important;
}

.height-70 {
    height: 70% !important;
}

.height-75 {
    height: 75% !important;
}

.height-80 {
    height: 80% !important;
}

.height-85 {
    height: 85% !important;
}

.height-90 {
    height: 90% !important;
}

.height-95 {
    height: 95% !important;
}

.height-100 {
    height: 100% !important;
}


.width-1px {
    width: 1px !important;
}

.width-2px {
    width: 2px !important;
}

.width-3px {
    width: 3px !important;
}

.width-4px {
    width: 4px !important;
}

.width-5px {
    width: 5px !important;
}

.width-6px {
    width: 6px !important;
}

.width-7px {
    width: 8px !important;
}

.width-9px {
    width: 9px !important;
}

.width-10px {
    width: 10px !important;
}

.width-20px {
    width: 20px !important;
}

.width-30px {
    width: 30px !important;
}

.width-40px {
    width: 40px !important;
}

.width-50px {
    width: 50px !important;
}

.width-85px {
    width: 85px !important;
}

.width-100px {
    width: 100px !important;
}

.width-150px {
    width: 150px !important;
}

.width-200px {
    width: 200px !important;
}

.width-250px {
    width: 250px !important;
}

.width-300px {
    width: 300px !important;
}

.width-350px {
    width: 350px !important;
}

.width-400px {
    width: 400px !important;
}

.width-450px {
    width: 450px !important;
}

.width-500px {
    width: 500px !important;
}

.width-550px {
    width: 550px !important;
}

.width-600px {
    width: 600px !important;
}

.width-650px {
    width: 650px !important;
}

.width-700px {
    width: 700px !important;
}

.width-750px {
    width: 750px !important;
}

.width-800px {
    width: 800px !important;
}

.width-850px {
    width: 850px !important;
}

.width-900px {
    width: 900px !important;
}

.width-950px {
    width: 950px !important;
}

.width-1000px {
    width: 1000px !important;
}

.width-1 {
    width: 1% !important;
}

.width-2 {
    width: 2% !important;
}

.width-3 {
    width: 3% !important;
}

.width-4 {
    width: 4% !important;
}

.width-5 {
    width: 5% !important;
}

.width-8 {
    width: 8% !important;
}

.width-10 {
    width: 10% !important;
}

.width-15 {
    width: 15% !important;
}

.width-20 {
    width: 20% !important;
}

.width-25 {
    width: 25% !important;
}

.width-30 {
    width: 30% !important;
}

.width-35 {
    width: 35% !important;
}

.width-40 {
    width: 40% !important;
}

.width-45 {
    width: 45% !important;
}

.width-50 {
    width: 50% !important;
}

.width-55 {
    width: 55% !important;
}

.width-60 {
    width: 60% !important;
}

.width-65 {
    width: 65% !important;
}

.width-70 {
    width: 70% !important;
}

.width-75 {
    width: 75% !important;
}

.width-80 {
    width: 80% !important;
}

.width-85 {
    width: 85% !important;
}

.width-90 {
    width: 90% !important;
}

.width-95 {
    width: 95% !important;
}

.width-100 {
    width: 100% !important;
}


.vh-5 {
    height: 5vh !important;
}

.vh-10 {
    height: 10vh !important;
}

.vh-15 {
    height: 15vh !important;
}

.vh-20 {
    height: 20vh !important;
}

.vh-25 {
    height: 25vh !important;
}

.vh-30 {
    height: 30vh !important;
}

.vh-35 {
    height: 35vh !important;
}

.vh-40 {
    height: 40vh !important;
}

.vh-45 {
    height: 45vh !important;
}

.vh-50 {
    height: 50vh !important;
}

.vh-55 {
    height: 55vh !important;
}

.vh-60 {
    height: 60vh !important;
}

.vh-65 {
    height: 65vh !important;
}

.vh-70 {
    height: 70vh !important;
}

.vh-75 {
    height: 75vh !important;
}

.vh-80 {
    height: 80vh !important;
}

.vh-85 {
    height: 85vh !important;
}

.vh-90 {
    height: 90vh !important;
}

.vh-95 {
    height: 95vh !important;
}

.vh-100 {
    height: 100vh !important;
}




.font-s-6px {
    font-size: 6px !important;
}

.font-s-7px {
    font-size: 7px !important;
}

.font-s-8px {
    font-size: 8px !important;
}

.font-s-9px {
    font-size: 9px !important;
}

.font-s-10px {
    font-size: 10px !important;
}

.font-s-11px {
    font-size: 11px !important;
}

.font-s-12px {
    font-size: 12px !important;
}

.font-s-13px {
    font-size: 13px !important;
}

.font-s-14px {
    font-size: 14px !important;
}

.font-s-15px {
    font-size: 15px !important;
}

.font-s-16px {
    font-size: 16px !important;
}

.rem-0-1 {
    font-size: 0.1rem !important;
}

.rem-0-2 {
    font-size: 0.2rem !important;
}

.rem-0-3 {
    font-size: 0.3rem !important;
}

.rem-0-4 {
    font-size: 0.4rem !important;
}

.rem-0-5 {
    font-size: 0.5rem !important;
}

.rem-0-6 {
    font-size: 0.6rem !important;
}

.rem-0-7 {
    font-size: 0.7rem !important;
}

.rem-0-8 {
    font-size: 0.8rem !important;
}

.rem-0-9 {
    font-size: 0.9rem !important;
}

.rem-1-0 {
    font-size: 1.0rem !important;
}

.disedled-side {
    pointer-events: none;
}

.bg-dark a:not(.btn) {
    color: #f8f9fa;
}

.bg-dark .jumbotron {
    background-color: #454d55;
}

@media (min-width: 768px) {
    .sidebar.panel-derecho {
        width: 130px;
    }
}

.boton-redondo {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.boton-redondo small {
    font-size: 0.6rem;
    margin-top: 2px;
}

@media (max-width: 767.98px) {
    .sidebar:not(.panel-derecho) {
        position: sticky;
        top: 0;
        z-index: 30;
    }

    .sidebar.panel-derecho {
        position: fixed;
        top: 5.5rem;
        right: 0.5rem;
        z-index: 20;
        background-image: none;
        align-items: flex-end;
    }

    .panel-derecho .top-row {
        height: auto;
        background-color: transparent;
    }

    .panel-derecho > div {
        padding: 0.25rem 0 !important;
        margin-top: 0 !important;
    }

    .panel-derecho .panel-tema {
        position: fixed;
        right: 0.5rem;
        bottom: 4rem;
    }

    .panel-derecho .btn-outline-light {
        background-color: #131313;
    }
}

.bg-dark hr {
    border-top-color: rgba(255, 255, 255, 0.25);
}

body:has(.main.bg-dark) {
    background-color: #343a40;
}

body:has(.main.bg-dark) .netwoksjero {
    background-color: #343a40 !important;
}

body:has(.main.bg-dark) .netwoksjero a {
    color: #f8f9fa;
}

.modal-imagen {
    width: fit-content;
    max-width: min(500px, 90vw);
    margin-left: auto;
    margin-right: auto;
}

.modal-imagen .modal-content {
    max-height: 90vh;
}

.modal-imagen .modal-body {
    overflow-y: auto;
}

.modal-imagen .modal-body img {
    display: block;
    max-width: 100%;
    max-height: calc(90vh - 10rem);
}

.modal-imagen .modal-title,
.modal-imagen .modal-body h5 {
    contain: inline-size;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-imagen .modal-title {
    flex-grow: 1;
}

.modal-imagen .modal-body .row {
    margin-left: 0;
    margin-right: 0;
}

.modal-imagen .modal-body .col-md-12 {
    padding-left: 0;
    padding-right: 0;
}

input[type=checkbox] {
    /* Double-sized Checkboxes */
    -ms-transform: scale(2); /* IE */
    -moz-transform: scale(2); /* FF */
    -webkit-transform: scale(2); /* Safari and Chrome */
    -o-transform: scale(2); /* Opera */
    padding: 10px;
    margin-left: 6px;
    opacity: 0.5;
}