
/*! 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;
}
.contentwrap {
    position:relative;
    max-width:1200px;
    margin: 0 auto;
}
/*** page content ***/
#content .contentwrap,
#content .page-title h1.contentwrap {
    padding: 40px 20px;
}
#page-content {
    font-size: 20px;
    padding-bottom: 20px;
    color: #456289;
}
/* general layout styles*/
a:link,
a:visited {
    text-decoration: none;
    color: inherit;
}
.right {
    display: block;
    text-align: right;
    padding-right: 20px;
    transition: color 0.3s ease-in-out;
    margin-bottom: 10px;
}
a.right:hover {
    color: #b0dc77;
}

img {
    border:none;
    max-width:100%;
    height:auto !important;
}
img.loading {
    display: block;
    margin: 10px auto;
}
header img.loading {
    margin: 0 auto;
}
div.graphic {
    background-color: #ebeaea;
    background-size: cover;
    background-position: center;
}
div.fallback {
    background-image:url('https://keo-cms.appspot.com.storage.googleapis.com/sites/Amps/app_files/img/logo.svg');
    background-repeat: no-repeat;
    background-size: 50% 50%;
    background-position: center;
}
.logo img {
    width: 100px;
    height: 87px !important;
}
.logo h1 {
    display: inline-block;
    margin: 0;
}

.table {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.col {
    display: table-cell;
    vertical-align: top;
}

/*============ header ============*/
/** default green **/
header.top {
    position: relative;
    font-family: "Asap", sans-serif;
    font-weight: 700;
    font-size:14px;
    color:#ffffff;
    background: #659041;
    z-index:3;
}
main { z-index: 0; }
.header-bar-top,
.header-bar-bottom,
.header-menu {
    padding: 0 40px;
}

/*** top area ***/
.header-bar-top {
    padding-top: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #91bf56;
    transition: background-color 0.4s linear;
}
.header-bar-top .contentwrap {
    position: relative;
    padding: 20px 110px;
    padding-bottom: 0;
    min-height: 105px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 2;
}
header a.logo {
    display: block;
    position: absolute;
    top: 20px;
    left:0;
    text-align:center;
}

/** weather widget!!! **/
#weather-widget {
    opacity: 0.5;
    position: relative;
    text-align: right;
    padding-right: 8%;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
header .scroll {
    position: relative;
    height: 90px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}
div.day {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    width: 100px;
    height: 90px;
}
div.day .icon {
    display: block;
    height: 33px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    margin: 0 auto;
}
div.day h4 {
    margin-top: 5px;
    margin-bottom: 0;
}
div.day .small {
    font-size: 12px;
    margin: 5px 0;
}
div.weather-txt {
    margin:0;
    font-weight:normal;
    font-size: 10px;
}
div.weather-txt:after {
    content:"";
    width: 100%;
    height: 1px;
    display: table;
    clear:both;
}
.weather-txt span,
.weather-txt a.darksky {
    display: inline-block;
    line-height:1;
    width: 100px;
}
.weather-txt span {
    text-align: left;
    padding-left: 24%;
    float: left;
}

/** login button **/
header #login {
    position: absolute;
    right:0;
    top:0;
    width: 80px;
    margin-top: 10px;
    text-align: center;
}
header #login a {
    display: block;
    word-break: break-all;
    overflow-wrap: break-word;
    border-radius: 5px;
}
header #login a.logout {
    position: relative;
    padding: 10px 0px;
}
#login a.logout:before {
    content:"";
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:1px;
    background-color:#FFF;
}
header #login a.lock,
header #login a.unlock {
    padding-top: 45px;
    background-repeat: no-repeat;
    background-position: center 10px;
}
header #login a.lock {
    background-image: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/Amps/app_files/img/lock.png');
    padding-bottom: 20px;
}
header #login a.unlock {
    background-image: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/Amps/app_files/img/unlock.png');
    padding-bottom: 5px;
}
header #login .small {
    display: block;
    font-weight: 400;
}

#login a:hover {
    background-color: #91bf56;
}

/* =======   Themes   ======= */

/** orange **/
.orange header.top {
    background: #ab5b26;
}
.orange .header-bar-top {
    border-bottom: 2px solid #ef7f3a;
}
.orange .header-menu li > a:hover{
    color: #ef7f3a;
}
.orange #login a:hover {
    background-color:#ef7f3a;
}
.orange #mobile-login a:hover {
    background-color: #ef7f3a;
}

/** turquoise **/
.turquoise header.top {
    background: #2e777a;
}
.turquoise .header-bar-top {
    border-bottom: 2px solid #53bbbf;
}

.turquoise .header-menu li > a:hover{
    color: #53bbbf;
}
.turquoise #login a:hover {
    background-color: #53bbbf;
}
.turquoise #mobile-login a:hover {
    background-color: #53bbbf;
}

