::selection {
    background-color: rgb(60, 60, 60);
    color: rgb(245, 245, 245);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6rem;
    color: rgb(60, 60, 60);
    background-color: rgb(245, 245, 245);
    position: relative;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Rubik', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    color: rgb(215, 25, 25);
    overflow-wrap: break-word;
}

h1 {
    font-size: 3rem;
    line-height: 3rem;
}

@media (max-width: 400px) {
    h1 {
        font-size: 2.5rem;
    }
}

h2 {
    font-size: 2.5rem;
    line-height: 2.5rem;
}

h3 {
    font-size: 2rem;
    line-height: 2rem;
}

img {
    max-width: 100%;
}

.red {
    color: rgb(215, 25, 25);
}

a {
    color: rgb(215, 25, 25);
}

h1 a, h2 a, h3 a, h4 a {
    text-decoration: none;
}

a.button, button, input[type="submit"] {
    border: 2px solid rgb(215, 25, 25);
    color: rgb(215, 25, 25);
    background: none;
    cursor: pointer;
    padding: 1.5rem 4rem;
    display: inline-block;
    margin: 1rem 0;
    text-transform: uppercase;
    text-decoration: none;
    outline: none;
    position: relative;
    transition: all 0.3s;
    z-index: 1;
    font-size: 16px;
    text-align: center;
}

a.button:hover, button:hover, input[type="submit"]:hover {
    color: #fff;
}

a.button:after, button:after, input[type="submit"]:after {
    content: '';
    position: absolute;
    z-index: -1;
    transition: all 0.3s;
    width: 0%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(215, 25, 25);
}

a.button:hover:after, button:hover:after, input[type="submit"]:hover:after {
    width: 100%;
}

a.button.small, button.small, input[type="submit"].small {
    padding: 0.5rem 1rem;
    min-width: inherit;
}

.container {
    max-width: 1600px;
    padding: 0 5rem;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 0;
        max-width: 90%;
    }
}

.grid {
    display: flex;
}

.grid + .grid {
    margin-top: 2.5rem;
}

.grid .column {
    flex: 1;
    margin-right: 2.5rem;
}

.grid .column.no-margin {
    margin-right: 0;
}

.grid .column.one-third {
    flex: 0 0 33.3%;
}

.grid .column.one-quarter {
    flex: 0 0 25%;
}

.grid .column:last-child {
    margin-right: 0;
}

@media (max-width: 1024px) {
    .grid {
        display: block;
    }
    .grid .column {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    .grid .column.one-third, .grid .column.one-quarter {
        flex: 0 0 auto;
    }
    .grid .column:last-child {
        margin-bottom: 0;
    }
}

.panel {
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.25) 0.25rem 0.25rem 0.25rem;
    position: relative;
}

.panel .content {
    padding: 2.5rem;
}

.panel .content h1:first-child, .panel .content h2:first-child, .panel .content h3:first-child, .panel .content p:first-child, .panel .content h4:first-child {
    margin-top: 0;
}

.panel .content a.button:last-child, .panel .content p:last-child {
    margin-bottom: 0;
}

.panel img {
    width: 100%;
}

.panel img + .content {
    margin-top: -0.5rem;
}

