﻿html {
    margin: 0;
    padding: 0;
}

body {
    color: #000;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    font-family: Verdana;
    font-size: 14px;
    color: #444;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Verdana;
    font-weight: normal;
    color: #315014;
}

h1 {
    font-size: 3em;
    line-height: 1em;
    margin-bottom: .5em;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.4em;
}

h4 {
    font-size: 1.2em;
    line-height: 1.25em;
}

h5 {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 1.5em;
}

h6 {
    font-size: .8333em;
    font-weight: bold;
    line-height: 1.8em;
    margin-bottom: 1.8em;
}

h1 img,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

p {
    margin: 0 0 1.5em 0;
}

input {
    font-family: Verdana;
    font-size: 14px;
}

select {
    font-family: Verdana;
    font-size: 14px;
}

textarea {
    font-family: Verdana;
    font-size: 14px;
    width: 100%;
    height: 120px;
}

th {
    text-align: left;
    border-bottom: solid 1px #CCC;
}

.cleardiv {
    clear: both;
}

td {
    vertical-align: top;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0;
    margin-bottom: 12px;
}

.separator {
    border-bottom: dashed 1px #5F885F;
    margin-top: 16px;
    margin-bottom: 16px;
}

a:link,
a:visited {
    color: #5F885F;
    color: #315014;
    outline: none;
    text-decoration: underline;
}

a:focus {
    outline: 1px dotted;
}

a:hover,
a:active,
li a.active {
    color: #069;
    outline: none;
    text-decoration: underline;
}

.error-box {
    color: red;
}

#wrapper {
    border-radius: 15px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    /* width: 1016px; */
    background-color: #FFF;
}

#top {
    height: 30px;
}

#frametop {
    background-color: #FFF;
    height: 20px;
}

#frametopleft {
    background-image: url(images/frame_top_left.jpg);
    height: 20px;
    width: 15px;
    float: left;
}

#frametopright {
    background-image: url(images/frame_top_right.jpg);
    height: 20px;
    width: 15px;
    float: right;
}

#header {
    height: 0px;
    background-color: #FFF;
    background-repeat: no-repeat;
    background-position: bottom;
}

#topmenu {
    padding-top: 0px;
}

#topmenu .topmenu-back {
    background-color: #F0F0F0;
}

#topmenu .topmenu-tab {
    text-align: center;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 4px;
    float: left;
    height: 28px;
}

#topmenu .topmenu-active {
    background-color: #CCC;
}

#topmenu .topmenu-tab a:link,
#topmenu .topmenu-tab a:visited {
    text-decoration: none;
}

#rapper {
    padding: 24px;
}

/*
#left-column {
    float: left;
    width: 780px;
}

#right-column {
    float: right;
    width: 120px;
}
*/

.sidemenu {
    border-top: solid 1px #888;
    border-bottom: solid 1px #888;
    background-color: #EEE;
    padding-top: 6px;
    padding-bottom: 6px;
}

.sidemenu-item {
    padding: 2px;
    padding-left: 8px;
}

.sidemenu-item a:link,
.sidemenu-item a:visited {
    text-decoration: none;
}

.sidemenu-separator {
    border-bottom: solid 1px #888;
    margin-top: 8px;
    margin-bottom: 8px;
}

.editlink {
    float: right;
    background-color: var(--nav-bg);
    padding: 6px;
}
    .editlink a {
        color: #555;
        text-decoration: underline;
        font-size: 0.9rem;
    }
        .editlink a:hover {
            color: #000;
        }

#footer {
    height: 40px;
}

#framebottom {
    background-color: #FFF;
    height: 20px;
    margin-bottom: 20px;
}

#framebottomleft {
    background-image: url(images/frame_bottom_left.jpg);
    height: 20px;
    width: 15px;
    float: left;
}

#framebottomright {
    background-image: url(images/frame_bottom_right.jpg);
    height: 20px;
    width: 15px;
    float: right;
}

fieldset {
    margin-top: 10px;
    padding: 10px;
    border: solid 1px #DDD;
}

    fieldset legend {
        font-size: 1.0em;
    }

.display-label,
.editor-label {
    color: #888;
}

.display-field,
.editor-field {
    margin-bottom: 16px;
}

.forum-threads {
    border-bottom: solid 1px #CCC;
}

.forum-thread {
    border: solid 1px #CCC;
    border-bottom: none;
    padding: 8px;
}

