@import url("header.css");

* {
    margin: 0;
    padding: 0;
}

:focus {
    outline: 0;
}

body {
    color: #666;
    font: 14px/1.3 "Trebuchet MS", Trebuchet, Tahoma, sans-serif;
    text-align: center;
    background-image: url(../images/body_bg.jpg);
    background-size: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

a {
    color: #0199DA;
    text-decoration: none;
}

b, strong {
    font-weight: bold;
}

u, ins {
    text-decoration: underline;
}

s, strike, del {
    text-decoration: line-through;
}

address {
    font-style: normal;
}

blink {
    text-decoration: blink;
}

big {
    font-size: larger;
}

small {
    font-size: smaller;
}

sub {
    vertical-align: sub;
    font-size: 66%;
}

sup {
    vertical-align: super;
    display: inline;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
    font-size: 8px !important;
    line-height: 0.1em;
}

span {
    display: block;
}

fieldset {
    border: 0px;
}

legend {
    display: block;
    font-size: 13px;
    color: #62bb46;
    margin-bottom: 10px;
}

textarea,
input[type="text"],
input[type="password"] {
    border: 1px solid silver;
    padding: 2px;
}

input[type="hidden"] {
    display: none;
}

input:focus {
    border-color: orange;
}

button {
    cursor: pointer;
}

caption,
p.caption {
    font-size: .8em;
    line-height: 1.1;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 10px;
    background: white;
    /*border-top: 1px solid #999;*/
}

tbody td {
    border-bottom: 1px solid #999;
}

th,
td {
    padding: 2px 4px;
    vertical-align: top;
}

th {
    color: white !important;
    background: #8CCFE9;
}

hr {
    border: 0;
    border-top: 1px solid #CCC;
    background-color: white;
    margin: 16px 0px 0px;
}

/* global link behaviour */
div#content a:hover,
div#footer a:hover {
    text-decoration: underline;
}

/*-- LAYOUT --*/
div#container {
    display: block;
    width: 972px !important;
    width: 996px;
    margin: 0 auto 30px;
    padding: 0 12px 20px;
    text-align: left;
    /*background: white url("../images/header_bg.png") 0px 0px no-repeat;*/
    background-color: white;
    border: 1px solid #ccc;
    border-top: 0;
    /*outline: 1px solid grey;*/
}

/* -- main --*/
div#main {
    position: relative;
    display: block;
    height: 920px;
    min-height: 500px;
    /*margin-bottom: 30px;*/
    border-bottom: 1px solid #ccc;
    background: white url(../images/gradient-up.png) 0 100% repeat-x;
}

div#sidenav {
    display: block;
    float: left;
    width: 170px;
    height: auto !important;
    height: 150px;
    min-height: 150px;
    /*margin-right: 6px;*/
    background-repeat: no-repeat;
    background-position: center 0;
}

div#sidenav form {
    padding: 6px;
}

div#sidenav input[type="text"],
div#sidenav input[type="password"] {
    margin-bottom: 6px;
    width: 140px;
}

div#sidenav ul {
    list-style: none;
    margin-bottom: 6px;
    border-top: 1px solid #9BCE4C;
}

div#sidenav ul li {
    font-size: 12px;
    border-bottom: 1px solid #9BCE4C;
}

div#sidenav ul.mtpc {
    border-top: 0;
}

div#sidenav ul.mtpc li {
    border-bottom: 1px solid #999;
}

div#sidenav ul.mtpc li.first-child,
div#sidenav ul.mtpc li:first-child {
    border: 0;
    padding: 6px 6px 6px 12px;
    color: #fff;
    background-color: #3DB5E6;
    font-weight: bold;
}

div#sidenav ul li a {
    display: block;
    width: 152px !important;
    width: 170px;
    padding: 6px 6px 6px 12px;
    color: #9BCE4C;
}

div#sidenav ul.mtpc li a {
    color: #999;
}

div#sidenav ul li a sup {
    display: none;
}

div#sidenav > ul li a:hover {
    background-color: #EEE;
    color: #3B9ED7;
}

div#sidenav ul li.selected a {
    color: white;
    background-color: #9BCE4C;
}

/* content */
div#content {
    float: left;
    display: block;
    line-height: 1.3em;
    min-height: 300px;
    padding: 0px 20px 20px;
}

div#main div#content {
    height: auto;
}

div#sidebar + div#content,
div#sidenav + div#content {
    width: 700px;
}

div#sidenav + div#sidebar + div#content {
    width: 550px;
}

div#content h1 {
    margin: 20px 0 20px;
    color: #3DB5E6;
    font-size: 24px;
    font-weight: normal;
}

div#content h2 {
    margin: 20px 0 10px;
    font-size: 18px;
    font-weight: normal;
    color: #333;
    line-height: 1.2em;
}

div#content h3 {
    margin-bottom: 5px;
    font-size: 15px;
    text-transform: uppercase;
}

