/* DEFINING CUSTOM VARIABLES */
:root{

  --clr-primary: #40395F; /* MONATIONS CANADA */
  --clr-primary-lt: #9794D2; /* MONATIONS CANADA */
  --clr-primary-dk: #4d418a; /* MONATIONS CANADA */
  --clr-primary-contrast: #b033df; /* MONATIONS CANADA */
  --clr-text-contrast: #C5D8AA;
  --clr-background: white;
  --a-btn-hover: #d8b5e9bb;
  --clr-blue-lt: #1a6a89; /* NORWEX CATCH THE WAVE */
  --clr-blue-dk: #04486C; /* NORWEX CATCH THE WAVE */
  --clr-yellow: #EFDF89; /* NORWEX CATCH THE WAVE */
  --clr-green-lt: #CADEB9; /* NORWEX */
  --clr-green-dk: #67ab3c; /* NORWEX */
  --clr-grey-dk: hsl(0, 0%, 50%);
  --clr-grey-lt: hsl(0, 0%, 65%);
  --clr-grey-vlt: #f5f5f5;
  --clr-off-black: #222;
  --clt-text-white: hsl(0, 0%, 100%);

  /* font-sizes */
  --fs-900: 9.375rem;
  --fs-800: 6.25rem;
  --fs-700: 3.5rem;
  --fs-600: 2rem;
  --fs-500: 1.75rem;
  --fs-400: 1.125rem;
  --fs-300: 1rem;
  --fs-200: 0.875rem;
  
  /* font-families */
  /* --ff-serif: "Bellefair", serif; */
  --ff-sans-condensed: "Roboto Condensed", sans-serif;
  --ff-sans-normal: "Roboto", sans-serif;
  --ff-serif-normal: "Abhaya Libre", serif;

  /* Gap between livestream page elements */
  --gap-margin: 10px;
  --card-width-home: 300px;

  /* Border-Radius */
  /* --border-radius-box: 30px; */
  --border-radius-box: 15px;
  --border-radius-button: 6px;
 
  /* splash cube dimensions */
  --splash-cube: 100px;
  --splash-cube-half: 50%;
  /* --splash-cube: 200px; */

  --nav-thumb-icon: clamp(4rem, 20vw, 90px);
  /* --nav-thumb: clamp(200px, 40vw, 400px); */

}

/* Basic stuff */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth !important;
}

/* *, *:before, *:after {
  box-sizing: inherit;
} */

body {
  scroll-behavior: smooth !important;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul, textarea, input, button, figure {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-sans-normal);
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--clr-primary);
}

h1 {
  font-size: calc(1.375rem + 1.5vw);
  margin-top: clamp(0.5rem, 2vw, 2rem);
}

body, p, ol, ul, textarea, input, button, figure {
  line-height: 1.5;
  font-family: var(--ff-sans-normal);
  color: var(--clr-off-black);
}

li, p {
  font-weight: 300;
}

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--clr-primary);
}

a button {
  color: var(--clr-primary);
}

.drop-zone,
textarea,
input {
  padding-left: 5px;
  margin-bottom: 0.5rem;
  outline: none;
  border: solid 3px var(--clr-grey-lt);
  border-radius: var(--border-radius-button);
}

.drop-zone-over,
textarea:focus,
input:focus {
  border: solid 3px var(--clr-primary);
}

label {
  padding-left: 8px;
  text-align: left;
}

.error-success,
.error-alert {
  text-align: center;
  font-weight: 700;
  font-style: italic;
  color: red;
  /* background-color: rgba(213, 161, 236, 0.9); */
}

/* From Kevin Powell */	
img,
picture {
    max-width: 100%;
    display: block;
}

/* make form elements easier to work with */
input,
button,
textarea,
select {
  font: inherit;
}

/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {  
	*,
	*::before,
	*::after {
	  animation-duration: 0.01ms !important;
	  animation-iteration-count: 1 !important;
	  transition-duration: 0.01ms !important;
	  scroll-behavior: auto !important;
	}
}

/********************/
/*  Status Messages */
/********************/
.serverMessage {
  font-size: 1rem;
  line-height: 1.25rem;
  padding-top: 1rem;
}

.serverSuccess {
  color: green;
}

.serverError {
  color: red;
}



/********************/
/*    BACKGROUNDS   */
/********************/

.background-white {
  background-color: white;
}

.splash-static {
  background-color: var(--clr-primary);
}

/********************/
/*    NAVIGATION    */
/********************/

.menu-bar {
   z-index: 100;
/*  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center; */
  /* padding: 15px 25px; */
  position: sticky;
  /* top: 0px; */
  /* min-height: 4.5rem; */
  /* background-image:  var(--border-gradient); */
  background-color: transparent;
}
 
