@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: #000041;
}

.top-row {
    height: 70px;
    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;
        min-height: 90px;
    }

    .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: none;
    background-color: #002540;
    overflow-x: hidden;
}

    .sidebar > div {
        margin-top: -25px;
    }

    .sidebar .navbar-brand {
        font-size: 1rem;
    }

    .sidebar .oi {
        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: auto;
            display: inline-flex;
            align-items: center;
            line-height: 20px;
        }

            .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 {
    height: 90%;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.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.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {

    .sidebar {
        width: 320px;
        min-width: 320px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow-y: auto;
    }

    .main > div {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.blazored-modal-container {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: auto;
    z-index: 10000000;
}

.blazored-modal {
    width: 80vw;
    height: auto;
    overflow: auto;
    max-height: 95vh;
    z-index: 999999999;
}

.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;
    margin-bottom: 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;
    }

/*******************/
/********CSS JP****/
/*****************/
.logo_coah {
    max-width: 275px;
    margin: 5px;
}

.logo_coah_main {
    max-width: 275px;
    margin: -2px 5px -2px 5px
}

p.aclaracion {
    text-align: center;
    font-size: 12px;
    margin: 0px;
}

.botonadd {
    position: absolute;
    right: 54px;
}

.contenedorbotonfinal {
    text-align: center;
    padding: 20px 40px 50px 40px;
}

.contenedor-botones-navegacion-asistente {
    text-align: right;
    padding: 20px 0px 50px 0px;
}

.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;
}

.tabestado {
    padding: 0px 10px 10px 10px;
    border-radius: 5px;
    border: 1px solid #d2d2d2;
    margin-top: -1px;
}

.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;
}

.inscripcion-sirp {
    height: 300px !important;
    font-size: small;
}

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;
    border-radius: 4px;
}

img.logologin {
    width: 65%;
    display: block;
    margin: 0 auto;
}

.contenedorlogin h5.descripcion {
    display: block;
    padding: 10px 20px;
    text-align: center;
    background-color: transparent;
}

.contenedorlogin a.btn {
    display: block;
    clear: both;
    margin: 0px 20px;
}

.iniciosesion {
    background-color: #f8f8f8;
    padding: 10px;
    border-radius: 4px;
    margin: 0px 0px 20px 0px;
    border: 1px solid rgb(210, 210, 210);
}


h5.iniciosesion {
    margin-bottom: 5px;
}

.botonrestablecer {
    margin-top: 10px;
    font-size: 12px;
}

    .botonrestablecer span {
        font-size: 12px;
        border: 0px;
    }

.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;
}

.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;
}

.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, sans-serif;
    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;
    font-weight: 400;
    line-height: 1.2;
    font-size: 1.5rem;
}

table.dx-resize tr th a, table.dx-resize tr th span, table.dx-resize tr td {
    white-space: normal !important;
}

/*Media queries para version responsive*/
@media (max-width: 500px) {
    .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;
    }

    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;
    }

    .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;
}

.spinner-div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.spinner-item {
    width: 4rem;
    height: 4rem;
}

.no-valido {
    border-color: red !important;
}

    .no-valido:focus {
        border-color: red !important;
        box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25) !important;
    }

    /* 
        Para que cuando tengamos el foco en un elemento de tipo text-edit de DevExpress, veamos el borde
        con un sombreado rojo.
    */
    .no-valido.dxbl-text-edit:focus-within {
        --dxbl-text-edit-focus-shadow-color: rgba(255, 0, 0, 0.25) !important;
    }

.campo-documento-no-valido {
    border: 1px solid red !important;
    border-radius: 4px;
}

    .campo-documento-no-valido:focus {
        border: 1px solid red !important;
        border-radius: 4px;
        box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25) !important;
    }

/*
    Clases para definir un borde al rededor de los campos de multiples objetos de registro, para establecer su validez
*/
.contenedor-mor {
    border: 1px solid #d2d2d2;
    border-radius: 4px;
    padding: 8px;
}

