@font-face {
    font-family: 'tilda-sans_regular';
    src: url('../fonts/tilda-sans_regular.woff') format('woff');
    font-weight: regular;
}
@font-face {
    font-family: 'tilda-sans_semibold';
    src: url('../fonts/tilda-sans_semibold.woff') format('woff');
    font-weight: semibold;
}
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1300px;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1500px;
    }
}

/* Optional: Add this if you want even wider containers on very large screens */
@media (min-width: 1600px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1700px;
    }
}

html, body {
    height: 100%;
}

.light-placeholder::placeholder {
    color: #ababab !important;
}

body {
    display: flex;
    flex-direction: column;
}
.custom-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.form-check-label {
    padding-left: 5px;
}
.footer {
    margin-top: auto;
}
.sort-options {
    margin-bottom: 20px;
}
.sort-option {
    cursor: pointer;
    margin-right: 15px;
    color: #666;
}
.sort-option.active {
    color: #007bff;
}
.footer-email {
    margin-top: auto;
    padding: 10px;
    background-color: white;
    color: black;
    vertical-align: middle;
}
body {
    font-family: 'tilda-sans_regular';
    background: #e8e8e8;
}
ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
}
.sticky {
    background: #fff;
    transition: all 0.5s;
}
header#headerBar a {
    color: #585858;
}
.sticky a {
    color: #000 !important;
}
header#headerBar .row {
    align-items: center;
}
::placeholder {
    color: #585858;
}
.searchBar input[type="text"] {
    border: 2px solid #eeeeee;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    color: #656565;
    width: 100%;
    height: 50px;
    padding-left: 15px;
    background: transparent;
}
header#headerBar {
    padding: 10px 0px;
    position: fixed;
    background-color: #d7dee0;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.headerLogo a {
    font-family: 'tilda-sans_regular';
    font-weight: 600;
    color: #000000;
    letter-spacing: .03em;
    font-size: 24px;
    text-decoration: none;
}
.padding5 {
    padding: -1px;
}
.nav {
    justify-content: flex-end;
}
.headerMenu ul.nav li {
    margin-left: 25px;
}
.headerMenu ul.nav li a {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    letter-spacing: 1px;
}
section#afterHeader {
    padding: 5px;
    background: #e8e8e8
}

#afterHeader {
    padding: 5px;
    background: #e8e8e8
}

.text-black {
    color: #000000 !important;
}

.btn-outline-light {
    color: #000000 !important;
    border-color: #000000 !important;
}

.checkbox-column {
    border-right: 1px solid #f0f1f5;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.order-column {
    border-right: 1px solid #f0f1f5;
    padding-left: 0;
    text-align: center;
}