.menu-bar a{
  color: var(--clr-text-contrast);
  text-decoration: none;
  padding: 1px 7px;
  border-radius: var(--border-radius-button);
  border: 2px solid transparent;
  /* transition-duration: 1s; */
}


.logo {
  padding: 0px 15vw;
  margin: 32px auto 0px;
  max-width: 480px;
}

/* .logo img {
  width: 100%;
  height: 100%;
} */

.logo1 {
  z-index: 20;
  position:absolute;
  top: 1.3rem;
  font-size: 1.2rem;
  /* line-height: 2; */
  font-weight: 500;
  /* font-family: 'Lemonada', cursive; */
  color: var(--clr-text-contrast);
  white-space: nowrap;
  text-shadow: 0px 0px 1.5px #FFFFFF,
      -0.7px -0.7px 0px rgb(0 0 0 / 1);
}

.navigation {
  width: 100%;
	position: absolute;
  z-index: 100;
	text-align: center;
	top: 0px;
	right: 0px;
  background-color: var(--clr-primary);
	opacity: 0.95;
	transform: scale(0, 1);
	transform-origin: right;
	transition: transform 400ms ease-in-out;
}

.navigation li{
	margin: 1.5em 0px;
}

.navigation a{
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
	opacity: 0;
	transition: opacity 150ms ease-in-out;
  transition: 0.5s;
}

.nav-toggle:checked ~ .navigation {
	/* display: block; */
 transform: scale(1,1);
}

.nav-toggle:checked ~ .navigation a{
	opacity: 1;
	transition: opacity 100ms ease-in-out 350ms;
}

.nav-toggle{
	display: none;
}

