﻿/* ==========================================================================
   LCC Website - Mobile-First Responsive Layout
   ========================================================================== */

/* Reset and base styles */

.homepage-announcement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Spacing between the image and text */
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-left: 5px solid #ffc107;
    padding: 5px 15px 5px 15px;
    margin-top: 0px;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    border-radius: 4px;
}

/* Controls the image sizing within the banner */
.announcement-img {
    max-height: 90px; /* Limits height so it fits comfortably inside the box */
    width: auto;
    border-radius: 3px;
}

html {
    background-color: #b1b1b1;
    color: #111111;
    font-size: .85em;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    width: 100%;
    margin: 0 auto;
    text-align: left;
    background-repeat: repeat-y;
    background-position: center bottom;
    background-image: url(../Images/bg-body998.png);
    padding: 0 0 20px;
}

h1 {
    font-size: 180%;
    font-weight: bold;
    color: #0B4F9B;
    padding: 0px;
    margin: 0px;
}

h2 {
    font-size: 120%;
    font-weight: bold;
    color: #0B4F9B;
    padding: 0px;
    margin: 0px;
}

a img { border: none; vertical-align: top; }

header, footer, hgroup, nav, section {
    display: block;
}

mark {
    background-color: #a6dbed;
    padding-left: 5px;
    padding-right: 5px;
}

.float-left { float: left; }
.float-right { float: right; }

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

/* Layout */
.content-wrapper {
    margin: 0 auto;
    max-width: 960px;
}

#wrapper {
    width: 100%;
    margin: 0 auto;
    min-height: 100%;
    background-color: #ffffff;
}

#body {
    background-color: #ffffff;
    clear: both;
    padding-bottom: 35px;
}

.main-content {
    padding-left: 10px;
    padding-top: 30px;
}

header {
    width: 100%;
}

header .content-wrapper {
    height: auto;
    width: 100%;
    overflow: hidden;
}

.banner-image {
    height: auto;
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: left center;
}

#maincontent p {
    text-align: justify;
}

#rightbar {
    width: 100%;
    padding: 7px;
}

footer {
    clear: both;
    background-color: #e2e2e2;
    font-size: .8em;
    height: 35px;
}

.box {
    border: 1px solid #cccccc;
    box-shadow: 0 0 5px #cccccc;
    -moz-box-shadow: 0 0 5px #cccccc;
    -webkit-box-shadow: 0 0 5px #cccccc;
    background-image: -webkit-gradient(linear,0% 0%,0% 100%, from(#ffffff),to(#e5e5e5));
    background-image: -webkit-linear-gradient(top, #ffffff, #e5e5e5);
    background-image: -moz-linear-gradient(top, #ffffff, #e5e5e5);
    background-image: linear-gradient(to bottom, #ffffff, #e5e5e5);
}

#body_top_ad, #body_top_ad_img, #body_top_ad_tiles {
    width: 100%;
    overflow: hidden;
}

.picture { background-color: #F9F9F9; border: 1px solid #CCCCCC; padding: 0px; text-align: center; }
.picture img { border-bottom: 1px solid #CCCCCC; vertical-align: middle; margin-bottom: 3px; }
.right { margin: 0.5em 0pt 0.5em 0.8em; float: right; }
.left { margin: 0.25em 0.8em 0.25em 0; float: left; }

.g_iframe iframe {
    width: 100%;
    height: 400px;
}

.g_iframe {
    height: auto;
    width: 100%;
}

/* Navigation / Menu */
nav {
    background: url(../Images/nav_bg.png) repeat-x;
    padding: 0;
    position: relative;
    height: 30px;
}

.menu-toggle {
    width: 44px;
    height: 30px;
    padding: 0;
    padding-left: 10px;
    background: none;
    border: none;
    color: #999999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.menu-toggle svg {
    width: 20px;
    height: 20px;
}

ul#menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e2e2e2;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 10000;
    width: 100%;
}

ul#menu.open {
    display: block;
}

ul#menu li {
    display: block;
    border-bottom: 1px solid #f0f0f0;
}

ul#menu li a {
    display: block;
    padding: 12px 16px;
    color: #333333;
    text-decoration: none;
    line-height: normal;
}

ul#menu li a:hover {
    background: #f7f7f7;
    color: #000;
}

ul#menu li a.selectedmenu {
    background: #f2f2f2;
    color: #000;
}

/* Page elements */
section.feature {
    width: 100%;
    padding: 10px;
}

.label { font-weight: 700; }

