.kids-hub {
  min-width: 960px !important;
  text-align: left;
}

.kids-hub h1 {
  padding: 2rem 0 !important;
  margin-top: 0;
  margin-bottom: 0 !important;
}

.kids-hub h2 {
  margin-bottom: 10px !important;
}

.kids-hub h3 {
  font-family: "Segoe UI", Avenir, HelveticaNeue, sans-serif;
  font-weight: 600;
}

.kids-hub ul {
  list-style: disc;
  padding: 5px 5px 5px 20px;
}

.kids-hub .half h3 {
  font-size: 1.5em;
  line-height: 1.5em;
  margin-bottom: 10px;
}

.kids-hub .half p {
  font-size: 1.3em;
  line-height: 1.3em;
}

.kids-hub .half ul {
  font-size: 1.3em;
  line-height: 1.4em;
}

.kids-hub .content-main {
  margin-left: 250px;
  margin-right: 0;
  margin-bottom: 20px;
}

.kids-hub .copy {
  text-align: center;
  padding: 15px;
  max-width: 960px;
  margin: auto;
}

.kids-hub .copy p {
  padding-bottom: 15px;
}

.kids-hub .explorers-title span {
  opacity: 0.5;
  color: #fff;
  display: inline;
  padding: 0.6rem;
  letter-spacing: 2px;
}

.kids-hub .explorers-title .globetrotters {
  opacity: 1;
}

/* Explorers Navigation */

.kids-hub .explorers-mobile-logo {
  width: 200px;
  margin-left: 15px;
}

.kids-hub .sidebar {
  position: absolute;
  z-index: 1;
  overflow: auto;
}

.kids-hub .menu-top {
  width: 250px;
  z-index: 1;
  top: 0;
  background-color: #fff;
  padding: 16px;
}

.kids-hub .explorers-logo {
  padding: 0 10px 10px;
  width: 100%;
}

.kids-hub .menu-button::before {
  transition: all 0.85s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  content: "";
  width: 20%;
  height: 10%;
  background: #000;
  position: absolute;
  top: 90%;
  left: 12px;
  border-radius: 50px;
}

.kids-hub .btn1::before {
  background: #fbd533;
}

.kids-hub .btn2::before {
  background: #f30f00;
}

.kids-hub .btn3::before {
  background: #277ac3;
}

.kids-hub .btn4::before {
  background: #4c9742;
}

.kids-hub .btn5::before {
  background: #a6a9ab;
}

.kids-hub .menu-button:hover::before {
  width: 85%;
}

.kids-hub .selected::before {
  width: 85%;
}

