
/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
html {
    font-size: 1em;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #d6d6d6;
    border-bottom: 1px solid #FFF;
    padding: 0;
    margin: 20px 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 {
    line-height: 1.4;
    padding:0;
    margin:0;
}

.contentwrap {
    position:relative;
    max-width: 1200px;
    padding: 20px 30px;
    margin: 0 auto;
}

a,
a:visited {
    display: inline-block;
    color: inherit;
}
a.logo {
    width: 300px;
    height:auto;
    padding: 20px 0;
    max-width: 100%;
}
a.logo h1 {
    margin: 0;
}
.site-links {
    padding: 10px 0;
}
a.site-link {
    text-decoration: none;
}
a.site-link::after {
    content:" | ";
    color: #d6d6d6;
}
.grey a.site-link::after {
    text-shadow: 1px 0px 0px #FFF;
}
footer a.site-link::after {
    color: #3b6a94;
}
.site-links > a:last-of-type::after {
    display: none;
}

nav {
    display: block;
    width:100%;
}
nav ul {
    display: block;
    list-style:none;
    padding:0;
    margin: 0;
}
header nav > ul {
    padding-top: 30px;
    text-align: right;
}
footer nav > ul {
    text-align: left;
}
nav li {
    position: relative;
    display: inline-block;
    vertical-align: top;
    min-width: 100px;
    text-transform: capitalize;
}
nav li.active {
    font-weight: bold;
}
nav li.depth-0 {
     vertical-align: middle;
     margin: 0 1.5%;
}
nav a {
    display: block;
    text-decoration: none;
    padding: 20px 0;
}
a.site-link:hover,
nav a:hover {
    color: #F5851F;
}

.no-wrap { /** used on phone# */
    white-space: nowrap;
}
.small {
    font-size: 14px;
    margin: 0;
}
.grey {
    padding: 40px 0;
    background-color: #eaeaea;
}
.table {
    display: table;
    width: 100%;
}
.col {
    display: table-cell;
    vertical-align: top;
}
.col.left {
    width: 50%;
}
.col.sml {
    padding-left: 20%;
}

/** forms **/
form p {
    position: relative;
    padding-bottom: 20px;
    margin:0;
}
label {
    display: block;
    text-transform: uppercase;
    color: #003A71;
    padding-bottom: 10px;
    font-weight: 600;
}
label.error {
    font-weight: normal;
    font-size: 12px;
}
input,
textarea,
select {
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding-left: 20px;
    background-color: #FFF;
    box-sizing: border-box;
    border: 0;
}
input[type="radio"],
input[type="checkbox"] {
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    padding-left: 0;
}
label.radio,
label.date,
label.price {
    display: inline-block;
    vertical-align: middle;
    padding-bottom: 0;
    padding-left: 20px;
}
label.date,
label.price {
    padding-left: 0;
    padding-right: 20px;
}
textarea {
    min-height: 120px;
    padding: 10px;
    padding-left: 20px;
}
button {
    color: #FFF;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 2px;
    font-weight: bold;
    background-color: #f5851f;
    padding: 10px 40px;
    border-radius: 30px;
    border:0;
    max-width: 100%;
}

/*============ header ============*/
header {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    z-index: 100;
}
header .contentwrap {
    display: flex;
    justify-content: space-between;
    color: #003A71;
    background: #FFF;
    padding: 0 30px;
}
header nav li a {
    padding-left: 10px;
}
.header-menu > ul > li:last-of-type {
/** enquire button **/
    margin-left: 3%;
    margin-right: 0;
}
.header-menu > ul > li:last-of-type > a {
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 30px;
    box-sizing: border-box;
    max-width: 100%;
}
.header-menu > ul > li:last-of-type > a {
    background-color: #e9f6fc;
}
.header-menu li > ul { /* submenus */
    display:none;
    position:absolute;
    top: 100%;
    left:0;
    right:0;
    width: 150px;
    background:#f6f6f6;
    text-align: left;
    z-index:100;
}

/** only 1 deep *
.header-menu li.depth-0:hover > ul {
    display: block;
} */
.header-menu li li {
    display: block;
    width: 100%;
}
.header-menu li li > a {
    padding: 10px;
}
.header-menu li li .title {
    font-size: 14px;
}

#mobile-menu {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: #FFF;
    font-size: 24px;
    width: 30px;
    height: 30px;
    margin: 2px;
    cursor: pointer;
    z-index: 1000;
}
#mobile-menu span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #F5851F;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}
.slide-menu-active #mobile-menu span.one {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-7px, 6px);
}
.slide-menu-active #mobile-menu span.two {
    opacity: 0;
}
.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 {
    position: fixed;
    top: 0;
	right: -240px;
    width: 240px;
	height: 100%;
	background: #003A71;
	border-left: 1px solid #eaeaea;
	overflow-y:scroll;
	z-index: 1000;
}
.slide-menu-active .slide-menu {
    right: 0px;
}
.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: #F5851F;
	background-color: #eaeaea;
	font-weight: normal;
	margin:0;
}
nav.slide-menu li {
    position:relative;
    display: block;
}
.slide-menu li {
    font-size: 12px;
    letter-spacing: 1px;
}

