/* =========================================================
   GLOBAL ELEMENTARY EDUCATION - OJS 2 CUSTOM STYLESHEET
   Elegant brown / gold academic theme
   ========================================================= */

/* ---------- GLOBAL PAGE ---------- */
html,
body {
    background-color: #f4efe8 !important;
    background-image: none !important;
    color: #333333;
    font-family: Arial, Helvetica, sans-serif;
}

/* Main wrapper */
#container {
    background: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Main content */
#main,
#content {
    background: #ffffff !important;
}

/* ---------- HEADER ---------- */
#header {
    background-color: #ffffff !important;
}

/* Remove unwanted theme background images if any */
#header,
#main,
#content,
#container {
    background-image: none;
}

/* ---------- TOP NAVIGATION ---------- */
#navbar,
#navbar ul,
#navbar ul.menu {
    background-color: #765238 !important;
    background-image: none !important;
    border: none !important;
}

#navbar {
    min-height: 44px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

#navbar ul.menu {
    margin: 0;
    padding: 0;
    text-align: left;
}

#navbar ul.menu li {
    margin: 0;
    padding: 0;
    background-color: #765238 !important;
    border-right: 1px solid rgba(255,255,255,0.18);
}

#navbar ul.menu li a {
    display: block;
    padding: 14px 16px;
    background-color: #765238 !important;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.25px;
    text-decoration: none !important;
    text-transform: uppercase;
}

#navbar ul.menu li a:hover,
#navbar ul.menu li:hover a {
    background-color: #b98b5d !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ---------- BREADCRUMB ---------- */
#breadcrumb,
#breadcrumb a {
    color: #765238 !important;
}

#breadcrumb {
    font-size: 12px;
}

/* ---------- HEADINGS ---------- */
h1,
h2,
h3,
h4,
#content h3,
#content h4 {
    color: #4f4034;
}

#content h3 {
    border-bottom: 1px solid #d8c3ad;
    padding-bottom: 6px;
}

/* ---------- LINKS ---------- */
a {
    color: #765238;
}

a:hover {
    color: #a9784e;
}

/* ---------- RIGHT SIDEBAR ---------- */
#rightSidebar {
    background: transparent !important;
}

/* Optional clean spacing around blocks */
#rightSidebar .block {
    margin-bottom: 14px;
}

/* ---------- ADDITIONAL MENU ---------- */
/* Works if your custom block uses .gee-additional-menu */
.gee-additional-menu {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    border: 1px solid #c7aa86;
    background: #ffffff;
}

.gee-additional-menu-title {
    background: #765238;
    color: #ffffff;
    padding: 12px 8px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.gee-additional-menu a {
    display: block;
    background: #b98b5d;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 11px 13px;
    border-bottom: 1px solid rgba(255,255,255,0.35);
    font-size: 14px;
    line-height: 18px;
    box-sizing: border-box;
}

.gee-additional-menu a:last-child {
    border-bottom: none;
}

.gee-additional-menu a:hover {
    background: #765238;
    color: #ffffff !important;
    padding-left: 16px;
}

/* ---------- TABLES ---------- */
table {
    border-collapse: collapse;
}

table th {
    background: #efe4d7;
    color: #4f4034;
}

table td,
table th {
    border-color: #d9c8b7;
}

/* ---------- FORMS ---------- */
input[type="text"],
input[type="password"],
textarea,
select {
    border: 1px solid #cdb89f;
    background: #ffffff;
}

input[type="submit"],
button {
    background: #765238;
    color: #ffffff;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
}

input[type="submit"]:hover,
button:hover {
    background: #b98b5d;
}

/* ---------- FOOTER ---------- */
#footer {
    background: #f7f2ec !important;
    border-top: 1px solid #d8c3ad;
    color: #4b423b;
    padding-top: 12px;
}

#footer a {
    color: #765238 !important;
}

/* ---------- HORIZONTAL LINES ---------- */
hr {
    border: none;
    border-top: 1px solid #d8c3ad;
}

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 900px) {
    #navbar ul.menu li {
        display: block;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    #navbar ul.menu li a {
        padding: 12px 14px;
    }

    .gee-additional-menu {
        max-width: 100%;
    }
}
