body {
    background-image: url('/images/lanna_property_bg_green_flat.png');
    background-repeat: repeat-x;  background-color: #d5d9c9;
}


#main_container
{
    margin-top:2rem;
}

.side_header
{
    padding-left:0.5em;
    padding-right:0.5em;

}
.recent_header
{
    background-color:#592121;
    color:#fff;
}

.recent_header span, .categories_header span
{
    font-size:28px;
}

.categories_header
{
    background-color:#214359;
    color:#fff;
}

nav {
    /* background-image: url("/images/flowery.gif"); */
    background-repeat: no-repeat;
    background-color: #fff;
    background-position: top right;
    padding: 10px 2em 1em 5px;
    background-attachment: scroll;
}

.recent-sidebar {
    background-color: #214359;
}

.recent_right li {
    background-color: #B14242;
    color: #d3d3d3;
    padding-top: 10px;
    padding-bottom: 10px;
}

.recent_right a
{
    color: #D3D3D3;
}

.navbar-inverse
{
    background-color:#fff;
}

.my_row
{
    margin-top:100px;
}

.categories_control .list-group-item
{background-color:#4082AD;
 color:#d3d3d3;
}

.categories_control .list-group-item:hover, .recent_right .list-group-item:hover
{
    background-color:#A88;
}

.categories_control 
{
    border-bottom:3px #d3d3d3;
}

.categories_control a
{
    color:#d3d3d3;
}
#rss_form_container
{background-color:#0B131C;padding:10px;color:#D3D3D3;}

a.my-logo, a.my-logo:hover 
{
    text-decoration:none;
}

.my-logo h1 span
{
    font-size: 3rem;
    color: #624334;
}

h1
{
    text-align:center;
}

.my-logo h1 a  {
    padding: 0px;
    font-size: 3rem;
    font-weight: 400;
    /* margin: 5px 0px 0px 10px; */
    color: #624334;
    font-family: 'Niconne', cursive;
    margin-top:6px;
    text-decoration:none;
    margin-bottom:1px;
}

@media (min-width: 768px)
{
    .front_page_blurb
    {
	position: absolute;
	width: 30%;
	right: 290px;
    }
}

.front_page_blurb.alert
{
    margin-bottom:5px;
}

.front_page_blurb
{
    font-size:x-small;
    text-align: center;
    line-height: 1.2em;
    overflow: hidden;
    margin-bottom: 5px;
    padding-bottom: 0;
}

footer.lp-footer {
    margin-top: 4rem;
    background-color: #004274;
    border-top: 0;
    color: #fff;
}

.lp-footer-top {
    padding: 5rem 0 4.25rem;
    background-color: #004274;
}

.lp-footer-top-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.75rem;
}

.lp-footer-widget {
    min-width: 0;
}

.lp-footer-widget h2 {
    margin: 0 0 1.4rem;
    color: #fff;
    font-family: Lora, serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
}

.lp-footer-link-list,
.lp-footer-contact-list,
.lp-footer-social ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-footer-link-list li {
    margin-bottom: 0.7rem;
}

.lp-footer a {
    color: #fff;
    text-decoration: none;
}

.lp-footer a:hover,
.lp-footer a:focus {
    color: #00aeff;
    text-decoration: none;
}

.lp-footer-contact-list li {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    line-height: 1.55;
}

.lp-footer-contact-list i {
    margin-top: 0.2rem;
    color: #00aeff;
    text-align: center;
}

.lp-footer-bottom {
    padding: 2rem 0 2.2rem;
    background-color: #00335A;
    text-align: center;
}

.lp-footer nav {
    padding: 0;
    background: transparent;
}

.lp-footer-social ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.lp-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
}

.lp-footer-social a:hover,
.lp-footer-social a:focus {
    background-color: rgba(255, 255, 255, 0.75);
    color: #00335A;
}

.lp-footer-logo {
    display: inline-flex;
    margin: 2rem auto 1.35rem;
}

.lp-footer-logo img {
    display: block;
    width: min(280px, 76vw);
    height: auto;
}

.lp-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 1.25rem;
    margin-bottom: 1rem;
}

.lp-footer-copyright {
    margin: 0;
    color: #fff;
    font-size: 0.95rem;
}

.carousel-inner > .item > img, .carousel-inner > .carousel-item >a > img
{
    max-height:400px;
}

