.navbar {
    background-color: #AF2600;
}

.navbar-expand-sm .navbar-nav .nav-link {
    color: white;
    font-weight: 600;
}

.navbar-nav .nav-link {
    min-width: 7rem;
    text-align: center;
    font-size: .9em;
}

.navbar .img-nav-logo {
    width: 45%;
}

.navbar .navbar-toggler {
    border: none;
    color: #ffffffd1;
}

.navbar .navbar-toggler:hover,
.navbar .navbar-toggler:active,
.navbar .navbar-toggler:focus {
    border: none !important;
    color: #ffffffab !important;
    cursor: pointer !important;    
    box-shadow: none;
}

.navbar .btn-login,
.navbar .btn-logout {
    font-size: 1.25em;
}

.navbar .btn-login:hover,
.navbar .btn-logout:hover {
    color: #ffffffd1 !important;
    cursor: pointer;
}

footer.footer {
    background-color: #cdcdcc;
    color: #242424;
    font-size: 13px;
}

footer.footer .footer-location h3 {
    font-size: 15px;
    color: #242424;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0px;
}

footer.footer .footer-location b {
    margin-right: 4px;
}

footer.footer .footer-location hr, footer.footer .footer-location p {
    margin-top: .5rem;
    margin-bottom: .5rem;
}

footer.footer .footer-location p a, footer.footer .footer-location p a:hover, footer.footer .footer-location p a:focus, footer.footer .footer-location p a:visited {
    color: #242424;
}

footer.footer .footer-location p a:hover {
    font-weight: bold;
}

footer.footer .footer-copyright {
    background-color: #242424;
    padding: 20px 15px;
}

footer.footer .footer-copyright .container-footer-copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer.footer .footer-copyright .container-footer-copyright .txt-footer,
footer.footer .footer-copyright .container-footer-copyright .txt-footer a {
    color: #ebebeb;
    font-size: 13px;
    font-weight: 400;
    font-family: 'Lato', sans-serif;
}

.body-content,
.body-content > .row.row-content:first-child {
    min-height: 30rem !important
}

.panel-error-details {
    font-size: .75rem;
}

.modal-error, .modal-confirm {
    width: 45% !important;
}

.dxpcLite_Office365.modal-error {
    font: 1em 'Segoe UI', Helvetica, 'Droid Sans', Tahoma, Geneva, sans-serif;
}

/*.modal-error-header, .modal-confirm-header {
    font-size: 1.45em;
}

.modal-error-content, .modal-confirm-content {
    font-size: 1.4em;
}

.modal-error-footer .button, .modal-confirm-footer .button {
    font-size: 1.15em;
}

.nav-bar-nodos {
    font-size: 1.15em;
}

.nav-bar-nodos .icon-navbar-item[class*='fa-']:before {
    font-size: 1.25em;
}*/

.dx-popup-normal:has(.dx-text-confirm) {
    max-width: 70%;    
}

.dx-text-confirm {
    text-align: start;
}

.card.rounded-0,
.form-container .rounded-0 .dx-texteditor,
.form-container .rounded-0 .dx-texteditor input,
.form-container .rounded-0 div[role='button'],
.form-container .rounded-0 .dx-button {
    border-radius: 0px !important;
}

.form-container.form-container-login .button .dx-button {
    color: #fff;
    background-color: #AF2600;
}

.form-container.form-container-login .button .dx-button:hover {
    background-color: #821c00;
    cursor: pointer;
}

.form-container.form-container-login .dx-texteditor-buttons-container:has(.dx-state-hover),
.form-container.form-container-login .dx-texteditor-buttons-container:has(.dx-state-focused) {
    background-color: rgba(45, 109, 163, .1);
}

.form-container .button .dx-button {
    font-family: 'Segoe UI', Helvetica, 'Droid Sans', Tahoma, Geneva, sans-serif;
}

.form-container .label-caption {
    font-size: .95em;
    color: #808080;
}

.form-container .label-caption i[class*='fa-'] {
    font-size: .9em;
}

.control-to-validate *[class*=dxeErrorCell_] {
    font-size: .9rem !important;
    font-weight: bold !important;
}

div *[class*=dxgv], div *[class*=dxeTextBox] {
    font-size: 1rem !important;
}

*[disabled]{
    background-color: aliceblue;
}

/*tama�o m�ximo del buscador por defecto*/
*[id*=gvRegistros] {
    max-height: 70vh;
}

/* para alinear los botones del buscador
    cuando tienen 3 o m�s botones de acci�n en la column
    */
*[role=gridcell].dx-command-edit-with-icons:has(> :nth-child(3)) {
    display: flex;
    flex-wrap: wrap;
    gap: 5px; /* Espacio entre botones */
    align-items: flex-start; /* Centrar botones */
}
.dx-link .dx-icon-edit .dx-link-icon {
    min-width: 24px; /* Ancho m�nimo de los botones para alinearlos */
    flex: 1 1 auto; /* Hace que los botones se ajusten autom�ticamente */
}

.img-circle {
    border-radius: 50%;
}

/************************* image zoom *************************/

.doZoom {
    cursor: pointer;
}

.zoomable {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    z-index: 10000;
    padding: 10px 10px 10px 10px;
    background: aliceblue;
}

.zoomable:hover {
    transform: scale(2);
}
    
.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    display: none;
    padding: 8px 5px 8px 5px;
}

.zoom-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 0px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/************************* FIN image zoom *************************/


/************************* Utils *************************/

.text-opacity-80 {
    opacity: .8;
}

/************************* FIN Utils *************************/