.nav-toggle-label {
  position: absolute;
  z-index: 100;
	top: 33px;
	right: 2.5em;
	width: 1em;
	height: 12px;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after{
	display: block;
  opacity: 1;
  background-color: var(--clr-blue-dk);
	/* background: var(--clr-text-contrast); */
	height: 4px;
	width: 1.5em;
	border-radius: 2px;
	position: relative;
  transition: transform .25s, opacity 0.25s;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after{
	content: '';
	position: absolute;
}

.nav-toggle-label span::before{
  transform-origin: top left;
	bottom: 7px;
}

.nav-toggle-label span::after{
  transform-origin: bottom left;
	top: 7px;
}

.nav-toggle:checked ~ .nav-toggle-label span,
.nav-toggle:checked ~ .nav-toggle-label span::before,
.nav-toggle:checked ~ .nav-toggle-label span::after {
  background-color: white;
}

.nav-toggle:checked ~ .nav-toggle-label span {
  height: 0px;
}

.nav-toggle:checked ~ .nav-toggle-label span::before {
  transform: rotate(45deg);
  width: 1.93em;
}

.nav-toggle:checked ~ .nav-toggle-label span::after {
  transform: rotate(-45deg);
  width: 1.93em;
}

.wave {
  display: none;
}

/*********************************/
/*        General styling        */
/*********************************/

.account-background {
  width: 100%;
  height: 100vh;
}

.centre-text {
  text-align: center;
}

.right-text {
  text-align: right;
}

.left-text {
  text-align: left;
}

audio {
  width: 250px;
  margin-top: 15px;
}

.header {
  display: flex;
  flex-direction: column-reverse;
}

.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 100vh;
  background-color: var(--clr-background);
  background: url(../images/Background_s.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.inner-wrapper {
  position: relative;
  padding: 1vw;
}

.page-title h1 {
  text-align: center;
  color: var(--clr-off-black);
}

.page-title h4 {
  text-align: center;
  color: var(--clr-off-black);
}
.pageTitleText {
  text-align: center;
}

.page-body {
  max-width: 1000px;
  padding: 20px 10px;
  margin-left: auto;
  margin-right: auto;
}

.page-body p {
  padding-bottom: 10px;
}

.page-body-title {
  margin-bottom: 20px;
  padding: 10px 0px;
}

hr {
  border: 1px solid var(--clr-primary);
}

h3 span{
  font-style: italic;
  font-weight: 300;
  font-size: 0.8rem;
}

/******************/
/*     SPLASH     */
/******************/


.splash-background {

  width: 90%;
  margin: 0 auto;
  max-width: 1000px;
}

.section-splash {
  /* background-color: var(--clr-primary); */
  position: relative;
  display: flex;
  flex-direction: column;
	justify-content: center;
	align-items: center;
}

.splash-star {
  right: 0px;
  top: 0px;
  position:absolute;
  width: clamp(50px, 10vw, 100px);
}

.splash-logo .logoMonations,
.splash-logo .logoCanada,
.splash-logo .logoPipe,
.splash-logo .logoYear {
  fill: white;
}

.splash-logo .logoFlag {
  fill: var(--clr-primary-lt);
}





/**********************/
/*     HOME CARDS     */
/**********************/

.nav-card-container {
  padding: 15px;
}

.nav-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: clamp(10px, 6vw, 3.5rem);

  margin: 10px auto;
  border-radius: 4px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.nav-card h3 {
  font-family: var(--ff-serif-normal);
  font-size: clamp(1.8rem, 3vw, 2rem);
  color: white;
  line-height: clamp(1em, 3vw, 2rem);
}

.nav-card p {
  font-weight: 500;
  color: white;
}

.card-livestream {
  background-image: url('/images/CARDS/card-livestream.jpg');
}

.card-gallery {
  background-image: url('/images/CARDS/card-foundation.jpg');
}

.card-recognition {
  background-image: url('/images/CARDS/card-recognition.jpg');
}

.card-foundation {
  background-image: url('/images/CARDS/card-livestream.jpg');
}

.card-icon {
  margin: 0px auto;
  width: var(--nav-thumb-icon);
  height: var(--nav-thumb-icon);
}

.card-icon-wide {
  margin: 0px auto;
  width: calc(var(--nav-thumb-icon)*2);
  height: var(--nav-thumb-icon);
}

.nav-card-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: clamp(8rem, 15vw, 10rem);
}

/*********************/
/*    Recognition    */
/*********************/

.recognition-container {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.recognition-container a {
  display: block;
  /* height: 100%; */
}

.recognition-container hr {
  color: white;
  border: 1px solid white;
}

.clr00B5BF {
  background-color: #00B5BF;
}

.clr5AADB4 {
  background-color: #5AADB4;
}

.clr8BC3C9 {
  background-color: #8BC3C9;
}

.clrA9C4D9 {
  background-color: #A9C4D9;
}

.recognition-card {
  display: block;
  text-align: center;
  padding: 24px;
}

.recognition-card h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: clamp(2rem, 5vw, 3rem);
}

.recognition-card ul li,
.recognition-card h4,
.recognition-card p {
  color: #fff;
}

.card-link {
  display: flex;
  justify-content: center;
	align-items: center;
}

/********************/
/*     COUNTDOWN    */
/********************/

.counter-container {
  margin: 10px auto;
  max-width: 800px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.counter-unit {
  display: none;
  width: clamp(3.25rem, 8vw, 8rem);
  margin: 5px clamp(0.25rem, 1vw, 0.65rem) 10px;
  border-radius: 0.5rem;
  background-color: var(--clr-blue-lt);
  border: solid 3px var(--clr-text-contrast);
  -webkit-box-shadow: 5px 5px 15px 5px #777; 
  box-shadow: 5px 5px 15px 5px #777;
}

.counter-unit > * {
  text-align: center;
}

.counter-unit div {
  color: var(--clt-text-white);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 4rem);
}

.counter-unit h5 {
  color: var(--clr-text-contrast);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(0.6rem, 1.5vw, 1.5rem);
  padding-bottom: 0.5rem;
}

/********************/
/*      GALLERY     */
/********************/

.gallery-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-medium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 1.5rem;
}

.gallery-small {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.year-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.5rem;
}

.year-button {
  font-size: clamp(2.5rem, 8vw, 3rem);
  padding: clamp(0.5rem, 3vw, 1rem);
  border: none;
  cursor: pointer;
  background: transparent;
  transition: transform 250ms;
}

.year-button:hover {
  transform: scale(1.1);
}

.pagenumbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  /* background-color: transparent; */
}

.pagenumbers button {
  width: 40px;
  height: 40px;

  appearance: none;
  border: none;
  outline: none;
  cursor: pointer;

  background-color: var(--clr-text-contrast);

  margin: 5px;
  transition: 250ms;

  color: var(--clr-primary);
  font-size: 1.5rem;
  font-weight: 300;

  border: 1px solid var(--clr-primary);
}

.pagenumbers button.active {
  background-color: var(--clr-primary);
  color: var(--clr-text-contrast);
}

.pagenumbers *:hover {
  transform: scale(1.1);
}

.pagenumbers div {
  cursor: pointer;
  font-size: 2rem;
  font-weight: 500;
  padding: 0.5rem;
  color: var(--clr-primary);
  transition: 250ms;
}

.responsive-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gallery-container {
  max-width: 1400px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.gallery2-thumb {
  position: relative;
  /* margin: 20px;
  width: 100%; */
  /* width: 300px;
  height: 225px; */
  box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}

.gallery2-thumb img {
  width: 100%;
  height: 100%;
}

.gallery2-thumb a {
  text-decoration: none;
  color: var(--clr-primary);
  transition: 0.3s;
  width: 100%;
}

.gallery2-hover-overlay {
  position: absolute;
  top: 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  opacity: 0%;
  transition: 0.25ms;
}

.gallery2-top-banner {
  top: 0px;
}

.gallery2-bottom-banner {
  bottom: 0px;
  /* display: flex;
  justify-content: space-between; */
}

.gallery2-top-banner,
.gallery2-bottom-banner {
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  padding: 10px 20px;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--clr-primary);
  transition: 0.2s;
  text-align: center;
  cursor: pointer;
}


