/* CSS GRID SYSTEM */
.col-center {
  float: none !important;
  margin: 0 auto !important;
}

.last-col {
  float: right;
  padding-right: 0 !important;
}

/*
Mobile Grid Styles
*/
@media (max-width: 767px) {

  .row {
    margin: 0 -8px !important;
  }

  .row-edge {
    margin: 0 !important;
  }

  .m-all {
    float: left;
    padding-right: 8px;
    padding-left: 8px;
    width: 100%;
  }

  .m-1of2 {
    float: left;
    padding-right: 8px;
    padding-left: 8px;
    width: 50%;
  }

  .m-1of3 {
    float: left;
    padding-right: 8px;
    padding-left: 8px;
    width: 33.33%;
  }

  .m-2of3 {
    float: left;
    padding-right: 8px;
    padding-left: 8px;
    width: 66.66%;
  }

  .m-1of4 {
    float: left;
    padding-right: 8px;
    padding-left: 8px;
    width: 25%;
  }

  .m-3of4 {
    float: left;
    padding-right: 8px;
    padding-left: 8px;
    width: 75%;
  }

  .m-no-pad {
    padding: 0;
  }

}
/* Portrait tablet to landscape */
@media (min-width: 768px) and (max-width: 1029px) {

  .row {
    margin: 0 -12px !important;
  }


  .t-all {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 100%;
  }

  .t-1of2 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 50%;
  }

  .t-1of3 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 33.33%;
  }

  .t-2of3 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 66.66%;
  }

  .t-1of4 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 25%;
  }

  .t-3of4 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 75%;
  }

  .t-1of5 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 20%;
  }

  .t-2of5 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 40%;
  }

  .t-3of5 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 60%;
  }

  .t-4of5 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 80%;
  }

}

/* Landscape to small desktop */
@media (min-width: 1030px) {

  .row {
    margin: 0 -12px !important;
  }

  .d-all  {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 100%;
  }

  .d-1of2 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 50%;
  }

  .d-1of3 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 33.33%;
  }

  .d-2of3 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 66.66%;
  }

  .d-1of4 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 25%;
  }

  .d-3of4 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 75%;
  }

  .d-1of5 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 20%;
  }

  .d-2of5 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 40%;
  }

  .d-3of5 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 60% !important;
  }

  .d-4of5 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 80%;
  }

  .d-1of10 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 10%;
  }
}

/* Large desktop */
@media (min-width: 1240px) {

  .row {
    margin: 0 -12px !important;
  }

  .xl-all  {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 100%;
  }

  .xl-1of2 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 50%;
  }

  .xl-1of3 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 33.33%;
  }

  .xl-2of3 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 66.66%;
  }

  .xl-1of4 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 25%;
  }

  .xl-3of4 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 75%;
  }

  .xl-1of5 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 20%;
  }

  .xl-2of5 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 40%;
  }

  .xl-3of5 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 60% !important;
  }

  .xl-4of5 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 80%;
  }

  .xl-1of10 {
    float: left;
    padding-right: 12px;
    padding-left: 12px;
    width: 10%;
  }
}

/* BUTTONS STYLES */
.btn-white {
  border-radius: 500px;
  background-color: #fff;
  border: 1px solid #9B9B9B;
  font-size: 18px;
  line-height: 32px;
  color: #000000;
  padding: 15px 40px;
  font-weight: 500;
  text-decoration: none;
  transition: all ease-in-out .5s;
  -webkit-transition: all ease-in-out .5s;
  -moz-transition: all ease-in-out .5s;
  -ms-transition: all ease-in-out .5s;
  -o-transition: all ease-in-out .5s;
}

.btn-white:after {
  content: "";
  background-image: url(../img/chev-down.png);
  background-repeat: no-repeat;
  background-size: 18px auto;
  display: inline-block;
  padding: 5px 20px;
  background-position: center;
  transition: all ease-in-out .5s;
  -webkit-transition: all ease-in-out .5s;
  -moz-transition: all ease-in-out .5s;
  -ms-transition: all ease-in-out .5s;
  -o-transition: all ease-in-out .5s;
}

