* {
  box-sizing: border-box;
}

html {
  height: 100vh;
  margin: 0;
  padding: 0;
}

body {
  display: grid;
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

  align-content: stretch;
}

.container {
  display: grid;
  grid-area: page-content;
  grid-template-areas: "content-div";
}

#content {
}

#event-files-div {
  grid-area: event-files;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#event-files-div a {
  margin: 10px 0px;
}

.black {
  background-color: #000;
}

.pad-bottom {
  padding-bottom: 5px;
}

.li-white {
  color: white;
}

.reg-tracker-center-div {
  text-align: center;
}

.reg-tracker-left-header {
  text-align: left;
  margin-left: 1em;
}

.event-header {
  display: grid;
  grid-area: evt-hdr;
  margin-top: 1em;
  grid-template-rows: auto;
  grid-template-columns: minmax(5px, 2fr) minmax(5px, 5fr);
  grid-template-areas: "hdr-splash hdr-title";
  height: fit-content;
  align-items: center;
  top: 0;
  z-index: 2;
}

.hdr-splash {
  grid-area: hdr-splash;
  display: block;
}

.hdr-splash img {
  width: 13em;
  float: right;
}

.hdr-title {
  grid-area: hdr-title;
  display: flex;
  font-weight: bold;
  font-size: 40px;
  color: rgb(4 4 4);
  text-shadow: #0f75bd 1px 1px 1px;
  -webkit-font-smoothing: antialiased;
  align-content: center;
  flex-wrap: wrap;
  word-break: break-word;
  white-space: break-spaces;
  flex-direction: column;
}

.section-white {
  padding: 10px 0;
  background-color: #fff;
  color: #555;
  text-align: center;
  display: flex;
  justify-content: center;
}

.reg-tracker-section {
  grid-area: page-scroll;
}

.reg-tracker-slides {
  display: none;
}

.reg-tracker-center-div {
  text-align: center !important;
}

.reg-tracker-carousel-container {
  position: relative;
}

.reg-tracker-carousel-image {
  vertical-align: middle;
  border-style: none;
  width: 100%;
}

.w3-text-white,
.w3-hover-text-white:hover {
  color: #fff !important;
}

.w3-padding-32 {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

.w3-row-padding,
.w3-row-padding > .w3-half,
.w3-row-padding > .w3-third,
.w3-row-padding > .w3-twothird,
.w3-row-padding > .w3-threequarter,
.w3-row-padding > .w3-quarter,
.w3-row-padding > .w3-col {
  text-align: center;
}

.reg-tracker-plain-li {
  text-decoration: none;
}
.reg-tracker-flex-card {
  grid-area: flex-card;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reg-tracker-card-image {
  width: 70%;
}

.reg-tracker-card-image,
.reg-tracker-card-image:hover {
  opacity: 1;
}

#open-reg-page {
  font-weight: bolder;
  font-size: large;
}

/************************************************
                  Nav-Bar
*************************************************/
.nav-row {
  grid-area: pg-nav;
  margin-bottom: 1vh;
}

.navbar-expand-lg .navbar-collapse {
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-preferred-size: auto;
  flex-basis: auto;
}

.navbar-nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.navbar-nav .nav-link {
  padding-right: 0;
  padding-left: 0;
  color: inherit;
  font-weight: inherit;
  background: 0 0;
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/************************************************
                  Event Header
*************************************************/
#header-content {
  position: relative;
}

#header-backdrop {
  display: flex;
  justify-content: center;
  margin-top: 5em;
}

#header-text {
  position: absolute;
  top: clamp(5em, 2vh, 9em);
  -ms-transform: translate(-50%, 0%);
  text-align: center;
  z-index: 2;
}

.header-paragraph-title {
  font-size: clamp(16px, 5vw, 80px);
  color: whitesmoke;
  -webkit-text-stroke-width: clamp(0.5px, 0.4vw, 3px);
  -webkit-text-stroke-color: black;
  font-weight: 800;
  margin: 0em 3em;

}

@media screen and (max-width: 575px) {
  .header-paragraph-title {
    -webkit-text-stroke-width: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  }
}