.gallery2-hover-overlay:hover {
  opacity: 100%;
}

.gallery2-top-banner:hover,
.gallery2-bottom-banner:hover {
  background-color: var(--clr-primary);
  color: white;
}

.gallery2-bottom-banner a:hover{
  color: var(--clr-primary);
}

.thumb-title {
  text-align: center;
  font-size: 2rem;
  padding: 0.5rem 0;
  background-color: white;
}

.modal-photo {
	display: none;
	z-index: 100;
	position: fixed;
	inset: 0;
	overflow-y: auto;
	background-color: rgba(0, 0, 0, 0.8);
	padding: 3rem 1rem;
	opacity: 0;
}

.modal-photo-frame {
  display: flex;
  align-items: center;
	margin: 0 auto;
  width: 90%;
	max-width: 1200px;
}

.modal-nav {
  display: flex;
  padding: 1vw;
  color: var(--clt-text-white);
  font-size: 10vw;
  cursor: pointer;
}

.modal-photo-inner {
	position: relative;
	display: flex;
	flex-direction: column;

  background-color: white;
  width: 100%;
}

.modal-photo-header {
  display: flex;
  justify-content: space-between;
	align-items: center;
	width: 100%;
	/* min-height: 66px; */
	background-color: var(--clr-primary);
	padding: 0.65rem 1.5rem;
	color: var(--clt-text-white);
}

.modal-photo-name {
  text-transform: uppercase;
	color: var(--clt-text-white);
	text-align: left;
	font-size: clamp(1rem, 4vw, 2rem);
}

.game-window-photobooth {
  max-width: 600px;
  position: relative;
  margin: 2vw auto 0px;
  height: 100vw;
  max-height: 800px;
}

.modal-close {
  font-size: 2rem;
  font-weight: 300;
  position: absolute;
  top: 0.5rem;
  right: 2rem;
  color: var(--clr-primary);
  opacity: 0.35;
  background-color: transparent;
  border: none;
  transition: 0.25s
}

.modal-pckg-close:hover,
.modal-close:hover {
  opacity: 1;
}

.package-section {
  display: flex;
  flex-wrap: wrap;
	justify-content: space-around;
}

.package {
  text-align: center;
  max-width: 600px;
  border: solid 3px var(--clr-primary);
  border-radius: 5px;
  padding: 1rem;
  margin: 0.5rem 2rem 2rem;
  background-color: var(--clr-grey-vlt);
}

.package h3 {
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 900;
}

.price {
  display: flex;
  justify-content: center;
	align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--clr-primary);
  font-size: 4rem;
  font-weight: 500;
}

.price div {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.package sup {
  padding-bottom: 2rem;
  font-size: 1rem;
  font-weight: 600;
}

.flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 0.5rem 0;
}

.flag-button {
  position: relative;
  margin: 0.5rem;
  transition: transform 0.25s
}

.flag-button > * {
  min-width: 125px;
  aspect-ratio: 3/2;
  border: none;

}

.flag-button button {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.flag {
  opacity: 0.4;
}

.flag-button:hover {
  transform: scale(1.1);
}

.modal-pckg {
  display: none;
  justify-content: center;
	align-items: center;
  z-index: 100;
  position: fixed;
  inset: 0;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 1rem;
  opacity: 0;
}

.modal-pckg-form {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--clr-grey-vlt);
  padding: 2.5rem;
  max-width: 580px;
  margin: 1rem;
}

.modal-pckg-country {
  display: none;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 1rem;
}

.modalpckg-flag {
  width: 100%;
  max-width: 110px;
  aspect-ratio: 3/2;
  margin-right: 0.5rem;
  
}

.modal-pckg-close {
  font-size: 2rem;
  font-weight: 900;
  position: absolute;
  top: 0.5rem;
  right: 2rem;
  color: var(--clr-primary);
  opacity: 0.35;
  background-color: transparent;
  border: none;
  transition: 0.25s
}

.modal-price {
  color: var(--clr-primary);
  font-size: 4rem;
  font-weight: 500;
}

.modal-price sup {
  font-size: 1.5rem;
}

.faq-container,
.package-instructions {
  max-width: 600px;
  margin: 0 auto 1rem;
  padding: 0 2rem;
}

.package-instructions h4 {
  padding-top: 1rem;
}

.email-checkout {
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  /* font-weight: 700; */
}


/*********************/
/*    MEMBERS PAGE   */
/*********************/