@media (max-width: 400px) {
    .panel h2 a {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

.shadow {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.5rem 2.5rem;
    transition: all 0.3s ease-out;
}

.shadow:hover {
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0rem 5rem;
}

.shadow.no-hover:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.5rem 2.5rem;
}

table {
    border-spacing: 0;
}

table tr td, table tr th {
    padding: 0 0.5rem;
    vertical-align: top;
}

table tr td:first-child, table tr th:first-child {
    padding-left: 0;
}

.responsive-container {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    min-height: 40vh;
}

.responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

main {
    position: relative;
    padding-bottom: 5rem;
}

main.lifted {
    top: -10rem;
    z-index: 2;
    margin-bottom: -10rem;
}

main.lifted.has-header {
    top: -11rem;
    margin-bottom: -11rem;
}

main .container p:first-child {
    margin-top: 0 !important;
}

main .container p:last-child {
    margin-bottom: 0 !important;
}

.message {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.5rem 0.75rem;
    background-color: rgb(60, 60, 60);
    color: rgb(245, 245, 245);
    margin-bottom: 2.5rem;
    text-align: center;
}

.system-message {
    z-index: 9;
    position: fixed;
    right: 2.5rem;
    bottom: 2.5rem;
    min-width: 200px;
    width: 20%;
    padding: 1rem 2rem;
    opacity: 0;
    transform: translateY(100%) scale(0.75);
    transition: all 0.3s ease-out;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 2.5rem;
    margin-bottom: 0;
}

.system-message.active {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.message.success {
    background-color: rgb(215, 25, 25);
}

.image-panel {
    background-color: rgb(245, 245, 245);
    color: rgb(60, 60, 60);
    text-align: center;
}

.image-panel a {
    color: rgb(60, 60, 60);
    text-transform: uppercase;
    text-decoration: none;
}

.image-panel img {
    width: 100%;
}

.image-panel p {
    display: block;
    text-align: center;
    margin: -0.4rem 0 0 0;
    padding: 1rem 0.5rem;
}

.if-in-view {
    opacity: 0;
    transform: translateY(2.5rem) scale(0.9);
    transition: all 0.3s ease-out;
}

.if-in-view.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#upcoming-classes {
    background-color: rgb(215, 25, 25);
    color: rgb(60, 60, 60);
    padding: 5rem 0;
}

#upcoming-classes .grid {
    padding: 0 2.5rem;
}

#upcoming-classes h3 {
    color: rgb(60, 60, 60);
    margin: 0 0 3rem 0;
}

#blogroll {
    background-color: rgb(60, 60, 60);
    text-align: center;
    color: rgb(245, 245, 245);
    padding: 5rem 0;
}

#join-cta {
    padding: 5rem 0;
}

#join-cta .container {
    position: relative;
}

#join-cta h3 {
    margin: 0 0 3rem 0;
}

#join-cta .subtitle {
    max-width: 40rem;
    font-style: italic;
}

#join-cta img {
    position: absolute;
    bottom: -5rem;
    right: 5rem;
}

@media (max-width: 1024px) {
    #join-cta img {
        position: relative;
        right: inherit;
        display: block;
        margin-top: -3.5rem;
    }
}

footer {
    background-color: rgb(60, 60, 60);
    color: rgb(245, 245, 245);
    padding: 4rem 0 5rem;
}

footer a {
    color: rgb(245, 245, 245);
}
nav {
    width: 100%;
    z-index: 2;
}

nav:after {
    content: '';
    display: block;
    clear: both;
}

nav .logo {
    display: inline-block;
    width: 200px;
    padding: 0.25rem 0;
}

nav .logo img {
    width: 100%;
}

nav #toggle-nav {
    padding: 0.5rem 1rem;
    float: right;
    margin: 1rem 0;
    display: none;
    position: relative;
    z-index: 21;
}

nav ul {
    float: right;
    padding: 1rem 0;
}

nav ul, nav ul li {
    list-style: none;
    margin: 0;    
}

nav ul li {
    padding: 0;
    display: inline-block;
}

nav a {
    text-transform: uppercase;
    text-decoration: none;
    margin-right: 1rem;
}

nav a.button {
    padding: 0.5rem 1rem;
    margin: 0;
}

nav ul li:last-of-type a {
    margin-right: 0;
}

nav .social {
    display: inline;
    float: right;
    margin: 1.6rem 0.5rem 0 0;
}

nav .social span {
    display: block;
    text-align: center;
    margin-top: -1.3rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: -0.25rem;
    color: rgb(215,25,25);
    margin-left: -0.75rem;
}

@media (max-width: 950px) {
    nav .social {
        display: none;
    }
}

@media (max-width: 880px) {
    nav {
        text-align: center;
    }
    nav .logo, nav ul {
        float: none;
    }
}