nav.slide-menu li.depth-0 {
    font-size: 16px;
    margin: 0;
}

.slide-menu li > ul {
    display:none;
}
.slide-menu li.expand-active > ul {
    display:block;
}
.slide-menu a {
	display: block;
	color: #fff;
	font-weight: 300;
	border-bottom: 1px solid #FFF;
	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 #FFF;
    margin-right: 50px; /* space for drop */
}
.slide-menu li.has-sub > a:after {
    position: absolute;
    content: "";
    display: block;
    left: 100%;
    bottom: -1px;
    background-color: #FFF;
    width: 50px;
    height: 1px; /* border bottom */
    z-index: 100;
}
.slide-menu ul .expand {
    position: absolute;
    top: 0;
    right: 0;
    border-left: 1px solid #FFF;
    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/h2w/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);
}

/** hide services sub-menu **/
.slide-menu li.has-sub > a[href$="services"]{
    border-right:0;
    margin-right:0;
}
.slide-menu li.has-sub > a[href$="services"]:after {
    display: none;
}

/** enquire button - first menu last item **/
.slide-menu > ul:first-of-type > li:last-of-type {
    margin: 10px;
}
.slide-menu > ul:first-of-type > li:last-of-type > a {
    font-weight: 600;
    color: #FFF;
    text-align: center;
    background-color: #F5851F;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 30px;
    border-bottom: 0;
    box-sizing: border-box;
    width: 100%;
}
.slide-menu > ul:first-of-type > li:last-of-type > a:hover {
    color: #fff;
}
/** 2nd menu first item **/
.slide-menu > ul:last-of-type > li:first-of-type > a {
    border-top: 1px solid #FFF;
}

/*============ footer ============*/
footer  {
    padding-top: 20px;
    color:#fff;
    background:#003A71;
}
footer a.logo {
    padding-bottom: 10px;
}
footer .site-links {
    display: inline-block;
    vertical-align: middle;
    padding-top: 40px;
    float: right;
}
footer .site-links::after {
    content:"";
    display: table;
    width: 100%;
    height: 1px;
    clear: both;
}
footer nav {
    position: relative;
    border-top: 1px solid #3b6a94;
    margin-top: 30px; /* cover button */
}
footer li.last-node { /* enquire button from top menu */
    position: absolute;
    top: -22px;
    right: 10%;
    padding: 0 30px;
    background-color: #003A71;
    border-radius: 30px;
}
footer li.last-node > a.button {
    font-weight: bold;
    line-height: 1;
}