/*** bottom menu area ***/
.header-bar-bottom {
    position: relative;
    min-height: 80px;
}
.header-menu {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
header ul {
    list-style:none;
    text-align: right;
    padding:0;
    margin:0;
    text-transform: uppercase;
}
header li.depth-0 {
    position: relative;
    display: inline-table;
    vertical-align:top;
    text-align: center;
    transition: color 0.3s ease-in-out;
    line-height:80px;
    width: 150px;
}
header li.depth-0.leaf {
    padding: 0 20px;
    width: auto;
}
header li.depth-0.leaf:last-of-type {
    padding-right: 10px;
}
nav a {
    display:block;
    color:inherit;
    text-decoration:none;
}
header li > a:hover {
    color: #91bf56;
}

/** sub menu **/
header.nav-active .header-bar-top {
    background-color: #272f2d;
    background-color: rgba(39, 47, 45, 0.61);
}
.header-menu {
    transition: background-color 0.4s linear;
}
header.nav-active .header-menu {
    background-color: #272f2d;
    background-color: rgba(39, 47, 45, 0.71);
}
.header-menu li > ul {
    display: none;
    width: 100%;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index:10;
}
.header-menu li.depth-0:hover > ul {
/* only one level */
    display: block;
}
header.nav-active .header-menu li a[href="/Grain-Marketing"] + ul {
/* hide grain marketing subs as all content displayed in parent page */
    display: none;
}
.header-menu li.depth-1 {
    display: block;
    font-size: 13px;
    line-height: 20px;
}
.header-menu .depth-1 a {
    padding: 10px 0;
}

/** mobile header menu + login **/
.header-bar-bottom .contentwrap {
    text-align: right;
}
.header-bar-bottom .contentwrap:after {
    content:"";
    display: table;
    width: 100%;
    clear: both;
}
#mobile-login {
    display: none;
    font-weight: normal;
    height: 40px;
}
#mobile-login a {
    display: block;
    padding: 10px 20px;
    border-radius: 5px;
}
#mobile-login a:hover {
    background-color: #91bf56;
}
#mobile-menu {
    display: none;
    position: relative;
    background: #999 url(https://keo-cms.appspot.com.storage.googleapis.com/sites/Amps/app_files/img/menu-icon.svg) center no-repeat;
    background-size: 24px;
    font-size: 24px;
    padding: 8px;
    width: 24px;
    height: 24px;
    box-shadow: 0px 0px 1px #030b16;
    cursor: pointer;
    z-index:100;
    float: right;
}
/***** Slide menu ****/
.slide-menu {
    display:none;
	background: #ccc;
    width:240px;
    z-index:1000;
	position: fixed;
	height: 100%;
	top: 0;
	right: -240px;
	overflow-y:scroll;
}
.slide-menu-active .slide-menu {
    right: 0px;
    border-left: 1px solid #030b16;
}
.site-content-menu-slide {
    overflow-x:hidden;
    position:relative;
    right: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:hover {
	background: #659041;
}
.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/Amps/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 {
    font-family: museo-slab, sans-serif;
    font-weight: 300;
}
footer h4 {
    font-family: 'Museo', sans-serif;
    text-transform: uppercase;
    color: #b0dc77;
    font-weight: 700;
}
footer .top {
    padding: 30px 40px;
    background:#353535;
    color:#fff;
}

footer .col {
    padding: 0 2%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
footer .first.col {
    padding-left:0;
}
.site-links a {
    display: inline-block;
    display: inline-block;
    margin: 5px;
}
.site-links img {
    width: 32px;
    height: 32px !important;
}
footer .contact.col {
    padding-right:0;
}
footer .fine-print ul {
    list-style:none;
    padding:0;
    margin:0;
    font-size:0.8em;
}
footer .fine-print li {
    padding:0;
}
footer .nav.col {
    width: 50%;
    padding: 0 2%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.menu ul {
    list-style:none;
    padding:0;
    margin:0;
}
.menu > ul {
    display: block;
    width:100%;
}
.menu li {
    transition: color 0.3s ease-in-out;
}
.menu > ul > li {
    display: inline-block;
    width: 46%;
    padding: 10px 0;
    border-bottom: 1px solid #454545;
    margin-right: 4%;
}
.menu li.depth-0:nth-last-child(-n+2) {
    border-bottom: 0;
}
.menu li:hover {
    color: #b0dc77;
}
.menu li > ul  {
    display: none;
}
.menu a {
    color:inherit;
    text-decoration:none;
    display:block;
    position:relative;
}
/** bykeo ***/
.bykeo {
    display: block;
    text-align: left;
    font-size: 12px;
    padding: 12px 40px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 10px solid #91bf56;
}
.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);
}

/*============ splash ============*/
/*  banner */
.banners-home .banner-stage {
    position: relative;
    padding-top: 33%;
}
.banners-home .banner {
    position: absolute;
    display: block;
    top:0;
    bottom:0;
    height:100%;
    width:100%;
    background-size:cover;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    opacity:0;
    z-index:0;
}

/* positions */
.banner.left {
    left: -100%;
    opacity:1;
    z-index:1;
    transition: opacity 1s ease, left 1s ease;
}
.banner.on {
    left:0;
    opacity:1;
    z-index: 2;
    transition: opacity 1s ease, left 1s ease;
}
.banner.right {
    left: 100%;
}
/* banner content */
.banners-home .banner-content {
    position: relative;
    display: block;
    max-width: 1200px;
    height:100%;
    padding: 12% 20px;
    font-family: 'Asap', sans-serif;
    color: #FFF;
    text-shadow: 2px 2px #000;
    text-align: right;
    font-size: 25px;
    text-transform: uppercase;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0 auto;
}
.banner-name,
.banner-caption,
.banner-title {
    display: block;
    margin:0;
}
.banner-name {
    padding-top: 35px;
    font-size: 60px;
}
.banner-title{
    position: relative;
    top: -120px;
}
.banner-caption {
    margin-top: -30px;
}
.banners-home .banner-navigation {
    display:none;
}

/* content */
.t-home #content .contentwrap {
    padding-top: 0;
}

/* feature table */
#feature {
    padding: 40px 0;
}
#feature > div:first-of-type {
    height: 400px;
}
/* both tables */
#feature .col:hover a.right {
    color: #b0dc77;
}
#feature .col.one {
    padding-right: 20px;
}
#feature .col.two {
    /*padding: 0 10px;*/
}
#feature .col.three {
    padding-left: 20px;
}
.col.full {
    position: relative;
}
.col.full > .full {
    position: absolute;
    top:0;
    bottom:0;
    background-position:center;
}
#feature .table .col.full > .graphic {
     padding-top: 100%;
}
#feature .graphic a{
    position: absolute;
    display: block;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
}

/* middle col */
.col.two.full > .full {
   left: 12px;
   right: 12px;
}

/* top row */
.col.one .feature .graphic,
.col.three .feature .graphic {
    position: relative;
    padding-top: 230px;
}
/* bottom row */
#feature .table.two  {
    height: 200px;
}
.table.two .col.one {
    position: relative;
}
#feature article.news {
    height: 100%;
    background: #efeded;
}
article.news .graphic.col {
    position: relative;
    background-size: cover;
}
article.news .teaser.col {
    padding: 0 20px;
}

.grey.full {
    background-color: #ebeaea;
    padding: 0 20px;
}
.grey.full a.right {
    padding-right:0;
}
.col.full.three > .full {
    left: 20px;
    right:0;
}
#feature .table.two .full.graphic,
#feature .table.two .full.fallback {
    padding-top: 200px;
}
#feature .hide {
    display: none;
}
.three .full a {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height:100%;
}
.three .full h3{
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #efeded;
    color: #747474;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin:0;
}

