@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: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
    z-index: 10000;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f4faff;
        border-bottom: 1px solid #0025404a;
        justify-content: flex-end;
    }

    .main .top-row-main {
        background-color: #f4faff;
        border-bottom: 1px solid #0025404a;
        justify-content: flex-end;
        display: flex;
        align-items: center;
        min-height: 120px;
    }

        .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(5, 39, 103) 0%, #3a0647 70%);
}

    /* Comentado por causa del logo 'nuevo'
       .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

   */

    .sidebar .navbar-brand {
        font-size: 1rem;
    }

    .sidebar .oi {
        /* width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;*/
        margin-right: 10px;
    }

    .sidebar .fa {
        margin-right: 10px;
    }

    .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;
            }

        .sidebar .nav-item .noselect {
            background-color: transparent !important;
        }

.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;
    }
.form-check {
    padding-left: 25px;
    margin-bottom: 10px;
    height: 1.5em;
}

@media (max-width: 767.98px) {
    /* .main .top-row:not(.auth) {
        display: none;
    }*/


    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 320px;
        min-width: 320px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow-y: auto;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
        /*margin-top: -25px;*/
    }
}

.blazored-modal-container {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: auto;
}

.blazored-modal {
    width: 80vw;
    height: 80vh;
    overflow: auto;
}

.visorModalAlerta {
    width: auto !important;
}

.visorResultadoPagoModal {
    width: 40vw !important;
}

.visorTarifasModal {
    width: 50vw !important;
}

.filaResultadoPagoModal {
    background-color: #f4faff;
    border-radius: 5px;
    margin-bottom: 5px;
}

/*
    CSS - InputFile Control
*/
.file-row {
    background-color: #e4e4e4;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    border-radius: 0.6rem;
    color: #555;
    display: flex;
    align-items: center;
}

    .file-row h2 {
        margin: 0.3rem 0 0.6rem 0;
        font-weight: bold;
        color: black;
        font-size: 1.1rem;
    }

    .file-row > div {
        flex-grow: 1;
    }

    .file-row button {
        padding: 0.5rem 1rem;
    }

input[type=checkbox] {
    transform: scale(1.5);
}

/*******************/
/********CSS JP****/
/*****************/
.logo_coah {
    max-width: 275px;
    margin: 5px;
}

.logo_coah_main {
    max-width: 275px;
    margin: -2px 5px -2px 5px
}

.sidebar {
    background-image: none;
    background-color: #002540;
    overflow-x: hidden;
}

.sidebar > div {
    margin-top: -25px;
}

.top-row {
    height: 70px;
}

.btn-primary {
    background-color: #002540;
    border-color: #002540;
}

a, .btn-link {
    color: #000041;
}

.btn-primary:hover {
    background-color: #0072c5;
    border-color: #e5b669;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #905901;
    border-color: #f39500;
}

.contenedorform {
    margin: 25px 0px;
    padding: 5px 10px;
    background-color: #f4faff;
    border-radius: 5px;
    border: 1px solid #ced4da;
}

.contenedorformcentro {
    margin: 25px 0px;
    padding: 25px 10px 10px 10px;
    background-color: #f4faff;
    border-radius: 5px;
    border: 1px solid #ced4da;
}

.contenedorform h5 {
    margin-bottom: 20px;
    margin-top: 5px;
    display: inline-block;
}

p.aclaracion {
    text-align: center;
    font-size: 12px;
    margin: 0px;
}

.botonadd {
    position: absolute;
    right: 54px;
}

.contenedorbotonfinal {
    text-align: center;
    padding: 20px 40px 50px 40px;
}

.table .thead-light th {
    color: #495057;
    background-color: #cedde8;
    border: 0px;
    border-bottom: 1px solid #b5c3ce;
    font-size: 14px;
    font-weight: normal;
}

.table th {
    background-color: #f4faff;
}

.table:not(.dxbs-table) td {
    background-color: white;
}

.blazored-modal {
    height: auto;
    overflow: auto;
    max-height: 100vh;
}

.blazored-modal-container {
    z-index: 10000000;
}

.tabestado {
    padding: 25px 10px 10px 10px;
    background-color: #deeefb;
    border-radius: 5px;
    border: 1px solid #6c757d;
    margin-top: -1px;
    border-top-left-radius: 0px;
}

@media (max-width: 1180px) {
    .tabestado {
        border-top-right-radius: 0px;
    }
}