@media (max-width: 650px) {
    nav .logo {
        width: 60%;
    }
    nav #toggle-nav {
        display: block;
    }
    nav #toggle-nav.active {
        background-color: #fff;
        color: rgb(215, 25, 25);
    }
    nav #toggle-nav.active:after, nav #toggle-nav.active:before {
        display: none;
    }
    nav ul {
        position: fixed;
        width: 75%;
        max-width: 400px;
        top: 0;
        margin: 0;
        right: 0;
        bottom: 0;
        transform: translateX(100%);
        transition: all 0.3s ease-out;
        z-index: 20;
        background-color: rgb(215, 25, 25);
        padding-top: 20.5%;
        border-left: rgb(60, 60, 60) 0.25rem solid;
    }
    nav ul.active {
        transform: translateX(0);
    }
    nav ul li, nav ul li a {
        display: block;
    }
    nav ul li a {
        margin-right: 0;
        padding: 1rem 0;
        text-align: center;
        border-top: rgb(215, 25, 25) 1px solid;
        color: #fff;
    }
    nav ul li a.button {
        margin-top: 1rem;
        color: #fff;
        border-color: #fff;
    }
    nav .social {
        display: none;
        position: absolute;
        right: 6.5rem;
        top: 1.5rem;
        z-index: 20;
        margin: 0;
    }
    nav ul.active + .social {
        display: block;
    }
    nav .social a {
        color: #fff;
    }
}

#header {
    background: url("/storage/app/media/design/header.svg") top left repeat;
    background-size: 10px;
    background-color: rgb(60, 60, 60);
    margin-bottom: 5rem;
    position: relative;
    padding-bottom: 2.5rem;
}

header {
    margin-bottom: 5rem;
    background-color: rgb(215, 25, 25);
}

#header.home {
    padding-bottom: 0;
}

#header .info, header .info {
    position: relative;
    width: 100%;
    height: 100%;
}

#header .info.lifted, header .info.lifted {
    padding-bottom: 5rem;
}

#header .info .image, header .info .image {
    display: block;
    width: calc(100% + 1px);
    position: relative;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    margin-left: -1px;
    min-height: 500px;
    height: 40vw;
    max-height: 600px;
}

#header.smaller .info .image, header.smaller .info .image {
    min-height: 350px;
    max-height: 450px;
}

#header .info .image:before, header .info .image:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0);
}

#header .info .image > img, header .info .image > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    min-width: 100%;
    min-height: 100%;
    max-width: inherit;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}

#header .info .image picture {
    display: block;
    width: 100%;
    height: 100%;
}

#header .info .image picture img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: top center;
}

#header .info .text {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 100%;
    max-width: 60rem;
    font-family: 'Rubik', sans-serif;
    font-size: 6rem;
    text-transform: uppercase;
    /*color: rgb(215, 25, 25);*/
    color: #fff;
    text-align: center;
    line-height: 6rem;
}

@media (max-height: 900px) {
    #header .info .text {
        max-width: 75%;
    }
}

#header .info .text h1, #header .info .text .title:first-child {
    margin-top: 0;
}

#header .info .text p:last-child {
    margin-bottom: 0;
}

#header .info a img {
    position: relative;
    top: inherit;
    left: inherit;
    transform: none;
}

header h1 {
    margin: 0;
    padding: 1.5rem 0;
    color: rgb(245, 245, 245);
    text-align: center;
}

header h1[itemprop="headline"] {
    text-align: left;
}

header .info.lifted h1 {
    position: absolute;
    top: 40%;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%) translateY(-50%);
    /*color: rgb(215, 25, 25);*/
    color: #fff;
    font-size: 6rem;
    line-height: 6rem;
    text-align: center;
}

@media (max-width: 500px) {
    header .info.lifted h1 {
        font-size: 4rem;
        line-height: 4rem;
    }
}

#blogroll h3 {
    margin: 0 0 3rem 0;
    text-align: left;
}

#blogroll .column {
    background-color: rgb(245, 245, 245);
}

#blogroll a span[itemprop="title"], #blog a span[itemprop="title"] {
    display: inline-block;
    padding: 0.5rem 0 1rem 0;
    text-transform: uppercase;
}
article#post p, article#post ul, article#post ol {   
    margin: 1rem auto;
}