.kids-hub .menu-button {
  border: none;
  display: inline-block;
  padding: 8px 16px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background-color: inherit;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.kids-hub .menu-button {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.kids-hub .menu-button:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.kids-hub .menu-bar-block .menu-bar-item {
  width: 100%;
  display: block;
  padding: 8px 16px;
  text-align: left;
  border: none;
  white-space: normal;
  float: none;
  outline: 0;
  text-transform: uppercase;
  font-weight: 500;
}

/* End Explorers Navigation */

/* Age Group and Programme Cards */

.kids-hub .back {
  position: relative;
}

.kids-hub .back h2 {
  margin-top: 6px;
  margin-bottom: 18px;
}

.kids-hub .back li {
  line-height: 22px;
  margin: 2px 0 6px;
}

.kids-hub .back .btn {
  position: absolute;
  bottom: 16px;
  width: calc(100% - 32px);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333;
  border-radius: 5px;
  cursor: pointer;
  color: #fff;
}

.kids-hub .back .btn:hover h4 {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.kids-hub .back .btn h4 {
  -webkit-transform: translateX(12px);
  transform: translateX(12px);
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}

.kids-hub svg {
  margin: 0;
  min-width: 24px;
  min-height: 24px;
}

.kids-hub .back .btn svg {
  margin: 1px 0 0 4px;
  -webkit-transform: translateX(-8px);
  transform: translateX(-8px);
  opacity: 0;
  transition: all 0.3s ease-out;
}

.kids-hub .back .btn:hover svg {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  opacity: 1;
}

.kids-hub .explorers-map {
  position: relative;
  margin: auto;
  background-color: #ccc;
  cursor: crosshair;
}

.kids-hub .explorers-map img {
  display: block;
  width: 100%;
}

.kids-hub .age img {
  float: left;
  padding: 0;
  max-width: 40px;
  margin-right: 7px;
  border: 1px solid #fff;
  border-radius: 100px;
}

.kids-hub .crew .age img {
  padding: 5px;
}

.kids-hub .age-icon img {
  max-width: 35px;
}

.kids-hub .info.age-icon img {
  float: left;
  margin-right: 10px;
  max-width: 50px;
  border: 1px solid #fff;
  border-radius: 100px;
}

.kids-hub .crew .info.age-icon img {
  padding: 5px;
}

.kids-hub .destinations-card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.kids-hub .destinations-card h2 {
  color: #000;
  font-size: 16px;
}

.kids-hub .cards .front {
  z-index: 2;
  color: #fff;
}

.kids-hub .front h2 {
  text-align: left;
}

.kids-hub .explorers ul,
.kids-hub .explorers li,
.kids-hub .programmes ul,
.kids-hub .programmes li {
  text-decoration: none;
  list-style: disc outside;
}

.kids-hub .ageContainer {
  position: relative;
  display: inline-block;
  width: 210px;
  height: 270px;
  min-width: 210px;
  min-height: 270px;
  margin: 0;
  -webkit-perspective: 2000px;
  perspective: 2000px;
}

.kids-hub .age {
  padding: 8px;
  text-align: left;
  color: #fff;
}

.kids-hub .age a {
  display: block;
}

.kids-hub .cardContainer {
  position: relative;
  display: inline-block;
  width: 300px;
  height: 400px;
  min-width: 300px;
  min-height: 400px;
  margin: 4px;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

.kids-hub .cardContainer .front,
.kids-hub .cardContainer .back {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.kids-hub .cardContainer .active .front {
  transform: rotateY(180deg);
}

.kids-hub .cardContainer .back {
  transform: rotateY(-180deg);
  height: 400px;
}

.kids-hub .cardContainer .active .back {
  transform: rotateY(0deg);
}

.kids-hub .cardContainer .active::after {
  display: none;
}

.kids-hub .cards {
  display: inline-block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  -moz-backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: translateZ(-100px);
  transform: translateZ(-100px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.kids-hub .cards::after {
  content: "";
  position: relative;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  box-shadow: 0 14px 50px -4px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1.4);
}

.kids-hub .cards:hover {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.kids-hub .cards:hover::after {
  opacity: 1;
}

.kids-hub .cards .side {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

.kids-hub .cards .back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  background-color: #fff;
}

.kids-hub .cards .info {
  padding: 16px;
  text-align: left;
  height: 100%;
}

.kids-hub .front .img {
  background-position: center;
  background-size: cover;
  border-radius: 5px 5px 0 0;
  width: 100%;
  height: 300px;
}

.kids-hub .programmes .front .img, .kids-hub .destinations .front .img {
  height: 270px;
}

.kids-hub .programmes .front h2 {
  margin-bottom: 1.5rem !important;
}

/* carousel */

.kids-hub .carousel-wrap {
  width: 100%;
  position: relative;
}

.kids-hub .owl-carousel .item {
  position: relative;
  z-index: 100;
  -webkit-backface-visibility: hidden;
}

.kids-hub .video {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative !important;
}

.kids-hub .video iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
}

.kids-hub h3.destinations {
  text-align: left;
  padding-left: 10px;
}

/* activities */

.kids-hub .explorers-container {
  display: flex;
  flex-wrap: nowrap;
  margin: 5px;
}

.kids-hub .explorers-container .box {
  color: #fff;
  width: 50%;
}

.kids-hub .explorers-container .box-copy {
  padding: 40px;
}

.kids-hub .resort-container {
  position: relative;
}

.kids-hub .resort-bottom-right {
  position: absolute;
  bottom: 10px;
  right: 10px;
  max-width: 60px;
  opacity: 0.5;
  border: 3px solid #fff;
  border-radius: 100px;
}

/* colours */

.kids-hub .globetrotters,
.kids-hub .globetrotters .btn {
  background-color: #fbbc05;
}

.kids-hub .globetrotters h2,
.kids-hub .globetrotters h3,
.kids-hub .globetrotters li,
.kids-hub .globetrotters p {
  text-shadow: 0px 0px 5px #FF9800;
}

.kids-hub .back.globetrotters h2,
.kids-hub .back.globetrotters h3,
.kids-hub .back.globetrotters li,
.kids-hub .back.globetrotters p {
  text-shadow: none;
}

.kids-hub .adventurers,
.kids-hub .adventurers .btn {
  background-color: #f30f00;
}

.kids-hub .voyagers,
.kids-hub .voyagers .btn {
  background-color: #277ac3;
}

.kids-hub .pioneers,
.kids-hub .pioneers .btn {
  background-color: #009640;
}

.kids-hub .crew,
.kids-hub .crew .btn {
  background-color: #a6a9ab;
}

.kids-hub .aqua-explorers {
  background-color: #5ebfbc;
}

.kids-hub .stargazers {
  background-color: #29235c;
}

.kids-hub .learn-swim {
  background-color: #ff7d00;
}

.kids-hub .ski-explorers {
  background-color: #a5c3cf;
}

.kids-hub .private-nanny {
  background-color: #61c38a;
}

.kids-hub .about {
  background-color: #000;
}

/* Map */

.kids-hub a.btn {
  text-decoration: underline;
}

.kids-hub .map-popup {
  position: absolute !important;
  z-index: 99;
  border-radius: 50%;
  background-color: #e2effb;
  transition: all 300ms ease-in;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  border: 2px solid #666;

  /* background-image: url(../images/compass.png); */

  width: 350px;
  height: 350px;
  left: 70%;
  top: 70%;
}

.kids-hub .map-popup h3 {
  padding-bottom: 5px;
  font-size: 20px;
  border-bottom: 3px solid #267ac3;
  margin: 0 20px 10px;
  display: inline-block;
  width: min-content;
}

/* Mobile style */

.kids-hub .map-popup .item {
  padding: 4rem;
  margin-top: -1.5rem;
}

.kids-hub .map-popup p {
  margin: 0 0 10px;
}

.kids-hub .map-popup .btn {
  text-decoration: none;
  background-color: #d9263d;
  margin: 10px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 20px;
  color: #fff;
  font-weight: 600;
  display: inline-block;
}

.kids-hub .owl-carousel-map .owl-nav.disabled + .owl-dots {
  margin-top: -4.5rem;
}

.kids-hub .owl-theme .owl-dots .owl-dot span {
  background: #666;
}

.kids-hub .owl-theme .owl-dots .owl-dot.active span,
.kids-hub .owl-theme .owl-dots .owl-dot:hover span {
  background: #d9263d;
}

.owl-theme .owl-nav [class*=owl-] {
  background-color: #d9263d;
}

.kids-hub .map-popup > *:first-child {
  margin-top: 0;
}

.kids-hub .map-popup > *:last-child {
  margin-bottom: 0;
}

.kids-hub .map-popup.open {
  opacity: 1;
  visibility: visible;
  display: inline-block;
  vertical-align: middle;
}

.kids-hub .marker {
  position: absolute !important;
  z-index: 1;
  display: inline-block;
  width: 45px;
  height: 45px;
  line-height: 36px;
  text-align: center;
  text-decoration: none;
  opacity: 0.9;
  transition: all 300ms;
  bottom: 0;
  right: 0;
}

.kids-hub .map-item {
  position: absolute;
  width: 45px;
  height: 45px;
}

.kids-hub .map-mobile {
  display: none;
}

.kids-hub .map-item1 {
  top: calc(35% - 45px);
  left: calc(31% - 20px);
}

.kids-hub .map-item2 {
  top: calc(57% - 45px);
  left: calc(53% - 20px);
}

.kids-hub .map-item3 {
  top: calc(42% - 45px);
  left: calc(36% - 20px);
}

.kids-hub .map-item4 {
  top: calc(23% - 45px);
  left: calc(30% - 20px);
}

.kids-hub .map-item4 .map-popup {
  top: 150px;
}

.kids-hub .map-item5 {
  top: calc(69% - 45px);
  left: calc(39% - 20px);
}

.kids-hub .map-item6 {
  top: calc(18% - 45px);
  left: calc(23% - 20px);
}

.kids-hub .map-item6 .map-popup {
  top: 150px;
}

.kids-hub .map-item7 {
  top: calc(24% - 45px);
  left: calc(17.5% - 20px);
}

.kids-hub .map-item7 .map-popup {
  top: 150px;
}

@media (min-width: 1200px) {
  .kids-hub .carousel-wrap.large {
    width: 80%;
    margin: 0 auto;
  }

  .kids-hub .half {
    width: 49%;
    display: inline-block;
  }

  .kids-hub .half h3 {
    font-size: 1em;
    line-height: 1em;
    margin-bottom: 5px;
  }

  .kids-hub .half p {
    font-size: 1em;
    line-height: 1em;
  }

  .kids-hub .half ul {
    font-size: 1em;
    line-height: 1.4em;
  }
  .kids-hub .half .explorers-container .box-copy {
    padding: 15px;
  }
}