.nuevo-objeto-registro {
    margin-bottom: 5px;
    margin-top: 10px;
}

.agregar-elemento-listado {
    margin-bottom: 10px
}

/*
    Clase para los botones del campo de tipo Multiples Objetos de Registro
*/
.boton-nuevo-objeto {
    width: 100px;
}

.boton-tabla-objetos {
    height: 30px;
    width: 30px;
    margin: 0px 2px 0px 2px;
}

.boton-popup {
    width: 100px;
    margin: 2px;
}

/*
    Clases para campos dinámicos de tipo documento
*/
.label-campo-dinamico {
    cursor: pointer;
    margin-bottom: 0px !important;
}

.btn-amp {
    background-color: #2E3192;
    border-color: #2E3192;
}

    .btn-amp.readonly {
        background-color: #8283be;
        border-color: #8283be;
    }

    .btn-amp:hover, .btn-amp:active, .btn-amp:focus {
        background-color: #292c83 !important;
        border-color: #292c83 !important;
    }

.boton-descargar-documento-campo-dinamico {
    height: 100%;
}

/* Estilos para formularios */
.custom-form-caption {
    width: 100%
}

    .custom-form-caption span {
        font-weight: 500;
    }

.custom-label-input-documento label {
    font-weight: bold !important;
}

.contenedor-botones-formulario {
    width: 100%;
}

.boton-formulario {
    float: right;
    margin-left: 10px;
    margin-right: 15px;
    min-width: 200px;
}

    .boton-formulario.siguiente {
        margin-right: 0px !important;
    }

    .boton-formulario.guardar {
        float: left !important;
        margin-left: 0px !important;
        margin-right: 15px;
    }

    .boton-formulario.sin-margen {
        margin-right: 0px !important;
    }

.boton-carga {
    display: flex;
    align-items: center;
    justify-content: center;
}

.boton-listado {
    min-width: 175px !important;
}

/* Para que un span tenga como cursor un pointer y aparezca subrayado cuando se pasa el ratón por encima */
.span-link {
    color: #2E3192;
    cursor: pointer;
}

    .span-link:hover {
        text-decoration: underline;
    }

/***Para alinear los botones tipo link que están en celdas dentro de tablas */
.table-responsive button.btn.btn-link {
    margin: 0px;
    padding: 0px;
    vertical-align: top;
    margin-top: -2px;
}

.prioridad-z-index {
    z-index: 999999999 !important;
}

/* Para añadir un margen superior cuando sea necesario. */
.mt-15 {
    margin-top: 15px;
}



/****************rediseño AMP***************/

@font-face {
    font-family: 'montserrat';
    src: url('montserrat/montserrat-variablefont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'montserrat-italic';
    src: url('montserrat/montserrat-italic-variablefont_wght.ttf') format('truetype');
}

body {
    font-family: montserrat, sans-serif;
}

.loginAMPbody, .homeAMPbody {
    background-image: url('../fondo_alternativo_3.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
}

.loginAMPbody {
    height: calc(100vh - 36px);
}

.homeAMPbody::before, .contentloginAMPbody::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    opacity: 0.5;
    background-image: url('../dots-mini-light.png');
    background-repeat: repeat;
}

.contentloginAMPbody {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(100vh - 170px);
}

.cuerpoAMPlogin span.textointro {
    font-size: 20px;
    color: #fff;
}

.cuerpoAMPlogin input[type="password"], .cuerpoAMPlogin input[type="text"], .cuerpoAMPlogin input[type="email"] {
    font-size: 20px;
}

    .cuerpoAMPlogin input[type="password"]::placeholder, .cuerpoAMPlogin input[type="text"]::placeholder, .cuerpoAMPlogin input[type="email"]::placeholder {
        color: #8FA2B6 !important;
    }

.contenedorloginAMP {
    width: 60vw;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    z-index: 10;
    background-color: #0b2c56c2;
    padding: 2rem 3rem
}

@media only screen and (max-width: 600px) {
    .contenedorloginAMP {
        width: 90vw !important;
    }
}

@media only screen and (max-width: 1260px) {
    .contenedorloginAMP {
        width: 75vw;
    }
}

.contenedorloginAMP .cabeceraAPMlogin {
    justify-content: space-between;
}

    .contenedorloginAMP .cabeceraAPMlogin img, .logoprincipalAMP {
        width: 500px;
    }


    .contenedorloginAMP .cabeceraAPMlogin .logoGobierno, .logoprincipalgobiernoAMP {
        width: 210px;
    }



.contenedorloginAMP .cuerpoAMPlogin span#basic-addon2 {
    background-color: #0a2953;
    font-size: 20px;
}


