/*! 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;
}

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;
    border: 0;
    max-width: 100% !important;
}
img {
    height: auto !important;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
    border:0;
}

.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;
    text-align: center;
}

section, article, nav {
    display:block;   
}
a:link, a:active, a:visited {
    color: inherit;
    text-decoration: none;
}
.tel:hover { 
/* if needed override hover color */
}
nav ul {
    padding: 0;
    margin: 0;
}
nav li {
    display: inline-block;
    text-transform: uppercase;
}
nav li a {
    display: inline-block;
    padding: 20px 12px;
}
nav li.active {
    position:relative;   
}
.contentwrap {
    width:1260px;
    padding: 40px 0;
    padding-bottom: 80px;
	margin: 0 auto;
    text-align: center;
}
.table {
    display: table;
    width:100%;
}
.col {
    display: table-cell;
    vertical-align: top;
}
.half {
    width: 48%;
    display: inline-block;
}
.col.half {
    display: table-cell;
    width: 50%;
}

/*** text ***/
h1, h2, h3, h4 {
    text-transform: uppercase;
}
.no-wrap {
    white-space: nowrap;
}
.inline { 
    display: inline;
}
.thinner {
    font-weight: normal;
}
.grey {
    color: #a7a5a5; 
}

/*** global form styles ***/
form input, 
form button {
    border:0;
}
input {
    position: relative;
}
label.infield {
    position: absolute;
    display: inline-block;
    color: #2d2c2c;
    padding-left:10px;
    line-height: 30px;
    z-index: 2;
}
label.error {
    color: red;
}

/* ==========================================================================
   Header
   ========================================================================== */
header {
    background: #04264d;
    color: #FFF;
    min-height: 65px;
}
header .contentwrap{
    position: relative;
    padding: 0;
    box-sizing: border-box;
}
header h1 {
    margin: 0;
}
header .logo {
    position: absolute;
    top:0;
    left:50%;
    margin-left: -15%;
    width:30%;
    padding:0 10px;
    box-sizing: border-box;
    z-index: 110;
}
#mobile-menu {
    position: relative;
    display: none;
    float: right;
    background: #04264d url(https://keo-cms.appspot.com.storage.googleapis.com/sites/austin/app_files/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;
    cursor: pointer;
    z-index: 200;
}
header nav  {
    display: inline-block;
    width: 100%;
    padding: 12px 0;
    box-sizing:border-box;
    text-transform: uppercase;
}
 ul.split-menu-left {
    display: inline-block;
    width: 50%;
    padding-right: 14%;
    box-sizing: border-box;
 }

ul.split-menu-right {
    display: inline-block;
    width: 50%;
    padding-left: 14%;
    box-sizing: border-box;
}
/** header sub-navs **/
header nav ul.split-menu-left > li,
header nav ul.split-menu-right > li {
    position: relative;
}
header nav li > ul {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -85px;
    width: 170px;
    display: block;
    background: #FFF;
    text-align: left;
    color: #04264d;
    z-index: 150;
    -webkit-box-shadow: 0px 5px 22px -2px rgba(0,0,0,0.6);
    -moz-box-shadow: 0px 5px 22px -2px rgba(0,0,0,0.6);
    box-shadow: 0px 5px 22px -2px rgba(0,0,0,0.6);
    display: none;
}

header nav li:hover > ul {
    display: block;
}
header nav li > ul > li {
    display: block;
}
header nav li > ul > li > a {
    display: block;
    padding: 12px;
}
/** hide **/
header nav li > ul > li > ul,
header nav li > ul > li:hover > ul,
nav li .menu-icon,
nav li .subtitle {
    display: none;
}


/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: #031f40;
    color: #FFF;
    box-shadow: 0px 0px 1px 1px #999;
}
footer .contentwrap {
    position: relative;
    padding-top: 40px;
    padding-bottom: 0;
    padding-right: 300px;
    box-sizing: border-box;
}