footer nav li.depth-0 {
    margin-left: 0;
}
footer nav li li {
    display: block;
    margin: 10px 0;
}
footer nav a {
    padding-bottom: 0;
    line-height: 30px;
}
/** bykeo ***/
.bykeo {
    display: block;
    text-align: center;
    font-size: 12px;
    padding-top: 10px;
    width: 100%;
    box-sizing: border-box;
}
.bykeo a {
    color: #eaeaea;
    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 */
.t-home header {
    position: static;
}
.banner-wrap.contentwrap {
    padding-bottom:0;
}
.banners-home .banner-stage {
    position: relative;
    padding-top: 70%;
    padding-top: 90vh;
    overflow: hidden;
}
.banners-home .banner {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    display: block;
    background-position:center;
    background-size:cover;
    z-index: 1;
    opacity:0;
    transition: opacity 0.3s ease-in-out;
}
.banners-home .banner.active {
    opacity:1;
}
.banners-home .banner:before {
    content:"";
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
    z-index:0;
}
.banners-home .banner-content {
    display: block;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-align: center;
    justify-content: center;
    font-weight: bold;
    color: #FFF;
}
.banners-home .banner-name,
.banners-home .banner-title,
.banners-home .banner-caption {
    display: block;
}
.banner-title,
.banner-caption {
    position: relative;
    z-index:1;
}
/** banner name **/
.banner-name {
    color: #003A71;
    font-size: 200px;
    height: 200px;
    line-height: 1;
}
.banners-home .banner:nth-of-type(even) .banner-name {
    color: #F5851F;
}
/** ea letter **/
.banner-name .banner-item-content > span {
    position: relative;
    display: inline-block;
    z-index:2;
    transition: left 1s ease-in 0.3s, top 1s ease-in 0.3s;
}
.banner-item-content > span:first-of-type {
    top: -2vw;
    left: -25%;
}
.banner-item-content > span:nth-of-type(2) {
    top: -15vw;
    left: -15%;
}
.banner-item-content > span:nth-of-type(3) {
    top: -2vw;
    left: 5%;
}
.banner-item-content > span:nth-of-type(4) {
    left: -20%;
    top: 20vw;
}
.banner-item-content > span:nth-of-type(5) {
    left: 10%;
    top: 29vw;
}
.banner-item-content > span:nth-of-type(6) {
    left: 25%;
    top: 10vw;
}
.banner-item-content > span:nth-of-type(n+7) {
    left: 100%;
}

.banner-name.animate > .banner-item-content > span {
    left: 0;
    top: 0;
}

/** title **/
.banner-title {
    font-size: 35px;
    font-weight: 600;
    line-height: l.1;
}
/* button */
.banner-caption span {
    display: inline-block;
    text-transform: capitalize;
    font-size: 18px;
    font-weight: normal !important;
    letter-spacing: 2px;
    color: #FFF;
    padding: 10px 30px;
    border-radius: 30px;
    background-color: #003A71;
    margin-top: 20px;
}
.banners-home .banner:nth-of-type(even) .banner-caption span {
    background-color: #F5851F;
}
/* nav */
.banners-home .banner-navigation {
    display:none;
}

/*============ page ============ */
.page-graphic {
    position: relative;
    padding-top: 150px; /* menu */
    background-color: #093d6f;
    background-size: cover;
    background-position:center;
    color: #FFF;
    font-size: 20px;
    font-weight: 600;
}
.page-graphic::before {
    content:"";
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9,61,111, 0.6);
    z-index: 0;
}
.page-graphic .contentwrap {
    max-width: 1260px;
    padding: 7% 30px;
    padding-top: 5%;
    padding-right: 37%; /** limit width **/
    box-sizing: border-box;
    z-index:1;
}

.page-body.contentwrap {
    padding-top: 40px;
    padding-bottom: 100px;
}
.page-body::after {
    content:"";
    display: table;
    width:100%;
    height: 1px;
    clear: both;
}

/** on page only **/
.sub-list {
    padding-top:0;
}
.sub-list .sub-page {
    background: #eaeaea;
}
/** subs **/
.sub-page {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 30%;
    padding: 40px 30px;
    box-sizing: border-box;
    background-color: #FFF;
    margin: 1%;
}
.sub-page.has-img {
    position: relative;
    margin-right: 33%;
    margin-top: 30px;
}
.sub-page h3,
.sub-page h2 {
    color: #003A71;
}
.sub-page .sub-icon {
    position: absolute;
    top: -20px;
    left: 95%;
    width: 110%;
}

/*============ services page ============*/
.services {
    z-index: 1;
}
.services,
.services::before {
    background-color: #F5851F;
}
.services::before {
    content:"";
    position: absolute;
    top:0;
    right: 100%;
    width: 100%;
    height: 100%;
    z-index: 0;
}


/** expander **/
.view-more {
    cursor: pointer;
}
.collapse {
    position: relative;
    overflow: hidden;
    transition: height 0.5s ease;
}
/** hide button when js disabled **/
.no-js .view-more {
    display:none;
}

