
/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
html {
    color: #00567f;
    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;
}

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 {
    padding:0;
    margin:0;
}
div#wrap {
    min-height: 620px;
}
.contentwrap {
    max-width:1200px;
    margin: 0 auto;
    position:relative;
    padding:0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

img {
    border:none;
    max-width:100%;
    height:auto !important;
}

header .social-links {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
.site-links,
.site-link {
    display: inline-block;
    vertical-align: middle;
}
.site-link {
    width: 30px;
    margin: 5px;
}
.site-link img {
    width: 25px;
    height: 25px;
}
.site-link.facebook img {
    width: 12px;
    height: 25px;
}
header .site-link {
    width: 20px;
}
header .site-link img {
    width: 20px;
    height: 20px;
}
header .site-link.facebook img {
    width: 9px;
    height: 20px;
}

.table {
    display: table;
    width: 100%;
    height: 100%;
    table-layout: fixed;
}
.col {
    display: table-cell;
    vertical-align: top;
    height: 100%;
}

.first-letter::first-letter {
    color: #ed193d !important;
}
a:link,
a:visited {
    color: inherit;
    text-decoration: none;
}

a.logo {
    display: block;
    height:100%;
}
.logo h1 {
    margin:0;
    height:100%;
}
.logo h1::before {
    display:inline-block;
    content:"";
    width:0;
    height:100%;
    vertical-align:middle;
}
.logo img {
    width:150px;
    height: 65px !important;
    vertical-align:middle;

}
.cell-wrap {
    display:table-cell;
    vertical-align: middle;
    line-height: 0;
    height:100%;
}
.slant {
    position: relative;
    width: 200px;
    height: 100%;
    text-align: center;
    background-color: #FFF;
    color: #00567f;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index:10;
}
.slant:before {
    content:"";
    position: absolute;
    right: 100%;
    top:0;
    bottom:0;
    width: 2000px;
    height: 100%;
    background-color: #FFF;
}
.slant:after {
    content:"";
    position: absolute;
    top:0;
    right: -57.5px;
    width: 115px;
    height: 100%;
    background-color: #FFF;
    -ms-transform: skewX(-45deg);
    -webkit-transform: skewX(-45deg);
    transform: skewX(-45deg);
    z-index:-1;
}

/*============ header ============*/
header.top {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-size:14px;
    z-index: 2;
    -moz-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
    -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
}
.t-home header.top {
    -moz-box-shadow: 0 0 0 0;
    -webkit-box-shadow: 0 0 0 0;
    box-shadow: 0 0 0 0;
}

/*** header top - home only ***/
header .bar-top {
    display: none;
    color: #00567f;
    padding-left: 413px;
}
.t-home header .bar-top {
    display: block;
    margin-top: 50px;
}
header .bar-top > div {
    position: relative;
    background-color: #FFF;
    text-align: right;
}
header .bar-top > div:after {
    content:"";
    position: absolute;
    top:0;
    bottom:0;
    left: -40px;
    width: 50%;
    height: 100%;
    background-color: #FFF;
    transform: skewX(-45deg);
}
.bar-top .call {
    line-height: 40px;
    padding: 0 2%;
    white-space: nowrap;
    position: relative; /* cover slant */
    z-index: 1;
}

/** header bottom **/
header .bar-bottom {
    background-color: #00567f; /* pages other than home */
}
header .bar-bottom .contentwrap {
    display: table;
    width: 100%;
    height: 115px; /* chrome 63 - fix */
    position: relative;
}
header .menu {
    display: table-cell;
    height: 100%;
    padding-left: 115px;
}
/** home menu override **/
.t-home header .bar-bottom {
    background-color: transparent;
}
.t-home header .bar-bottom .contentwrap {
    background-color: #00567f;
    -moz-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
    -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
}
.t-home header .slant {
    width: 240px;
}
.t-home header .slant:before {
    display: none;
}
.t-home header .slant .logo {
    left: 40px;
}

/*** menu area ***/
header .bar-bottom {
    color:#fff;
    position:relative;
}
.header-menu ul {
    padding:0;
    list-style:none;
    margin:0;
}
.header-menu > ul {
    text-align:right;
}
.header-menu li {
    display: inline-block;
    vertical-align:top;
}
.header-menu a {
    display:block;
    color:inherit;
    text-decoration:none;
    padding:15px 0;
}
    /* level 1 */
.header-menu li.depth-0 {
    position: relative;
    vertical-align:middle;

}
.header-menu li.depth-0 > a {
    padding: 48px 20px;
}
    /* level 2 */
.header-menu li.depth-0 > ul {
    display:none;
    position:absolute;
    top: 100%;
    left: 50%;
    margin-left: -75px;
    width: 150px;
    padding-bottom: 10px;
    text-align: center;
    background:#00567f;
    z-index:100;
    -moz-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.41);
    -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.41);
}
.header-menu li.depth-0:hover > ul {
    display:block;
}
.header-menu li.depth-1 {
    display: block;
    transition: 0.5s ease-in-out;
}
.header-menu li.depth-1:hover {
    background-color: #0076ae;
}
.header-menu li.depth-1 > ul {
    display: none;
}