.lp-home-search-hero {
    min-height: 400px;
    margin-top: -4rem;
    background-image: url("/images/chiang-mai-real-estate-cover-2.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.lp-home-search-hero-overlay {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: rgba(22, 52, 60, 0.5);
}

.lp-home-search-container {
    width: min(1000px, 100%);
}

.lp-home-page-content h1 {
    font-family: Lora, serif;
    font-weight: 300;
    text-align: center;
}

.lp-home-welcome-section {
    margin: 3.75rem 0 4rem;
    padding: 0 0.5rem;
}

.lp-home-services-section {
    margin: 0 0 4rem;
    padding: 3.25rem 0.5rem 3rem;
    background: #ffffff;
    box-shadow: inset 0 20px 40px -40px rgba(0, 0, 0, 0.2);
}

.lp-home-page-content .lp-home-section-heading {
    display: block;
    margin-bottom: 1.5rem;
    text-align: center;
}

.lp-home-page-content .lp-home-section-heading h2 {
    margin-bottom: 0.45rem;
    color: #004274;
    font-family: Lora, serif;
    font-size: 35px;
    font-weight: 300;
    line-height: 1.3;
}

.lp-home-page-content .lp-home-section-heading p {
    max-width: 720px;
    margin: 0 auto 0.75rem;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.65;
}

.lp-home-page-content .lp-home-section-heading .lp-home-services-intro {
    max-width: 820px;
    color: #475569;
}

.lp-home-featured-listings .lp-home-section-heading {
    margin-bottom: 1.5rem;
}

.lp-home-featured-link {
    display: inline-block;
    color: #00aeff;
    font-weight: 600;
    text-decoration: none;
}

.lp-home-featured-link:hover,
.lp-home-featured-link:focus {
    color: #004274;
    text-decoration: underline;
}

[data-bs-theme="dark"] .lp-home-page-content .lp-home-section-heading p {
    color: #cbd5e1;
}

[data-bs-theme="dark"] .lp-home-page-content .lp-home-section-heading h2 {
    color: #e2e8f0;
}

.lp-home-welcome-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.lp-home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.lp-home-welcome-card {
    min-width: 0;
}

.lp-home-welcome-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    color: #004274;
    text-decoration: none;
}

.lp-home-welcome-icon-shell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    border: 1px solid rgba(0, 66, 116, 0.16);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 66, 116, 0.08);
    transition: transform 220ms ease;
}

.lp-home-welcome-icon-shell i {
    font-size: 3rem;
    line-height: 1;
}

.lp-home-welcome-icon-link:hover .lp-home-welcome-icon-shell,
.lp-home-welcome-icon-link:focus .lp-home-welcome-icon-shell {
    transform: translateY(-4px);
}

.lp-home-welcome-card:nth-child(1) .lp-home-welcome-icon-shell {
    color: #007d8a;
}

.lp-home-welcome-card:nth-child(2) .lp-home-welcome-icon-shell {
    color: #004274;
}

.lp-home-welcome-card:nth-child(3) .lp-home-welcome-icon-shell {
    color: #9b4f1b;
}

.lp-home-welcome-card-body {
    padding: 0.65rem 0.2rem 0;
    text-align: center;
}

.lp-home-welcome-card-title {
    margin: 0 0 0.6rem;
    font-family: Lora, serif;
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.3;
}

.lp-home-welcome-card-title a {
    color: #004274;
    text-decoration: none;
}

.lp-home-welcome-card-title a:hover,
.lp-home-welcome-card-title a:focus {
    color: #00aeff;
    text-decoration: none;
}

.lp-home-welcome-card-description {
    margin: 0 auto;
    max-width: 34rem;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.75;
}