.price-tag {
    color: white;
    margin: 5px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1051;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.headerLogo {
    display: flex;
    align-items: center;
}

.headerLogo a {
    display: inline-block;
}

.logo-image {
    max-height: 80px; /* Adjust this value to fit your design */
    width: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.wood-type-row {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.wood-type {
    display: flex;
}
.image_modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.image_modal_container {
    position: relative;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.image_modal_content {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image_modal_close {
    position: relative;
    top: -23%;
    right: 40px;
    color: #f1f1f1;
    font-size: 35px;
    font-weight: bold;
    transition: 0.3s;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.image_modal_close:hover,
.image_modal_close:focus {
    color: #bbb;
    text-decoration: none;
}

.image_modal_prev,
    .image_modal_next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        padding: 16px;
        margin-top: -50px;
        color: white;
        font-weight: bold;
        font-size: 40px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
        -webkit-user-select: none;
        background-color: rgba(0, 0, 0, 0.3);
    }

    .image_modal_prev {
        left: 0;
        border-radius: 0 3px 3px 0;
    }

    .image_modal_next {
        right: 0;
        border-radius: 3px 0 0 3px;
    }

    .image_modal_prev:hover,
    .image_modal_next:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

.wood-type-label {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-options .btn {
    flex: 1 1 auto;
}

.suboptions {
    margin-top: 10px;
}

.simple-options-foundation {
    display: grid;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    grid-template-columns: repeat(5, 1fr);
}

.simple-options-dd {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.simple-options-roof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.sizes {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
}

.btn-wood {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#paymentForm {
    display: flex;
    flex-direction: column;
}

#paymentForm label {
    margin-top: 10px;
}

#paymentForm input {
    margin-bottom: 10px;
    padding: 5px;
}

#paymentForm button {
    margin-top: 20px;
}
.title-btn {
    border-width: 3px;
}
.option-group {
    margin-top: 12px;
    margin-right: 20px;
}
.optionsHeadings {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
}
.mainHeading {
    text-align: center;
    margin-bottom: 90px;
}
.mainHeadingDescription {
    text-align: center;
    margin-top: 10px;
}
.mainHeading h1 {
    font-size: 42px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    margin-bottom: 40px;
}
.mainHeading p {
    color: #fff;
    font-size: 25px;
    line-height: 1;
    font-weight: 400;
}
.flipCard-Image {
    height: 375px;
    object-fit: cover;
    transform: scale(1);
    transition: all 0.5s;
}
.flipCard:hover .flipCard-Image {
    transform: scale(1.1);
    transition: all 0.5s;
}
.flipCard-Image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.flipCard-Image-small {
    width: 50px;
}
.main-options {
    margin-top: 10px;
}
.carousel-indicators {
    position: static;
    margin-top: 20px;
    margin-left: 9px;
    margin-right: 9px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.carousel-indicators li {
    width: 70px !important;
    height: 75px !important;
    border: none;
    opacity: 0.7;
    transition: opacity 0.2s ease, border 0.2s ease;
    margin: 0;
    flex: 0 0 auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}
.carousel-indicators li.active {
    opacity: 1;
    border: 2px solid #007bff;
}
  .carousel-indicators button[data-bs-target]{
    width: 200px;
  }
  .carousel-indicators button[data-bs-target]:not(.active){
    opacity: 0.8;
  }
  .carousel-item {
    max-height: 500px;
  }
  .custom-arrow {
    align-items: end;
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: end;
}

.custom-arrow-icon {
    font-size: 40px;
    color: black;
    text-shadow: 
        -1px -1px 0 white,
        1px -1px 0 white,
        -1px 1px 0 white,
        1px 1px 0 white;
}

.carousel-control-prev {
    left: 5px;
}

.carousel-control-next {
    right: 5px;
}

.custom-arrow:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.custom-arrow:hover .custom-arrow-icon {
    color: #333;
}
.flipCard {
    margin-bottom:15px;
    position: relative;
    transition: all 0.5s;
    overflow: hidden;
}
.flipCard-Text {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding-left: 11px;
    text-align: left;
    z-index: 998;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.44); 
}
.flipCard-Text-Right {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding-left: 11px;
    text-align: right;
    z-index: 999;
    color: #fff;
}
.flipCard:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(000, 000, 000, 0.4);
    top: 0;
}
.suboptions-group {
    margin-top: 5px;
    margin-bottom: 5px;
}
.flipCard h3 {
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
}
.flipCard-Text p {
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 1px;
}
.flipCard-Text a {
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 1px;    
}
.flipCard:hover .flipCard-Text a {
    opacity: 1;
    transition: all 0.5s;
}
footer p {
    margin-bottom: 0px;
}
footer {
    background-color: #111111;
    color: #fff;
    padding: 20px 0px;
}
footer ul {
    display: flex;
    justify-content: space-around;
}
footer ul li a {
    text-decoration: none;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 500;
}
.footer-email li a {
    color: #bdbdbd !important;
    font-size: 13px;
    font-weight: 400;
}
@media only screen and (max-width: 480px) {
.flipCard {
    margin-bottom: 20px;
}
.nav {
    justify-content: left;
}
.headerMenu ul.nav li {
    margin-right: 25px;
    margin-left: 0px;
}

}


/* Mobile-first approach */
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
    margin-right: auto;
    margin-left: auto;
}



@media only screen and (max-width: 500px) {
    .logo-image {
        max-height: 53px;
        width: auto;
    }
    .searchBar {
        margin-left: 5px;
        max-width: 133px;
    }
    .searchBar input[type="text"] {
        text-align: left;
        padding-left: 7px;
    }
}

.buttons {
    width: 230px;
    margin-bottom: 3px;
    margin: 1%;
    border-width: medium;
    border-color: #1b4402 !important;
    font-weight: 900;
    background-color: #f3f3f3;
    font-size: large;
    text-align: center;
}

@media only screen and (max-width: 700px) {
    .buttons {
        width: 100%;
        margin: 1%;
        border-width: medium;
        border-color: #1b4402 !important;
        font-weight: 900;
        background-color: #f3f3f3;
        font-size: large;
    }
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 960px;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1140px;
    }
}

/* XXL devices (larger desktops, 1400px and up) */
@media only screen and (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1320px;
    }
}