div#content h4 {
    margin-bottom: 5px;
    font-size: 14px;
}

div#content h5 {
    margin-bottom: 5px;
    font-size: 14px;
    text-decoration: underline;
}

div#content p {
    margin-bottom: 10px;
}

div#content dl,
div#content ol,
div#content ul {
    margin-bottom: 20px;
}

div#content blockquote {
    position: relative;
    display: block;
    margin: 25px 25px;
    padding: 10px 25px 1px;
    background-color: #62bb46;
    color: white;
    cursor: pointer;
}

div#content blockquote a {
    color: white;
}

body:not(#home) div#content blockquote {
}

div#content blockquote ul,
div#content blockquote p + p {
    display: none;
}

div#content blockquote p:first-of-type {
    display: block;
    font-size: 13px;
    /*font-weight: bold;*/
}

div#content blockquote span {
    position: absolute;
    right: 5px;
    bottom: 5px;
    display: block;
    width: 10px;
    height: 13px;
    /* background: url("../images/blockquote_arrows.png") center 0 no-repeat;*/
}

div#content blockquote.open span {
    background-position: center 100%;
}

div#content p.download a,
div#content p a[href^="/documents"] {
    padding-left: 15px;
    /* background: url("../images/arrow-download.png") 0 50% no-repeat;*/
}

div#content blockquote a[href^="/documents"] {
    /* background-image: url("../images/arrow-download-white.png");*/
}

div#content dl {
    position: relative;
}

div#content dl dt {
    position: absolute;
    left: 0;
    width: 170px;
    font-weight: bold;
    text-align: right;
}

div#content dl dd {
    margin-bottom: 5px;
    padding-left: 180px;
}

div#content ol,
div#content ul {
    padding-left: 25px;
}

div#content ul {
    /* list-style-image: url("../images/list_bullet-blue.png");*/
}

div#content span ul {
    /* list-style-image: url("../images/list_bullet-blue.png");*/
}

div#content ol li,
div#content ul li {
    margin-bottom: 10px;
}

div#content li p {
    margin: 0;
}

div#content hr {
    margin-bottom: 15px;
}

div#content div.column {
    display: block;
    float: left;
    width: 240px;
    padding: 0 15px;
}

div#content div.column h3 {
    margin-bottom: 10px;
}

div#content a.top {
    display: block;
    padding-left: 15px;
    /* background: url("../images/arrow-up.png") 0 50% no-repeat;*/
}

div#sidebar {
    float: right;
    display: block;
    width: 200px;
    min-height: 200px;
}

div#sidebar a {
    word-wrap: break-word;
}

div#sidebar hr {
    margin-bottom: 5px;
    display: none;
}

div#proposal,
div#related {
    display: block;
    height: auto;
    padding: 18px 18px 6px;
    margin: 0 0 6px;
    color: white;
    background: #8CCFE9;
}

div#proposal2 {
    display: block;
    height: auto;
    padding: 18px 18px 6px;
    margin: 0 0 6px;
    color: white;
    background: #C6ECFA;
}

div#proposal h4,
div#proposal p,
div#related h4,
div#related p {
    margin-bottom: 20px;
}

div#proposal h4 a,
div#related h4 a {
    color: white;
}

div#proposal p a,
div#related p a {
    display: block;
    height: 40px;
    line-height: 40px;
    background: white;
    text-align: center;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

div#tips {
    display: block;
    height: auto;
    padding: 0 18px 6px;
    margin: 0 0 6px;
    background: #C6ECFA;
}

div#tips h3 {
    margin: 0 -18px 12px;
    padding: 4px 6px;
    font-size: 1em;
    color: white;
    background: #65B036;
}

div#tips p {
    font-size: .8em;
}

div#tips p big {
    font-size: 1.8em;
}

div#tips a {
    display: block;
    width: 120px;
    margin: 50px 0 12px;
    /*padding-left: 16px;*/
    /*background: url(../images/arrow-right-green.png) 0 center no-repeat;*/
}

/* -- footer --*/
div#footer {
    position: relative;
    display: block;
    clear: both;
    /*padding: 20px 25px;*/
    padding: 50px 20px 20px;
    font-size: 12px;
    background: white;
}

div#footer img {
    position: absolute;
    top: 26px;
    right: 0;
}

div#footer ul {
    width: 960px;
    clear: both;
    list-style: none;
}

div#footer ul li {
    float: left;
}

div#footer ul li + li:before {
    content: "|";
    padding: 0 6px 0 6px;
}

div#footer ul + ul li:first-child + li:before {
    /* content: url("../images/image-unit"); */ /* webkit workaround */
    width: 100px;
    padding: 3px;
}

div#footer p {
    clear: both;
}

/* -- ERRORS --*/
label.error {
    text-align: right;
    position: absolute !important;
}

