/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}
img {
    border:none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    color: #313130; 
    text-align: left;
    font-family: 'nexa', sans-serif;
}

section, article, nav {
    display:block;   
}
a:link, a:active, a:visited {
    color: inherit;
    text-decoration: none;
}
.tel:hover { 
/* if needed override hover color */
}
nav li {
    display: inline-block;
    text-transform: uppercase;
}
nav ul {
    padding: 0;
    margin: 0;
}
nav li{
    font-weight: bold;
}
nav li li {
    font-weight: normal;
}

ol li, ul li {
    line-height: 1.5em;
}
.contentwrap {
    width:1260px;
    padding: 40px 0;
	margin: 0 auto;
}
.table {
    display: table;
    width:100%;
}
.col {
    display: table-cell;
    vertical-align: top;
}
.half {
    width: 48%;
    display: inline-block;
}

.main-content table {
    width: 100%;
    border-collapse: collapse;
    word-break: break-word;
}
.main-content th,
.main-content td {
    padding: 1%;
    border:0;
}
.main-content tr {
    border: 2px solid #FFF;
}
.main-content tr:nth-child(odd){
    background: #f78000;
    color: #FFF;
}
.main-content tr:nth-child(even){
    background: #f7a541;
    color: #FFF;
}
.main-content img {
    max-width:100%;
}

/*** text ***/
.main-content h1, 
.main-content h2, 
.main-content h3, 
.main-content h4 {
    text-transform: uppercase;
    clear:both;
}
.no-wrap {
    white-space: nowrap;
}
.thin {
    font-weight: normal;
}

/* global form styles */
form button {
    border:0;
}
input {
    position: relative;
}
label.infield {
    position: absolute;
    z-index:2;
}


/* ==========================================================================
   Header
   ========================================================================== */
.top-bar {
    background: #2aa48d;
    color: white;
}
.top-bar .contentwrap {
    text-align: right;
    padding: 0;
}
#header-menu {
    display:inline-block;
    vertical-align: top;
    text-align: left;
    box-sizing: border-box;
}
#header-menu a {
    display:inline-block;
    vertical-align: top;
    height: 50px;
    line-height: 50px;
    box-sizing: border-box;
    padding: 0 15px;
}
#header-menu .contact {
    padding-left: 40px;
    background: url(../img/contact.svg) no-repeat;
    background-size: 15px 22px;
    background-position: 10px center;
}
#header-menu .news {
    padding-left: 40px;
    background: url(../img/news.svg) no-repeat;
    background-size: 17px 17px;
    background-position: 10px center;
}

.top-bar form {
    position: relative;
    display:inline-block;
    vertical-align: top;
    text-align: left;
    color: #4ebda8;
    width: 150px;
    height:50px;
}
#hsearch-submit { 
    background:#4ebda8 url(../img/search.svg) no-repeat;
    background-size: 20px 20px;
    background-position: 10px center;
    height: 50px;
    line-height: 50px;
    display: inline-block;
    width:40px;
    position: absolute;
    top:0;
    right:0;
    z-index: 20;
    cursor: pointer;
}
#hsearch {
    display:inline-block;
    vertical-align: top;
    width: 100%;
    padding-left: 20px;
    padding-right: 40px;
    background: #FFF;
    color: #4ebda8;
    height: 50px;
    line-height: 50px;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid #4ebda8;
}
.top-bar label {
    padding-left: 20px;
    height:50px;
    line-height: 50px;
}
#fb {
    display:inline-block;
    vertical-align: top;
    width: 50px;
    height: 50px;
    background: #4b73d8 url(../img/fb.svg) center no-repeat;
    background-size: 15px 30px;
}
#fb a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