.header-paragraph-date {
  font-size: clamp(16px, 5vw, 37px);
  line-height: 150%;
  color: whitesmoke;
  -webkit-text-stroke-width: clamp(0.1px, 0.3vw, 1.5px);
  -webkit-text-stroke-color: black;
  font-weight: 600;
}

@media screen and (max-width: 575px) {
  .header-paragraph-date {
    -webkit-text-stroke-width: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  }
}

#header-backdrop-image {
  vertical-align: middle;
  border-style: none;
  width: 100%;
}

.open-reg-page-button.header-paragraph-button{
     background-color: rgb(61, 104, 137);
  color: rgb(255, 255, 255);
  border-radius: 25px;
  font-size: clamp(14px, 2.5vw, 18px);
  padding: 12px 28px;
  text-decoration: none;
  display: inline-block;
  padding: 0;
   z-index: 950;


    pointer-events: auto;
}

.nav-registration-link-button,
.registration-link-button,
.registration-link-embedded-button {
  background-color: rgb(61, 104, 137);
  color: rgb(255, 255, 255);
  border-radius: 30px;
  font-size: clamp(16px, 2vw, 30px);
  padding: 8px;
  z-index: 2;
}

.nav-registration-link-button {
  font-size: large;
}

.registration-link-button {
  position: absolute;
  bottom: 5%;
}

#nav-link {
  position: absolute;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  float: right;
  right: 0;
}

/************************************************
                      Clock
  *************************************************/
#clock-div {
  background-color: #00000059;
  display: flex;
  align-content: center;
  align-items: center;

  justify-content: center;
}

.clock-element {
  padding: 0 1em;
  display: flex;
  align-items: center;
  flex-flow: column-reverse;
  font-size: large;
  color: black;
}

.clock-element span {
  font-size: xxx-large;
  color: black;
}

/************************************************
                      Badges
*************************************************/

.container-wrapper {
  width: 90%;
  margin: 0 auto;
}

.bdg-title {
  text-align: center;
  font-size: 2em;
  margin-bottom: 55px;
  color: #555555;
}

#badge-container {
  padding: 20px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
}

.badge {
  width: 290px;
  font-family: Helvetica, serif;
  background-color: white;
  margin-bottom: 30px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  font-weight: 100;
  overflow: hidden;
  text-align: center;
}

.badge-header {
  height: 115px;
  background: rgb(34, 193, 195);
  background: linear-gradient(0deg, rgba(34, 193, 195, 1) 0%, rgba(45, 94, 253, 1) 100%);
  background-position: left top, center center;
  background-attachment: scroll, fixed;
  overflow: hidden;
}

.badge-avatar {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  border: 5px solid #fff;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
  margin-top: -75px;
  position: relative;
}

.badge-name {
  font-size: 1.4em;
  margin-bottom: 5px;
}

.badge-role {
  color: #777;
  font-size: 1em;
  margin-bottom: 25px;
  white-space: break-spaces;
}

.badge-desc {
  font-size: 0.85rem;
  line-height: 20px;
  white-space: normal;
}

.badge-foot {
  color: #fff;
  background: rgb(34, 193, 195);
  background: linear-gradient(180, rgba(34, 193, 195, 1) 0%, rgba(45, 94, 253, 1) 100%);
  padding-top: 13px;
  padding-bottom: 13px;
  display: flex;
  justify-content: center;
}

span.badge-link:empty {
  display: block;
  height: 35px;
  width: 35px;
}

span.badge-link:not(:empty) {
  line-height: 35px;
  font-weight: 700;
  border-radius: 100%;
  margin: 0 10px;
  color: #a290a5;
  display: block;
}

/************************************************
                 Map
*************************************************/
.location-map {
  height: 30em;
  margin: 1em;
  z-index: 5000;
}

/************************************************
                 Featured Event
*************************************************/

.featured-event-image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  margin: auto;
}

.featured-event-image {
  opacity: 0.5;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-cover-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2); /* Black with opacity */
  z-index: 1;
}

.featured-image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.featured-image-text div {
  font-weight: bold;
  color: black;
  margin-bottom: 1em;
}

.featured-image-text .registration-link-embedded-button {
  margin-top: 1em;
}

#featured-event-2{
	padding-bottom: 2em;
}

@media (min-width: 601px) {
  .w3-col.m4,
  .w3-third {
    width: 25%;
  }

  .reg-tracker-flex-card {
    flex-direction: row;
  }
}

