/* @import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities'; */

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css");
* {
    padding: 0;
    margin: 0;
    font-size: 98%;
}
a {
    text-decoration: none;
}
body {
    box-sizing: border-box;
    background-color: #f5f8fe;
}
header {
    position: sticky;
    top: 0;
    z-index: 1;
}
.nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-item .nav-link {
    color: #313a46;
    font-size: 14px;
}
.href-link {
    color: #313a46;
    text-decoration: none;
    font-size: 14px;
}
.nav-item .portal-nav-picture {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}
.portal-nav-picture:hover {
    cursor: pointer;
}
.portal-nav-list {
    position: absolute;
    top: 43px;
    right: 15%;
    background: white;
    list-style: none;
    border: 1px solid #ccc;
    margin: 10px;
    font-size: 14px;
    padding: 0;
}
.hidden {
    visibility: hidden;
}
.portal-nav-list-item {
    display: flex;
    width: 200px;
    align-items: center;
}
.portal-nav-list-item:hover {
    background: #f4f4f4;
    cursor: pointer;
}
.portal-nav-list-item-icon {
    margin: 10px;
}
#login {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-origin: border-box;
    background-size: cover;
    background-image: url("https://images.unsplash.com/photo-1571330422950-0de5787b593b?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=3029&q=80");
}

#login .card {
    width: 400px;
}
#login .forgot-password {
    font-size: 12px;
    color: #313a46;
    text-decoration: none;
    color: #0d6efd;
    font-style: italic;
}
#login .forgot-password:hover {
    color: #313a46;
}
.nav-right {
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-right-href {
    text-decoration: none;
    color: #313a46;
}

.nav-right:hover {
    cursor: pointer;
}
.nav-auth-dropdown:hover {
    background: #f1f1f1;
}

.post-btn-sub-title {
    font-size: 10px;
}

.filter-result {
    display: flex;
    font-weight: 600;
    font-size: 14px;
    font-style: italic;
    justify-content: space-between;
    padding: 10px;
}

/* classified content */
.classified-category {
    text-align: center;
    color: tomato;
    font-weight: 600;
}
.classified-content .card {
    padding: 10px;
    margin: 10px;
    font-size: 12.9px;
    display: block;
    font-weight: 600;
}
.date {
    color: chocolate;
}
.category {
    color: green;
}
.address {
    color: #313a46;
}

.name {
    color: chocolate;
}
.classified-content .card:hover,
.portal-classified-content .card:hover {
    cursor: pointer;
    background: #f5f8fd;
}
.notification {
    position: relative;
    margin: 0 20px;
}
.notification-count {
    position: absolute;
    top: -2px;
    left: 10px;
    font-size: 12px;
    background: red;
    width: 20px;
    height: 20px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    color: white;
}

/* portal */
.sidebar-wrapper {
    position: sticky;
    left: 0;
    top: 70px;
    height: 100%;
}
.sidebar-list {
    font-size: 14px;
    list-style: none;
    overflow-y: scroll;
    scroll-behavior: smooth;
    padding: 0;
}
.sidebar-list-item {
    padding: 10px 20px;
}
.sidebar-list-item:hover,
.nav-link:hover {
    background: #f1f1f1;
    cursor: pointer;
}

::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background-color: rgb(179, 179, 179);
}
.wrapper-ads {
    padding: 10px;
}

/* share */
.share {
    display: flex;
}
.share-picture {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.share-right {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 20px;
}
.share-right-top {
    display: flex;
    flex-direction: row;
}
.share-right-top-input {
    font-size: 12px;
    margin: 0 10px;
}
.share-description {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 1px solid #ccc;
    font-size: 14px;
}
.share-profile-description {
    width: 100%;
    height: 50px;
    object-fit: cover;
    border: 1px solid #ccc;
    font-size: 14px;
}
.share-description:focus-visible {
    outline: none;
}
.share-input {
    font-size: 12px;
}
.share-btn {
    display: flex;
    justify-content: end;
    align-items: center;
}
.share-post-btn {
    margin-left: 10px;
}

.bi-image {
    color: tomato;
}
.portal-classified-post {
    font-weight: 600;
    padding-top: 10px;
    font-size: 14px;
    margin: 0;
    color: tomato;
}
.portal-classified-content {
    font-size: 12.9px;
    display: block;
    font-weight: 600;
}
.portal-classified-content .card {
    margin: 10px 0;
    padding: 10px;
}
/* profile */
.profile {
    display: flex;
    align-items: center;
}
.profile-pic {
    width: 150px;
    height: 150px;
    object-fit: contain;
    flex: 4;
}

.share-btn-profile-image {
    font-size: 14px;
    padding: 6px;
}
.share-btn-profile-image:hover {
    cursor: pointer;
    background: #f1f1f1;
}

.profile-classified-content .card {
    position: relative;
}

.profile-classified-content .setting {
    position: absolute;
    width: 100%;
    left: -10px;
    display: flex;
    justify-content: end;
}

.profile-classified-content .setting .bi {
    font-size: 14px;
}

.profile-classified-content .setting .bi:hover {
    cursor: pointer;
    color: red;
}
/* detail */
.detail-header {
    color: tomato;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.detail-header-left {
    margin: 0;
}

.detail-header-right {
    margin: 0;
}
.detail-header-view-count {
    color: #313a46;
}
#detail-carousel {
    background: #f1f1f1;
    margin-bottom: 10px;
}
.detail-crousel-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
}
.detail-comment-wrapper {
    display: flex;
    flex-direction: column;
}
.detail-comment-label {
    font-weight: 500;
}

