body {
    background: #f4f6f9 !important;
}

body:not(.layout-fixed) .main-sidebar {
    height: inherit;
    min-height: 102%;
    position: absolute;
    top: 0;
}

.modal-content.table-container {
    padding: 1px !important;
}

h3.text-muted {
    font-weight: bold;
    color: #0b191a !important;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #015cf3 !important;
    color: #fff !important;
}

.input-group-text.active {
    background-color: #015cf3 !important;
    color: #fff !important;
}

.ts-dropdown,
.ts-control,
.ts-control input {
    font-size: 15px !important;
    line-height: 20px !important;
}

.collapse {
    &:not(.show) {
        display: none;
    }
}

.collapsing {
    height: 0;
    overflow: hidden;
}

th,
th a {
    background-color: #015cf3 !important;
    color: #ffffff !important;
}

td,
th {
    padding-left: 0.7rem !important ;
}
.btn {
    border-radius: 0%;
}

.fs-3 {
    font-size: 4.25rem !important;
}

.btn-outline-primary,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info,
.btn-outline-secondary,
.btn-outline-success {
    border-color: none !important;
    border: none !important;
    box-shadow: none !important;
}

.btn-outline-primary:hover,
.btn-outline-danger:hover,
.btn-outline-warning:hover,
.btn-outline-info:hover,
.btn-outline-secondary:hover,
.btn-outline-success:hover {
    color: #ffffff !important;
}

.btn-primary {
    background: #015cf3 !important;
}

.dt-paging-button {
    position: relative !important;
    padding: 0.5rem 0.75rem !important;
    margin-left: -1px !important;
    line-height: 1.25 !important;
    color: #007bff !important;
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
}

div.dt-container .dt-paging .dt-paging-button:hover {
    z-index: 2;
    color: #0056b3 !important;
    text-decoration: none !important;
    background: #e9ecef !important;
    border-color: #dee2e6 !important;
}

div.dt-container .dt-paging .dt-paging-button.current,
div.dt-container .dt-paging .dt-paging-button.current:hover {
    z-index: 3;
    color: #fff !important;
    background-color: #007bff !important;
    border-color: #007bff !important;
}

table.dataTable > thead > tr > th,
table.dataTable > thead > tr > td {
    padding: 10px;
    border-bottom: none !important;
}

div.dt-container.dt-empty-footer tbody > tr:last-child > * {
    border-bottom: none !important;
}

.bg-primary,
.card-header.bg-primary {
    background-color: rgb(27, 98, 175) !important;
}

.bg-warning {
    background: rgb(255, 193, 7);
}

.bg-dark {
    background: rgb(52, 58, 64);
}

table input[type="checkbox"] {
    visibility: visible !important;
}

.text-primary {
    color: rgba(0, 97, 160, 1) !important;
}

.text-warning {
    color: rgb(255, 147, 45) !important;
}

.custom-file-input {
    height: auto;
}

td {
    vertical-align: middle !important;
}

.table.dataTable.table {
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 100% !important;
    /* border: 1px solid #dedede;*/
}

h6 {
    font-weight: bolder;
}

h6,
.btn {
    font-size: 0.9rem;
    border-radius: 5px;
}

.custom-file-input {
    width: 40px;
}

.brand-link .brand-image {
    float: left;
    line-height: 0.8;
    margin-left: 0.8rem;
    margin-right: 0.5rem;
    margin-top: 5px;
    max-height: 33px;
    width: 25px;
}

/** ALERTAS **/
.toast.bg-success {
    background-color: rgba(40, 167, 69, 0.9) !important;
}

.card {
    border: none !important;
    border-radius: 0rem;
}

.card-header {
    /*padding: .25rem .25rem .05rem !important;*/
    border: none !important;
}

div.dt-container div.dt-length select {
    width: 4rem;
}

@media (min-width: 300px) {
    .d-xs-none {
        display: none !important;
    }
}
.switch-item {
    align-items: center;
    display: flex;
}
.switch-itam label {
    margin-left: 0.5rem;
}
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 0.8rem;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 0.8rem;
}

input:checked + .slider {
    background-color: rgba(0, 97, 160, 1);
}

input:focus + .slider {
    box-shadow: 0 0 1px rgba(0, 97, 160, 1);
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.card-header select {
    font-size: 1rem !important;
    padding: 0.2rem 0.5rem;
    line-height: 1.2rem;
    height: auto;
}

.table-container {
    background: white;
    border-radius: 5px;
    padding: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.field {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    border-radius: 18px;
    padding: 0.6em;
    border: none;
    outline: none;
    color: white;
    background-color: #fff;
    box-shadow: inset 0px 0px 3px #dedede;
}

.input-icon {
    height: 1.3em;
    width: 1.3em;
    color: black;
    margin-top: 7px;
    margin-left: 5px;
}

.input-field {
    background: none;
    border: none;
    outline: none;
    width: 100%;
}

.field_ {
    display: flex;
    gap: 0.5em;
    border-radius: 18px;
    padding: 0;
    border: none;
    outline: none;
    color: white;
    background-color: #f1f2f1;
    box-shadow: inset 0px 0px 3px #dedede;
}

.field_ img {
    border-radius: 18px !important;
}

input[type="number"] {
    text-align: right;
}

.nav-pills .nav-item button {
    border: none !important;
    margin-left: 2px;
}

.ondisplay {
    text-align: center;
    border-bottom: 1px solid gray;
    padding: 20px 0;
}

.ondisplay section {
    width: 100px;
    height: 100px;
    background: #555;
    display: inline-block;
    border: 1px solid gray;
    text-align: center;
    margin-top: 5px;
    border-radius: 5px;
    box-shadow:
        0 1px 4px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 0, 0, 0.1) inset;
}

.ondisplay section::before {
    content: "click it";
    color: #bbb;
    font:
        15px Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    text-shadow: 0px 1px black;
}

input[type="checkbox"] {
    visibility: hidden;
}

.slideThree {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.slideThree input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 25px;
}

.slider::before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.slideThree input:checked + .slider {
    background-color: #007bff;
}

.slideThree input:checked + .slider::before {
    transform: translateX(24px);
}

.card-clean {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 0 !important;
}

.img-uniform {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.table thead th {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    color: #6c757d;
}

.btn-clean {
    border-radius: 8px;
}


.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none;

    color: var(--tag-color);
    background: color-mix(in srgb, var(--tag-color) 15%, white);
    border: 1px solid color-mix(in srgb, var(--tag-color) 30%, white);

    transition: all 0.25s ease;
}

.tag-item:hover {
    background: var(--tag-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tag-item {
    background: #f1f5f9;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.col-update {
    width: 30% !important;
}

.col-detail {
    width: 45% !important;
}

.col-date {
    width: 15% !important;
}

.col-actions {
    width: 10% !important;
}

.form-control:not([type="search"]):not(select):not(textarea){
    padding: 4px 4px 4px 12px;
    height: 46px;
}