.btn-white:hover {
  background-color: #9B9B9B;
  color: #fff;
  opacity: 1;
  text-decoration: none;
  transition: all ease-in-out .5s;
  -webkit-transition: all ease-in-out .5s;
  -moz-transition: all ease-in-out .5s;
  -ms-transition: all ease-in-out .5s;
  -o-transition: all ease-in-out .5s;
}

.btn-white:hover:after {
  background-image: url(../img/chev-down-white.png);
  transition: all ease-in-out .5s;
  -webkit-transition: all ease-in-out .5s;
  -moz-transition: all ease-in-out .5s;
  -ms-transition: all ease-in-out .5s;
  -o-transition: all ease-in-out .5s;
}

.btn-blue {
  background-color: #0CA5D8;
  color: #fff;
  font-size: 15px;
  line-height: 18px;
  padding: 15px 30px;
  border-radius: 500px;
  font-weight: 500;
  transition: all ease-in-out .5s;
  -webkit-transition: all ease-in-out .5s;
  -moz-transition: all ease-in-out .5s;
  -ms-transition: all ease-in-out .5s;
  -o-transition: all ease-in-out .5s;
}

.btn-blue:hover {
  background-color: #2f3192;
  color: #fff;
  text-decoration: none;
  transition: all ease-in-out .5s;
  -webkit-transition: all ease-in-out .5s;
  -moz-transition: all ease-in-out .5s;
  -ms-transition: all ease-in-out .5s;
  -o-transition: all ease-in-out .5s;
}

.btn-blue:after {
  content: "";
  background-image: url(../img/chev-right-white.png);
  background-repeat: no-repeat;
  background-size: 7px auto;
  display: inline-block;
  padding: 5px 10px;
  background-position: center;
  transition: all ease-in-out .5s;
  -webkit-transition: all ease-in-out .5s;
  -moz-transition: all ease-in-out .5s;
  -ms-transition: all ease-in-out .5s;
  -o-transition: all ease-in-out .5s;
}

.btn-blue:hover:after {
  transition: all ease-in-out .5s;
  -webkit-transition: all ease-in-out .5s;
  -moz-transition: all ease-in-out .5s;
  -ms-transition: all ease-in-out .5s;
  -o-transition: all ease-in-out .5s;
}

/* WOOCOMMERCE BUTTONS */
.add_to_cart_button,
.single_add_to_cart_button,
.woocommerce .button,
.wpcf7-submit,
.reset_variations {
  background-color: #0CA5D8 !important;
  color: #fff !important;
  font-size: 15px !important;
  line-height: 18px !important;
  padding: 15px 30px !important;
  border-radius: 500px !important;
  transition: all ease-in-out .5s !important;
  -webkit-transition: all ease-in-out .5s !important;
  -moz-transition: all ease-in-out .5s !important;
  -ms-transition: all ease-in-out .5s !important;
  -o-transition: all ease-in-out .5s !important;
}

.add_to_cart_button:hover,
.single_add_to_cart_button:hover,
.woocommerce .button:hover,
.wpcf7-submit:hover,
.reset_variations:hover {
  background-color: #2f3192 !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: all ease-in-out .5s;
  -webkit-transition: all ease-in-out .5s;
  -moz-transition: all ease-in-out .5s;
  -ms-transition: all ease-in-out .5s;
  -o-transition: all ease-in-out .5s;
}

.add_to_cart_button:after,
.single_add_to_cart_button:after,
.woocommerce .button:after,
.wpcf7-submit:after,
.reset_variations:after {
  content: "";
  background-image: url(../img/chev-right-white.png);
  background-repeat: no-repeat;
  background-size: 7px auto;
  display: inline-block;
  padding: 5px 10px;
  background-position: center;
  transition: all ease-in-out .5s;
  -webkit-transition: all ease-in-out .5s;
  -moz-transition: all ease-in-out .5s;
  -ms-transition: all ease-in-out .5s;
  -o-transition: all ease-in-out .5s;
}