/*============ Login & Register "pages" ============*/
#page-body {
    text-align: center;
}
#page-body:after {
    content:"";
    display: table;
    width:100%;
    height:1px;
    float:none;
}
.t-member form {
    text-align: left;
    padding: 20px;
    max-width: 500px;
    border: 1px solid #ccc;
    border-radius: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0 auto;
}
.t-member form label {
    display: none;
}
.t-member form label.show {
    display: block;
    padding-left:0;
}
.t-member form button {
    width: 100%;
    margin-top:0;
}
form .form-actions,
form .form-group {
    position: relative;
    margin: 10px 0;
}
form p.form-group,
p#register {
    display: block;
    padding-top:0;
    text-align: center;
}
.form-group.table {
    display: table;
    width: 100%;
    vertical-align: middle;
}
.form-group.table > span {
    display: table-cell;
    vertical-align: middle;
}
.t-member p.form-group {
    display: none;
}
.t-member label.infield {
    color: #979796;
    font-size: 14px;
}
p#register span {
    padding-top:0;
}
.t-member form span {
    width: 50%;
    padding-top: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.t-member form span:nth-of-type(odd) {
    padding-right: 1%;
}
.t-member form span:nth-of-type(even){
    padding-left: 1%;
}
#pswd {
    position: relative;
}
a#reset {
    position: absolute;
    top:0;
    right:0;
    display: inline-block;
    text-align: center;
    color: #FFF !important;
    font-size: 18px;
    text-transform: uppercase;
    background-color: #91bf56;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 10px 0;
    transition: background-color 0.4s ease-in-out;
}

form span.label {
    padding-left: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#page-body form p.center,
form p.center {
    display: block;
    padding-top: 0;
    text-align: center;
}
input[type="radio"]{
    display: inline-block;
    vertical-align: middle;
    width: 25px;
    height: 25px;
    border: 0px;
    box-shadow: 0 0 0 0;
}
#form_register textarea {
    height: 40px;
}

/*============ Profile "page" ============*/
.t-profile  #page-body form p {
    text-align: center;
}
.t-profile div.form-group.row {
    display: inline-block;
    vertical-align: top;
    width: 32%;
}
.t-member.t-profile form {
    text-align: center;
}
.t-member.t-profile form label{
    display: block;
    text-align:left;
    line-height: 1.4;
    padding-left: 0;
}
.t-profile .block {
    padding-bottom: 10px;
}
.t-profile form .block p {
    display:block;
    width:100%;
}
.t-profile form .block span {
    width: auto;
}
.t-profile form .block .half {
    width: 50%;
    text-align:center;
}
.half .button {
    width: 100%;
    box-sizing: border-box;
}
.t-profile .controls .btn,
.t-profile .controls input.btn {
    display: inline-block;
    vertical-align: top;
    width: 48%;
    padding: 10px 0;
    height: auto;
    line-height: 1.4;
    font-size: 18px;
    text-transform: uppercase;
    color: #FFF !important;
    background-color: #91bf56;
    transition: background-color 0.4s ease-in-out;
    border:0;
}
.t-profile .btn[value="Save"] {
    float:right;
}
.t-profile form .logout.button {
    background-color: #659041;
    width: 50%;
}

/*============ sub page============*/
/* default */
#page-body a:link,
#page-body a:visited {
    color: #659041; /*dark*/
    transition: color .5s ease-in-out;
}
#page-body a:link,
#page-body a:visited {
    color: #91bf56;
}
#content h1, #content h2, #content h3, #content h4 {
    color: #659041; /*dark*/
}
.page-title {
    background-color: #91bf56;
    word-spacing: 10px;
    margin: 0;
}
#content .page-title h1.contentwrap {
    color: #FFF;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 50px;
    line-height: 1;
    padding-top: 60px;
    padding-bottom: 0;
    margin: 0 auto;
}
.hollow {
    color: #91bf56;
    -webkit-text-stroke-width: 1px;
    text-shadow:
       -2px -2px 0 #FFF,
       2px -2px 0 #FFF,
       -2px 2px 0 #FFF,
       2px 2px 0 #FFF;
}

/* orange */
.orange .slide-menu a:hover {
	background: #ef7f3a;
}
.orange .page-title {
    background-color: #ef7f3a;
}
.orange .hollow {
    color: #ef7f3a;
}
.orange #page-body a:link,
.orange #page-body a:visited,
.orange #item a:link, /* news */
.orange #item a:visited {
    color: #ab5b26; /*dark*/
}
.orange #page-body a:link:hover,
.orange #page-body a:visited:hover,
.orange #item a:link:hover, /* news */
.orange #item a:visited:hover {
    color: #ef7f3a; /*light*/
}
.orange #page-body a[href$=".pdf"]:before {
    background-image: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/Amps/app_files/img/pdf-orange.svg');
}
.orange .highlight,
.orange #content h1, .orange #content h2, .orange #content h3, .orange #content h4 {
    color: #ef7f3a; /*light*/
}

/* turquoise */
.turquoise .slide-menu a:hover {
	background: #53bbbf;
}
.turquoise .page-title {
    background-color: #53bbbf;
}
.turquoise .hollow {
    color: #53bbbf;
}

.turquoise .highlight{
    color: #53bbbf; /*light*/
}
.turquoise #page-body a:link,
.turquoise #page-body a:visited,
.turquoise #content h1, .turquoise #content h2, .turquoise #content h3, .turquoise #content h4 {
    color: #2e777a; /*dark*/
}
.turquoise #page-body a:link:hover,
.turquoise #page-body a:visited:hover {
    color: #53bbbf; /*light*/
}
.turquoise #page-body a[href$=".pdf"]:before {
    background-image: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/Amps/app_files/img/pdf-turquoise.svg');
}
.turquoise.t-research #page-body a[href$=".pdf"]:before {
    background-image: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/Amps/app_files/img/download-icon.png');
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
}
div.middle { /* only if page content? */
    background-color: #efefef;
    padding-bottom: 40px;
}
.t-testimonials div.middle {
    background-color: #FFF;
}
#content #overlap { /* #content .extras #overlap */
    margin-top: -40px;
    padding-top:0;
}
.t-event #content #overlap,
.t-research.general #content #overlap,
.t-contact #content #overlap {
    margin-top: 0;
}
#content #overlap > div:first-of-type {
    margin-top:0;
}

