/*
#91B94B
#777671
#43674E
#429658
rgba(145,185,75,0.93)
rgba(69,76,71,0.82)
*/
/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    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;
    max-width: 100%;
}

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 {
    background-color: #f5f5f5;
    padding:0;
    margin:0;
    min-height: 100vh;
}
main {
    position: relative;
    padding-top: 90px;
}
.contentwrap {
    max-width:1200px;
    margin: 0 auto;
    position:relative;
    padding:0 20px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

img {
    border:none;
    max-width:100%;
    height:auto !important;
}
a,
a:visited {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #1D4B8B;
}

/* menu generic */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
nav li {
    display: inline-block;
}
nav a {
    display: block;
    text-decoration: none;
}
span.subtitle {
    display: none;
}

/** layout **/
.table {
    display: table;
    width: 100%;
    padding-top: 30px;
    table-layout: fixed;
    box-sizing: border-box;
}
.col {
    display: table-cell;
    vertical-align: top;
    box-sizing: border-box;
}
/** social **/
.site-link {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-decoration: none;
    box-sizing: border-box;
    margin: 5px;
}
/** forms generic **/
form {
    width: 650px;
    max-width: 100%;
    margin: 0 auto;
}
form p {
    position: relative;
}
input,
textarea {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #11D4B8B;
}
textarea {
    padding-top: 10px;
    min-height: 80px;
}
label.infield {
    position: absolute;
    left: 0;
    color: #1D4B8B;
    font-size: 15px;
    line-height: 40px;
    font-weight: 300;
    text-transform: lowercase;
}
.newsletter label.infield {
    color: #FFF;
    width: 100%;
}
label.error {
    display: block;
    font-size: 12px;
    line-height: 1;
}
button {
    color: #FFF;
    background-color: #1D4B8B;
    padding: 15px 30px;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    max-width: 100%;
    box-sizing: border-box;
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
}
button:hover {
    background-color: #1D4B8B;
}

/** office hrs **/
.opening-hours {
    display: block;
    color: #1D4B8B;
    font-size: 20px;
    margin: 5px 0;
}
.opening-days {
    font-weight: 600;
}

/*============ header ============*/
header.top {
    position: fixed;
    width: 100vw;
    z-index: 1000;
}
.header-bar-top {
    color: #1D4B8B;
    background: #FFFFFF;
    background-size:cover;
    border-top: 10px solid #1D4B8B;
}
.header-bar-top .contentwrap {
    padding: 20px;
    min-height: 80px; /* for logo */
    box-sizing: border-box;
}

.over.contentwrap {
    top: -80px;
}
.logo-wrap {
    position: absolute;
    top: 5px;
    left: 20px;
    width: 250px;
    padding-left: 85px; /* for logo*/
    box-sizing: border-box;
    z-index: 10;
}
header .logo {
    display: block;
    text-decoration: none;
    z-index: 10;
}
.logo .small {
    position: absolute;
    top:0;
    left:0;
    height: 70px !important;
    transition: all 0.5s ease-in-out;
    /* transform-origin: 40% center; */
}
/*.logo-wrap:hover .logo .small {
    transform: rotate(360deg);
}*/

/** logo text **/
.logo .full {
    opacity: 1;
    width: 100%;
    padding-top: 18px;
    /* padding-left: 20px; */
    transition: opacity 0.3s ease-in-out;
    text-shadow:
        -0px -0px 0.5px #FFF,
        0px -0px 0.5px #FFF,
        -0px 0px 0.5px #FFF,
        0px 0px 0.5px #FFF;
}
.logo p.business {
    color: #1D4B8B;
    font-family: 'Raleway', sans-serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 35px;
    letter-spacing: 0.5px;
    margin:0;
}
.logo div.full p.sml {
    text-align: left;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 1px;
    color: #1D4B8B;
    margin:0;
}

/** home logo animation **/
/*.js .t-home .logo .small {
    opacity: 0;
}*/
/*
.t-home .logo.ready .small {
    opacity: 1;
    animation: rollin 1.5s linear;
}*/
/*
@keyframes rollin {
    from { left: -20vw; transform: rotate(-360deg);}
    to { left: 0; transform: rotate(360deg);}
}*/
/*
.t-home .logo.ready:hover .small {
    transform: rotate(-360deg);
}*/

/** top menu **/
header ul {
    text-transform: lowercase;
}
.header-menu {
    padding-left: 220px;
    padding-right: 40px;
}
.header-menu > ul {
    text-align:right;
}
.header-menu li.active,
.header-menu li.sub-active,
.header-menu li:hover {
    font-weight: 600;
}
.header-menu li.depth-0 {
    display: inline-table;
    vertical-align: top;
    text-align: center;
    line-height: 1;
    width: auto;
    height: 40px;
    margin: 0 20px;
}

.t-services .header-menu li.depth-0 > a[href*="contact"],
.header-menu li.depth-0 > a[href*="contact"] {
    min-width: 120px;
}
header li.depth-0 > a {
    display: table-cell;
    vertical-align: middle;
}

.header-menu li.depth-0 > a[href*="contact"] {
    font-weight: 600;
    color: #1D4B8B;
    border: 2px solid #1D4B8B;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
}
.header-menu li.depth-0.active > a[href*="contact"],
.header-menu li.depth-0 > a[href*="contact"]:hover {
    background-color: #1D4B8B;
    color: #FFFFFF;
}
.header-menu li > ul {
    display: none;
}

/** DESKTOP: drop menu **/
.mainmenu {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 0px;
    transition: height 1s ease-in-out;
    overflow: hidden;
    z-index: 4;
}
.slide-menu-active .mainmenu {
    height: 100vh;
    transition: height 1s ease-in-out;
}
.mainmenu > div {
    position: relative;
}

/** top **/
.mainmenu div.top {
    height: 100vh; /* change when mailchimp added */
    text-align: center;
    background-color: #FAF1E6;
    background-color: rgba(251, 241, 230, 0.93);
    overflow-y: auto;
}
.mainmenu .top .contentwrap {
    padding-top: 200px;
    padding-bottom: 60px;
    display: flex;
    flex-flow: row-reverse nowrap;
    justify-content: center;
}
.desktop-menu {
    color: #1D4B8B;
    /* padding-bottom: 10%; */
    width: 100%;
}
.desktop-menu > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.desktop-menu li {
    display: block;
    box-sizing: border-box;
}
.desktop-menu li > a {
    padding: 10px;
    padding-left: 20px;
}

/* generic li subs */
.desktop-menu li.has-sub {
    position: relative;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease-in-out;
}
.desktop-menu li li.has-sub.active {
    border-bottom: 1px solid #fff;
}
.desktop-menu li li.has-sub.active:first-of-type {
    border-top: none;
}
.desktop-menu li.has-sub > a {
    position: relative;
    display: inline-block;
    margin-right: 40px; /* for expand */
}
.desktop-menu li.has-sub.active > a:after,
.desktop-menu li.has-sub:hover > a:after {
    content:""; /* extend underline past margin */
    position: absolute;
    left: 100%;
    bottom: -1px;
    width: 40px;
    height: 1px;
    background-color: #FFF;
}
.desktop-menu .expand {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    cursor: pointer;
}
.desktop-menu .expand i {
    content:"";
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 30px;
    background-image: url('/app/img/dark-arrow.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
    -webkit-transition: -webkit-transform 500ms ease;
    transition: -webkit-transform 500ms ease;
    transition: transform 500ms ease;
    transition: transform 500ms ease, -webkit-transform 500ms ease;
}
.desktop-menu li.active > .wrap .expand i {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    background-image: url('/app/img/White-arrow.svg');
}
.desktop-menu li ul {
    display: block;
    text-align: left;
    font-size: 20px;
    height: 0px;
    overflow: hidden;
    transition: height 1s ease-in-out;
}
.desktop-menu li.active > ul {
    height: auto;
}
.desktop-menu li.depth-1.active > a,
.desktop-menu li.depth-1:hover > a {
    border-bottom: 1px solid #f7973d;
}

.desktop-menu li li.active > a > .title,
.desktop-menu li li:hover > a > .title {
    color: #f7973d;
}

/* top level */
.desktop-menu li.depth-0 {
	position: relative; /* for the bottom border */
	flex-grow: 1;
	flex-shrink: 0;
	display: inline-flex;
	flex-direction: column;
	/* vertical-align: top;
	 padding: 1%;*/
	padding-top: 30px; /* for active leaf */
	padding-bottom: 20px;
	height: auto;
	box-sizing: border-box;
	margin:0;
}
.desktop-menu li.depth-0 > .wrap,
.desktop-menu li.depth-0 > a {
	position: relative;
	display: block;
	padding: 5px 10px;
	padding-bottom: 15px;
	box-sizing: border-box;
	/* border-bottom: 1px solid #f7973d; */
}
.desktop-menu li.depth-0 > .wrap::after,
.desktop-menu li.depth-0 > a::after {
	content: "";
	display: block;
	position: absolute; /* to li */
	left: 0px;
	bottom: 0px;
	width: 100%;
	height: 1px;
	background-color: #f7973d;
}
.desktop-menu li.depth-0 > a,
.desktop-menu li.depth-0 > .wrap {
	display: flex;
	width: 100%;
	/* flex-grow: 1; */ /* match row height */
	box-sizing: border-box;
}
.desktop-menu li.depth-0.has-sub.active > .wrap a:after,
.desktop-menu li.depth-0.has-sub:hover > .wrap a:after {
    display: none;
}
.desktop-menu li.depth-0 > .wrap a > .title,
.desktop-menu li.depth-0 > a > .title {
    color: #1D4B8B;
    /* color: #f7973d; */
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
}
.desktop-menu li.depth-0 > .wrap a,
.desktop-menu li.depth-0 > a {

}
.desktop-menu li.depth-0.active > .wrap a::before {
    content: "";
    position: absolute;
    bottom: 100%; /* over the li top padding */
    left: 0px;
    display: block;
    width: 100%;
    height: 30px;
    background-image: url('/app/img/SingleLeaf.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.desktop-menu li.depth-0.has-sub > .wrap a {
	position: relative; /* for active leaf */
	display: inline-block;
	vertical-align: top;
	padding-right: 10px;
	box-sizing: border-box;
}
.desktop-menu li.depth-0 > .wrap .expand {
	position: relative;
    display: inline-block;
    padding-left: 1%;
    height: 100%;
    flex-grow: 0;
    flex-shrink: 0;
    cursor: pointer;
}
.desktop-menu li.depth-0 > ul {
    position: relative;
    padding: 0px 5px;
}
.desktop-menu li.depth-0.active > ul {
	padding-top: 10px;
}
/* social block */
.social {
    padding-top: 15px;
}

/** news letter - currently hidden **/
.mainmenu .bottom {
    text-align: center;
    color: #FFF;
    background-color: #429658;
    background-color: rgba(66,150,88, 0.93);
}
.mainmenu .bottom .contentwrap {
    padding-top: 5%;
    padding-bottom: 8%;
}
form.newsletter {
    display: block;
    text-align: center;
}
.newsletter h3 {
    color: #FFF;
    text-transform: uppercase;
    font-weight: 600;
}
.newsletter input {
    width: 100%;
    height: 40px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #FFF !important;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
    color: #FFF;
}

#mobile-menu {
    display: inline-block;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1001;
}
#mobile-menu span {
    display: block;
    background-color: #1D4B8B;
    height: 3px;
    border-radius: 3px;
    margin: 7px 0;
    transition: all 0.8s ease-in-out;
}
.slide-menu-active #mobile-menu span {
    background-color: #f7973d;
}
.slide-menu-active #mobile-menu > span.two{
    opacity: 0;
}
.slide-menu-active #mobile-menu > span.one {
    -webkit-transform: rotate(-45deg) translate(-8px, 7px);
    transform: rotate(-45deg) translate(-8px, 7px);
}
.slide-menu-active #mobile-menu > span.three {
    -webkit-transform: rotate(45deg) translate(-6px, -6px) ;
    transform: rotate(45deg) translate(-6px, -6px) ;
}