#mobile-menu {
    display: none;
    padding: 10px;
    font-size: 22px;
    margin: 0;
    cursor: pointer;
    z-index:100;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/***** Slide menu ****/
.slide-menu {
    display:none;
}
.slide-menu {
	background: #ccc;
    width:240px;
    z-index:1000;
	position: fixed;
	height: 100%;
	top: 0;
	left: -240px;
	overflow-y:scroll;
}
.slide-menu-active .slide-menu {
    left: 0px;
}
.site-content-menu-slide {
    overflow-x:hidden;
    position:relative;
    left:0;
}
/* transition for menu slide */
.slide-menu,
.site-content-menu-slide,
#mobile-menu {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.slide-menu h3 {
	padding: 1em;
	color:#fff;
	background:#999;
	margin:0;
}
.slide-menu ul {
    padding:0;
    margin:0;
    list-style:none;
}
.slide-menu ul ul {
	background:#999;
}
.slide-menu ul ul ul{
	background:#666;
}
.slide-menu li {
    position:relative;
}
.slide-menu li > ul {
    display:none;
}
.slide-menu li.expand-active > ul {
    display:block;
}
.slide-menu a {
	display: block;
	color: #fff;
	font-size: 16px;
	font-weight: 300;
	border-bottom: 1px solid #666;
	padding: 18px;
	text-decoration:none;
}
.slide-menu a.fb,
.slide-menu a.in {
    display: block;
    width:100%;
    height: 50px;
    padding: 0;
}
.slide-menu a:hover {
	background-color: #00567f;
}
.slide-menu a.fb:hover ,
.slide-menu a.in:hover {
    background-color: #FFF;
}
.slide-menu ul .expand {
    position: absolute;
    top: 0;
    right: 0;
    border-left: 1px solid #030b16;
    height: 59px;
    width: 50px;
    cursor: pointer;
}
.slide-menu ul .expand i {
    content:"";
    display: block;
    height: 62px;
    width: 48px;
    background: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/priorityhl/app_files/img/menu-drop.svg') no-repeat center center;
    background-size: 30%;
    -webkit-transition: -webkit-transform 500ms ease;
    transition: -webkit-transform 500ms ease;
    transition: transform 500ms ease;
    transition: transform 500ms ease, -webkit-transform 500ms ease;
}
.expand-active > .expand i {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}
/*============ footer ============*/
footer{
    background-color:#00567f;
    color: #FFF;
    margin-top: 40px;
    -moz-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
    -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
}
footer .contentwrap {
    display: table;
    width: 100%;
    min-height: 120px;
    height: 120px;
}
footer .slant:after {
    right: -45%;
    width: 300px;
}
footer .blue {
    padding-left: 200px;
    padding-top: 20px;
}
.site-map li {
    text-align: right;
}
.site-map > ul {
    display:table;
    width:100%;
    list-style:none;
    padding:0;
    margin:0;
}
.site-map > ul > li {
    display:table-cell;
    padding:20px 0;
}
.site-map a {
    color:inherit;
    text-decoration:none;
    display:block;
    padding-left:30px;
    position:relative;
    line-height:30px;
}
.site-map li > ul {
    display: none;
}
/** licence no. ***/
footer .licence {
    font-size: small;
    text-align: center;
    margin:0;
}
/** bykeo ***/
.bykeo {
    display: block;
    text-align: center;
    font-family: sans-serif;
    font-size: 12px;
    padding-top: 10px;
    padding-bottom: 20px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.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;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform: translateX(-200%) rotate(-360deg);
}