footer .logo {
    position: absolute;
    top:0;
    right:0;
    display: inline-block;
    height: 124%;
    width: auto;
    box-sizing: border-box;
}

/** enews **/
#subscribe {
    min-height: 70px;
}
#subscribe-result h3 {
    color: #9cc9ff;
    margin: 0;
}
#enews {
    max-width: 500px;
    padding-right: 40px;
    box-sizing: border-box;
    margin: 0 auto;
}
form#enews .half {
    display: inline-block;
    width: 50%;
    padding-right: 0.5%;
    box-sizing: border-box;
}
#enews p {
    padding-bottom: 1%;
}
#enews label.error {
    position: static;
    font-size: 12px;
}
#enews input {
    height: 40px;
    line-height: 40px;
}
#enews label {
    line-height: 40px;
}
form#enews > p {
    display: inline-block;
    width: 50%;
    padding-right: 45px;
    padding-right: calc(40px + 0.5%);
    box-sizing: border-box;
}
#enews button {
    position: absolute;
    top:0;
    right:0;
    width: 40px;
    height: 40px;
    background-color: #9cc9ff;
    color: #04264d;
    font-weight: bold;
}



/** menu **/
.site-map {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
}
.site-map li > ul {
    /* hide sub menus */
    display: none;
}

.bykeo { 
    display: block;
    background: #01142a;
    text-align: center;
    font-size: 12px;
    padding: 10px;
    padding-bottom: 20px;
}
.bykeo a {  color: grey; }
.bykeo img {
    vertical-align: middle;
    display: inline-block;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
.bykeo a:hover img{
    transform-origin: center;
    transform: translateX(-200%) rotate(-360deg);
}

/* ==========================================================================
   Splash
   ========================================================================== */
#banners {
    overflow: hidden;
    height: 660px;
    height: 72vh;
    width: 100%;
}
#banners .banners.banners-home {
    width: 100%;
    height: 100%;
}
#banners .banner-stage {
    display: table;
    width: 100%;
    height: 100%;
    table-layout:fixed;
}
.banner {
    position:relative;
    display: table-cell;
    width: 20%;
    height: 100%;
    vertical-align: bottom;
    border-top: 4px solid #FFF;
    border-bottom: 4px solid #FFF;
    border-left: 2px solid #FFF;
    border-right: 2px solid #FFF;
    transition: width 1s ease-in-out;
}
.banner:hover {
    width: 100%;
}
.banner.banner-image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.banner:hover {
    z-index:50;
}
.banner-content {
    position: absolute;
    bottom:0;
    left:0;
    display: inline-block;
    width: 100%;
    padding: 20px;
    background: transparent;
    background: rgba(0,0,0,0.4);
    color: #FFF;
    font-size: 20px;
    text-transform: uppercase;
    box-sizing: border-box;
}
/** under banners text **/
.over-view {
    background: #04264d;
    color: #FFF;
    padding-bottom: 40px;
}
.over-view h2 {
    font-weight: normal;
}

/** sections **/
#facilities {
    position: relative;
}
#facilities .contentwrap {
    padding-bottom: 100px;
}
.facilities-wrap {
    position: relative;
    margin-top: -60px;
}
.facilities-wrap:before {
    content: "";
    position: absolute;
    left: 50%;
    margin-left: -100px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 100px 100px 100px;
    border-color: transparent transparent #ffffff transparent;
    z-index:0;
}
.facilities-icon {
    position: relative;
    top: 20px;
    display: inline-block;
    width: 45px;
    height: 65px;
    background: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/austin/app_files/img/BBQ.svg) no-repeat;
    background-size: contain;
    z-index;1;
}

