.input-keywords {
    height: 100%;
    width: 100%;
    border: 0px;
}
.tinymce{
    height: 500px;
}
.btn-toggle-menu-child {
    padding: 2.5px 5px 0px 5px;
    width: 28px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    outline: none;
    border: 1px solid #444;
    background: #FFFFFF;
}

.btn-toggle-menu-child:active {
    box-shadow: inset 0px 0px 5px 0px #ccc;
}

/*menu-child*/
.btn:disabled {
    opacity: 0.2;
}

ul.tree {
    padding: 8px 12px;
    margin: 5px 0px 5px 0px;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
    flex: 0 0 100%
}

ul.tree li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    margin-bottom: 8px;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 5px;
}

ul.tree li:last-child {
    border-color: #FFFFFF;
}

ul.tree li[selected] {
    background: #f2f2f2;
}

/*component*/
.dt-container>div:first-child {
    position: sticky;
    top: -1.25rem;
    background: #FFF;
    z-index: 2;
    padding: 5px 0px;
    box-shadow: 0px 2px 2px 0px #f2f2f2;
}

input.form-control[type="color"] {
    padding: 2px 4px;
}

.topbar.fixed {
    position: sticky;
    top: 0px;
    right: 0px;
    background: #FFF;
    z-index: 10;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0.7rem;
}

.login-section {
    height: 100vh;
}

.login-section~footer {
    display: none;
}

.bg-custom {
    background-color: rgb(92 130 240 / 60%) !important;
}

.icon-select-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60%;
    aspect-ratio: 1/1;
    border: 1px solid #ccc;
    color: #FFF;
    transition: 0.5s all;
}

.icon-select-row i {
    display: none;
}

.icon-select-row.active i {
    display: block;
}

[tabulator-field='selectRow']:hover .icon-select-row {
    box-shadow: inset 1px 1px 6px -1px #ccc;
}

.custom-sidebar.sidebar .nav-item .collapse {
    left: 15px !important;
}

.bootstrap-tagsinput {
    width: 100%;
}

.loader-line {
    flex: 0 0 100%;
    height: 3px;
    position: absolute;
    bottom: 2px;
    overflow: hidden;
    background-color: #ddd;
    margin: 0px auto;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    display: none;
    left: 5px;
    right: 5px;
}

.loader-line:before {
    content: "";
    position: absolute;
    left: -50%;
    height: 3px;
    width: 40%;
    background-color: #4066d5;
    -webkit-animation: lineAnim 1s linear infinite;
    -moz-animation: lineAnim 1s linear infinite;
    animation: lineAnim 1s linear infinite;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.modal#edit-slide-modal .modal-body {
    height: 65vh;
    overflow: auto;
}

.modal#edit-slide-modal .card-banner {
    height: 100%;
}

#wrapper #content-wrapper #content {
    position: relative;
}

.row-slide {
    margin-left: -.25rem;
    margin-right: -.25rem;
}

.row-slide>div {
    padding: 0px .25rem;
    margin-bottom: 10px;
}

.row-slide>div img {
    border-radius: 5px;
}

.card.table-container .card-body {
    max-height: 60vh;
    overflow-y: auto;
}

.table.tableData {
    table-layout: fixed;
}

.table.table-vertical {
    display: flex;
}

.table.table-vertical thead,
.table.table-vertical tbody {
    flex: 0 0 50%
}

.table.table-vertical thead th {
    border-bottom: 0px;
    width: 100%;
}

.table.table-vertical th,
.table.table-vertical td {
    height: 2.1rem
}

.table.table-vertical thead tr {
    display: flex;
    flex-direction: column;
}

.table.table-vertical tbody tr {
    display: flex;
    flex-direction: column;
}

.table.dataTable thead th {
    text-align: center !important;
}

.table.dataTable tbody td {
    vertical-align: middle;
    position: relative;
    outline: none;
    color: #444;
    text-align: center !important;
}

.table.dataTable tbody td.sort-item {
    font-size: 1.5rem;
    cursor: pointer;
}

.table.dataTable thead th[data-type="image"] {
    width: 8%;
}

.table.dataTable thead th[data-type="del"],
.table.dataTable thead th[data-type="link"] {
    width: 5%;
}

.table.dataTable tbody tr td {
    transition: 0.5s all;
}

