.dropdown-content {
  display: flex;
  flex-direction: row;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  position: absolute;
  padding: 0.5rem 1rem 2rem 0.5rem;
  border-radius: 0.5rem;
  visibility: hidden;
  min-width: 10vw;
  opacity: 0;
  transition:
    visibility 0s,
    opacity 0.15s linear;
  z-index: 10;
}
.dropdown-content a {
  color: #234996;
  font-size: 1.3rem;
  padding: 12px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {
  color: #234996;
}

.dropdown-sub-menu-container {
  color: #234996;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 12vw;
}
.dropdown-sub-menu-container .main {
  padding: 12px;
  font-size: 1rem;
  font-weight: bold;
}
.dropdown-sub-menu-container .main:hover {
  color: #234996;
}

.dropdown-sub-menu {
  display: flex;
  flex-direction: column;
}
.dropdown-sub-menu a {
  font-size: 1rem;
}
.dropdown-sub-menu a:hover {
  cursor: pointer;
  color: #234996 !important;
}

.dropdown-sub-menu a {
  color: black !important;
  text-decoration: none;
  display: block;
  padding: 5px 15px;
}

.no-sub-menu {
  display: block !important;
  padding: 10px !important;
  min-width: 12vw !important;
}
.no-sub-menu a {
  padding: 5px 10px 5px 10px !important;
  font-size: 1rem;
  color: black !important;
}
.no-sub-menu a:hover {
  color: #234996 !important;
}

.dropdown-sub-menu-container:hover .dropdown-sub-menu {
  visibility: visible;
  opacity: 1;
}
.nav-bar-element span {
  display: block;
  color: white;
  font-size: 0.8em;
  padding: 1em 2em;
  text-transform: uppercase;
}
.nav-bar-element span:hover {
  cursor: pointer;
}
.selected {
  background-color: #0d2e63;
}

.card p {
  min-height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-nav {
  width: 0;
  position: fixed;
  z-index: 15;
  top: 0;
  left: 0;
  background-color: #0d2e63;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 4rem;
  height: 100vh;
}
.mobile-nav a:focus {
  color: white !important;
  text-decoration: none !important;
}
.mobile-nav a:hover {
  color: white !important;
  text-decoration: none !important;
}

.mobile-nav-menu {
  padding: 8px 50px 8px 32px;
  text-decoration: none;
  font-size: 1.1rem;
  border-bottom: 1px solid white;
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}
.mobile-nav-menu a:focus {
  text-decoration: none !important;
}

.mobile-nav-sub-menu {
  padding: 14px 32px;
  transition: transform 0.5s;
  background-color: #234996;
}
.mobile-nav-sub-menu a {
  padding: 4px 5px 4px 16px;
  text-decoration: none;
  color: white !important;
  font-size: 1.1rem;
}
.mobile-nav-sub-menu a:hover {
  cursor: pointer;
}

.mobile-nav-sub-inner-menu {
  padding: 8px 32px 8px 32px;
  transition: transform 0.5s;
}
.mobile-nav-sub-inner-menu a {
  padding: 4px 16px;
  text-decoration: none;
  color: white !important;
  font-size: 1.1rem;
}
.mobile-nav-sub-inner-menu a:hover {
  cursor: pointer;
}
.mobile-icon {
  font-size: 2rem;
  color: white;
}
.mobile-icon:hover {
  cursor: pointer;
}
.close-icon {
  position: absolute;
  top: 10px;
  right: 26px;
  color: white;
}

.aside {
  background-color: #234996;
  padding: 3rem;
  padding-right: 0;
  padding-top: 10em;
  min-width: 25lvw;
}
.aside h2 {
  position: relative;
  font-size: 1.2em;
  text-align: center;
  padding-bottom: 1em;
  margin-bottom: 1em;
  margin-right: 3em;
}
.aside h2:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  width: 100px;
  background-color: white;
}
.aside ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.aside a {
  display: block;
  position: relative;
  padding: 1em;
  padding-left: 0;
  font-size: 1.2em;
  width: 100%;
  text-decoration: none;
  border-bottom: 1px solid #0d2e63;
}
.aside a span {
  position: relative;
  z-index: 1;
}
.aside a img {
  margin-right: 1em;
  transition: 0.4s ease all;
}
.aside a:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 0;
  background-color: #0d2e63;
  transition: 0.4s ease all;
}
.aside a:hover img {
  margin-left: 0.5em;
  margin-right: 0.5em;
}
.aside a:hover:before {
  width: 100%;
}

.main-section {
  overflow: hidden;
}

.pagination {
  display: flex;
  justify-content: space-evenly;
  list-style-type: none;
  margin-top: 2rem;
}

.pagination li a {
  text-decoration: none;
}

.img-responsive {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .img-responsive {
    width: 18vw;
    height: 17vh;
  }
}