/* contact info section */
.swim-bar {
    position: relative;
    color: #FFF;
    background: #031f40;
    border-bottom: 2px solid #FFF;
}
.swim-bar:before{
    content:"";
    position: absolute;
    bottom: 100%;
    left: 0;
    display: block;
    width: 100%;
    height: 18px;
    background-image: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/austin/app_files/img/wave-tile.png);
    background-repeat: repeat-x;
    background-origin: border-box;
    z-index: 1;
}
.swimmer {
    position: absolute;
    top: -48px;
    left:0;
    width: 81px;
    height: 36px;
    background: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/austin/app_files/img/swimmer.svg) no-repeat;
    background-size: contain;
    z-index:0;
}
.swim-bar .contentwrap {
    padding: 20px 0;
}
.swim-bar p {
    display: inline-block;
    padding: 10px 2%;
    font-size: 25px;
    text-transform: uppercase;
    margin: 0;
}
.swim-bar a {
    position: relative;
    padding-left: 30px;
}
a.phone:before {
    content:"";
    position: absolute;
    top:5px;
    left:0;
    width: 20px;
    height: 20px;
    background: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/austin/app_files/img/phone.svg) no-repeat;
    background-size: contain;
}
a.email-icon:before {
    content:"";
    position: absolute;
    top:5px;
    left:0;
    width: 25px;
    height: 20px;
    background: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/austin/app_files/img/bookings.svg) no-repeat;
    background-size: contain;
}
/** map **/
.col.half.address {
    background: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/austin/app_files/img/addressBg.jpg) no-repeat;
    background-position: center;
    background-size: cover;
    padding: 60px 0;
    color: #FFF;
}
.marker {
    width: 53px;
    height: 76px;
}
.contact-block .col.half:nth-of-type(2) {
    position:relative;
}
.col.half iframe {
    position:absolute;
    display: block;
    top:0;
    bottom:0;
    left:0;
    right:0;
}
#map-click {
    position:absolute;
    display: block;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background: transparent;
}

/*** facebook bar ***/
.facebook-bar {
    border-top: 2px solid #FFF;
    color: #FFF;
    background: #031f40;
}

.facebook-bar .contentwrap {
    padding-top: 0;
    padding-bottom: 40px;
}
.facebook-bar a:link {
    display: inline-block;
    width: 50%;
}

/*** organisations section ***/
.icon-wrapper {
    margin-top: -40px;
}
.icon-wrapper .h1, 
.icon-wrapper .h2, 
.icon-wrapper .h3 {
    position:relative;
    display: inline-block;
}
.h1-icon,  
.h3-icon {
    position: relative;
    display: inline-block;
    width: 63px;
    height: 56px;
    background: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/austin/app_files/img/house.svg) no-repeat;
    background-size: contain;
    z-index:1;
}

.icon-wrapper .h1:before,
.icon-wrapper .h3:before {
    content:"";
    position: absolute;
    top:-10px;
    left: 50%;
    margin-left: -50px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 48px 50px;
    border-color: transparent transparent #ffffff transparent;
    z-index: 0;
}

.icon-wrapper .h2-icon {
    position: relative;
    display: inline-block;
    width: 68px;
    height: 60px;
    background: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/austin/app_files/img/house.svg) no-repeat;
    background-size: contain;
    z-index:1;
}
.icon-wrapper .h2:before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    margin-left: -50px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 48px 50px;
    border-color: transparent transparent #ffffff transparent;
    z-index: 0;
}

.organisations .contentwrap {
    padding-bottom: 120px;
}
.organisations .contentwrap img{
    max-height: 150px;
    width: auto;
    padding: 0 6%;
}
.organisations .contentwrap img.long {
    max-width: 33%;
    height: auto;
    padding: 0 1%;
}

/* ==========================================================================
   Content Page
   ========================================================================== */
.page.contentwrap {
    /* min-height: 33%; */
    /* min-height: 33vh; */
}
.sub-banner {
    /* extra padding for the header logo */
    padding-top: 130px;
    font-size: 30px;
}
.sub-banner h1 {
    font-weight: normal;
    margin-top:20px;
    margin-bottom:0;
}
.sub-banner h3 {
    font-weight: normal;
    margin:0;
    border-top: 1px solid #031f40;
    border-bottom: 1px solid #031f40;
    color: #FFF;
    -webkit-transition: color .5s ease-in-out;
    -moz-transition: color .5s ease-in-out;
    -o-transition: color .5s ease-in-out;
    transition: color .5s ease-in-out;
}
.sub-banner a {
    display: inline-block;
    background: #031f40;
    width: 100%;
    height: 100%;
    -webkit-transition: background 0.5s ease-in-out;
    -moz-transition: background 0.5s ease-in-out;
    -o-transition: background 0.5s ease-in-out;
    transition: background 0.5s ease-in-out;
}

