@import url("https://fonts.googleapis.com/css2?family=Questrial&display=swap");

:root {
  --modal-duration: 1s;
  --chrome-dark: #c7c4b9;
  --chrome-light: #edeceb;
  --chrome-med: #89c7c4;
  --chrome-text-dark: #303534;
  --chrome-text-light: #dddddd;
  --bg-light: #cccccc;
  --chrome-color-d: #c7c4b9;
  --chrome-color-l: #edece8;
  --chrome-color-m: #b9c7c4;
  --chrome-text: #303534;
  --chrome-text-l: #dddddd;
  --primary-color: rgba(25, 36, 39, 0.85);
  --overlay-color: rgba(21, 23, 24, 0.85);
  --menu-speed: 0.75s;
}

body {
  font-family: "Questrial", sans-serif;
}

.bg-chrome-d {
  background-color: var(--chrome-color-d);
  color: var(--chrome-text);
}

.bg-chrome-m {
  background-color: var(--chrome-color-m);
  color: var(--chrome-text);
}

.bg-chrome-l {
  background-color: var(--chrome-color-l);
  color: var(--chrome-text);
}

.bg-chrome-med {
  background-color: var(--chrome-med);
  color: var(--chrome-text);
}

.bg-chrome-dark {
  background-color: var(--chrome-dark);
  color: var(--chrome-text);
}

a {
  color: var(--chrome-text-l) !important;
}

a:hover {
  color: #c7c4b9 !important;
}

.admin-content {
  background-color: var(--chrome-light);
  color: var(--chrome-text-dark);
  height: auto;
}

.admin-content h1 {
  font-size: 1.5em;
  background-color: var(--chrome-dark);
  padding: 0.5em;
}