.w3-container,
.w3-panel {
  padding: 0.01em 16px;
}

.w3-display-bottommiddle {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
}

#event-carousel {
  overflow: hidden;
  margin-bottom: 1em;
}

.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
}

.img-responsive,
.thumbnail > img,
.thumbnail a > img,
.carousel-inner > .carousel-item > img,
.carousel-inner > .carousel-item > a > img {
  width: 57%;
  height: auto;
  line-height: 1;
}

.carousel-indicators {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 15;
  margin: 0;
  padding: 0 25px 25px 0;
  text-align: right;
}

.carousel-control-prev {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%);
  background-repeat: repeat-x;
  width: 20%;
  margin-left: 3em;
}

.carousel-control-next {
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%);
  background-repeat: repeat-x;
  width: 20%;
  margin-right: 3em;
}

.carousel-control-prev .fas::before,
.carousel-control-next .fas::before {
  color: #000;
  font-size: xx-large;
}

.event-content {
  display: grid;
  grid-area: evt-content;
  grid-template-areas: "event-paragraph";
  margin: 15px 5px;
}

.event-paragraph {
  grid-area: event-paragraph;
  color: black;
  font-size: clamp(16px, 2vw, 30px);
  display: block;
  overflow-y: auto;
}

.status-message {
  text-align: center;
}

.status-message p {
  font-size: large;
  font-weight: bold;
}

.registration-content {
  display: grid;
  font-size: clamp(16px, 2vw, 30px);
  grid-area: reg-link;
  margin-left: auto;
  margin-right: auto;
  color: black;
  cursor: pointer;
  padding: 0;
}

.bottom-right {
  grid-area: credits;
  padding: 5px;
  bottom: 0;
  right: 0;
  font-size: 18px;
  color: rgba(229, 227, 213, 1);
  text-shadow: #000 1px 1px 1px;
  -webkit-font-smoothing: antialiased;
  display: grid;
  justify-items: end;
  align-items: end;
  position: sticky;
  bottom: auto;
}

@media screen and (min-width: 1200px) {
  .container {
    max-width: 95vw;
  }

  .event-paragraph {
    grid-area: event-paragraph;
    display: block;
    font-size: larger;
  }

  .hdr-title {
    font-size: 3em;
  }

  .bottom-right {
    bottom: 5px;
  }

  .img-responsive,
  .thumbnail > img,
  .thumbnail a > img,
  .carousel-inner > .carousel-item > img,
  .carousel-inner > .carousel-item > a > img {
    width: 57%;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 95vw;
  }
  .event-header {
    display: grid;
    grid-area: evt-hdr;
    grid-template-rows: auto auto;
    grid-template-columns: auto;
    grid-template-areas:
      "hdr-splash"
      "hdr-title";
    justify-items: center;
    justify-content: center;
  }

  .hdr-splash img {
    width: 7em;
    margin-left: 0px;
    padding: 0px;
  }

  .hdr-title {
    font-size: 2em;
    flex-direction: row;
    text-align: center;
  }

  .carousel-container {
    max-width: 930px;
  }

  .img-responsive,
  .thumbnail > img,
  .thumbnail a > img,
  .carousel-inner > .carousel-item > img,
  .carousel-inner > .carousel-item > a > img {
    width: 57%;
  }

  .description {
    margin: 5px;
  }

  .event-content {
    /* max-height: 18em; */
  }

  .registration-content {
    display: grid;
    grid-area: reg-link;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    padding-top: 0em;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 95vw;
  }
  .hdr-splash {
    margin-top: 1em;
  }

  .section-white {
    padding: 1.5em 0;
  }

  .hdr-splash img {
    width: 7em;
    margin-left: 0px;
    padding: 0px;
  }

  .hdr-title {
    font-size: 3em;
    flex-direction: column;
  }

  .img-responsive,
  .thumbnail > img,
  .thumbnail a > img,
  .carousel-inner > .carousel-item > img,
  .carousel-inner > .carousel-item > a > img {
    width: 68%;
  }

  .carousel-control-prev {
    margin-left: 24px;
    width: 13vw;
  }

  .carousel-control-next {
    margin-right: 24px;
    width: 13vw;
  }

  .event-content {
    /* max-height: 15em; */
  }
  .registration-content {
    display: grid;
    grid-area: reg-link;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    padding-top: 0em;
  }
}