/*============ testimonials page ============*/
.testimonials.contentwrap {
    padding: 0 30px;
}
.testimonials > div:nth-of-type(odd){
    position: relative;
    background: #eaeaea;
    z-index: 2;
}
.testimonials > div:nth-of-type(odd)::before,
.testimonials > div:nth-of-type(odd)::after {
    content:"";
    background: #eaeaea;
    position: absolute;
    top:0;
    bottom:0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.testimonials > div:nth-of-type(odd)::before {
    right: 100%;
}
.testimonials > div:nth-of-type(odd)::after {
    left: 100%;
}

.testimonial {
    padding: 40px 0;
    text-align: left;
}
.testimonial h2.title {
    font-weight: 300;
    margin-bottom:0;
}
.testimonial h3.sub-title {
    margin-top:0;
}

/*============ contact page ============*/
.t-contact
.col.sml p {
    margin-top: 5px;
}
.col.sml p.orange {
    margin-bottom: 0;
}
.col.sml a {
    text-decoration: none;
}
.opening-hours {
    display: block;
    margin: 10px 0;
}
.opening-days {
    display: inline-block;
    min-width: 75px;
}

/*============ Events/Workshops ============*/
.t-events .page-graphic .contentwrap {
    padding-top: 40px;
    padding-right: 30px;
    padding-bottom: 130px;
    font-size: 1em;
    font-weight: normal;
}
.events-list {
    background-color: #F5851F;
    padding-bottom: 40px;
}
.events-list .wrapper {
    margin-top: -100px;
    margin-left: -1%;
    margin-right: -1%;
}
.event {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 31%;
    padding: 40px 30px;
    padding-right: 122px;
    padding-bottom: 80px; /* button */
    min-height: 500px;
    box-sizing: border-box;
    background-color: #FFF;
    margin: 1%;
    margin-bottom: 80px;
}
.icon {
    position: absolute;
    top: -30px;
    right: 20px;
    width: 100px;
    height: 100px;
    background-color: #DEF5F9;
    background-size: cover;
    background-position: center;
}
.icon.fallback {
    background-image: url('https://keo-cms.appspot.com.storage.googleapis.com/sites/h2w/app_files/img/brain.svg');
    background-size: 60px 70px;
    background-repeat: no-repeat;
}

.event h3 {
    margin: 40px 0;
}
.date,
.time,
.price {
    margin: 0;
}
.date.blue {
    font-size: 14px;
    text-transform: uppercase;
}
.t-events .blue,
.t-event .blue {
    font-weight: 600;
}
.event hr {
    margin: 10px 0;
}

a.booking-button {
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
    color: #003A71;
    padding: 10px 40px;
    border-radius: 30px;
    margin-top: 20px;
    background-color: #e9f6fc;
}
.event .booking-button {
    position: absolute;
    left: 30px;
    bottom: 40px;
}

/** pager **/
.pager {
    text-align: center;
}
.pager .button {
    text-align: center;
    font-size: 18px;
    letter-spacing: 0;
    font-weight: bold;
    color: #003A71;
    padding: 0;
    height: 50px;
    width: 50px;
    line-height: 50px;
    background-color: #e9f6fc;
    border-radius: 50%;
    margin: 5px;
}
.pager .button.active {
    background-color: #0098d9;
}
.pager .button:hover {
    color: #003A71;
}

/** event item **/
.t-event .page-body.contentwrap {
    padding: 40px 20px;
    padding-top: 60px;
}
.register.button,
.t-event .offline.button {
    display: none;
}

/** shared item + register **/
form {
    max-width: 600px;
}
form h4 {
    text-transform: uppercase;
}
#attendees table,
#attendees tbody {
    width: 100%;
}
#offline-extras table,
#attendees li {
    padding: 20px;
    background-color: #d3d3d3;
    box-sizing: border-box;
    margin: 10px 0;
}
#offline-extras table {
    table-layout: fixed;
    text-align: left;
}
#attendees li {
    display: block;
}
form .button,
button[type="submit"]{
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    box-sizing: border-box;
}
form span.button,
input[type="submit"]{
    background-color: #1ca6df;
}
input[type="submit"] {
    color: #FFF !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 100%;
    border-radius: 30px;
}
input[type="submit"]#register,
input[type="submit"].btn-primary {
    font-weight: bold;
    background-color: #F5851F;
}

#add_attendee.button,
.remove.button {
    cursor: pointer;
}

/** register **/
.register.grey {
    padding: 40px 30px;
}
form .row {
    margin: 20px 0;
}
#attendees {
    display: block;
    list-style-type: none;
    margin:0;
    padding:0;
}
#attendees li > label,
#attendees li table tr:nth-of-type(2){
    display: none;
}

