:root {
    --color-green: #2f9772;
    --border-radius-default: 5px;
    --color-Bolig-Gr: #676767;
}

* {
    box-sizing: border-box;
    outline: unset !important;
    font-family: "Jost", sans-serif;
    /* max-width: 100%; */
}

body {
    background-color: #eee;
}
@media (min-width: 1300px) {
    .container {
        max-width: 1280px !important;
    }
}
@media (max-width: 1299px) {
    .container {
        max-width: 97% !important;
    }
}

/* UTILITIES */
.custom-input {
    border-color: var(--color-green) !important;
}
.border-green {
    border: 1px solid var(--color-green);
}
.form-select,
.custom-input::placeholder {
    font-size: 14px;
}
.custom-input:focus,
.custom-input:has(.form-control:focus) {
    box-shadow: 0 0 0 1px var(--color-green) !important;
}
.small-font-badge {
    font-size: 10px;
}
i.tooltip-icon {
    font-size: 12px;
}
i.tooltip-icon .tooltip-wrapper {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 5px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-20%, -100%);
    width: max-content;
    max-width: max-content;
    cursor: pointer;
    z-index: 9;
}
i.tooltip-icon .tooltip-wrapper span {
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    line-height: 14px;
    white-space: wrap;
    text-wrap: wrap;
    word-break: break-all;
}
i.tooltip-icon:hover .tooltip-wrapper {
    display: flex;
}
.btn-green {
    background-color: var(--color-green) !important;
}

.btn-green:active,
.btn-green:focus,
.btn-green:hover {
    background-color: var(--color-green) !important;
}

.text-green {
    color: var(--color-green);
}

.btn-white {
    border: 1px solid var(--color-green);
    color: var(--color-green);
    background-color: white;
}

.paragraph-text {
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
}

/* UTILITIES END */
.form-control:focus {
    outline: unset !important;
    background-color: transparent !important;
}

.form-check {
    display: flex;
    gap: 10px;
    align-items: center;
}

.custom-checkbox {
    border: 1px solid #28a745;
    /* Green border color */
    border-radius: 5px !important;
    /* Border radius */
    padding: 10px;
    /* Padding for checkbox */
    background-color: #fff;
    /* Default background color */
    position: relative;
}

.custom-checkbox:checked {
    border-color: #28a745;
    background-image: unset;
    background-color: white;
    /* Green background color when checked */
    color: #fff;
    /* Text color when checked */
}

.custom-checkbox::before {
    content: "";
    /* Empty content for pseudo-element */
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    /* Adjust the size of the square box */
    height: 10px;
    /* Adjust the size of the square box */
    background-color: #28a745;
    /* Color of the square box */
    border-radius: 2px;
    /* Optional: Adjust the border-radius for a rounded square */
    visibility: hidden;
    /* Initially hidden */
}

.custom-checkbox:checked::before {
    visibility: visible;
    /* Show the square box when checked */
}

.nav-link {
    border: 2px solid transparent;
}

.nav-link.active {
    border: 2px solid #28a745;
}

/* HEADER SEARCH FORM */

a.search-button {
    width: 50px;
    height: 50px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    background-color: #fff;
    text-decoration: none;
}

a.search-button .icon {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: #eff4f6;
    border-radius: 8px;
    border: 2px solid #607d8b;
    transition: all 0.6s ease;
}

a.search-button .icon:after {
    width: 12px;
    height: 2px;
    display: block;
    content: "";
    position: absolute;
    bottom: -5px;
    right: -8px;
    background-color: #607d8b;
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

a.search-button .icon .clear {
    width: 100%;
    height: 100%;
    line-height: 12px;
    display: block;
    text-align: center;
    color: #607d8b;
    font-size: 0;
    transition: all 0.6s ease;
}

a.search-button.typed .icon {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    border-width: 6px;
    top: -11px;
    left: -11px;
}

a.search-button.typed .icon:after {
    width: 52px;
    height: 8px;
    bottom: -20px;
    right: -30px;
}

a.search-button.typed .icon .clear {
    line-height: 58px;
    font-size: 22px;
}

/* HEADER SEARCH FORM END */

/* FOOTER STYLE */
.footer-dark {
    margin-top: 1rem;
    padding: 50px 0;
    color: #f0f9ff;
    background-color: var(--color-green);
}

.footer-dark h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: bold;
    font-size: 24px;
}

.footer-dark ul {
    padding: 0;
    list-style: none;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 0;
}