/***** Slide menu ****/
.slide-menu {
    display:none;
}
.slide-menu {
    background-color: #FAF1E6;
    background-color: rgba(251, 241, 230, 0.93);
    width: 240px;
    z-index:1000;
	position: fixed;
	height: 100%;
	top: 0;
	right: -240px;
	border-top: 10px solid #1D4B8B;
	overflow-y:scroll;
}
.slide-menu-active .slide-menu {
    right: 0px;
    overflow: auto;
}
.site-content-menu-slide {
    overflow-x:hidden;
    position:relative;
    right:0;
    min-height: 100vh;
}
/* 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: #1D4B8B;
	letter-spacing: 1px;
	border-bottom: 1px solid #1D4B8B;
	margin:0;
}
.slide-menu ul ul {
	background-color : rgba(248, 152, 62, 0.40);
}
.slide-menu ul ul ul{
	background:#faf1e6;
}
.slide-menu li {
    position:relative;
    display: block;
}
.slide-menu li > ul {
    display:none;
}
.slide-menu li.expand-active > ul {
    display:block;
}
.slide-menu a {
	display: block;
	color: #1D4B8B;
	font-size: 16px;
	font-weight: 300;
	border-bottom: 1px solid #1D4B8B;
	padding: 16px;
	text-decoration:none;
}
.slide-menu li.has-sub > a {
    position: relative;
    border-right: 1px solid #1D4B8B;
    margin-right: 50px; /* space for drop */
}
.slide-menu li.depth-0 > a {
    font-size: 18px;
}
.slide-menu a:hover {
    font-weight: 600;
}
.slide-menu li.depth-0 > a:hover {
	color: #1D4B8B;
}
.slide-menu li.active {
    font-weight: 600;
}
.slide-menu li.has-sub > a:after {
    position: absolute;
    content: "";
    display: block;
    left: 100%;
    bottom: -1px;
    background-color: #1D4B8B;
    width: 50px;
    height: 1px; /* border bottom */
    z-index: 100;
}
.slide-menu li .expand {
    position: absolute;
    top: 0;
    right: 0;
    height: 54px;
    width: 50px;
    cursor: pointer;
}
.slide-menu li .expand i {
    content:"";
    display: block;
    height: 100%;
    width: 100%;
    background-image: url('/app/img/White-arrow.svg');
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transition: -webkit-transform 500ms ease;
    transition: -webkit-transform 500ms ease;
    transition: transform 500ms ease;
    transition: transform 500ms ease, -webkit-transform 500ms ease;
}
.slide-menu li.depth-0 > .expand i {
    background-image: url('/app/img/green-arrow.svg');
}
.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 .footer-bottom {
    background: #1D4B8B;
    color:#fff;
    padding: 20px 0;
    z-index: 100;
    position: relative;
}