#testimonial-block,
#sub-pages,
#related-block,
#location-block {
    margin: 20px 0;
}

#location-block {
    text-align:center;
    margin-top: 40px;
}

/* testimonial block */
#testimonial-block .testimonial {
    margin-bottom:0;
}
.testimonial {
    background-color: #FFF;
    border-bottom: 4px solid #91bf56;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.1);
}
/* themes */
.orange .testimonial {
    border-bottom: 4px solid #ef7f3a;
}
.turquoise .testimonial {
    border-bottom: 4px solid #53bbbf;
}
.testimonial > a {
    display: block;
    padding: 20px;
}
.testimonial.has-graphic > a {
    position: relative;
    min-height: 200px;
    display: block;
    padding-right: 220px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.testimonial.has-graphic div.graphic {
    position: absolute;
    top:0;
    right:0;
    width: 200px;
    height: 100%;
    background-size: cover;
}
/* sub pages block */
#sub-pages {
    text-align: center;
    margin-right: -0.5%;
    margin-left: -0.5%;
}
.t-staff-list #sub-pgs {
    text-align: justify;
    margin-left:0;
    margin-right:0;
}
.sub {
    position: relative;
    display: inline-block;
    vertical-align:top;
    text-align: left;
    background-color: #efeded;
    border-bottom: 4px solid #659041;
    margin: 0.5%;
}
.sub.staff {
    min-height: 380px;
}
.sub.three {
    width: 31.33%;
}

.sub.four {
    width: 24%;
}
/*** themes ***/
.orange .sub {
    border-bottom: 4px solid #ab5b26;
}
.turquoise .sub {
    border-bottom: 4px solid #2e777a;
}
.sub a {
    display: inline-block;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.sub .graphic,
.sub .fallback {
    display: block;
    background-color: #91bf56;
    padding-top: 70%; /*300px*/
    background-size: cover;
}
.sub.four .graphic,
.sub.four .fallback {
    padding-top: 92%;
}
.sub .fallback {
    background-repeat: no-repeat;
    background-size: 50% 50%;
    background-position: center;
}
/*** themes ***/
.orange .sub .graphic,
.orange .sub .fallback {
    background-color: #ef7f3a;
}
.turquoise .sub .graphic,
.turquoise .sub .fallback {
    background-color: #53bbbf;
}
.sub h3 {
    color: #659041;
    font-size: 30px;
    line-height: 32px;
    min-height: 64px;
    padding: 0 20px;
    padding-bottom: 10%;
    margin: 0;
}
.sub.staff h3 {
    padding-bottom: 0;
}
/** themes **/
.orange .sub h3 {
    color: #ab5b26;
}
.turquoise .sub h3 {
    color: #2e777a;
}

span.white {
    color: #FFF;
    display: block;
    margin-top: -32px;
    text-shadow: 1px 1px #000;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
}
.sub p {
    padding: 0 20px;
}
/* related content block */
#related-block {
    text-align: center;
}
.related {
    position: relative;
    display: inline-table;
    vertical-align: top;
    text-align: left;
    background-color: #ededed;
    color: #787575;
    width: 31.33%;
    height: 200px;
    margin: 0 1%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#related-block > div.related:nth-of-type(3n+1) {
    margin-left:0;
}
#related-block > div.related:nth-of-type(3n+3) {
    margin-right:0;
}
.related.has-graphic {
    padding-right: 100px;
}
.related .graphic {
    position: absolute;
    top:0;
    right:0;
    width: 100px;
    height:100%;
    background-size: cover;
}
.related > a {
    display: table-cell;
    vertical-align: middle;
    padding: 20px;
}
#content .related h4,
#content .orange .related h4,
#content .turquoise .related h4 {
    color: #787575;
    margin:0;
}

/* locations block */
.location {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    padding-bottom: 2%;
    margin-right: 2%;
}
.location.six {
    width: 14.66%;
}
.location.five {
    width: 18%;
}
.location h4 {
    padding-bottom: 10px;
    margin: 10px 0;
    border-bottom: 2px solid #eaeaea;
}
#location-block > div:nth-child(5n+1) h4 {
    color: #335c3c;
}
#location-block > div:nth-child(5n+2) h4 {
    color: #91bf56;
}
#location-block > div:nth-child(5n+3) h4,
#location-block > div:nth-child(5n+5) h4 {
    color: #ef7f3a;
}
#location-block > div:nth-child(5n+4) h4 {
    color: #53bbbf;
}
.location p {
    margin: 5px 0;
}
p.manager,
p.ph {
    margin-bottom: 0;
}
p.email,
p.fax {
    margin-top: 0px;
}
.location a.email {
    color: #343333;
    font-size: 14px;
}

/*============ timeline page ============*/
.t-timeline #content #overlap {
    margin-top:0;
}
.t-timeline #content div.middle {
    position: relative;
    padding-bottom: 0;
    z-index: 2;
}
#timeline {
    padding-top: 40px;
    padding-left: 200px;
    border-left: 3px solid #659041;
}
#timeline h3.year {
    position: absolute;
    display: inline-block;
    font-size: 30px;
    font-weight: normal;
    padding: 10px;
    margin:0;
    margin-left: -210px;
    margin-top: -50px;
    background-color: #FFF;
}
#timeline h3.year:before {
    content:"";
    position: absolute;
    bottom: 100%;
    left:0;
    width:100%;
    height: 20px;
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
#timeline h3.year:after {
    content:"";
    position: absolute;
    top: 100%;
    left:0;
    width:100%;
    height: 20px;
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
}
#timeline .entry {
    position: relative;
    color: #659041;
    background-color: #efefef;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-left: 5px solid #91bf56;
    margin: 40px 0;
}
#timeline .entry:after { /* line-circle */
    content:"";
    position: absolute;
    top: 50%;
    left: -214px;
    margin-top: -5px;
    width: 10px;
    height: 10px;
    background-color: #FFF;
    border: 3px solid #659041;
    border-radius: 50%;
}
#timeline .entry:before { /* triangle */
    content:"";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #91bf56;
}

