/* inicio estilos para ajustar bootstrap 5 */
.form-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.card-body {
    padding: 1.25rem;
}
/* fin estilos para ajustar bootstrap 5 */

/* menu */

/* Barra de navegación transparente inicialmente */
nav.navbar {
    background-color: rgba(255, 255, 255, 0.7) !important;
    transition: background-color 0.5s ease-in-out;
    padding-top: 0;
    padding-bottom: 0;
}

    /* Fondo blanco al hacer scroll */
    nav.navbar.fixed-top.scrolled {
        background-color: #ffffff !important;
    }

.navbar-light .navbar-nav .nav-link {
    color: rgba(0,0,0,.8);
}

a.nav-link {
    font-size: 14px;
    border-bottom: 4px solid transparent;
    border-top: 4px solid transparent;
    height: 106px;
    line-height: 1.2;
    padding-top: 42px;
    text-align: center;
}

.nav-link:hover {
    color: #4d9700 !important;
    border-bottom-color: #4d9700 !important;
}

.tblMartFront {
    background-attachment: fixed !important;
    background-position: right top;
    height: 500px;
    width: 100%;
}
/* Separadores */
.ml-2 {
    margin-left: 0.5rem !important;
}

/* Separadores */

.adjuntos {
    margin-bottom: 24px;
    font-size: 12px;
}

.depsoc .adjuntos {
    margin-bottom: 36px;
}

.custom-file-button input[type=file] {
    margin-left: -2px !important;
}

    .custom-file-button input[type=file]::-webkit-file-upload-button {
        display: none;
    }

    .custom-file-button input[type=file]::file-selector-button {
        display: none;
    }

.custom-file-button:hover label {
    background-color: #dde0e3;
    cursor: pointer;
}

.adjuntos .input-group-text {
    font-size: 12px;
    height: 30px;
    padding-top: 8px;
}

.adjuntos input {
    font-size: 12px;
    padding-top: 6px;
    -webkit-border-top-right-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    -moz-border-radius-topright: 6px;
    -moz-border-radius-bottomright: 6px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.btn-cu.btn-m {
    /*border-radius: 8px;*/
}
/* texto principal*/
.titulo {
    padding-top: 200px;
    color: #0061a8;
}

    .titulo h4 {
        color: #676767;
    }

h4 a {
    color: #0061a8;
}

    h4 a:hover {
        color: #003aa8;
    }

.fade-element {
    transition: opacity 0.5s ease-in-out;
}

.fade-out {
    opacity: 0;
}
#ErrorEmpty {
    color: red;
    font-size: 12px;
}
/* Franja gris */
.TblBanCediz {
    margin-top: 106px;
    height: 140px;
}
/* acordeon */
.accordion-button::after {
    width: 38px;
    background-position-x: 20px;
}

button.accordion-button {
    font-weight: 600;
    color: #555;
}

    button.accordion-button:hover {
        color: #0f69c4;
    }

.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #004d9b;
}

/* formulario */
a.btn.btn-primary {
    color: #fff !important;
    font-weight: normal !important;
}

#contenidomenu h1 {
    color: #0061a8;
    font-size: 32px;
}

#contenidomenu h2 {
    font-size: 26px;
}

#contenidomenu h3 {
    font-size: 18px;
}

#contenidomenu h4 {
    font-size: 18px;
    color: #0061a8;
}

#contenidomenu h6 {
    padding-top: 8px;
    margin-bottom: 0;
}

span.TextBlock {
    color: #616161;
    padding-bottom: 4px;
    display: block;
}

.adjuntos .col-md-6 {
    margin-bottom: 8px;
}

.custom-file {
    margin-bottom: 24px;
}

.table td, .table th {
    border-top: 0px;
}

.table-sm td {
    padding: 1rem;
    line-height: 1.2;
    text-align: left;
}

.table thead th {
    padding: 0 1rem 1rem 1rem;
}

.custom-file-label {
    font-size: 12px;
}
/* Solicitudes */

.solicitud label.form-check-label {
    font-size: 16px;
}

.solicitud .form-check .form-check-input {
    width: 12px;
    height: 12px;
    margin-right: 6px;
}
.alert.alert-primary {
    font-size: 14px;
}
/* otros */

.lead {
    line-height: 1.5;
}

.card {
    font-size: 10.5pt;
}

.custom-file-input:hover {
    color: #0f69c4 !important;
}

.custom-file-input {
    cursor: pointer;
}

.sombra1 {
    -webkit-box-shadow: 0px 0px 5px 3px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 5px 3px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 5px 3px rgba(0,0,0,0.2);
}

.alerta1 {
    color: #4d9700;
    display: block;
    text-align: left;
}

    .alerta1 font {
        color: #585858cc;
        display: none;
    }

    .alerta1 span::before {
        font-family: "FontAwesome";
        content: "\f00c";
        padding-right: 4px;
    }