/*============ splash ============*/
/*** generic banners ***/
.banners .banner {
    display: table;
}
.banners .banner-content {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    font-size: 18px;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.banners-home .banner-content {
    color: #00567f;
}
.banners .banner-name,
.banners .banner-title {
    display: block;
}
.banners .banner-name {
    font-size: 40px;
    line-height: 42px;
}
.banners .banner-caption {
    display: inline-block;
    color: #FFF !important;
    padding: 10px 8%;
    background-color: transparent;
    -o-background-color 0.5s ease-in-out;
    -webkit-transition: background-color 0.5s ease-in-out;
    -moz-transition: background-color 0.5s ease-in-out;
    transition: background-color 0.5s ease-in-out;
}
.banners .banner-navigation {
    display:none;
}
/* home top background banner */
.banners-home-top-background {
    position: relative;
    background-color: #1c4154;
    padding-top: 300px;
    margin-top: -300px;
}
.banners-home-top-background .banner-stage {
    position: absolute;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
}
.banners-home-top-background .banner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.banners-home-top-background > .banner-stage .banner .banner-content,
.banners-home-top-background .banner-navigation {
    display: none;
}
/*  Main Banner: Home */
.banners-home .banner-stage {
    position:relative;
    width: 1200px;
    height: 100%;
    margin: 0 auto;
}
.banners-home .banner {
    width: 100%;
    height: 500px;
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: 92% -2%;
}
.banners-home .banner-content {
    vertical-align: top;
    padding: 8% 40% 3% 3%;
    font-size: 20px;
}
.banners-home .banner-caption {
    background-color: #ed193d;
    -moz-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
    -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
    -webkit-transition: background-color 0.5s ease-in-out;
    transition: background-color 0.5s ease-in-out;
    margin-top: 8%;
}
.banners-home .banner-caption:hover {
    -moz-box-shadow: 0 0 0 0;
    -webkit-box-shadow: 0 0 0 0;
    box-shadow: 0 0 0 0;
    background-color: #cc1635;
}

/*** main top ***/
.grey {
    background-color: #f2f3f5;
}
.table-wrap {
/* account for outside table boarders */
    margin-left: -20px;
    margin-right: -20px;
}
.t-home .table {
    border-collapse: separate;
    border-spacing: 20px;
    margin-top: -10px;
}
.ad.table {
    height: 400px;
}
/** cta-menu **/
.t-home .cta.table {
    margin-top: -5%;
}
.cta-item.col {
    padding: 4% 3%;
    background-color: #FFF;
    font-size: 18px;
}
.cta-item h3 {
    font-size: 30px;
    line-height: 32px;
    margin-top:0;
}
.cta-item p.button {
    text-align: center;
}
.cta-item a.blue-button {
    padding: 10px 25%;
}

/** staff + ad table **/
.staff-feed {
    position: relative;
    padding-top: 33%;
    width:33%;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.staff-member {
    position: absolute;
    display: none;
    top:0;
    bottom:0;
    right:0;
    left:0;
}
.staff-member .active {
    display: block
}
.js .staff-member {
    display: block;
    opacity:0;
    background-size: cover;
    background-position: center;
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}
.js .staff-member.active {
    opacity: 1;
}
.staff-feed.col p {
    position: absolute;
    bottom: 10%;
    width: 100%;
    margin:0;
    z-index: 2;
}
.staff-feed.col .button {
    display: inline-block;
    padding: 2% 10%;
    font-size: 20px;
    font-weight: 900;
    background-color: #FFF;
}
.ad.col {
    position: relative;
    background-color: #00567f;
    color: #FFF !important;
}
.banners-advert {
    position: relative;
    width: 100%;
    height: 100%;
}
.banners-advert .banner-stage {
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    width: 100%;
    height: 100%;
}
.banners-advert .banner {
    width: 105%;
    height: 110%;
    margin-left: -5%;
    padding-bottom: 10%;
    background-size: 65%;
    background-repeat: no-repeat;
    background-position: left top;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
}
.banners-advert .banner-content {
    padding-left: 60%;
    text-align: center;
    text-shadow: 0px 1px 10px rgba(0, 86, 127, 1);
}
.banners-advert .banner-title {
    padding-bottom: 8%;
}
.banners-advert .banner-caption {
    border: 1px solid #FFF;
    background-color: #00567f;
}
.banners-advert .banner-caption:hover {
    background-color: #004566;
}
/** testimonial scroller**/
#testimonial-scroller {
    position: relative;
    color: #FFF;
    background-color: #ed193d;
    padding: 3%;
    border-width: 2px;
    border-color: #ce1232;
    -webkit-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.43);
    -moz-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.43);
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.43);
    margin: 10px 0 -4% 0;
}
#testimonial-scroller .prev {
    position: absolute;
    top: 50%;
    margin-top: -40px;
    left: -8%;
    width: 50px;
    height: 80px;
    background-image: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/priorityhl/app_files/img/prev.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
#testimonial-scroller .next {
    position: absolute;
    top: 50%;
    margin-top: -40px;
    right: -8%;
    width: 50px;
    height: 80px;
    background-image: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/priorityhl/app_files/img/next.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