[data-bs-theme="dark"] .lp-home-welcome-card-title a {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .lp-home-welcome-card-title a:hover,
[data-bs-theme="dark"] .lp-home-welcome-card-title a:focus {
    color: #66cfff;
}

[data-bs-theme="dark"] .lp-home-welcome-card-description {
    color: #cbd5e1;
}

[data-bs-theme="dark"] .lp-home-welcome-icon-link {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .lp-home-welcome-icon-shell {
    background: rgba(15, 23, 42, 0.78);
    border-color: rgba(148, 163, 184, 0.24);
    box-shadow: 0 18px 40px rgba(0, 20, 40, 0.18);
}

.lp-home-services-card {
    min-width: 0;
    padding: 0.75rem 1rem 0;
    text-align: center;
}

.lp-home-services-icon-shell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    margin-bottom: 1.35rem;
    color: #004274;
    border: 1px solid rgba(0, 66, 116, 0.18);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(0, 66, 116, 0.08);
}

.lp-home-services-icon-shell i {
    font-size: 2.6rem;
    line-height: 1;
}

.lp-home-services-card:nth-child(1) .lp-home-services-icon-shell {
    color: #007d8a;
}

.lp-home-services-card:nth-child(2) .lp-home-services-icon-shell {
    color: #9b4f1b;
}

.lp-home-services-card:nth-child(3) .lp-home-services-icon-shell {
    color: #004274;
}

.lp-home-services-card-title {
    margin: 0 0 0.75rem;
    color: #111827;
    font-family: Lora, serif;
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.3;
}

.lp-home-services-card-description {
    margin: 0 auto 1rem;
    max-width: 34rem;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.75;
}

.lp-home-services-list {
    display: inline-block;
    margin: 0;
    padding-left: 1.25rem;
    color: #475569;
    line-height: 1.75;
    text-align: left;
}

.lp-home-services-quote {
    margin: 3rem auto 0;
    color: #111827;
    font-family: Lora, serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.45;
    text-align: center;
}

[data-bs-theme="dark"] .lp-home-services-section {
    background: rgba(15, 23, 42, 0.32);
    box-shadow: inset 0 20px 40px -40px rgba(0, 0, 0, 0.55);
}

[data-bs-theme="dark"] .lp-home-page-content .lp-home-section-heading .lp-home-services-intro,
[data-bs-theme="dark"] .lp-home-services-card-description,
[data-bs-theme="dark"] .lp-home-services-list {
    color: #cbd5e1;
}

[data-bs-theme="dark"] .lp-home-services-card-title,
[data-bs-theme="dark"] .lp-home-services-quote {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .lp-home-services-icon-shell {
    background: rgba(15, 23, 42, 0.78);
    border-color: rgba(148, 163, 184, 0.24);
    box-shadow: 0 18px 40px rgba(0, 20, 40, 0.18);
}

.lp-home-search-paper {
    background: rgba(248, 250, 252, 0.6) !important;
    box-shadow: 0 18px 40px rgba(0, 35, 68, 0.16) !important;
    backdrop-filter: blur(2px);
}

.lp-contact-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

[data-mantine-color-scheme="dark"] .lp-home-search-paper,
[data-bs-theme="dark"] .lp-home-search-paper {
    background: rgba(226, 232, 240, 0.55) !important;
    box-shadow: 0 18px 40px rgba(0, 20, 40, 0.18) !important;
}

.lp-home-search-form .mantine-Title-root {
    margin: 0;
    color: #004274;
    font-family: Lora, serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
}

.lp-home-search-form .mantine-Text-root {
    color: #334155 !important;
}

.lp-home-search-form .mantine-Input-input {
    min-height: 44px;
    background-color: rgba(255, 255, 255, 0.88) !important;
    border-color: rgba(148, 163, 184, 0.8);
    border-radius: 4px;
    color: #111827 !important;
}

[data-mantine-color-scheme="dark"] .lp-home-search-form .mantine-Input-input,
[data-bs-theme="dark"] .lp-home-search-form .mantine-Input-input {
    background-color: rgba(15, 23, 42, 0.9) !important;
    border-color: rgba(148, 163, 184, 0.68);
    color: #f8fafc !important;
}

[data-mantine-color-scheme="dark"] .lp-home-search-form .mantine-Input-section,
[data-bs-theme="dark"] .lp-home-search-form .mantine-Input-section {
    color: #e2e8f0 !important;
}

.lp-home-search-form .mantine-Input-input::placeholder {
    color: #64748b !important;
}

[data-mantine-color-scheme="dark"] .lp-home-search-form .mantine-Input-input::placeholder,
[data-bs-theme="dark"] .lp-home-search-form .mantine-Input-input::placeholder {
    color: #cbd5e1 !important;
}

.lp-home-search-form .mantine-Input-input:focus,
.lp-home-search-form .mantine-Input-input:focus-within {
    border-color: #00aeff;
}

.lp-home-search-form .mantine-InputWrapper-label {
    color: #1f3f66 !important;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.lp-home-search-actions {
    justify-content: flex-end;
    margin-top: 0.25rem;
}

.lp-home-search-submit {
    min-width: 160px;
    background-color: #ff6e00;
}

.lp-home-search-submit:hover {
    background-color: #ff8c35;
}

.lp-home-advanced-details {
    margin-top: 0.25rem;
}

.lp-home-advanced-toggle {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.45rem 0.9rem;
    background-color: #004274 !important;
    color: #fff !important;
    border: 1px solid #004274 !important;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    line-height: 1;
    list-style: none;
}

.lp-home-advanced-toggle::-webkit-details-marker {
    display: none;
}

.lp-home-advanced-toggle::before {
    content: "+";
    display: inline-block;
    margin-right: 0.45rem;
    font-weight: 700;
}

.lp-home-advanced-details[open] .lp-home-advanced-toggle::before {
    content: "-";
}

.lp-home-advanced-toggle:hover {
    background-color: #005a9e !important;
    border-color: #005a9e !important;
}

.lp-home-advanced-search {
    padding-top: 1rem;
}

.lp-header-color-toggle {
    top: 12px !important;
    right: 14px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    opacity: 1 !important;
}

.lp-header-color-toggle #theme-toggle {
    width: 38px !important;
    height: 38px !important;
    color: #004274 !important;
    background-color: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(0, 66, 116, 0.35) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 35, 68, 0.18) !important;
}

