﻿@import url("Reset.css");

html, body, form, div, p
{
    color: #545344;
}

body, input, textarea, select
{
    font-family: Verdana, Arial, Helvetica, Sans-Serif;
}

body
{
    /*padding-top: 6px;*/
}

div, p
{
    /*font-size: 1.0em;*/
    font-size: small;
}
p
{
    margin-bottom: 0px;
}
h1
{
    color: #2c1017;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
}
h2
{
    color: #2c1017;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
}
h3
{
    color: #2c1017;
    font-size: 1.0em;
    font-weight: bold;
    margin-bottom: 15px;
}
h4
{
    color: #2c1017;
    font-size: 1.0em;
    font-weight: bold;
}
h5
{
    font-size: 0.8em;
    padding: 3px 0 3px 0;
}
strong
{
    font-weight: bold;
}
li
{
    list-style-type: disc;
    list-style-position: outside;
    margin-left: 15px;
    margin-bottom: 5px;
}
em
{
    font-style: italic;
}
a:link,
a:hover,
a:visited,
a:active
{
    color: #6e6b87;
}
#header
{
    background-color: #ffffff;
    border-bottom: solid 2px #ffffff;
}
.clear
{
    clear: both;
}
.latest_headline
{
    padding-top: 30px;
    font-weight: bold;
    color: #2c1017;
}
.latest_headline a:link,
.latest_headline a:hover,
.latest_headline a:active,
.latest_headline a:visited
{
    color: #9c96b2;
}
.top_menu
{
    height: 28px;
    background-image: url(Images/menu_background.gif);
    background-position: right top;
    background-repeat: repeat-x;
}
.top_menu_item
{
    float: left;
    height: 28px;
    background-color: #ffffff;
}
.top_menu_item .main_navigation
{
    margin-top: 11px;
    padding-left: 35px;
    background-color: #9b96b3;
}
.top_menu_item .home_section
{
    margin-bottom: 11px;
    background-color: #000000;
    width: 72px;
    height: 16px;
}
.required
{
    color: #6e6b87;
    font-size: 0.9em;
}
.padding_bottom
{
    padding-bottom: 10px;
}
.padding_top
{
    padding-top: 10px;
}
.hand_cursor
{
    cursor: hand;
    cursor: pointer;
}
/*  Validation Summary  */
.feedback_negative
{
    font-size: 0.9em;
}
.feedback_positive
{
    font-size: 0.9em;
}

.force_wrap
{
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

/*RadControl RadComboBox*/
.RadComboBoxDropDown_WebBlue .rcbList {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
}

.RadComboBoxDropDown_WebBlue .rcbList li {
    list-style-position: outside;
    list-style-type: none;
    margin: 0;
}

.RadComboBox_WebBlue td.rcbArrowCell {
    filter: grayscale(1);
}

/* IE8 fix for RadComboBox width */
div.RadComboBox, 
div.pickerWrapper_WebBlue,
div.pickerWrapper_Default  
{ float: left; display: inherit !important; }

/* Site wrapper */
main,
.main_area {
    margin-top: 40px;
    margin-bottom: 40px;
    /* to push footer to the bottom: 100% screen height - margin - header height - footer height */
    min-height: calc(100vh - 80px - 139px - 105px); 
}
.wrapper {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Main Menu */
.main-menu {
    background-color: #666666;
}

.main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    font-size: 1em;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.main-menu li {
    list-style: none;
    border-left: 1px solid #cccccc;
    margin: 0;
    padding: 0;
}
.main-menu li:last-of-type {
    border-right: 1px solid #cccccc;
}
.main-menu li.fill-space {
    flex: 1;
}
.main-menu a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 10px;
}
.main-menu a:hover,
.main-menu a:focus {
    background-color: #c34511;
}

/* Form */
.form-wrapper {
    border: 1px solid #666666;
    padding: 25px;
    margin-bottom: 40px;
}

.form-wrapper__title {
    background-color: #666666;
    color: #ffffff;
    margin-top: -25px;
    margin-left: -25px;
    margin-right: -25px;
    padding: 10px 20px;
    margin-bottom: 25px;
}

.form-wrapper__inner {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.form-wrapper label {
    display: block;
    margin-bottom: 5px;
}
.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #666666;
}
.form-wrapper p {
    margin-bottom: 20px;
}
.form-wrapper p:last-child {
    margin-bottom: 0;
}

a.button,
.button {
    font-size: 14px;
    cursor: pointer;
    background-color: #c34511;
    color: #ffffff;
    padding: 10px;
    border: 0;
    border-radius: 5px;
    text-decoration: none;
}

.button:hover,
.button:focus {
    background-color: #e85f0c;
}

a.button.muted,
.button.muted{
    background-color: #666;
}

a.button.muted:hover,
a.button.muted:focus,
.button.muted:hover,
.button.muted:focus{
    background-color: #999;
}

/* styles copied from codagroup.co.nz for footer */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

footer {
    background: #000;
    width: 100%;
    padding: 20px 0;
    color: #FFF;
    font-size: 14px;
}
footer > .container {
    overflow: hidden;
}
.footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #FFF;
    line-height: normal;
}
.footer__links li {
    display: inline-block;
    margin-right: 20px;
}
.footer__links li a {
    color: #FFF;
}
.footer__copyright {
    line-height: normal;
    color: #fff;
    display: block;
    clear: both;
    margin: 10px 0 0 0;
}
@media (min-width: 768px) {
    footer {
        padding: 0;
    }
    .footer__links {
        float: left;
        line-height: 64px;
    }
    .footer__copyright {
        float: right;
        margin-top: 0;
        clear: none;
        line-height: 64px;
    }
}
@media (min-width: 992px) {
    .footer__links {
        line-height: 100px;
    }
    .footer__copyright {
        line-height: 100px;
    }
}
