.footer {
    position: unset;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.pagination span,
.pagination > a {
    padding: 5px 10px;
    margin: 0 5px;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    background-color: #f1f1f1;
}

.pagination .current {
    background-color: #007bff;
    color: #fff;
}

.pagination .next,
.pagination .last {
    margin-left: 10px;
}

.pagination .next a,
.pagination .last a {
    font-weight: bold;
}

.sorted {
    position: relative;
}

.sorted .asc::before,
.sorted .desc::before {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
}

.sorted .asc::before {
    content: "\f062"; /* Font Awesome 5 up arrow icon */
}

.sorted .desc::before {
    content: "\f063"; /* Font Awesome 5 down arrow icon */
}

.d-flex .form-check {
    margin-right: 2em;
}

/* tab navigation */
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}

/* progress bar */
.progress {
    height: 20px;
    margin-bottom: 20px;
    background-color: #f1f1f1;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    color: #fff;
    text-align: center;
    line-height: 20px;
    background-color: #007bff;
}

/* justify start, separate by 15px */
.file-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
}

.file-list .file-item {
    width: auto;
    /*padding: 10px;
    border: 1px solid #f1f1f1;
    border-radius: 3px;*/
}

.fc {
    height: 100%!important;
}

.language-switcher {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}
.language-switcher a {
border: none;
padding: 8px 25px 8px 8px;
font-size: 12px;
font-weight: 600;
color: #5a86ab;
margin-left: 0;
border-radius: 50px;
}
.language-switcher a:hover {
text-decoration: none;
}

.main-panel>.container {
margin-top: 0;
}

.main-panel .page-header {
    justify-content: space-between;
}

.modal {
    z-index: 9999999999999999999;
}

.modal-backdrop {
    z-index: 1000;
}

.table>tbody>tr>td, .table>tbody>tr>th {
    padding: .5rem!important;
}
.table thead th {
    padding: .5rem!important;
}

.cke_notification_warning {
    display: none !important;
}

ul.chosen-choices, a.chosen-single {
    border-radius: 4px!important;
    font-size: 1rem!important;
    border-color: #ebedf2!important;
    padding: .35rem 1rem!important;
    height: inherit!important;
    border-width: 2px!important;
    font-family:"Public Sans", sans-serif!important
}

ul.chosen-choices:focus {
    border-color: #3e93ff!important;
}

input.chosen-search-input.default {
    font-family:"Public Sans", sans-serif!important;
}

.chosen-container {
    width: 100% !important;
    max-width: 100% !important;
    clear: left!important;
}

.mr-2 {
    margin-right: .5rem!important;
}

.delivery-days .form-check {
    margin-right: 0rem!important;
}

.table-import .form-check  {
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
    min-height: 15px !important;
}

.table-import .form-check label {
    display: none!important;
}

.table-import  .form-check .form-check-input {
    margin: 0!important;
    padding: 0!important;
    float: none!important;
}

/* login exceptions */
#login-page .main-panel {
    width:100%;
    float: unset;
    display:flex;
    flex-direction: column;
}


#login-page .page-inner {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#login-page .page-header {
    /* max-width: 640px; */
    width: 100%;
}

#login-page .breadcrumbs {
    display: none;
}

.ico-button {
    padding-right: 0.7rem;
}

.ico-button i {
    margin-left: 0.7rem;
    height: 2.8rem;
    margin: -9px -10px -30px 1.5rem;
    background-color: rgba(0,0,0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    float: right;
}

.form-modal .form-check {
    padding: 0 !important;
}

.form-modal .form-check .form-check-label {
    margin-bottom: 0;
}

.nw .form-check label, .nw .form-group label {
    white-space: wrap; 
}

.nw .form-check {
    margin: 0;
    padding: 0;
}

.nw .form-check {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    padding-left: 0.5rem;
}

.nw.no-rev .form-check {
    flex-direction: row;
}

.nw .mb-3 {
    margin: 0!important;
    padding: 0.5rem 0!important;
}

.nw .mb-3:nth-child(even) {
    background-color: #efefef;
}

.nw.no-rev .mb-3:nth-child(even) {
    background-color:transparent;
}

.nw .form-check label {
    margin: 0!important;
}

#agreementModal .form-check {
    display: flex!important;
}

#agreementModal .form-check label, #agreementModal .form-group label {
    white-space: wrap!important;
}

.custom-table-responsive {
    width: 100%;
    overflow-x: auto;
}

#customTable {
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

#customTable th,
#customTable td {
    white-space: nowrap;
}

/* Fijar la primera columna */
#customTable th:first-child,
#customTable td:first-child {
    position: sticky;
    left: 0;
    background-color: white;
    z-index: 2;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

/* Fijar la primera columna */
#customTable th:first-child, #customTable  td:first-child {
    border-right: 2px solid #ddd;
}

.custom-inline-flex {
    margin-bottom: 10px;
    width: 100%;
}

@media all and (min-width: 768px) {
    .custom-inline-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .custom-inline-flex label {
        white-space: nowrap;
        padding-right: 15px;
        min-width: 120px;
        text-align: right;
    }
}

.nav-link {
    color: #1572e8;
}

a.nav-link:focus, a.nav-link:hover {
    color: #1269db;
}

.main-panel-full {
    width: 100% !important;
}

.wrapper {
    min-height: auto;
    height: auto;
}

body > .wrapper {
    min-height: calc(100vh - 16vh);
    height: auto;
}

.main-panel>.container {
    min-height: calc(100% - 66px);
}

#cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#cookie-banner {
    background: white;
    color: #333;
    max-width: 400px;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
}

#cookie-banner a {
    color: #1572e8!important;
}

.contract-info .icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    border-radius: 50%;
    background: #f5f6fa;
    margin-right: 16px;
    font-size: 1.7rem;
    flex-shrink: 0;
}