@font-face {
  font-family: "paralucentLight";
  src: local("MyFont"),
    url(/assets/fonts/Paralucent_Book.ttf) format("truetype");
}

@font-face {
  font-family: "paralucentStencil";
  src: local("MyFont"),
    url(/assets/fonts/Paralucent_Stencil-XLight.ttf) format("truetype");
}

/* keep alignment of title text */
.grid-container {
  padding-left: 10%;
  margin-left: 0;
}

.grid-container.timetable {
  margin-left: auto;
  padding: 0;
}

.pos-box {
  position: relative;
}

.timetable-title {
  text-align: center;
  padding-bottom: 20px;
  font-size: 6em;
  font-family: "paralucentStencil";
}

.studios-title {
  text-align: left;
  font-size: 6em;
  font-family: "paralucentStencil";
}

.card-container {
  position: relative;
  padding: 0;
  max-width: 100% !important;
}
 .card-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center;
  flex-direction: column;
}
 .card-grid .card-cell {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: unset !important;
}
.card-grid .card-cell .btn-container {
  display: flex;
  justify-content: space-between;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}
.card-grid .card-cell .btn-container a {
  text-transform: uppercase;
  padding: 18px 40px;
  font-size: 18px;
  letter-spacing: 1.4px;
  font-weight:100;
 }
 .card-grid .card-cell .card-new {
  position: relative;
}
 .card-grid .card-cell .card-new:hover .cards + .card-section {
  opacity: 1;
  flex-direction: column;
  gap: 40px;
  z-index: 1000;
  transition: all 0.2s linear;
}
 .card-grid .card-cell .card-new .cards {
  position: relative;
  display: inline-block;
  margin: 41px;
  pointer-events: none;
}
 .card-grid .card-cell .card-new .light-img {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
  transition: all 0.2s linear;
}
 .card-grid .card-cell .card-new:hover .light-img {
  opacity: 1;
  background: none;
  transition: all 0.2s linear;
}
 .card-grid .card-cell .card-new .card-section {
  opacity: 0;
  width: 50%;
  position: absolute;
  top: 150px;
  left: 25%;
  transition: all 0.2s linear;
}
 .card-grid .card-cell .card-new .card-section .card-info {
  text-align: center;
  margin-bottom: 60px;
  font-family: "paralucentLight";
}
 .card-grid .card-cell .card-new .card-section .card-info:last-of-type {
  margin-bottom: 0;
}
 .card-grid .card-cell .card-new .card-section .card-info.loc {
  flex: 1;
  position: absolute;
  top: 0;
  left: 20px;
}

.card-grid .card-cell .card-new .card-section .card-info.loc.yarra {
  flex: 1;
  position: absolute;
  top: -10px;
  left: -20px;
}

.card-grid .card-cell .card-new .card-section .card-info.loc.gungahlin{
  top: -10px;
  left: 34px;
}

 .card-grid .card-cell .card-new .card-section .card-info.loc div {
  font-size: 16px;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 1.4px;
}
 .card-grid .card-cell .card-new .card-section .card-info.loc div:last-of-type {
  padding-top: 10px;
  text-transform: uppercase;
}
 .card-grid .card-cell .card-new .card-section .card-info.exercise {
  flex: 1;
  padding-top: 15px;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  position: absolute;
  top: 180px;
  left: 76px;
}

.card-grid .card-cell .card-new .card-section .card-info.exercise.yarra {
  top: 170px;
  left: 70px;
}

.card-grid .card-cell .card-new .card-section .card-info.exercise.gungahlin {
  top: 168px;
  left: 66px;
}


 .card-grid .card-cell .card-new .card-section .card-info.timetable {
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  position: absolute;
  top: 410px;
  left: 56px;
}

.card-grid .card-cell .card-new .card-section .card-info.timetable.yarra {
  top: 400px;
  left: 72px;
}

.card-grid .card-cell .card-new .card-section .card-info.timetable.gungahlin {
  top: 394px;
  left: 69px;
}

.card-grid .card-cell .card-new .card-section .card-info img {
  padding-bottom: 5px;
}
