.p-15 {
    padding: 15px;
}
.preview {
    max-width: 50px;
    height: auto;
}

a.btn {
    color: #ffffff;
}
.btn-default,
.btn-default:hover,
.btn-outline-primary:hover,
.btn-outline-primary:hover:hover,
.btn-outline-warning:hover,
.btn-outline-warning:hover:hover,
.btn-primary,
.btn-primary:hover,
.btn-warning,
.btn-warning:hover {
    color: #ffffff !important;
}

div#name_delete {
    display: inline;
    font-weight: bold;
}
.table td,
.table th {
    padding: 0.5rem 1rem;
}

.select2-container--classic .select2-selection--single,
.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single,
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow,
.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    height: 35px;
    line-height: 35px;
}

.form-control.error {
    border-color: #f62d51;
}
.input-group.error {
    border: 1px solid #f62d51;
}
.help-block.error {
    color: #f62d51;
}

.alert ul {
    margin-bottom: 0px;
    padding: 0px 15px;
}
#products-datatables {
    min-height: 200px;
}

.btn-circle.btn-sm,
.btn-group-sm > .btn-circle.btn {
    padding: 8px;
}

.page-breadcrumb {
    padding: 40px 20px 0;
}

.hide {
    display: none;
}
.d-flex .lds-ripple {
    position: relative;
    top: 0;
    left: 0;
}

.d-flex.loading {
    width: 100%;
}
.d-flex.hide {
    display: none !important;
}

#result {
    margin-top: 10px;
    margin-bottom: 10px;
    /* position: relative; */
    /* top: 88px; */
    max-height: 300px;
    overflow: auto;
    /* width: 100%; */
    background: #ffffff;
    /* left: 11px; */
    /* z-index: 100000; */
    /* border: 1px solid #dddddd; */
    display: none;
    min-height: 100px;
}
.loadding {
    color: #f62d51;
    text-align: center;
    margin: 0 auto;
}
.card-body {
    position: relative;
}
.d-flex-center {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}
.text_red {
    color: #f62d51;
}

.invoice .page-header {
    text-align: center;
    margin-bottom: 40px;
}

.invoice-info {
    margin-bottom: 20px;
    line-height: 1.5rem;
}
.invoice .footer {
    text-align: center;
}
.invoice .footer p {
    margin-bottom: 0px;
}
.print .invoice {
    border: 1px solid #dddddd;
    padding: 30px 15px;
}

.select2-container--default .select2-selection--multiple {
    line-height: 20px;
}

.btn-circle.btn-sm,
.btn-group-sm > .btn-circle.btn {
    padding: 6px;
}

.sort_edit {
    width: 70px;
}

.text-status {
    font-size: 26px;
    text-align: center;
    display: block;
    margin: 0 auto;
}

#main-wrapper[data-layout=vertical] .topbar .navbar-collapse[data-navbarbg=skin1], #main-wrapper[data-layout=vertical] .topbar[data-navbarbg=skin1], #main-wrapper[data-layout=horizontal] .topbar .navbar-collapse[data-navbarbg=skin1], #main-wrapper[data-layout=horizontal] .topbar[data-navbarbg=skin1] {
    background: #1B49C0;
}

.btn-info {
    background-color: #1B49C0;
    border-color: #1B49C0;
}

.btn-info:hover {
    background-color: #1B49C0;
    border-color: #1B49C0;
    opacity: 0.8;
}

.btn-edit {
    background-color: #f6af31;
    border-color: #f6af31;
    color: #fff;
}

.btn-edit:hover {
    color: #fff;
    opacity: 0.8;
}

.btn-primary {
    background-color: #99cc01;
    border-color: #99cc01;
}

.btn-primary:hover {
    background-color: #99cc01;
    border-color: #99cc01;
    opacity: 0.8;
}

.btn-primary:not(:disabled):not(.disabled):active {
    background-color: #99cc01;
    border-color: #99cc01;
}

.btn-info:not(:disabled):not(.disabled):active {
    background-color: #1B49C0;
    border-color: #1B49C0;
}

.btn-info.disabled, .btn-info:disabled {
    background-color: #1f8652;
    border-color: #1f8652;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(153, 204, 1, 0.8) !important;
}

