@import url("/?originalUrl=https%3A%2F%2Fuse.typekit.net%2Fluu3elb.css");
@import url("/?originalUrl=https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DLato");

html, body {
  margin: 0;
  min-width: 300px;
}

.MainHeader {
  background-color: #005293;
}

.MainHeader .HeaderText {
  text-align: center;
  font-family: 'Rift';
  font-size: 60pt;
  font-weight: normal;
  color: #facb00;
  line-height: 60pt;
  margin-bottom: 0;
  margin-top: 0;
}

@media only screen and (max-width: 600px) {
  .MainHeader .HeaderText {
    font-size: 50pt;
  }
}

@media only screen and (max-width: 500px) {
  .MainHeader .HeaderText {
    font-size: 30pt;
    float: left;
    margin-left: 0.4em;
  }
}

@media only screen and (max-width: 400px) {
  .MainHeader .HeaderText {
    font-size: 20pt;
  }
}

.MainNavigation {
  margin: 0 auto 0 auto;
  padding-bottom: 1em;
  text-align: center;
  clear: both;
  transform: none;
}

@media only screen and (min-width: 501px) {
  .MainNavigation {
    height: 2.5em;
  }
}

@media only screen and (max-width: 500px) {
  .MainNavigation {
    display: none;
  }
}

/** Hamburger (C) Erik Terwan, MIT License */
.MainHamburger {
  float: left;
  padding: 9px 10px;
  margin-left: 15px;
  margin-bottom: 8px;
  background-color: transparent;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  margin-top: 20px;
  cursor: pointer;
}

.MainHamburger span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #cdcdcd;
  border-radius: 3px;
}

.MainHamburger span:first-child {
  transform-origin: 0% 0%;
}

.MainHamburger span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

@media only screen and (min-width: 501px) {
  .MainHamburger {
    display: none;
  }
}

.MainNavigation ul {
  list-style: none;
  display: inline-block;
  padding-left: 0;
}

.MainNavigation ul li {
  float: left;
  position: relative;
  display: block;
}

@media only screen and (max-width: 500px) {
  .MainNavigation ul li {
    float: none;
    position: relative;
  }
}

.MainNavigation ul li a {
  position: relative;
  display: block;
  text-decoration: none;
  margin-left: 15px;
  margin-right: 15px;
  font-size: 1.3em;
  color: #facb00;
  font-family: 'Rift';
}

@media only screen and (max-width: 500px) {
  .MainNavigation ul li a {
    font-size: 2em;
  }
}

.MainNavigation ul li a:hover {
  color: white;
}

.MainAbout {
  margin: auto;
  width: 800px;
}

.MainAbout {
  font-family: 'Lato';
  font-weight: 300;
  font-size: 14pt;
  text-align: justify;
  color: #404040;
}

@media only screen and (max-width: 800px) {
  .MainAbout {
    width: 90%;
  }
  .MainAbout p {
    text-align: left;
  }
}

.MainAbout h1 {
  text-align: center;
  font-family: 'Rift';
  font-size: 30pt;
  font-weight: normal;
  color: #404040;
}


.ReminderSection .ReminderText {
  font-family: 'Lato';
  font-weight: 500;
  font-size: 14pt;
  color: #404040;
  text-align: center;
  margin-top: 2em;
}

.ReminderField {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 1em;
}

.ReminderEmail {
  font-family: 'Lato';
  font-weight: 300;
  padding: 0.5em;
  width: 60%;
  font-size: 1.4em;
  border: 1px solid #d7d7d7;
  border-right: none;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
}

.ReminderButton {
  background-color: #fae500;
  border: 1px solid #b7b7b7;
  color: #606060;
  font-family: 'Lato';
  font-weight: 500;
  font-size: 14pt;
  padding: 0 1em;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition-duration: 0.3s;
}

.ReminderButton:hover {
  background-color: #ead600;
  color: black;
}

.ContestOverview {
  margin-top: 2.5em;
  background-color: #404040;
  padding-bottom: 2em;
}

h1.NextContestTitle {
  padding-top: 0.5em;
  margin: 0;
  font-family: 'Rift';
  font-size: 40pt;
  font-weight: normal;
  color: #facb00;
  text-align: center;
  line-height: 40pt;
}

h2.NextContestDate {
  margin-top: 0.8em;
  font-family: 'Lato';
  font-size: 16pt;
  font-weight: 400;
  color: white;
  text-align: center;
  line-height: 16pt;
}

.NextContestText {
  width: 800px;
  margin: auto;
  text-align: justify;
}

.NextContestText a {
  color: #00bfff;
  font-weight: 500;

}
.NextContestText a:hover,
.NextContestText a:focus {
  color: #009fff;
  text-decoration: none;
}

@media only screen and (max-width: 800px) {
  .NextContestText {
    width: 95%;
    text-align: left;
  }
}