.entry.graphic {
    padding-left: 300px;
    min-height: 200px;
}
.entry .graphic {
    position: absolute;
    top:0;
    left:0;
    width: 300px;
    height: 100%;
    background-size: cover;
}
.entry .content {
    padding: 20px 30px;
}
#timeline .entry h4 { /* yr */
    color: #91bf56;
}

/*============ marketing page ============*/
.table-wrap {
    margin: -40px; /* for border spacing */
    box-sizing: border-box;
}
.table-wrap > .table {
    border-collapse: separate;
    border-spacing: 40px;
}
#marketing .col {
    vertical-align:top;
    background-color: #FFF;
    border: 1px solid #ebebeb;
    border-top:0;
}
#content #marketing h3 {
    color: #FFF;
    text-transform: uppercase;
    font-weight: normal;
    padding: 10px 20px;
    margin:0;
}
#marketing #sub-pages > h3 {
    background-color: #ab5b26;
    padding: 10px 30px;
}
#marketing #sub-pages {
    border-bottom: 2px solid #ab5b26;
}
#marketing .sub {
    display: block;
    padding: 20px;
    width: 100%;
    background-color: transparent;
    border-bottom: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin:0;
}
#marketing #sub-pages > div.sub:nth-of-type(3n+3) {
    margin:0;
}
#content #marketing .sub h4 {
    color: #747474;
    margin:0;
}
#marketing .sub p,
#marketing p {
    padding:0;
    margin: 10px 0;
}

#feed {
    position: relative;
    padding-bottom: 130px;
    width: 350px;
}
#feed > h3 {
    background-color: #ef7f3a;
}
/* marketing only */
#grain.feed-list {
    padding: 20px;
    font-size: 14px;
}
.feed-list .item {
    text-align:left;
    padding: 20px 0;
    border-bottom: 1px solid #ebebeb;
}
#grain.feed-list .item a {
    color: #3d812c;
}
#research.feed-list .item a {
    color: #2e777a;
}
.feed-list .item a.username,
#research.feed-list .item a.username {
    color: #363839;
}
.feed-list .date {
    display: block;
    font-size: small;
    color: #000;
}
#grain.feed-list > article:first-of-type {
    padding-top: 0;
}
.feed-list > article:last-of-type {
    border-bottom: 0;
}
#feed .subscribe {
    position: absolute;
    bottom:0;
    padding: 20px;
    width:100%;
    color: #FFF;
    font-size: 14px;
    background-color: #ef7f3a;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#content #feed h4 {
    color: #363839;
    font-weight: normal;
    margin:0;
}
#feed form p {
    position: relative;
    display: inline-block;
    width: 100%;
    padding-right: 50px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin:0;
}
#feed input,
#feed label.infield {
    height: 30px;
    line-height: 30px;
}
#feed input {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
#feed label.infield {
    color: #979796;
}
#feed button {
    position: absolute;
    top:0;
    right:0;
    padding:0;
    width: 50px;
    height: 30px;
    line-height: 1;
    text-transform: none;
    background-color: #363839;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-top:0;
}

/*============ Products ============*/
.product-list .products {
    text-align: center;
}
.product-list .products h2 {
    text-align: center;
    margin-top:0;
}
.product {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    width: 23%;
    border: 1px solid #dcdcdc;
    margin: 0 0.5%;
    margin-bottom: 20px;
}

.product .graphic {
    position: relative;
    padding-top: 110%;
    background-size: cover;
    background-position: center;
    border:0;
}
.product .graphic > a {
    position: absolute;
    top:0;
    left:0;
}
.product .content {
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-top: 1px solid #dcdcdc;
}
#content .product .content h4 {
    color: #6ab757;
    text-transform: capitalize;
    font-weight: normal;
    margin:0;
}
.product a {
    display: inline-block;
    width: 100%;
    height: 100%;
}
.product p {
    margin-top: 10px;
}

/* brands */
.product-list .brands {
    position:relative;
    vertical-align: top;
    border: 1px solid #bebebe;
    margin-bottom: 40px;
    overflow:hidden;
}
.brands .scroller {
    height: 150px;
    white-space: nowrap;
}
#content .brands h3 {
    text-align: center;
    color: #FFF;
    font-weight: normal;
    background-color: #91bf56;
    padding: 10px 20px;
    margin: 0;
}
.brands .kmsgallery-thumbnail-image {
    display: inline-block;
    width:150px;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 1%;
}

/*============ contact ============*/
.map-wrap {
    position: relative;
    padding-top: 500px;
    background-color: #dfdddd;
    border: 1px solid #dfdddd;
}
#contact-map {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
}
.t-contact .middle {
    background-color: #FFF;
    padding-bottom: 0;
}
.t-contact #content .contentwrap {
    padding: 0px 20px;
}

/*** form block ***/
.form-wrap {
    display: table;
    width: 100%;
}
.form-wrap > div:first-of-type {
    padding-right: 8%;
}
.col.address {
    width: 300px;
}
.form-wrap h2 {
    text-transform: uppercase;
}

form p,
form span {
    position: relative;
    display: inline-block;
    vertical-align: top;
    padding-top: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin:0;
}

form .half,
.half {
     width: 50%;
}
.half:nth-of-type(odd) {
    padding-right: 1%;
}
.half:nth-of-type(even){
    padding-left: 1%;
}

form .third,
.third {
    width: 33.33%;
    padding-left:1%;
    padding-right:1%;
}
.third:nth-of-type(1){
    padding-left:0;
}
.third:nth-of-type(3){
    padding-right:0;
}