.add_to_cart_button:hover:after,
.single_add_to_cart_button:hover:after,
.woocommerce .button:hover:after,
.wpcf7-submit:hover:after,
.reset_variations:hover:after {
  transition: all ease-in-out .5s;
  -webkit-transition: all ease-in-out .5s;
  -moz-transition: all ease-in-out .5s;
  -ms-transition: all ease-in-out .5s;
  -o-transition: all ease-in-out .5s;
}

.acf-map {
  width: 100%;
  height: 360px;
  margin: 20px 0;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}

/* WDL STYLES BEGIN */
@media only screen and (min-width: 991px) {
  .desktop {
    display: block;
  }

  .mobile {
    display: none;
  }

  .desktop.shop-basket {
    display: inline-block;
  }

  .desktop.desktop-listings {
    margin: 0 40px;
  }

  #leisure_center .text-content ul li,
  .pageMain ul li {
    font-size: 18px !important;
    line-height: 38px  !important;
  }

}

.lessons_wrapper {
  max-width: 1308px;
  margin: auto;
  padding: 0 20px;
}

.lessons_sections {
  margin-bottom: 50px;
}

.header {
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.2);
  -moz-box-shadow: 0 0 10px rgba(0,0,0,0.2);
  -ms-box-shadow: 0 0 10px rgba(0,0,0,0.2);
  border-bottom: 1px solid #D8D8D8;
}

/* HEADER CONTENT */
.header-content {
    padding: 210px 0;
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin: 20px;
}

.header-content h3 {
    font-size: 24px;
    line-height: 29px;
    color: #fff;
    opacity: 0.8;
    margin: 0;
    text-transform: initial;
    font-weight: normal;
    text-shadow: 0px 0px 10px #000000;
}

.header-content h2 {
    font-size: 64px;
    line-height: 75px;
    color: #fff;
    margin: 0;
    text-transform: initial;
    font-weight: bold;
    text-shadow: 0px 0px 10px #000000;
}

.homeBanner .cycle-slideshow {
  margin-bottom: 20px;
}

/* LINK SECTIONS */
.link-section {
  max-width: 1025px;
  margin: -48px auto 50px auto;
  text-align: center;
}

.link-section .row {
  text-align: center;
  max-width: 946px;
  margin: auto !important;
}

.link-section .d-1of3 {
    padding-right: 10px;
    padding-left: 10px;
    width: auto;
}

.link-section a.btn-white {
  padding: 8px 40px;
  display: inline-block;
}

.link-section a.btn-white:after {
  background-position: right 0px center;
}

.lessons_lists {
  text-align: center;
  border-bottom: 1px solid #D8D8D8;
}

.lessons_lists h2 {
  margin-top: 50px;
  font-size: 30px;
  line-height: 35px;
}

.lessons_lists p {
  max-width: 1030px;
  margin-bottom: 50px;
}

.content-container a.btn-blue {
  margin-top: auto;
}

.lessons_lists .single-lesson {
  cursor: pointer;
  text-align: left;
  background-color: #F4F4F4;
  margin-bottom: 50px;
  box-shadow: 0px 0px 0px rgba(0,0,0,0.0);
  -webkit-box-shadow: 0px 0px 0px rgba(0,0,0,0.0);
  -moz-box-shadow: 0px 0px 0px rgba(0,0,0,0.0);
  -ms-box-shadow: 0px 0px 0px rgba(0,0,0,0.0);
  -o-box-shadow: 0px 0px 0px rgba(0,0,0,0.0);
  transition: all ease-in-out .5s;
  -webkit-transition: all ease-in-out .5s;
  -moz-transition: all ease-in-out .5s;
  -ms-transition: all ease-in-out .5s;
  -o-transition: all ease-in-out .5s;
}

