/* GENERAL STYLES */
body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #000;
    margin: 0;
    text-align: center;
}

/* HEADER */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f5f5f5;
    padding: 10px 20px;
    border-bottom: 2px solid #ccc;
}

#header-left h1 {
    color: purple;
    font-size: 24px;
    margin: 0;
  
}

#header-center {
    text-align: center;
}

.location {
    font-size: 18px;
    font-weight: bold;
}

.sub-locations {
    font-size: 12px;
    color: gray;
}

/* POST AD & ACCOUNT BUTTONS */
#header-right a {
    text-decoration: none;
    font-size: 14px;
    padding: 5px 10px;
    margin-left: 10px;
    border-radius: 4px;
}

.post-ad {
    background: #4CAF50;
    color: white;
}

.account {
    background: #ddd;
    color: black;
}

/* CONTAINER (Sidebar + Main) */
#container {
    display: flex;
    width: 80%;
    margin: 20px auto;
}

/* LEFT SIDEBAR */
#sidebar {
    width: 15%;
    padding: 10px;
    text-align: left;
    border-right: 2px solid #ccc;
    position: relative;   
    left: -83px; 
}

#sidebar input {
    width: 85%;
    padding: 5px;
    margin-bottom: 10px;
}

#calendar table {
    width: 100%;
    border-collapse: collapse;
}

#calendar td {
    width: 14%;
    text-align: center;
    padding: 5px;
    border: 1px solid #ccc;
}

#help-links p {
    font-size: 12px;
    margin: 5px 0;
}


/* RIGHT SIDEBAR CONTAINER */
#rcontainer {
    display: flex;
    flex-direction: column;
    width: 16%;
    position: absolute;
    right: 0;
    top: 72px; 
}

/* RIGHT SIDEBAR */
#rsidebar {
    width: 68%; 
    padding: 16px;
    text-align: left;
    border-left: 2px solid #ccc; 
   
}

/* REMOVE LIST DOTS */
#rsidebar ul {
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

/* STYLE LINKS */
#rsidebar ul li {
    margin-bottom: -3px; 
}

#rsidebar ul li a {
    text-decoration: none; 
    color: blue; 
    display: block;
    padding: 5px;
}

#rsidebar ul li a:hover {
    background: #ddd; 
    border-radius: 5px;
}



.category-header {
    background: #f0f0f0;  
    border: 2px solid #ccc;
    padding: 10px;  
    text-align: center; 
    font-size: 18px;  
    font-weight: bold;
    border-radius: 8px;  
    margin-bottom: 10px;  
}

/* MAIN CONTENT */
#main {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    width: 71%;
    padding: 10px;
    padding-bottom: 43px; 
}

.column {
    width: 19%;
    text-align: left;
    padding: 21px;
}

.column h3 {
    font-size: 16px;
    color: #444;
}

.column ul {
    list-style: none;
    padding: 0;
}

.column ul li {
    margin: 16px 0;
}

.column ul li a {
    text-decoration: none;
    color: blue;
}

/* FOOTER */
#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 12px;
    color: gray;
    padding: 10px;
    background: #f5f5f5;
    border-top: 1px solid #ccc;
    left: 0;
}

#ad-banner {
    position: fixed;   
    bottom: 107px;    
    left: 50%;
    transform: translateX(-50%); 
    background: #e6007e;
    color: white;
    text-align: center;
    padding: 8px;
    font-family: Arial, sans-serif;
    width: 90%;  
    max-width: 600px; 
    text-decoration: none;
    z-index: 999; 
}

#ad-banner:hover {
    background: #d4006c;
}

#ad-banner .small-text {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0;
}

#ad-banner .large-text {
    font-size: 48px;
    font-weight: bold;
    margin: 5px 0;
}
