
/*! 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;
}

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;
    font-size: 14px;
}

.contentwrap {
    max-width:1200px;
    margin: 0 auto;
    position:relative;
    padding: 20px 20px;
}

img {
    border:none;
    max-width:100%;
    height:auto !important;
}
#content img {
    padding: 10px 0;
}

/*============ header ============*/
.t-home header.top {
    right: 0;
    left: 0;
    top: 40px;
    position: absolute;
    z-index: 10000;	
}
header.top {
    background:#ffffff;
    color:#222321;
}
.header-bar-top {
    display:flex;
    padding: 14px;
    justify-content: space-between;
    align-items: center;
    /* position: absolute; */
    top: 0;
    left: 0;
    right: 0;
}
header.top a.telephone {
	color:inherit;
	text-decoration: none;
	margin-right: 15px;
	letter-spacing: 0.1em;
}
header.top h1 {
    text-transform:uppercase;
    font-size:11px;
    line-height: normal;
    font-weight:normal;
    flex-basis: 50%;
    letter-spacing: 0.3em;
}
.header-bar-top > a {
    z-index: 100;
}
.header-bar-top P {
	margin:0;
	text-align: right;
	flex-basis: 50%;
}
.logo {
    margin-bottom: -10px;
    /*margin-top: -10px;*/
}
.js .t-home .logo {
    position: relative;
    z-index: 10;
}
/*
.header-menu a[href="/"] .title {
    display:none;
}
.header-menu a[href="/"]::after,
.header-menu li.active a[href="/"]::after {
    content:"";
    display: block;
    width: 96px;
    height: 96px;
    background-image:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/koobah/app_files/img/logo.png');
    background-size:contain;
    background-position:center;
    background-repeat: no-repeat;
    position: static;
    /* outline: 1px solid black; * /
    margin-left: 0;
    margin-bottom: -8px;
}
.header-menu a[href="/"]::before,
.header-menu li.active a[href="/"]::before {
	display:none;
}
*/
.header-menu ul {
    list-style:none;
    text-align:center;
    padding: 0;f
    margin: 0;
    text-transform: uppercase;
}
.t-home .header-menu ul {
    background:rgba(0,0,0,0.44);
}
.header-menu li {
    display:inline-block;
    position: relative;
    vertical-align: middle;
    width: 150px;
}
.t-home .header-menu li {
	padding:0;
}
.header-menu li.active a::before,
.header-menu li.active a::after {
	content:"";
	display: block;
	width: 24px;
	height: 8px;
	background: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/koobah/app_files/img/flair.svg') center no-repeat;
	position: absolute;
	left: 50%;
	margin-left: -12px;
	top: 50%;
	margin-top: -15px;
}

.header-menu li.active a::after {
	margin-top: 10px;
}
.header-menu li.active::before {
	top:5px;
}
.header-menu li.active::after {
	bottom:5px;
}
.header-menu a {
    display:block;
    padding: 10px 15px;
    text-decoration:none;
    color:inherit;
    letter-spacing: 0.13em;
    font-weight: bold;
}
.t-home .header-menu a[href="/"]::after,
.t-home .header-menu li.active a[href="/"]::after {

    margin-top: -72px;
}
#mobile-menu {
    display: none;
    position: absolute;
    position: fixed;
    top: 20px;
    left: 20px;
    background: #000 url(https://keo-cms.appspot.com.storage.googleapis.com/sites/koobah/app_files/img/menu-icon.svg) center no-repeat;
    background-size: 24px;
    font-size: 24px;
    padding: 8px;
    width: 24px;
    height: 24px;
    margin: 2px;
    margin-bottom: 0;
    cursor: pointer;
    z-index:100;
}
/***** Slide menu ****/
.slide-menu {
    display:none;
}
.slide-menu {
	background: #333;
	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:#000;
	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 #030b16;
	padding: 18px;
	text-decoration:none;
}
.slide-menu li.has-sub {
    position: relative;
    display: block;
}
.slide-menu li.has-sub > a {
    position: relative;
    border-right: 1px solid #030b16;
    margin-right: 50px; /* space for drop */
}
.slide-menu a:hover {
	background: #ccc;
	color: #000;
	font-weight: 600;
}
.slide-menu li.has-sub > a:after {
    position: absolute;
    content: "";
    display: block;
    left: 100%;
    bottom: -1px;
    background-color: #030b16;
    width: 50px;
    height: 1px; /* border bottom */
    z-index: 100;
}
.slide-menu ul .expand {
    position: absolute;
    top: 0;
    right: 0;
    border-left: 1px solid #030b16;
    height: 54px;
    width: 50px;
    cursor: pointer;
}
.slide-menu ul .expand i {
    content:"";
    display: block;
    height: 100%;
    width: 100%;
    background: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/koobah/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.bottom .contentwrap {
    max-width:1000px;
    display:flex;
    justify-content:space-between;
    padding:75px 10px;
}
footer.bottom a {
	text-decoration:none;
	color:inherit;
}
footer.bottom h2 {
	font-size:13px;
	text-transform:uppercase;
	font-family: source-sans-pro, sans-serif;
}
.footer-contact > p {
    margin: 0;
}
nav.explore ul {
	list-style:none;
	padding:0;
	margin:0;
}
nav.explore a {
	display:block;
	padding: 10px 0;
}
.social-link-icon {
	width:32px;
}
/** bykeo ***/
.bykeo {
    display: block;
    text-align: center;
    font-size: 12px;
    padding-top: 10px;
    padding-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}
.bykeo a {
    color: grey;
    text-decoration:none;
}
.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);
}