.contenedorloginAMP .cuerpoAMPlogin span {
    color: #fff;
}


.contenedorloginAMP .btn-primary {
    background-color: #0a2953;
    border-color: #0a2953;
    font-size: 20px;
}

    .contenedorloginAMP .btn-primary:hover, .contenedorloginAMP .btn-primary:active, .contenedorloginAMP .btn-primary:focus {
        background-color: #8FA2B6 !important;
        font-size: 20px;
    }

.contenedorloginAMP button.restablececontrasena {
    color: #fff;
    cursor: pointer;
    font-size: 20px;
}

    .contenedorloginAMP button.restablececontrasena:hover {
        color: #fff;
    }

.pieAMP {
    background-color: #000000;
    color: #fff;
    margin: 0 auto;
    padding: .25rem;
    position: fixed;
    width: 100%;
    bottom: 0px;
    z-index: 9999999999;
}

    .pieAMP .submenupieAMP a {
        color: #fff;
        margin-right: 1rem;
    }

        .pieAMP .submenupieAMP a:hover {
            text-decoration: none;
        }

        .pieAMP .submenupieAMP a:last-child {
            margin-right: 0px;
        }

    .pieAMP .logofrase {
        width: 380px;
    }










.logoAMP {
    width: 250px;
}

.homeAMPbody .contaninerAMP {
    padding-left: 0px !important;
    padding-right: 0px !important;
    min-height: calc(100vh - 40px);
    position: relative;
}

