.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;
}

.truncate-5 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.lh-1 {
    line-height: 1em !important;
}

.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
}

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
}

.product-img-holder {
    width: 100%;
    height: 20em;
}

.product-img-holder>img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    object-position: center center;
    transition: transform .2s ease-in;
}

.product-item:hover .product-img-holder>img {
    transform: scale(1.3);
}

.brand-img-holder {
    width: 100%;
    height: 20em;
}

.brand-img-holder>img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    object-position: center center;
    transition: transform .2s ease-in;
}

.brand-item:hover .brand-img-holder>img {
    transform: scale(1.3);
}

.price-tag {
    bottom: 1em;
    right: 1em;
}

.nav-icon {
    width: 1.6rem !important;
}

.list-group:empty:after {
    content: "No data listed yet.";
    color: rgb(85, 85, 85);
    text-align: center;
}

.select2-selection.form-border {
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
}

h1.w-100.text-center.site-title.px-5 {
    text-shadow: 5px 5px 5px #000 !important;
    color: #fff;
    font-size: 6em;
}

/* ===== Modern Navbar ===== */
#main-nav.main-header {
    border-bottom: 1px solid rgba(0, 0, 0, .06) !important;
}

#main-nav .navbar-brand {
    font-size: 1.15rem;
    letter-spacing: -.2px;
}

#main-nav .brand-logo-holder {
    height: 2.6rem;
    width: 2.6rem;
    min-width: 2.6rem;
    border-radius: .75rem;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

#main-nav .brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#main-nav .brand-text {
    color: #111827 !important;
}

#main-nav .navbar-nav>li>a.nav-link {
    color: #4a5568;
    font-weight: 600;
    padding: .6rem 1rem;
    border-radius: .5rem;
    transition: color .2s ease, background-color .2s ease;
}

#main-nav .navbar-nav>li>a.nav-link:hover {
    color: #2f80ed;
    background: rgba(47, 128, 237, .06);
}

#main-nav .user-avatar {
    height: 2.1rem;
    width: 2.1rem;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

#main-nav .user-name {
    font-weight: 600;
    color: #343a40;
}

#main-nav .dropdown-menu {
    min-width: 220px;
    border-radius: .75rem;
    padding: .5rem;
}

#main-nav .dropdown-item {
    border-radius: .5rem;
    padding: .55rem .75rem;
    font-weight: 500;
}

#main-nav .dropdown-item:hover {
    background: #eef4ff;
}

#main-nav .dropdown-header {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}

@media (max-width: 991.98px) {
    #main-nav .navbar-nav>li>a.nav-link {
        padding: .5rem .75rem;
    }
}

/* ===== Modern Auth Pages ===== */
body.auth-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: #0f172a;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .35);
    padding: 2.25rem 2rem;
}

.auth-card.wide {
    max-width: 960px;
}

.auth-logo {
    height: 64px;
    width: 64px;
    object-fit: contain;
    border-radius: 16px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 8px 24px rgba(47, 128, 237, .25);
}

.auth-title {
    font-weight: 800;
    color: #111827;
}

.auth-input-group .form-control {
    border-radius: 50rem 0 0 50rem;
    border-right: 0;
    height: 48px;
    padding-left: 1.25rem;
}

.auth-input-group .input-group-append .input-group-text {
    border-radius: 0 50rem 50rem 0;
    background: #fff;
    color: #6c757d;
    border-left: 0;
}

.auth-input-group .form-control:focus {
    box-shadow: none;
    border-color: #2f80ed;
}

.auth-input-group .form-control:focus+.input-group-append .input-group-text {
    border-color: #2f80ed;
}

.role-switch {
    display: flex;
    background: #f1f5f9;
    border-radius: 50rem;
    padding: 4px;
}

.role-switch .role-btn {
    flex: 1;
    text-align: center;
    padding: .5rem .25rem;
    border-radius: 50rem;
    color: #6c757d;
    font-weight: 600;
    font-size: .85rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all .2s ease;
}

.role-switch .role-btn:hover {
    color: #2f80ed;
}

.role-switch .role-btn.active {
    background: #fff;
    color: #2f80ed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}


img#client-img-avatar {
    width: 1.7rem;
    height: 1.7rem;
    border-width: 1px !important;
    padding: 1px;
}

.form-control.form-control-border:focus {
    box-shadow: unset !important;
}

.product-img-holder {
    height: 25vh !important;
    width: calc(100%);
    overflow: hidden;
}

.product-img {
    object-fit: scale-down;
    height: calc(100%);
    width: calc(100%);
    transition: transform .3s ease-in;
}

.welcome-content img {
    margin: .5em;
}

/* ===== Site Footer ===== */
#site-footer {
    border-top: 0;
}

#site-footer .site-footer-body {
    background: #212529;
    color: #adb5bd;
}

#site-footer .site-footer-body h5,
#site-footer .site-footer-body h6 {
    color: #fff;
}

#site-footer .site-footer-body .text-muted {
    color: #adb5bd !important;
}

#site-footer .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.2rem;
    width: 2.2rem;
    color: #adb5bd;
    background: rgba(255, 255, 255, 0.08);
    transition: all .25s ease;
}

#site-footer .social-btn:hover {
    color: #fff;
    background: #2f80ed;
    transform: translateY(-3px);
}

#site-footer .footer-links li {
    margin-bottom: .5rem;
}

#site-footer .footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: all .25s ease;
}

#site-footer .footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

#site-footer .footer-links i.fa-angle-right {
    color: #2f80ed;
}

#site-footer .footer-links i.fa {
    color: #2f80ed;
}

#site-footer .site-footer-bottom {
    background: #1a1d21;
    color: #adb5bd;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#site-footer .site-footer-bottom b {
    color: #fff;
}