#testimonial-scroller h3 {
    font-size: 30px;
    margin-top:0;
    margin-bottom: 20px;
}
#testimonial-scroller h4 {
    margin-bottom: 0;
}
#testimonial-scroller .testimonial {
    display: block;
    opacity: 0;
    height: 0;
    font-size: 18px;
}
#testimonial-scroller .testimonial.active {
    opacity: 1;
    height: 100%;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}
#testimonial-scroller .testimonial .hasImg {
    display: block;
    position: relative;
    padding-right: 250px;
}
.circle {
    height: 200px;
    width: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
}
.circle:after {
    content:"";
    display: table;
    clear: both;
}
#testimonial-scroller .testimonial .circle {
    position: absolute;
    top: 20%;
    margin-top: -100px;
    right:0;
}
/** main bottom **/
.white {
    background-color: #FFF;
    padding-top: 4%;
}

.promo.table {
    margin-top: 0;
    vertical-align: middle;
}
.promo.table h3 {
    font-size: 30px;
    margin-bottom: 0;
}
.col.blog .img {
    padding-top: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.customer,
#subscribe {
    color: #FFF;
    padding: 6%;
}
.customer h3,
#subscribe h3 {
    margin-top:0;
}
.customer {
    background-color: #ed193d;
    margin-bottom: 20px;
}
.customer p.button {
    text-align: center;
}
.customer p.button a {
    display: inline-block;
    padding: 10px 8%;
    border: 1px solid #FFF;
    margin-top: 10px;
    background-color: transparent;
    -webkit-transition: background-color 0.5s ease-in-out;
    -moz-transition: background-color 0.5s ease-in-out;
    transition: background-color 0.5s ease-in-out;
}
.customer p.button a:hover {
    background-color: #cc1635;
}

/*** ====== forms generic ====== ***/
form p {
    text-align: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin:0;
}
form p.last {
    margin-bottom: 10px;
}
form p.wrapper {
    position: relative;
    padding-bottom: 18px;
}
.error { color: red; }
.center {
    text-align:center;
}
form span {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 33.33%;
    padding: 0 5px;
    padding-bottom: 18px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
span.half {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
form span.full {
    display: block;
    width: 100%;
}
.small {
    font-size: 12px;
}
label.infield {
    position: absolute;
    color: grey;
    font-weight: normal;
    padding-left: 10px;
    line-height: 50px;
}
label.error {
    display: block;
    font-size: 13px;
    line-height: 15px;
}
textarea {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}
select {
    font: 1em 'Montserrat';
}
form input,
form select {
    width: 100%;
    height: 40px;
    padding-left: 10px;
    line-height: 40px;
    border: 1px solid #00567f;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
form textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid #00567f;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
form input[type="checkbox"],
form input[type="radio"]{
    display: inline-block;
    width: 40px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom:0;
}
form button {
    cursor: pointer;
    background-color: #ed193d;
    color: #FFF !important;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    padding: 10px 10%;
    -moz-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
    -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
    margin-top: 10px;
    -webkit-transition: background-color 0.5s ease-in-out;
    -moz-transition: background-color 0.5s ease-in-out;
    transition: background-color 0.5s ease-in-out;
    border:0;
}
form button:hover {
    background-color: #cc1635;
    -moz-box-shadow: 0 0 0 0;
    -webkit-box-shadow: 0 0 0 0;
    box-shadow: 0 0 0 0;
}
/** subscribe forms **/
#subscribe {
    background-color: #00567f;
    padding-bottom: 8%;
}
#subscribe form {
    position: relative;
    text-align: left;
    padding-right: 50px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin:0;
}
label.infield {
    position: absolute;
    color: grey;
    padding-left: 10px;
    line-height: 40px;
}
label.error {
    display: block;
    font-size: 13px;
    line-height: 15px;
}
#subscribe form p {
    position: relative;
    margin: 5px 0;
}
#subscribe form input {
    width: 100%;
    height: 40px;
    padding-left: 10px;
    line-height: 40px;
    border: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
}
#subscribe form button {
    position: absolute;
    top: 50%;
    right:0;
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: #FFF;
    color: #ed193d !important;
    font-weight: bold;
    border:0;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: background-color 0.5s ease-in-out;
    -moz-transition: background-color 0.5s ease-in-out;
    transition: background-color 0.5s ease-in-out;
    margin: 0;
    margin-top: -20px;
}
#subscribe form button:hover {
    background-color: #d3d3d3;
}
/** partners on home page **/
.t-home .partners img {
    display: inline-block;
    vertical-align: middle;
    width: 10% !important;
    height: auto !important;
    margin: 0.5%;
}

