/**
 * YNS Realty Website - Main Stylesheet
 * Consolidated CSS combining reset, skeleton, and custom styles
 */

/* ===== RESET & BASE STYLES ===== */
html, body {
    margin: 0;
    padding: 0;
    font-size: 12px;
    background: #ffffff;
    color: #666; /* Default text color as per project requirements */
}

/* ===== LAYOUT & CONTAINER ===== */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== HEADER STYLES ===== */
.publicDivHeader {
    background: #eeeeed;
    padding: 0;
    margin: 0 auto;
    border-bottom: solid 2px #FFF;
}

.publicDivHeaderCenter {
    background: #eeeeed;
    padding: 0;
    margin: 0 auto;
    width: 940px;
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    white-space: nowrap;
}

.publicHeader {
    float: left;
    padding-bottom: 10px;
}

/* Logo Styles */
a.logo {
    display: block;
    text-align: center;
    float: left;
    min-height: 90px;
}

a.logo img {
    border: none;
}

/* ===== NAVIGATION MENU ===== */
.publicMenu {
    font-size: 15px;
    font-weight: bold;
    padding-top: 70px;
}

.publicMenu a {
    display: block;
    float: left;
    margin-right: 5px;
    padding: 0px 18px 0px 18px;
    color: #666;
    text-decoration: none;
    border-right: inset 1px #e0e0e0;
    transition: color 0.3s ease;
}

.publicMenu a:last-child {
    border-right: none;
}

.publicMenu a:hover {
    color: #D65F01;
}

.publicMenu a.active,
.publicMenu a.active:hover {
    color: #D65F01;
}

.publicHeaderBottom {
    clear: both;
}

/* ===== MAIN CONTENT AREA ===== */
.publicDivMain {
    background: #ffffff;
    padding: 0;
    margin: 0 auto;
}

/* ===== IMAGE SLIDER SECTION ===== */
.mainImageContainer {
    background-color: #dfdfdf;
    padding: 10px 20px 10px 20px;
}

.mainImageContainerBorderbottom {
    clear: both;
    height: 2px;
    background: #FFF;
}

.mainImageContainerCenter {
    overflow: hidden;
    margin: 0 auto;
    width: 920px;
}

.mainImageContainer img {
    border: none;
    width: 920px;
}

/* ===== CONTENT BOXES ===== */
.publicBoxContainer {
    margin: 14px 0px 12px 0px;
    margin: 0 auto;
    width: 920px;
}

.publicBox1 {
    position: relative;
    border: none;
    line-height: 18px;
    padding: 54px 10px 10px 10px;
    float: right;
    width: 259px;
}

.publicBox {
    position: relative;
    border: none;
    line-height: 18px;
    padding: 54px 10px 10px 10px;
    float: left;
    width: 572px;
}

.publicBox1 h2.boxHeader,
.publicBox h2.boxHeader {
    position: absolute;
    top: 20px;
    font-size: 17px;
    color: #D65F01;
    margin: 0;
}

.publicBox p,
.publicBox table {
    margin-top: 0px;
    text-align: justify;
    color: #666;
}

.publicBox table tr.spacing {
    line-height: 5px;
}

/* ===== CONTACT INFORMATION ICONS ===== */
th.phone {
    background: transparent url("../images/phone.gif") no-repeat;
    padding: 0px 0px 0px 25px;
    text-align: right;
    line-height: 20px;
    vertical-align: top;
}

th.email {
    background: transparent url("../images/email.gif") no-repeat;
    padding: 0px 0px 0px 25px;
    text-align: right;
    line-height: 20px;
    vertical-align: top;
}

th.mail {
    background: transparent url("../images/mail.gif") no-repeat;
    padding: 0px 0px 0px 25px;
    text-align: right;
    line-height: 20px;
    vertical-align: top;
}

th.mail + td {
    line-height: 20px;
}

/* ===== FOOTER ===== */
div#ctl00_pageLayoutManager_divCustomFooter,
div#divCustomFooter {
    clear: both;
    margin: 0 auto;
    width: 920px;
}

.publicFooter {
    clear: both;
    margin: 0 auto;
    width: 920px;
    padding: 1px 1px 1px 1px;
    border: solid 1px #EAEAEA;
    text-align: center;
}

.publicFooter p {
    padding: 15px 10px 15px 10px;
    background: #F4F4F4;
    font-size: 11px;
    margin: 0;
    color: #666;
}