.footer-dark ul a {
    color: inherit;
    text-decoration: none;
    /* opacity: 0.6; */
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .footer-dark .item:not(.social) {
        text-align: center;
        padding-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .footer-dark .item.text {
        margin-bottom: 0;
    }
}

.footer-dark .item.text p {
    margin-bottom: 10px;
}

.footer-dark .item.social {
    text-align: center;
}

@media (max-width: 991px) {
    .footer-dark .item.social {
        text-align: center;
        margin-top: 20px;
    }
}

.footer-dark .item.social > a {
    font-size: 20px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
    margin: 0 8px;
    color: #fff;
    opacity: 0.75;
}

/* FOOTER STYLE END */

/* HOME PAGE */
.hero {
    position: relative;
    background: url("../image/hero.png") center/cover no-repeat;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    overflow: hidden;
}

.carousel-ad {
    height: 400px;
}

/* Set max-width for images within the carousel */
.carousel-inner img {
    max-width: 100%;
    /* Adjust the percentage as needed */
    height: 370px;
    object-fit: contain !important;
}

.heading-color {
    color: #6b6b6b;
    margin-bottom: 2rem;
    font-weight: 600;
    @media (max-width: 768px) {
        & {
            font-size: 22px;
            margin: 10px 0 20px;
        }
    }
}

.hero:not(.ad)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Black color with 60% opacity */
    z-index: 1;
    /* Ensure the overlay is behind the content */
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 2;
    /* Ensure the content is on top of the overlay */
}

.hero-title {
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-in-out;
    font-weight: 300;
}

.hero-title strong {
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-in-out 0.5s;
}

.hero-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2em;
    text-decoration: none;
    color: #fff;
    background-color: #3498db;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.hero-button:hover {
    background-color: #2980b9;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fg--search {
    border-radius: var(--border-radius-default);
}

.fg--search input {
    width: 100%;
    padding: 15px 20px;
    display: block;
    border-radius: var(--border-radius-default);
    border: unset;
}

.fg--search .search_form-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-block;
    font-size: 25px;
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 10px;
    z-index: 2;
}

.fg--search input:focus + button .fa-search {
    color: var(--color-green);
}
input[type="search" i]::-webkit-search-cancel-button {
    display: none;
}

.hero-form-group {
    display: flex;
    gap: 0.5rem;
    max-width: 700px;
    margin-inline: auto;
}

.hero-form-group > div:first-child {
    flex: 3;
    position: relative;
}

.hero-form-group > div:last-child {
    max-width: 200px;
}

.location-button {
    padding: 10px 0px 10px 10px;
    background: white;
    border-radius: var(--border-radius-default);
    cursor: pointer;
    position: relative;
    color: var(--color-Bolig-Gr);
    min-width: 120px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 1;
    flex-grow: 1;
    flex-basis: 150px;
}

.card-body-inner {
    display: flex;
    gap: 1rem;
}

.card-body-inner .img-box {
    height: 80px;
    width: 80px;
    flex-shrink: 0;
    border-radius: 0.375rem;
    overflow: hidden;
    img {
        object-fit: fill;
        width: 100%;
        height: 100%;
    }
}

.card-body-inner .card-inner-detail {
    flex: 2;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding-right: 0.725rem;
}

.stats-row {
    display: flex;
}