.detail-comment-textarea {
    border: 1px solid #ccc;
    outline: none;
    height: 50px;
}
.detail-comment-btn {
    margin-top: 5px;
}
/* comment list on details */
.detail-comment-item-header {
    display: flex;
    flex-direction: column;
}
.detail-comment-item-header-comment {
    display: flex;
}
.detail-comment-item-header-action {
    font-size: 95%;
    padding-left: 50px;
    margin: 0;
}
.detail-comment-textarea-mini-comment {
    border: 1px solid #ccc;
    outline: none;
    height: 35px;
    margin-left: 50px;
    display: none;
}

.detail-comment-list {
    padding: 2px;
}
.detail-comment-item {
    display: flex;
    margin: 10px 0;
    position: relative;
    flex-direction: column;
    width: 100%;
}
.detail-comment-remove {
    position: absolute;
    top: 3px;
    right: 20px;
}
.detail-comment-remove .bi {
    font-size: 14px;
}
.detail-comment-remove .bi:hover {
    color: red;
}
.detail-comment-item-photo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    flex: 1;
}
.detail-comment-item-text {
    display: flex;
    flex-direction: column;
    background: #f1f1f1;
    padding: 10px;
    margin: 0 10px;
    flex: 13;
}
.detail-comment-item-text-description {
    font-weight: 500;
}

.comment-child-ul {
    padding: 0;
    border-left: dotted 1px #ccc;
    margin-bottom: 0;
}
.detail-comment-item-text-name {
    display: flex;
}

/* upload images */
.upload-image-wrapper {
    display: flex;
}

.upload-image-one {
    width: 100px;
    height: 100px;
    border: 1px solid #ccc;
    margin-left: 10px;
    position: relative;
}
.upload-image-one:hover {
    background: #f4f4f4;
    cursor: pointer;
}
.upload-image-one .bi {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.upload-image-one img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.upload-image-one img:hover {
    z-index: -1;
}

/* sale */
.sale-category {
    font-size: 14px;
}
.mobile-header,
.mobile-nav {
    display: none;
}
.mobile-nav-bottom {
    display: none;
}
/* announcement */
#announcement {
    display: none;
    position: fixed;
    z-index: 1;
    display: block;
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    top: 45;
}
.announcement {
    padding: 0;
    margin: 0;
}

/* side bar users */
.user-list {
    display: flex;
    list-style: none;
    flex-direction: column;
    font-size: 12px;
    height: 105px;
    overflow: scroll;
    overflow-x: hidden;
}
.user-list-item-img {
    height: 30px;
    width: 30px;
    object-fit: cover;
}

.sub-header-title {
    font-size: 11px;
}
/* card */
.card-img-list {
    height: 120px;
    object-fit: cover;
    width: 100%;
}
.my-profile-header {
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    background-color: #f0f3f9;
}
/* user page */

.user-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.user-item-img {
    height: 120px;
    width: 120px;
    object-fit: cover;
}

/* mobile */
@media only screen and (min-device-width: 0px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
    .card-img-list {
        height: 50px;
    }
    .desktop-header {
        display: none;
    }
    .mobile-header,
    .mobile-nav {
        display: flex;
    }
    .mobile-header {
        z-index: 2;
    }
    .hamburger-mobile {
        padding: 10px;
        color: white;
        background: #151d3b;
    }
    .mobile-container {
        /* position: sticky;
        top: 0;
        z-index: 1; */
    }
    .mobile-nav-list {
        background-color: #f5f6fa;
        position: absolute;
        z-index: 1;
        height: 100vh;
    }
    .mobile-nav-list {
        padding: 0;
        display: none;
        align-items: center;
        flex-direction: column;
        list-style: none;
        width: 100%;
        box-shadow: 0 0 15px 0 rgb(0 0 0 / 40%);
    }
    .mobile-nav-list-item {
        padding: 10px;
        border-bottom: 1px solid #ccc;
        width: 100%;
    }
    .blue-mobile-nav-list-item {
        color: #0d6efd;
    }
    .mobile-nav-list-item-icon {
        font-size: 17px;
    }
    .mobile-nav-list-item:hover .href-link {
        opacity: 0.5;
    }
    /* nav bottom */
    .mobile-nav-bottom {
        z-index: 5;
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 1;
        box-shadow: 0 0 15px 0 rgb(0 0 0 / 40%);
        background: white;
        width: 100%;
    }
    .mobile-nav-bottom-list {
        padding: 0;
        margin: 0;
        display: flex;
        list-style: none;
        justify-content: space-around;
    }
    .mobile-nav-bottom-list-item {
        padding: 10px;
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    .mobile-nav-bottom-list-item:focus {
        background: green;
    }
    .mobile-classified-nav-list {
        position: fixed;
        left: 0;
        bottom: 41px;
        z-index: 1;
        box-shadow: 0 0 15px 0 rgb(0 0 0 / 40%);
        width: 100%;
        height: 60px;
        padding: 0;
        display: none;
        justify-content: space-around;
        list-style: none;
        z-index: 2;
    }
    .mobile-classified-nav-list-item {
        width: 100px;
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #f1f1f1;
    }
    .filter-result {
        display: flex;
        flex-direction: column;
    }
    .mobile-nav-bottom {
        display: block;
    }
    .sale-list {
        padding: 0;
        font-size: 11px;
    }
    .mobile-nav-list-item img {
        width: 30px;
        height: 30px;
    }
    .mobile-nav-list-item-profile {
        display: flex;
    }
    .profile {
        margin: 0 20px;
    }

    /* profile */

    .profile-pic {
        border-radius: 0;
        width: 80px;
        height: 80px;
    }
    .hideMobile {
        display: none;
    }

    /* menu focus */
    .blue-mobile-nav-list-item:hover,
    .mobile-nav-list-item:hover,
    .classified-content .card:hover {
        background-color: #0d6efd;
        color: white !important;
    }
    /* card focus */
}
