body {
  font-size: 14px;
  line-height: 1.8;
  color: #0b1a55;
}

h1, h2, h3, h4, h5, h6 {
  position: relative;
  font-family: 'Kanit';
  font-weight: bold;
  font-style: italic;
  text-transform: uppercase;
}

h1.color-primary, h2.color-primary, h3.color-primary, h4.color-primary, h5.color-primary, h6.color-primary {
  color: #19265a;
}

h1 {
  font-size: 48px;
  text-transform: uppercase;
}

h2 {
  color: #ad2036;
  font-size: 32px;
  text-transform: uppercase;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: #19265a;
  -webkit-transition: color .2s ease-in-out;
  transition: color .2s ease-in-out;
}

a:hover {
  color: #7bc7ff;
}

img {
  max-width: 100%;
}

.button {
  padding: 10px 20px;
  background: #19265a;
  color: #fff !important;
  text-transform: uppercase;
  -webkit-transition: background .2s ease-in-out;
  transition: background .2s ease-in-out;
}

.button:hover {
  background: #1f2e6e;
}

.button.is-fluid {
  width: 100%;
}

.main {
  min-height: 0px !important;
}

.header {
  position: -webkit-sticky;
  position: sticky;
  top: -40px;
}

.header-widgets {
  background: #ad2036;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.header-widgets a {
  color: #fff;
}

.header-widgets .widgets {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.header-widgets .widget .list-inline li {
  line-height: 40px;
}

.header-widgets .widget-social-icons .list-inline li {
  margin-right: 0;
}

.header-widgets .widget-social-icons .list-inline i {
  font-size: 16px;
}

.header .header-main {
  background: #fff;
  line-height: 80px;
}

.header .header-main .menu {
  background: #19265a;
  -webkit-transform: skewX(-20deg);
          transform: skewX(-20deg);
  -webkit-box-shadow: -5px 0px 5px rgba(0, 0, 0, 0.25);
          box-shadow: -5px 0px 5px rgba(0, 0, 0, 0.25);
}

.header .header-main .menu:after {
  position: absolute;
  width: 200vw;
  height: 100%;
  background: #19265a;
  z-index: -1;
  content: "";
}

.header .header-main .menu .menu-item {
  color: #fff;
  font-family: 'Kanit';
  font-weight: 600;
}

.header .header-main .menu .menu-item:hover, .header .header-main .menu .menu-item.current-menu-item, .header .header-main .menu .menu-item.current-page-ancestor {
  color: #7bc7ff;
}

.header .header-main .menu .menu-item > a {
  -webkit-transform: skewX(20deg);
          transform: skewX(20deg);
}

.header .header-main .menu .menu-button {
  background: #293766;
}

.header .header-main .menu .sub-menu {
  background: #19265a;
  border-top-color: transparent;
}

.header .header-main .menu .sub-menu .menu-item {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.main-hero {
  height: 300px;
  background: #333;
  background-image: url("../images/hero/fitness.jpg");
  background-size: cover;
  background-position: center;
}

.page-id-11 .main-hero, .parent-pageid-11 .main-hero, .swimming .main-hero {
  background-image: url("../images/hero/swimming.jpg");
}

.page-id-9 .main-hero, .parent-pageid-9 .main-hero, .gymnastics .main-hero {
  background-image: url("../images/hero/gymnastics.jpg");
}

.main-hero h1 {
  display: none;
  text-transform: uppercase;
  font-size: 72px;
  font-weight: bold;
  color: #fff;
  text-align: left;
}

.main-hero a, .main-hero .breadcrumbs {
  display: none;
  color: #fff;
}

.section {
  padding: 60px 0;
}

.section .container {
  padding: 0;
}

.section-color, .section-discover {
  background: #f5f5f5;
}

.section.color-primary {
  background: #19265a;
  color: #fff;
}

.section.color-secondary {
  background: #f5f5f7;
  color: #fff;
}

.section-title {
  margin-bottom: 40px;
  font-size: 42px;
  text-align: center;
  color: #ad2036;
}

.section.color-secondary .section-title {
  color: #fff;
}

.section-description {
  margin: 0 auto;
  margin-bottom: 40px;
  max-width: 600px;
  text-align: center;
}

.title-divider {
  margin-bottom: 40px;
}

.title-divider:before, .title-divider:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 3px;
  content: "";
}

.title-divider:before {
  width: 40px;
  bottom: -10px;
  background: #19265a;
}

.title-divider:after {
  bottom: -17px;
  background: #ad2036;
}

.section-title.title-divider:before, .section-title.title-divider:after {
  left: 50%;
}

.section-title.title-divider:before {
  margin-left: -20px;
}

.section-title.title-divider:after {
  margin-left: -10px;
}

.footer .footer-widgets {
  padding: 60px 0;
  background: #19265a;
  background-image: url("../images/footer-bg.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  font-size: 13px;
}

.footer .footer-widgets h3 {
  margin-bottom: 20px;
  color: #7bc7ff;
}

.footer .footer-widgets a {
  color: #fff;
}

.footer .footer-widgets ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 10px;
}

.footer .footer-widgets ul:last-of-type {
  margin-bottom: 0;
}

.footer .footer-widgets li {
  position: relative;
  padding-left: 25px !important;
}

.footer .footer-widgets i {
  position: absolute;
  left: 0;
  margin-top: 6px;
  margin-right: 8px;
  color: #ad2036;
}

.footer .footer-copyright {
  padding: 10px 0;
  background: #293766;
  color: #fff;
}

@media (max-width: 959px) {
  .header-main .menu {
    -webkit-transform: none;
            transform: none;
  }
  .header-main .menu .menu-item > a {
    -webkit-transform: none;
            transform: none;
  }
}

.items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0 -15px;
  margin-bottom: -30px;
}