/*============ sub page============*/
.page-title {
    background-color: #e6e6e6;
    padding: 30px 0;
}
.page-title h1 {
    font-size: 25px;
}
.page-body a:link,
.page-body a:visited {
    color: #0181be;
    font-weight: bold;
}
.page-content a.tel {
    color: inherit;
}
.page-body {
    padding: 20px 0;
}
/* useful links */
.links {
    display: inline-block;
    min-width: 50%;
    background-color: #f2f3f5;
    padding: 20px;
    border-radius: 20px;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    margin: 20px 0;
}
.links ul {
    list-style-type: none;
    padding:0;
    margin:0;
}
.links li {
    position: relative;
    padding-left: 40px;
}
.links li:before {
    content:">>";
    position: absolute;
    left: 10px;
    color: #ed193d;
    font-size: 18px;
    font-weight: 500;
}
/** sub pages **/
.contentwrap.side {
    display: table;
    table-layout: fixed;
    width: 1200px;
}
.contentwrap.side .page-body {
    display: table-cell;
    vertical-align: top;
    width: 100%;
}
.subs {
    display: table-cell;
    vertical-align: top;
    padding-top: 40px;
    padding-right: 50px;
    width: 300px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.subs .contentwrap {
    width: 100%;
    padding: 0;
}
.subs ul {
    list-style-type: none;
    padding:0;
    margin:0;
}
.subs ul > li {
    display: block;
    width: 100%;
    border-bottom: 2px solid #e6e6e6;
}
.subs ul > li:last-child {
    border-bottom: 0;
}
.subs ul > li > a {
    display: block;
    font-weight: normal;
    text-transform: capitalize;
    padding: 10px 0;
    -ms-transition: color 0.3s ease-in-out;
    -webkit-transition: color 0.3s ease-in-out;
    -moz-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
}
.subs li > a:hover {
    color:#ed193d;
}

/*============ staff page============*/
.t-staff .contentwrap.side {
    padding-left:0;
}
#staff-list {
    padding-bottom: 40px;
}
.staff-person {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    padding: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#staff-list article:nth-of-type(odd) {
    padding-left: 0;
}
#staff-list article:nth-of-type(even) {
    padding-right: 0;
}
.staff-person .img {
    padding-top: 300px;
    background-color: #e6e6e6;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.staff-person h3 {
    margin-bottom:0;
}
.staff-person p.role {
    font-weight: 500;
    margin: 0;
}
.staff-person a:link {
    color: inherit;
    font-weight: 500;
    font-size: 1.2em;
}

/*============ Contact Form page ============*/
.t-contact .page-body {
    padding-bottom: 0;
}
.social {
    text-align: center;
}
.social h4 {
    display: inline-block;
    vertical-align: middle;
    margin:0;
    margin-right: 10px;
}
.contact-details {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 20px 0;
}
.t-contact .contact-details:nth-of-type(odd){
    padding-right: 2%;
}
.t-contact .contact-details:nth-of-type(even){
    padding-left: 2%;
}
.contact-details h4 {
    margin-top:0;
}
.page-content .contact-details a {
    font-weight: normal;
    color: inherit;
}
.contact-details p {
    margin: 0;
}
.contact.table {
    height: 340px;
    table-layout: fixed;
    padding: 20px 0;
}
.t-contact .col {
    width: 50%;
}
.t-contact .col.form {
    padding-right: 10px;
}
.t-contact form span:first-of-type {
    padding-left:0;
}
.t-contact form span:last-of-type {
    padding-right: 0;
}
.nowrap {
    white-space: nowrap;
}
.t-contact .col.map {
    position: relative;
    height: 340px;
    padding-left: 10px;
}
#map-click {
    position: absolute;
    display: none;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
}
#contact-map {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 340px;
}
#contact-form button {
    width: 100%;
    margin-top:0;
}

/*============ New Customer Form ============*/
html.js p.error.js {
    display: none;
}
.t-newcustomer .contentwrap.side {
    padding-left: 0;
}
.t-newcustomer .form.contentwrap {
    padding-bottom: 40px;
}
#newapplicant {
    margin: 0 5px;
}
.disabled {
   display: none;
   padding-top: 20px;
}
form span.kids > input,
form span.kids > label{
    display: inline-block;
    width: 50%;
    padding-left: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

form#new-customer span:nth-of-type(3n+1) {
    padding-left:0;
}
form#new-customer span:nth-of-type(3n) {
    padding-right:0;
}
form p > span {
    width: auto;
}
form span.dependant {
    width: auto;
    padding:2px 0;
}
form span.dependant > input.age {
    width: 45px;
}