.lp-header-color-toggle #theme-toggle:hover,
.lp-header-color-toggle #theme-toggle:focus {
    color: #fff !important;
    background-color: #004274 !important;
    border-color: #004274 !important;
    box-shadow: 0 3px 12px rgba(0, 35, 68, 0.28) !important;
}

.lp-header-color-toggle #theme-toggle i {
    font-size: 1.05rem !important;
    line-height: 1 !important;
}

.lp-houzez-header .lp-header-login .nav-link .ms-1 {
    display: none !important;
}

.lp-owner-listing-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 0.95rem;
    gap: 0.45rem;
    color: #ffffff !important;
    background-color: #004274;
    border: 1px solid #004274;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 66, 116, 0.18);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.lp-owner-listing-header-cta:hover,
.lp-owner-listing-header-cta:focus {
    color: #ffffff !important;
    background-color: #00aeff;
    border-color: #00aeff;
    box-shadow: 0 4px 14px rgba(0, 174, 255, 0.24);
    text-decoration: none;
}

[data-bs-theme="dark"] .lp-owner-listing-header-cta {
    background-color: #66cfff;
    border-color: #66cfff;
    color: #042b45 !important;
    box-shadow: none;
}

[data-bs-theme="dark"] .lp-owner-listing-header-cta:hover,
[data-bs-theme="dark"] .lp-owner-listing-header-cta:focus {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #004274 !important;
}

.table tr.lp-contract-expiry-notice > td {
    background-color: #fff3bf !important;
    color: #3b2f00 !important;
}

.table tr.lp-contract-expiry-warning > td {
    background-color: #ffd8a8 !important;
    color: #3b2300 !important;
}

.table tr.lp-contract-expiry-danger > td {
    background-color: #ffc9c9 !important;
    color: #3b0909 !important;
}

.table tr.lp-contract-expiry-notice a,
.table tr.lp-contract-expiry-warning a,
.table tr.lp-contract-expiry-danger a {
    color: #004274 !important;
    font-weight: 700;
}

@media (max-width: 767px) {
    .lp-header-actions {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .lp-owner-listing-header-cta {
        flex: 1 1 100%;
    }

    .lp-footer {
        margin-top: 3rem;
    }

    .lp-footer-top {
        padding: 3.25rem 1rem 2.6rem;
    }

    .lp-footer-top-grid {
        grid-template-columns: 1fr;
        gap: 2.15rem;
    }

    .lp-footer-widget h2 {
        margin-bottom: 1rem;
    }

    .lp-footer-bottom {
        padding: 1.8rem 1rem 2rem;
    }

    .lp-home-search-hero {
        min-height: 439px;
        background-image: url("/images/chiang-mai-real-estate-cover-2.jpg");
    }

    .lp-home-search-hero-overlay {
        min-height: 439px;
        padding: 1.25rem 0.75rem;
    }

    .lp-home-search-paper {
        padding: 1rem !important;
    }

    .lp-home-search-form .mantine-Title-root {
        font-size: 1.5rem;
    }

    .lp-home-search-actions {
        align-items: stretch;
    }

    .lp-home-search-actions .mantine-Button-root {
        flex: 1 1 auto;
    }

    .lp-home-welcome-section {
        margin: 2.75rem 0 3rem;
        padding: 0;
    }

    .lp-home-services-section {
        margin-bottom: 3rem;
        padding: 2.5rem 0 2.35rem;
    }

    .lp-home-page-content .lp-home-section-heading h2 {
        font-size: 2rem;
    }

    .lp-home-welcome-grid,
    .lp-home-services-grid {
        grid-template-columns: 1fr;
        gap: 2.35rem;
    }

    .lp-home-welcome-card-body {
        padding-top: 1rem;
    }

    .lp-home-services-card {
        padding-right: 0;
        padding-left: 0;
    }

    .lp-home-services-quote {
        margin-top: 2.5rem;
        font-size: 1.35rem;
    }
}