.btn-danger:hover {
    opacity: 0.8;
}

.bg-primary {
    background-color: #99cc01!important;
}

.switch input:checked + .slider {
    background-color: #99cc01;
}

.page-item.active .page-link {
    background-color: #1B49C0;
    border-color: #1B49C0;
}

.breadcrumb-item a {
    color: #1B49C0;
}

.show-pass-login {
    position: absolute;
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
    font-size: 18px;
    cursor: pointer;
    z-index: 100;
}
.gfield_input{
    position: relative;
}

.dropzone .dz-preview .dz-error-message {
    top: 150px;
}

img[alt="old-image.jpg"] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-primary:disabled {
    background-color: #1B49C0;
    border-color: #1B49C0;
}
.image img{
    height: 200px;
    width: auto;
}

.ui-datepicker {
    z-index: 10 !important;
}

.table-images {
    max-width: 150px;
    width: auto;
    max-height: 150px;
    height: auto;
}

.dz-button{
    border: none;
    background: transparent;
    color: gray;
}

.left-sidebar {
    width: 260px;
}

#image-detail {
    height: 200px;
    width: auto;
    border: 1px solid lightgray;
}

.action_merchant {
    gap: 5px;
}

button.nav-link:focus {
    outline: unset !important;
}

.infor-dashboard .more {
    padding-top: 30px;
}

.room-type-column {
    width: 100px; /* Adjust the width as needed */
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Hide overflow content */
    text-overflow: ellipsis; /* Display ellipsis (...) for overflow content */
}

/* Enable horizontal scrolling for the table container */
#table-contents {
    overflow-x: auto;
}

.datepicker-dropdown {
    margin-top: 7px;
}

.chart-legend-item:hover {
    cursor: pointer;
}

#clients-datatables_info {
    padding-bottom: 7px;
}

#crop-image-container {
    background-color: white;
}

#crop-image-container .cr-viewport{
    background-color: white;
    z-index: 2;
}

#crop-image-container .cr-image{
    z-index: 5;
}

.cr-boundary {
    border: 1px solid lightgray;
}

.select2-selection__arrow b {
    top: 17px !important;
}

.country_client .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 12px !important;
}

.action_customer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.input-group-append {
    height: 35px;
}

.max-width-name {
    max-width: 320px;
    min-width: 250px;
}

.max-with-section {
    max-width: 290px;
}

.max-width-sort {
    max-width: 80px;
}

.sort-left {
    left: 30px !important;
}

.max-width-action {
    max-width: 150px;
    min-width: 120px;
}

.slider-value-box {
    position: absolute;
    background-color: #1B49C0;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    transform: translateX(-50%);
    top: -20px;
}

.date-width {
    width: 80px;
}

.sidebar-nav ul .sidebar-item {
    width: 260px;
}

.sidebar-nav ul .sidebar-item .active {
    background-color: #F2F2F2;
    font-weight: bold;
}

.table th, .table thead th {
    font-weight: bold;
}

.image-container {
    position: relative;
    width: 350px;
    height: 195px;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-container:hover .overlay {
    opacity: 1;
}

.overlay .text {
    margin-top: 8px;
    font-size: 14px;
    text-align: center;
}

.bootstrap-tagsinput {
    margin: 0;
    width: 100%;
    min-height: 32px;
    font-size: 0.9rem;
    padding: 3px 6px 5px 6px !important;
    line-height: 100%;
    border: 1px solid #e9ecef !important;
    transition: border-color 0.15s ease-in-out;

    &.has-focus {
        background-color: #fff;
        border-color: black;
    }

    .label-info {
        display: inline-block;
        height: 28px;
        border-radius: .25rem;
        text-align: center;
        font-size: 14px;
        margin: 0 !important;
        background-color: #FF6699  !important;
        /*border-color: unset !important;*/
    }

    input {
        margin-bottom: 0.5em;
    }
}

.bootstrap-tagsinput .tag [data-role="remove"]:after {
    content: 'x';
}

.ck-editor__main {
    max-height: 320px;
    overflow-y: auto;
}
