label.required:after {
    content: '*';
    color: red;
}

.button-list {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    justify-content: space-around !important;

    @media (max-width: 768px) {
        margin: 0 -0.125rem !important;
    }

    .btn-group,
    .btn {
        flex-wrap: nowrap !important;
        margin: 0 0.125rem;
    }

    .btn-mwz {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
    }

}

.btn-warning {
    color: #fff;
}

.btn-mwz {
    min-height: 36px !important;
    min-width: 36px !important;
    padding: 0.56rem 0.6rem !important;
    line-height: 1 !important;
    border-radius: 50rem;

    &:hover {
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    }

    i {
        vertical-align: middle !important;
    }

    i:hover {
        box-shadow: none !important;
    }
}


.full-url {
    position: relative;

    a {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9;
    }
}


/*upload image*/
.image-upload {
    border: 1px dashed #d4d8dd !important;
    border-radius: 1rem;
    width: 100%;
    height: 14rem !important;
    max-height: 14rem !important;
    position: relative;
    padding: 2rem;
    cursor: pointer;
    vertical-align: middle !important;
    border-radius: 0.3125rem;
}

.input-upload {
    display: none;
}

.label-upload {
    width: 100%;
    margin-bottom: 0.5em !important;
}

.dz-message {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 !important;
}

.img-upload {
    max-width: 100%;
    position: relative;
    margin: auto;
}

.img-table {
    max-width: 60px !important;
    max-height: 40px !important;
}

.embed-responsive,
.img-responsive {
    max-height: 10rem !important;
    max-width: 100%;
}

.embed-responsive>video {
    max-width: 100% !important;
    max-height: 10rem !important;
}

.btn-upload {
    position: absolute;
    top: 11px;
    right: 11px;
    z-index: 100;

    &.btn-delete {
        color: red !important;
        font-size: larger !important;
        padding: .25rem !important;

        i:hover {
            text-shadow: 0 0 5px red !important;
        }
    }
}

.d-upload-image {
    i {
        font-size: 60px;
    }

    * {
        margin: 0 !important;
    }
}

.list-unstyled li {
    border-bottom: 0;
}

.dropzone {
    border: 1px dashed #d4d8dd !important;
    border-radius: 1rem;
    min-height: 150px;
    width: 100%;
    position: relative;

    .dz-message {
        position: absolute !important;
        top: 0 !important;
        bottom: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        margin: 0 !important;
    }

    .dz-preview {
        position: relative !important;
        margin: 0 !important;
        padding: 0.25rem !important;

        @media (max-width: 425px) {
            width: 100% !important;
        }

        @media (min-width: 426px) {
            width: 33% !important;
        }

        @media (min-width: 769px) {
            width: 25% !important;
        }

        @media (min-width: 1025px) {
            width: 20% !important;
        }

        .dz-size {
            display: none !important;
        }

        .dz-details {
            padding-top: 60% !important;
            min-height: 100% !important;
            vertical-align: bottom !important;
        }

        .dz-image {
            border-radius: 0.5rem !important;
            position: relative;
            overflow: hidden;
            z-index: 10;
            padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
            --tw-aspect-w: 1;
            --tw-aspect-h: 1;
            background: #f6f6f6;
            box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
        }

        .dz-image>img,
        .dz-image>video,
        .dz-image>embed,
        .dz-image>iframe {
            vertical-align: middle !important;
            margin: auto;
            max-width: 92% !important;
            max-height: 92% !important;
        }

        .dz-image>* {
            position: absolute;
            -o-object-fit: cover;
            object-fit: cover;
            top: 0;
            bottom: 0;
            right: 0;
            left: 0;
            width: 100%;

        }

        .dz-remove {
            position: absolute;
            top: 0 !important;
            right: 0 !important;
            z-index: 100;
            padding: .5rem !important;
            line-height: 1 !important;
            cursor: pointer;
            color: #000;

            i {
                font-size: 1rem !important;
            }

            &:hover {
                color: red !important;
                text-decoration: none !important;
                text-shadow: 0 0 5px red !important;
            }
        }
    }
}



.tab_wrapper>ul {
    li.active {
        border-color: var(--ct-blue) !important;
        background: var(--ct-blue) !important;
        color: #fff;
    }
}