.btn-group > .btn-group:not(:last-child) > .btn, .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0px;
}

.btn-group > .btn-group:not(:first-child) > .btn, .btn-group > .btn:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0px;
}

.row {
    margin-right: 0px;
    margin-left: 0px;
}

.sidebar .nav-item a {
    color: #d7d7d7;
    border-radius: 4px;
    height: auto;
    display: inline-flex;
    align-items: center;
    line-height: 20px;
}

.inscripcion-sirp {
    height: 300px !important;
    font-size: small;
}


.main .top-row {
    background-color: #f4faff;
    border-bottom: 1px solid #00254042;
    justify-content: flex-end;
    min-height: 120px;
}

h4.eslogan {
    float: left;
    text-align: left;
    width: 100%;
    color: #002540;
    font-style: italic;
    font-size: 20px;
}

    h4.eslogan span {
        display: block;
        font-size: 26px;
    }

@media (max-width: 1367px) {
    h4.eslogan {
        margin-bottom: 0px;
    }
}

@media (max-width: 990px) {
    h4.eslogan {
        margin-bottom: 0px;
        font-size: 15px;
    }

        h4.eslogan span {
            font-size: 20px;
        }
}

@media (max-width: 840px) {
    h4.eslogan {
        margin-bottom: 0px;
        font-size: 12px;
    }

        h4.eslogan span {
            font-size: 15px;
        }
}

.contenedorlogin {
    background-color: #f4faff;
    padding: 40px;
    margin-top: 50px;
    border: 1px solid #002540;
}

img.logologin {
    width: 65%;
    display: block;
    margin: 0 auto;
}

.contenedorlogin p.descripcion {
    display: block;
    float: right;
    padding: 10px 20px;
    text-align: center;
    background-color: transparent;
}

.contenedorlogin a.btn {
    display: block;
    clear: both;
    margin: 0px 20px;
}

.iniciosesion {
    background-color: #00254024;
    padding: 10px;
    border-radius: 4px;
    margin-top: 3px;
}

.botonrestablecer {
    margin-top: 11px;
}

.contenedorlogin .col-xl {
    padding-right: 20px;
    padding-left: 20px;
}

.navbar-dark a {
    color: #fff;
}

.piedemenu a {
    font-size: .8rem;
}

.flex-column .flex-column {
    border-left: 1px solid #1d1d1d;
    margin: 12px 0px -12px 5px;
}

label b {
    font-weight: normal;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #000041;
    border-color: #000041;
}

.dxbs-table thead {
    background-color: #f4faff!important;
    text-align: center;
}

.page-item.active .page-link {
    color: #fff;
    background-color: #002540;
    border-color: #f4faff;
    font-size: 14px;
}

.btn-secondary {
    color: #002540;
    background-color: #b5c3ce;
    border-color: #6c757d;
}

.oi {
    top: 0px !important;
    vertical-align: text-top;
}

.dl-horizontal dt {
    float: left;
    width: 200px;
    overflow: hidden;
    clear: left;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.dl-horizontal dd {
    margin-left: 200px;
}

    .dl-horizontal dd:before {
        display: table;
        content: " ";
    }

    .dl-horizontal dd:after {
        display: table;
        content: " ";
        clear: both;
    }

.tabla-paginada-sin-filtros th input {
    display: none !important;
}

.a-btn {
    color: #fff !important;
    cursor: pointer;
}

.ventana-con-tab-control {
    height: 850px;
}

.dropdown-toggle-right::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: 0.1em;
    content: "";
    border-top: .3em solid transparent;
    border-right: 0;
    border-bottom: .3em solid transparent;
    border-left: .3em solid
}

input::-ms-reveal {
    display: none;
}