/**** header-menu hidden on splash page ****/
.header-menu .contentwrap {
    position: relative;
    padding:0;
    padding-left: 265px;
    min-height: 58px;
    box-sizing: border-box;
}
#mobile-menu {
    display: none;
    background: #2aa48d url(https://keo-cms.appspot.com.storage.googleapis.com/sites/dorothea/app_files/img/menu-icon.svg) center no-repeat;
    background-size: 24px;
    font-size: 24px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border: 1px solid white;
    padding: 8px;
    width: 24px;
    height: 24px;
    margin: 10px 0;
    cursor: pointer;
}
h1.logo {
    position: absolute;
    top:0;
    left:0;
    margin:0;
}
header nav {
    width: 100%;
    padding-left:20px;
}
header li.top {
    position: relative;
    width: 25%;
    font-weight: bold;
    text-align:left;
    vertical-align:top;
    height:60px;
}
header li.top > a {
    display: table;
    width: 100%;
    height:100%;
}
header nav span {
    padding:5px;
    display:block;
}
header li.top > a > span {
    display:table-cell;
    vertical-align:middle;
}
header li.top > ul{
    display: none;
    position: absolute;
    left:0;
    right:0;
    top:100%;
    text-align: left;
    width: 100%;
    z-index:1000;
}
header li li ul > li span {
    padding-left: 20px;
}
/* text */
header li.top:nth-child(1){
    color: #2aa48d;
    background: #FFF;
}
header li.top:nth-child(2) {
    color: #fac011;
    background: #FFF;
}
header li.top:nth-child(3)  {
    color: #ec3708;
    background: #FFF;
}
header li.top:nth-child(4) {
    color: #f7a541;
    background: #FFF;
}

header li.has-sub li {
    display: block;
    padding:0;
    width: 100%;
    border-top: 0;
    box-sizing: border-box;
    text-transform: none;
}
header li.has-sub li:before {
    border-style: none;
}

header li.has-sub:hover ul {
    display:block;
}
/* background + text hover states */
header li.top:nth-child(1):hover ul,
header li.top:nth-child(1):hover{
    color: #FFF;
    background: #2aa48d;
}
header li.top:nth-child(1) li:hover {
    background: #FFF;
    color: #2aa48d;
}

header li.top:nth-child(2):hover li,
header li.top:nth-child(2):hover {
    color: #FFF;
    background: #fac011;
}
header li.top:nth-child(2) li:hover {
    background: #FFF;
    color: #fac011;
}

header li.top:nth-child(3):hover li,
header li.top:nth-child(3):hover {
    color: #FFF;
    background: #ec3708;
}
header li.top:nth-child(3) li:hover {
    background: #FFF;
    color: #ec3708;
}

header li.top:nth-child(4):hover li,
header li.top:nth-child(4):hover {
    color: #FFF;
    background: #f7a541;
}
header li.top:nth-child(4) li:hover {
    background: #FFF;
    color: #f7a541;
}


/* footer + home nav styles */
.nav-block li.top li,
#site-map li.has-sub li {
    position: relative;
    display: block;
    padding: 2% 0;
    padding-left: 20px;
    text-transform: capitalize;
    border-top: 1px solid #FFF;
}
.nav-block li.top li:before,
#site-map li.has-sub li:before {
    content:"";
    position: absolute;
    top: 10px;
    left:0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 7px;
    border-color: transparent transparent transparent #ffffff;
}
/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: #2aa48d;
    color: #FFF;
    margin-top: 152px;
}
footer .contentwrap {
    padding-bottom: 0;
}
footer .wrapper {
    position: relative;
    margin-top: -152px;
    width: 100%;
    border: 5px solid #FFF;
    border-bottom:0;
    box-shadow: 0px -4px 2px 2px rgba(0,0,0,0.28);
    z-index: 2;
}

#site-map {
    display: table;
    position: relative;
    width: 100%;
    padding-right: 20%;
    box-sizing: border-box;
}

#site-map li.top {
    display: table-cell;
    width: 20%;
    text-align: left;
    padding: 0 2%;
    padding-bottom: 55px; /*bykeo*/
    box-sizing: border-box;
    vertical-align:top;
}
#site-map li.top:nth-child(1) {
    background: #2aa48d;
}
#site-map li.top:nth-child(2) {
    background: #fac011;
}
#site-map li.top:nth-child(3) {
    background: #ec3708;
}
#site-map li.top:nth-child(4) {
    background: #f7a541;
}
#site-map li.top > a {
    display:inline-block;
    vertical-align: top;
    font-weight: bold;
    min-height: 66px;
    margin: 10% 0;
}
#site-map li ul {
    text-align: left;
}