.table.dataTable tbody td[type="image"] img {
    width: 55px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.select-custom-multi ul {
    padding-left: 10px;
}

.select-custom-multi>ul {
    display: none;
    padding: 0px;
    margin: 0px;
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    z-index: 1;
    background: #f2f2f2;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #f2f2f2;
    box-shadow: 1px 1px 2px 0px #cccccc;
}

.select-custom-multi>ul li {
    margin-bottom: 5px;
}

.select-custom-multi>ul li:last-child {
    margin-bottom: 0px;
}

.select-custom-multi>ul .level-end:hover,
.select-custom-multi>ul .level-end:hover span {
    background: #5d5aff !important;
    color: #FFFFFF;
}

.select-custom-multi>ul li:not(.level-end)>span {
    font-weight: 800;
}

.select-custom-multi>ul li.level-1,
.select-custom-multi>ul>li.level-end {
    background: #d1d1d1;
    padding: 5px;
    border-radius: 5px;
}

.select-custom-multi>ul li.level-1 .level-end,
.select-custom-multi>ul>li.level-end span {
    display: block;
    background: #f2f2f2;
    border-radius: 5px;
    padding: 5px;
}

.table.dataTable tbody td p.input-edit,
.table.dataTable tbody td select,
.table.dataTable tbody td .select-custom-multi {
    cursor: pointer;
    position: relative;
    padding: 5px 20px 5px 5px;
    margin: 0px;
    border: 1px solid #c6c6c6;
    background: #FFF;
    text-align: left;
    border-radius: 3px;
    height: 2rem;
    text-wrap: nowrap;
    color: #000;
    width: 100%;
}

.table.dataTable tbody td .input-edit {
    text-align: left;
}

.table.dataTable tbody td .input-edit span {
    width: 100%;
    overflow: hidden;
}

.table.dataTable tbody td select {
    display: block;
    text-align: left;
}

.table.dataTable tbody td p.input-edit::after,
.table.dataTable tbody td .select-custom-multi::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
    font-weight: 900;
    font-family: 'Font Awesome 6 Pro';
    color: #d8d8d8;
}

.table.dataTable tbody td .select-custom-multi::after {
    content: '\f107';
}

.table.dataTable tbody td p.input-edit::after {
    content: '\f044';
}

.table.dataTable tbody td[type="checkState"] {
    cursor: pointer;
}

.table.dataTable tbody td[type="checkState"] span.icon-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.3rem;
    aspect-ratio: 1/1;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-weight: 900;
    font-family: 'Font Awesome 6 Pro';
}

.table.dataTable tbody tr.selected td[type="check-state"] span.icon-check::before {
    content: '\f00c';
    position: relative;
    z-index: 0;
}

/* .table.dataTable tbody tr.selected>* {
    box-shadow: inset 0 0 0 9999px #f2f2f2!important;
} */

.table.dataTable tbody td[type="select"] ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    text-align: left;
    color: #000;
}

.table.dataTable tbody td[type="select"]>ul {
    position: absolute;
    left: 5px;
    right: 5px;
    top: 100%;
    background: #FFF;
    overflow-y: auto;
    max-height: 150px;
    z-index: 10;
    border-radius: 8px;
    border: 1px solid #ababab;
}

.table.dataTable tbody td[type="select"]>ul::-webkit-scrollbar {
    background: transparent;
    width: 5px;
    border-radius: 8px;
}

.table.dataTable tbody td[type="select"]>ul::-webkit-scrollbar-thumb {
    background: #a4a4a4;
    border-radius: 8px;
}

.table.dataTable tbody td[type="select"] ul li:not(.level-end)>span {
    font-size: .6rem;
    font-weight: 700;
    color: #c0c0c0;
}

.table.dataTable tbody td[type="select"] ul li:not(.level-end):hover li.level-end:first-child span,
.table.dataTable tbody td[type="select"] ul li.level-end:hover>span {
    background: #4066d5;
    color: #FFF;
    cursor: pointer;
}

.table.dataTable tbody td[type="select"] ul li span {
    display: block;
    padding: 5px;
}

.table.dataTable tbody td p {
    margin-bottom: 5px;
}

.table.dataTable .img-row {
    width: 80px;
    aspect-ratio: 1/0.85;
}