.main-container {
  padding: 0px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cms-text {
  padding-left: 3rem;
  padding-right: 3rem;
  padding-top: 7rem;
}

.highlight-image {
  height: 25vh;
  object-fit: cover;
}

@media screen and (min-width: 625px) {
  .cms-text {
    padding-left: 10rem;
    padding-right: 10rem;
  }
  .highlight-image {
    max-height: 350px;
  }
}

@media screen and (min-width: 1199px) {
  .cms-text {
    padding-left: 12em;
    padding-right: 7em;
  }
  .highlight-image {
    max-height: 200px;
  }
}

.cms-text-no-menu {
  position: relative;
  z-index: 3;
  padding-bottom: 4rem;
}

.cms-text-no-menu a {
  text-decoration: none !important;
}

.right-padding {
  padding-right: 10rem !important;
}

.contentHighlight a {
  text-decoration: none;
}

.contentHighlight h4 {
  margin-top: 1rem;
}

#highlightsList {
  margin-top: 6rem;
}

.comments-panel.card {
  padding: 0;
  margin-top: 2.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
}

.comments-panel .card-header {
  background: #0d2e63;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.comments-panel .card-header h3,
.comments-panel #comments {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
  font-family: "Jost", sans-serif;
}

.comments-panel .card-body {
  padding: 20px;
}

.comments-panel p,
.cms-text .comments-panel p {
  display: block;
  background: none;
  min-height: 0;
  width: auto;
  text-align: left;
  padding: 0;
  margin: 0 0 12px;
  line-height: 1.5;
}

#commentEntries {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.75rem;
}

#commentEntries p,
.cms-text #commentEntries p {
  background: rgba(13, 46, 99, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 0;
  color: #fff;
}

#commentEntries p strong {
  color: #5bc0de;
  margin-right: 4px;
}

#commentEntries #no-comments-message,
.cms-text #commentEntries #no-comments-message {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 28px 16px;
}

#addCommentForm {
  float: none;
  width: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#addCommentForm p {
  margin-bottom: 0;
}

#addCommentForm .form-control {
  background: #fff;
  color: #0d2e63 !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  width: 100%;
}

#commentSend,
#addCommentForm #commentSend {
  display: block;
  width: 100%;
  margin-top: 8px;
  background-color: #5bc0de;
  color: #0d2e63;
  border: none;
  border-radius: 6px;
  font-weight: 600;
}

#commentSend:hover,
#addCommentForm #commentSend:hover {
  background-color: #7ad0e8;
  color: #0d2e63;
}

#new-comment {
  background: rgba(3, 220, 119, 0.12);
  border: 1px solid rgba(3, 220, 119, 0.45);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

#new-comment p {
  background: none;
  min-height: 0;
  padding: 0;
  margin: 0 0 8px;
  text-align: left;
}

#new-comment .btn-danger {
  margin-bottom: 8px;
}

.notice {
  text-align: center;
}
.notice p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.red-notice {
  background-color: #dc032a;
}

.orange-notice {
  background-color: #ffbf00;
  color: black;
}

.orange-notice a {
  color: black;
}

@media screen and (max-width: 900px) {
  .red-notice {
    z-index: 10;
  }

  .orange-notice {
    z-index: 10;
  }
}

.fa-file {
  color: white;
}

.parents-evening-section {
  background-color: #234996 !important;
}

.form-control {
  color: black !important;
}

.form-control:focus {
  color: black !important;
}

.privacy-terms {
  background-color: #234996 !important;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  text-align: left;
}

th,
td {
  padding: 12px;
  border: 1px solid #ddd;
}

th {
  background-color: #0d2e63;
  font-weight: bold;
}

tr {
  background-color: #234996;
}

tr:hover {
  background-color: #0d2e63;
}

.appointments-section {
  background-color: #0d2e63 !important;
}

.modal-header {
  background-color: #0d2e63;
  color: white;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.modal-header .modal-title {
  order: 1;
  flex: 1 1 auto;
  margin: 0;
  text-align: left;
  color: white;
}

.modal-header .close,
.modal-header .btn-close {
  order: 2;
  margin-left: auto;
  flex-shrink: 0;
}

.modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 1;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0.5rem;
  box-shadow: none;
}

.modal-body {
  background-color: #234996;
}

.modal-footer {
  background-color: #0d2e63;
}

.close {
  background-color: #234996;
  color: white;
  border: 0;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  opacity: 1;
  padding: 0;
  flex-shrink: 0;
}

.btn-block {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  background-color: #234996;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.btn-block:hover {
  background-color: #0056b3;
}

.btn-block:active {
  transform: scale(0.95);
}

#news-results {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

a {
  text-decoration: none !important;
}

.modal-backdrop {
  z-index: 0;
}

.dropdown-menu-right {
  list-style: none;
  position: absolute;
  background-color: white;
  padding: 5px 10px;
  text-align: left;
  right: 0px;
}
.dropdown-menu-right a {
  color: #0056b3;
}

.clubs-export-button {
  background-color: #5bc0de;
  color: white;
}
.clubs-export-button:hover {
  background-color: #5bc0de;
  color: white;
}