.contact h3 { font-size: 1.2em; }
.contact p { margin: 5px 0 0 10px; }
.contact iframe { border: 1px solid #333; margin: 5px 0 0 10px; }

/* Forms */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

fieldset legend { display: none; }

fieldset ol {
    padding: 0;
    list-style: none;
}

fieldset ol li { padding-bottom: 5px; }

label {
    display: block;
    font-size: 1.2em;
    font-weight: 600;
}

label.checkbox { display: inline; }

input, textarea {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #333;
    font-size: 1.2em;
    margin: 5px 0 6px 0;
    padding: 5px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

textarea {
    font-family: inherit;
}

input:focus, textarea:focus {
    border: 1px solid #7ac0da;
}

input[type="checkbox"] {
    background: transparent;
    border: inherit;
    width: auto;
}

input[type="submit"],
input[type="button"],
button {
    background-color: #d3dce0;
    border: 1px solid #787878;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    padding: 7px;
    margin-right: 8px;
    width: auto;
}

td input[type="submit"],
td input[type="button"],
td button {
    font-size: 1em;
    padding: 4px;
    margin-right: 4px;
}

/* Messages and validation */
.message-info {
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success {
    color: #7ac0da;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.error { color: #e80c4d; }

.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid { display: none; }

input.input-validation-error { border: 1px solid #e80c4d; }

input[type="checkbox"].input-validation-error { border: 0 none; }

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid { display: none; }

.editor-labe1, .editor-fie1d {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: 0.75em;
    border: 0 none;
    width: 100%;
}

th {
    font-size: 1.2em;
    text-align: left;
    border: none 0px;
    padding-left: 0;
}

th a {
    display: block;
    position: relative;
}

th a:link, th a:visited, th a:active, th a:hover {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    padding: 0;
}

th a:hover { color: #000; }

th.asc a, th.desc a { margin-right: .75em; }

th.asc a:after, th.desc a:after {
    display: block;
    position: absolute;
    right: 0em;
    top: 0;
    font-size: 0.75em;
}

th.asc a:after { content: '▲'; }
th.desc a:after { content: '▼'; }

td {
    padding: 0.25em 2em 0.25em 0em;
    border: 0 none;
}

tr.pager td { padding: 0 0.25em 0 0; }

img {
    max-width: 100%;
    height: auto;
}

/* Responsive breakpoints */

/* Mobile and tablet: hamburger menu (show if menu doesn't fit) */
@media (max-width: 880px) {
    nav {
        padding: 0;
    }

    .menu-toggle {
        display: block;
    }

    ul#menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        background: #ffffff;
        border-top: 1px solid #e2e2e2;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 10000;
        margin: 0;
        padding: 0;
    }

    ul#menu.open {
        display: block;
    }

    ul#menu li {
        display: block;
        border-bottom: 1px solid #f0f0f0;
    }

    ul#menu li a {
        display: block;
        padding: 12px 16px;
        color: #333333;
        text-decoration: none;
        line-height: normal;
    }

    ul#menu li a:hover {
        background: #f7f7f7;
        color: #000;
    }

    ul#menu li a.selectedmenu {
        background: #f2f2f2;
        color: #000;
    }

    /* Single column layout */
    #maincontent {
        width: 100%;
        padding: 7px;
    }

    #rightbar {
        width: 100%;
        padding: 7px;
        margin-top: 10px;
    }

    #wrapper {
        max-width: 100%;
    }

    #body_top_ad {
        display: none
    }
}

/* Desktop (880px+): full horizontal menu, two-column layout */
@media (min-width: 880px) {
    nav {
        padding: 0;
    }

    .menu-toggle {
        display: none;
    }

    ul#menu {
        position: static;
        display: flex;
        align-items: center;
        height: 30px;
        background: url(../Images/nav_bg.png) repeat-x;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    ul#menu li {
        display: inline-block;
        border: none;
    }

    ul#menu li a {
        padding: 0 28px;
        display: block;
        line-height: 30px;
        color: #999999;
        text-decoration: none;
    }

    ul#menu li a:hover {
        background: url(../Images/nav_bg.png) 0px -30px repeat-x;
        color: #CCCCCC;
    }

    ul#menu li a.selectedmenu {
        background: url(../Images/nav_bg.png) 0px -30px repeat-x;
        color: #FFFFFF;
    }

    /* Two-column layout */
    #maincontent {
        float: left;
        width: 72%;
        padding: 7px;
    }

    #rightbar {
        float: right;
        width: 26%;
        padding: 7px 7px 7px 0px;
    }

    #wrapper {
        max-width: 960px;
    }
}