.forum-threadpic {
    float: left;
    width: 60px;
    height: 40px;
}

.forum-author {
    float: left;
    width: 80px;
    height: 100px;
    padding-top: 5px;
}

.forum-content {
    /* float: right; */
    /* width: 680px; */
    padding-top: 5px;
}

.author {
    margin-top: 8px;
    color: #888;
    font-size: 8pt;
}

.group-member {
    border: solid 1px #CCC;
    margin-top: 16px;
    margin-right: 16px;
    padding: 8px;
    width: 140px;
    height: 140px;
    float: left;
}

.calendar {
    width: 100%;
    padding: 0;
}

.calendar-day {
    vertical-align: top;
    height: 82px;
    border: solid 2px #FFF;
    padding: 0;
    width: 14%;
}

.calendar-content {
    padding: 4px;
}

.calendar-content a {
    color: #000;
}

.thismonth {
    background-color: #F6FF96;
}

.nextmonth {
    background-color: #FFFCAD;
}

.nextnextmonth {
    background-color: #FAFFBF;
}

.calendar-datestring-today {
    font-size: 8pt;
    font-weight: bold;
    color: #000;
    background-color: #DDD;
    padding: 4px;
}

.calendar-datestring-today a {
    color: #000;
}

.calendar-datestring {
    font-size: 8pt;
    color: #000;
    background-color: #DDD;
    padding: 4px;
}

.calendar-datestring a {
    color: #000;
}

.calendar-timestring {
    font-size: 8pt;
    color: #888;
}

.message-ok {
    padding: 8px;
    border: solid 1px green;
    background-color: #DFD;
    color: Green;
    margin-bottom: 16px;
}

.message-warn {
    padding: 8px;
    border: solid 1px #ffeeba;
    background-color: #fff3cd;
    color: #856404;
    margin-bottom: 16px;
}

.text-box {
    border: solid 1px #CCC;
    padding: 3px;
    width: 200px;
}

.select-box {
    border: solid 1px #CCC;
    padding: 3px;
    width: 208px;
}

/* --- Start Layout specific overrides migrated from _Layout.cshtml --- */
:root {
    --nav-bg: #f4f4f4;
    --nav-text: #375d31;
    --nav-active-bg: #d9d9d9;
    --nav-hover-bg: #e6e6e6;
}

/* Remove underlines from menus and header tags properly */
a.nav-link,
a.nav-link:hover,
a.nav-link:focus,
a.nav-link.active,
a.sidebar-link,
a.sidebar-link:hover,
a.sidebar-link:focus,
a.sidebar-link.active {
    text-decoration: none !important;
}

h1,
h2,
h3,
h1 a,
h2 a,
h3 a {
    text-decoration: none !important;
}

/* Main Content Wrapper */
.content-wrapper {
    max-width: 1200px;
    margin: 2rem auto;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    min-height: 85vh;
}

@media (max-width: 991px) {
    .content-wrapper {
        margin: 0 auto;
        border-radius: 0;
        min-height: 100vh;
    }
}

.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Custom Navbar Adjustments */
.custom-navbar {
    background-color: var(--nav-bg);
    padding: 0;
}

@media (min-width: 992px) {
    .custom-navbar .navbar-nav {
        flex-wrap: wrap;
        flex-direction: row;
        width: 100%;
    }
}

.custom-navbar .nav-link {
    color: var(--nav-text);
    padding: 0.75rem 1.25rem !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out;
    border-radius: 0;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link:focus {
    background-color: var(--nav-hover-bg);
    color: var(--nav-text);
}

.custom-navbar .nav-link.active {
    background-color: var(--nav-active-bg);
    color: var(--nav-text);
}

.page-content {
    padding: 3rem 2rem;
    color: #333;
}

.sidebar-menu {
    background-color: var(--nav-bg);
    display: flex;
    flex-direction: column;
}

.sidebar-section {
    padding: 0.75rem 0;
}

.sidebar-section:not(:first-child) {
    border-top: 1px solid #ccc;
}

.sidebar-link {
    display: block;
    padding: 0.35rem 1.25rem;
    color: var(--nav-text);
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

.sidebar-link:hover {
    background-color: var(--nav-hover-bg);
    color: var(--nav-text);
}

.action-links {
    background-color: var(--nav-bg);
    float: right;
    padding: 6px;
}

.action-links a {
    color: #555;
    text-decoration: underline;
    font-size: 0.9rem;
}

.action-links a:hover {
    color: #000;
}