.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: smaller;
    font-style: italic;
}

.truncate-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.truncate-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.modal-dialog.large {
    width: 80% !important;
    max-width: unset;
}

.modal-dialog.mid-large {
    width: 50% !important;
    max-width: unset;
}

@media (max-width:900px) {
    .modal-dialog.large {
        width: 100% !important;
        max-width: unset;
    }
    .modal-dialog.mid-large {
        width: 100% !important;
        max-width: unset;
    }
    .modal-dialog {
        margin: unset !important;
    }
}

#viewer_modal .btn-close {
    position: absolute;
    z-index: 999999;
    /*right: -4.5em;*/
    background: unset;
    color: white;
    border: unset;
    font-size: 27px;
    top: 0;
}

#viewer_modal .modal-dialog {
    width: 80%;
    max-width: unset;
    height: calc(90%);
    max-height: unset;
}

#viewer_modal .modal-content {
    background: black;
    border: unset;
    height: calc(100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

#viewer_modal img,
#viewer_modal video {
    max-height: calc(100%);
    max-width: calc(100%);
}

table.dataTable th,
table.dataTable td {
    padding: 5px !important;
}

.card.d-flex {
    flex-direction: row !important;
}

.card.d-flex>img {
    width: 20% !important;
}

.card.d-flex>.card-body {
    width: 80% !important;
}

span.btn {
    cursor: unset;
}

span.btn:hover {
    background: inherit;
}

#tourCarousel {
    height: 50vh !important;
}

#tourCarousel img {
    object-fit: fill;
}

div.stars {
    width: auto;
    display: inline-block
}

.mt-200 {
    margin-top: 200px
}

input.star {
    display: none
}

label.star {
    float: right;
    /* padding: 10px; */
    font-size: 30px;
    color: #333333;
    transition: all .2s
}

/* Sidebar Customization
.main-sidebar {
    width: 280px;
}

.content-wrapper, 
.main-footer,
.main-header {
    margin-left: 280px;
}

.nav-sidebar .nav-item {
    margin-bottom: 8px;
}

.nav-sidebar .nav-link {
    padding: 12px 20px;
    font-size: 1.1rem;
    border-radius: 8px;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.nav-sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.nav-sidebar .nav-link.active {
    background-color: #007bff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-sidebar .nav-icon {
    font-size: 1.3rem;
    margin-right: 12px;
}

.nav-sidebar .nav-treeview {
    padding-left: 15px;
}

.nav-header {
    font-size: 1rem;
    padding: 15px 25px;
    text-transform: uppercase;
    font-weight: 600;
    color: #a2b5cd;
}

.brand-link {
    padding: 15px;
    height: 70px;
    display: flex;
    align-items: center;
}

.brand-link .brand-image {
    width: 2.5rem;
    height: 2.5rem;
    max-height: unset;
    margin-right: 15px;
}

.brand-text {
    font-size: 1.2rem;
}

/* Responsive adjustments */
/* @media (max-width: 768px) {
    .main-sidebar {
        width: 250px;
    }
    
    .content-wrapper,
    .main-footer,
    .main-header {
        margin-left: 0;
    }
    
    .sidebar-open .main-sidebar {
        transform: translateX(0);
    }
} */

/* Custom scrollbar for sidebar */
/* .main-sidebar .os-scrollbar {
    width: 8px !important;
}

.main-sidebar .os-scrollbar-handle {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px;
}

.main-sidebar .os-scrollbar-handle:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

/* Enhance active state visibility */
/* .nav-pills .nav-link:not(.active):hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-sidebar .nav-item .nav-link.active .nav-icon {
    color: #fff;
}  */ */


input.star:checked~label.star:before {
    content: '\2605';
    color: #ffc800;
    transition: all .25s
}

input.star-5:checked~label.star:before {
    color: #ffc800;
    /* text-shadow: 0 0 20px #952 */
}

input.star-1:checked~label.star:before {
    color: #F62
}

label.star:hover {
    transform: rotate(-15deg) scale(1.3)
}

label.star:before {
    content: '\2605';
    font-family: FontAwesome
}