.auth-thumb-container {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.auth-thumb {
  aspect-ratio: 16/9;
  width: clamp(150px, 30vw, 250px);
  margin: 20px;

}

.auth-thumb img {
  margin-bottom: 10px;
  transition: transform 200ms;
}

.auth-thumb:hover img {
  transform: scale(1.1);
}


/* .section-additional {
} */

.qa h4 {
  padding-top: 1rem;
}


.qa h4::before {
  content: "Q.";
}

.qa p:first-of-type::before {
  content: "A.";
  color: var(--clr-text-contrast);
  font-weight: 700;
}

.qa h4::before,
.qa p::before {
  position: absolute;
  transform: translateX(-1.25rem);

}





/********************/
/*    LIVE PAGE     */
/********************/



#titleContainer {
  display: block;
  text-align: center;
  /* width: 100%; */
  /* border: solid 5px gold; */
}

.mediaContainer {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.mediaContainer h2 {
  width: 100%;
  text-align: center;
}

.videoContainer {
  display: block;
  position: relative;
  overflow: hidden;
  max-width: 900px;
  flex: 5 1 600px;
  border: solid 5px var(--clr-primary);
  background-color: rgba(0, 0, 0, 0.75);
  margin: 0.25vw;
  -webkit-box-shadow: 20px 20px 50px 50px rgba(0,0,0,0.44); 
  box-shadow: 20px 20px 50px 50px rgba(0,0,0,0.44);
}

.singleVideo {
  aspect-ratio: 16 / 9;
}

.videoPlaylist {
  padding-top: clamp(400px, 60%, 70vh);
}


.videoContainer img {
  width: 100%;
}

.video {
  position: absolute;
  width: 100%;
  inset: 0;
  height: 100%;
  border: none;
}

.asset-selection-container {
  display: flex;
  justify-content: center;
}
.asset-selection {
  border: solid 3px var(--clr-primary);
  max-width: 800px;
  margin: 0.5rem auto;
  padding: 0.5rem;
  font-size: clamp(1rem, 3vw, 2rem);
  text-align: center;
  color: var(--clr-primary);
}

.chatswitch {
  display: none;
  align-items: center;
  position: fixed;
  top: 50px;
  left: 50px;
  z-index: 9000000001;
}

.chatswitch h5 {
  color: var(--clr-text-contrast);
  text-align: center;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  margin-left: 1rem;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 34px;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  border-radius: 50%;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.chatswitch input:checked + .slider {
  background-color: var(--clr-text-contrast);
  /* background-color: #2196F3; */
}

.chatswitch input:focus + .slider {
  box-shadow: 0 0 1px var(--clr-text-contrast);
  /* box-shadow: 0 0 1px #2196F3; */
}

.chatswitch input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.testbox {
  width: 100px;
  height: 100px;
  background-color: orange;
}

#chatContainer {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0px auto;
  max-height: 60vh;
  max-width: 600px;
  background-color: rgba(255, 255, 255, 0.95);
  width: 100%;
  overflow: hidden;
}

#chatForm {
  background: rgba(0, 0, 0, 0.15);
  padding: 0.25rem;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  min-height: 3rem;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
}

#chatInput {
  border: none;
  padding: 0 1rem;
  flex-grow: 1;
  border-radius: 2rem;
  margin: 0.25rem;
}

#chatInput:focus {
  outline: none;
}

#chatForm > button {
  background: var(--clr-primary);
  border: none;
  padding: 0 1rem;
  margin: 0.25rem;
  border-radius: var(--border-radius-button);
  outline: none;
  color: #fff;
}

#messages {
  min-height: 230px;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

#messages > li {
  display: flex;
  text-align: left;
  padding: 0.3rem 0.75rem;
}

#messages > li:nth-child(odd) {
  background: #efefef;
}

.chat-msg-avatar {
  display: flex;
  min-width: 2.25rem;
  height: 2.25rem;
  margin-top: 3px;
  margin-right: 8px;
  border-radius: 50%;
  font-size: 1rem;
  justify-content: center;
	align-items: center;
  font-weight: 500;
  color: white;
}

.chat-msg-info {
  font-size: 0.8rem;
  font-weight: 700;
}

.chat-msg-info span {
  font-weight: 300;
}

.chat-msg-text {
  line-height: 1.2rem;
}

/*********************************/
/*      FORM / CENTRE BLOCK      */
/*********************************/

.boxed-text {
  margin: 10px 10px 20px;
  padding: 25px 15px;
  max-width: 600px;
  border: solid 5px var(--clr-primary);
  border-radius: var(--border-radius-box);
  text-align: center;
  background-color: hsl(0, 0%, 100%, 0.75);
  box-shadow:  20px 20px 40px #bebebe,
            -20px -20px 40px #ffffff,
            inset 5px 5px 10px #bebebe,
            inset -5px -5px 10px #ffffff;
}