p.full {
    width: 100%;
    padding-right: 0;
}
.two-labels label.infield {
    top: 42px;
    left: 0;
}
label {
    padding-left: 20px;
    line-height: 40px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
label.error {
    position: absolute;
    top:0;
    color: red;
    padding-left: 0px;
    display: block;
    font-size: 12px;
    line-height: 20px;
}
label.infield {
    position: absolute;
}
input, textarea, select {
    border: 1px solid #d2d2d2;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.1) inset;
}
input[type="checkbox"]{
    display: inline-block;
    width: 40px;
    box-shadow: 0 0 0 0;
}
input,
select {
    display: block;
    width: 100%;
    padding-left: 20px;
    line-height: 40px;
    height: 40px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/** cv file input **/
input.inputfile {
    width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}
label.file {
    display: block;
    height: 40px;
    border: 1px solid #d2d2d2;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.1) inset;
    cursor: pointer;
}
label.filename {
    padding-top: 15px;
    font-size: 12px;
    line-height: 1;
    color: #343333;
    overflow:hidden;
}
.inputfile:focus + label.file,
label.file:hover {
    background-color: #e6e6e6;
}
.inputfile:focus + label.file {
    outline: 1px dotted #000;
	outline: -webkit-focus-ring-color auto 5px;
}
.inputfile + label.file * {
	pointer-events: none;
}

/** widget version **/
form span.browse-file {
    display: block;
    padding-top:0;
    padding-left: 20px;
    line-height: 40px;
    height: 40px;
    border: 1px solid #d2d2d2;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.1) inset;
}
div.file-upload-container {
    position: relative;
    margin-top: -40px;
    width: 100%;
    height: 100%;
    text-align: right;
    box-sizing: border-box;
}
a#browse-cv {
    display: inline-block;
    vertical-align: middle;
    height: 40px;
    line-height:40px;
    padding-right: 10px;
}
#filelist-cv,
#file-cv {
    font-size: 12px;
    text-align: left;
    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;
    margin:0;
}
#filelist-cv {
    position:absolute;
    bottom: 100%;
}

textarea {
    padding-top: 10px;
    padding-left: 20px;
    width: 100%;
    height: 150px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

form button {
    border: 0;
    padding: 10px 4%;
    font-size: 18px;
    text-transform: uppercase;
    color: #FFF;
    background-color: #91bf56;
    margin-top: 15px;
    transition: background-color 0.4s ease-in-out;
}
form button:hover,
a.button:hover,
a:reset:hover {
     background-color: #659041;
}
.orange form button,
.orange a.button {
    background-color: #ef7f3a;
}
.orange form button:hover,
.orange a.button:hover {
    background-color: ##ab5b26;;
}
.turquoise form button,
.turquoise a.button {
    background-color: #53bbbf;
}
.turquoise form button:hover,
.turquoise a.button:hover {
    background-color: ##2e777a;;
}

/*============ lists  ============*/
.list .table:after {
    content:"";
    display: table;
    height: 1px;
    float: none;
}
/* sidebar */
.table .sidebar {
    display: table-cell;
    vertical-align: top;
    width: 300px;
    padding-bottom: 20px;
    float: right;
}
.table .sidebar .site-links {
    margin-bottom: 10px;
}
.t-research .sidebar {
    float: none;
}
#content .sidebar h3,
.orange #content .sidebar h3,
.turquoise #content .sidebar h3 {
    text-transform: uppercase;
    color: #FFF;
    padding: 10px 15px;
    font-weight: normal;
    margin-bottom: 0;
}
.sidebar h3 {
    background-color: #91bf56;
}
.orange .sidebar h3 {
    background-color: #ef7f3a;
}
.turquoise .sidebar h3 {
    background-color: #327b7e;
}
#categories ul {
    list-style-type: none;
    padding:0;
    margin-top:0;
}
#categories li {
    position: relative;
    text-transform: capitalize;
    border-bottom: 2px solid #e7e6e6;
}
#categories ul > li:last-of-type() {
    border-bottom:0;
}
#categories li > a {
    display: block;
    padding: 5px 0;
    padding-left: 30px;
    color: #91bf56;
}
.orange #categories li > a {
    color: #ef7f3a;
}
.turquoise #categories li > a {
    color: #327b7e;
}
#categories li > a.active {
    background-color: #efefef;
}
#categories li:before {
    content:">";
    position: absolute;
    top: 5px;
    left: 15px;
    color: #333;
}
/* ========== list content ========== */
.list .content {
    padding-right: 350px;
}
#list > div:first-of-type,
#list > article:first-of-type {
    margin-top:0;
}
#list:after,
.paging:after {
    content:"";
    display: table;
    width: 100%;
    height: 1px;
    float: none;
}
a.button.prev {
    float: left;
}
a.button.next {
    float:right;
}

/***  testimonial  ***/
.t-testimonials .testimonial {
    background-color: #efeded;
    min-height: 200px;
    padding: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 40px;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.1);
}
.t-testimonials .testimonial.has-graphic {
    position: relative;
    padding-right: 220px;
}

/*** ==== news ==== ***/
article.news_item {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 46%;
    margin-right: 4%;
    margin-bottom: 4%;
}
#list > article:nth-of-type(odd){
    float: left;
}
#list > article:nth-of-type(even){
    float: right;
}
.t-news #list:after {
    content:"";
    display: table;
    float: none;
}
article.news_item .graphic_img {
    position: relative;
    background-color: #ebeaea;
    padding-top: 200px;
    background-size: cover;
}
.graphic_img > a {
    position: absolute;
    top:0;
    left:0;
    display: block;
    width: 100%;
    height: 100%;
}
article.news_item .short > a {
    display: inline-block;
    padding: 20px;
    padding-bottom: 40px;
    width: 100%;
    height: 100%;
    border: 2px solid #ebeaea;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
article.news_item .short > a:after {
    content:"Read More";
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 14px;
    color: #ef7f3a;
}
article.news_item h3,
article.news_item h5 {
    margin: 0;
}

/* news item */
div#share {
    border-bottom: 2px solid #8c8c8c;
    margin-top: 40px;
    margin-bottom: 20px;
}
#share p,
#share .social-links {
    display: inline-block;
    vertical-align: middle;
    margin: 10px 0;
}
#share .social-links {
    float: right;
}
#share .social-links a {
    margin: 0 5px;
}
#share .social-links a:last-of-type {
    margin-right:0;
}
.orange #item #share a:link,
.orange #item #share a:visited {
    color: #979796;
}
a.button.back {
    margin-bottom:
}

/***  Research  ***/
.col.content {
    padding-right: 40px;
}
/** research sidebar **/
#research.feed-list .item {
    border-bottom: 1px solid #53bbbf;
}