div.contaninerAMP {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.bg-dark {
    background-color: #002C58 !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.menuprincipalAMP .dropdown-menu {
    background-color: transparent !important;
    border: 0px !important;
}

.backgroundropdown {
    background-color: #002C58 !important;
    width: 100%;
    height: 0px;
}

.backgroundropdowndesplegado {
    width: 100%;
    position: absolute;
    z-index: 1;
    margin-top: -30px;
    background-color: rgb(0 44 88 / 95%) !important;
    padding-bottom: 7rem;
    border-bottom: 2px solid #002c58;
}

@media only screen and (max-width: 1260px) {

    .contenedorloginAMP .cabeceraAPMlogin img, .logoprincipalAMP {
        width: 340px;
    }

    .rowtitulopagina {
        background-color: rgba(0, 44, 88, 0.773);
        padding: 2rem;
        min-height: 150px;
    }

    .supercabecera {
        overflow: hidden;
    }

    .supercabecera-externa {
        overflow: hidden;
    }

    .rowtitulopagina p {
        font-size: 12px;
        margin: .5rem;
    }

    .rowtitulopagina h2 {
        font-size: 1.5rem !important;
        margin: 0px;
    }
}

@media only screen and (max-width: 768px) {
    .backgroundropdowndesplegado {
        display: none;
    }

    .contenedorloginAMP .cabeceraAPMlogin img, .logoprincipalAMP {
        width: 320px;
    }

    .contenedorloginAMP .cabeceraAPMlogin .logoGobierno, .logoprincipalgobiernoAMP {
        width: 190px;
    }

    .contenedorloginAMP .cabeceraAPMlogin {
        justify-content: center;
    }

    .pieAMP .logofrase {
        width: 100%;
    }

    .rowcabeceraAMP {
        flex-wrap: nowrap;
    }
}

.rowcabeceraAMP {
    padding: 15px 12px;
    align-items: flex-start
}

.AMPcontenido .supercabecera {
    background-image: url('../fondoTotal1.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    height: 300px;
    align-items: flex-start;
}

.AMPcontenido .supercabecera-externa {
    background-image: url('../fondoTotal1.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    height: 200px;
    align-items: flex-start;
}

@media only screen and (max-width: 768px) {
    .AMPcontenido .supercabecera {
        height: auto;
        min-height: 230px;
    }

    .AMPcontenido .supercabecera-externa {
        height: auto;
        min-height: 130px;
    }
}

.custom-cardAMP {
    background-color: #002C58;
    outline: 10px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    height: 200px;
    padding: 20px;
    margin-bottom: 30px;
    color: #fff;
    box-sizing: content-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: space-evenly;
}

    .custom-cardAMP:hover {
        background-color: #002c58b3
    }

    .custom-cardAMP i {
        font-size: 60px;
        margin-bottom: 10px;
    }

    .custom-cardAMP h5 {
        font-size: 20px;
        margin-bottom: 0;
        text-transform: uppercase;
    }

.pieAMP .dropdown-menu.dropdown-menu-right.show {
    background-color: #798da3;
}

.pieAMP .submenupieAMP .navbar-nav {
    display: flex;
    flex-direction: row;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    justify-content: flex-end;
    align-items: center;
}

.dropdown-item:hover, .dropdown-item:focus, .dropdown-item:active, .dropdown-item.active {
    color: #002c58;
    text-decoration: none;
    background-color: #92c7ff;
    border-radius: 0px;
}

.dropdown-item:active, .dropdown-item.active {
    font-weight: 600;
}

a.dropdown-item {
    margin: 0px 0px;
    padding: 10px 26px;
}

.textoInfologin {
    color: #fff;
    text-align: center;
}

/* Estilo para el título de las categorías de los campos dinámicos */
.titulo-categoria-campo-dinamico {
    font-weight: 500;
    font-size: medium;
    margin-top: 7px;
}

.form-group-compacto {
    margin-bottom: 0.2rem !important;
}

.loading-size-compacto {
    margin-top: 2px;
}

.solo-lectura > .dxbl-btn-group {
    display: none;
}

/* Ajustar la anchuar del botón de descarga de un popup de descarga de imagenes */
.btn-descarga-imagen {
    width: 100%;
}

/* Que todos los inputs de tipo texto sean en mayúsculas */
input[type="text"]:not(.sin-transformar),
textarea:not(.sin-transformar),
td:not(.sin-transformar) {
    text-transform: uppercase;
}

input[type="password"] {
    text-transform: none;
}



/********sep24*/
.precabecera {
    background-color: #00004180;
    text-align: end;
    color: #fff;
    padding: 5px 10px;
}

.menusuperior .nombreusuario, .menusuperior .selectoridioma {
    display: none;
}

.menuprincipalAMP {
    background-color: transparent !important;
    padding-right: 0px !important;
    justify-content: flex-end;
}

.precabecera .nav-item {
    display: none;
}

.precabecera .nombreusuario, .precabecera .selectoridioma {
    display: block;
    font-size: 11px;
}

.precabecera .menuprincipalAMP {
    margin-bottom: 0px !important;
    padding: 0px !important;
}

.dropdown-menu.show {
    background-color: #002c58 !important;
    border-radius: 0px;
}

.dropdown-menu {
    margin: 1rem 0 0;
    padding: 0px;
}

@media only screen and (max-width: 768px) {
    .precabecera, .datoshome {
        display: none;
    }

    .menusuperior .nombreusuario,
    .menusuperior .selectoridioma {
        display: block; /* o cualquier otro valor de display que prefieras */
    }
}

.claimhome {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    color: #fff;
    align-items: flex-start;
    min-height: 400px;
    background-color: #0b2c56c2;
    padding: 1.8rem 2.5rem;
}

    .claimhome h1 {
        font-size: 4rem;
        font-weight: 300;
        text-shadow: 0px 0px 5px rgba(0,44,88,0.9);
        margin: -1px 0 1.2rem -5px;
    }

    .claimhome h2 {
        font-size: 1.8rem;
        font-weight: 200;
        text-shadow: 0px 0px 5px rgba(0,44,88,0.9);
        margin-bottom: 1.2rem;
    }

    .claimhome p {
        font-size: 1.4rem;
        font-weight: 200;
    }


@media only screen and (max-width: 1500px) {
    .claimhome h1 {
        font-size: 3rem;
    }

    .claimhome h2 {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 768px) {
    .claimhome h1 {
        font-size: 2.5rem;
    }

    .claimhome h2 {
        font-size: 1rem;
    }
}



.datohome {
    background-color: #002c5852;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    padding: 2rem;
}

.opcioneshome24 {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
}

    .opcioneshome24 .opcionhome {
        background: #0b2c56c2;
        transition: all linear 0.1s;
        color: #fff;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: flex-start;
        justify-content: flex-start;
        align-items: flex-start;
        margin-bottom: 2rem;
        padding: 35px 40px 0px 40px !important;
        min-height: 250px;
    }



        .opcioneshome24 .opcionhome:hover {
            color: #002c58;
            text-decoration: none;
            background-color: #92c7ff;
            border-radius: 0px;
        }

        .opcioneshome24 .opcionhome i {
            width: 35px !important;
            font-size: 35px !important;
        }

        .opcioneshome24 .opcionhome .textopcionhome {
            text-align: left;
            margin-left: 20px;
            font-weight: 200 !important;
            font-size: 18px;
        }

            .opcioneshome24 .opcionhome .textopcionhome h3 {
                font-weight: 300 !important;
                font-size: 1.8rem;
            }

            .opcioneshome24 .opcionhome .textopcionhome p {
                font-size: 1.1rem;
                margin-top: 1rem;
            }

.menusuperior li.nav-item {
    margin: 0px 0px 0px .7rem;
}

.center-content .dxbl-fl-ctrl {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 125px;
}

.ai-btn-entidad {
    width: 100%;
    height: 100%;
    font-size: 20px;
}

.ai-btn-agrupacion {
    width: 100%;
    height: 100%;
    font-size: 15px;
}


/*************************************************/
.AMPcontenido .rowcontenido {
    padding: 2rem 4rem;
    width: calc(100vw - 17px);
}

@media only screen and (max-width: 768px) {
    .AMPcontenido .rowcontenido {
        padding: 2rem 1rem;
    }

    .opcioneshome24 .opcionhome {
        min-height: auto;
    }
}

.rowtitulopagina {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    color: #fff;
    align-items: center;
    height: calc(100% - 140px);
    padding: 1rem 5rem;
}

    .rowtitulopagina h1 {
        font-size: 5rem;
        font-weight: 200;
        text-shadow: 0px 0px 5px rgba(0,44,88,0.9);
    }

    .rowtitulopagina h2 {
        font-size: 2rem;
        font-weight: 200;
        text-shadow: 0px 0px 5px rgba(0,44,88,0.9);
        text-align: center;
    }

    .rowtitulopagina p {
        margin: 1rem 0px;
        text-align: center;
    }

@media only screen and (max-width: 768px) {
    .rowtitulopagina h1 {
        font-size: 4rem;
    }

    .rowtitulopagina h2 {
        font-size: 1.5rem;
    }

    .rowtitulopagina {
        background-color: #002c58c5;
        padding: 2rem;
        min-height: 170px;
    }
}

.submenupieAMP {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
}

    .submenupieAMP li {
        list-style-type: none;
    }

.pieAMP .row {
    align-items: center !important;
}

.contenedorloginAMP .cabeceraAPMlogin img {
    max-width: 500px;
    width: 450px;
}

@media only screen and (max-width: 1150px) {

    .contenedorloginAMP .cabeceraAPMlogin img {
        max-width: 300px;
    }

    .logoprincipalAMP {
        max-width: 350px;
    }
}

span.paso.pasodescripcion {
    font-style: normal;
    font-weight: 400;
    display: block;
    text-align: center;
}

p.descripcion {
    text-align: center;
    padding: 0 3rem 2rem;
}


.rowcabeceraAMP .col:first-child {
    max-width: 30%;
}

.dxbl-group > .dxbl-group-header {
    background-color: #f8f8f8;
}

.btn-success {
    color: #fff;
    background-color: #2e3192;
    border-color: #232685;
}

.dxbl-btn-danger {
    background-color: #B60000;
}

.custom-form-label label {
    font-weight: 500 !important;
}

@media only screen and (max-width: 768px) {
    .contenedor-botones-formulario {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

        .contenedor-botones-formulario .boton-formulario {
            margin: 0.5rem !important;
            padding: 1rem;
        }
}

.boton-formulario i {
    margin-right: .5rem;
}

.tab-content {
    margin-top: 15px;
}

/*
    Estilos para los botones que van en las cabeceras de los formularios
*/
.botones-cabecera-formulario {
    width: 37%;
}

.boton-cabecera-formulario {
    float: right;
    width: 30px;
    height: 30px;
    margin: 0px 4px 0px 4px;
}

.dxbl-grid-table tbody tr td:has(button) {
    text-align: center;
}


.AMPcontenido .rowcontenido:has(.pasoagrupacion) {
    width: calc(85vw - 17px);
    margin: 0 auto;
}

@media only screen and (max-width: 1300px) {
    .AMPcontenido .rowcontenido:has(.pasoagrupacion) {
        width: calc(85vw - 17px);
        margin: 0 auto;
    }
}

@media only screen and (max-width: 1000px) {
    .AMPcontenido .rowcontenido:has(.pasoagrupacion) {
        width: calc(95vw - 17px);
        margin: 0 auto;
    }
}

@media only screen and (max-width: 768px) {
    .AMPcontenido .rowcontenido:has(.pasoagrupacion) {
        width: calc(100vw - 17px);
        margin: 0 auto;
    }
}

.AMPcontenido .rowcontenido:has(#botonvalidaciondocumentos),
.AMPcontenido .rowcontenido:has(#botondisponibilidadnombrenave),
.AMPcontenido .rowcontenido:has(#botonbuscarrrollos),
.contenedorcambiocontrasena,
.contenedordoblefactor,
.AMPcontenido .rowcontenido:has(.pasopreliquidacion),
.AMPcontenido .rowcontenido:has(.pasoentidad),
.AMPcontenido .rowcontenido:has(.pasotipoingreso),
.AMPcontenido .rowcontenido:has(.pasoresultadoingreso),
.AMPcontenido .rowcontenido:has(.pasodescargarpreliquidacion),
.AMPcontenido .rowcontenido:has(.pasodescuento) {
    width: calc(50vw - 17px);
    margin: 0 auto;
}


@media only screen and (max-width: 1300px) {
    .AMPcontenido .rowcontenido:has(#botonvalidaciondocumentos),
    .AMPcontenido .rowcontenido:has(#botondisponibilidadnombrenave),
    .AMPcontenido .rowcontenido:has(#botonbuscarrrollos),
    .contenedorcambiocontrasena,
    .contenedordoblefactor,
    .AMPcontenido .rowcontenido:has(.pasopreliquidacion),
    .AMPcontenido .rowcontenido:has(.pasoentidad),
    .AMPcontenido .rowcontenido:has(.pasotipoingreso),
    .AMPcontenido .rowcontenido:has(.pasoresultadoingreso),
    .AMPcontenido .rowcontenido:has(.pasodescargarpreliquidacion),
    .AMPcontenido .rowcontenido:has(.pasodescuento) {
        width: calc(70vw - 17px);
        margin: 0 auto;
    }
}

@media only screen and (max-width: 1000px) {
    .AMPcontenido .rowcontenido:has(#botonvalidaciondocumentos),
    .AMPcontenido .rowcontenido:has(#botondisponibilidadnombrenave),
    .AMPcontenido .rowcontenido:has(#botonbuscarrrollos),
    .contenedorcambiocontrasena,
    .contenedordoblefactor,
    .AMPcontenido .rowcontenido:has(.pasopreliquidacion),
    .AMPcontenido .rowcontenido:has(.pasoentidad),
    .AMPcontenido .rowcontenido:has(.pasotipoingreso),
    .AMPcontenido .rowcontenido:has(.pasoresultadoingreso),
    .AMPcontenido .rowcontenido:has(.pasodescargarpreliquidacion),
    .AMPcontenido .rowcontenido:has(.pasodescuento) {
        width: calc(80vw - 17px);
        margin: 0 auto;
    }
}

@media only screen and (max-width: 768px) {
    .AMPcontenido .rowcontenido:has(#botonvalidaciondocumentos),
    .AMPcontenido .rowcontenido:has(#botondisponibilidadnombrenave),
    .AMPcontenido .rowcontenido:has(#botonbuscarrrollos),
    .contenedorcambiocontrasena,
    .contenedordoblefactor,
    .AMPcontenido .rowcontenido:has(.pasopreliquidacion),
    .AMPcontenido .rowcontenido:has(.pasoentidad),
    .AMPcontenido .rowcontenido:has(.pasotipoingreso),
    .AMPcontenido .rowcontenido:has(.pasoresultadoingreso),
    .AMPcontenido .rowcontenido:has(.pasodescargarpreliquidacion),
    .AMPcontenido .rowcontenido:has(.pasodescuento) {
        width: calc(100vw - 17px);
        margin: 0 auto;
    }
}

.btn-exportar {
    margin-top: 10px;
}

.cb-exento {
    margin-left: 0px !important;
    padding-left: 0px !important;
}

.btn-desmarcar-todos {
    margin-left: 10px;
}

.filtro-tipos-tramites {
    margin-left: 10px;
    flex: 1 1;
}

/*

    HOME

*/
.rowhome {
    margin: 8rem 10rem 0 11rem;
    height: calc(100vh - 18rem);
}

@media only screen and (max-width: 1200px) {

    .rowhome {
        margin: 7rem 7rem 0 8rem;
        height: calc(100vh - 17rem);
    }

    .opcioneshome24 .row {
        margin-right: -15px;
        margin-left: -15px;
        margin-top: 1rem;
    }

    .homeAMPbody::before, .contentloginAMPbody::before {
        opacity: 0.1;
    }

    .loginAMPbody, .homeAMPbody {
        background-position: bottom center;
    }
}

@media only screen and (max-width: 750px) {


    .rowhome {
        margin: 2rem 1rem 0 1rem;
        height: calc(100vh - 17rem);
    }
}

html {
    background-color: #0c326e;
}

.opcioneshome24 .fa-arrow-circle-o-right::before {
    font-size: 45px;
}

.opcioneshome24 .row .col {
    padding-right: 1rem;
    padding-left: 1rem;
}

.rowhome .col-xl-5 {
    padding-right: 0px;
    padding-left: 0px;
}

@media only screen and (max-width: 1200px) {
    .opcioneshome24 .row {
        margin-left: -2rem;
        margin-right: -2rem;
    }
}

/*
    Colores de inputs
*/
input[type="radio"] {
    accent-color: #2E3192 !important;
}

input[type="checkbox"] {
    accent-color: #2E3192 !important;
}

/*
    Visor de PDFs
*/
.pdf-viewer {
    height: 100% !important;
}

/*
    Altura de Grids
*/
.grid-container {
    height: 800px !important;
}

/*
    Botón del dropdown
*/
.btn-dropdown {
    height: 30px !important;
    min-width: 30px !important;
}

.logorenenmenu {
    width: 128px;
    height: auto;
}

/*
    Alerta de saldos pendientes
*/
.alert-saldos-pendientes {
    margin-top: 10px;
    margin-bottom: 0px !important;
}

@media (max-width: 767px) {
    .logorenenmenu {
        width: 99px;
        height: auto;
    }

    .logoprincipalAMP {
        max-width: 260px;
    }

    .navbar-toggler {
        z-index: 999999999999;
    }

    .menuprincipalAMP {
        z-index: 10000;
        display: block;
        position: fixed;
        right: 1rem;
        width: 95vw;
    }

        .menuprincipalAMP a {
            display: block;
            word-break: break-word;
            white-space: normal;
        }

        .menuprincipalAMP .navbar-nav {
            background-color: #0b2c56e6 !important;
            padding: 1rem;
            height: 100vh;
        }


    .show .show {
        background-color: transparent;
        height: auto;
        padding: 0rem;
    }

        .show .show .dropdown-menu.show {
            background-color: transparent !important;
            border-radius: 0px;
            text-align: right;
            margin: 0px;
            max-width: 90vw;
            border-right: 2px solid #5a6e89 !important;
        }

    .navbar-nav {
        align-items: end !important;
    }

    .menusuperior li.nav-item {
        margin: 0px;
    }

    .pieAMP {
        text-align: center;
    }

    .submenupieAMP {
        justify-content: center;
    }

    .AMPcontenido .rowcontenido {
        margin-bottom: 60px;
    }


    dxbl-window.dxbl-window {
        width: 99vw !important;
        margin: 0 auto;
        align-items: center;
    }

        dxbl-window.dxbl-window .dxbl-window-dialog {
            margin: 0 auto;
            width: 96vw;
        }

    .dxbl-modal > .dxbl-modal-root > .dxbl-popup.dxbl-popup-scrollable > .dxbl-modal-content {
        max-height: calc(100vh - 9rem) !important;
    }

    .rowcontenido {
        padding-bottom: 5rem !important;
    }

    .dxbl-popup-cell .dxbl-dropdown {
        margin-left: 15px !important;
    }

    .botones-cabecera-formulario {
        width: 60%;
    }

    .dxbl-window > .dxbl-window-dialog > .dxbl-window-body {
        overflow: auto !important;
    }

    .navbar-dark .navbar-toggler {
        color: rgba(255, 255, 255, 0.5);
        border-color: rgba(255, 255, 255, 0.1);
        background-color: #0c3b6cde;
    }
}

/*
    Clase para los botones que van "dentro" de los inputs
*/
.amp-input-btn {
    width: 40px;
    font-size: 18px;
    color: white;
    background-color: #2E3192;
}

    .amp-input-btn:hover {
        color: white !important;
        background-color: #292c83 !important;
    }

.amp-input-txt-btn {
    width: auto;
    font-size: 15px;
    color: white !important;
    opacity: 1 !important;
    background-color: #2E3192 !important;
}

    .amp-input-txt-btn:hover {
        color: white !important;
        background-color: #292c83 !important;
    }

/* Este estilo es para los botones de los input cuando el usuario NO tiene sesión iniciada */
.amp-ext-input-btn {
    width: 45px;
    font-size: 20px;
    color: white;
    background-color: #0A2953;
}

    .amp-ext-input-btn:hover {
        color: white !important;
        background-color: #8FA2B6 !important;
    }