.flipCard {
    position: relative;
    overflow: hidden;
}

.no-text-decoration {
    text-decoration: none;
}

.no-text-transform {
    text-transform: none;
}

.vertical-align-middle {
    vertical-align: middle;
}

.flipCard::before,
.flipCard::after,
.flipCard > *::before,
.flipCard > *::after {
    content: none !important;
    background: none !important;
    opacity: 1 !important;
}

.flipCard {
    background: none !important;
}

.flipCard-Image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* This creates a 16:9 aspect ratio. Adjust as needed. */
    overflow: hidden;
}

.flipCard-Image img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.flipCardBlog-Image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* This creates a 16:9 aspect ratio. Adjust as needed. */
    overflow: hidden;
}

.flipCardBlog-Image img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    height: 100%;
    object-fit: fill;
}

/* Media query for small screens */
@media (max-width: 768px) {
    .flipCard-Image {
        height: auto;
        padding-bottom: 0;
    }

    .flipCard-Image img {
        position: static;
        height: auto;
    }
}

.flipCard-Text, .flipCard-Text-Right {
    position: absolute;
    bottom: 10px;
    z-index: 2;
    color: #fff;
}

.flipCard-Text {
    left: 10px;
}

.flipCard-Text-Right {
    right: 10px;
}

.read-more-blog {
    position: absolute;
    right: 0;
}

/* Popup styles */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 5px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#signup-form {
    display: flex;
    flex-direction: column;
}

#signup-form input {
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#signup-form button {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#signup-form button:hover {
    background-color: #45a049;
}

.headerLogo {
    text-align: left;
}

.hamburger-menu {
    text-align: right;
}

.searchBar {
    padding-left: 10px;
    position: relative;
}

.searchBar input {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

@media (max-width: 770px) {
    .mobile-toggle {
        display: block;
        text-align: right;
        padding-right: 15px;
    }

    .desktop-menu {
        display: none !important;
    }

    .mobile-dropdown {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 10px 0;
    }

    .mobile-dropdown.show {
        display: block;
    }

    .mobile-dropdown .dropdown-item {
        padding: 12px 20px;
        border-bottom: 1px solid #eee;
        font-size: 16px;
    }

    .mobile-dropdown .dropdown-item:last-child {
        border-bottom: none;
    }
}

@media (min-width: 771px) {
    .mobile-toggle {
        display: none;
    }

    .headerMenu, .search-container {
        display: block !important;
    }
}

#message-search {
    border-radius: 20px;
    border: 1px solid #ced4da;
    padding: 0.375rem 1rem;
    margin: 0;
}

#message-input {
    width: 80%;
    text-transform: none;
}

.extra-small {
    font-size: 0.64rem;
}