.stats-row__left {
    flex: 2;
    padding: 2rem;
    background-color: var(--color-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.stats-row__right {
    flex: 2;
    padding: 2rem;
    border: 1px solid var(--color-green);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 1rem;
}

.custom-white-btn {
    border-radius: var(--border-radius-default);
    background-color: white;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.25);
    min-width: 250px;
    color: var(--color-Bolig-Gr);
    font-size: 1.5rem;
    padding: 10px 1rem;
}

/* HOME PAGE END */

/* AD CONTACT  */
.ad-items {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.ad-items .card {
    width: fit-content;
    padding: 10px;
    margin-bottom: 1rem;
}

strong {
    color: var(--color-green);
}

.ad-contact-card {
    gap: 1rem;
    align-items: stretch;
}

.ad-contact-card .img-box {
    flex: 1;
}

.ad-contact-card .card-detail {
    flex: 3;
}

.custom-textarea {
    border-radius: var(--border-radius-default);
    border: 2px solid var(--color-green);
    background-color: #f6f6f6;
}

/* AD CONTACT END */
/* FORM STYLE */
.upload-area {
    display: grid;
    place-items: center;
    padding: 1rem;
    border-radius: var(--border-radius-default);
    border: 1px solid var(--color-green);
    flex: 1;
    background-color: #f2f4f7;
    color: var(--color-Bolig-Gr);
    cursor: pointer;
}
.upload-area > * {
    cursor: pointer !important;
}

.plus-sign {
    font-size: 24px;
    line-height: 0;
    color: var(--color-green);
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.plus-sign.active {
    width: 40px;
    color: var(--color-green);
    position: absolute;
    padding: 0px;
    left: 0;
    top: 0;
    border-width: 0 1px 1px 0;
    border-color: var(--color-green);
    border-style: solid;
    border-radius: 5px 0 5px 0;
}

hr {
    border: unset;
    border-top: 2px solid var(--color-green);
}

/* FORM STYLE END */
.chat-msg {
    min-height: 250px;
    border-radius: var(--border-radius-default);
    background-color: #f6f6f6;
    margin-bottom: 1rem;
    height: 33vh;
}

.inbox-card {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 5px 10px;
}

footer ul li {
    font-size: 18px;
    margin-bottom: 0.325rem;
}

.footer-address {
    line-height: 2;
    font-size: 18px;
    max-width: 135px;
}

.copyright {
    color: #928c8c;
    font-size: 18px;
}

/* Chart Card User */
.users .card.active {
    border: solid 2px var(--color-green);
    filter: none;
}

.users .card {
    background-color: rgb(255 255 255 / 47%);
    margin-bottom: 1rem;
}

.users .card:not(.active) img {
    filter: blur(1px);
}

/* Modal Css */
.users,
.back-modal,
.login-modal .boxes {
    cursor: pointer;
}

.close-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 36px;
    height: 36px;
}

.login-modal .boxes .box-1 {
    border: solid 5px #666666;
    color: #666666;
}

.login-modal .boxes.active .box-1 {
    border: solid 5px var(--color-green);
}

.login-modal .boxes.active h4 {
    color: var(--color-green);
}

.line-hr {
    border-top: solid 1px var(--color-green);
}

.line-hr .line-text {
    position: absolute;
    top: -12px;
    left: 0px;
    right: 0px;
}

.formd-w-50 {
    width: 50%;
}
.form-select:focus,
input:focus {
    box-shadow: unset !important;
}
@media (width <=1200px) {
    .navbar-items {
        flex-direction: column;
    }

    .formd-w-50 {
        width: 100%;
    }

    .row.sing-ad-cards {
        display: flex !important;
        overflow: hidden;
    }
}

@media (width <=768px) {
    .stats-row {
        display: block;
        text-align: center;
    }
}

.information-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.information-card {
    background-color: white;
    display: flex;
    padding: 1rem 1rem;
    justify-content: space-between;
    font-size: 1.3rem;
    border-radius: 5px;
    gap: 10px;
    &.active {
        & div {
            &:last-of-type {
                & p {
                    white-space: normal;
                }
            }
        }
    }
}

.information-card div:first-of-type {
    flex-grow: 0;
    flex-shrink: 0;
}
.information-card div:last-of-type p,
.information-card div:last-of-type {
    color: var(--color-green);
    font-weight: bold;
    text-align: end;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
}
.w_auto{
    max-height: 1.4em;
}
@media (max-width: 435px) {
    .bolinger-card-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 991px) {
    .information-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}
@media (max-width: 768px) {
    .information-card {
        flex-direction: column;
        /* align-items: center; */
    }
    .information-card div:last-of-type {
        width: 100%;
        text-align: start;
        /* text-align: center; */
    }
    .information-card div:last-of-type p {
        text-align: start;
    }
    /* .information-card p {
        text-align: center;
    } */

    /* .align-left{
        text-align: left
    } */

    .w_auto{
        width: auto !important;
        max-height: none;
        max-width: 100%;
    }
}

/* loading button */
/* Style for loader */
#submitBtn.loading::after {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
    position: relative;
    top: 4px;
    margin-left: 10px;
}

/* Animation for loader */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* custom slider css start */
/* Styles for the price input container */
.price-input-container {
    width: 100%;
}

.price-input .price-field {
    display: flex;
    margin-bottom: 22px;
}

.price-field span {
    margin-right: 10px;
    margin-top: 6px;
    font-size: 17px;
}

.price-field input {
    flex: 1;
    height: 35px;
    font-size: 15px;
    font-family: "DM Sans", sans-serif;
    border-radius: 9px;
    text-align: center;
    border: 0px;
    background: #e4e4e4;
}

.price-input {
    width: 100%;
    font-size: 19px;
    color: #555;
}

.slider-container {
    width: 100%;
}

.slider-container {
    height: 8px;
    position: relative;
    background: #d9d9d9;
    border-radius: 4px;
    margin-top: 25px;
}

.slider-container .price-slider {
    height: 100%;
    left: 0;
    right: 50%;
    position: absolute;
    border-radius: 5px;
    background: var(--color-green);
}

.range-input {
    position: relative;
}

.range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    background: none;
    top: 1px;
    pointer-events: none;
    cursor: pointer;
    -webkit-appearance: none;
}

