html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/*.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}*/

.form-control:focus {
    box-shadow: none !important;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #c2c2c2;
    color: #fff;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /*  margin-bottom: 60px;*/
    background-color: #fbfbfb;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    padding: 1rem;
    background: #fff;
}

    footer .copyright {
        font-size: 12px;
        color: #5c5c5c;
    }

header {
    background-color: white;
}

.home-logo-img {
    width: 120px;
    cursor: pointer;
}

.search-box {
    /*  width: 500px;
    margin-left: 100px;*/
}

    .search-box input:focus,
    .search-box button:focus {
        outline: none !important;
        box-shadow: none !important;
        border-color: inherit;
    }

.category-nav {
    overflow-y: hidden;
    margin-top: 25px;
}

.category-item {
    float: left;
    padding-right: 35px;
    cursor: pointer;
}

    .category-item .parent-name {
        height: 38px;
        font-size: 17px;
    }

li {
    list-style: none;
}

.category-name-underline {
    border-bottom: 3px solid #d5393d;
}

.category-item:hover {
    visibility: visible;
}

.sub-category-item {
    position: absolute;
    left: -55px;
    right: 0px;
    z-index: 12;
    background-color: rgb(255, 255, 255);
    border-bottom: 1px solid rgb(227, 227, 227);
    display: flex;
    /* top: 120px;*/
}

.sub-category-item-mobile {
    /* position: absolute;*/
    left: -55px;
    right: 0px;
    z-index: 12;
    background-color: rgb(255, 255, 255);
    /* border-bottom: 1px solid rgb(227, 227, 227);*/
    display: flex;
    /* top: 120px;*/
}

.sub-menu-holder {
    justify-content: left;
    width: 100%;
    max-width: 1600px;
    padding: 20px 0 0 150px;
    margin: 0px auto;
}

a {
    text-decoration: none;
    color: #212529;
}

    a:hover {
        text-decoration: none;
        color: #212529;
    }

.font-h1 {
    font-size: 32px;
    line-height: 48px;
}

.font-h2 {
    font-size: 24px;
    line-height: 36px;
}

.font-h3 {
    font-size: 20px;
}

.font-h4 {
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
}

.font-h5 {
    font-size: 16px;
    line-height: 24px;
}


.font-price {
    font-size: 12px;
    line-height: 18px;
}


