@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,600,600italic,700");
@import url("reset.css");
@import url("mini-grid.css");

/* Basic */

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    padding-top: 2em;
}

body,
input,
textarea,
select {
    font-family: "Open Sans", sans-serif;
    line-height: 1.5em;
    color: #000;
    font-weight: 300;
    font-size: 13pt;
}

a {
    color: #005677;
    text-decoration: underline;
}

a:hover {
    color: #005677;
}

a img {
    border: 0;
}

b,
strong {
    font-weight: 600;
    color: #000;
}

i,
em {
    font-style: italic;
}

sub {
    position: relative;
    top: 0.5em;
    font-size: 0.8em;
}

sup {
    position: relative;
    top: -0.5em;
    font-size: 0.8em;
}

blockquote {
    padding: 1em 0 1em 1.5em;
    font-style: bold;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000;
    margin: 0.75em 0 0.75em 0;
    font-weight: 700;
    line-height: 1.25em;
}

h1 {
    font-size: 2.5em;
    color: #005677;
}

h2 {
    font-size: 1.75em;
    color: #005677;
}

h3 {
    font-size: 1.25em;
}

em,
i {
    font-style: italic;
}

br.clear {
    clear: both;
}

hr {
    border: 0;
    border-top: solid 1px #000;
    height: 1px;
    margin: 3em 0;
}

p,
ul,
ol,
dl {
    margin-bottom: 1em;
}

.compact {
    margin-bottom: 0;
}

.spaced {
    margin-bottom: 1em;
    margin-top: 1em;
}

.spaced2 {
    margin-bottom: 2em;
    margin-top: 2em;
}

header {
    margin: 0 0 3em 0;
}

header > p {
    font-size: 1.25em;
    margin: 0;
}

/* Tables */

table {
    width: 100%;
    margin-bottom: 0.5em;
}

table caption {
    font-weight: bold;
    text-align: left;
    margin-bottom: 0.5em;
}

table thead {
    background: #005677;
    color: #fff;
}

table th {
    text-align: right;
    padding: 0.25em 0.5em;
    font-weight: 600;
}
table th:first-child {
    text-align: left;
}

table tr {
    border-top: solid 1px #eee;
}
tr:nth-child(even) {
    background-color: #eef0e5;
}

table td {
    padding: 0.1em 0.5em;
    text-align: right;
    margin: 0 0 0 0.25em;
    break-inside: avoid !important;
}
table td:first-child {
    text-align: left;
}


/* Section / Article */

section,
article {
    margin-bottom: 1em;
}

section > :last-child,
article > :last-child,
section:last-child,
article:last-child {
    margin-bottom: 0;
}

body > article {
    margin-bottom: 0;
}

/* Image */

.image {
    display: inline-block;
    position: relative;
}

.image img {
    display: block;
    width: 100%;
}

.image.fit {
    display: block;
    width: 100%;
}

.image.featured {
    display: block;
    width: 100%;
    margin: 0 0 2em 0;
}

.image.left {
    float: left;
    margin: 0 2em 2em 0;
}

.image.centered {
    display: block;
    margin: 0 0 2em 0;
}

.image.centered img {
    margin: 0 auto;
    width: auto;
}

/* List */

ul {
    list-style: disc;
    padding-left: 1em;
    margin-top: -0.75em;
}

ul li {
    padding-left: 0.5em;
    margin-left: 2em;
}

ul li::marker {
  color: #005677;
}

ol {
    list-style: decimal;
    padding-left: 1.25em;
}

ol li {
    padding-left: 0.25em;
}

ol.bold > li::marker {
  font-weight: bold;
}

div.center {
    text-align: center;
}

div.top-menu {
    padding-bottom: 10px;
    margin-bottom: 50px;
    border-bottom: 1px solid #005677;
    align-items: baseline;
}

div.top-menu p {
    vertical-align: bottom;
}

div.hero {    
    background: linear-gradient(to right, #005677, #377a94);
    border-top: 7px solid #005677;
    padding: 2em 2em 2.5em 2em;
    margin-bottom: 2em;
}

div.hero h1, 
div.hero h2, 
div.hero p {
    color: white;
}

nav {
    font-weight: 600;
}

.footer nav {
    margin-top: 1em;
}

nav li {
    display: inline;
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

nav li:after {
    content: " | ";
    font-weight: normal;
}

nav li:last-child:after { 
    content: none; 
}

/* 'Get involved' call outs */
.get-involved p {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: #fff;
    background-color: #005677;
    padding: 20px;
    font-weight: bold;
    margin-bottom: 0;

    /* make boxes the same height, but adjust for wrapping */
    height: 7em;
    @media screen and (max-width: 980px) {
        height: 7.5em;
    }
    @media screen and (max-width: 736px) {
        height: 6em;
    }
    @media screen and (max-width: 550px) {
        height: 7.5em;
    }
    @media screen and (max-width: 320px) {
        height: 8em;
    }
}

.get-involved a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: #fff;
}

.get-involved a:hover {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #000;
}

div.get-involved p:hover {
    background-color: #92CADB;
    color: #000;
    text-decoration: underline;
    text-decoration-color: #000 !important;
}

div.get-involved p:hover ~ a {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #000;
}

.information p {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #000;
    background-color: #92CADB;
    padding: 20px;
    font-weight: bold;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.information img {
    margin-right: 0.5em;
}

div.information p:hover {
    background-color: #F4A67A;
}



.footer {
    margin-top: 1em;
    padding-top: 10px;
    border-top: 1px solid #005677;
}

.footer img {
    width: 100%;
}

.footer p.bottom-image {
    margin-bottom: 0;
    padding-bottom: 0;
}


/* Width specific styling */
/* Large */

@media screen and (max-width: 1280px) {
    body {
        font-size: 12pt;
    }

    input,
    textarea,
    select {
        font-size: 12pt;
    }
}

/* Medium */
@media screen and (max-width: 980px) {
}

/* Small */
@media screen and (max-width: 736px) {
    body,
    input,
    textarea,
    select {
        line-height: 1.75em;
        font-size: 12pt;
        letter-spacing: 0;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 1.25em;
        margin: 0 0 0.4em 0;
    }

    h1 {
        font-size: 2.25em;
        line-height: 1.25em;
    }

    header {
        margin: 0 0 2em 0;
    }

    header > p {
        font-size: 1.25em;
    }

    .footer {
        margin-top: 2.5em;
    }

    hr {
        margin: 1.5em 0 2em 0;
    }

    section,
    article {
        clear: both;
    }
}