@media screen and (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 95vw;
  }
  #content {
    grid-template-rows: auto auto auto auto;
  }

  .hdr-splash {
    margin-top: 32px;
  }
  .hdr-splash img {
    width: 7em;
  }

  .hdr-title {
    font-size: 2em;
  }

  .img-responsive,
  .thumbnail > img,
  .thumbnail a > img,
  .carousel-inner > .carousel-item > img,
  .carousel-inner > .carousel-item > a > img {
    width: 71%;
  }
  .carousel-control-prev {
    margin-left: 24px;
    width: 13vw;
  }

  .carousel-control-next {
    margin-right: 24px;
    width: 13vw;
  }

  .event-content {
    /* max-height: 20em; */
  }
}

@media screen and (max-width: 575px) {
  .container {
    padding-left: 0px;
    padding-right: 0px;
    margin-right: auto;
    margin-left: auto;
    max-width: fit-content;
  }

  .event-header {
    display: grid;
    grid-area: evt-hdr;
    grid-template-rows: auto auto;
    grid-template-columns: auto auto auto;
    grid-template-areas:
      ". hdr-splash ."
      ". hdr-title .";
    padding-top: 30px;
    padding-bottom: 0em;
    justify-items: center;
    align-items: start;
  }

  .img-responsive,
  .thumbnail > img,
  .thumbnail a > img,
  .carousel-inner > .carousel-item > img,
  .carousel-inner > .carousel-item > a > img {
    width: 66%;
  }

  .carousel-control-prev {
    margin-left: 24px;
    width: 13vw;
  }

  .carousel-control-next {
    margin-right: 24px;
    width: 13vw;
  }

  .carousel-control-prev .fas::before,
  .carousel-control-next .fas::before {
    font-size: x-large;
  }

  .event-content {
    display: grid;
    grid-area: evt-content;
    grid-template-rows: auto;
    grid-template-columns: auto;
    grid-template-areas: "event-paragraph";
    height: max-content;
    /* overflow-y: auto; */
    /* max-height: 31em; */
    /* margin: 0 1em; */
  }

  .event-paragraph {
    grid-area: event-paragraph;
    /* margin: 0 1em; */
    display: block;
    justify-items: stretch;
    overflow-y: auto;
    font-size: smaller;
  }

  .hdr-splash {
    margin-top: 0;
  }

  .hdr-splash img {
    width: 4em;
  }

  .hdr-title {
    font-size: 15px;
  }

  .registration-content {
    display: grid;
    grid-area: reg-link;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }
}
@media only screen and (min-width: 576px) and (max-width: 767px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
  .container {
    max-width: 95vw;
    grid-template-rows: minmax(5px, 5em) minmax(5px, 32em) minmax(5px, auto);
    grid-template-columns: minmax(0vw, auto) minmax(90vw, auto) minmax(0vw, auto);
  }

  .event-header {
    margin-top: 0;
    grid-template-areas: "hdr-splash hdr-title";
  }

  .hdr-title {
    font-size: 25px;
  }

  .hdr-splash img {
    width: 4em;
    margin-left: 0px;
    padding: 0px;
  }

  .event-paragraph {
    grid-area: event-paragraph;
    display: block;
    overflow-y: auto;
  }

  .reg-modal-content {
    margin: 0;
    max-width: 31vw;
    min-width: 38em;
    overflow-y: auto;
    max-height: 800px;
  }

  #attendee-modal-form {
    grid-area: form;
    justify-content: space-between;
    width: 34em;
    display: inline-block;
    height: 6em;
    overflow-y: auto;
    padding: 2px 10px 0px 10px;
    margin: 1em;
  }

  .name-fr {
    display: grid;
    grid-gap: 1em;
    grid-template-rows: auto;
    grid-template-columns: auto auto;
    grid-template-areas: "fn ln";
  }

  .reg-error-msg {
    display: flex !important;
    min-height: 60px;
    overflow-y: auto;
    flex-direction: column;
    flex-wrap: nowrap;
    max-height: 60px;
    padding: 0em 1em;
    height: 60px;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .bottom-right {
    bottom: 0px;
  }
}