.bykeo { 
    position: absolute;
    bottom: 0;
    left:0;
    right:0;
    display: block;
    text-align: center;
    font-size: 12px;
    padding: 10px;
    padding-bottom: 20px;
}
.bykeo a {  color: #000; }
.bykeo img {
    vertical-align: middle;
    display: inline-block;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}
.bykeo a:hover img{
    -webkit-transform:rotate(360deg);
    transform:rotate(360deg);
}

footer .contact {
    position: absolute;
    top:0;
    bottom: 0;
    right:0;
    display: table-cell;
    padding: 0 1%;
    width: 20%;
    background: #faca66;
    box-sizing: border-box;
}

footer .contact h4 {
    text-transform: uppercase;
    font-weight: bold;
    min-height: 66px;
    margin: 10% 0;
    width: 100%;
}
footer .contact p {
    text-align: left;
    margin: 0;
    padding: 2% 0;
    width: 100%;
    border-top: 1px solid #FFF;
    box-sizing: border-box;
}
footer .contact a {
    max-width: 100%;
    word-wrap: break-word;
    box-sizing: border-box;
}
/* ==========================================================================
   Splash Page 
   ========================================================================== */
/**** hide header nav ****/
.home .header-menu {
    display: none;
}
/**** Home Banner ****/
.banner .contentwrap {
    padding: 0;
    height: 100%;
}
.home .banner {
    width: 100%;
    height: 100%;
    padding-bottom: 240px;
    /* height: 46vw; */
    text-align: center;
    background: url(../img/HomeBanner.jpg) no-repeat;
    background-size: cover;
    background-position:left;
    position:relative;
}
.banner-text {
    padding: 40px 0;
    padding: 3% 0;
    color: #FFF;
}
.banner-text h1 {
    font-family: "bistro-script-web", arial, sans-serif;
    font-size: 83px;
    font-size: 5vw;
    line-height: 95px;
    line-height: 6vw;
    margin:0;
}

/** awards svg **/
a.awards {
    display: inline-block;
}
#awards .cls-1 {
    transition: fill 1s ease-in-out;
}
a.awards:hover .cls-1 {
    fill: #2aa48d;
}
#awards {
    width: 200px;
    height: 200px;
    max-width: 100%;
    max-height: 100%;
}

/******* home navigation **********/
#home-nav {
    background: #f3f2f2;
}
#home-nav .contentwrap {
    position:relative;
    padding:0;
}
.table.nav-block {
    margin-top: -19%;
    height: 16vw;/* reset by js */
    min-height: 25%;
    border: 5px solid #FFF;
    box-shadow: 0px 4px 2px 2px rgba(0,0,0,0.28);
}

.table.nav-block .col {
    vertical-align:bottom;
    width: 25%;
    height: 16vw;/*reset by js */
    min-height: 25%;
    box-sizing: border-box;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    cursor:pointer;
}

/* backgrounds */
.home .col:nth-child(1) {
    background-image: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/dorothea/app_files/img/awards.jpg);
}
.home .col:nth-child(2) {
    background-image: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/dorothea/app_files/img/memorial.jpg);
}
.home .col:nth-child(3) {
    background-image: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/dorothea/app_files/img/centre.jpg);
}
.home .col:nth-child(4) {
    background-image: url(../img/dorothea.jpg);
}
/* lists */
.nav-block li.top {
    display:block;
    color: white;
    padding:0 10%;
}
.nav-block .table {
    min-height: 66px;
    padding: 10px 0;
}
.nav-block li.top .table > a {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
 /*   display: inline-block;
    min-height: 66px;
    padding: 8% 0; */
}
.nav-block li.top li a {
    min-height: auto;
    margin: 0;
}
.nav-block ul {
    height: 84px;
     -webkit-transition:height 500ms ease;
    transition:height 500ms ease;
}
.nav-block ul:hover {
    height: 100%;
}
.nav-block li ul {
    height: auto;
    text-align: left;
    opacity: 0; 
    -webkit-transition: opacity 300ms ease; 
    transition: opacity 300ms ease;
}
.nav-block ul:hover li ul {
    opacity:1; 
}
.nav-block li.has-sub:hover li.has-sub {
    height: 100%;
}
.nav-block li li { 
    text-transform: capitalize;
    font-weight: normal;
    padding: 1%;
    padding-left:20px;
}