footer .table {
    padding-top: 0;
    table-layout: auto;
}
footer .col {
    width: auto;
}

.footer-top{
    background-color: #F7973D;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding:clamp(2rem, 5vw, 5rem) 20px;
    gap:.75rem;
    font-weight: bold;
    align-items: center;
}
.footer-top h2{
    margin:0;
    font-size:clamp(18px, 3.5vw, 40px);
}
.footer-top h3{
    margin-top:0;
    font-size:clamp(16px, 3vw, 35px);
    
}

.site-map {
    text-align: right;
    line-height: 30px;
}
.site-map:after {
    content:"";
    display: table;
    width: 100%;
    height:1px;
    clear: both;
}
.site-map p {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    float: right;
}
.site-map ul {
    list-style:none;
    padding:0;
    margin:0;
}
.site-map > ul {
    display: inline-table;
    vertical-align: middle;
}
.site-map > ul > li {
    display:table-cell;
}
.site-map li {
    transition: all 0.3s ease-in-out;
}
.site-map li:hover {
    font-weight: 600;
}
.site-map li li {
    display:block;
}
.site-map a {
    color: inherit;
    text-decoration: none;
    display: block;
    padding-right: 15px;
    position: relative;
    margin-right: 15px;
}
.site-map a:after {
    content: " | ";
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
}