#content a:link,
#content a:visited {
    color: #871719;
}

.sub-banner a:hover {
    background: #FFF;
}
.sub-banner h3:hover {
    color: #031f40;
}

.subpage {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 20%;
    margin: 2%;
}

.subpage a {
    display: block;
    width: 100%;
    height: 100%;
}
.subpage img {
    max-width: 100%;
    height: auto;
}

.subpage h3,
.subpage h4{
    margin:0;
}
.subpage h3 {
    font-weight: normal;
}
/* =======================================================
   Accommodation Page
 ====================================================== */
.accom-img {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 20%;
    min-width: 250px;
    height: 450px;
    margin: 2%;
}
.accom-img:hover a{
    height: 100%;
}

.accom-img a {
    position: absolute;
    left:0;
    right:0;
    bottom: 0;
    display: table;
    width: 100%;
    min-width: 250px;
    height: 132px;
    box-sizing: border-box;
    background: rgba(0,0,0,0.4);
    -webkit-transition: height 1s ease-in-out;
    transition: height 1s ease-in-out;
}

.accom-img .heading {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
    color: #FFF;
}
.accom-img .heading h2,
.accom-img .heading h3 {
    margin: 0;
}
.accom-img .heading h2 {
    font-weight: normal;
}

/* ==========================================================================
   Content styling
   ========================================================================== */
#content table {
    max-width: 100% !important;
}
#content {
    text-align: left;
}
#content.center {
    text-align: center;
}
#content:after {
    content:"";
    display: block;
    clear: both;
}

/* ==========================================================================
   Contact Page
 ========================================================================== */
#address-block {
    padding: 40px 0;
    display: table;
    width: 100%;
    box-sizing: border-box;
}
.contact-address {
    display: table-cell;
    vertical-align: top;
    text-align: left;
    font-weight: bold;
    width: 50%;
    padding: 1%;
    padding-bottom: 0;
    box-sizing: border-box;
}
/*** contact form! ***/
#contactForm form {
    padding-top: 10px;
}
#contactForm h2 {
    color: #9cc9ff;
    text-align: center;
    margin: 0;
    margin-top: 5px;
}
form p {
    position: relative;
    padding-bottom: 20px;
    margin:0;
}
form .half {
    display: block;
    width: 100%;
}
form .half > p {
    display: inline-block;
    width: 50%;
    box-sizing: border-box;
}
form .half > p:nth-pf-type(odd){
    padding-right: 1%;
}
form .half > p:nth-of-type(even){
    padding-left: 1%;
}

form label.error {
    position: absolute;
    display: block;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    height: 20px;
}
input {
    position: relative;
    height: 30px;
    line-height: 30px;
    padding-left:10px;
    width: 100%;
    box-sizing: border-box;
}
input,
textarea {
    -webkit-box-shadow: inset 1px 1px 5px 0px rgba(0,0,0,0.35);
    -moz-box-shadow: inset 1px 1px 5px 0px rgba(0,0,0,0.35);
    box-shadow: inset 1px 1px 5px 0px rgba(0,0,0,0.35);
}
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: 100%;
    box-sizing: border-box;
}
textarea {
    font-family: 'Open Sans', Arial, sans-serif;
    height: 173px;
}

button {
    background: #04264d;
    border: 0;
    color: white;
    text-transform: uppercase;
}