.lessons_lists .single-lesson:hover {
  box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
  -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
  -moz-box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
  -ms-box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
  -o-box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
  transition: all ease-in-out .5s;
  -webkit-transition: all ease-in-out .5s;
  -moz-transition: all ease-in-out .5s;
  -ms-transition: all ease-in-out .5s;
  -o-transition: all ease-in-out .5s;
}

.lessons_lists .single-lesson .image-container {
  padding-top: 60%;
  position: relative;
  overflow: hidden;
}

.lessons_lists .single-lesson img:not(.attachment-medium-thumbnail) {
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.lessons_lists .single-lesson img.attachment-medium-thumbnail {
  max-width: 72px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
  border-radius: 100%;
  margin-top: -45px;
  position: relative;
  margin-bottom: 20px;
}

.lessons_lists .single-lesson .content-container {
  padding: 6px 30px 40px 30px;
}

.lessons_lists .single-lesson .content-container h2 {
  margin: 0;
  margin-bottom: 0px;
}

.lessons_lists .single-lesson .content-container p.short-desc {
  margin-bottom: 20px;
}

.lessons_lists .single-lesson .content-container p.ages {
  margin-bottom: 5px;
}

.lessons_lists .single-lesson .content-container p.price {
  color: #2D3594;
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
}

.lessons_lists .single-lesson .content-container p.price span {
  font-weight: 400;
}

#leisure_center .text-content ul,
.pageMain ul {
  padding: 0;
}

#leisure_center .text-content ul li,
.pageMain ul li {
  list-style: none;
  margin-bottom: 20px;
}

#leisure_center .text-content ul li:last-child,
.pageMain ul li:last-child {
  margin-bottom: 0px;
}

#leisure_center .text-content ul li:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background-color: #2DB9E7;
  margin-right: 20px;
  position: relative;
  top: -1px;
}

.woocommerce-error:before {
  left: 10px;
  top: 7px;
}

.woocommerce-error li {
  padding-left: 35px !important;
}

.woocommerce-error li:before {
  display: none !important;
}

/* CONTACT CONTENT */
.contact-content .contact {
  background-color: #2D3594;
  padding: 30px 30px 40px 30px;
}

.contact-content .contact p {
  color: #fff;
  font-size: 24px;
  line-height: 29px;
  font-weight: bold;
}

.contact-content .contact p span {
  font-size: 20px;
  line-height: 24px;
  font-weight: normal;
  margin-top: 4px;
}

/* NEWS PAGE */
.post.type-post img.size-page-banner {
    max-width: 500px;
    margin-bottom: 30px;
    width: 100%;
}

.post.type-post {
  margin-bottom: 50px;
}

/* CONTACT PAGE */
.contact-container {
  max-width: 1000px;
}

.faq-wrapper-content {
  margin-bottom: 50px;
}

.faq-wrapper {
    margin-bottom: 50px;
}
.single-post .postMain {
  margin-top: 30px;
}

/* WOOCOMMERCE */
.woocommerce-Price-amount,
.amount {
  color: #4A4A4A !important;
}

.woocommerce-breadcrumb,
.woocommerce-ordering {
  display: none;
}

.quantity {
    display: block;
    float: none !important;
    margin-bottom: 20px !important;
}

.product.type-product {
  margin-top: 20px;
  display: inline-block;
  width: 100%;
}

.woocommerce a.remove {
  color: #0CA5D8 !important;
}

.woocommerce a.remove:hover {
    color: #2f3192 !important;
    background: transparent !important;
}

#add_payment_method table.cart td.actions .coupon .input-text, 
.woocommerce-cart table.cart td.actions .coupon .input-text, 
.woocommerce-checkout table.cart td.actions .coupon .input-text {
    position: relative;
    top: 5px;
    margin-right: 20px;
}