/* Styles for the range thumb in WebKit browsers */
input[type="range"]::-webkit-slider-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--color-green);
    pointer-events: auto;
    -webkit-appearance: none;
}
/* custom slider css end */

/* send message modal css start  */
#send-message-modal #send-message-form {
    padding: 15px 30px 15px;
}
#send-message-modal #send-message-form .form-group {
    padding-bottom: 5px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--color-green);
}
#send-message-modal #send-message-form .form-group .form-label {
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
    color: var(--color-green);
    margin: 0;
}
#send-message-modal #send-message-form .form-group .form-control {
    border: none;
    color: #676767;
    font-size: 16px;
    line-height: 25px;
    font-weight: 400;
}
#send-message-modal #send-message-form p.info-text {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: #676767;
    margin: 20px 0 34px;
}
#send-message-modal #send-message-form p.info-text strong {
    color: inherit;
}
#send-message-modal #send-message-form .btn.send-message-form-btn {
    background: var(--color-green);
    color: #fff;
    border-radius: 5px;
    border: 1px solid var(--color-green);
    font-size: 20px;
    line-height: 33px;
    font-weight: 300;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
}
#send-message-modal #send-message-form .btn.send-message-form-btn img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%)
        hue-rotate(254deg) brightness(103%) contrast(104%);
}
/* send message modal css end */

/* img-preview css start */
.img-div-wrapper {
    position: relative;
    .img-cross-btn {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: -5px;
        right: -6px;
        z-index: 9;
        background: #fff;
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        &:hover {
            background: red;
            color: #fff;
        }
    }
    &:hover {
        .img-cross-btn {
            opacity: 1;
            visibility: visible;
        }
    }
}
.img-thumbs-hidden {
    display: none;
}

.wrapper-thumb {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 5px;
    border: 2px solid var(--color-green);
}

.wrapper-thumb .img-preview-thumb {
    width: 100% !important;
    height: 100% !important;
    border-radius: 5px;
    object-fit: contain;
}

.remove-btn {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
}

.remove-btn:hover {
    box-shadow: 0px 0px 3px grey;
    transition: all 0.3s ease-in-out;
}
/* img-preview css end */

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}
.staric-class {
    font-size: 16px;
    color: red;
    line-height: 16px;
    display: inline-flex;
}

/* breadcrums css start*/
.breadcrumb {
    --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' fill='%232f9772'%3e%3cpath d='M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z'/%3E%3C/svg%3E");

    &.main-navigation {
        .breadcrumb-item:not(:first-of-type) {
            padding-left: 25px;
            position: relative;

            &:before {
                content: var(--bs-breadcrumb-divider);
                font-size: 10px;
                width: 15px;
                height: 10px;
                display: inline-block;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                left: 10px;
            }

            &.active {
                color: #6b6b6b;
            }
        }
        .breadcrumb-item {
            color: var(--color-green);
            a {
                color: inherit;
            }
            & :hover {
                color: var(--color-green);
            }
        }
    }
}

.page-back-btn {
    color: var(--color-green);
    font-size: 14px;
    gap: 6px !important;
}
/* breadcrums css end*/

.pagination-wrapper div > div:has(p.small.text-muted) {
    display: none !important;
}

.pagination {
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.375rem;
    --bs-pagination-font-size: 1rem;
    --bs-pagination-color: var(--color-green);
    --bs-pagination-bg: #fff;
    --bs-pagination-border-width: var(--bs-border-width);
    --bs-pagination-border-color: var(--color-green);
    --bs-pagination-border-radius: var(--bs-border-radius);

    --bs-pagination-hover-color: #fff;
    --bs-pagination-hover-bg: var(--color-green);
    --bs-pagination-hover-border-color: var(--color-green);

    --bs-pagination-focus-color: #fff;
    --bs-pagination-focus-bg: var(--color-green);
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);

    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: var(--color-green);
    --bs-pagination-active-border-color: var(--color-green);

    --bs-pagination-disabled-color: var(--color-green);
    --bs-pagination-disabled-bg: #fff;
    --bs-pagination-disabled-border-color: var(--color-green);
    display: flex;
    padding-left: 0;
    list-style: none;
    width: 100%;
    justify-content: center;

    .page-item.disabled {
        opacity: 0.8;
    }
}
div:has(.pagination) {
    width: 100%;
}

.spinner-border {
    --bs-spinner-width: 20px;
    --bs-spinner-height: 20px;
    --bs-spinner-border-width: 2px;
}