.boxed-text h2 {
  font-family: var(--ff-sans-condensed);
  line-height: 1.6rem;
  font-weight: 900;
  padding-bottom: 0.5rem;
}

.boxed-text h3 {
  line-height: 1.25rem;
  letter-spacing: 0.02rem;
  font-weight: 500;
  padding-bottom: 0.5rem;
}

.boxed-text h5 {
  font-style: italic;
  font-weight: 300;
  line-height: 1rem;
  letter-spacing: 0.175rem;
  margin-bottom: 20px;
}

.boxed-text-list {
  max-width: 400px;
  margin: 0 auto;
}

.boxed-text-list li {
  text-align: left;
  list-style: square;
  margin-left: 1rem;
  line-height: 1.3rem;
  padding-bottom: 0.8rem;
}

.boxed-text-list ul {
  padding-left: 10px;
}

.boxed-text form {
  margin: 0 auto;
  max-width: 300px;
  display: flex;
  flex-direction: column;
}


.boxed-text ul {
  text-align: left;
  list-style-type: square;
  padding: 1rem 0 1rem 2rem;
}


.form-button,
.form-button-secondary {
  min-width: 20ch;
  text-align: center;

  margin: 0.5rem auto;
  border-radius: var(--border-radius-button);
  transition: 0.25s;
}

.form-button {
  color: var(--clr-text-contrast);
  background-color: var(--clr-primary);
  border: solid 3px var(--clr-primary);
}

.form-button-secondary {
  color: var(--clr-primary);
  background-color: var(--clr-grey-vlt);
  border: solid 3px var(--clr-text-contrast);
}

.form-button-secondary:hover,
.form-button:hover {
  color: var(--clr-primary);
  background-color: var(--clr-text-contrast);
  cursor: pointer;
}

.button-padding {
  padding: 0.5rem 1rem;
}

.forgotpassword {
  display: flex;
  flex-direction: column;
}

.formStatus {
  text-align: center;
  color: var(--clr-primary);
  font-size: 0.8rem;
}



/*********************************/
/*             STRIPE            */
/*********************************/

.hidden {
  display: none;
}

#payment-message {
  color: rgb(105, 115, 134);
  font-size: 16px;
  line-height: 20px;
  padding-top: 12px;
  text-align: center;
}

#payment-element {
  margin-bottom: 24px;
  padding: 2rem;
}

#payment-form {
  padding: 20px;
  max-width: 450px;
  margin: 50px auto;
  background-color: var(--clr-grey-vlt);
  border: solid 3px var(--clr-primary);
  border-radius: 8px;
}

#payment-form button {
  width: 100%;
}