/** bykeo ***/
.bykeo {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
    border: 0;
    background: #f5f5f5;
}
.bykeo a {
    color: grey;
    text-decoration:none;
    line-height: 30px;
}
.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 ============*/
/*  banner */
.banners-home {
    position: relative;
}
.banners-home .banner-stage {
    padding-top: 40%;
    position:relative;
}
.banners-home .banner:before { /*darken*/
    content: '';
    display: block;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    position: absolute;
    background-color: rgba(42, 42, 42, 0.20);
    transition: all 0.3s ease-in-out;
    z-index: 0;
}
.banners-home .banner:hover:before {
    background-color: rgba(42, 42, 42, 0.1);
}
.banners-home .banner {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    display:block;
    text-decoration: none;
    background-position: center;
    background-size:cover;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner.active {
    opacity: 1;
    z-index: 1;
}

.banners-home .banner-content {
    position: relative;
    display: table;
    width: 1200px;
    height: 60%;
    font-weight: 600;
    text-align: center;
    margin: 0 auto;
    z-index: 1;
}
.banner-content .banner-name {
    display: none;
}
.banner-content .banner-caption {
    display: table-cell;
    vertical-align: middle;
    color: #FFFFFF;
    font-size: 40px;
    letter-spacing: 2px;
    line-height: 1.1;
    padding-bottom: 60px; /** for nav **/
}
.banner-caption > span {
    display: block;
}

.banners-home .banner-navigation {
    display: none;
    position: absolute;
    left: 0;
    bottom: 30%;
    width: 100%;
    padding: 20px 0;
    z-index: 2;
}
.banner-navigation-body {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.banner-nav-item {
    display: inline-block;
    vertical-align: middle;
    width: 15px;
    height: 15px;
    background-color: transparent;
    border-radius: 50%;
    border: 1.5px solid #FFF;
    margin: 5px;
}
.banner-nav-item.active {
    background-color: #FFF;
}
.banner-nav-item > span {
    display: none;
}

/** Feature Nav **/
.features {
    position: relative;
    display: block;
    width: 80%;
    background-color: #fff;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    margin: 0 auto;
    margin-top: -15%;
    z-index: 1;
}
.features ul {
    list-style-type: none;
    display: table;
    table-layout: fixed;
    border-collapse separate;
    border-spacing: 10px;
    width: 100%;
    height: 250px;
    padding: 0;
    margin:0;
}
.features li {
    position: relative;
    display: table-cell;
    vertical-align: top;
}
.features ul > li:nth-child(n+5) {
    display: none;
}
.features a {
    display: block;
    text-align: center;
    font-size: 14px;
    width: 100%;
    height: 100%;
    color: #FFF;
    background-color: #d3d3d3;
    padding: 8%;
    padding-top: 40px;
    padding-bottom: 80px; /* button */
    box-sizing: border-box;
}

.features ul > li:first-of-type > a:before,
.features ul > li:nth-of-type(2) > a:before,
.features ul > li:nth-of-type(3) > a:before,
.features ul > li:nth-of-type(4) > a:before {
    content:"";
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height:100%;
    z-index: 1;
}
.features ul > li:first-of-type > a:before {
    background-color: rgba(105,10,119, 0.6);
}
.features ul > li:nth-of-type(2) > a:before {
    background-color: rgba(71,137,85, 0.6);
}
.features ul > li:nth-of-type(3) > a:before {
    background-color: rgba(0,196,168, 0.6);
}
.features ul > li:nth-of-type(4) > a:before {
    background-color: rgba(235,181,58, 0.6);
}

.features .menu-icon {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.features span {
    position: relative;
    display: block;
    margin: 10px 0;
    z-index: 2;
}
.features span.subtitle {
    display: block;
}
.features span.title {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 1px;
    font-weight: 600;
}
.features a:after {
    content:"Find Out More";
    position: absolute;
    left: 50%;
    bottom: 30px;
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #FFF;
    border-radius: 30px;
    margin-left: -75px;
    z-index:2;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
.features a:hover:after {
    color: #000;
    background-color: #FFF;
}

/** about + people table **/
.t-home main > div:last-of-type {
    padding-bottom: 0;
}
.t-home #content .table {
    background-color: #FFF;
}
.col.left > .about {
    padding-left: 20px;
    box-sizing: border-box;
}
.buttons {
    padding: 8% 0;
}
.col.pic {
    position: relative;
    background-color: #d3d3d3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.col.pic.ppl:before { /* darken */
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    background-color: rgba(42,42,42, 0.20);
    transition: all 0.3s ease-in-out;
    z-index: 0;
}
.col.pic::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(/app/img/Pattern.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
}
.col.pic.ppl:hover:before {
    background-color: rgba(42,42,42, 0.1);
}
.peoplelink {
    position: absolute;
    top:0;
    left:0;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    box-sizing: border-box;
    z-index: 1;
}
.peoplelink h1 {
    color: #FFFFFF;
    width: 250px;
    line-height: 0.7;
    margin-left: 60px;
}

.peoplelink h1:after {
    content: "";
    display: inline-block;
    vertical-align: bottom;
    width: 50px;
    height: 50px;
    background-image: url(/app/img/green-arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform: rotate(270deg);
    margin-left: 10px;
}

/* has people page */
.col.left.pad > .about {
    padding-right: 60px;
    padding-bottom: 15%;
    max-width: 600px;
    margin-left: auto;
}
/* no people page */
.col.left.no-people > .about {
    padding-right: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/*============ page template ============*/
.page-title {
    text-transform: lowercase;
    font-size: 55px;
    line-height: 1;
}
main > div:last-of-type {
    padding-bottom: 5%;
}
.col.pad {
    padding-right: 60px;
}

/** more services circle menu **/
.more-services {
    text-align: center;
    background-color: #FFF;
}
.more-services .contentwrap {
    padding: 5% 20px;
}
.more-services h1 {
    margin-top:0;
}
.more-services li.active {
    display: none;
}
.more-services li {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    margin: 1%;
    overflow: hidden;
}
.more-services li > a {
    display: table;
    width: 200px;
    height: 200px;
}
.more-services li > a:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(31, 134, 135, 0.64);
    transition: background-color 0.25s ease-in-out;
    z-index: 2;
}
.more-services li > a:hover:after {
    background-color: rgba(31, 134, 135 ,0.7);
}
.more-services .menu-icon {
    position: absolute;
    display: block;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-size: cover;
    background-position: center;
}
.more-services span.title {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    color: #FFFFFF;
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    line-height: 1.1;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    z-index: 3;
}
main > div.more-services:last-of-type {
    padding-bottom: 0;
}

/*============ services template ============*/
/* top 'banner' */
.services-menu {
    position: relative;
    font-family: 'Raleway', sans-serif;
    color: #ffffff;
}
.services-menu > ul {
    width: 100%;
    display: table;
    table-layout: fixed;
    height: 500px;
    height: 30vw;
    margin:0;
    padding:0;
    overflow:hidden;
}
.services-menu li.depth-0 {
    position: relative;
    display: table-cell;
    width: 20%;
    vertical-align: bottom; /* title */
    border-right: 1px solid #000;
    overflow:hidden;
    transition: all 0.3s ease-in-out;
}
.services-menu li:hover {
    width: 40%;
}
.services-menu li:before { /* darken */
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(42, 42, 42, 0.50);
    transition: background-color 0.3s ease-in-out;
    z-index: 1;
}
.services-menu li:hover:before {
    background-color: rgba(42, 42, 42, 0.2);
}

.services-menu li > a {
    position: relative;
    display: table;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.services-menu .menu-graphic {
    display: block;
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top;
}

.services-menu span.title,
.services-menu span.subtitle {
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
    z-index: 2;
}
.services-menu span.title {
    position: relative;
    display: table-cell;
    vertical-align: bottom;
    font-size: 25px;
    text-align: right;
    padding-bottom: 40px;
}
.services-menu span.subtitle {
    position: absolute;
    display: block;
    top: 0;
    left: -100%;
    text-align: left;
    width: 100%;
    height: 59%;
    padding-left: 50px;
    padding-right: 40%;
    font-size: 35px;
    box-sizing: border-box;
    transition: left 0.3s ease-in-out;
}
.services-menu li:hover span.subtitle {
	left:0;
	transition: left .5s ease-in-out;
}


/* values */
.values {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}
.contain {
    padding: 100px;
}
.contain:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(42, 42, 42, 0.4);
    z-index: 0;
}
.values .text {
    position: relative;
    color: #FFFFFF;
    padding-bottom: 100px;
    z-index: 1;
}
.values .text h1,
.values .text h2,
.values .text h3,
.values .text h4 {
    color: #FFF;
}
.values .page-title,
.values h2 {
    text-align: center;
}
.values .page-title {
    margin-top: 0;
}
.values h2 {
    text-transform: uppercase;
    margin: 20px 0;
}
.text .page-content {
    width: 50%;
    margin: 0 auto;
    padding-bottom: 25px;
}

/** white bar **/
.whitebarvalues {
    background-color: #FFFFFF;
    position: relative;
    padding: 20px;
    color: #43674E;
}
.whitebarvalues .title {
    text-transform: uppercase;
    text-align: center;
}

.whitebarvalues:before, .whitebarvalues:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: #FFFFFF;
    left: 0;
    right: 0;
}

.whitebarvalues:before {
    left: -100%;
    right: 100%;
}

.whitebarvalues:after {
    left: 100%;
    right: -100%;
}
.t-shared-index .page-title{
    text-transform: capitalize;
}
.inline-field{
    border-bottom: 2px solid #1D4B8B;
    display: grid;
    grid-template-columns:20px 1fr;
    grid-gap:.5rem;
    padding:.75rem 0;
    
}
.inline-field .wrap{
    position: relative;
    display: flex;
    flex-direction: column;
}
.inline-field .wrap .infield{
    padding-left:3px;
}
.inline-field img{
    width: 100%;
    aspect-ratio: 1/1;
    margin-top: 5px;
}
.inline-field label.error{
    grid-column: 2/-1;
}
.field-wrap{
    display: flex;
    /* justify-content: space-between; */
    gap:1rem;
}
.filter-section > h2{
    font-size: clamp(20px, 4vw, 40px);
    font-weight: 700;
}
.filter-section > h3{
    font-size: clamp(16px, 3vw, 24px);
    font-weight: 700;
}
.category-filter{
    margin-top:2rem;
    margin-bottom: 2.5rem;
    align-items: center;
    gap:2rem!important;
}
.category-filter:last-child{
    /* padding-bottom: 4rem; */
    /* border-bottom: solid 2px #1D4B8B; */
}
.category-filter a{
    text-decoration: none;
}
.category-filter a.active img{
    filter:brightness(0) saturate(100%) invert(72%) sepia(29%) saturate(2369%) hue-rotate(332deg) brightness(101%) contrast(94%);
}
.category-filter a.active, .category-filter a:hover{
    color:#F7973D;
    transition: color .3s ease-in-out;
}
.active-category-filter{
    padding-bottom:2rem;
}
.active-category-filter .active-category{
    position: relative;
    background-color: #DCEFDB;
    border: 2px solid #1D4B8B;
    color: #1D4B8B;
    border-radius: 26px;
    text-decoration: none;
    font-weight: 700;
    padding:5px 25px;
    padding-right: 50px;
    display: flex;
    align-items: center;
}
.active-category-filter .active-category::after{
    content:'x';
    position: absolute;
    border-radius: 50%;
    right:10px;
    border: 1px solid #1D4B8B;
    height: 17px;
    width: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 1px;
}
.active-category-filter .active-category:hover::after{
    background-color: #1D4B8B;
    color: #fff;
}
#career-form {
    padding: 20px;
    background-color: #fff;
}
#career-form .form-title{
    text-align: center;
}
#career-form input, #career-form textarea{
    border:none;
    color:#919191;
    height: 30px;
    font-size: 16px;
}
#career-form textarea{
    min-height: 150px;
}
#career-form button[type="submit"]{
    margin: 2rem 0;
    padding:10px 25px;
    transition: background-color 0.3s ease-in-out;
}
#career-form button[type="submit"]:hover{
    background-color: #f7973d;
}
#career-form select{
    background-color: transparent;
    border: none;
    color:#919191;
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
}
#career-form .recaptcha-notice{
    margin-bottom: 2rem;
}
.career-form-result{
    text-align: center!important;
    margin:2rem 0;
}
.t-shared-index .no-listing{
    border-top:solid 2px #1D4B8B;
    padding-top:2rem;

}
.t-shared-index .card-header{
    display:flex;
    justify-content: space-between;
    flex-wrap:wrap;
    /* padding: .5rem 0; */
}
.t-shared-index .card-header .header-content{
    width:100%;
    display: flex;
    padding: 20px 0;
}
.t-shared-index .card-header .header-content .summary{
    width:100%;
}
.t-shared-index .card-header .header-content img{
    width: 100%;
    aspect-ratio: 6/4;
    object-fit: cover;
}
.t-shared-index .card{
    padding: 2rem 0;
    border-top:2px solid #1D4B8B;
}
#shared-content-list .contentwrap > .card:last-child{
    border-bottom:2px solid #1D4B8B; 
}
.t-shared-index .page-graphic img{
    width:100%;
}
#shared-content-list{
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.collapse-card .card-body{
    transition: max-height .3s ease-in-out;
    height: auto;
}
.collapse-card .card-body .kmsgallery-thumbnail-image{
    display: none;
    box-sizing: border-box;
}