/* Navigation */
.menu-wrap {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

.menu-wrap .toggler {
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  z-index: 2;
  width: 50px;
  height: 50px;
  opacity: 0;
}

.menu-wrap .hamburger {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 60px;
  height: 60px;
  padding: 1rem;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-wrap .hamburger > div {
  position: relative;
  width: 100%;
  height: 2px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.menu-wrap .hamburger > div:before,
.menu-wrap .hamburger > div:after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -10px;
  width: 100%;
  height: 2px;
  background: inherit;
}

.menu-wrap .hamburger > div:after {
  top: 10px;
}

/* Toggler animation removed as Menu was requested rather than the burger menu */
/* Animate the toggler */
/* .menu-wrap .toggler:checked + .hamburger > div {
  transform: rotate(135deg);
} */

/* Turn to X */
/* .menu-wrap .toggler:checked + .hamburger > div:before,
.menu-wrap .toggler:checked + .hamburger > div:after {
  top: 0;
  transform: rotate(90deg);
} */

/* Rotate on Hover when checked */
/* .menu-wrap .toggler:checked:hover + .hamburger > div {
  transform: rotate(225deg);
} */

/* Show menu */
.menu-wrap {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

.menu-wrap .toggler {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  cursor: pointer;
  width: 50px;
  height: 50px;
  opacity: 0;
}

.menu-wrap .icon-menu {
  font-size: 1.5rem;
}

.menu-wrap .hamburger {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 60px;
  height: 60px;
  padding: 1rem;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger Line */
.menu-wrap .hamburger > div {
  position: relative;
  flex: none;
  width: 100%;
  height: 2px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

/* Hamburger Lines - Top & Bottom */
.menu-wrap .hamburger > div::before,
.menu-wrap .hamburger > div::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -10px;
  width: 100%;
  height: 2px;
  background: inherit;
}

/* Moves Line Down */
.menu-wrap .hamburger > div::after {
  top: 10px;
}

/* Toggler animation removed as Menu was requested rather than the burger menu */
/* Toggler Animation */
/* .menu-wrap .toggler:checked + .hamburger > div {
  transform: rotate(135deg);
} */

/* Turns Lines Into X */
/* .menu-wrap .toggler:checked + .hamburger > div:before,
.menu-wrap .toggler:checked + .hamburger > div:after {
  top: 0;
  transform: rotate(90deg);
} */

/* Rotate On Hover When Checked */
/* .menu-wrap .toggler:checked:hover + .hamburger > div {
  transform: rotate(225deg);
} */

/* Show Menu */
.menu-wrap .toggler:checked ~ .menu {
  visibility: visible;
}

.menu-wrap .toggler:checked ~ .menu > div {
  transform: scale(1);
  transition-duration: var(--menu-speed);
}

.menu-wrap .toggler:checked ~ .menu > div > div {
  opacity: 1;
  transition: opacity 0.4s ease 0.4s;
}

.menu-wrap .menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-wrap .menu > div {
  background: var(--overlay-color);
  border-radius: 50%;
  width: 200vw;
  height: 200vw;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: all 0.4s ease;
}

.menu-wrap .menu > div > div {
  text-align: center;
  max-width: 90vw;
  max-height: 100vh;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.menu-wrap .menu > div > div > ul > li {
  list-style: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 1rem;
}

.menu-wrap .menu > div > div > ul > li > a {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s ease;
}

.menu-wrap .menu > div > div > ul > li > a:hover {
  color: inherit;
  text-decoration: underline;
  transition: color 0.4s ease;
}

/* Navigation */

/* Modal Styling */
.modal-container {
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.modal-container.show-modal {
  display: block;
}

.sre-modal {
  background-color: var(--chrome-light);
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  position: absolute;
  overflow: hidden;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  width: 50%;
  animation-name: modalopen;
  animation-duration: var(--modal-duration);
}

.sre-modal-header {
  background: var(--chrome-dark);
  color: var(--chrome-text-dark);
  padding: 15px;
}

.sre-modal-content {
  padding: 20px;
}

.sre-modal-form label {
  color: var(--chrome-text-dark);
}

.close-btn {
  background: transparent;
  font-size: 25px;
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
}

.close-btn:hover {
  transform: scale(1.1);
  transition-duration: var(--menu-speed);
}

/* Remove button */
.remove-button {
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

.remove-button :hover {
  transform: scale(1.1);
  border: none;
  box-shadow: none;
}

.sre-active {
  background-color: darkred !important;
}

/* Font awesome icon margin */
.svg-inline--fa {
  margin-right: 5px;
}

a.icon-link {
  color: var(--chrome-text-dark) !important;
}

a.icon-link.active {
  color: white !important;
}

a.icon-link :hover {
  transform: scale(1.1);
}

.sre-float-right {
  margin-right: 10px;
  text-align: right;
}

/* Hide Recent results div */
.hide-recent-results {
  opacity: 0;
  transition: ease-out;
  display: none;
}

@keyframes modalopen {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* EOF Modal Styling */

/* Admin Card */
.sre-card-bg-light {
  background-color: var(--chrome-light);
}

.sre-bg-light {
  background-color: var(--chrome-dark);
}

/* EOF Admin Card */

.sre-hide {
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.5s, opacity 0.5s ease-out;
}

/* Flash message removal */
.hidden {
  display: none;
  opacity: 0;
}

/* Slider styling */
.sre-slider-container {
  position: relative;
  overflow: hidden;
  height: 60vh;
  /* width: 100vw; */
}

.sre-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.sre-slide.current {
  opacity: 1;
  transition: 0.5s ease-in-out;
}

.sre-slide .content {
  position: absolute;
  bottom: 30px;
  opacity: 0;
  left: -600px;
  width: 600px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #333;
  padding: 35px;
  border-radius: 2px;
}

.sre-slide.current .content {
  opacity: 1;
  transform: translateX(600px);
  transition: all 0.7s ease-in-out 0.5s;
}

.sre-slide.current .content {
  opacity: 1;
  color: white;
}

.sre-slide .content h2 {
  margin-bottom: 10px;
  color: white;
}

/* Background Images */
.sre-slide:first-child {
  background: url(../assets/images/homepage/secs-background-image-1.jpg)
    no-repeat center center/cover;
}

.sre-slide:nth-child(2) {
  background: url(../assets/images/homepage/secs-background-image-2.jpg)
    no-repeat center center/cover;
}

.sre-slide:nth-child(3) {
  background: url(../assets/images/homepage/secs-background-image-3.jpg)
    no-repeat center center/cover;
}

.sre-slide:nth-child(4) {
  background: url(../assets/images/homepage/secs-background-image-4.jpg)
    no-repeat center center/cover;
}
.sre-slide:nth-child(5) {
  background: url(../assets/images/homepage/secs-background-image-5.jpg)
    no-repeat center center/cover;
}
.sre-slide:nth-child(6) {
  background: url(../assets/images/homepage/secs-background-image-6.jpg)
    no-repeat center center/cover;
}
.sre-slide:nth-child(7) {
  background: url(../assets/images/homepage/secs-background-image-7.jpg)
    no-repeat center center/cover;
}
.sre-slide:nth-child(8) {
  background: url(../assets/images/homepage/secs-background-image-8.jpg)
    no-repeat center center/cover;
}
.sre-slide:nth-child(9) {
  background: url(../assets/images/homepage/secs-background-image-9.jpg)
    no-repeat center center/cover;
}
.sre-slide:nth-child(10) {
  background: url(../assets/images/homepage/secs-background-image-10.jpg)
    no-repeat center center/cover;
}

@media only screen and (max-width: 600px) {
  .logo-image {
    max-width: 175px;
  }

  .sre-slide .content {
    bottom: 0;
    width: 100%;
    font-size: 14px;
    padding: 15px;
  }

  h1 {
    font-size: 2rem;
    text-align: center;
  }

  .sre-slide .content h2 {
    font-size: 22px;
  }
}

/* EOF Slider styling */
/* Image auto fit */
img.sre-img {
  width: 100%;
  max-width: 125px;
  object-fit: cover;
}

/* View Heights */

.sre-view-25 {
  height: 25vh;
}

.sre-view-50 {
  height: 50vh;
}

.sre-view-75 {
  height: 75vh;
}

.sre-view-100 {
  height: 100vh;
}

/* EOF View Heights */

/* Styling for Nav Tabs */
.nav-tabs .nav-link {
  background-color: var(--chrome-light);
  color: var(--primary-color) !important; /* Bootstrap's text-dark */
  border: 1px solid var(--primary-color);
  margin-right: 4px;
}

.nav-tabs .nav-link.active {
  background-color: var(--primary-color); /* or your preferred active color */
  color: var(--chrome-light) !important;
  border-color: var(--chrome-color-d);
}

/* Modal */
.modal {
  position: fixed;
  z-index: 1050;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
  background: #fff;
  margin: 10% auto !important;
  color: var(--primary-color);
  padding: 20px;
  border-radius: 10px;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1040;
}

/* Animation CSS */

.fade-in {
  -webkit-animation: fade-in 1.2s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: fade-in 1.2s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

.fade-in-top {
  -webkit-animation: fade-in-top 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: fade-in-top 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

.fade-in-bck {
  -webkit-animation: fade-in-bck 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: fade-in-bck 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

.fade-in-fwd {
  -webkit-animation: fade-in-fwd 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: fade-in-fwd 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

.fade-in-bottom {
  -webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.39, 0.575, 0.565, 1)
    both;
  animation: fade-in-bottom 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

.fade-in-left {
  -webkit-animation: fade-in-left 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: fade-in-left 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

.fade-in-right {
  -webkit-animation: fade-in-right 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: fade-in-right 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

.fade-out-right {
  -webkit-animation: fade-out-right 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: fade-out-right 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.scale-in-center {
  -webkit-animation: scale-in-center 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: scale-in-center 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.scale-up-top {
  -webkit-animation: scale-up-top 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: scale-up-top 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

.scale-up-bottom {
  -webkit-animation: scale-up-bottom 0.4s cubic-bezier(0.39, 0.575, 0.565, 1)
    both;
  animation: scale-up-bottom 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@-webkit-keyframes fade-in-left {
  0% {
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-in-left {
  0% {
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@-webkit-keyframes fade-in-bck {
  0% {
    -webkit-transform: translateZ(80px);
    transform: translateZ(80px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1;
  }
}

@keyframes fade-in-bck {
  0% {
    -webkit-transform: translateZ(80px);
    transform: translateZ(80px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1;
  }
}

@-webkit-keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@-webkit-keyframes fade-in-right {
  0% {
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-in-right {
  0% {
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@-webkit-keyframes fade-in-fwd {
  0% {
    -webkit-transform: translateZ(-80px);
    transform: translateZ(-80px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1;
  }
}

@keyframes fade-in-fwd {
  0% {
    -webkit-transform: translateZ(-80px);
    transform: translateZ(-80px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1;
  }
}

@-webkit-keyframes fade-out-right {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
    opacity: 0;
  }
}

@keyframes fade-out-right {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
    opacity: 0;
  }
}

@-webkit-keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@-webkit-keyframes scale-up-top {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
  }
}

@keyframes scale-up-top {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
  }
}

@-webkit-keyframes scale-up-bottom {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
  }
}

@keyframes scale-up-bottom {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
  }
}

/* EOF Animation CSS */