.items .item {
  position: relative;
  width: calc( 33.333% - 30px);
  margin: 0 15px;
  margin-bottom: 30px;
}

.items .item:hover .media-overlay {
  opacity: 1;
}

.items .item-image .media-overlay {
  background: rgba(255, 244, 244, 0.3);
  -webkit-transition: opacity .2s ease-in-out;
  transition: opacity .2s ease-in-out;
  visibility: visible;
}

.items .item-content {
  display: none;
}

.items .item-excerpt {
  display: none;
}

.items .item-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.items .page .meta-category {
  display: none;
}

.item-single .item-title {
  margin-bottom: 40px;
  font-size: 42px;
}

.item-single .item-gallery img {
  min-width: 100%;
}

.item-single .item-buttons {
  margin-top: 20px;
}

.item-single .item-buttons .button {
  width: 100%;
  margin-bottom: 10px;
}

.item-single .item-buttons .button:first-of-type {
  background: #ad2036;
}

.item-single .item-buttons .button:only-child {
  background: #ad2036;
}

/** PERSONAL TRAINING **/
.items .item {
  width: calc( 33.33% - 30px);
  -webkit-box-shadow: 3px 4px 15px 0px rgba(185, 185, 185, 0.75);
          box-shadow: 3px 4px 15px 0px rgba(185, 185, 185, 0.75);
}

.items .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-width: 0;
  background: #fff;
  word-wrap: break-word;
}

.items .item .item-section {
  position: relative;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
  padding: 20px;
  background: #fff;
  text-align: center;
}

.items .item .item-title {
  font-size: 18px;
}

.items .item .item-title a {
  color: #ad2036;
}

.items .item .item-excerpt {
  margin-top: 10px;
  font-size: 13px;
}

.items .item .item-meta {
  color: #19265a;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
}

.items .item .meta-category {
  position: absolute;
  top: -40px;
  right: 15px;
  padding: 2px 10px;
  color: #fff;
  z-index: 1;
}

.items .item .meta-category:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ae122a;
  -webkit-transform: skewX(-20deg);
          transform: skewX(-20deg);
  content: "";
  z-index: -1;
}

.items .item .item-buttons {
  display: none;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}