.font-second-heading {
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 1px;
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item {
    display: block;
    position: relative;
    flex: 1 1 auto;
    border: none;
    margin: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

.item-img-section {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.item-img-section-featured {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.item-img-section-featured-img-placeholder-1 {
    border-top: 1px solid rgb(227, 227, 227);
    border-left: 1px solid rgb(227, 227, 227);
    border-bottom: 1px solid rgb(227, 227, 227);
}

.item-img-section-featured-img-placeholder-2 {
    border-top: 1px solid rgb(227, 227, 227);
    border-left: 1px solid rgb(227, 227, 227);
    border-right: 1px solid rgb(227, 227, 227);
}

.item-img-section-featured-img-placeholder-3 {
    border: 1px solid rgb(227, 227, 227);
}

.item-card {
    background-color: white;
    cursor: pointer;
    border: 1px solid rgb(239 239 239);
    padding: 5px;
}

    .item-card:hover {
        background-color: rgb(239,239,239);
    }

.item-card-img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
}

.item-card-img-featured {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
}

.item-card-img-featured-big {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
}

.item-card-img-2 {
    width: 100%;
    position: absolute;
    top: 100px;
    left: 0;
    height: 100%;
    object-fit: contain;
}

.item-card-description {
    position: relative;
    padding: 10px 5px;
    text-align: left;
}

.item-card-description-featured {
    position: relative;
    padding: 10px 5px;
    text-align: left;
}

.item-card-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.item-card-price {
    margin-bottom: 0px;
    font-size: 15px;
    color: #2e2e2e;
}

.font-gray {
    color: rgb(101,101,101);
    margin: 0px 0px 8px;
}

.item-primary-img {
    background-color: rgb(255, 255, 255);
    height: 486px;
    max-height: 486px;
    max-width: 486px;
    width: 486px;
    display: block;
    object-fit: cover;
}

.item-details-seller-name {
    font-size: 18px;
}

.item-details-seller-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    border: 1px solid #ccc;
    padding: 5px;
}

.seller-info {
    width: 50%;
    float: left;
}

#img-container {
    /* height: 560px;*/
    overflow: hidden;
    width: 100%;
}

img {
    transform-origin: center center;
    object-fit: contain;
    height: 100%;
    width: 100%;
}

.thumbnailsWrapper {
    height: 442px;
    margin: 0 auto;
    position: relative;
    top: 5px;
    width: 100px;
    margin-left: 0px;
    margin-right: 0px;
}

.thumbnail-container {
    background: rgb(255, 255, 255);
    text-align: center;
    cursor: pointer;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.selected-thumbnail {
    border: 1px solid rgb(0, 151, 186);
}

.down-arrow {
    width: 0px;
    height: 10px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgb(101, 101, 101);
    opacity: 1;
    cursor: pointer;
    margin: 10px 0 0 27px;
}

    .down-arrow:hover {
        border-top: 10px solid rgb(0, 151, 186);
    }

.up-arrow {
    width: 0px;
    height: 10px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgb(101, 101, 101);
    opacity: 1;
    cursor: pointer;
    margin: 0 0 10px 27px;
}

    .up-arrow:hover {
        border-bottom: 10px solid rgb(0, 151, 186);
    }



.thumbnailsPrvPg {
    top: -26px;
    display: flex;
    align-items: center;
}

.thumbnailsNextPg {
    bottom: -24px;
    top: auto;
    display: flex;
    align-items: center;
}

.thumbnailsInnerWrapper {
    /* height: 510px;*/
    overflow: hidden;
}

.disabled {
    cursor: not-allowed !important;
    opacity: 0.5;
    pointer-events: none;
}

.login-card {
    width: 600px;
    margin: 0 auto;
}


@media (max-width: 760px) {
    .login-card {
        width: 90%;
    }
}

.header-register-btn {
    width: 100px;
}

.header-menu-item {
    font-size: 16px;
    cursor: pointer;
}

.thumbnailPicker {
    border: 1px solid #ccc;
}

img#item-primary-img {
    cursor: zoom-in;
    border: 1px solid #ccc;
}

.item-name-banner {
    background-color: rgb(244, 244, 244);
    padding: 10px 20px;
    z-index: 10;
    user-select: none;
    margin-bottom: 10px;
}

.item-name-banner-text {
    letter-spacing: 0.5px;
    color: rgb(33, 22, 20);
    font-size: 24px;
    line-height: 36px;
}

.img-close-btn {
    height: 42px;
    min-height: 42px;
    min-width: 42px;
    width: 42px;
}

.search-page-header {
    align-items: baseline;
    display: flex;
    flex-direction: row;
    margin: 16px 0px;
}

.search-left-menu {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
    line-height: 24px;
    color: rgb(89, 92, 97);
    user-select: none;
    background: #fff;
    border: 1px solid rgb(239 239 239);
}

.text-left-menu {
    display: inline-block;
    color: rgb(101, 101, 101);
    line-height: 20px;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
    /* font-size: 16px;*/
    font-weight: 400;
    line-height: 22px;
}

.active-selected {
    color: #d5393d !important;
    text-decoration: none;
}

.txtbox {
    all: unset;
    display: block;
    box-sizing: border-box;
    font-size: 1rem;
    font-weight: 400;
}

.arrow-button {
    height: 34px;
    min-height: 34px;
    min-width: 34px;
    width: 38px;
    border: 1px solid #ced4da;
}

.dv-price-range {
    width: 40%;
    height: 34px;
    border-radius: 0;
}

.img-featured {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: rgb(255 5 5 / 80%);
    color: #ffffff;
    padding: 3px 10px;
    font-weight: bold;
    border-radius: 5px;
    z-index: 10;
    pointer-events: none;
}

#sortBy {
    all: unset;
}

