body.dark-only .text-dark {
    color: #bdbdbd !important;
}

body.dark-only .table td {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-only .card {
    border-color: #353945 !important;
}

body.dark-only .theme-form input[type=text],
body.dark-only .theme-form input[type=email],
body.dark-only .theme-form input[type=search],
body.dark-only .theme-form input[type=password],
body.dark-only .theme-form input[type=number],
body.dark-only .theme-form input[type=tel],
body.dark-only .theme-form input[type=date],
body.dark-only .theme-form input[type=datetime-local],
body.dark-only .theme-form input[type=time],
body.dark-only .theme-form input[type=datetime-local],
body.dark-only .theme-form input[type=month],
body.dark-only .theme-form input[type=week],
body.dark-only .theme-form input[type=url],
body.dark-only .theme-form input[type=file],
body.dark-only .theme-form textarea,
body.dark-only .theme-form select {
    background-color: #242730;
    border-color: #2d303a;
    border-radius: 4px;
}

body.dark-only .page-wrapper .page-body-wrapper .custom-select, 
body.dark-only .page-wrapper .page-body-wrapper .custom-file-label,
body.dark-only .page-wrapper .page-body-wrapper .page-body .form-control {
    background-color: #242730;
    border-color: #2d303a;
}

body.dark-only .inputWrapper .inputElement {
    border-color: #2d303a;
}

body.dark-only .stepwizard .stepwizard-row:before {
    background-color: #2d303a;
}

body.dark-only .stepwizard .stepwizard-row .stepwizard-step:not([current-step="true"]) .btn {
    background: rgb(45 48 58) !important;
    color: rgba(255, 255, 255, 0.6);
}

body.dark-only .multiinput-title {
    background-color: #2d303a;
}

body.dark-only .datepicker {
    background-color: #242730;
    box-shadow: none;
}

.dark-only .datepicker--nav {
    border: 0;
}

body.dark-only .datepicker .datepicker--cell.-current- {
    color: #a8a9ad;
}

body.dark-only .datepicker--cell-day.-other-month-, 
body.dark-only .datepicker--cell-year.-other-decade- {
    opacity: 0.25;
}

body.dark-only .datepicker--cell-day {
    color: #a8a9ad;
}

body.dark-only .datepicker--cell.-selected- {
    color: white !important;
}

body.dark-only .page-wrapper .page-body-wrapper .page-body .card:not(.email-body) {
    box-shadow: none !important;
    border: 1px solid #2d303a !important;
}

body.dark-only .mega-vertical .mega-title-badge {
    margin-top: 5px !important;
}

body.dark-only .mega-vertical .media .radio {
    margin-top: -5px !important;
}

body.dark-only .theme-form input:focus, 
body.dark-only .theme-form textarea:focus, 
body.dark-only .theme-form select:focus {
    box-shadow: 0 3px 5px 1px rgb(0 0 0 / 7%) !important;
    outline: none !important;
}

body.dark-only thead {
    border-bottom: 1px solid #2d303a !important;
}

body.dark-only span.twitter-typeahead .tt-suggestion {
    background: #242730;
    border: 0;
}

thead {
    border-bottom: 1px solid #efefef !important;
}

.multiinput-title {
    top: -10px;
    background-color: #efefef;
    position: absolute !important;
    border-radius: 10px;
    width: 90px;
    font-size: 13px;
    text-align: center;
}

@media screen and (min-width: 540px) {
    ::-webkit-scrollbar {
        width: 4px;
    }
    
    ::-webkit-scrollbar-track,
    ::-webkit-scrollbar-thumb {
        border-radius: 8px;
    }
    
    ::-webkit-scrollbar-track {
        background-color: #F8F8F8;
    }
    
    ::-webkit-scrollbar-thumb {
        background-color: var(--theme-primary);
        outline: none;
    }
}

.tooltip .tooltip-inner {
    max-width: 300px !important;
    min-width: 300px !important;
    width: 300px !important;
}

.tooltip .tooltip-inner {
    background-color: rgb(245 122 171 / 20%);
    color: #F57AAB;
}

.tooltip.bs-tooltip-top .tooltip-arrow:before {
    border-top-color: rgb(245 122 171 / 20%);
}

.badge {
    font-weight: normal;
}

.badge-secondary {
    background-color: #976759 !important;
}

.badge-info {
    background-color: #9e9e9e !important;
}

.btn-action {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.85rem;
    font-size: 13px;
}

.btn-action svg {
    height: 18px;
}

.btn-group-actions {
    display: flex;
}

.btn-group-actions .btn-action + .btn-action {
    margin-left: 8px;
}

.btn-info {
    background-color: #9e9e9e !important;
    border-color: #9e9e9e !important;
}

.btn-info:hover,
.btn-info:focus {
    background-color: #976759 !important;
    border-color: #976759 !important;
}

.best-seller-table table tbody tr:hover td:not(:first-child),
.best-seller-table table tbody tr:hover td p {
    color: inherit;
}

.btn-light-primary {
    background: rgb(245 122 171 / 15%);
    border-color: rgb(245 122 171 / 3%);
}

.dropzone {
    padding-top: 0;
    padding-bottom: 0;
    background-color: rgb(245 122 171 / 7%);
    color: #f57aab;
    border-radius: 8px;
    border-color: rgb(245 122 171 / 3%);
}

.dropzone.dz-clickable .dz-message h6 {
    font-size: 15px;
}

.stepwizard {
    margin-bottom: 24px;
    margin-top: 8px;
}

.stepwizard .stepwizard-row .stepwizard-step p {
    margin-bottom: 0;
}

.stepwizard .stepwizard-row .stepwizard-step .btn {
    background: rgb(254 235 243) !important;
    border: transparent;
    color: #f57aab;
    font-weight: bold;
}

.stepwizard ~ form .nextBtn {
    margin-bottom: 16px;
    margin-top: 16px;
}

.stepwizard .stepwizard-row .stepwizard-step[current-step="true"] p {
    color: var(--theme-primary);
    transition: color 400ms;
}

.stepwizard .stepwizard-row .stepwizard-step[current-step="true"] .btn {
    background-color: var(--theme-primary) !important;
    color: white;
    transition: all 400ms;
}

.stepwizard .stepwizard-row .stepwizard-step[completed-step="true"] p {
    color: var(--theme-secondary);
    transition: color 400ms;
}

.stepwizard .stepwizard-row .stepwizard-step[completed-step="true"] .btn {
    background-color: var(--theme-secondary) !important;
    color: white;
    transition: all 400ms;
}

.inputWrapper .add,
.inputWrapper .remove,
.inputWrapper .expand,
.inputWrapper .collapse,
.inputWrapper .dup {
    position: absolute;
    top: calc(100% - 20px);
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 4px;
    right: 16px;
}

.inputWrapper .add {
    background: #71c4b5;
}

.inputWrapper .remove {
    background: #f56363;
}

.inputWrapper .expand {
    background: var(--theme-primary);
}

.inputWrapper .collapse {
    background: var(--theme-primary);
}

.inputWrapper .dup {
    background: var(--theme-secondary);
}

.inputWrapper .add {
    right: 60px;
}

.inputWrapper .expand {
    right: 104px;
}

.inputWrapper .collapse {
    right: 104px;
}

.inputWrapper .dup {
    right: 104px;
}

.inputWrapper:not(.collapsed) .expand {
    display: none;
}

.inputWrapper .inputElement {
    border: 1px solid rgb(239 239 239);
    padding: 15px 10px 0px 10px;
    border-radius: 6px;
}

.inputWrapper .inputElement .form-control {
    margin-top: 0.5em;
    margin-bottom: 0.1em;
}

.inputWrapper .inputElement .form-control:placeholder-shown ~ .form-text {
    opacity: 0;
}

.inputWrapper .inputElement .form-control ~ .form-text {
    margin-left: 8px;
    transition: opacity 200ms;
}

table tbody:empty {
    content: 'No hay registros';
    position: absolute;
}

.card.o-hidden .card-body {
    padding: 20px 20px;
}

.card.o-hidden .media-body .icon-bg {
    width: 72px;
    height: 72px;
    right: -5px;
    top: 30px;
}

.border-tab.nav-tabs .nav-item .nav-link {
    color: #A8A9AD;
    text-transform: none;
}

body.dark-only .nav-tabs {
    border-color: rgb(0 0 0 / 15%) !important;
}

.border-tab.nav-tabs .nav-item .nav-link {
    font-size: 15px;
}

.nav-link {
    font-weight: 500 !important;
}

.list-persons .profile-mail .email-general ul li {
    margin-bottom: 0;
}

.list-persons .profile-mail .email-general ul li {
    display: flex;
    flex-direction: column;
}

.list-persons .profile-mail .email-general ul li>span {
    padding-top: 4px;
}

.table-bs {
    margin-top: 16px;
}

body.dark-only .table-bs th {
    color: white;
    border-bottom: 1px solid #7070702b !important;
}

body.dark-only .table-bs>:not(caption)>*>* {
    border: 0;
    background: none;
}

.note-editor.note-frame {
    border: 1px solid #efefef !important;
    background-color: #fff;
    font-size: 14px;
    color: #898989;
    border-radius: 4px;
}

.note-editor.note-frame .note-statusbar, 
.note-editor.note-airframe .note-statusbar {
    background: #efefef;
    border-color: #efefef;
}

.panel-heading.note-toolbar {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.note-editor.note-frame .note-editing-area .note-editable {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.note-style,
.note-font .btn:last-child,
.note-fontname,
.note-color-all,
.note-insert,
.note-view {
    display: none;
}

.note-btn {
    padding: 0 12px;
    background-color: #ffe6e3;
    color: #F593AA;
    border-radius: 0 !important;
}

.note-btn:hover {
    color: white;
}

.note-btn-group {
    background-color: #ffe6e3;
    border: 1px solid #ffe6e3;
    border-radius: 4px !important;
}

body.dark-only .panel-heading.note-toolbar,
body.dark-only .note-editor.note-frame .note-editing-area .note-editable {
    background: #242730 !important;
}

body.dark-only .note-editor.note-frame {
    border-color: #2d303a !important;
    background-color: #242730 !important;
}

body.dark-only .note-btn-group {
    border-color: #4f394a !important;
}

body.dark-only .note-btn-group,
body.dark-only .note-btn {
    background: #4f394a !important;
}

.swal2-icon.swal2-info {
    border-color: rgb(168 175 216 / 50%);
    color: var(--theme-secondary);
}

.swal2-html-container {
    font-size: 15px;
}

.swal2-popup .swal2-title {
    font-size: 24px;
    margin-bottom: 0;
    margin-top: 4px;
}

body.dark-only .swal2-popup {
    background: #1d1e26;
}

body.dark-only .swal2-title,
body.dark-only .swal2-html-container {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-only .radio label::before {
    background: #2d303a;
}

body.dark-only .mega-inline .card, body.dark-only .mega-horizontal .card, body.dark-only .mega-vertical .card {
    box-shadow: none !important;
    background: #2d303a;
    margin-bottom: 12px;
}

body.dark-only .theme-form .form-group input[type=text],
body.dark-only .theme-form .form-group input[type=email],
body.dark-only .theme-form .form-group input[type=search],
body.dark-only .theme-form .form-group input[type=password],
body.dark-only .theme-form .form-group input[type=number],
body.dark-only .theme-form .form-group input[type=tel],
body.dark-only .theme-form .form-group input[type=date],
body.dark-only .theme-form .form-group input[type=datetime-local],
body.dark-only .theme-form .form-group input[type=time],
body.dark-only .theme-form .form-group input[type=datetime-local],
body.dark-only .theme-form .form-group input[type=month],
body.dark-only .theme-form .form-group input[type=week],
body.dark-only .theme-form .form-group input[type=url],
body.dark-only .theme-form .form-group input[type=file],
body.dark-only .theme-form .form-group select {
    background-color: #242730;
    border-color: #2d303a;
}

.fotorama__thumb-border {
    border-color: var(--theme-primary);
}

@media only screen and (min-width: 567px) {
    #mdAddNE .modal-dialog,
    #mdChangeStatus .modal-dialog {
        width: 567px !important;
        min-width: 567px !important;
        transition: all 400ms;
    }

    #mdAddNE[current-step-fw="2"] .modal-dialog,
    #mdAddNE[current-step-fw="3"] .modal-dialog,
    #mdChangeStatus[current-step-fw="m3"] .modal-dialog,
    #mdChangeStatus[current-step-fw="m4"] .modal-dialog {
        width: calc(100% - 16px) !important;
        min-width: calc(100% - 16px) !important;
        margin-top: 12px;
    }

    .cs-unidad-w select {
        margin-bottom: 1rem !important;
        width: 112px;
    }
}

@media only screen and (max-width: 567px) {
    .inputWrapper .form-group {
        width: 100%;
        margin: 4px 4px 4px 0 !important;
    }

    .inputWrapper {
        margin-top: 24px;
    }

    .inputWrapper .inputElement .form-control ~ .form-text {
        display: none;
    }

    .inputWrapper .inputElement {
        padding-bottom: 24px;
        padding-right: 0;
        margin: 0;
    }

    #mdAddNE form,
    #mdChangeStatus form {
        padding: 0 !important;
    }

    #step-3 .row>div:not(.multiinput-title),
    #step-3 textarea,
    #mstep-3 .row>div:not(.multiinput-title),
    #mstep-3 textarea {
        width: 100%;
    }

    .stepwizard {
        margin-bottom: 12px;
    }

    .datepicker {
        width: calc(100% - 20px);
    }

    .mega-vertical .mega-title-badge {
        font-size: 10px;
    }

    .media {
        padding: 10px !important;
    }

    .mega-vertical {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .page-wrapper .page-header .header-wrapper .nav-right>ul {
        margin: 0;
    }

    .page-wrapper .page-header .header-wrapper .nav-right>ul {
        margin: 0;
    }

    .simplebar-mask {
        top: 108px;
    }

    .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .logo-wrapper .back-btn {
        margin-top: -48px;
    }

    .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .logo-wrapper {
        padding: 17px 24px;
    }

    .page-wrapper .page-body-wrapper .page-title .row .col-6 {
        width: 100%;
    }

    .page-wrapper .page-body-wrapper .page-title .row .col-6 + .col-6 {
        display: none;
    }

    .page-wrapper.compact-wrapper .page-body-wrapper .page-body {
        margin-top: 52px;
    }

    .project-list > .card .row .btn {
        font-size: 0;
        max-width: 40px;
        position: absolute;
        left: 0;
        top: -8px;
        z-index: 1;
    }

    .project-list > .card .row .h6 {
        margin: 6px 0 0px 40px !important;
        font-size: 14px;
        padding-bottom: 1px;
    }

    [data-bs-target="#mdAddNE"] {
        position: absolute;
        top: -85px !important;
        right: -16px !important;
        left: auto !important;
    }

    #ffilters .row > div {
        width: 100%;
    }

    #ffilters-content.actived #ffilters {
        height: 302px !important;
    }

    #ffilters-content #ffilters .mb-3 {
        margin-bottom: 8px !important;
    }

    #ffilters-content #ffilters .btn {
        margin-top: -8px;
    }

    table td.text-center,
    table td.text-end {
        text-align: left !important;
    }

    table tbody td {
        min-width: 90px;
        max-width: 130px;
        padding: 6px 0 !important;
        font-size: 13px;
    }

    table tbody td:not(:first-child) {
        padding-left: 24px !important;
    }

    table tbody td .label {
        padding-left: 0 !important;
    }

    table tbody td:empty {
        display: none;
    }

    table tbody td:empty + td {
        padding-left: 0 !important;
    }

    .modal.fade .modal-dialog {
        min-width: auto !important;
    }

    .appointment-table .table tr td {
        min-width: auto !important;
        padding: 8px !important;
    }

    .appointment-table .card-body {
        padding: 4px 8px !important;
    }

    .btn-toggle-fb {
        margin-top: 10px !important;
    }

    .cs-unidad-w {
        min-width: 128px;
        margin-top: 4px;
        padding-left: 0 !important;
    }
}

table.restables-clone {
    display: none;
}

@media (max-width: 991px) {
    table.restables-origin {
        display: none;
    }
    
    table.restables-clone {
        display: table;
    }
}

.theme-form .form-group input,
body.dark-only .login-card .login-main .theme-form input,
.theme-form .form-group select {
    background-color: #f7f7f7 !important;
    border-color: #f7f7f7 !important;
}