/*** map column **/
.contact-map {
    position: relative;
    display: table-cell;
    width: 50%;
    height: 433px;
    box-sizing: border-box;
}
#map-click {
    display: none;
    width: 100%;
    height: 433px;
    position: relative;
    z-index: 10;
}
.contact-map iframe {
    position: absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
}
/* gallery overrides */
.kmsgallery-stage {
    padding-top: 70%;
}
.kmsgallery-stage-image {
    background-position: top center;
}
.kmsgallery-thumbnail-image {
    width: 80px;
    height: 80px;
    margin:0;
}
/* ==========================================================================
   Media Queries
 ========================================================================== */
@media only screen and (max-width:1560px){
    .contentwrap {
       width: 90%; 
    }
}
@media only screen and (max-width: 1360px){
    /* header li 100% */
    .main-menu li {
        width: 100%;
    }
    .main-menu li a {
        padding: 10px 12px;
    }
    /** content page heading **/
    .sub-banner {
        padding-top: 40px;
    }
    .organisations .contentwrap img {
        padding: 0 2%;
        box-sizing: border-box;
    }
    /* maps... cover maps to enable scrolling */
    #map-click {
        display: block;
    }
}

@media only screen and (max-width:1256px){
    /* re-structure footer */
    footer .logo {
        height: 100%;
    }

}

@media only screen and (max-width:1220px ){
    /** set header logo height ***/
    header .logo {
        width: 300px;
        margin-left: -150px;
    }
    ul.split-menu-left {
        padding-right: 135px;
    }
    ul.split-menu-right {
        padding-left: 135px;
    }
}
@media only screen and (max-width: 1000px){
    /* home page organisations */
    .organisations .contentwrap {
        padding-bottom: 60px;
    }
    .organisations .contentwrap img {
        display: block;
        padding-top: 5px;
        padding-bottom: 5px;
        margin: 0 auto;
    }
    .organisations .contentwrap img.long {
        max-width: 100%;
        max-height: 110px;
        padding-top: 5px;
        padding-bottom: 5px;
        margin-bottom: 20px;
    }
}
@media only screen and (max-width:900px){
   /* mobile nav */
   #mobile-menu {
	    display:inline-block;
   }
   header nav {
        padding: 0;
   }
   .main-menu {
        display: none;
        position: absolute;
        background:#04264d;
        top: 10px;
        left:0;
        padding-left: 0;
        padding-top:0;
        width: 100%;
        border: 2px solid #FFF;
        z-index: 100;
   }
   .main-menu ul.left,
   .main-menu ul.right {
       width: 100%;
       padding: 0;
   }
   .main-menu li,
   .main-menu li a {
        display: block;
        text-align: center;
        color: white;
        background: #04264d;
        visibility: visible;
        opacity: 1;
        padding: 0;
        line-height: 40px;
   }
   .main-menu li  {
        border-bottom: 1px solid white;
   }
   .main-menu li.top.has-sub:hover > ul {
        /* sub menu hidden */
        display: none;
   }
   header nav a {
        background: #04264d;
   }
   header nav a:hover {
        background: #FFF;
        color: #04264d;
        font-weight: bold;
   }
   /** banners restructure **/
   #banners {
        height: 400px;
   }
   #banners .banner-stage {
        position: relative;
   }
   .banner {
        display: block;
        position: absolute;
        top:0;
        left:0;
        bottom:0;
        right:0;
        opacity: 0;
        width: 100%;
        height: 100%;
        border: 0;
        box-sizing: border-box;
        -webkit-transition: opacity ease 1s;
        -moz-transition: opacity ease 1s;
        -o-transition: opacity ease 1s;
        transition: opacity ease 1s;
   }
   .banner.active {
        opacity: 1;
   }
   /** home **/
   .over-view .contentwrap {
        padding-bottom: 40px;
   }
   .overview h2 {
        font-size: 18px;
   }
   /** page heading **/
   .sub-banner {
        padding-top: 100px;
   }
   .page.contentwrap {
        min-height: 0;
   }
}