.collapse-card .card-body .kmsgallery-thumbnail-image.first {
    display: inline-flex;
    width: auto;
    margin:0;
}
.mfp-close:hover, .mfp-arrow:hover{
    background-color: transparent!important;
}

button.mfp-close {}
.collapse-card .card-body .flex{
    margin-top: 2rem;
}
.collapse-card.fold .card-body{
    max-height: 0px!important;
}
.flex{
    display: flex;
    gap:1rem;
    flex-wrap: wrap;
}
.two-col-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width:100%;
    grid-gap: 1rem;
}

.pager{
    margin:2rem 0;
    padding:0;
    display: flex;
    gap:min(4vw, 1.5rem);
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}
.pager li{
    background-color: white;
    border: 2px solid #1D4B8B;
    transition: background-color .3s ease-in-out, color .3s ease-in-out;
    border-radius: 50%;
    color:#1D4B8B;
    font-weight: 700;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pager a, .pager span{
    display: block;
    text-decoration: none;
    color:inherit;
    padding:1rem;
}
.pager li:hover, .pager li.active{
    background-color: #DCEFDB;
}
.pager li.active{
    cursor: pointer;
    pointer-events: none;
}
.pager li.disabled{
    cursor:not-allowed;
    color:#888;
    border-color: #888;
    background-color: #eee!important;
    font-weight: 300;
}
.pager li:first-child, .pager li:last-child{
    display:none;
}

/*============ staff ============*/
/* doesn't get used currently?
.t-people h1.page-title {
    text-align: center;
}

.staff-member {
    max-width: 500px;
    margin: 150px auto;
    text-align: center;
}

.staff-member h2 {
    font-size: 40px;
    font-family: 'Raleway', sans-serif;
    font-weight:  600;
}

.staff-member img {
    width: 100%;
}

.staff-member p {
    font-size: 16px;
} */

/*============ contact ============*/
.t-contact .page-title {
    text-align: center;
}
/** form **/
#form-result {
    text-align: left;
    padding-top: 20px;
    padding-bottom: 40px;
}
#form-result h1 {
    text-align: center;
}
.contact p:first-of-type {
    margin-top:0;
}
.contact label.infield {
    padding-left: 30px;
}
#name2,
#email2,
#phone,
#text,
.contactusinfo .label{
    padding-left: 30px;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: left center;
}
#name2 {
    background-image: url('/app/img/user.svg');
}
#email2 {
    background-image: url('/app/img/email.svg');
}
#phone {
    background-image: url('/app/img/phone.svg');
}
#text {
    background-image: url('/app/img/message.svg');
    background-position: left 15%;
}