/*============ Testimonials index (no item) ============*/
.testimonial-item {
    background-color: #f2f3f5;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}
.testimonial-item .col {
    width: 100%;
}
.testimonial-item .col.graphic {
    width: 200px;
    vertical-align: middle;
    padding-right: 20px;
}
.testimonial-item h4 {
    margin-bottom: 0;
}
.testimonial-item p.org {
    font-weight: bold;
    margin: 0;
}

.pager .prev {
    float: left;
}
.pager .next {
    float: right;
}
.pager:after {
    content:"";
    display: table;
    clear: both;
}

/*============ News index ============*/
.news-item {
    position: relative;
    padding-left: 300px;
    min-height: 200px;
    margin: 10px 0;
    margin-bottom: 42px;
}
.news-item.no-graphic {
    padding-left: 0;
}
.news-item .image-col {
    position: absolute;
    top:0;
    left:0;
    width: 300px;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.news-item .image-col.empty {
    display: none;
}
.news-item .image-col > a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

/** content bit **/
.news-item .col {
    padding-left: 2%;
    padding-bottom: 42px;
}
.news-item .col > a {
    color: inherit;
    font-weight: normal;
}
.news-item .col h4,
.news-item .col p.date {
    display: inline-block;
    vertical-align: baseline;
    margin-top: 0;
}
p.date {
    font-size: small;
}
.news-item .col h4 {
    padding-right: 10px;
}
.news-item p.teaser {
    margin-top:0;
}

/** button **/
.news-item  .col > a.red-button {
    position: absolute;
    bottom: 0;
    padding: 10px 40px;
}
/*============ News item ============*/
.t-news-item .graphic {
    max-width: 50%;
}
.t-news-item #news-content p:first-of-type {
    margin-top:0;
}
@media only screen and (max-width: 650px){
    .t-news-item #news-content p:first-of-type {
        margin-top: auto;
    }
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 1450px){
    /* testimonial scroller - move pointers in */
    #testimonial-scroller .prev { left: -50px; }
    #testimonial-scroller .next { right: -50px; }
}
@media screen and (max-width: 1350px) {
    .contentwrap.side {
        width: 90%;
    }
}
@media only screen and (max-width: 1300px){
    .contentwrap,
    header .bar-bottom .contentwrap,
    .banners-home .banner-stage,
    footer .contentwrap,
    .contact.contentwrap {
        width: 90%;
    }
}
@media only screen and (max-width: 1200px) {
    /* change top bar angles */
    header .bar-top {
        padding-left: 455px;
        padding-left: calc(355px + 9.5%);
    }
    header .bar-top > div:after {
        left: -15%;
    }
    /* change menus to allow stacking */
    header .menu {
        height: 115px;
        padding-top: 20px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .header-menu > ul {
        text-align: center;
    }
    .header-menu li.depth-0 > a {
        padding: 10px 20px;
    }
    footer .blue {
        display: table-cell;
        height: 100%;
        padding-top:0;
    }
    .site-map > ul {
        display: block;
    }
    .site-map > ul > li {
        display: inline-block;
        padding: 0;
    }
    .site-map a {
        padding: 8px;
    }
/* home */
    /* reduce banner height */
    .banners-home .banner {
        height: 360px;
    }
    .cta-item.col {
        font-size: 16px;
    }
    .cta-item h3 {
        font-size: 25px;
        line-height: 27px;
    }
    .banners-advert .banner-content {
        vertical-align: top;
        padding-left: 40%;
    }
}
@media only screen and (max-width: 1000px){
    /* testimonial scrollers */
    #testimonial-scroller .prev,
    #testimonial-scroller .next {
        width: 5%;
        height: 50px;
        margin-top: -25px;
    }
    /* page sidebar */
    .contentwrap.side,
    .contentwrap.side .page-body {
        display: block;
    }
    .subs {
        display: block;
        width: 100%;
        padding-right: 0;
    }
    .subs ul > li {
        display: inline-block;
        vertical-align:top;
        text-align: center;
        font-size: 12px;
        width: 24%;
        border: 1px solid #e6e6e6;
    }
    .subs ul > li:last-child {
        border-bottom: 1px solid #e6e6e6;
    }
    .subs li.parent {
        display: block;
        width: 100%;
        text-align: left;
        border: 0;
    }
    .subs li > a {
        transition: background-color 0.4s ease-in-out;
    }
    .subs li > a:hover {
        background-color: #e6e6e6;
    }
    .subs li.parent a:hover {
        background-color: transparent;
    }
}
@media only screen and (max-width: 960px) {
/*** mobile GO ***/
    .t-home header .bar-top {
        margin-top: 20px;
    }
    header .bar-bottom .contentwrap {
        height: 100px;
    }
    header .menu {
        height: auto;
        text-align: right;
    }
    #mobile-menu {
        display: inline-block;
    }
    .header-menu,
    .main-menu {
        display:none;
    }
    .bar-top .call {
        display: block;
        text-align:center;
        line-height: 20px;
        padding-top: 5px;
    }
    .bar-top .call.other {
        display: inline-block;
        padding-top:0;
    }
    header .call {
        white-space: nowrap;
    }
    .slide-menu {
        display:block;
    }
    .slide-menu-active .site-content-menu-slide {
        left: 240px;
    }
    .slide-menu-active #mobile-menu {
        left: 260px;
    }