/* spinner/processing state, errors */
.spinner,
.spinner:before,
.spinner:after {
  border-radius: 50%;
}
.spinner {
  color: #ffffff;
  font-size: 22px;
  text-indent: -99999px;
  margin: 0px auto;
  position: relative;
  width: 20px;
  height: 20px;
  box-shadow: inset 0 0 0 2px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.spinner:before,
.spinner:after {
  position: absolute;
  content: "";
}
.spinner:before {
  width: 10.4px;
  height: 20.4px;
  background: #5469d4;
  border-radius: 20.4px 0 0 20.4px;
  top: -0.2px;
  left: -0.2px;
  -webkit-transform-origin: 10.4px 10.2px;
  transform-origin: 10.4px 10.2px;
  -webkit-animation: loading 2s infinite ease 1.5s;
  animation: loading 2s infinite ease 1.5s;
}
.spinner:after {
  width: 10.4px;
  height: 10.2px;
  background: #5469d4;
  border-radius: 0 10.2px 10.2px 0;
  top: -0.1px;
  left: 10.2px;
  -webkit-transform-origin: 0px 10.2px;
  transform-origin: 0px 10.2px;
  -webkit-animation: loading 2s infinite ease;
  animation: loading 2s infinite ease;
}

@-webkit-keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/********************/
/*   ADMIN PAGES    */
/********************/

.adminContent {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 10px auto;
  gap: 2rem;
  padding: 10px;
  /* margin-left: auto;
  margin-right: auto; */
}

.admin-section {
  display: flex;
  flex: 0 1 375px;
  flex-direction: column;
}

.adminPageTitle {
  display: flex;
  flex-grow: 1;
  justify-content: flex-end;
  margin-bottom: 25px;
  border: solid 3px var(--clr-primary);
  border-radius: 20px;
}

.adminPageTitle button {
  border: 2px solid var(--clr-primary);
  border-radius: 0px 12px 12px 0px;
}

.adminPageTitle button,
.speakerAllHeader button,
.speakerGroupHeader button {
  width: 3rem;
  font-size: var(--fs-500);
}

.speakerInAll button,
.speakerInGroup button {
  width: 4rem;
  font-size: var(--fs-400);
}

.adminPageTitle h1 {
  text-align: center;
  flex: auto;
}

.speakerTable {
  flex-grow: 1;
  /* border: solid 3px red; */
  text-align: center;
}

.speakerGroupHeader,
.speakerAllHeader {
  display: flex;
  background-color: var(--clr-primary);
}

.speakerAllHeader,
.speakerAllHeader button,
.speakerGroupHeader,
.speakerGroupHeader button {
  border-radius: 15px 15px 0px 0px;
}

.speakerAllHeader h2,
.speakerGroupHeader h2 {
  padding: 0.5rem 0px;
  flex-grow: 1;
  /* padding-top: 0.5rem; */
  color: var(--clr-text-contrast);
}

.speakerInAll,
.speakerInGroup {
  display: flex;
  padding: 6px 0px;
}

.speakerInAll,
.speakerInGroup {
  border-color: var(--clr-primary);
  border-style: solid;
  border-width: 0px 1px 1px 1px;
}

.speakerInAll p,
.speakerInGroup p {
  flex-grow: 1;
  font-size: var(--fs-400);
}

.speakerInAll a {
  width: 100%;
}

.no-border {
  border: none;
}

.btn-pointer {
  cursor: pointer;
}

.btn-grab {
  cursor: grab;
}

.btn-primary svg {
  color: var(--clr-primary);
}

.btn-contrast {
  background-color: var(--clr-primary);
}

.btn-contrast svg {
  color: var(--clr-text-contrast);
}

.btn-add-bottom {
  flex-grow: 1;
  color: var(--clr-primary);
}
.speaker-group {
  margin-bottom: 20px;
}

.wide-form {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

#bio {
  min-height: 200px;
}

.drop-zone {
  padding: 3px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 10px 0px 40px;
  /* margin-right: auto;
  margin-left: auto; */
}

.drop-zone-input {
  display: none;
}

.drop-zone-small {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.drop-zone-small .drop-zone-thumb {
  border-radius: 50%;
}

.drop-zone-medium {
  max-width: 500px;
  aspect-ratio: 4/3;
}

.drop-zone-large {
  max-width: 500px;
  aspect-ratio: 16/9;
}

.drop-zone-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-button);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--clr-primary-lt);
}

.drop-zone-thumb::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 5px 0;
  color: var(--clr-text-contrast);
  background: var(--clr-primary) 0.5;
  text-align: center;
}

.drop-zone-text {
  color:hsl(0, 0%, 60%);
}

.drop-zone span {
  font-size: var(--fs-400);
  padding: 15px;
}

.drop-zone label {
  position: absolute;
  inset: 0;
}

.circle {
  border-radius: 50%!important;
}

label span {
  font-size: var(--fs-200);
  font-style: italic;
}

/*********************************/
/*            FOOTER             */
/*********************************/

footer p{
  color: var(--clr-grey-dk);
}

footer {
  /* color: var(--clr-off-black); */
  background-color: transparent;
  /* margin-top: 64px;
  margin-bottom: 80px; */
  margin: 10px auto;
  padding: 0px 20px;
  text-align: center;
  font-size: 0.7rem;
  /* min-height: 100px; */
}

.footer-image {
  max-width: 512px;
  margin: 0.5rem auto;
}

.footer-text {
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: 0.875rem;
}

footer strong {
  font-weight: 500;
}

footer a{
  color: var(--clr-grey-dk);
  font-weight: 400;
  transition: 0.25s;
}

footer a:hover {
  color: var(--clr-primary-lt);
}

/*********************************/
/*      small-Desktop layout     */
/*********************************/

@media only screen and (min-width: 400px) {

  .section-splash {
    aspect-ratio: 4/3;
  }

  .nav-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--card-width-home), 1fr));
    gap: 1.5rem;
    padding: 15px;
    max-width: 1200px;
    margin: 0px auto; 
  }
/* 
  .recogntion-container {
    grid-template-columns: repeat(auto-fit, minmax(var(--card-width-home), 1fr));
  } */

  .column-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }

  .column-3 {
    grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
  }

  .column-4 {
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  }

  .column-gallery {
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  }

  .footer {
    margin-top: 64px;
    margin-bottom: 80px;
  }
}

/*********************************/
/*       mid-Desktop layout      */
/*********************************/

@media only screen and (min-width: 700px) {



  .section-splash {
    aspect-ratio: 16/7;
  }

  .modalpckg-flag {
    max-width: 200px;
  }
  
  .modal-price {
   Font-size: 7rem;
  }

  /* .videoPlaylist {
    margin: 1vw 25vw;
  } */

  .singleVideo {
    /* margin: 1vw 8vw; */
    margin: 0 auto;
  }
  /* .counter-unit {
    width: 8rem;
  }
  
  .counter-unit > div {
    font-size: 4rem;
  } */

}