/****** background categories ******/
.nav-block .col:nth-child(1) ul {
    background: #2aa48d;
}
.nav-block .col:nth-child(2) ul {
    background: #fac011;
}
.nav-block .col:nth-child(3) ul  {
    background: #ec3708;
}
.nav-block .col:nth-child(4) ul  {
    background: #f7a541;
}

/*** news section ***/
.home-news {
    color: #2aa48d;
    padding-top: 15px;
    background: #f3f2f2;
}
.home-news h2,
.partners h2 {
    font-family: "bistro-script-web", arial, sans-serif;
    font-size: 50px;
    text-align: center;
    margin-top: 0;
}

.home-news a article {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    width: 16%;
    margin-right: 5%;
}
.home-news a:last-of-type article {
    margin-right: 0;
}

.home-news article div {
    padding-top: 60%;
}

/*** partners section ***/
.partners h2 {
	color: #fac011;
}
.partners img {
    margin: 2.2%;
    margin-top: 0;
    max-width: 100%;
}

/* ==========================================================================
    Page Example
 ========================================================================== */
.banner {
    height: 50%;
    height: 24vw;
    background-image: url(../img/Homebanner.jpg);
    background-repeat:no-repeat;
    background-position: center;
    background-size: cover;
    position:relative;
}

.banner-bar{ 
    text-align: left;
} 

.banner-bar .contentwrap {
    position: relative;
    padding: 0;
    padding-right: 410px;
    box-sizing: border-box;
}
.banner-bar h2 {
    display: inline-block;
    vertical-align: top;
    margin:0;
    padding: 2% 0;
    font-family: "bistro-script-web", arial, sans-serif;
    font-size: 40px;
}
.banner-bar .banner-bar-menu {
    position: absolute;
    width: 400px;
    top:0;
    bottom: 0;
    right: 0;
    text-transform: uppercase;
    text-align:center;
}
.banner-bar .awards-menu,
.banner-bar .awards-menu ul,
 .banner-bar .awards-menu li {
    height:100%;
}
.banner-bar .awards-menu li {
    display:inline-block;
    width: 49%;
    vertical-align:top;
}
.banner-bar .awards-menu a {
    display: block;
    padding: 20px 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    vertical-align: middle;
    margin: 0;
    color:#fff;
    border:2px solid transparent;
}
.banner-bar .awards-menu a:hover {
    background:#fff;
    color: #148670;
}
.banner-bar .awards-menu .title {
    display:block;
    font-weight:bold;
}
.banner-bar .awards-menu .subtitle {
    font-weight: normal;
}

/*** table layout ***/
.row {
    display: table;
    width:100%;
    box-sizing: border-box;
}
.sidebar nav li {
    display: block;
    width: 100%;
    box-sizing: border-box;
}
.sidebar nav li a {
    display: block;
    padding: 4%;
    width: 100%;
    box-sizing: border-box;
}
.sidebar nav li li a {
    padding: 0 4%;
}

.spacer {
    width:4%;
}

.main-wrap {
    width: 1260px;
    padding-top: 2%;
    margin:0 auto;    
    box-sizing: border-box;
}
.main-content {
    text-align: left;
    width: 75%;
    box-sizing: border-box;
    word-break: break-word;
}

/* Make sure initial header has no top margin */
.main-content > *:first-child {
    margin-top: 0;
}

.main-content section {
    position: relative;
    padding-bottom: 40px;
}
.content { 
    position: relative; 
}
.main-content section:after {
    content: "";
    display: block;
    clear: both;
}

.register img {
    float: left;
    margin-right: 2%;
    max-width: 100%;
}

