/* festival at mt si css */

/*********** remove browser defaults ***********/
h1 {
  margin-top: 1.5em;
}

h2 {
  margin-top: 1.4em;
}

/* h3 {
  margin-top: 1.3em;
} */

h4,
h5,
h6 {
  margin-top: 1.2em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1em;
}

p {
  margin: 0 auto 1em;
}

header,
footer,
nav,
section,
article,
hgroup,
figure {
  display: block;
}
legend {
  display: none;
}

/*********** full page background ***********/

div#preload {
  display: none;
}

html.one {
  height: 100%;
  width: 100%;
  background: url(https://www.festivalatmtsi.org/images/backgrounds/background_1.jpg)
    no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
html.two {
  height: 100%;
  width: 100%;
  background: url(https://www.festivalatmtsi.org/images/backgrounds/background_2.jpg)
    no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
html.three {
  height: 100%;
  width: 100%;
  background: url(https://www.festivalatmtsi.org/images/backgrounds/background_3.jpg)
    no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
html.four {
  height: 100%;
  width: 100%;
  background: url(https://www.festivalatmtsi.org/images/backgrounds/background_4.jpg)
    no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
html.five {
  height: 100%;
  width: 100%;
  background: url(https://www.festivalatmtsi.org/images/backgrounds/background_5.jpg)
    no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/*********** html & structure basic rules ***********/

body {
  height: 100%;
  font-weight: normal;
  font-family: "Noto Sans Display", sans-serif;
  font-size: 100%;
  color: #000000;
}
.wrapper {
  min-height: 100%;
  margin: 0 auto; /* the bottom margin is the negative value of the footer's height */
  width: 100%;
  padding: 12em 1em;
}

.wrapper > .centered {
  padding: 10rem 0 0 0;
}
.div_is_link {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  /* edit: added z-index */
  z-index: 3;
}
img.floatright {
  float: right;
  margin: 0px;
  padding: 15px;
  border: 0px;
}
img.floatleft {
  float: left;
  margin: 0px;
  padding: 15px;
  border: 0px;
}
.border {
  border: 1px solid #333333;
}
.borderless {
  border: 0px none #ffffff;
}
ul.no-list-style,
li.no-list-style {
  list-style-type: none;
}
.image_thumbnail_blue {
  position: relative;
  float: left;
  margin: 7px;
  padding: 3px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background: #000000;
}
.image_thumbnail_blue:hover {
  background: #666666;
  -webkit-transition: background 600ms linear;
  -moz-transition: background 600ms linear;
  -o-transition: background 600ms linear;
  -ms-transition: background 600ms linear;
  transition: background 600ms linear;
}

/********** header ************/

header {
  position: fixed;
  width: 100%;
  text-align: center;
  background: #1a9b63;
  font-family: sans-serif;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  z-index: 10;
  box-shadow: 0px 5px 10px #555;
}

.navbar {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  max-width: 100vw;
  margin: 0.5rem 2rem 0.5rem 0.5rem;
  align-items: center;
  gap: 25vw;
}

.site-logo-container {
  max-width: 6rem;
  max-height: 6rem;
  float: left;
}

.site-logo-container a {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site-logo {
}

header.sticky {
  background: #77c04a;
}

.navbar-nav {
  position: relative;
  display: none;
  flex-flow: row wrap;
  justify-content: space-between;
  float: right;
  list-style: none;
}

.mobile-nav-menu-icon {
  display: block;
  padding: 3rem;
  cursor: pointer;
  float: right;
}

.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 5px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}

/* Rotate first bar */
.toggle .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

/* Fade out the second bar */
.toggle .bar2 {
  opacity: 0;
}

/* Rotate last bar */
.toggle .bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

.mobile-nav-menu-icon-line {
  width: 35px;
  height: 5px;
  background-color: #333;
  margin: 6px 0;
}

.desktop-nav {
  display: none;
  float: right;
}

#mobile-nav {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  text-align: center;
}

#mobile-nav.show {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
}

#mobile-nav .header_links {
  width: 100%;
}

.header_links {
  margin: 0;
  padding: 0.5rem;
  display: flex;
  flex-direction: row;
  float: left;
  height: 2rem;
  line-height: 2rem;
  font-size: larger;
}

.header_links:link {
  text-decoration: none;
  color: #000000;
}

.header_links:visited {
  text-decoration: none;
  color: #000000;
  font-weight: normal;
}

.header_links:active {
  text-decoration: none;
  color: #000000;
  font-weight: normal;
}

.header_links:hover,
.header_links:focus {
  text-decoration: none;
  font-weight: normal;
  color: #fff;
}

.header_links svg {
  width: 1rem;
  vertical-align: middle;
}

.dropdown {
  float: left;
  position: relative;
}

.dropbtn {
  margin: 0;
  border: none;
  outline: none;
  color: black;
  background-color: inherit;
  font-family: inherit;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 2;
  top: 3rem;
  right: 1rem;
  background-color: #ccc;
}

.dropdown-content a {
  float: none;
  text-decoration: none;
  display: block;
  text-align: left;
  width: 100%;
  height: auto;
  background-color: #ccc;
  border-radius: 0;
}

.dropdown-content a:hover {
  background-color: #25abe2;
}

.show {
  display: block;
  overflow: visible;
  border-radius: 5px;
}

/*********** body content *********/

#title_image {
  position: relative;
  float: left;
  padding-top: 80px;
  width: 50%;
  margin: 0 auto;
}

.img-container {
  text-align: center;
  margin: auto;
}

.hero-img {
  opacity: 100%;
  max-width: 100%;
}

.page_block {
  position: relative;
  display: flex;
  flex-flow: column wrap;
  flex-grow: 1;
  justify-content: center;
  clear: both;
  padding: 1rem;
  background: #fff;
  -moz-opacity: 0.9;
  line-height: 1.5em;
  border-radius: 10px;
  margin: 1rem auto;
}

.promo-video-container {
  margin: 2rem auto;
  text-align: center;
  background: none;
  padding: 0;
}

.promo-video {
  display: block;
  margin: auto;
  width: 50vw;
  height: 30vw;
  min-height: 155px;
}

.page_block_opaque {
  position: relative;
  float: left;
  clear: both;
  min-width: 500px;
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  line-height: 1.5em;
}

hr.greenfade {
  border: 0;
  height: 1px;
  background-image: linear-gradient(
    to right,
    rgba(0, 255, 0, 0),
    rgba(0, 255, 0, 0.75),
    rgba(0, 255, 0, 0)
  );
}

ul {
  margin-left: 10px;
}

p {
  display: block;
  width: 100%;
}

/* image thumbnails */
dl {
  text-align: left;
  font-size: 0.95em;
  display: block;
  width: 100%;
}

dt,
dd {
  width: 9.5em;
  float: left;
}

dt {
  margin-bottom: 5em;
}

dd {
  margin: 90px 0 0 -9.5em;
}

img.thumb {
  height: 80px;
  vertical-align: bottom;
  padding: 2px;
  background: #fff;
}

em {
  display: block;
}

dl a:hover img,
dl a:active img,
dl a:focus img {
  background: #ccc;
  -webkit-transition: background 1000ms ease-in;
  -moz-transition: background 1000ms ease-in;
  -o-transition: background 1000ms ease-in;
  transition: background 1000ms ease-in;
}

/* Button Divs */
.button {
  padding: 0.75rem;
  margin: 1rem;
  background-color: #166936;
  max-width: 10rem;
  text-decoration: none;
  text-align: center;
  border-radius: 10px;
  border: black solid 1px;
  color: white;
}

.button a,
.button a:visited {
  color: white;
}

.button:hover {
  background-color: #513190;
  color: white;
}

/* Directions - Google Map */
.map-iframe {
  width: 60vw;
  height: 60vw;
  max-width: 1080px;
  max-height: 1080px;
}

/* Parade Route */
.parade-map {
  max-width: 70vw;
}

/* Weekend Schedule */
.schedule-table {
  margin: 1em auto;
  display: grid;
  grid-template-columns: 12vw 12vw 12vw 12vw 12vw 12vw;
  line-height: initial;
  font-size: small;
}

.schedule-table > div {
  padding: 0.5em;
}

.schedule-day {
  grid-column: 1 / span 6;
}

.schedule-table > .header {
}

.schedule-item-name {
  grid-column: 4 / span 3;
}

.schedule-item-time {
  grid-column: 1 / span 1;
}

.schedule-item-location {
  grid-column: 2 / span 2;
  text-align: center;
}

.event-flyer {
  max-width: 50vw;
  max-height: 100vh;
  margin: 0 auto;
}

.fun-run-form-link {
  text-decoration: none;
}

/* Sponsor Logos */
.sponsor-app-btn-container,
.volunteer-app-btn-container,
.fun-run-app-btn-container,
.vendor-app-btn-container,
.parade-app-btn-container,
.ancestral-lands-pledge-btn-container,
.chili-app-btn-container,
.download-schedule-btn-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 1rem auto;
}

.sponsor-logos {
  text-align: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

.sponsor-logos img {
  max-width: 25vw;
  height: auto;
}

.sponsor-logo {
  max-height: 150px;
  margin: 1em auto;
}

.sponsorship-application-methods {
  max-width: 75%;
  margin: auto;
}

.sponsorship-application-methods > li {
  list-style: circle;
  margin: 1em 0;
  text-align: left;
  padding-left: 0;
}

.faq-question {
  font-style: italic;
  font-weight: bold;
}

.nbeca-personnel-photo {
  width: 60vw;
  max-width: 1080px;
}

/*********** footer ***********/

.footer {
  position: relative;
  display: flex;
  flex-direction: row;
  float: left;
  width: 100%;
  background: #333333;
  color: #ffffff;
  text-align: center;
  opacity: 0.9;
  filter: alpha(opacity=9);
  -moz-opacity: 0.9;
}
.footer_column {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  float: left;
  max-width: 27%;
  padding: 3%;
}

.footer-logo-container {
  display: block;
  width: 75%;
}

.footer-logo img {
  width: 100%;
}

/*********** fonts ***********/

h1,
h2,
h3,
h4,
h5,
h6 {
  width: 100%;
}

h1 {
  color: #006400;
  font-weight: bold;
  line-height: 1.2em;
  text-align: center;
}
h2 {
  color: #006400;
  font-weight: bold;
  line-height: 1.2em;
  text-align: center;
}
h3 {
  font-weight: bold;
  line-height: 1.2em;
  color: #1a9b63;
}

.green {
  font-size: 1.2em;
  font-weight: bold;
  color: #006400;
  text-align: center;
}
.purple {
  font-weight: bold;
  color: #4b0082;
  text-align: center;
}
.bold {
  text-decoration: none;
  font-weight: bolder;
  font-family: sans-serif;
}
.red {
  color: #ff0000;
}
.class1 a:link {
  text-decoration: underline;
  color: #000000;
  font-family: sans-serif;
}
.class1 a:visited {
  text-decoration: underline;
  color: #000000;
  font-family: sans-serif;
}
.class1 a:active {
  text-decoration: underline;
  color: #000000;
  font-family: sans-serif;
}
.class1 a:hover {
  text-decoration: underline;
  color: #3299cc;
  font-family: sans-serif;
}

.class2 a:link {
  text-decoration: underline;
  color: #006400;
  font-family: sans-serif;
}
.class2 a:visited {
  text-decoration: underline;
  color: #006400;
  font-family: sans-serif;
}
.class2 a:active {
  text-decoration: underline;
  color: #006400;
  font-family: "", sans-serif;
}
.class2 a:hover {
  text-decoration: underline;
  color: #3299cc;
  font-family: sans-serif;
}

.footer_link a:hover {
  color: #3299cc;
}

/******* forms **********/

label.contact {
  float: left;
  clear: left;
  margin: 11px 11px 0 0;
  width: 120px;
  text-align: left;
  font-weight: normal;
  font-family: serif;
  font-size: 1em;
  color: #000000;
}
label.checkbox {
  position: relative;
  float: left;
  text-align: left;
  clear: left;
  font-weight: normal;
  font-family: serif;
  font-size: 1em;
  color: #000000;
}
input[type="checkbox"] {
  float: left;
  margin: 0.5em;
}
input.contact[type="text"] {
  width: 260px;
  height: 20px;
  padding: 3px 10px 0px 10px;
  margin: 8px 0 20px 0;
  background: #f8f8ff;
  border: 1px solid #333333;
  font-weight: normal;
  font-family: serif;
  font-size: 1em;
  color: #000000;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  opacity: 0.7;
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
}
input.contact[type="password"] {
  width: 260px;
  height: 20px;
  padding: 3px 10px 0px 10px;
  margin: 8px 0 20px 0;
  background: #f8f8ff;
  border: 1px solid #333333;
  font-weight: normal;
  font-family: serif;
  font-size: 1em;
  color: #000000;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  opacity: 0.7;
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
}
input::-webkit-input-placeholder {
  font-weight: normal;
  font-family: serif;
  font-size: 1em;
  color: #000000;
}
input:-moz-placeholder {
  font-weight: normal;
  font-family: serif;
  font-size: 1em;
  color: #000000;
}
select.contact {
  background: transparent;
  width: 260px;
  height: 35px;
  padding: 5px;
  margin: 5px;
  font-size: 1em;
  font-family: serif;
  font-size: 1em;
  color: #000000;
  border: 1px solid #ccc;
}
textarea.contact {
  width: 300px;
  height: 80px;
  padding: 12px 10px 0px 10px;
  margin: 8px 0 20px 0;
  background: #f8f8ff;
  border: 1px solid #333333;
  font-weight: normal;
  font-family: serif;
  font-size: 1em;
  color: #000000;
}
textarea::-webkit-input-placeholder {
  font-weight: normal;
  font-family: serif;
  font-size: 1em;
  color: #000000;
}
textarea:-moz-placeholder {
  font-weight: normal;
  font-family: serif;
  font-size: 1em;
  color: #000000;
}
input:focus,
textarea:focus {
  background: #ededed;
  background: -moz-linear-gradient(top, #fafafa 0%, #f0f0f0 20%); /* firefox */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #fafafa),
    color-stop(20%, #f0f0f0)
  ); /* webkit */
}
input[type="submit"] {
  position: relative;
  float: left;
  margin: 15px 0 20px 0;
  padding: 5px;
  border: 1px solid #333333;
  text-decoration: none;
  font-weight: normal;
  font-family: serif;
  font-size: 1em;
  color: #ffffff;
  background: #1a9b63;
  border-radius: 5px;
  cursor: pointer;
}
input[type="submit"]:hover {
  background: #77c04a;
  -webkit-transition: background-color 600ms linear;
  -moz-transition: background-color 600ms linear;
  -o-transition: background-color 600ms linear;
  -ms-transition: background-color 600ms linear;
  transition: background-color 600ms linear;
}

.embedded-form-container {
  display: none;
}

#volunteer-registration-form iframe {
  max-width: 50%;
}

.events {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

.event-card {
  display: flex;
  min-height: 10em;
  background-color: #fff;
  max-width: 50vw;
  border-radius: 10px;
  flex-wrap: wrap;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  align-items: flex-end;
  background-position: center;
  background-size: cover;
  margin: 1em;
}

.event-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  border-radius: 10px;
}

.event-card:hover {
  cursor: pointer;
  box-shadow: 0 4px 8px #77c04a;
}

.event-title {
  color: #000;
  bottom: 0;
  margin: 0 auto;
  width: 100%;
  color: white;
  font-weight: bold;
  margin-bottom: 0;
  padding-bottom: 0;
  font-size: x-large;
  line-height: 2em;
  text-shadow: 2px 2px 5px #000;
  z-index: 1;
  padding: 0 1em;
}

#music-event {
  background-image: url("../images/2023/Entertainment/Austin Jenckes.jpg");
  background-position: top center;
}

#funrun-event {
  background-image: url("../images/funRun.png");
}

#parade-event {
  background-image: url("../images/parade.jpg");
}

#chili-event {
  background-image: url("../images/2025/chiliCookoff.jpeg");
}

/******* table css for weekend schedules**********/
.CSSTableGenerator {
  margin: 0px;
  padding: 0px;
  width: 100%;
  box-shadow: 10px 10px 5px #888888;
  border: 1px solid #e8e9ea;

  -moz-border-radius-bottomleft: 0px;
  -webkit-border-bottom-left-radius: 0px;
  border-bottom-left-radius: 0px;

  -moz-border-radius-bottomright: 0px;
  -webkit-border-bottom-right-radius: 0px;
  border-bottom-right-radius: 0px;

  -moz-border-radius-topright: 0px;
  -webkit-border-top-right-radius: 0px;
  border-top-right-radius: 0px;

  -moz-border-radius-topleft: 0px;
  -webkit-border-top-left-radius: 0px;
  border-top-left-radius: 0px;
}
.CSSTableGenerator table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
}
.CSSTableGenerator tr:last-child td:last-child {
  -moz-border-radius-bottomright: 0px;
  -webkit-border-bottom-right-radius: 0px;
  border-bottom-right-radius: 0px;
}
.CSSTableGenerator table tr:first-child td:first-child {
  -moz-border-radius-topleft: 0px;
  -webkit-border-top-left-radius: 0px;
  border-top-left-radius: 0px;
}
.CSSTableGenerator table tr:first-child td:last-child {
  -moz-border-radius-topright: 0px;
  -webkit-border-top-right-radius: 0px;
  border-top-right-radius: 0px;
}
.CSSTableGenerator tr:last-child td:first-child {
  -moz-border-radius-bottomleft: 0px;
  -webkit-border-bottom-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
.CSSTableGenerator tr:hover td {
}
.CSSTableGenerator tr:nth-child(odd) {
  background-color: #27e21d;
}
.CSSTableGenerator tr:nth-child(even) {
  background-color: #ffffff;
}
.CSSTableGenerator td {
  vertical-align: middle;
  border: 1px solid #e8e9ea;
  border-width: 0px 1px 1px 0px;
  text-align: left;
  padding: 7px;
  font-size: 10px;
  font-family: Helvetica;
  font-weight: normal;
  color: #000000;
}
.CSSTableGenerator tr:last-child td {
  border-width: 0px 1px 0px 0px;
}
.CSSTableGenerator tr td:last-child {
  border-width: 0px 0px 1px 0px;
}
.CSSTableGenerator tr:last-child td:last-child {
  border-width: 0px 0px 0px 0px;
}
.CSSTableGenerator tr:first-child td {
  background: -o-linear-gradient(bottom, #7fff00 5%, #00bf5f 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0.05, #7fff00),
    color-stop(1, #00bf5f)
  );
  background: -moz-linear-gradient(center top, #7fff00 5%, #00bf5f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#7fff00", endColorstr="#00bf5f");
  background: -o-linear-gradient(top, #7fff00, 00bf5f);

  background-color: #7fff00;
  border: 0px solid #e8e9ea;
  text-align: center;
  border-width: 0px 0px 1px 1px;
  font-size: 14px;
  font-family: Helvetica;
  font-weight: bold;
  color: #ffffff;
}
.CSSTableGenerator tr:first-child:hover td {
  background: -o-linear-gradient(bottom, #7fff00 5%, #00bf5f 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0.05, #7fff00),
    color-stop(1, #00bf5f)
  );
  background: -moz-linear-gradient(center top, #7fff00 5%, #00bf5f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#7fff00", endColorstr="#00bf5f");
  background: -o-linear-gradient(top, #7fff00, 00bf5f);

  background-color: #7fff00;
}
.CSSTableGenerator tr:first-child td:first-child {
  border-width: 0px 0px 1px 0px;
}
.CSSTableGenerator tr:first-child td:last-child {
  border-width: 0px 0px 1px 1px;
}

.sponsorship-level {
  min-width: 50%;
  max-width: 800px;
  box-shadow: #333 0px 5px 10px;
  background: #fff;
  border-radius: 10px;
  margin: 1rem auto;
  padding: 1rem;
}

.sponsorship-level-list > li {
  list-style: none;
  padding-left: 0;
}

@media only screen and (min-width: 1080px) {
  .navbar {
    gap: 0;
  }
  .desktop-nav {
    display: flex;
  }
  .mobile-nav-icon {
    display: none;
  }

  .page_block {
    min-width: 500px;
    max-width: 75vw;
    padding: 2rem;
  }
  .embedded-form-container {
    display: block;
    text-align: center;
  }
  .sponsor-logos img {
    max-width: 10vw;
  }
  .schedule-table {
    font-size: medium;
  }

  .event-card {
    width: 20%;
  }
}