.divSortBySelect {
    background-color: #fff;
    border: 1px solid #c2c2c2;
}

.divSortByItem {
    padding: 6px;
    /*  margin: 5px;*/
    cursor: pointer;
}

    .divSortByItem:hover {
        background: #c2c2c2;
    }

.page-item.active .page-link {
    background-color: #000000 !important;
    color: white !important;
    border-color: #000000 !important;
}

.page-link {
    color: grey !important;
}

    .page-link:hover {
        color: white !important;
        background-color: #000000 !important;
        border-color: #000000 !important;
    }

    .page-link:focus {
        box-shadow: none !important;
    }

.page-item.disabled .page-link {
    background-color: #eceff1 !important;
}

.send-offer-input-title {
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 1px;
    color: rgb(89, 92, 97);
    text-transform: uppercase;
    padding-bottom: 10px;
    padding-top: 10px;
    display: block;
}

.three-column-list {
    columns: 3; /* Number of columns */
    -webkit-columns: 3;
    -moz-columns: 3;
    list-style-position: inside;
    padding-left: 0;
}

.sub-menu-holder li, .search-left-menu li {
    margin: 6px;
}

    .sub-menu-holder li a:hover {
        text-decoration: none;
        color: #d5393d !important;
    }

.card-body-item-detail {
    background-color: #fff;
    border: 1px solid rgb(239 239 239);
}

.item-details-left-info {
    all: unset;
}

    .item-details-left-info:hover {
        color: #b10000;
    }

    .item-details-left-info i {
        font-size: 25px;
    }

.menu-hover:hover {
    color: #d5393d !important;
}

.featured-border-bottom {
    border-bottom: 1px solid rgb(227, 227, 227);
}

.send-message-item-description {
    background: #f8f8f8;
    border-radius: 5px;
    padding: 10px;
}

.send-msg-item-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.send-msg-item-info {
    min-width: 0px;
    padding-left: 15px;
}

.send-message-item-description .item-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}

.send-message-item-description .item-price {
    color: #2e2e2e;
    font-size: 15px;
}

.item-favourite {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #fff;
    border: 1px solid grey;
    border-radius: 0px;
    color: grey;
    padding: 3px 10px;
    /*  font-weight: bold;*/
    z-index: 10;
    /*pointer-events: none;*/
}

.bi-heart-fill {
    color: red;
}

.OffersPage_offerItem {
    display: flex;
    background: #f8f8f8;
    border-radius: 5px;
    padding: 10px;
}