.btn-borrar {
    padding: 0;
    color: #df463d;
    font-size: 14px;
    /* display: block; */
    border: 0;
    line-height: 1;
    margin-left: 12px;
}

    .btn-borrar:hover {
        color: red;
    }

    .btn-borrar::before {
        font-family: "FontAwesome";
        content: "\f05c";
    }

    .btn-borrar::after {
        content: " Eliminar";
    }

button#btnVolverTop {
    position: fixed;
    bottom: 20px;
    right: 40px;
    border-radius: 100px;
    height: 60px;
    width: 60px;
    border: 6px solid #9f9f9f;
}

#btnVolverTop i {
    font-size: 26px;
    margin-top: -2px;
}

#groupM1 img {
    margin-left: 12px;
}
/* modal */
.modal-body {
    font-size: 16px;
}

.modal-title {
    color: #0f69b4;
}

/* ventana JS */
.modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}

.ui-dialog {
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0.3rem;
    outline: 0;
    background-color: #fff;
}

.ui-dialog-content {
    flex: 1 1 auto;
    padding: 1rem;
    font-size: 16px;
}

.ui-dialog-buttonpane {
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    text-align: right;
}

.ui-front {
    z-index: 1050;
}

.ui-resizable {
    overflow: hidden;
}

.ui-widget-overlay {
    background: rgba(0, 0, 0, 0.5);
    filter: alpha(opacity=50);
}

.ui-dialog-titlebar {
    color: #0f69b4;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    font-size: 1.25rem;
}

    .ui-dialog-titlebar .ui-dialog-title {
        font-size: 1.2em;
    }

.ui-dialog-buttonset button:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    text-decoration: none;
}

.ui-dialog-buttonset button {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    margin-left: 12px;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

    .ui-dialog-buttonset button:first-child {
        color: #fff;
        background-color: #007bff;
        border-color: #007bff;
    }

button.ui-dialog-titlebar-close {
    background: transparent;
    position: absolute;
    right: 0;
    top: 10px;
    color: transparent;
    padding: 12px 26px;
    border: 0;
}

    button.ui-dialog-titlebar-close::before {
        content: "\f00d";
        font-family: "FontAwesome";
        color: #6c757d;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

button.ui-button.ui-corner-all.ui-widget.ui-button-icon-only.ui-dialog-titlebar-close:hover {
    color: transparent;
    background-color: transparent;
    border: 0px;
    border-color: transparent;
    text-decoration: none;
}

    button.ui-button.ui-corner-all.ui-widget.ui-button-icon-only.ui-dialog-titlebar-close:hover::before {
        content: "\f00d";
        font-family: "FontAwesome";
        color: #000;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
/* boton */

a.boton {
    color:#fff;
    font-weight: 400;
}
a.boton:hover {
    color: #fff !important;
}
.btn-link {
    color: green;
    padding-left: 0;
    padding-right: 0;
}

    .btn-link:hover {
        color: #00cf00;
        text-decoration: none;
    }

i.fa.fa-plus-square-o, i.fa.fa-minus-square-o {
    position: absolute;
    font-size: 16px;
    left: 24px;
    margin-top: 2px;
}

#TablaDirectorRepreBody .btn-outline-danger:not(:disabled):not(.disabled):active, #TablaDirectorRepreBody .btn-outline-primary:not(:disabled):not(.disabled):active, #TablaDirectorRepreBody a.btn-outline-danger:hover, #TablaDirectorRepreBody a.btn-outline-primary:hover {
    color: #fff !important;
}

#TablaDirectorRepreBody a.btn-outline-danger, #TablaDirectorRepreBody a.btn-outline-primary {
    font-weight: normal !important;
    padding-bottom: 2px;
}

.custom-radio .custom-control-label {
    line-height: 1.86;
}

#loading {
    display: none;
}

#loadingImg {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    z-index: 1001;
    width: 60px;
    height: 60px;
    border: 6px solid #fff;
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1031;
}

#loadingBackground {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1030;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Font */

div.txtTitSec {
    font-weight: 400 !important;
}

.contacto span.txtTitSec {
    font-size: 20px !important;
    padding-top: 0px !important;
}

span.txtTitSec {
    color: #0061a8 !important;
    font-weight: 400 !important;
    font-size: 26px !important;
    padding-top: 14px !important;
    display: block;
    line-height: 1.3;
}

.preguntas b {
    border-bottom: 1px solid #ccc;
    width: 100%;
    display: block;
    padding-bottom: 8px;
    margin-top: 22px;
    margin-bottom: 12px;
}

.contacto .row {
    padding-top: 12px;
}