/* ========== body category colours ========== */
/* no category default */
.banner-bar, 
.sidebar li,
.sidebar li.active, 
.sidebar li a:hover,
th {
    background:#2aa48d;
    color: #FFF;
}
.main-content a {
    color: #2aa48d;
}
/*****/
.awards .banner,
.default .banner {
    height:30vw;
}
.banners-awards .banner {
    display: block;
    height:30vw;
}
.banners-awards .banner-content,
.banners-awards .banner-navigation {
    display: none;
}
.awards .main-content .orange-button a,
.society .main-content .orange-button a,
.centre .main-content .orange-button a,
.mackellar .main-content .orange-button a {
    display: inline-block;
    padding: 10px 20px;
    color: #FFF;
}

.awards .sidebar li.active,
.awards .sidebar li a:hover,
.awards th {
    background:#2aa48d;
}
.awards .sidebar li{
    background: #148670;
    color: #FFF;
}
.awards h3, 
.awards .main-content a {
    color: #2aa48d;
}
/*****/
.society .banner {
    background-image:url(../img/society-banner.jpg);
}
.society .banner-bar div a {
    color: #fac011;
    border: 2px solid #fac011;
}
.society .banner-bar,
.society .sidebar li.active,
.society .sidebar li a:hover,
.society th {
    background:#fac011;
}
.society .sidebar li ,
.society .banner-bar div a:hover{
    background: #d9a70e;
    color: #FFF;
}
.society h3,
.society .main-content a {
    color: #fac011;
}
/*****/
.centre .banner {
    background-image:url(../img/centre-banner.jpg);
}
.centre .banner-bar, 
.centre .sidebar li.active, 
.centre .sidebar li a:hover, 
.centre th {
    background: #ec3708;
}.centre .sidebar li, 
.centre .banner-bar div a:hover{
    background: #bb2e09;
}
.centre h3, 
.centre .main-content a {
    color: #ec3708;
}
/*****/
.mackellar .banner {
    background-image:url(../img/dorothea-banner.jpg);
}
.mackellar .banner-bar,
.mackellar .sidebar li.active,
.mackellar .sidebar li a:hover,
.mackellar th {
    background: #f7a541;
}.mackellar .sidebar li,
.mackellar .banner-bar div a:hover{
    background: #cf8b37;
}
.mackellar h3,
.mackellar .main-content a {
    color: #f7a541;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
#address-block {
    padding-top: 40px;
    display: table;
    width: 100%;
}
.contact-address {
    display: table-cell;
    vertical-align: top;
    text-align: left;
    font-weight: bold;
    width: 50%;
    padding: 1%;
    box-sizing: border-box;
}
/*** contact form! ***/
#contactForm input {
    position: relative;
    height: 30px;
    line-height: 30px;
    padding-left:10px;
    width: 49%;
    box-sizing: border-box;
}
#contactForm label.infield {
    position: absolute;
    display: inline-block;
    color: gray;
    height: 30px;
    line-height: 30px;
    padding-left: 10px;
    z-index: 2;
}

textarea, button {
    display: inline-block;
    padding: 10px;
    width: 99%;
    box-sizing: border-box;
}
textarea {
    font-family: 'nexa', Arial, sans-serif;
    height: 173px;
}

button {
    background: #2aa48d;
    border: 0;
    color: white;
    text-transform: uppercase;
}

.contact-map {
    position: relative;
    display: table-cell;
    width: 50%;
    height: 400px;
    box-sizing: border-box;
}
#map-click {
    display: none;
    width: 100%;
    height: 400px;
    position: relative;
    z-index: 10;
}
.contact-map iframe {
    position: absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width:1300px){
    /*Slightly above the size where the content wrap no longer expands. */
    .table.nav-block {
    /*  margin-top: -200px; */
    }
}
@media only screen and (max-width:1370px){
    /* re-arrange footer */
    #site-map {
        padding-right: 0;
    }
    #site-map li.has-sub {
        width: 25%;
        padding-bottom: 1%;
    }
    footer .contact {
        position: static;
        display: block;
        width: 100%; 
        padding-bottom: 55px;
    }
    footer .contact h4 {
        display:block;
        min-height: auto;
        margin: 0;
        padding: 2%;
        box-sizing: border-box;
    }
    footer .contact .block {
        display: inline-block;
        vertical-align: top;
        width: 48%;
        padding-left: 2%;
        box-sizing: border-box;
    }
    footer .contact .block:first-of-type {
        border-right: 1px solid #FFF;
        padding-right: 2%;
        padding-left:0;
    }
    footer .contact .block:first-of-type p {
        text-align: right;
    }
    footer .contact p {
        border-top: 0;
    }
}
@media only screen and (max-width:1360px){
    .contentwrap, 
    .main-wrap {
        width: 90%;
    }
    header li.top {
        /* undo fixed height IE needs - results in slight menu inconsistency. IE9 won't look good under this width*/
        height:auto;
    }
}