article#post p img {
    transform: scale(1.5);
    margin: 20% 0;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.5rem 2.5rem;
}
.call-to-action h1 {
    font-size: 2.5rem;
}

.badge {
    position: absolute;
    width: 40%;
    bottom: 0;
    right: 0;
    transform: translateX(15%) translateY(15%);
    z-index: 1;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-name: rollIn;
}

.call-to-actions .column:last-child .badge {
    animation-delay: 0.3s;
}

@media (max-width: 1024px) {
    .call-to-action .badge {
        position: relative;
        display: block;
        width: 25%;
        min-width: 200px;
        bottom: inherit;
        right: inherit;
        transform: inherit;
        margin: 0 auto;
        animation: none;
    }
}

@keyframes rollIn {
    from {
        opacity: 0;
        transform: translate3d(100%, 15%, 0) rotate3d(0, 0, 1, 120deg);
    }
    to {
        opacity: 1;
        transform: translateX(15%) translateY(15%);
    }
}

.main-map {
    margin: 5rem auto 5rem auto;
}

#map {
    width: 100%;
    padding-bottom: 35%;
}

#map.map-full {
    padding-bottom: 60%;
}

#sales-points .grid {
    margin: 0;
}

@media (max-width: 1024px) {
    #sales-points .grid .column {
        margin: 0;
        margin-bottom: -0.4rem;
    }
}

#sales-points .grid + .grid {
    margin-top: -0.4rem;
}

#sales-points a {
    display: block;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-out;
}

#sales-points a:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 0.4rem);
    background-color: rgba(0, 0, 0, 0.5);
}

#sales-points a .text {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translateX(-50%) translateY(-50%);
    color: #fff;
    font-size: 2rem;
    line-height: 2.5rem;
    text-transform: uppercase;
    font-family: 'Rubik', sans-serif;
    font-weight: normal;
    text-align: center;
}

#sales-points a .text p {
    margin: 0;
}

#image-nav {
    padding: 0 2.5rem;
}

.contact h4 {
    margin-top: 0;
}

#class-selector, #gym-selector {
    margin-bottom: 2.5rem;
}

table.classes {
    width: 100%;
}

table.classes th {
    background-color: rgb(215, 25, 25);
    color: #fff;
    font-weight: normal;
    padding: 0.5rem;
}

table.classes tbody {
    display: block;
    border: rgb(60, 60, 60) 1px solid;
    border-top: none;
    background-color: #fff;
}

table.classes tr, table.classes td {
    padding: 0;
    margin: 0;
}

table.classes tbody tr {
    display: block;
    width: 100%;
}

table.classes tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.025);
}

table.classes tbody td {
    padding: 0.5rem;
    vertical-align: top;
}

form, .loading {
    position: relative;
    overflow: hidden;
    padding-bottom: 0.5rem;
}

form.submitting:before, .loading:before {
    display: block;
    position: absolute;
    content: "";
    bottom: 0;
    left: -200px;
    width: 200px;
    height: 4px;
    background-color: rgb(215, 25, 25);
    animation: loading 2s linear infinite;
}

@keyframes loading {
    from {left: -200px; width: 30%;}
    50% {width: 30%;}
    70% {width: 70%;}
    80% { left: 50%;}
    95% {left: 120%;}
    to {left: 100%;}
}

label {
    display: block;
}

input, select, textarea {
    background-color: white;
    padding: 8px 12px;
    border-radius: 4px;
    border: rgba(0, 0, 0, 0.25) 1px solid;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.1s linear;
    display: block;
    min-width: 250px;
    margin: 0.25rem 0 1rem 0;
    border-left: rgb(215, 25, 25) 0.25rem solid;
    border-left: rgb(60, 60, 60) 0.25rem solid;
    width: 100%;
}

select {
    -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25);
    outline: none;
    border-left: rgb(60, 60, 60) 0.5rem solid;
}

input.invalid, select.invalid, textarea.invalid {
    border-color: rgb(215, 25, 25);
}

#email-alert {
    margin-bottom: 0.5rem;
    background-color: rgb(215, 25, 25);
    color: rgb(245, 245, 245);
    padding: 0.5rem 0.75rem;
}