/** map + details **/
.map {
    text-align: center;
}
.map-wrap {
    position: relative;
    max-width: 650px;
    height: 300px;
    background-color: grey;
    border: 1px solid #d3d3d3;
    margin: 0 auto;
}
.kms-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
}
#map {
    position: relative;
    width: 100%;
    height:100%;
}
.contactusinfo {
    text-align: center;
}
.contactusinfo p,
.contactusinfo a {
    position: relative;
    font-size: 20px;
    color: #1D4B8B;
    font-weight: 600;
    text-decoration: none;
}
.contactusinfo p.email .label {
    background-image: url(/app/img/email.svg);
}
.contactusinfo p.phone .label {
    background-image: url(/app/img/phone.svg);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (min-width: 1900px){
/** home logo animation **/
    /*.t-home .logo.ready .small {
        animation: rollin 2s linear;
    }*/
}

@media only screen and (max-width:1300px){
/** home **/
    .banners-home .banner-content {
        width:100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .banners-home .banner-navigation {
        bottom: 80px;
    }
    .features {
        width: 100%;
        margin-top: -80px;
    }
    /** home logo animation **/
    /*.t-home .logo .small {
        animation: rollin 1s linear;
    }*/
}

@media only screen and (max-width:1100px){
/* header */
    header li.depth-0 {
        margin: 0 10px; /* stop wrap */
    }
}

@media only screen and (max-width: 960px) {
/** header **/
    .header-menu,
    .mainmenu {
        display:none;
    }
    .slide-menu {
        display:block;
    }
    .slide-menu-active #mobile-menu {
        top: 10px;
    }
    #mobile-menu span {
        transition: all 0.3s ease-in-out;
    }
    .slide-menu-active #mobile-menu > span {
        background-color: #1D4B8B;
    }