/**  research template **/
div.research-item {
    width: 100%;
    font-size: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #bfcbda;
}
#list > div.research-item:last-of-type {
    border-bottom: 0;
}
.research-item .title {
    width: 300px;
    padding-right: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.research-item .blerb {
    width: 100%;
}
.research-item h4,
.research-item h3 {
    font-weight: normal;
    font-size: 20px;
}
.research-item .title h3 {
    text-transform: uppercase;
    margin-bottom:0;
}
#content .research-item .title .date {
    color: #808080;
    margin-top: 10px;
}

/***  Research Member Template ***/
#page-body h2.motif {
    text-align: center;
}
div.table.member {
    margin-top: 40px;
}
div.table.member .video.col {
    padding-right: 20px;
}

#member-form {
    width: 350px;
    box-sizing: border-box;
}
#member-form #form_register {
    background-color: #efefef;
}
.table.member h4 {
    margin-top:0;
}
#member-form label {
    display: none;
}
#member-form button {
    width: 100%;
}
#member-form a {
    color: #53bbbf;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 1300px){
    .banners-home .banner-stage {
        padding-top: 400px;
    }
    .banners-home .banner-content {
        padding-top: 100px;
    }
}
@media only screen and (max-width: 1200px) {
/* home blocks */
    .news.table.img,
    .t-home .news .graphic.col,
    .t-home .news .teaser.col {
        display: block;
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .t-home .news .graphic.col {
        height: 150px;
    }
}
@media only screen and (max-width: 1100px) {
/** header **/
    .header-bar-bottom {
        min-height: 0;
    }
    .header-bar-bottom .contentwrap {
        padding: 10px 0;
    }
    #mobile-menu {
        display:block;
    }
    .header-menu,
    .main-menu {
        display:none;
    }
    .slide-menu {
        display:block;
    }
    .slide-menu-active .site-content-menu-slide {
        right: 240px;
    }
/*** banner ***/
    .banner-content {
        font-size: 18px;
        line-height: 0.8;
    }
    .banner-name {
        font-size: 40px;
        line-height:1;
    }
    .banner-title {
        position: absolute;
        top: 100px;
        right:20px;
    }
    .banner-caption {
        margin-top: 20px;
    }
/** all pages **/
    .location.six {
        width: 25%;
    }
    .location.five {
        width: 31.33%;
    }
    .related {
        height: auto;
    }
    .related h4 {
        text-align: center;
    }
    .related p {
        display: none;
    }
/** become a member full width **/
    .table.member,
    .table.member .col,
    div.table.member .video.col,
    #member-form {
        display: block;
        width: 100%;
        padding:0;
    }
    #member-form {
        margin-top: 20px;
    }
    #member-form h4 {
        text-align:center;
    }
/** timeline **/
    #timeline {
        padding-left: 100px;
    }
    #timeline h3.year {
        margin-left: -110px;
    }
    #timeline .entry:after {
        left: -114px;
    }
/** contact map **/
    .map-wrap {
        padding-top: 400px;
    }

}
@media only screen and (max-width: 1050px){
/* header */
    .weather-txt span {
        text-align: center;
        padding-left: 0px;
    }
}
@media only screen and (max-width:960px){
/** all pages **/
    .sub.four {
        width: 48%;
    }
    .sub h3 {
        padding-bottom: 5px;
    }
    .sub.four .graphic {
        padding-top: 50%;
    }
}
@media only screen and (max-width: 860px){
/** all pages **/
    .testimonial.has-graphic > a,
    .t-testimonials .testimonial.has-graphic {
        padding-right:0;
    }
    .testimonial.has-graphic div.graphic {
        display: none;
    }
/** marketing + research feeds **/
    #content #overlap{
        padding-bottom: 20px;
    }
    .list .content {
        padding-right: 32%;
    }
    #marketing #feed,
    .table .sidebar {
        width: 30%;
    }
    #location-block {
        margin-top: 20px;
    }
/** forms-block **/
    .form-wrap > div:first-of-type {
        padding-right: 40px;
    }
    .col.address {
        width: 200px;
    }
/** product **/
    .product {
        width: 300px;
        max-width: 100%;
    }
}
@media only screen and (max-width: 760px) {
    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;
    }
    /** shrink vertical padding **/
    #feature {
        padding: 20px 0;
    }
/** home **/
    #feature {
        width: 90%;
        margin: 0 auto;
    }
    #feature .table,
    #feature > div:first-of-type,
    #feature .table.two {
        display: block;
        height: auto;
        box-sizing:border-box;
    }
    #feature > .table > .col,
    #feature .col.one,
    #feature .col.two,
    #feature .col.three{
        display: block;
        width: 100%;
        padding: 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #ebeaea;
        margin: 20px 0;
    }
    .col.full > .full {
        position: static;
    }
    .feature a h3,
    .feature a p {
        padding: 0 20px;
    }
    .col.one .feature .graphic,
    .col.three .feature .graphic,
    .col .graphic.full,
    #feature .table.two .full.graphic,
    #feature .table .col.full > .graphic {
        padding-top: 45%;
    }
    .grey.full {
        padding: 20px;
    }
    .grey.full h3 {
        margin-top:0;
    }
    /** featured news **/
    #feature article.news {
        margin-bottom: 10px;
    }
    /** middle col pg **/
    #feature .hide {
        display: block;
    }
    #feature .table.two .col.two,
    #feature .graphic.fallback {
        display: none;
    }
/** all pages **/
    #content .page-title h1.contentwrap,
    #content .contentwrap {
        padding-top: 20px;
    }
    .sub.three {
        width: 48%;
    }
    .sub h3 {
        font-size: 18px;
        line-height: 1.2;
        padding-bottom: 5px;
    }
    /* locations shrink & expand */
    .location.six,
    .location.five {
        width: 48%;
    }
    .location .hide {
        display: none;
        padding: 5px 10px;
        border: 1px solid #eaeaea;
        border-top: 0;
    }
    .location.expand-active .hide {
        display: block;
    }
    .location h4 {
        position:relative;
        padding-top: 10px;
        padding-left: 10px;
        padding-right: 50px;
        border: 1px solid #eaeaea;
        margin-bottom:0;
    }
    .location .expand {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 50px;
        border-left: 2px solid #eaeaea;
        cursor: pointer;
    }
    .location .expand i {
        content:"";
        display: block;
        height: 100%;
        width: 48px;
        background: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/Amps/app_files/img/menu-drop-grey.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;
    }
    .location.expand-active .expand i {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    /* related links hidden */
    #related-block {
        display: none;
    }