table.dataTable {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.navbar-custom .topnav-menu .nav-link {
    display: flex;
    height: 60px;
    align-items: center;
}

.tab-content {
    padding: 0;
}


.lang-content,
.sub-type,
.tab-style,
.image-pane {
    display: none !important;
}

.lang-content.active,
.sub-type.active,
.tab-style.active,
.image-pane.active {
    display: block !important;
}

.logo-lg>*,
.logo-sm>* {
    max-width: 100% !important;
    max-height: 42px !important;
}

div.dataTables_wrapper {
    .table>tbody {
        vertical-align: middle !important;
    }

    div.dataTables_filter label {
        width: -webkit-fill-available !important;
    }

    div.dataTables_filter input {
        margin: 0 !important;
        width: 100% !important;
    }

    div.dt-footer {
        justify-content: space-between !important;
        align-items: center !important;
    }

    div.dataTables_length {
        label {
            padding: 3px 0 !important;
            max-height: 38px !important;
            display: flex !important;
            align-items: baseline !important;
            flex-wrap: nowrap !important;

            .select2-container {
                width: auto !important;
                margin-right: 0.5rem;
            }
        }
    }
}


.table td:not(.dataTables_empty) {
    padding: 0.4rem 0.75rem;
    line-height: 1.4;
}

div.dataTables_processing {
    z-index: 1000 !important;
}

.select2-container {
    width: auto !important;
}

.input-group {
    overflow: hidden !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.2rem !important;
    flex-wrap: nowrap !important;



    .input-group-text {
        display: flex !important;
        justify-content: center !important;
        font-size: 16px !important;
        align-items: center !important;
        line-height: normal !important;
        min-width: 38px !important;
        padding: 0.45rem !important;
    }

    .input-group-text,
    .form-control,
    .form-select {
        border: none !important;
    }

    .form-select {
        min-width: 4rem !important;
        padding: 0.45rem 2.25rem 0.45rem 0.9rem !important;
    }

    .select2-container,
    .select2-container .select2-selection--single {
        border: none !important;
    }

    &:has(.input-group-text) {
        .form-control {
            padding: .45rem .6rem !important
        }
    }
}


.slider-frm {
    padding: 0.75rem 2rem;
    margin: 0 -1.5rem;
    background: ghostwhite;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

table.table-middle {

    th:first-child,
    td:first-child {
        text-align: center !important;
        vertical-align: middle !important;
    }

    th,
    td {
        vertical-align: middle;
    }
}

.float-title {
    height: 61px;
    padding: 0.75rem 1.26rem !important;
    color: #6c757d !important;
    display: inline-flex;
    align-items: center;
}

.select2-container--bootstrap-5 .select2-selection {
    display: -webkit-box !important;

    .select2-selection__choice {
        margin: 0.125rem !important;
        padding: 0.125rem 0.25rem !important;
        background: #000;
        color: #323a46;
        border-color: #dee2e6;
        background-color: transparent;
        border: 1px solid transparent;
    }
}

.text-fill {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 12rem !important;
}

.table-card {
    .fill {
        max-width: 20rem;
    }

    .table-body {
        display: flex !important;
        justify-content: space-between !important;
    }
}

.ratio>img {
    object-fit: cover;
}

.header-flex {
    background: white !important;
    width: 100% !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap;

    .header-nav,
    .header-button {
        max-height: 58px !important;
        background: white !important;
        vertical-align: middle !important;
    }

    .header-nav {
        padding: 0.65rem .8rem !important;
        flex-grow: 1 !important;
    }

    .header-button {
        padding: 0.65rem !important;
        flex-wrap: nowrap !important;
        margin-left: auto !important;
    }

    .active {
        cursor: none !important;
        pointer-events: none !important;
    }

    .nav-bordered li a {
        padding: 0.45rem 0.65rem !important;
    }

    @media (max-width: 768px) {
        flex-wrap: wrap !important;

        .header-nav {
            margin: 0 !important;
        }

        .button-list {
            margin: 0 !important;
            justify-content: end !important;
        }

        .header-button {
            padding-top: 0 !important;
            width: -webkit-fill-available !important;
            text-align: end !important;
        }
    }

    .nav-flag {
        margin-right: -.5rem !important;
        width: 58px !important;
        --ct-aspect-ratio: 100%;
        display: flex;
        justify-content: center;
        align-items: center;

        .flag {
            margin: 0 !important;
        }
    }

}

.form-row {
    max-width: 70vh !important;
    overflow-y: auto !important;
}

.select2-selection.select2-selection--multiple {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    padding: 0.175rem 0.75rem !important;

    .select2-search {
        width: auto !important;
        flex-grow: 1 !important;
    }

    .option-text {
        max-width: 14rem !important;
    }

    .select2-selection__choice {
        padding: 0 !important;
        flex-direction: row-reverse !important;

        .select2-selection__choice__display {
            padding: .125rem !important;
        }

        .select2-selection__choice__remove {
            margin: 0 !important;
            padding: 0.75rem !important;
        }

    }
}

.select-option {
    height: 1.5rem !important;
    align-items: center !important;
    display: -webkit-flex !important;
}

.option-image {
    display: flex !important;
    overflow: hidden !important;
    max-width: 24px !important;
    max-height: 24px !important;
    align-items: center !important;
}

.option-code {
    vertical-align: middle !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    border-radius: 50rem !important;
    border: 0.1rem solid rgba(152, 166, 173, 0.2) !important;
}

.option-text {
    max-width: 100%;
    margin: 0.25rem !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    line-height: normal !important;
    text-overflow: ellipsis !important;
}

.badge-mwz {
    margin: 0.1rem !important;
    box-shadow: none !important;
    color: #6c757d !important;
    line-height: normal !important;
    border-radius: 50rem !important;
    padding: 0.2rem 0.3rem !important;
    border: 1px solid #6c757d !important;
    background-color: transparent !important;
}

.flatpickr-input[readonly] {
    background-color: white !important;
}

.fs-7 {
    font-size: 0.6rem !important;
}

.avatar-img {
    width: 3rem !important;
    height: 3rem !important;
    border-radius: 0.5rem !important;
    overflow: hidden !important;
}

.sp-colorize {
    border: 1px solid #dee2e6 !important;
}

.float-group {
    overflow: hidden !important;
    padding: .25rem .5rem !important;
    border: 1px solid var(--ct-input-border-color) !important;
    border-radius: .25rem !important;

    .form-floating>.form-control {
        border: none !important;
        border-bottom: 1px dashed var(--ct-input-border-color) !important;

    }

    .form-floating:last-child>.form-control {
        border: none !important;
    }

}

.left-side-menu,
.card {
    box-shadow: none !important;
}

.center {
    text-align: center !important;
    vertical-align: middle !important;
}