/** footer **/
    
    .footer-bottom .contentwrap {
        display: block;
    }
/** home **/
    .banners-home .banner-stage {
        padding-top: 400px;
    }
    .features ul {
        display: block;
        height: auto;
    }
    .features li {
        display: inline-block;
        width: 48%;
        box-sizing: border-box;
        margin: 1%;
    }
    .features a {
        min-height: 250px;
    }
    .features span.subtitle {
        display: none;
    }
    .col.left.pad > .about {
        padding: 20px;
        max-width: 100%;
    }
/** page **/
    .page-title {
        font-size: 40px;
        margin-top: 20px;
    }
    .more-services span.title {
        font-size: 20px;
        line-height:1;
    }
    main > div:last-of-type {
        padding-bottom: 0px;
    }
/** services **/
    .services-menu {
        display: none;
    }
    /* values */
    .contain {
        padding: 40px 20px;
        padding-bottom: 0;
    }
    .values .text {
        padding-bottom: 40px;
    }
    .text .page-content {
        width: 90%;
    }
    .whitebarvalues {
        display: block;
        padding: 20px 0;
    }
/** stack table layout **/
    #content .table,
    #content .col {
        display: block;
        width: 100%;
    }
    #content .table {
        padding-top: 20px;
    }
    .col.left {
        padding-bottom: 20px;
    }
    .col.pad {
        padding-right: 0;
    }
    #content .col.pic {
        padding-top: 70%;
        padding-top: 70vw;
        width: 120%;
        width: 100vw;
        margin: 0;
    }
    .col.pic {
        background-position: center 14%;
    }
    #content .col.pic.ppl {
        padding-top: 0;
        background-position: center;
    }
    .peoplelink {
        position: relative;
        padding: 20px;
        padding-bottom: 50%;
        padding-bottom: 50vw;
    }
    .peoplelink h1 {
        margin: 20px;
        width: auto;
    }
    .peoplelink h1:after {
        width: 30px;
        height: 30px;
    }
    .buttons {
        padding: 20px 0;
    }
