  ﻿:root {
  --primary: #24375c;
  --secondary: #a2c617;
  --tertiary: #2e4c9c;
  --grey: #a8b2bd;
}

/* Leisure background colour */

.bg-leisure { background-color: var(--primary) !important; }

/* Home Page Hero - adapted from main CSS -----------------------*/

.leisure-hero {
  width: 100%;
  height: 100%;
  padding: 40px 0;
}

@media screen and (min-width: 900px) {
  .leisure-hero { padding: 50px 0; }
}

@media screen and (min-width: 1400px) {
 .leisure-hero { padding: 50px 0; }
}

.leisure-hero-content {
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

.leisure-hero-content h1 { font-size: 1.8rem; }

.leisure-hero-content h1 span {
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 0 7px;
}

@media screen and (min-width: 576px) {
  .leisure-hero-content h1 span { font-size: 2rem; }
  .leisure-hero-content h1 { font-size: 2.4rem; }
}

@media screen and (min-width: 768px) {
  .leisure-hero-content h1 span { font-size: 2rem; }
  .leisure-hero-content h1 { font-size: 3.4rem; }
}

.leisure-hero-actions {
  background: rgba(38, 50, 56, 0.5);
  border-radius: 4px;
  padding: 20px 10px;
}

@media screen and (min-width: 768px) {
  .leisure-hero-actions { padding: 40px 100px; }
}

.leisure-hero-content .leisure-top-services .leisure-top-list {
  list-style: none;
  padding: 0;
}

.leisure-hero-content .leisure-top-services .leisure-top-list .leisure-top-list-item {
  padding-bottom: 6px;
  float: left;
  width: 100%;
  position: relative;
}

@media screen and (min-width: 576px) {
  .leisure-hero-content .leisure-top-services .leisure-top-list .leisure-top-list-item {
    width: 50%;
    padding-bottom: 10px;
  }
  .leisure-hero-content .leisure-top-services .leisure-top-list .leisure-top-list-item:nth-child(even) {
    padding-left: 10px;
  }
}

.leisure-hero-content .leisure-top-services .leisure-top-list .leisure-top-list-item a {
  width: 100%;
  -webkit-box-shadow: 3px 8px 9px 1px #0000009c;
          box-shadow: 3px 8px 9px 1px #0000009c;
  padding: 12px;
}

.leisure-hero-content .leisure-top-services .leisure-top-list .leisure-top-list-item .btn-light {
  color: #000000;
  text-align: left;
  font-weight: bold;
}

.leisure-hero-content .leisure-top-services .leisure-top-list .leisure-top-list-item .btn-light::after {
  font-family: 'Font Awesome 5 Pro';
  content: "\f105";
  position: absolute;
  right: 10px;
}

@media screen and (min-width: 576px) {
  .leisure-hero-content .leisure-top-services .leisure-top-list .leisure-top-list-item {
    width: 50%;
    padding-bottom: 10px;
  }
  .leisure-hero-content .leisure-top-services .leisure-top-list .leisure-top-list-item:nth-child(even) { padding-left: 10px; }
}

/* Leisure button */

.btn-leisure {
  color: #000000;
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-leisure:hover {
  color: #000000;
  background-color: #c1dd52;
  border-color: #9eb34e;
}

.btn-leisure:focus, .btn-leisure.focus {
  color: #000000;
  background-color: #c1dd52;
  border-color: #9eb34e;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(38, 128, 109, 0.5);
          box-shadow: 0 0 0 0.2rem rgba(38, 128, 109, 0.5);
}

.btn-leisure.disabled, .btn-leisure:disabled {
  color: #000000;
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-leisure:not(:disabled):not(.disabled):active, .btn-leisure:not(:disabled):not(.disabled).active,
.show > .btn-leisure.dropdown-toggle {
  color: #000000;
  background-color: #c1dd52;
  border-color: #9eb34e;
}

.btn-leisure:not(:disabled):not(.disabled):active:focus, .btn-leisure:not(:disabled):not(.disabled).active:focus,
.show > .btn-leisure.dropdown-toggle:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(38, 128, 109, 0.5);
}

/* Leisure button - outline */

.btn-outline-leisure-primary {
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline-leisure-primary:hover {
  color: #000000;
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline-leisure-primary:focus, .btn-outline-leisure-primary.focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(96, 245, 158, 0.5);
          box-shadow: 0 0 0 0.2rem rgba(96, 245, 158, 0.5);;
}

.btn-outline-leisure-primary.disabled, .btn-outline-leisure-primary:disabled {
  color: var(--secondary);
  background-color: transparent;
}

.btn-outline-leisure-primary:not(:disabled):not(.disabled):active, .btn-outline-leisure-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-leisure-primary.dropdown-toggle {
  color: #000000;
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline-leisure-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-leisure-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-leisure-primary.dropdown-toggle:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(96, 245, 158, 0.5);;
          box-shadow: 0 0 0 0.2rem rgba(96, 245, 158, 0.5);;
}

/* Leisure centre/venue pages */

section.leisure-top {
  background-color: var(--primary);
  position: relative;
}

section.leisure-top h2 {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
}

section.leisure-top p {
  font-size: 1.25rem;
  font-weight: 300;
}

#leisure-top-background { /* positions the wave img */
  z-index: -1;
  margin-top: -5px;
  width: 100%;
}

section.leisure-top .leisure-facilities {
  color: #fff;
}

section.leisure-top .leisure-facilities .leisure-facilities-list {
  list-style: none;
  padding: 0;
  font-size: 1.25rem;
  font-weight: 300;
}

section.leisure-top .leisure-facilities .leisure-facilities-list li { padding-bottom: 12px; }

@media screen and (min-width: 576px) {
  section.leisure-top .leisure-facilities .leisure-facilities-list { columns: 2; }
}

section .leisure-things-cards { margin-top: -50px; }

@media screen and (min-width: 576px) {
  section .leisure-things-cards { margin-top: -70px; }
}
@media screen and (min-width: 768px) {
  section .leisure-things-cards { margin-top: -90px; }
}

@media screen and (min-width: 992px) {
  section .leisure-things-cards { margin-top: -100px; }
}

@media screen and (min-width: 1200px) {
  section .leisure-things-cards { margin-top: -125px; }
}

section .card .card-header {
  color: #000000;
  background-color: #f7f7f7;
  border-color: var(--primary);

}

section .card .card-footer { background-color: var(--primary); }

section .card {
  color: #fff;
  background-color: var(--primary); 
  }

section .leisure-container-overlap { margin-top: -50px !important; }

@media screen and (min-width: 576px) {
  section .leisure-container-overlap { margin-top: -70px !important; }
}
@media screen and (min-width: 768px) {
  section .leisure-container-overlap { margin-top: -80px !important; }
}

@media screen and (min-width: 992px) {
  section .leisure-container-overlap { margin-top: -90px !important; }
}

@media screen and (min-width: 1200px) {
  section .leisure-container-overlap { margin-top: -140px !important; }
}

section.leisure-info {
  position: relative;
  background-color: var(--primary);
  }

section.leisure-info .leisure-location-gmap {
  border: 0;
  position: relative;
  top: 0;
  left: 0;
  height: 400px;
  width: 100%;
  z-index: 1;
  padding: 0.25rem !important;
}

@media screen and (min-width: 768px){
  section.leisure-info .leisure-location-gmap {
  position: absolute;
  height: 100%;
  width: 100%;
  }
}

section.leisure-info .leisure-info-container {
  position: relative;
}

@media screen and (min-width: 768px) {
section.leisure-info .leisure-info-container {
  z-index: 2;
  margin-top: 3rem;
  margin-bottom: 3rem;
  }
}

section.leisure-info .leisure-info-container .leisure-info-list {
  list-style: none;
  padding: 0;
  font-size: 1.25rem;
  font-weight: 300;
  word-wrap: break-word;
}

section.leisure-info .leisure-info-container .leisure-info-list li { padding-bottom: 12px; }

section.leisure-info .leisure-info-container .leisure-info-list li i {color: var(--primary) !important; }

/* Leisure Contact page */ 

ul.leisure-contact-list {
  list-style: none;
  padding: 0;
}

li.leisure-contact-phone::before {
  font-family: 'Font Awesome 5 Pro';
  font-weight: 900;
  content: "\f095";
  color: var(--primary);
  padding-right: 5px;
}

li.leisure-contact-email::before {
  font-family: 'Font Awesome 5 Pro';
  font-weight: 900;
  content: "\f1fa";
  color: var(--primary);
  padding-right: 5px;
}