/* resety */
/* v1.0 | 20080212 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
body {
    line-height: 1.2em;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
/* remember to define focus styles! */
:focus {
    outline: 0;
}
/* remember to highlight inserts somehow! */
ins {
    text-decoration: none;
}
del {
    text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* layout */
body {
    width: 100%;
    /*background: url('./images/background.png');*/
    min-width: 600px;
    font-family: Helvetica, Verdana, Tahoma, Arial, sans-serif;
}
#blue1 {
    position: absolute;
    width: 100%;
    left: -17em;
    height: 35em;
    background-color: #0066cc;/*#1a82b7;*/
}
#blue2 {
    position: absolute;
    top: 10em;
    right: 17em;
    width: 26%;
    height: 35em;
    background-color: #4ebdff;
}
#blue3 {
    position: absolute;
    top: 30em;
    left: 8em;
    width: 910px;
    height: 35em;
    background-color: #ccffff;
}
#outerwrap {
    position: relative;
    clear: both;
    float: left;
    width: 100%;
    overflow: hidden;
    padding-top: 1em;
}
#innerwrap {
    float: left;
    width: 200%;
    margin-left: -17em;
    position: relative;
    right: 100%;
}
#mainwrap {
    float: left;
    width: 50%;
    position: relative;
    left: 50%;
    padding-bottom: 1em;
}
#main {
    margin: 0 0 0 18em;
    overflow: hidden;
}
#header {
    width: 750px;
    height: 130px;
    margin: 0 auto;
    padding-right: 1em;
    background-color: white;
}
#header .logo {
    display: block;
    float: left;
    background: url('./logo.png') center center no-repeat;
    width: 120px;
    height: 130px;
}

#header h1 {
    border-bottom: 1px solid #0066cc;
    margin-left: 120px;
    padding-left: .5em;
    font-size: 2.5em;
    line-height: 1.9em;
    text-shadow: 1px 1px 3px rgba(0,0,0,.2);
    color: #0066cc;
}
#header h1 strong {
    margin-left: 1.5em;
    font-size: .6em;
}
#header em {
    display: block;
    text-align: right;
    font-size: 1.2em;
    line-height: 2.5em;
    color: #0066cc;
}
#menu {
    width: 766px;
    margin: 1.5em auto 3em auto;
}
#menu li {
    display: inline;
}
#menu li a {
    padding: 5px 9px;
    background-color: #ccffff;
    color: #0066cc;
    border: 2px solid #4ebdff;
    font-size: 1.5em;
    text-decoration: none;
    margin-right: 1em;
}
#menu li a:hover {
    background-color: white;
}
#menu li:last-child a {
    margin-right: 0;
}
#flashes {
    background-color: dodgerblue;
    border: 2px solid white;
    color: white;
    padding: .5em 0;
    text-align: center;
    font-size: 1.3em;
    margin: 0 auto .5em auto;
    width: 765px;
}
#flashes li.error {
    color: tomato;
}
#boxes {
    float: right;
    width: 15em;
    position: relative;
    left: 16em;
}
#boxes a {
    color: black;
    text-decoration: none;
}
.box {
    background-color: white;
    margin-bottom: 1em;
    padding: 1em 1em .3em 1em;
    border: 1px solid #0066cc;
}
.box {
    bbackground-color: rgba(255, 255, 255, .5);
}
.box:hover {
    bbackground-color: rgba(255, 255, 255, .9);
}

.box h1 {
    border-bottom: 1px solid #0066cc;
    font-size: 1.4em;
    padding-bottom: .3em;
    margin-bottom: .3em;
    color: #0066cc;
}
.box h1 a {
    display: block;
    color: #0066cc !important;
}
.box ul {
    list-style-position: outside;
}
.box li {
    list-style-type: circle;
    margin-left: 1.3em;
    margin-top: .5em;
}
.box div.more {
    margin-top: .5em;
    text-align: right;
}
.box div.more a {
    color: orangered;
    border-left: 1px solid #0066cc;
    padding: .3em .3em .3em .5em;
    margin-right: -1em;
}
.box div.more a:hover {
    border: 0;
}
.box form {
    text-align: center;
}
.box form input {
    margin-bottom: .3em;
}
.box form .text {
    width: 145px;
    border: 1px solid black;
}
.box form .button {
    margin-top: .3em;
    height: 1.8em;
    width: 100%;
    border: 1px solid black;
}
.box form .none {
    display: none;
}
.box form ul.error li {
    list-style-type: none;
    color: red;
    margin-bottom: .3em;
}
.box .small {
    font-size: .65em;
    text-align: center;
}
#content {
    background-color: white;
    padding: 1.5em 1em 2em 1em;
    width: 734px;
    margin: 0 auto;
}
#content a {
    text-decoration: underline;
    color: black;
}
#content h1 {
    font-size: 1.6em;
    color: #3300ff;
}
#content h2 {
    font-size: 1.2em;
    margin-top: 1.5em;
    color: #0066cc;
}
#content .item h2 {
    margin-top: 0;
}
#content .item {
    padding: 1em;
    margin-bottom: 1em;
}
#content .item.even {
    background-color: #f0ffff;
}
#content .float {
    float: right;
}
#content .clear {
    clear: both;
}
#content .permalink {
    font-size: .7em;
    float: right;
}
#content .archive {
    display: block;
    text-align: center;
    text-decoration: underline;
    font-size: 1.4em;
    margin-top: 1em;
    color: #0066cc;
}

small {
    font-size: .7em;
}
#content h3 {
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 1em;
}
#content h4 {
    text-decoration: underline;
    font-size: 1.1em;
    margin-top: .5em;
}
#content p {
    margin-top: .8em;
}
#content hr {
    border: 0;
    color: black;
    background-color: black;
    height: 1px;
    margin-top: .8em;
}
#content sup, #content sub {
    position: relative;
    font-size: .8em;
}
#content sup {
    bottom: 1ex;
}
#content sub {
    top: .5ex;
}
#content ul, ol {
    list-style-position: outside;
    margin-top: 0.5em;
}
#content ol > li {
    list-style-type: decimal;
}
#content ul > li {
    list-style-type: disc;
}
#content li {
    margin-top: .3em;
    margin-left: 1.5em;
}
#content li > ul, #content li > ol {
    margin-top: 0em;
}

#content table {
    margin-top: .8em;
    border-collapse: collapse;
}
#content table th, #content table thead {
    color: #4a4a4a;
    background-color: #e6e6e6;
    font-weight: bold;
}
#content table td, #content table th {
    padding: .5em;
    border-color: #b2b2b2;
    border-style: solid;
}
#content table[border='0'] {
    margin-left: -.5em;
}
#content table[border='1'] td {
    border-width: 1px;
}
#content table[border='2'] td {
    border-width: 2px;
}
#content table[border='3'] td {
    border-width: 3px;
}
#content table[border='1'] tr:hover, #content table[border='2'] tr:hover, #content table[border='3'] tr:hover {
    background-color: #f9f9f9;
}
#content table td > *:first-child, #content table th > *:first-child {
    margin-top: 0;
}



a[href^='mailto:'] {
    background: url('./file-icon-email.png') right center no-repeat;
    padding-right: 19px;
}
a[href^='http://'] {
    background: url('./file-icon-external.png') right center no-repeat;
    padding-right: 13px;
}
a[href^='https://'] {
    background: url('./file-icon-external.png') right center no-repeat;
    padding-right: 13px;
}
a.noicon {
    background: none;
    padding-right: 0;
}
#boxes a[href^='mailto:'] {
    background: none;
    padding-right: 0;
}