@media screen and (max-width: 991px) {
  .news-item-main:nth-child(n + 2) {
    display: none;
  }
}

.view-button {
  background-color: #03dc77 !important;
}

@media screen and (min-width: 1500px) {
  .news-text-container {
    margin-left: -1rem;
  }
}

.news-item {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.hamburger {
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 10;
}

.bar {
  width: 100%;
  height: 4px;
  background-color: white;
  transition: all 0.3s ease-in-out;
}

.open .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.open .bar:nth-child(2) {
  opacity: 0;
}

.open .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.no-scroll {
  overflow: hidden;
}

.hover-video {
  width: 100%;
}

/* Calendar styles */

.calendar-buttons {
  display: flex;
  border: 1px solid white;
  min-height: 50px;
  border-radius: 2rem;
}

.calendar-buttons .btn-group {
  flex: 1;
  display: flex;
  justify-content: center;
}

.calendar-buttons .btn-group .btn {
  padding: 0px !important;
}
.calendar-buttons .btn-group .btn:active {
  background-color: transparent;
  border-color: transparent;
}

.calendar-buttons .cal-middle {
  border-left: 1px solid white;
  border-right: 1px solid white;
  width: 100%;
  display: flex;
  justify-content: center;
}

.calendar-controls {
  margin-bottom: 1rem;
}

.fc-center h2 {
  color: #234996;
}

.fc-toolbar {
  padding: 20px !important;
  margin-bottom: 1em !important;
  text-align: center !important;
}
.fc-widget-header table {
  margin-top: 0px;
  margin-bottom: 1rem;
  background-color: #72b9fd;
}

.fc-content-skeleton table {
  margin-top: 0px;
}
/* change here */
.fc-content-skeleton thead td {
  background: #234996 !important;
}
.fc-content-skeleton tbody td {
  background-color: #6f8fe0 !important;
}

.calendar-bottom {
  display: flex;
}
.dropdown {
  position: relative;
}
.calendar-bottom .dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  flex-direction: column;
  list-style: none;
  padding: 0px !important;
  border-radius: 0.25rem;
  right: 0;
  min-width: 150px;
}
.calendar-bottom .dropdown-menu li {
  padding: 0.5rem;
}
.calendar-bottom .dropdown-menu a {
  color: #4a6ebf !important;
}

.calendar-bottom .dropdown-toggle {
  border: 1px solid white;
}

.calendar-bottom .right {
  border-top-left-radius: 2rem;
  border-bottom-left-radius: 2rem;
}

.calendar-bottom .left {
  border-top-right-radius: 2rem;
  border-bottom-right-radius: 2rem;
}
.fc-today.fc-day {
  background-color: #72b9fd !important;
}
.fc-unthemed td {
  border-left: hidden 0 transparent;
  border-right: hidden 0 transparent;
  border-bottom: hidden 0 transparent;
  border-color: transparent !important;
}
.date-square {
  min-width: 70px !important;
  height: 70px;
}
.fc-day-grid-event {
  background-color: #3a87ad !important;
  border: none !important;
  margin: 0 !important;
  padding: 5px !important;
  border-radius: 0px !important;
}

/* 6F8FE0 */
.fc-day {
  background-color: #6f8fe0 !important;
}

.fc-head-container {
  background-color: #6f8fe0 !important;
}

.show-clubs-for-group.btn-block {
  background-color: white;
  color: black;
}

.show-clubs-for-group.btn-block:hover {
  background-color: #3a87ad;
  color: white;
}

.show-clubs-for-group.btn-primary {
  background-color: #3a87ad;
  color: white;
}

.club-select {
  background-color: white;
  color: black;
}
.club-select ul {
  list-style: none;
}

#reserve-button {
  background-color: white;
  color: black;
}

#card-button {
  width: 100% !important;
  padding: 10px !important;
  background-color: red !important;
  color: white !important;
}

#term-details {
  margin-bottom: 2rem;
}

.nav-justified {
  display: flex !important;
  gap: 16px !important;
}
.nav-pills .nav-item a {
  background-color: white;
  color: #234996;
}
.btn-default.btn-sm {
  background-color: white;
  color: #234996;
}
.appointments-manage table,
.appointments-manage table tr,
.appointments-manage table th,
.appointments-manage table td {
  background-color: transparent;
  color: inherit;
}
.appointments-manage table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.08);
}
.appointments-manage table tr.pending {
  background-color: rgba(255, 193, 7, 0.22);
}
.appointments-manage table tr.accepted {
  background-color: rgba(25, 135, 84, 0.22);
}
.appointments-manage table tr.unavailable {
  background-color: rgba(0, 0, 0, 0.28);
}
.appointments-manage .sticky-th,
.appointments-manage .sticky-header {
  background-color: #0d2e63;
  color: inherit;
}
.noTopMargin {
  margin-top: 0px !important;
}
.vacancy {
  padding: 2rem 4rem;
  background-color: rgba(30, 57, 140, 1) !important;
}