.footerLinks {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* ===== RESPONSIVE MENU ===== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

/* ===== UTILITY CLASSES ===== */
.clearBox {
    clear: both;
}

/* ===== NIVO SLIDER OVERRIDES ===== */
.nivoSlider {
    position: relative;
    width: 100%;
    height: auto;
}

.nivoSlider img {
    position: absolute;
    top: 0px;
    left: 0px;
    display: none;
    width: 100%;
    height: auto;
}

.nivoSlider a.nivo-controlNav {
    display: none;
}

/* ===== CONTENT PAGE STYLES ===== */
/* Common content styles */
.contact-content,
.privacy-content,
.terms-content,
.about-content {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #666;
    margin: 0 auto;
    padding: 20px;
    font-size: 16px;
}

/* Common header styles */
.contact-header,
.privacy-header,
.terms-header,
.about-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #016cd6;
}

.contact-header h1,
.privacy-header h1,
.terms-header h1,
.about-header h1 {
    color: #016cd6;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}

.privacy-header .effective-date,
.terms-header .effective-date {
    color: #888;
    font-size: 16px;
    font-style: italic;
}

/* Common section styles */
.contact-section,
.privacy-section,
.terms-section,
.about-section {
    margin-bottom: 30px;
    padding: 20px 0;
}

.contact-section h2,
.privacy-section h2,
.terms-section h2,
.about-section h2 {
    color: #016cd6;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0;
}

.contact-section h3,
.privacy-section h3,
.terms-section h3,
.about-section h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 20px;
}

.contact-section p,
.privacy-section p,
.terms-section p,
.about-section p {
    margin-bottom: 12px;
    text-align: justify;
    font-size: 16px;
}

.contact-section ul,
.privacy-section ul,
.terms-section ul,
.about-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.contact-section li,
.privacy-section li,
.terms-section li,
.about-section li {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 16px;
}

.contact-info,
.about-info{
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.contact-info table,
.about-info table {
    width: 100%;
    border-collapse: collapse;
}

.contact-info th,
.about-info th {
    text-align: left;
    padding: 2px 16px;
    font-weight: bold;
    color: #016cd6;
    width: 120px;
}

.contact-info td,
.about-info td {
    padding: 2px;
    color: #666;
}

/* Hours styles */
.contact-hours,
.about-hours {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #016cd6;
}

.contact-hours h3,
.about-hours h3 {
    color: #016cd6;
    margin-top: 0;
}

.contact-hours ul,
.about-hours ul {
    list-style: none;
    padding: 0;
}

.contact-hours li,
.about-hours li {
    padding: 5px 0;
    border-bottom: 1px solid #e0e0e0;
}

.contact-hours li:last-child,
.about-hours li:last-child {
    border-bottom: none;
}

/* Highlight box styles */
.highlight-box {
    padding: 15px 0;
    margin: 15px 0;
    border-left: 3px solid #016cd6;
    padding-left: 15px;
}

/* Privacy Policy specific styles */
.contact-info strong,
.opt-out-info strong {
    color: #04182c;
}

.section-number {
    display: inline-block;
    background: #016cd6;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    font-size: 14px;
    margin-right: 10px;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 480px) {
    html, body {
        font-size: 14px;
    }
    
    .publicBox,
    .publicBox1 {
        padding: 40px 10px 10px 10px;
    }
    
    .publicBox1 h2.boxHeader,
    .publicBox h2.boxHeader {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
     

    .contact-content,
    .privacy-content,
    .terms-content,
    .about-content {
        padding: 0px;
        font-size: 14px;
    }

    .contact-section,
    .privacy-section,
    .terms-section,
    .about-section {
        padding: 0px 0;
    }

    .contact-header h1,
    .privacy-header h1,
    .terms-header h1,
    .about-header h1 {
        font-size: 28px;
    }

    .contact-section h2,
    .privacy-section h2,
    .terms-section h2,
    .about-section h2 {
        font-size: 20px;
    }

    .contact-section h3,
    .privacy-section h3,
    .terms-section h3,
    .about-section h3 {
        font-size: 16px;
    }

    .contact-section p,
    .privacy-section p,
    .terms-section p,
    .about-section p,
    .contact-section li,
    .privacy-section li,
    .terms-section li,
    .about-section li {
        font-size: 14px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .divMenu,
    .menu-overlay {
        display: none !important;
    }
    
    .publicMenu {
        display: block !important;
    }
}



.contact-us {
    height: 1200px;
    overflow: hidden;
}


@media (max-width: 480px) {
    .contact-us {
        height: 1300px;
        width: 100vw;
    }
}