input.error {
    background-color: #FFFFBB !important;
}

/*-- COMPONENTS --*/
/* modal overlay */
div#overlay {
    display: none;
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index: 900;
    background-color: black;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60) !important;
    -moz-opacity: 0.6;
    opacity: 0.60;
}

/* sidebar components */
div.box {
    position: absolute;
    display: block;
    width: 176px;
    padding: 1px 12px 0;
    background-color: #eee;
}

div.box hr {
    display: none;
}

/* tmp fix */
div.box ul {
    list-style: none;
    list-style-image: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

img[alt="placeholder"] {
    border: 1px solid #e2e2e2;
}

/* -- SECTIONS --*/
#home.home div#sidenav {
    position: absolute;
    left: 0px;
    top: 220px;
}

#home.home div#content {
    /*width: 565px !important;*/
    width: 354px !important;
    width: 764px;
    padding-top: 219px !important;
    padding-top: 227px;
    /*padding-left: 180px !important;*/
    padding-left: 392px !important;
    padding-left: 372px;
    /* background: url(../images/home_banner.jpg) 0 0 no-repeat;*/
}

#home.home div#content h1 {
    display: none;
}

div#content p a.arrow {
    /*padding-right: 16px;*/
    /*background: url(../images/arrow-right-blue.png) 100% center no-repeat;*/
}

table#about_table {
    width: 500px;
    border: 2.60pt double silver;
    padding: 0.03in
}

table#about_table tr {
    border: 2.60pt double silver;
    padding: 0.03in
}

table#about_table tr td {
    border: 2.60pt double silver;
    padding: 0.03in
}

table#about_table th {
    background-color: #CCC;
    border-top: 2.60pt double silver;
    border-bottom: 2.60pt double silver;
    border-left: 2.60pt double silver;
    border-right: 2.60pt double silver;
    padding-top: 0.03in;
    padding-bottom: 0.03in;
    padding-left: 0.03in;
    padding-right: 0.03in;
}

#home.home div#proposal {
    height: auto !important;
    height: 207px;
    min-height: 182px;
}

#home.home div.announcement {
    color: white !important;
    background: #8CCFE9;
    left: 180px;
    height: 190px;
}

#home.home div.announcement h2 {
    color: white !important;
    margin-bottom: 24px;
}

#home.home div.announcement h2 big {
    display: block;
    margin-bottom: 8px;
    font-size: 2.2em;
}

#home.home div.illustration {
    left: 180px;
    padding: 0;
    background: transparent;
}

#awards div#content span {
    /*display: none;*/
}

#awards div#content span:first-of-type {
    /*display: block;*/
}

#contact_us div#main {
    height: 750px !important
}

#contact_us iframe {
    display: block;
    width: 550px;
    height: 275px;
    /*border: 1px solid red;*/
}

#essential_info div#content h4 {
    padding-left: 24px;
    cursor: pointer;
    /* background: url(../images/arrow_sprite-green.png) 0 0px no-repeat;*/
}

#essential_info div#content h4.open {
    background-position: 0 100%;
    color: #0099CC;
}

#essential_info div#content span {
    display: none;
    margin: 0 0px 12px;
    margin-left: 12px;
    padding: 10px 12px 0;
    background: #F2FCFF;
    border: 1px solid #ccc;
}

span.box {
    display: none;
    width: 530px;
    margin-bottom: 12px;
    padding: 0 12px 6px;
    background: #F2FCFF;
    border-bottom: 1px solid #ccc;
}

span.box:first-of-type {
    /*display: block;*/
}

span.box h2 {
    margin: 0;
    margin: 0 -12px 6px !important;
    padding: 4px 6px;
    color: white !important;
    background: #8CCFE9;
}

span.box table,
span.box table h2 {
    color: #666 !important;
    background: transparent !important;
}

span.box table {
    width: 554px;
    margin: 0 -12px;
}

span.box table h2 {
    padding: 12px 12px 0;
}

span.box td {
    border-color: #ccc;
}

span.box tr:last-child {
    border: 0;
}

span.box td {
    padding: 5px 5px 1px !important;
}

div#content ul.lozenge {
    list-style: none;
    list-style-image: none;
    width: 590px;
    height: 110px;
    margin: 0;
    padding: 0;
}

div#content ul.lozenge li {
    position: relative;
    float: left;
    width: 97px;
    height: 70px;
    margin-right: 12px;
    padding: 12px;
    background: white;
    border: 1px solid #ccc;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

div#content ul.lozenge li a {
    position: absolute;
    left: 10px;
    bottom: 6px;
    font-size: .8em;
    white-space: nowrap;
}

#archive tr {
}

#archive td {
    padding: 5px 5px 1px;
}

#about_the_program span td img,
#archive td img {
    width: 100px;
    height: auto;
}

.hide,
.hidden {
    display: none;
}

.show {
    display: block !important;
}