.ContestOverview p {
  color: white;
  font-family: 'Lato';
  font-weight: 300;
}

.RegisterButtonSection {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.RegisterButton {
  margin-top: 1em;
  margin-left: 1em;
  margin-right: 1em;
  min-width: 9em;
  background-color: #ffd10c;
  border: none;
  color: #404040;
  font-family: 'Lato';
  font-weight: 800;
  font-size: 15pt;
  padding: 0.9em 2.5em;
  box-shadow: 0px 0px 9.6px 0.4px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  text-align: center;
  border: 3px solid transparent;
  transition-duration: 0.3s;
}

.RegisterButton:hover {
  background-color: #caa711;
  color: black;
}

.FutureContests {
  font-family: 'Lato';
  box-sizing: border-box;
  background-color: #005293;
  padding-bottom: 0.5em;
}

.ContestContainer {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 10%;
  border-radius: 2px;
  position: relative;
  padding: 2em 0;
  margin-top: 2em;
  margin-bottom: 2em;
}
.ContestContainer::after {
  content: '';
  display: table;
  clear: both;
}
.ContestContainer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25px;
  height: 100%;
  width: 4px;
  background: #facb00;
}

@media only screen and (min-width: 1170px) {
  .ContestContainer {
    margin-top: 3em;
    margin-bottom: 3em;
  }
  .ContestContainer::before {
    left: 50%;
    margin-left: -2px;
  }
}

.Contest {
  position: relative;
  margin: 2em 0;
}
.Contest:after {
  content: "";
  display: table;
  clear: both;
}
.Contest:first-child {
  margin-top: 0;
}
.Contest:last-child {
  margin-bottom: 0;
}
@media only screen and (min-width: 1170px) {
  .Contest {
    margin: 4em 0;
  }
  .Contest:first-child {
    margin-top: 0;
  }
  .Contest:last-child {
    margin-bottom: 0;
  }
}

.ContestDot {
  position: absolute;
  top: 8px;
  left: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #ffd830, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
}
.ContestDot {
  background: #facb00;
}
@media only screen and (min-width: 1170px) {
  .ContestDot {
    left: 50%;
    margin-left: -15px;
    margin-top: 15px;
  }
}

.ContestBox {
  position: relative;
  margin-left: 60px;
  margin-right: 30px;
  background: #333C42;
  border-radius: 2px;
  padding: 1em;
}

.ContestBox .timeline-content-info {
    background: #2B343A;
    padding: 5px 10px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    box-shadow:  inset 0 2px 0 rgba(0, 0, 0, 0.08);
    border-radius: 2px;
}
.ContestBox i {
  margin-right: 5px;
}

.ContestBox .ContestTags {
  font-size: 12px;
  padding:0;
  margin-bottom: 0;
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
}
.ContestBox  .ContestTags li {
  background: #40484D;
  border-radius: 2px;
  display: inline-block;
  padding: 2px 10px;
  color: rgba(255,255,255,0.7);
  margin: 3px 2px;
  text-align: center;
  flex-grow: 1;
}

.ContestBox:after {
  content: "";
  display: table;
  clear: both;
}
.ContestBox h2 {
  color: rgba(255,255,255,.9);
  margin-top:0;
  margin-bottom: 5px;
}
.ContestBox p, .ContestBox .ContestDate {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
}
.ContestBox .ContestDate {
  display: inline-block;
}
.ContestBox p {
  margin: 1em 0;
  line-height: 1.6;
}

.ContestBox::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-right: 7px solid #333C42;
}

.HorizontalSpacing {

}

@media only screen and (min-width: 768px) {
  .ContestBox h2 {
    font-size: 20px;
    font-size: 1.25rem;
  }
  .ContestBox p {
    font-size: 16px;
    font-size: 1rem;
  }
  .ContestBox .cd-read-more, .ContestBox .ContestDate {
    font-size: 14px;
    font-size: 0.875rem;
  }
}
@media only screen and (min-width: 1170px) {
  .ContestBox {
    color: white;
    margin-left: 0;
    padding: 1.6em;
    width: 36%;
    margin: 0 5%
  }
  .ContestBox::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: #333C42;
  }
  .ContestBox .ContestDate {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;
    font-size: 1rem;
  }
  .Contest:nth-child(even) .ContestBox {
    float: right;
  }
  .Contest:nth-child(even) .ContestBox::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: #333C42;
  }
  .Contest:nth-child(even) .ContestBox .cd-read-more {
    float: right;
  }
  .Contest:nth-child(even) .ContestBox .ContestDate {
    left: auto;
    right: 122%;
    text-align: right;
  }
}

.Clear {
  clear: both;
}

h2 {
  text-align: center;
  font-family: 'Rift';
  font-size: 25pt;
  font-weight: normal;
  color: #404040
}

.Results {
  width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.Results td, th {
  min-width: 50px;
  text-align: left;
}