/* home */
    .cta.table-wrap {
        margin:0;
    }
    .cta.table,
    .cta-item.col {
        display: block;
        width: 100%;
        margin-left:0;
    }
    .cta-item.col {
        margin-bottom: 20px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    #testimonial-scroller .prev {
       left: -5%;
    }
    #testimonial-scroller .next {
       right: -5%;
    }
    .t-home .partners { display: none; }
/* new customer */
    form span {
        width: 50%;
    }
    form#new-customer span:nth-of-type(3n+1) {
        padding-left: 5px;
    }
    form#new-customer span:nth-of-type(3n){
        padding-right: 5px;
    }
    form#new-customer span:nth-of-type(odd) {
        padding-left: 0;
    }
    form#new-customer span:nth-of-type(even){
        padding-right: 0;
    }
/* contact */
    .contact.contentwrap,
    .contact.table,
    .t-contact .col {
        display: block;
    }
    .contact.table {
        height: auto;
    }
    .t-contact .col.form,
    .t-contact .col.map {
        width: 100%;
        padding:0;
    }
    .t-contact .col.map {
        margin-top: 20px;
    }
    #map-click {
        display: block;
    }
/* footer */
    footer .contentwrap,
    footer .cell-wrap,
    footer .blue {
        display: block;
        height: auto;
    }
    footer .slant {
        height: 100px;
    }
    footer .site-map {
        text-align: center;
    }
    footer .blue {
        padding-left: 0px;
    }
}
@media only screen and (max-width:900px){
    .subs ul > li {
        width: 49%;
    }
}
@media screen and (max-width: 830px) {
    /** mob view header numbers **/
    .bar-top .call.other {
        display: block;
        text-align: center;
    }
}
@media only screen and (max-width: 800px){
/* home */
    .t-home .table {
        margin-top:0;
    }
    .ad.table-wrap { margin:0; }
    .ad.table {
        display: block;
        height: auto;
        padding-bottom: 20px;
    }
    .ad.col {
        position: static;
        display: block;
        height: auto;
        margin-top:0;
    }
    .banners-advert .banner-stage {
        position: relative;
    }
    .staff-feed { display: none; }
    .banners-advert {
        position: relative;
    }
    .banners-advert .banner {
        width: 100%;
        height: auto;
    }
    .white {
        margin-top:0;
    }
    .promo.table-wrap {
        margin:0;
    }
    .promo.table,
    .promo.table .col {
        display: block;
    }
    .promo.table .col {
        margin-top: 20px;
    }
/** contact **/
    .contact-details {
        width: 100%;
    }
    .t-contact .contact-details:nth-of-type(odd){
        padding-right:0;
    }
    .t-contact .contact-details:nth-of-type(even){
        padding-left:0;
    }
}
@media only screen and (max-width: 760px) {
    .t-home header .bar-top {
        padding-left: 0;
    }
    header .bar-top > div {
        text-align: center;
    }
    .bar-top .call,
    .bar-top .call.other {
        display: inline-block;
    }
    header .social-links {
        margin-right:0;
    }
    header .site-link {
        width: 40px;
    }
    header .site-link img {
        width: 25px;
        height: 15px;
    }
    header .site-link.facebook img {
        width: 12px;
        height: 25px;
    }
    header .bar-top > div:after,
    .site-map {
        display: none;
    }
/* staff pg */
    #staff-list {
        margin-bottom:0;
    }
    .staff-person {
        display: block;
        width: 100%;
    }
    #staff-list article:nth-of-type(odd),
    #staff-list article:nth-of-type(even){
        padding: 0;
        margin-bottom: 40px;
    }
/* news index */
    article.news-item,
    .news-item .image-col,
    .news-item .col {
        display: block;
        width: 100%;
        padding-left: 0;
    }
    .news-item .image-col {
        position: static;
        height: 250px;
        margin-bottom: 10px;
    }