.red-border {
    border: 2px solid red;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    width: 100%; /* Ensure full width on mobile */
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-menu ul li a {
    color: #333;
    text-decoration: none;
    display: block; /* Make the entire li clickable */
}

@media (min-width: 771px) {
    .col-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .mobile-toggle {
        display: none;
    }
}

@media (max-width: 770px) {
    .col-3-sm {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .col-7-sm {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
    .col-2-sm {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
    .mobile-toggle {
        display: block;
        cursor: pointer;
    }
    .mobile-toggle i {
        font-size: 24px;
    }
    .headerMenu {
        display: none;
    }
}

.autocomplete-results {
    display: none;
    position: absolute;
    z-index: 1000;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
}

.autocomplete-item {
    padding: 10px;
    cursor: pointer;
}

.autocomplete-item:hover {
    background-color: #f0f0f0;
}

.mobile-top-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    text-align: center;
}

@media (max-width: 1500px) {
    .mobile-top-bar {
        display: block;
    }
}
@media (max-width: 768px) {
header {
    transition: display 0.3s ease;
} 
}
/* Add any other styles related to the top menu here */
.dropdown {
    position: relative;
}
.min-h-150 {
    min-height: 150px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 30px;
    right: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.dropdown-menu-orders {
    display: none;
    position: absolute;
    top: 6px;
    left: -18px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.no-margin {
    margin: 0;
}   

.receipt-link {
    display: inline-block;
    text-decoration: none;
    color: #007bff;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.receipt-link:hover {
    color: #0056b3;
}

.receipt-caption {
    font-size: 0.7rem;
    margin-top: 8px;
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.cursor-pointer {
    cursor: pointer;
}
#selected-regions .badge {
    font-size: 0.9em;
    padding: 0.4em 0.6em;
}

#individual-region-select {
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#disclaimermodal {
    z-index: 10000;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.popup-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.custom-breadcrumb {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 5px;
    margin: 20px;
}
.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
}

.message.support {
    background-color: #f0f8ff; /* Light blue background */
    border-left: 3px solid #007bff; /* Blue left border */
}

.custom-breadcrumb .breadcrumb-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: #007bff !important;
}

.custom-breadcrumb .active a {
    pointer-events: none;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}
#selected-regions .badge {
    margin-right: 5px;
    margin-bottom: 5px;
}

#phone, #additional-phone {
    font-size: 16px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

.ymaps-2-1-79-suggest-item {
    padding: 5px 10px;
    cursor: pointer;
}

.ymaps-2-1-79-suggest-item:hover {
    background-color: #f0f0f0;
}

.suggestions-container {
    position: absolute;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: none;
}

.suggestions-container-static {
    position: static;
    margin-top: -25px;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: none;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-name {
    font-weight: bold;
    margin-bottom: 3px;
}

.suggestion-details {
    font-size: 0.9em;
    color: #6c757d;
}

/* Messages specific styles */
.message.support {
    background-color: #f0f8ff;
    border-left: 3px solid #007bff;
}
.unread-dot {
    width: 10px;
    height: 10px;
    background-color: #ff0000;
    border-radius: 50%;
    display: inline-block;
}

.list-group-item-action:hover {
    background-color: #f8f9fa;
}

.message-row {
    border-bottom: 1px solid #e9ecef;
}

.fa-headset {
    font-size: 0.8em;
    vertical-align: super;
}

.message-row:last-child {
    border-bottom: none;
}

#chat-messages {
    height: 400px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
}

.message.sent {
    background-color: #e9ecef;
    margin-left: 20%;
}

.message.received {
    background-color: #f8f9fa;
    margin-right: 20%;
}

.message p {
    margin-bottom: 5px;
}

.message small {
    color: #6c757d;
    font-size: 0.75rem;
}

.online-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #28a745;
    border-radius: 50%;
}

.custom-tabs {
    color: #242629;
    border-bottom: 1px solid #dee2e6;
}

.custom-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    padding: 0.5rem 1rem;
    margin-bottom: -1px;
}

/* menutabs */

.nav-link {
    color: #585858;
}

.nav-link:hover {
    color: #242629;
    border-color: #e9ecef #e9ecef #dee2e6;
}

.nav-link.active {
    color: #242629;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}
.flipCard-Text {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flipCard-Text .title,
.flipCard-Text .price {
    margin: 0;
    margin-right: 20px;
}

@media (max-width: 767px) and (min-width: 576px) {
    .flipCard-Text {
        flex-direction: column;
        align-items: flex-start;
    }

    .flipCard-Text .price {
        position: absolute;
        bottom: 118px;
        right: 10px;
        background-color: rgba(0, 0, 0, 0.3);
        padding: 5px;
        border-radius: 5px;
    }
}

@media (max-width: 767px) {
    .dropdown-item {
        padding: 5px;
    }
    
    .alert {
        padding: 8px;
        margin-bottom: 0;
    }
    
    .container-fluid {
        padding-right: 5px;
        padding-left: 5px;
    }
    
    .table-responsive {
        margin: 0 -5px;
    }
}