.items .item .item-buttons .button {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.items.trainers .item {
  width: calc(calc(100% / 4) - 30px);
}

.items.trainers .item-excerpt {
  display: none;
}

.page.home .main-title {
  display: none;
}

.hero-segment {
  padding: 120px 0px 120px 0px;
  background-position: center center;
  background-size: cover;
  -webkit-clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
          clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.hero-segment.hero-segment-right {
  -webkit-clip-path: polygon(13% 0, 100% 0, 100% 100%, 0% 100%);
          clip-path: polygon(13% 0, 100% 0, 100% 100%, 0% 100%);
  margin-left: -13%;
}

.hero-segment h1 {
  color: #fff;
  font-family: 'Roboto Condensed';
  font-size: 32px;
  text-align: center;
  text-transform: uppercase;
}

.accordion {
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.accordion ul {
  width: 100%;
  display: table;
  table-layout: fixed;
  margin: 0;
  padding: 0;
  /*&:hover li,
    &:focus-within li { width:8%; }

    li:focus {
      outline: none;
    }

    &:hover li:hover,
      // allow users to tab through active slides
    li:focus,
    &:focus-within li:focus {

      width:20%;

      a {

        //background:rgba(255,255,255,.4);

        * {

          opacity:1;
          -webkit-transform:translateX(0);
          transform:translateX(0);

        }

        h1, h2  {
          color: #fff;
        }

      }

    }

    &:hover li {
      width: 8% !important;

      a * { opacity: 0 !important; }
    }

    &:hover li:hover {
      width:20% !important;

      a {

        //background:rgba(255,255,255,.4);

        * {

          opacity:1 !important;
          -webkit-transform:translateX(0);
          transform:translateX(0);

        }

        h1, h2 {
          color: #fff;
        }

      }
    }*/
}

.accordion ul li {
  display: table-cell;
  vertical-align: bottom;
  position: relative;
  width: 25%;
  height: 60vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.accordion ul li div {
  display: block;
  overflow: hidden;
  width: 100%;
}

.accordion ul li div a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
  height: 60vh;
  width: 100%;
  position: relative;
  z-index: 3;
  vertical-align: bottom;
  padding: 30px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  font-family: Open Sans, sans-serif;
  -webkit-transition: all 200ms ease;
  transition: all 200ms ease;
}

.accordion ul li div a * {
  opacity: 1;
  margin: 0;
  width: 100%;
  text-align: center;
  text-overflow: ellipsis;
  position: relative;
  z-index: 5;
  white-space: nowrap;
  overflow: hidden;
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
}

.accordion ul li div a h1 {
  color: rgba(255, 255, 255, 0.75);
  text-overflow: clip;
  font-size: 52px;
  text-transform: uppercase;
  text-align: center;
  margin-top: auto;
}

.accordion ul li div a h2 {
  color: rgba(255, 255, 255, 0.75);
}

.accordion ul li div a span {
  opacity: 0;
}

.accordion ul li div a p {
  top: 15px;
  font-size: 13.5px;
}

.accordion .fitness {
  background-image: url("../images/slider/slider-fitness.jpg");
}

.accordion .swimming {
  background-image: url("../images/slider/slider-swimming.jpg");
}

.accordion .gymnastics {
  background-image: url("../images/slider/slider-gymnastics.jpg");
}

section {
  position: relative;
  background: transparent;
  background-repeat: no-repeat;
  background-size: cover;
}

section.has-padding {
  padding-top: 60px;
  padding-bottom: 60px;
}

section.is-fluid {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

section.is-fluid .container {
  padding-left: 15px;
  padding-right: 15px;
}

section.is-center {
  text-align: center;
}

section.is-center .container {
  max-width: 600px;
}

section.is-tinted:before {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  content: '';
}

section.is-split-left {
  background-image: -webkit-gradient(linear, left top, right top, color-stop(50%, transparent), color-stop(50%, #fff));
  background-image: linear-gradient(90deg, transparent 50%, #fff 50%);
  background-position: left;
}

section.is-split-right:before {
  position: absolute;
  width: 50%;
  height: 100%;
  top: 0;
  left: 0;
  background: #fff;
  content: '';
}

.copyright {
  font-size: 12px;
}

/** NEW **/
.content-box {
  margin: 20px 0;
  padding: 20px;
  background: #dadde9;
}

.share-icons {
  text-align: right;
}

.share-icons .button {
  padding: 10px;
  line-height: 1;
}

.share-icons .button-facebook {
  margin-right: 5px;
  background: #4267b2;
}

.share-icons .button-twitter {
  background: #17b1f2;
}

.share-icons .button i {
  margin-right: 5px;
}

.menu .menu-item {
  font-size: 14px;
}

h3 {
  font-weight: 400;
}

.items .item-desc {
  margin-top: 5px;
}

.items .item-title {
  font-weight: bold;
}

.footer-enquiry {
  background: #ad2036;
  position: fixed;
  top: 50%;
  right: 0;
  width: auto;
  transform: translate(0, -50%);
  z-index: 999;
}

.footer-enquiry.is-open .open {
  display: block !important;
}

.footer-enquiry.is-open .closed {
  display: none !important;
}

.footer-enquiry .open {
  position: relative;
  display: none;
  min-width: 400px;
  padding: 30px;
  color: #fff;
}

.footer-enquiry .button-close {
  position: absolute;
  top: 0;
  right: 10px;
  padding: 5px;
}

.footer-enquiry .button-close i {
  margin: 0 !important;
}

.footer-enquiry .enquiry-button {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.2;
  padding: 10px 20px;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
}

.footer-enquiry .enquiry-button i {
  font-size: 20px;
  margin-right: 10px;
}

.footer-enquiry .ninja-forms-field.button {
  background: #19265a !important;
  width: 100%;
  padding: 10px;
}

.footer-enquiry .nf-error-msg {
  color: #ffc0c0;
}

.footer-enquiry .nf-field-container {
  margin-bottom: 10px;
}

.ninja-forms-field.button {
  background: #19265a !important;
  width: 100% !important;
  padding: 10px !important;
}

.nf-field-container {
  margin-bottom: 10px !important;
}

.nf-error-msg {
  color: #ffc0c0 !important;
}

@media only screen and (max-width: 960px) {
  .header .header-main .menu {
    -webkit-transform: none;
            transform: none;
  }
  .header .header-main .menu .menu-item > a {
    -webkit-transform: none;
            transform: none;
  }
  .items .item {
    width: 100%;
  }
  .section-title, .item-single .item-title {
    font-size: 32px !important;
  }
  .footer-widgets .col-sm-3 {
    margin-bottom: 20px;
  }

  .footer-enquiry:not(.is-open) {
    top: auto;
    bottom: 0;
  }
}