.OffersPage_offerItemImage {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.OffersPage_offerItemInfo {
    flex: 1 1;
    margin-left: 30px;
}

.one-line-text-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.OffersPage_offerCreatedItem {
    font-style: italic;
    font-size: 15px;
}

.scrollable-container {
    max-height: 90vh;
    overflow-y: auto;
}

.text-label {
    font-weight: 500;
}

.text-value {
    color: #767676;
}

.thread-item {
    cursor: pointer;
}

.chat-bubble {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 10px;
}

    .chat-bubble.right {
        background-color: #008cff;
        color: white;
    }

.chat-tip {
    position: absolute;
    width: 0;
    height: 0;
}

    .chat-tip.right {
        top: 0.5rem;
        right: 0;
    }

        .chat-tip.right::after {
            content: '';
            position: absolute;
            top: 11px;
            right: -9px;
            border-width: 5px 0 5px 9px;
            border-style: solid;
            border-color: transparent transparent transparent #008cff;
        }

        .chat-tip.right::before {
            content: '';
            position: absolute;
            top: 10px;
            right: -10px;
            border-width: 6px 0 6px 10px;
            border-style: solid;
            border-color: transparent transparent transparent #ddd;
        }

    .chat-tip.left {
        top: 0.5rem;
        left: 0;
    }

        .chat-tip.left::after {
            content: '';
            position: absolute;
            top: 11px;
            left: -9px;
            border-width: 5px 9px 5px 0;
            border-style: solid;
            border-color: transparent white transparent transparent;
        }

        .chat-tip.left::before {
            content: '';
            position: absolute;
            top: 10px;
            left: -10px;
            border-width: 6px 10px 6px 0;
            border-style: solid;
            border-color: transparent #ddd transparent transparent;
        }

.message-img {
    height: 100px;
    width: 100px;
    object-fit: contain;
}

.spinner-img {
    transform-origin: center center;
    object-fit: cover;
    height: 10%;
    width: 10%;
}

.offer-img {
    height: 100px;
    width: 100px;
    object-fit: contain;
}

.item-name-truncate {
    display: -webkit-box; /* Use flexbox layout */
    -webkit-box-orient: vertical; /* Set the box orientation to vertical */
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Show ellipsis */
    /* height: 94px; */ /* Adjust height based on line height */
    /* line-height: 1.5;*/ /* Set line height */
    margin-bottom: 10px;
}

.payment_icons {
    width: 100px;
    height: 70px;
    object-fit: contain;
}

.system-contents li {
    list-style: disc !important;
}

.system-contents a {
    color: #0d6efd !important;
    text-decoration: underline !important;
}

.seller-img-section {
    position: relative;
    width: 50%;
    padding-top: 50%;
    overflow: hidden;
}

.seller-store-img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: block;
    object-fit: contain;
    border: 1px solid #ccc;
    padding: 5px;
}

.text-danger {
    color: #dc3545 !important;
}

.attachment{
    color:#fff!important;
}
.attachment:hover{
    text-decoration: underline;
}
     
/* Media Queries */

/*Override styles for small screens (less than 768px))*/
@media(max-width:767px) {
    .message-container {
        height: calc(100vh - 500px) !important;   
        overflow-y: auto;
    }

    .message-outer-container {
         height: calc(100vh - 330px) !important;
       
    }

    .message-details {
          height: calc(100vh - 630px) !important;
      
        overflow-y: auto;
    }

    .sub-category-item {
        top: 250px;
    }

    #img-container {
        height: 390px;
    }

    .thumbnailsInnerWrapper {
        height: 375px;
    }

    .item-name-truncate {
        height: 60px;
        line-height: 1.4;
    }

    .mobile-sub-category-expand-css {
        color: #d5393d !important;
    }

    .text-left-menu {
        font-size: 13px;
    }

    .mobile-home, .mobile-filter, .mobile-home, .mobile-menu-open {
        display: block;
    }

    .large-screen-menu, .large-screen-home {
        display: none;
    }

    .page-heading, .item-index-name {
        font-size: 20px;
    }
}

@media(min-width:768px) {
    .message-container {
        /* height: calc(100vh - 385px) !important;*/
        height: calc(100vh - 368px) !important;
        overflow-y: auto;
    }

    .message-outer-container {
        /* height: calc(100vh - 260px) !important;*/
        height: calc(100vh - 243px) !important;
    }

    .message-details {
        height: calc(100vh - 594px) !important;
        overflow-y: auto;
    }

    .sub-category-item {
        top: 120px;
    }

    #img-container {
        height: 560px;
    }

    .thumbnailsInnerWrapper {
        height: 510px;
    }

    .item-index-name {
        font-size: 33px;
    }

    .item-name-truncate {
        height: 94px;
        line-height: 1.4;
    }

    .text-left-menu {
        font-size: 16px;
    }

    .mobile-filter, .mobile-menu, .mobile-home, .mobile-menu-open {
        display: none;
    }

    .large-screen-menu, .large-screen-home {
        display: block;
    }

    .page-heading {
        font-size: 24px;
    }
}


.offer-alert{
    margin-bottom:0px !important;
    margin-top:1rem !important;
}

.offer-sections :last-child .offer-sections-hr {
    display: none;
}

.loadingIndicatorUpdate {
    /* top: -2px; */
    width: 150px;
}