@media only screen and (max-width:850px){
    /** footer **/
    form#enews .half,
    form#enews > p {
        display: block;
        width: 100%;
    }
    /** features **/
    .feature {
        width: 44%;
    }
    /* === contact page === */
    .contact-address,
    .contact-map {
        display: block;
        padding:0;
        width: 100%;
        margin-bottom: 40px;
    }
    #address-block {
        padding: 0;
    }
}

@media only screen and (max-width:800px){
    /** home fb bar **/
    .facebook-bar a:link {
        width: 100%;
    }
    .facebook-bar a:link:first-of-type h2 {
        margin-bottom: 0;
    }
    footer .contentwrap,
    #enews {
        padding-right:0;
    }
    footer .contentwrap {
        padding-top: 0;
    }
    #subscribe-result {
        padding-top: 20px;
    }
    footer .logo {
        position: static;
        width: 250px;
        max-width: 100%;
        height: auto;
    }
    .site-map {
        padding: 0;
    }
}

@media only screen and (max-width:700px){
    .contentwrap {
        padding-bottom: 40px;
    }
    /* home page */
    /** mobile nav one line **/
    .main-menu {
        z-index: 120;
    }
    ul.split-menu-left,
    ul.split-menu-right{
        width: 100%;
        padding:0;
    }
    .swim-bar p.email {
        font-size: 20px;
    }
    .organisations .contentwrap img.long{
        margin-top: 10px;
    }
}

@media only screen and (max-width:600px){
     h2 {
        font-size: 18px;
     }
     /** pages ***/
     .sub-banner {
        font-size: 20px;
        /* padding-top: 100px; */
     }
     .sub-banner h3 {
        font-size: 20px;
        line-height: 40px;
     }
}

@media only screen and (max-width:550px ){
    .swim-bar p {
        font-size: 20px;
        margin: 0;
    }
    .swim-bar p.email {
        font-size: 14px;
        word-break: break-all;
    }
    .swim-bar p.email a{
        padding-left:0;
    }
    .swim-bar p.email a:before {
        display: none;
    }
}

@media only screen and (max-width:500px){
/** header **/
    #mobile-menu {
        position: absolute;
        top:0;
        right:0;
        float: none;
    }
    header .logo {
        position: static;
        max-width: 100%;
        margin-left: 0;
    }
/** footer **/
    .site-map {
        display: none;
    }
    #enews {
        width: 100%;
    }
/* page */
    .sub-banner {
        padding-top:0;
    }
    .over-view h2 {
        font-size: 16px;
    }
    .col.half {
        display: inline-block;
        width: 100%;
        height: 250px;
    }
    .col.half.address {
        padding-top: 20px;
        box-sizing: border-box;
    }
    .organisations .contentwrap img.long {
        max-width: 100%;
    }
/*** contact form ***/
    #contactForm p {
        width: 100%;
    }
/** forms **/
    form .half > p {
        display: block;
        width: 100%;
    }
    form .half > p:nth-of-type(odd),
    form .half > p:nth-of-type(even) {
        padding: 0;
        padding-bottom: 1%;
    }
}

@media only screen and (max-width:450px){
    /** home page banners **/
    #banners {
        height: 300px;
    }
    #content {
        /* stop search results out of bounds */
        word-break: break-word;
    }
}

@media only screen and (max-width:400px){
    .feature {
        width: 100%;
        margin:0;
    }
    /** wrap emails **/
    .email {
        word-break: break-all;
    }
    /*** pages ***/
    .sub-banner {
        padding-top: 100px;
    }
    .sub-banner h1{
        margin-top: 40px;
        font-size: 25px;
        font-weight: bold;
    }
}

@media only screen and (max-width:350px){
    .organisations .contentwrap img {
        max-width: 100%;
        height: 140px;
    }
}

@media only screen and (max-width: 300px){
    /** header logo full width **/
    header .logo {
        width: 100%;
        height: auto;
        margin-left: 0;
        left:0;
    }
    .sub-banner {
        padding-top: 50px;
    }
}

@media only screen and (max-width:290px){
    .site-map li a {
        padding: 10px;
    }
}

@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;
    }
}