/** checkout **/
.t-checkout form {
    margin-right: auto;
}
.card-element-wrap {
    height: 40px;
    background-color: #FFF;
}
#card-element {
    padding-top: 10px;
    padding-left: 1%;
    box-sizing: border-box;
}
.t-success #content .contentwrap {
    padding: 40px 30px;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 1300px){
    header {
        position: static;
    }
    header .contentwrap {
        box-sizing: border-box;
    }
    .page-graphic {
        padding-top: 20px;
    }
}

@media only screen and (max-width: 1050px) {
/** events/workshops **/
    .event {
        width: 48%;
    }
}

@media only screen and (max-width: 960px) {
/** header **/
    #mobile-menu {
        display:block;
    }
    .header-menu {
        display:none;
    }
    .slide-menu {
        display:block;
    }
    .slide-menu-active .site-content-menu-slide {
        right: 240px;
    }
/** home **/
    .banners-home .banner-stage {
        padding-top: 70%;
    }
    .banner-name {
        font-size: 150px;
        height: 150px;
        font-size: 15vw;
        height: 15vw;
    }
    .banner-title {
        font-size: 18px;
    }
/** page **/
    .sub-page {
        width: 47%;
    }
/** footer **/
    footer .site-links {
        display: block;
        padding-top:0;
        float: none;
    }
}

@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;

    }
/** banners **/
    .banner-wrap.contentwrap {
        padding-top: 0;
    }
    .banners-home .banner-stage {
        padding-top: 350px;
    }
    .banner-name {
        font-size: 60px;
        height: 60px;
    }
/** page **/
    .page-body.contentwrap {
        padding-top: 30px;
        padding-bottom: 40px;
    }
    .page-graphic .contentwrap {
        padding-right: 30px;
        font-size: 18px;
    }
    .sub-page,
    .sub-page.has-img {
        width: 100%;
        height: auto !important;
        padding: 30px; 20px;
        margin: 20px 0;
    }
    .sub-page .sub-icon {
        position: static;
        width: 100%;
    }
/** footer stack **/
    footer {
        padding-top: 0;
    }
    footer .contentwrap,
    footer nav > ul {
        text-align: center;
    }
    footer li.last-node {
        position: static;
        padding: 0 10px;
        margin-top: -22px;
    }
    footer nav li.depth-0 {
        margin: 0 2%;
    }
    footer nav a {
        padding: 0;
    }
/** contact **/
    .grey {
        padding: 0;
    }
    .table,
    .col.left,
    .col.sml {
        display: block;
        width:100%;
        padding-left: 0;
    }
    .col.left {
        margin: 20px 0;
    }
/** events/workshops **/
    .events-list .wrapper {
        margin-left:0;
        margin-right:0;
    }
    .event {
        width: 100%;
        padding: 30px 20px;
        min-height: 0;
        margin: 0;
        margin-bottom: 50px;
    }
    .date.blue {
        padding-right: 100px;
    }
    .event .booking-button {
        position: static;
    }
/** register form **/
    #register-form {
        padding-right: 0;
    }
/** checkout & success **/
    .t-checkout table,
    .t-checkout thead,
    .t-checkout tbody,
    .t-checkout tr,
    .t-checkout tr th:first-of-type,
    .t-checkout tfoot {
        display: block;
        text-align: left;
    }
    .t-checkout thead,
    .t-checkout tbody > tr > th:last-of-type,
    .t-checkout th:empty {
        display: none;
    }
    .t-success table,
    .t-success thead,
    .t-success tbody,
    .t-success tr,
    .t-success tr th:first-of-type,
    .t-success tfoot {
        display: block;
        text-align: left;
    }
    .t-success thead,
    .t-success tbody > tr > th:last-of-type,
    .t-success th:empty {
        display: none;
    }

}

@media only screen and (max-width:500px) {
/** header **/
    #mobile-menu {
        top: 5px;
    }
/** home **/
    .banner-wrap.contentwrap {
        padding:0;
    }

/** events/workshop **/
    .event {
        padding-top: 40px;
    }
    .date.blue {
        display: none;
    }
    /** item + register attendees **/
    #attendees table,
    #attendees tbody,
    #attendees tr,
    #attendees th,
    #attendees td {
        display: block;
    }
    /** register attendees **/
    #attendees li table tr:last-of-type th {
        display: none;
    }
}
/* ==========================================================================
   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;
    }
}