input[type="checkbox"] {
    display: inline;
    min-width: inherit;
    width: auto;
}

.checkbox label {
    display: inline-block;
    margin-left: 0.5rem;
}

input[type="submit"] {
    margin-top: 1rem;
}

#options .levels .column {
    text-align: center;
}

#options .levels .column h3:first-child {
    margin: 0;
}

#options .levels .description {
    margin: 1rem 0 0 0;
}

#options .levels .description ul, #options .levels .description ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}

#options .levels .price {
    font-family: 'Rubik', sans-serif;
    display: block;
    font-size: 1.25rem;
    line-height: 2rem;
}

#options .levels .price .child {
    font-size: 1rem;
}

@media (max-width: 1024px) {
    #options .levels .actions .grid .column {
        margin-bottom: 0;
    }
}

#options .levels .level .points table {
    width: 100%;
    text-align: left;
    margin: 1rem 0;
}

#options .levels .level .points table tr {
    background-color: rgba(0, 0, 0, 0.025);
}

#options .levels .level .points table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.075);
}

#options .levels .level .points table tr td {
    padding: 0.25rem 1rem;
}

#options .levels .level .points .yes {
    color: rgb(215, 25, 25);
}

#options .levels .level .points .no {
    color: rgb(60, 60, 60);
}

#options .levels .button {
    padding: 0.75rem 0;
    min-width: 100%;
}

body.signup .message {
    /*position: absolute;
    width: calc(75% - 10rem);
    right: 5rem;
    top: -4rem;*/
}

@media (max-width: 1024px) {
    /*body.signup .message {
        position: relative;
        width: 100%;
        right: inherit;
        top: -4rem;
    }*/
}

#signup-level {
    background-color: rgb(60, 60, 60);
    color: rgb(245, 245, 245);
    position: relative;
    z-index: 1;
    padding-right: 2.5rem;
}

#signup-level:before {
    background-color: rgb(60, 60, 60);
    content: '';
    display: block;
    width: 100vw;
    position: absolute;
    height: calc(100% + 10rem);
    right: 0;
    top: -5rem;
    z-index: -1;
}

@media (max-width: 1024px) {
    #signup-level {
        margin-top: -5rem;
        padding: 2.5rem 0;
    }
    #signup-level:before {
        height: 100%;
        top: 0;
        right: -5.5%;
    }
}

#subscribe input {
    min-width: auto;
}

#subscribe .grid h2:first-child {
    margin-top: 0;
}
#venue .column h2:first-child {
    margin-top: 0;
}

#venue .option {
    display: block;
    padding: 1rem;
    border: rgba(255, 255, 255, 1) 0.2rem solid;
    transition: all 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0);
    color: #fff;
    text-decoration: none;
    margin-bottom: 2.5rem;
}

#venue .option:last-of-type {
    margin-bottom: 0;
}

#venue .option .button {
    margin: 0;
    padding: 0.5rem 1rem;
    width: 100%;
    color: #fff;
}

#venue #contact {
    margin: 2.5rem 0;
}

#venue #gallery {
    margin-top: 2.5rem;
}

#membership-options {
    background-color: rgb(60, 60, 60);
    color: rgb(245, 245, 245);
    position: relative;
    z-index: 1;
    padding-right: 2.5rem;
}

#membership-options:before {
    background-color: rgb(60, 60, 60);
    content: '';
    display: block;
    width: 100vw;
    position: absolute;
    height: calc(100% + 10rem);
    right: 0;
    top: -5rem;
    z-index: -1;
}

/*
@media (max-width: 1024px) {
    #membership-options {
        margin-top: -5rem;
        padding: 2.5rem 0;
    }
    #membership-options:before {
        height: 100%;
        top: 0;
        right: -5.5%;
    }
}
*/
.pt {
    position: relative;
    display: flex;
    color: #fff;
    aspect-ratio: 2/3;
    text-decoration: none;
    flex-direction: column;
    justify-content: end;
    justify-content: flex-end;
}

.pt:after {
    position: absolute;
    z-index: 1;
    height: 50%;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    content: '';
    bottom: 0;
    left: 0;
}