@media only screen and (max-width:1150px){
    /* home nav */
    .home .banner {
       height: auto;
       padding-bottom: 6%;
    }
    .banner-text h1 {
        margin-top:0;
        font-size: 40px;
        line-height: 50px;
    }
    .banner-text h2 {
        font-size: 20px;
        margin-top:0;
    }
    .table.nav-block {
        position: static;
        bottom: 0;
        margin: 0 auto;
        width: 90%;
        height: auto;
        margin-top: -6%;
    }
    .table.nav-block .col {
        display: inline-block;
        position: relative;
        width: 50%;
    }
    .table.nav-block .col > ul {
        position: absolute;
        bottom: 0;
        left: 0;
        right:0;
    }
    /*=== contact map ===*/
    #map-click {
        display: block;
    }
}

@media only screen and (max-width:950px){
    .home .banner {
        padding-bottom: 0;
    }
    /* footer li's 50% */
    #site-map  {
       display: none;
    }
    /* splash */
    .news article {
        width: 30%;
    }

    .header-menu .contentwrap {
        padding-left: 0;
    }
    /* mobile nav */
    #home-nav { /* hide splash nav table */
        display: none;
    }
    .home .header-menu {
        display: block;
    }
    #mobile-menu {
        display:inline-block;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 110;
    }
    header nav {
        display: none;
        position: absolute;
        top: 45%;
        right: 0;
        width: 100%;
        z-index: 100;
    }
    header li.top {
        height:auto;
    }
    header li.has-sub {
        display: block;
        width: 100%;
        border: 1px solid #000;
    }
    header li.has-sub ul {
        display: none;
        position: static;
    }
    header li.has-sub:hover ul {
        display: none;
    }
    header nav li, 
    header nav a {
        display: block;
        text-align: center;
        visibility: visible;
        opacity: 1;
        padding: 10px 0;
        border: 1px solid #FFF;
    }
    header nav li.has-sub a {
        border: 0;
    }
    header li li ul > li a {
        padding-left: 0;
    }
    header nav li.has-sub li:first-child {
        border-top: 1px solid #FFF;
    }
    header nav a:hover header li.has-sub ul {
        display:block;
    }
    
    .home .banner-text {
         padding: 20px 0;
    }
    #awards .cls-1 {
        fill: #2aa48d;
    }
    .home .news {
        padding-top: 0;
    }

    .home-news a article {
        width:28%;
    }
    
    /* break page table layout */
    .col.sidebar, 
    .col.main-content {
        display: block;
        width: 100%;
    }
    .col.main-content {
        padding-top: 40px;
    }
    .col.spacer {
        display: none;
    }
    
}

@media only screen and (max-width:800px) {
    /* stack page banner-text */
    .banner-bar .contentwrap {
        text-align: center;
        padding-right: 0;
    }
    .banner-bar h2 {
        display: block;
        width: 100%;
    }
    .banner-bar .banner-bar-menu {
        position: static;
        display: block;
        margin: 0 auto;
        max-width: 100%;
    }
    .banner-bar .banner-bar-menu > div {
        height: 120px;
    }
}

@media only screen and (max-width: 750px){
    .home .news article {
        width: 43%;
        margin-bottom: 5px;
    }
    .banner,
    .awards .banner,
    .default .banner {
        height: 200px;
    }
    .awards .banner,
    .default .banner {
        background-position: 80%;
    }
    .home .banner {
        display:block;
    }

    .home-news a article {
        width:100%;
    }

}