.woocommerce form .form-row .input-checkbox {
    position: relative !important;
    margin-right: 20px !important;
}

.woocommerce-invalid #terms {
  outline: #0CA5D8 !important;
}

.woocommerce form .form-row.woocommerce-invalid label {
  color: #0CA5D8 !important;
}

.stock {
  color: #2f3192 !important;
}

.woocommerce div.product form.cart .reset_variations {
    display: block !important;
    max-width: 236px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 0px !important;
    line-height: 0px !important;
}

.woocommerce div.product form.cart .reset_variations:before {
    content: "Reset Product Options";
    font-size: 15px !important;
    line-height: 18px !important;
}

.woocommerce #respond input#submit.added::after, 
.woocommerce a.button.added::after, 
.woocommerce button.button.added::after, 
.woocommerce input.button.added::after {
    font-family: unset;
    content: '' !important;
    margin-left: unset;
    vertical-align: unset;
}

/* SLICK STYLES */
.slick-prev, .slick-next {
  width: 30px !important;
  height: 30px !important;
  background-color: #2DB9E7 !important;
  border-radius: 100% !important;
  z-index: 9 !important;
}

.slick-prev:hover, .slick-next:hover {
  background-color: #2f3192 !important;
}

.slick-next {
  right: 10px !important;
}

.slick-prev {
  left: 10px !important;
}

.woocommerce span.onsale {
  min-height: 50px !important;
  min-width: 50px !important;
  line-height: 42px !important;
  background-color: #2DB9E7 !important;
}

.woocommerce ul.products li.product, 
.woocommerce-page ul.products li.product {
    display: flex;
    flex-flow: wrap;
}

.woocommerce ul.products li.product a.button, 
.woocommerce-page ul.products li.product a.button {
    margin-top: auto;
}

.woocommerce ul.products li.product .price {
  margin-bottom: 20px;
}

@media only screen and (min-width: 768px) {
  .lessons_lists .single-lesson .content-container {
      display: flex;
      align-items: start;
      justify-content: start;
      flex-direction: column;
  }
}

@media only screen and (min-width: 990px) {

  .pageHeaderText .col-md-6 {
          margin-left: 8.33333333%;
  }

}

@media only screen and (max-width: 991px) {

  .pageHeaderText .col-md-6 {
    margin-bottom: 20px;
  }

}

@media only screen and (min-width: 992px) and (max-width: 1250px) {
  header.header .col-md-3 {
    width: 20%;
  }
  header.header .col-md-9 {
    width: 80%;
  }

  .nav li:hover {
    background-position: bottom 20px center;
  }

  header .container .col-md-9.md-right.col-xl-8 {
    margin-top: 20px;
  }

  a.cart-contents {
    padding: 0px 8px 8px 30px;
    background-position: 0px 22px;
  }
  .link-section {
    margin: -45px auto 50px auto;
  }
  .navigation_links .btn-white {
    width: 100%;
    max-width: 100%;
    display: inline-block;
    padding: 8px 40px;
  }

  .footerLower {
    padding: 50px 110px;
  }


}

@media only screen and (max-width: 1026px) {
  .link-section a.btn-white {
    font-size: 17px;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1250px) {

  .nav .menu > li >a {
      padding: 2px 12px;
  }

}

@media only screen and (min-width: 1200px) {
  /* HOMEPAGE */
  .homeBanner .cycle-slideshow .bannerSlide {
  }
}

@media only screen and (min-width: 1250px) {

  .fixedHeader .header .container .col-md-9.md-right.col-xl-8 {
     margin-top: 7px;
  }

  .nav .menu > li >a {
    padding: 8px 10px;
  }

}

@media only screen and (min-width: 1300px) {
  .nav .menu > li >a {
      padding: 8px 13px;
  }
}

@media only screen and (min-width: 991px) and (max-width: 1025px) {
  .link-section a.btn-white {
    font-size: 16px;
  }
}