.pt:before {
    position: absolute;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease-out;
    background-color: rgb(215,25,25);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
}

.pt:hover:before {
    opacity: 0.25;
}

.pt img, #pts .pt img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pt h3, .pt p {
    position: relative;
    z-index: 2;
    font-weight: 400;
    text-decoration: none;
    margin: 0 1.5rem;
}

main .container .pt p:last-child {
    margin-bottom: 1.5rem !important;
}
#room-booking ul.nav, #room-booking ul.nav li {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

#room-booking ul.nav {
    width: 100%;
    text-align: center;
    margin-top: -1.25rem;
    margin-bottom: 2.5rem;
}

#room-booking ul.nav li a {
    margin-top: 1.25rem;
}

#room-booking ul.nav li.active a {
    background-color: rgb(215, 25, 25);
    color: #fff;
}

#room-booking a.button, #room-booking button, #room-booking input[type="submit"] {
    margin: 0;
}

#room-booking table {
    border-spacing: 0;
    width: 100%;
}

#rooms td form {
    padding-bottom: 0;
}

#rooms td {
    padding: 0.5rem 1rem;
    vertical-align: middle;
}

#rooms table tbody tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

#upcoming-bookings td, #upcoming-bookings th {
    text-align: left;
    padding: 0.5rem 1rem 0 1rem;
}

#upcoming-bookings tr td:first-child, #upcoming-bookings tr th:first-child {
    padding-left: 0;
}

#upcoming-bookings thead tr:first-child th {
    padding-top: 0;
}
@media (max-width: 1024px) {
    #events .class.grid, #events .class .grid {
        display: flex;
    }
    #events .class.grid .column, #events .class .grid .column {
        flex: 1;
        margin-right: 0;
    }
    #events .class.grid .column.one-quarter, #events .class .grid .column.one-quarter {
        flex: 0 0 25%;
    }
    #events .class .image {
        display: none;
    }
}

@media (max-width: 768px) {
    #events .class.grid, #events .class .grid {
        display: block;
        text-align: center;
    }
    #events .class.grid .column, #events .class .grid .column {
        display: block;
    }
}

#events ul.nav, #events ul.nav li {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}

#events ul.nav {
    width: 100%;
    text-align: center;
    margin-top: -1.25rem;
    margin-bottom: 2.5rem;
}

#events ul.nav li a {
    margin-top: 1.25rem;
}

#events ul.nav li.active a {
    background-color: rgb(215, 25, 25);
    color: #fff;
}

#events a.button, #events button, #events input[type="submit"] {
    margin: 0;
}

#events .class {
    padding: 2.5rem;
    margin-bottom: 2.5rem;
}

#events .class:last-of-type {
    margin-bottom: 0;
}

#events .class:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

#events .class .main {
    padding-right: 2.5rem;
}

@media (max-width: 768px) {
    #events .class .main {
        padding-right: 0;
    }
}

#events .class .mobile-meta {
    display: none;
}

@media (max-width: 768px) {
    #events .class .mobile-meta {
        display: block;
    }
}

#events .class .mobile-meta span[itemprop="startDate"], #events .class .mobile-meta span[itemprop="endDate"], #events .class .mobile-meta .spacer {
    font-weight: bold;
    font-size: 1.25rem;
    line-height: 1.25rem;
}

#events .class .meta, #events .class .extra {
    margin-bottom: 1rem;
}

#events .class .meta span[itemprop="startDate"], #events .class .meta span[itemprop="endDate"], #events .class .meta .spacer {
    font-weight: bold;
    font-size: 2.5rem;
    line-height: 2.5rem;
}

@media (max-width: 1024px) {
    #events .class .meta .spacer {
        display: block;
        font-size: 1rem;
        line-height: 1rem;
    }
}
        
#events .class .info {
    text-align: center;
}

#events .class .info .message {
    margin-bottom: 1rem;
}

#events .class .info a.button, #events .class .info button {
    width: 100%;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    #events .panel > .content {
        padding-left: 0;
        padding-right: 0;
    }
    #events .class .meta {
        display: none;
    }
}