.map {
    border: 1px solid #ccc;
    padding: 6px;
}

.solicitud .card-body {
    padding: 16px;
}

.ico {
    background: #0061a8;
    color: #fff;
    width: 30px;
    text-align: center;
    height: 30px;
    line-height: 30px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.col-acciones {
    width: 194px;
    text-align: center;
}

.dataTables_scroll {
    margin-top: 26px;
    margin-bottom: 26px;
}

.GroupMinEco {
    max-width: 100% !important;
    width: 100% !important;
}

table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
    text-align: left;
}

/* datatable */
span.dt-column-title {
    font-size: 14px;
    color: #555555;
}

.dataTable span.badge {
    font-size: 12px;
    font-weight: normal;
}

.dataTable a#Editar {
    padding: 6px !important;
    font-size: 12px;
    line-height: unset;
    width: 100%;
    background: #0f69c4;
}

.dataTable a#Edita:hover {
    background: #084e95;
}

.dt-layout-row.dt-layout-table {
    padding: 16px 0;
}

table.dataTable.compact thead th, table.dataTable.compact thead td, table.dataTable.compact tfoot th, table.dataTable.compact tfoot td, table.dataTable.compact tbody th, table.dataTable.compact tbody td {
    height: 48px;
    font-size: 12px;
}

table.dataTable > tbody > tr > th, table.dataTable > tbody > tr > td {
    vertical-align: middle;
}

.dt-paging-button {
    border: 1px solid #bdd3e9 !important;
    border-radius: 4px !important;
}

    .dt-paging-button.disabled {
        cursor: not-allowed !important;
        border: 1px solid #ccc !important;
    }

div.dt-container .dt-paging .dt-paging-button.current {
    background-color: #0f69c4;
    color: #fff !important;
    border: 1px solid #0f69c4;
}
    div.dt-container .dt-paging .dt-paging-button.current:hover {
        background-color: #0c549c;
        color: #fff !important;
        border: 1px solid #0c549c;
    }

.dt-paging-button.previous,
.dt-paging-button.next,
.dt-paging-button.first,
.dt-paging-button.last {
}

.dt-paging-button:hover:not(.disabled):not(.current) {
    background: #0f69c4 !important;
    color: #fff !important;
    border: 1px solid #0f69c4;
    }

.dt-info {
    color: #7f7f7f !important;
    margin-top: 10px;
}

nav[aria-label="pagination"] .dt-paging-button {
    margin: 0 2px;
}

div.dt-container select.dt-input {
    margin: auto 6px;
}

div.dt-container .dt-search input {
    margin-left: 6px;
}

div.dt-scroll {
    margin-left: 6px;
}

@media only screen and (max-width: 767px) {
    .tblMartFront {
        background-attachment: inherit !important;
        background-size: cover;
        background-position: 100px;
        height: 240px;
    }

    .titulo {
        padding-top: 120px;
    }

        .titulo h1 {
            font-size: 2rem;
            margin-top: 14px;
            font-weight: 600;
        }

        .titulo h4 {
            display: none;
        }

    div#navbarNav {
        margin-top: 12px;
    }

    nav.navbar {
        padding-bottom: 22px;
    }

    .m-auto {
        padding-right: 0px !important;
    }

    a.nav-link {
        font-size: 18px;
        border-bottom: 4px solid transparent;
        text-align: center;
        padding: 16px;
        background: #fff;
        margin-bottom: 4px;
        border: 1px solid #ccc;
        height: auto;
        line-height: 1;
    }

    .btn-cu.btn-m {
        width: 100% !important;
        height: auto;
        padding: 14px !important;
        border-radius: 0px;
        font-size: 18px;
        line-height: 1.5;
    }

        .btn-cu.btn-m .cl-claveunica {
            width: 24px;
            height: 24px;
            background-size: 24px 24px;
        }

    .btn-cu.btn-color-estandar {
        /*background-color: #4d4d4d;*/
    }

    .TblBanCediz {
        margin-top: 90px;
    }

    .card-body {
        padding: 0;
    }

    .card {
        border: 0;
    }

    .table thead th {
        padding: 0 0.5rem 0.5rem 0.5rem;
    }

    .table-sm td {
        padding: 0.5rem;
    }

    #TablaDirectorRepreBody a#Editar {
        margin-left: 8px;
        width: 79px;
        margin-bottom: 8px;
    }

    .col-acciones {
        width: auto;
    }

    i.fa.fa-plus-square-o {
        display: none;
    }

    button#btnAgregaDirectorRepre {
        padding-left: 0px !important;
    }

    .footermailP, .footermail, .footerfonoP, .footerfono {
        float: left !important;
    }

    #footermenu #groupM1 img {
        display: none;
    }

    button#btnVolverTop {
        right: 20px;
    }
}