/*********************************/
/*     main Desktop layout       */
/*********************************/

@media only screen and (min-width: 870px) {

  .videoPlaylist {
    margin: 1vw 15vw;
  }

  .boxed-text {
    margin: 20px auto;
  }

  .menu-bar {
    padding-left: 5%;
    padding-right: 3%;
  }

  .menu-bar a{
    color: var(--clr-primary);
    font-size: 1.2rem;
    opacity: 1;
  }

  /* .navigation a:hover {
    color: var(--clr-primary);
    background-color: #ffffff;
    border: 2px solid var(--clr-primary);
  } */

  .nav-toggle-label{
    display: none;
  }

  .header {
    display: block;
  }

  .navigation {
    all: unset;
    display: block;
    width: 100%;
    position: relative;
    background: none;
    transform: scale(1, 1);
  }

  .navigation a{
    display: inline-block;
    font-weight: 400;
  }

  .navigation ul {

    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
  }
  
  .navigation ul li {
    position: relative;
    margin: 0px;
    /* text-transform: uppercase; */
    padding-left: 5px;
    color: white;
    transition: 0.5s;
  }

  .navigation ul li ul {
    text-align: right;
    display: none;
    position: absolute;
    right: -15px;
    padding-top: 10px;
  }

  .navigation ul li:hover ul {
    display: block;
  }

  .navigation ul li ul li {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 15px;
    background-color: var(--sip-arctic-blue);
    /* transition: 0.5s; */
  }

  .navigation ul li ul li a {
    font-size: 0.9rem;
    font-weight: 500;
    /* color: rgba(255, 255, 255, 0.9); */
    transition: 0.5s;

  }

  /* .navigation ul li ul li:hover,
  .navigation ul li ul li:hover a{
    background-color: var(--sip-teal);
    color: var(--sip-arctic-blue);
  } */

  .navigation ul li a {
    position: relative;
    border-radius: var(--border-radius-button);
    overflow: hidden;
  }

  .navigation ul li a span {
    position: relative;
    z-index: 100;
    transition: 1s;
  }

  .navigation ul li a:hover .wave {

    top: 0;
  }
  
  .navigation ul li a:hover span {
    color: white;
  }

  .wave {
    /* display: none; */
    display: block;
    position: absolute;
    top: calc(100% + 22px);
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-primary);
    transition: 1s;
  }

  .wave:before {
    content: '';
    position: absolute;
    top: -22px;
    left: 0;
    width: 100%;
    height: 22px;
    background: url('../images/wave2.svg');
    animation: wave 0.5s linear infinite;
  }

  @keyframes wave {
    0% {
      /* background-position: 0; */
      background-position-x: 0;
      /* background-position-y: -22px; */
    }
    100% {
      background-position-x: 77px;
      /* background-position-y: -22px; */
    }
  }

  .nav-thumb {
    margin: 25px;
  }

  .auction-item-card .auction-item-sub-section:nth-of-type(2) .auction-section {
    margin-bottom: 35px;
  }

  .page-body {
    /* margin-top: 10px; */
    padding: 25px;
  }

  /* .menu-bar img {
    display: inline-block;
    position: absolute;
    left: -15px;
    width: 1.5rem;
  } */
}


/*********************************/
/*      large-Desktop layout     */
/*********************************/

@media only screen and (min-width: 1400px) {

  .section-splash {
    aspect-ratio: 3/1;
  }
}

/*********************************/
/*      jumbo-Desktop layout     */
/*********************************/

@media only screen and (min-width: 2000px) {

  .section-splash {
    aspect-ratio: 4/1;
  }
}

/************************************/
/* LOADER https://loading.io/css/ */
/************************************/

.lds-hourglass {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  }

.lds-hourglass:after {
  content: " ";
  display: block;
  border-radius: 50%;
  width: 0;
  height: 0;
  margin: 6px;
  box-sizing: border-box;
  border: 8px solid var(--clr-primary);
  border-color: var(--clr-primary) transparent var(--clr-primary) transparent;
  animation: lds-hourglass 1.2s infinite;
  }

@keyframes lds-hourglass {
  0% {
    transform: rotate(0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  50% {
    transform: rotate(900deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  100% {
    transform: rotate(1800deg);
  }
}

.content-active {
  display: block;
}

.content-flex {
  display: flex;
}

.content-inactive {
  display: none;
}

.modal-spkr-active {
  display: block;
  /* transform: translateY(0px); */
  opacity: 1;
  /* transition: transform 0.5s, opacity 0.5s; */
}

.modal-pckg-active {
  display: flex;
  opacity: 1;
}

.year-button-active {
  font-weight: 900;
}

.modal-photo-active {
	display: block;
	opacity: 1;
}