/*============ forms ============*/
input {
	border:none;
	border-bottom: 2px solid black;
	padding: 10px;
	font-size: 15px;
	font-family: calibri, sans-serif;
	min-width:240px;
}
form.floatlabel-active .js-float-label-wrapper {
    position:relative;
}
form.floatlabel-active .js-float-label-wrapper label.control-label {
    position:absolute;
    top:12px;
    left:12px;
    transition: all 0.5s ease;
    z-index: 10;
}
form.floatlabel-active .js-float-label-wrapper.focused label.control-label,
form.floatlabel-active .js-float-label-wrapper.populated label.control-label {
    top:1px;
    left:2px;
    font-size: 10px;
}
form.floatlabel-active .form-group.js-float-label-wrapper.focused label.control-label,
form.floatlabel-active .form-group.js-float-label-wrapper.populated label.control-label {
    top:2px;
    left:2px;
}

/*============ splash ============*/
.t-home header.top {
    position:absolute;
    z-index:1000;
    top:0;
    left:0;
    right:0;
    background:transparent;
    color:#ffffff;
}
.t-home .header-bar-top {
	position:static;
}
.t-home .header-menu .contentwrap {
	max-width:none;
	padding: 0;
}
/*  banner */
.t-home .banners-home .banner-stage {
	padding-top: 40%;
}
.banner-stage {
    padding-top: 28.4%;
    position:relative;
}
.banners-home .banner-stage::after {
    content: "";
    position:absolute;
    display: block;
    width: 48px;
    height: 48px;
    background-image: url(https://keo-cms.appspot.com.storage.googleapis.com/sites/koobah/app_files/img/scroll-down.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: -24px;
    z-index: 1000;
    left: 50%;
    bottom: 20px;
}
.banner {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    display:block;
    background-position:center;
    background-size:cover;
    text-decoration:none;
}

.banner-content {
    display:flex;
    flex-direction:column;
    color:#ffffff;
    justify-content:center;
    height: 100%;
    align-items: center;
}
.banner-name {
	display:none;
}
.banner-title {
	text-transform:uppercase;
	font-family: source-sans-pro, sans-serif;
	font-size:18px;
	letter-spacing: 0.13em;
}
.banner-caption {
	font-size:32px;
	font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif;
}
    .banner-navigation {
    display:none;
}

/*============ related pages feed ============*/
.related-pages {
    background:#F4EEE9;
    display:flex;
    justify-content:center;
}
.related-page {
    margin:20px;
    flex-basis: 250px;
    text-align:center;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.related-page:hover {
    outline: 1px solid #D3D3D3;
    transform:scale(1.05);
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
.related-page-icon {
    height: 300px;
    background-size:cover;
    background-position:center;
}
.related-page-title {
	text-transform:uppercase;
	padding:10px;
	font-family: source-sans-pro, sans-serif;
	font-weight: 600;
}
.related-page-summary {
	padding:10px;
}
.related-page a {
	color:inherit;
	text-decoration: underline;
	font-weight: 600;
	font-family: source-sans-pro, sans-serif;
}
/*============ bottom cta ============*/
.bottom-cta {
    background:#F4EEE9;
    text-align:center;
    padding: 100px 0;
}
.bottom-cta nav ul {
	list-style:none;
	margin:0;
	padding: 0;
	display:flex;
	justify-content:center;
}

.bottom-cta nav li {
    margin:20px;
    flex-basis: 250px;
    text-align:left;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.bottom-cta nav li:hover {
    outline: 1px solid #D3D3D3;
    transform:scale(1.05);
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
.bottom-cta nav li .title {
	text-transform:uppercase;
	padding:10px;
	font-family: source-sans-pro, sans-serif;
	font-weight: bold;
	display: block;
	letter-spacing: 0.13em;
	text-decoration: underline;
}
.bottom-cta nav li .page-teaser {
	padding:10px;
	display:block;
}
.bottom-cta nav a {
	color:inherit;
	font-weight: 600;
	font-family: source-sans-pro, sans-serif;
	text-decoration:none;
}
.bottom-cta nav img {
	width:100%;
}
/*============ child page menu============*/
.child-pages {
	background:#F4EEE9;
	padding: 100px 0;
	text-align:center;
}
.child-pages h2 {	
	font-family: calibri, sans-serif;
	font-weight:lighter;
	font-size:16px;
}

.child-pages ul {
	list-style:none;
	padding:0;
	margin:0;
	display:flex;
	width:100%;
	justify-content:center;
	align-items:center;
}
.child-pages li {
    margin:20px;
    flex-basis: 250px;
    text-align:left;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.child-pages li:hover {
    outline: 1px solid #D3D3D3;
    transform:scale(1.05);
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
.child-pages li .title {
	text-transform:uppercase;
	padding:10px;
	font-family: source-sans-pro, sans-serif;
	font-weight: 600;
	display: block;
	letter-spacing: 0.13em;
}
.child-pages li .page-teaser {
	padding:10px;
	display:block;
}
.child-pages a {
	color:inherit;
	font-weight: 600;
	font-family: source-sans-pro, sans-serif;
	text-decoration:none;
}
/*============ gallery-cta ============*/
.gallery-cta {
	background:black url('https://keo-cms.appspot.com.storage.googleapis.com/sites/koobah/app_files/img/horse.jpg') no-repeat;
	background-position: 10% 50%;
	background-size: auto 100%;
	padding:100px 0;
}
.gallery-cta h1 {
	text-align:center;
	color: #ffffff;
	font-weight: normal;	
	font-family: source-sans-pro, sans-serif;
	position:relative;
} 
.gallery-cta h1::before,
.gallery-cta h1::after {
	content:"";
	display:block;
	background: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/koobah/app_files/img/flair.svg') center no-repeat;
	width:50px;
	height:15px;
	position:absolute;
	left:50%;
	margin-left:-25px;
}
.gallery-cta h1::before {
	top: -17px;
}
.gallery-cta h1::after {
	bottom: -19px;
}
/*============ testimonial ============*/
.testimonial {
	text-align:center;
	font-size:32px;
	font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif;
	padding: 64px 0;
}
.testimonial .contentwrap {
	max-width:500px;
}
.testimonial .small {
	font-size:11px;	
	font-family: calibri, sans-serif;
	color:#606060;
}
.testimonial p.body::before {
	content:"";
	display: inline-block;
	width:128px;
	height:128px;
	margin-right: -64px;
	margin-top: -64px;
	background:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/koobah/app_files/img/quote.svg') center no-repeat;
	float: left;
}
/*============ sub page============*/
.page-content.no-graphic {
	padding-top:150px;    
}
.page-graphic {
    padding-top: 29.9%;
    background-size:cover;
    background-position:center;
    position:relative;
    color: #ffffff;
}
.page-graphic-content {
	position:absolute;
	bottom:0;
	left:0;
	right:0;
	text-align: center;
	padding-bottom: 100px;
}
.page-title {
	font-size:18px; 
	font-family: source-sans-pro, sans-serif;
	text-transform:uppercase;
	font-weight:normal;
}
.page-subtitle {
	font-size:32px;
	font-weight:normal;
	letter-spacing: 0.03em;
}
/*============ categories list ============*/
.feed-item {
	padding: 100px 30px;
	position: relative;
}
.feed-item-wrap {
	max-width: 1200px;
	margin: 0 auto;
	display:flex;
	align-items:stretch;
}
.feed-content {
	margin:0 auto;
	position:relative;
	box-sizing:border-box;
	flex-basis:40%;
	padding: 0 30px;
	min-height: 400px;
}
.feed-item h2 {
	font-size:16px;
	font-family: calibri, sans-serif;
	text-transform:uppercase;
	color:#606060;
}
.feed-graphic {
	background-size:contain;
	background-repeat: no-repeat;
	background-position:center;
	flex-basis: 60%;
}
.feed-graphic .kmsgallery {
	padding-top:0;
	height:100%;
}
.feed-graphic .kmsgallery.display-rotate .kmsgallery-nav-item {
    border: 2px solid #606060;
}
.feed-graphic .kmsgallery.display-rotate .kmsgallery-nav-item.active {
    background:#606060;
}
.horse-graphic {
    background-image:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/koobah/app_files/img/logo.png');
}
.horse-details {
    max-width: 360px;
    width: 100%;
}
.category p {
	margin: 10px 0;
}
.category .button {
	background:black;
	color:white;
	margin-top: 28px;
	margin-right: 15px;
}
.category .button:hover {
	background:white;
	color:black;
}
.feed-item:nth-child(odd) {
	background-color:#F4EEE9;
}
.feed-item:nth-child(even) .feed-content {
	order:2;
	padding-right:0;
}
.feed-item:nth-child(even) .feed-graphic {
	order:1;
}
.t-contact .page-body {
    padding:50px 10px;
    padding-bottom: 100px;
}
.t-contact .page-body > div {
    display: inline-block;
    width: 49%;
    vertical-align: top;
    margin-top: 50px;
}

.t-contact form {
    max-width: 550px;
}

.t-contact input, .t-contact textarea {
    width: 100%;
    box-sizing: border-box;
}

.t-contact form p {
    position: relative;
}

.t-contact form label.infield {
    position: absolute;
    left: 10px;
    line-height: 40px;
}

input[type="submit"] {
    border-bottom: none;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 1200px) {
	.header-bar-top {
		position:static;
		padding: 5px;
	}
	.logo {
		position:relative;
		z-index:10;
	}
	.header-menu li {
    	padding: 0;
	}
	div.map {
	    padding-left: 20px;
	}

}

@media only screen and (max-width: 1024px) {
    .t-contact .page-body > div {
       display: block;
       width: 90%;
       margin: 0 auto;

    }
    .t-contact .page-body .map {
        margin-top: 50px;
        padding: 0;
    }
}
@media only screen and (max-width: 960px) {
    #mobile-menu {
        display:block;
    }
    .header-menu,
    .main-menu {
        display:none;
    }
    .slide-menu {
        display:block;
    }
    .slide-menu-active .site-content-menu-slide {
        left: 240px;
    }
    .slide-menu-active #mobile-menu {
        left: 260px;
    }
	.header-bar-top h1 {
		opacity:0;
	}
	.banner-stage {
		padding-top:0;
		min-height:400px;
	}
	.page-graphic-content {
	    padding-bottom: 50px;
	}
	.banner-content > span {
	    text-align: center;
	}
	.banner-content {
	    padding: 0 20px;
	}
}
@media only screen and (max-width: 760px) {
    img.display-left,
    img.display-right {
        float: none;
        display: block;
        margin: 0 auto;
        max-width: 100% !important;
        height: auto !important;
    }
    .page-subtitle {
        margin:0;
    }
	.related-pages,
	.bottom-cta nav ul,
	footer.bottom .contentwrap {
		display:block;
	}
	.related-pages {
	    padding: 30px 0;
	}
	footer.bottom .contentwrap > * {
		border-bottom: 1px solid grey;
	}
	.site-links {
	    padding-bottom: 10px;
	}
	.feed-content,
	.feed-item:nth-child(even) .feed-content {
		display: flex;
		flex-direction: column;
		padding: 5px 5px 30px 5px;
		min-height: 200px;
	}
	.feed-graphic {
		position:static;
		height: 300px;
		width: 100%;
		order: -1;
	}
	.feed-item-wrap {
	    display: block;
	}

	.feed-content > * {margin: 0 auto;}
    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;

    }
}
@media only screen and (max-width: 500px) {
	header.top a.telephone {
		display:block;
		margin-right:0;
	}
	header.top a.button {
	    display: none;
	}
	.page-graphic {
	    padding-top:0;
	    min-height:40vw;
	}
	.page-graphic-content {
	    position:static;
	    padding-top:50px;
	}
	.two-col {
	    display: block;
	    width: 500px;
	    max-width: 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;
    }
}