.table.dataTable td[name="action"] a {
    font-size: .8rem;
    width: 32px;
    aspect-ratio: 1/1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

label[for],
img[onclick],
a:hover {
    cursor: pointer;
}

.img-responsive {
    object-fit: contain !important;
    border-radius: 5px;
}

.info-image {
    aspect-ratio: 1/0.5;
}

.image-circle {
    width: 100px;
    height: 100px;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}

.image img {
    display: inline;
    margin: 0 auto;
    height: 100%;
    width: auto;
}

.info-box img {
    height: 100px;
    width: 100%;
}

.info-box p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.just-padding {
    padding: 15px;
}

.list-group.list-group-root {
    padding: 0;
    overflow: hidden;
}

.list-group.list-group-root .list-group {
    margin-bottom: 0;
}

.list-group.list-group-root .list-group-item {
    border-radius: 0;
    border-width: 1px 0 0 0;
}

.list-group.list-group-root>.list-group-item:first-child {
    border-top-width: 0;
}

.list-group.list-group-root>.list-group>.list-group-item {
    padding-left: 30px;
}

.list-group.list-group-root>.list-group>.list-group>.list-group-item {
    padding-left: 45px;
}

ul li {
    list-style: none;
}

.success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.codeEditor {
    height: 200px;
}

[data-show] {
    display: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    padding: 10px;
}

legend {
    margin-bottom: 0;
}

.panel-body {
    border: none;
}

.ace-monokai .ace_print-margin {
    background: none !important;
}

[for=imgMenu] img {
    max-width: 100px;
    max-height: 50px;
}

#sidebar {
    width: 95px;
    height: 100%;
    overflow: scroll;
    overflow-x: hidden;
}

.hidden {
    display: none;
}

[type=button],
[type=reset],
[type=submit],
button {
    -webkit-appearance: inherit;
}

.sidebar-dark .nav-item .nav-link i {
    text-align: left;
    font-size: 1.1rem;
    width: 1.1rem;
}

.sidebar .nav-item .nav-link span {
    font-weight: 700;
    font-size: 1rem;
}

label {
    margin-bottom: 2px;
}

ul.ul_social_fixed {
    padding: 0px;
    margin: 0px;
}

ul.ul_social_fixed li {
    color: #f1f1f1;
    display: inline-block;
    width: 24px;
    aspect-ratio: 1/1;
    padding-left: 5px;
}

ul.ul_social_fixed li a {
    display: block;
}

ul.ul_social_fixed li img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-submit-form {
    position: fixed;
    z-index: 10;
    top: 5px;
    right: 75px;
    width: 50px;
    overflow: hidden;
    padding: 5px;
    font-size: 0.8rem;
}

.btn-submit-form span {
    display: none;
}

.sidebar .sidebar-heading {
    font-size: 1rem;
}

.sidebar .nav-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.sidebar .nav-item .nav-link {
    width: auto;
}

.sidebar .nav-item .nav-link:nth-child(1) {
    flex-grow: 1;
}

.sidebar .nav-item .nav-link:nth-child(2) {
    flex: 0 0 45px;
    max-width: 45px;
    aspect-ratio: 1/1;
    height: 45px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: 0.5s all;
    cursor: pointer;
    border-radius: 50%;
}

.sidebar.toggled .nav-item .nav-link:nth-child(2) {
    display: none;
}

.sidebar .nav-item .nav-link:nth-child(2):hover {
    background: rgba(55, 94, 206, 0.9);
}

.box.listSlide .slide {
    width: 100%;
    aspect-ratio: 1/0.8;
    overflow: hidden;
    display: block;
}

.box.listSlide .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.box.listSlide .item button[data-action="del"] {
    position: absolute;
    top: 0px;
    right: 5px;
    display: none;
    z-index: 2;
}

.box.listSlide .item:hover button[data-action="del"] {
    display: block;
}

.input-table::-webkit-outer-spin-button,
.input-table::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

.input-table[type=number] {
    -moz-appearance: textfield;
    /* Firefox */
}

@media (min-width: 900px) {
    .btn-submit-form {
        right: 200px;
        width: auto;
    }

    .btn-submit-form span {
        display: inline-block;
    }
}

@keyframes lineAnim {
    0% {
        left: -40%;
    }

    50% {
        left: 20%;
        width: 80%;
    }

    100% {
        left: 100%;
        width: 100%;
    }
}