﻿#content {
    height: 100%;
    padding: 0px;
    padding-bottom: 0px !important;
}



.menuparent .unactive:hover {
    border: none !important;
}


.property .image .content a:hover {
    background: none !important;
}

.property .image {
    z-index: 0;
}

#defaultModalContent {
    display: none;
}


@media (min-width: 768px) {
    #myModal .modal-dialog {
        width: 750px;
    }
}

@media (min-width: 992px) {
    #myModal .modal-dialog {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    #myModal .modal-dialog {
        width: 1170px;
    }
}

.property .favorite,
.property .visibility {
    cursor: pointer;
}

.property.user-pref-visible {
    opacity: 1;
}

.property.user-pref-hidden {
    opacity: 0.1;
}

.modal-body {
    background-color: #f0f0f0;
    padding: 0px !important;
}

.modal-body .background-color-gray-menu {
    background-color: white;
}

.navigation-wrapper-modal {
    color: #707070 !important;
}

.navigation-wrapper-modal a {
    color: #707070 !important;
}

.navigation-wrapper-modal a:hover {
    color: #ffaf50 !important;
}

.navigation-wrapper-modal .nav li:hover,
.navigation-wrapper-modal .nav .link:hover {
    background-color: black !important;
    border-top: 2px solid #ffaf50;
    text-decoration: none;
}

.background-color-white {
    background-color: white;
}

/* Modern Homepage Styles */
.homepage-content-wrapper {
    max-width: 1600px;
    margin: 0 auto;
}

.category-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 15px 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 160px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: #ffaf50;
}

.category-icon {
    font-size: 3.5em;
    margin-bottom: 8px;
    line-height: 1;
    text-decoration: none;
    display: block;
}

a.category-icon:hover {
    text-decoration: none;
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.category-title {
    font-size: 1.15em;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

.category-title a {
    color: #333;
    text-decoration: none;
}

.category-title a:hover {
    color: #ffaf50;
}

.category-sublinks {
    margin: 10px 0 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.9em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.category-sublinks li {
    display: inline-block;
    margin: 0;
}

.category-sublinks a {
    display: inline-block;
    padding: 4px 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9em;
}

.category-sublinks a:hover {
    background: #ffaf50;
    border-color: #ffaf50;
    color: #fff;
    text-decoration: none;
}


.row-flex {
    display: flex;
    flex-wrap: wrap;
}

.row-flex>div[class*='col-'] {
    display: flex;
    flex-direction: column;
}

.row-flex>div[class*='col-']>.category-card {
    width: 100%;
    flex: 1;
}

.intro-text-card {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    margin-bottom: 20px;
    /* Matched to category-card */
}

.intro-text {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    margin: 0;
    text-align: center;
}

.city-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
    margin-bottom: 30px;
}

.city-cloud li a {
    display: inline-block;
    padding: 6px 14px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95em;
}

.city-cloud li a:hover {
    background: #ffaf50;
    border-color: #ffaf50;
    color: #fff;
}

.services-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.service-card-small {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.service-card-small:hover {
    text-decoration: none;
}

.service-card-small:hover {
    border-color: #ffaf50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-icon {
    font-size: 2em;
    margin-right: 15px;
    width: 40px;
    text-align: center;
}

.service-text {
    font-weight: bold;
    font-size: 1.1em;
    flex: 1;
    min-width: 0;
}