/** contact **/
    .social {
        text-align: left;
    }
}
@media only screen and (max-width: 650px){
    /** footer all white **/
    footer .slant .logo {
        position: static;
        margin-top:0;
        padding: 10px 0;
    }
    footer .slant:after,
    footer .slant:before {
        display: none;
    }
    footer .blue {
        padding-left:0;
    }
    footer .cell-wrap,
    footer .blue {
        display: block;
        width: 100%;
        text-align:center;
    }
    footer,
    footer .slant {
        background-color: #f2f3f5;
    }
    footer .contentwrap {
        display: block;
        padding: 10px 0;
        height: auto;
    }
    .bykeo,
    footer .licence {
        color: #00567f;
        padding-left: 0;
        text-align: center;
    }
    /* home page override */
    .t-home footer,
    .t-home footer .slant {
        background-color: #FFF;
        margin: 0 auto;
    }
}
@media only screen and (max-width: 600px){
/* home */
    .banners-home .banner {
        height: 260px;
    }
    .staff-feed {
        display: block;
        width: 100%;
        padding-top: 100%;
        margin-bottom: 20px;
    }
    .banners-advert .banner {
        display: block;
        background-position: center top;
        margin-left: 0;
        padding-bottom: 10px;
    }
    .banners-advert .banner-content {
        display: block;
        padding-left:0;
        padding-top: 50%;
    }
    .banners-advert .banner-title {
        padding-bottom: 10px;
    }
    .banners-advert .banner-caption {
        margin-bottom: 10px;
    }
    #testimonial-scroller { display: none; }
    .white {
        padding-top: 0;
    }
/* forms */
    form p > span {
        padding-left:0;
        padding-right:0;
    }
    span.half,
    form span {
        width: 100%;
    }
    span.half > span.half {
        width: 50%;
    }
    form#new-customer span:nth-of-type(odd),
    form#new-customer span:nth-of-type(even) {
        padding-left:0;
        padding-right:0;
    }
}
@media only screen and (max-width: 500px){
    a,
    .bar-top .call {
        /* These are technically the same, but use both */
        overflow-wrap: break-word;
        word-wrap: break-word;

        -ms-word-break: break-all;
        /* This is the dangerous one in WebKit, as it breaks things wherever */
        word-break: break-all;
        /* Instead use this non-standard one: */
        word-break: break-word;

        /* Adds a hyphen where the word breaks, if supported (No Blink) */
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        hyphens: auto;
    }
/* home */
    header .bar-top > div,
    header .cell-wrap,
    header .menu,
    .bar-top .call,
    .bar-top .call.other {
        display: block;
    }
    .banners-home-top-background {
        padding-top: 240px;
        margin-top: -240px;
    }
    .banners-home .banner {
        background-image: none !important;
    }
    .banners-home .banner-content {
        padding: 20px;
        padding-bottom: 30px;
    }
/* pages */
    .page-title {
        text-align: center;
        padding: 10px 0;
    }
    .subs {
        padding-top:0;
        background-color: #00567f;
    }
    .subs ul > li {
        display: inline-block;
        width: 100%;
        color: #FFF;
    }
    .subs ul > li > a {
        padding: 5px 0;
    }
    .subs li > a:hover {
        background-color: #258ecd;
    }
    .subs li.parent {
        color: #FFF;
    }
/* testimonials index */
    .testimonial-item .col {
        display: block;
        width: 100%;
    }
    .testimonial-item .col.graphic {
        padding-right:0;
        margin: 0 auto;
    }
/* header + footer */
    .slant .logo {
        position: static;
        margin-top:0;
        padding: 10px 0;
    }
    .slant:after,
    .slant:before {
        display: none;
    }
    header .menu { padding-top:0; }
    header .bar-bottom .contentwrap {
        width: 100%; /* not home page */
        height: auto;
    }
    header .menu{
        padding-left:0;
    }
    .slant,
    .t-home header .slant,
    #mobile-menu,
    footer .blue {
        position:static;
        display: block;
        width: 100%;
        text-align:center;
    }
    /* home page override */
    .t-home footer,
    .t-home footer .slant,
    .t-home header .bar-bottom .contentwrap {
        background-color: #FFF;
    }
    .t-home header .bar-bottom .contentwrap {
        width: 90%;
    }
    .t-home header .bar-bottom .contentwrap {
        display: block;
    }
    .t-home header .menu {
        background-color:#00567f;
    }
}
@media screen and (max-width: 400px){
/* home page */
    #subscribe form {
        padding-right: 0px;
    }
    #subscribe form button {
        position: static;
        width: 100%;
        height: 40px;
        margin-top: 1px;
    }
/* staff */
    .staff-person .img {
        padding-top: 100%;
    }
}
/* ==========================================================================
   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;
    }
}