/** contact **/
    .t-contact #content .table {
        display: table;
    }
    .t-contact #content .col {
        display: table-cell;
    }
    .contactusinfo p {
        font-size: 16px;
    }
}

@media only screen and (max-width: 760px) {
/** reduce scroll **/
    h1 {
        font-size: 2em;
    }
    a {

        /* 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;

    }
    a.logo {
        overflow-wrap: normal;
        word-wrap: normal;
        -ms-word-break: normal;
        word-break: normal;
        word-break: normal;
        white-space: nowrap;
    }
/** home **/
    .banner-content .banner-caption {
        font-size: 35px;
        width: 300px;
    }
    .banner-content .banner-caption:after {
        top: 130% !important;
        width: 50px !important;
        height: 40px;
        right: 20px;
        text-align: center;
    }
    .banners-home .banner-navigation {
        display: none;
    }
/** pages **/
    .more-services ul {
        display: block;
    }
/** contact **/
    .map-wrap {
        width: 650px;
        max-width: 100%;
        height: 300px;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 600px) {
/** home **/
    .features {
        padding: 5px;
        padding-bottom: 20px;
    }
    .features li {
        display: inline-block;
        width: 200px;
        max-width: 100%;
    }
    .features li a {
        min-height: 200px;
    }
/** footer **/
    footer .table,
    footer .col,
    .site-map p,
    .site-map ul{
        display: block;
        text-align: center;
    }
    .site-map p {
        float: none;
    }
    .site-map > ul > li {
        display: inline-block;
        vertical-align: top;
    }
    .site-map li:last-of-type > a {
        padding-right: 0;
        margin-right: 0;
    }
    .site-map li:last-of-type > a:after {
        display: none;
    }
/** page **/
    #content .col.pic { /* square */
        padding-top: 100vw;
    }
    .peoplelink {
        padding-bottom: 85vw;
    }

    .t-shared-index .card-header{
        flex-direction: column;
        align-items: center;
    }
    .two-col-grid{
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   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;
}

*:focus {
    outline: none;
}

.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;
    }
}

.services-menu a {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
}

.services-menu.resources ul {
    max-width: 100vw;
}

.services-menu.resources li {
    width: 33%;
}

.services-menu.resources ul > li > a > span {
    margin: 0;
    padding: 30px;
    padding-left: 395px;
    padding-top: 500px;
    bottom: 0;
    right: 0;
}