@media only screen and (max-width: 700px){
    /* splash headings */
    .news h2, .partners h2 {
        margin-top:0;
        font-size: 30px;
    }
}

@media only screen and (max-width:600px){  
    footer .contact .block {
        width: 100%;
        padding: 0;
    }
    footer .contact .block p {
        text-align: center;
    }
    footer .contact .block:first-of-type {
        border-right: 0;
        padding: 0;
    }
    footer .contact .block:first-of-type p {
        text-align: center; 
    } 
}

@media only screen and (max-width:550px){
    .home .banner {
        min-height: 200px;
    }
    .banner-text h1 {
        margin-top:1vw;
    }
    .home .news article {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    /* restyle content tables ? */
}

@media only screen and (max-width:600px){
    .top-bar .contentwrap {
        width: 100%;
    }
    .top-bar #contact {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    .top-bar #contact a {
        text-align: left;
        max-width: 100%;
        box-sizing: border-box;
    }
    .top-bar form {
        width: 80%;
        box-sizing:border-box;
    }
    .top-bar #fb {
        width: 20%;
    }
    .banner-bar .table-wrapper {
        width: 100%;
    }
    .banner-bar .table div {
        display: block;
        width: 100%;
    }
    .banner-bar .table div a {
        line-height: 40px;
    }
    
}
@media only screen and (max-width: 450px){
    .banner-text h1 {
         margin-top: 20px;
    }

    .header-menu .logo img{
        max-width:80%;
    }
}

/***** News Index *****/
.news-index .news-item {
    display:table;
    width:100%;
    margin-bottom:30px;
}
.news-index .news-item .news-image-col {
    width:200px;
    padding-right:20px;
}
.news-index .news-item .news-image-col > div {
    padding-top: 60%;
}
.news-index .news-item .news-item-col {
    display:table-cell;
    vertical-align:top;
    text-align:left;
}
.news-index .news-item h4 {
    margin-top:0;
}
.news-index .news-item .date {
    color:#ccc;
    font-size:12px;
}
.paging .button {
    display: inline-block;
    vertical-align: top;
    background: #2aa48d;
    color: #FFF !important;
    padding: 10px 20px;
    border-radius: 10px;
    -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow:    0px 1px 3px 0px rgba(0, 0, 0, 0.5);
    box-shadow:         0px 1px 3px 0px rgba(0, 0, 0, 0.5);
    margin: 10px 5px:
}
.paging .button:hover {
    -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
    -moz-box-shadow:    0px 0px 0px 0px rgba(0, 0, 0, 0);
    box-shadow:         0px 0px 0px 0px rgba(0, 0, 0, 0);
}
.button.prev {
    margin-left:0;
}
.button.next {
    margin-right: 0;
    float:right;
}

/***** News Item ***/
.news-item .graphic {
    max-width: 500px;
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}
.news-item:after {
    content:"";
    display: block;
    clear: both;
}

@media only screen and (max-width:760px) {
    .news-index .news-item .news-item-col {
        display:block;
        width:100%;
    }
    .news-item .graphic {
        max-width: 100%;
    }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}
/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* Generated by Font Squirrel (http://www.fontsquirrel.com) on February 9, 2016 */
@font-face {
    font-family: 'nexa';
    src: url('nexa_bold.eot');
    src: url('nexa_bold.eot?#iefix') format('embedded-opentype'),
         url('nexa_bold.woff2') format('woff2'),
         url('nexa_bold.woff') format('woff'),
         url('nexa_bold.ttf') format('truetype'),
         url('nexa_bold.svg#nexa_boldregular') format('svg');
    font-weight: bold;
    font-style: normal;

}
@font-face {
    font-family: 'nexa';
    src: url('nexa_light.eot');
    src: url('nexa_light.eot?#iefix') format('embedded-opentype'),
         url('nexa_light.woff2') format('woff2'),
         url('nexa_light.woff') format('woff'),
         url('nexa_light.ttf') format('truetype'),
         url('nexa_light.svg#nexa_lightregular') format('svg');
    font-weight: normal;
    font-style: normal;

}