table:not(.table-sm) tbody tr td,
table:not(.table-sm) thead tr th {
    font-size: 0.9rem;
}

table.table-sm tbody tr td,
table.table-sm thead tr th {
    font-size: 0.9rem;
}

.navbar-expand-xl .offcanvas .offcanvas-body {
    height: calc(100vh - 60px)
}

.navbar-expand-xl .offcanvas-body {
    display: block
}

.ajax.btn-estado[data-st="1"]::after {
    content: " Activo";
}

.ajax.btn-estado[data-st="0"]::after {
    content: " Inactivo";
}

.ahref-max {
    position: relative;
    display: block;
    min-height: 140px;
    height: 30vh
}

.thumb-max {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    max-height: 90%;
    max-width: 90%;
    z-index: 3
}

.ajax.btn-destacado[data-st="1"]::after {
    content: "\f005";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.ajax.btn-destacado[data-st="0"]::after {
    content: "\f005";
    font-weight: normal;
    font-family: "Font Awesome 5 Free"
}

.ajax.btn-destacado[data-st="2"]::after {
    content: "\f005";
    font-weight: normal;
    font-family: "Font Awesome 5 Free"
}

#ui-datepicker-div {
    z-index: 9999 !important;
}

.ui-datepicker-title select {
    color: black;
}


.input-group .validationMessage {
    position: absolute;
    top: 37px;
    z-index: 1;
    right: 0;
    max-width: 250px;
    box-shadow: 0 0.1rem 0.5rem rgba(0, 0, 0, 0.3) !important;
}

.validationMessage {
    background-color: #dc3545 !important;
    font-size: 12px;
    padding: 4px 7px;
    color: #fff;
    text-align: center;
    background-color: #000;
    border-radius: 0.25rem;
}

.btn-group>.btn input {
    display: none;
}

.cards tbody tr {
    position: relative;
    float: left;
    width: 16.66666667%;
    margin-bottom: 10px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.cards tbody tr td:first-child {
    padding: 0;
}

.cards tbody tr td:last-child {}

.cards tbody td .img-block {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    height: 140px;
}

.cards tbody td {
    min-height: 24px;
    display: block;
    border: 0;
}

.cards thead {
    display: none;
}

.cards .td-nombre a {
    font-size: 11px;
    overflow: hidden;
    height: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.cards .btn-group .btn {
    width: 32px;
}


.custom-control.teleport-switch {
    --color: #4cd964;
    padding-left: 0;
}

.custom-control.teleport-switch .teleport-switch-control-input {
    display: none;
}

.custom-control.teleport-switch .teleport-switch-control-input:checked~.teleport-switch-control-indicator {
    border-color: var(--color);
}

.custom-control.teleport-switch .teleport-switch-control-input:checked~.teleport-switch-control-indicator::after {
    left: -14px;
}

.custom-control.teleport-switch .teleport-switch-control-input:checked~.teleport-switch-control-indicator::before {
    right: 2px;
    background-color: var(--color);
}

.custom-control.teleport-switch .teleport-switch-control-input:disabled~.teleport-switch-control-indicator {
    opacity: .4;
}

.custom-control.teleport-switch .teleport-switch-control-indicator {
    display: inline-block;
    position: relative;
    margin: 0 10px;
    top: 4px;
    width: 32px;
    height: 20px;
    background: #fff;
    border-radius: 16px;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    border: 2px solid #ccc;
    overflow: hidden;
}

.custom-control.teleport-switch .teleport-switch-control-indicator::after {
    content: '';
    display: block;
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    top: 2px;
    left: 2px;
    background: #ccc;
}

.custom-control.teleport-switch .teleport-switch-control-indicator::before {
    content: '';
    display: block;
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    top: 2px;
    right: -14px;
    background: #ccc;
}

.list-group-item.show-destacado .destacado {
    display: inline;
}

.list-group-item:not(.show-destacado) .destacado {
    display: none;
}

.table-cards tbody tr {
    margin: 0;
}

.table-cards tbody tr td:first-child {
    padding: 0;
    border: 0;
}

.table-cards thead {
    display: none;
}

.table-cards.list-group tbody tr {
    display: grid
}

div.mce-fullscreen {
    z-index: 9999;
}

#myTabContent .nav-item .nav-link {
    color: #333;
    font-size: 12px;
}

#myTabContent .dropdown-menu>.active>a {
    color: #fff;
}

#myTabContent .nav-item .nav-link:hover {
    color: #999;
}

#myTabContent .navbar .navbar-nav {
    display: -webkit-box;
    -webkit-box-orient: horizontal;
}

#myTabContent .navbar-nav>li.active>a,
#myTabContent .navbar-nav>li>a.active {
    font-weight: bold;
}

#myTabContent .navbar-nav>li>a {
    padding: 0;
    align-items: center;
    text-align: center;
    width: 90px;
    font-size: 11px;
    margin-top: 10px;
    display: block;
}

#myTabContent .navbar .navbar-nav>li>a i {
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    display: flex;
    font-size: 32px;
    position: relative;
    border-radius: 50% !important;
    width: 50px;
    margin: 0 auto;
    padding: 8px;
    color: white;
}

#myTabContent .navbar .badge {
    position: absolute;
    right: -10px;
    top: 0px;
    font-size: 10px;
}

@media(min-width:780px) {
    div.dataTables_wrapper div.dataTables_info {
        padding-top: 0.85em;
        float: left;
        font-size: 0.8em;
    }
}