/** footer **/
    footer .nav.col {
        display: none;
    }
/** merchandise - categories **/
    .product .graphic {
        padding-top: 300px;
    }
    .brands .kmsgallery-thumbnail-image {
        display: inline-block;
        width: 200px;
    }
}
@media only screen and (max-width:700px){
/* marketing*/
    .t-marketing .table-wrap,
    #sub-pages {
        margin:0;
    }
    #marketing.table {
        display: block;
    }
    #marketing .col,
    #marketing #feed {
        display: block;
        width: 100%;
    }
/* research twitter + news*/
    .table.research,
    .col.content,
    .col.sidebar,
    .list .table,
    .list .content,
    .table .sidebar {
        display: block;
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
        float: none;
    }

/** news **/
    #categories li {
        display: inline-block;
        width: 50%;
        border: 1px solid #e7e6e6;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
/** forms-block **/
    form .third,
    .third,
    form .half,
    .half,
    .half:nth-of-type(odd),
    .half:nth-of-type(even){
       width: 100%;
       padding-left: 0;
       padding-right: 0;
    }
}
@media only screen and (max-width:600px){
/** home features **/
    .col.one .feature .graphic, .col.three .feature .graphic,
    .col .graphic.full,
    #feature .table.two .full.graphic,
    #feature .table .col.full > .graphic {
        padding-top: 200px;
    }
/** stack member forms **/
    .t-profile div.form-group.row,
    .t-profile form .block .half,
    .t-profile .controls .btn, .t-profile .controls input.btn,
    .t-profile form .logout.button {
        width: 100%;
        box-sizing: border-box;
    }
    .t-profile form .block .half,
    .t-profile .controls .btn, .t-profile .controls input.btn {
        margin: 5px 0;
    }
    .t-member form span:nth-of-type(odd),
    .t-member form span:nth-of-type(even){
        padding:0;
    }
    .t-member form span.stack {
        width: 100%;
    }
/* pages */
    #content .page-title h1.contentwrap {
        font-size: 35px;
    }
}
@media only screen and (max-width: 500px){
/** home banner **/
    .banners-home .banner-stage {
        padding-top: 250px;
    }
    .banners-home .banner-content {
        padding: 20px;
        padding-top: 100px;
        text-align: center;
    }
    .banner-name {
        padding-top:0;
    }
    .banner-title {
        position: absolute;
        top: 65px;
        right: 0;
        text-align: center;
        width: 100%;
    }
/** news **/
    #categories {
        margin-bottom: 20px;
    }
    #categories ul {
        display:none;
    }
    #categories.expand-active ul {
        display:block;
    }
    #categories h3 {
        position:relative;
    }
    #categories .expand {
        position: absolute;
        top: 0;
        right: 0;
        border-left: 1px solid #FFF;
        height: 100%;
        width: 50px;
        cursor: pointer;
    }
    #categories .expand i {
        content:"";
        display: block;
        height: 100%;
        width: 48px;
        background: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/Amps/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;
    }
    #categories.expand-active .expand i {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    #categories li {
        width: 100%;
    }
    article.news_item {
        width: 100%;
        margin-right:0;
        margin-bottom: 20px;
    }
/** timeline **/
    #timeline {
        padding-top: 20px;
        padding-left: 5px;
        border-left: 0;
    }
    #timeline h3.year {
        position: static;
        display: block;
        padding: 0;
        margin: 0px;
    }
    #timeline h3.year:before,
    #timeline h3.year:after {
        display: none;
    }
    #timeline .entry {
        margin: 10px 0;
    }
    #timeline .entry:after {
        display: none;
    }
/** forms-block **/
    .form-wrap,
    .form-wrap .col,
    .col.address,
    .form-wrap > div:first-of-type {
        display: block;
        width: 100%;
        padding-right: 0;
    }
    .col.address {
        display: none;
    }
/** merchandise - category **/
    .product {
        display: block;
        width: 90%;
        margin:0 auto;
        margin-bottom: 20px;
    }
}
@media only screen and (max-width: 460px){
/* header stack */
    .header-bar-top .contentwrap {
        padding:0;
    }
    header a.logo {
        position: relative;
        top:0;
        margin-bottom: 20px;
    }
    header a.logo:after {
        content:"";
        position: absolute;
        top: 100%;
        left: -40px;
        right: -40px;
        padding-top: 10px;
        border-bottom: 1px solid #91bf56;
        margin-bottom: 10px;
    }
    .orange header a.logo:after {
        border-bottom: 1px solid #ef7f3a;
    }
    .turquoise header a.logo:after {
        border-bottom: 1px solid #53bbbf;
    }
    header #login {
        display: none;
    }
    .header-bar-bottom .contentwrap {
        text-align: center;
    }
    #weather-widget {
        padding-right: 0;
    }
    #mobile-login {
        display: inline-block;
        vertical-align:top;
    }
/** all pages **/
    .location.six,
    .location.five{
        width:100%;
    }
/* footer stack */
    footer, .bykeo { text-align: center; }
    footer .table,
    footer .col {
        display: block;
        padding:0;
    }
    footer h4 {
        margin-bottom:0;
    }
    p.item.footer-address { margin-top:0; }
}
@media only screen and (max-width:400px){
/** mobile button - abs **/
    #mobile-menu {
        position: absolute;
        top: 10px;
        right: -30px;
    }
/** weather widget **/
    .weather-txt span,
    .weather-txt a.darksky {
        text-align: center;
        width: 100%;
        padding: 4px 0;
    }
    /* hide widget */
    .header-bar-top .contentwrap {
        min-height: 0;
    }
    header a.logo {
        margin-bottom: 0;
    }
    header a.logo:after {
        display: none;
    }
    #weather-widget {
        display: none;
    }
/** all pages **/
    .sub.four,
    .sub.three {
        width: 100%;
        margin-bottom: 10px;
    }
    .sub.three .graphic,
    .sub.three .fallback,
    .sub.four .graphic,
    .sub.four .fallback {
        padding-top: 50%;
    }
}
/* ==========================================================================
   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;
    }
}