.filaDataGrid:hover {
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

tr.dxbs-filter-row .dxbs-textbox div:not(.dxbs-edit-clbv) div :before {
    font-family: FontAwesome;
    content: "\f002";
    color: gray;
    margin: 0px 5px 0px 0px;
}
tr.dxbs-filter-row .dxbs-textbox input {
    padding-right: 25px;
}

.dxbs-gridview > .card > .card-body {
    border-bottom: 1px solid #ced4da;
}

.dxbs-gridview .card .card-body.dxbs-noclick {
    white-space: normal !important;
}

.paso {
    margin-top: 0;
    margin-bottom: .5rem;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
    font-size: 1.5rem;
    font-style: italic;
}

table.dx-resize tr th a, table.dx-resize tr th span, table.dx-resize tr td {
    white-space: normal !important;
}

.alert {
    margin-top: 1rem;
}
/*Media queries para version responsive*/
@media (max-width: 500px) {
    body{font-size: 75%;}
    .logo_coah {
        max-width: 180px;
        margin: 5px;
    }
    .logo_coah_main {
        max-width: 180px;
        margin: -2px 5px -2px 5px
    }
    .contenedorlogin {
        background-color: transparent;
        padding: 0px 0px 10px 0px;
        margin-top: 0px;
        border: 0px;
    }
    .iniciosesion {
        margin-bottom: 0px;
    }
    h5.iniciosesion {
        margin-bottom: 5px;
    }
    span.botonrestablecer{display:none;}
    button.botonrestablecer {
        margin: 0 auto;
        text-align: center;
        display: block;
        margin-top: 0px;
        font-size: small;
        margin-bottom: 10px;
    }
    h4.esloganinterior {
        color: #fff;
        position: absolute;
        top: 12px;
        left: 190px;
        max-width: 116px;
    }
    .top-rowinterior {
        justify-content: center!important;
        min-height: 50px!important;
        height: 50px;
    }
    .top-rowinterior .dropdown{width: 100%;}
    .top-rowinterior button {
        width: 100%;
        margin-right: 0px !important;
    }
    .h4, h4 {
        font-size: 1.3rem;
    }
    .contenedorformcentro {
        margin: 10px 0px;
        padding: 15px 5px 10px 5px;
        background-color: #f4faff;
        border-radius: 5px;
        border: 1px solid #ced4da;
    }
    /*.contenedorformcentro .col{padding: 9px;}*/
    .blazored-modal, .visorTarifasModal {
        width: 95vw!important;
    }
    h3.blazored-modal-title{font-size: 1.3rem;}
    .h5, h5 {
        font-size: 1.1rem;
    }
    .blazored-modal-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        padding: 0 0 1rem 0;
    }
    .ventana-con-tab-control .btn-group button.btn {
        font-size: 10px;
    }
    .form-group {
        margin-bottom: 1rem;
    }
    input[type="file"] {
        margin: 5px 0px 10px 0px;
    }
    .contenedorform {
        margin: 0px 0px 5px 0px;
    }
    .dl-horizontal dt {
        width: 100%;
    }
    .dl-horizontal dd {
        margin-left: 0px;
        font-weight: 600;
    }
    .btn-group {
        max-width: 100%;
        overflow: hidden;
        overflow-x: scroll;
        border-right: 1px solid #6c757d;
        border-top-right-radius: 4px;
        border-left: 1px solid #6c757d;
        border-top-left-radius: 4px;
    }
    .btn-group > .btn:not(:first-child){border-right: 0px;}
    .btn-group > .btn:first-child{border-left: 0px;}
    .dxbs-th.card {
        display: flex;
    }
 }
@media (min-width: 500px) and (max-width: 768px) {
    .dl-horizontal dt {
        width: 40%;
    }
    .dl-horizontal dd {
        margin-left: 40%;
    }
    .btn-group {
        max-width: 100%;
        overflow: hidden;
        overflow-x: scroll;
        border-right: 1px solid #6c757d;
        border-top-right-radius: 4px;
        border-left: 1px solid #6c757d;
        border-top-left-radius: 4px;
    }

        .btn-group > .btn:not(:first-child) {
            border-right: 0px;
        }

        .btn-group > .btn:first-child {
            border-left: 0px;
        }
    .blazored-modal {
        width: 95vw !important;
    }
}

@media only screen and (min-device-width: 667px) and (max-device-width: 1024px) and (orientation:landscape) {
    .col-form-label {
        max-width: 100%;
        width: 100%;
        flex: none;
    }
    .blazored-modal {
        width: 75vw !important;
    }
}
@media only screen and (min-device-width: 667px) and (max-device-width: 1024px) and (orientation:portrait) {
    .col-form-label {
        max-width: 100%;
        width: 100%;
        flex: none;
    }
    .dxbs-th.card {
        display: flex;
    }
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ListadoTarifas table tbody tr td
{
    vertical-align:middle;
}

/* Cada una de las filas de la prelación en que la misma está activa */
.fila-pende > td {
    color: red;
}
}

.btn-yappy {
    margin-top: 0.5rem;
    display: block;
}