/* Layout */
body {
  display: flex;
  flex-direction: row;
  background-color: black;
  font-family: "Open Sans", sans-serif;
  height: 100%;
  margin: 0;
}

.hidden {
  display: none;
}

*:focus {
  outline: none;
}

.mobile-nav {
  display: none;
}

.video-container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  height: 95%;
}

.video-container .current-date-time {
  display: block;
  color: white;
  text-align: center;
}

.version-heading {
  color: #68AA39;
  position: absolute;
  top: 1em;
  right: 2em;
  text-align: center;
}

.version-heading h2 {
  font-size: 1em;
  font-weight: 100;
  margin-bottom: 0.5em;
}

.version-heading .alpha {
  font-weight: 600;
}

.version-heading__link {
  color: #68AA39;
  font-size: 0.7em;
}

select {
  margin: 0;
  padding: 0.5em 0 0.5em 0;
  line-height: 1.5em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
  color: white;
  border: none;
  font-size: .7em;
  font-weight: 100;
  letter-spacing: 2px;
  background-image: linear-gradient(45deg, transparent 50%, #57C0DD 50%), linear-gradient(135deg, #57C0DD 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
}

option {
  color: black;
}

.multi-select {
  background-image: none;
}

.multi-select div {
  margin: 8px 0;
}

.method-select select,
.preset-select select {
  overflow-y: auto;
}

.multi-select .disabled-option {
  color: #66717C;
}

fieldset {
  border: none;
  text-align: left;
}

.preset-select fieldset {
  height: 90px;
  overflow-y: scroll;
}

.preset-select input {
  margin-right: 8px;
}

.date-select-container {
  display: flex;
}

.fa-caret-down {
  font-size: 1.4em;
  display: block;
  float: right;
  color: #57C0DD;
}

.logo {
  display: block;
  width: 40%;
  margin: auto;
}

.headline {
  font-size: .8em;
  font-weight: 200;
  letter-spacing: 1px;
  color: #B2C8D0;
  text-align: center;
}

.title-bold {
  text-align: center;
  margin: 0;
  color: white;
  font-weight: 400;
  font-size: 1.8em;
}

.logo-supertext {
  text-align: center;
  font-size: .2em;
  font-weight: 600;
  letter-spacing: 1px;
  color: #66717C;
}

.subheader {
  text-align: center;
  margin: 1em 0 1.2em;
  line-height: 1;
  font-size: .8em;
  font-weight: 400;
  letter-spacing: 1px;
  color: #66717C;
}

.subheader-multiline {
    margin-bottom: 5px;
}

.email-input {
  margin-top: 2em;
}

.format-selection-container {
  width: 50%;
  margin: auto;
}

/* Position Controls */
.position-controls {
  display: block;
  padding: 20px;
  min-width: 275px;
  overflow: auto;
  background-color: #38414F;
  color: #e8e8e8;
  border: 2px solid #313337;
  font-weight: 400;
}

.position-controls h3 {
  font-size: .7em;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 3.5em 0 1em 0;
  color: #E1C5A4;
  text-transform: uppercase;
}

.seek-inputs input,
.loop-inputs input {
  width: 30px;
  text-align: center;
  height: 30px;
  border-radius: 100%;
  border: none;
  font-size: 16px;
}

.date-time-text {
  font-size: .7em;
  font-weight: 100;
  letter-spacing: 2px;
}

.date-select {
  min-width: 60px;
}

.date-select.year-input {
  min-width: 65px;
}

.date-select.day-input {
  min-width: 50px;
}

.date-select.time-input {
  min-width: 100px;
}

.event-select {
  width: 100%;
}

.dropdown-hr {
  margin-left: 0;
  margin-top: 0.3em;
  border: none;
  height: 1px;
  background-color: #6F7A85;
}

.cta-button {
  display: block;
  margin: 2em auto 2em auto;
  padding: 10px 0;
  width: 70%;
  background: #57C0DD;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid #57C0DD;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0px 5px 6px 1px #00000045;
  text-decoration: none;
  text-align: center;
}

.secondary-cta {
  display: block;
  margin: 1em auto;
  padding: 10px 0;
  width: 20%;
  background: none;
  color: #66717C;
  letter-spacing: 2px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: underline;
  text-align: center;
}

.cta-button.secondary {
  color: white;
  text-align: center;
  background: transparent;
  border: none;
  width: auto;
  box-shadow: none;
  margin: 0 auto;
  text-transform: none;
  font-weight: 100;
  border-bottom: 2px solid #57C0DD;
  border-radius: 0;
  width: 70%;
}

/* Feedback form */
.feedback-form {
  max-height: 60vh;
  overflow-y: scroll;
}

.feedback-form label,
.feedback-form input {
  display: block;
  width: 90%;
}

.feedback-form input {
  margin: auto;
  background: none;
  border: none;
  border-bottom: 1px solid white;
  color: white;
  font-size: 1.2em;
  font-weight: 100;
}

.feedback-form label {
  margin: 1.5em auto;
  font-weight: 400;
  letter-spacing: 1px;
  color: #aeb8c3;
}

/* Player controls */
.goes-video-dimensions {
  width: 1080px;
  height: 1080px;
}

.video-js .vjs-time-control {
  display: none;
}
.video-js .vjs-remaining-time {
  display: none;
}

.video-js .vjs-big-play-button {
  left: 52%;
  top: 48%;
  margin-left: -1.5em;
  margin-top: -.75em;
  height: 2.5em;
  width: 2.5em;
  border: none;
  border-radius: 100%;
}

.video-js:hover .vjs-big-play-button, .video-js .vjs-big-play-button:focus {
  border-color: #57C0DD;
}

.vjs-icon-play:before, .video-js .vjs-big-play-button .vjs-icon-placeholder:before, .video-js .vjs-play-control .vjs-icon-placeholder:before {
  position: relative;
  padding: 5px;
  color: white;
  background: #57C0DD;
  border: 1px solid #57C0DD;
  border-radius: 100%;
  font-size: 1.5em;
}

.video-js {
  font-size: 16px;
}

.video-js .vjs-volume-panel {
  display: none;
}

.video-js .vjs-fullscreen-control {
  display: none;
}

.video-js .vjs-control-bar {
  background-color: rgba(0, 0, 0, 0.44);
}

.video-js .vjs-time-tooltip {
  display: none !important;
}

.video-js .vjs-play-progress {
  background-color: #7FC14E;
}

.increment-decrement-frame {
  font-size: 2.5em;
  color: #57C0DD;
}

/*HACK we're forcing these buttons out of the player*/
#goes-video > div.vjs-control-bar > button:nth-child(16) {
  position: absolute;
  top: 45px;
  left: 350px;
}

#goes-video > div.vjs-control-bar > button:nth-child(17) {
  position: absolute;
  top: 45px;
  right: 350px;
}

/*The default behavior hides the progress bar on mobile if inactive, we don't want this*/
.vjs-control-bar {
  display: block;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Release Notes */
.release-notes-content {
  text-align: left;
}

/* Mobile Layout */

@media screen and (max-width: 1024px) {
  body {
    display: block;
  }
  
  .position-controls {
    display: none;
    position: absolute;
    height: 90%;
    width: 40%;
    z-index: 9;
    font-size: 1.3em;
  }
  
  .logo-supertext {
    display: none;
  }
  
  .position-controls .logo {
    display: none;
  }
  
  .mobile-nav {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    margin: 20px;
  }
  
  .mobile-nav .fas.fa-bars {
    display: block;
    color: #57C0DD;
    font-size: 2em;
    cursor: pointer;
  }
  
  .mobile-nav .logo {
    display: block;
    width: auto;
  }
  
  .goes-video-dimensions {
    width: 100%;
    height: 1024px;
  }
  
  .date-select-container {
    display: flex;
    flex-direction: column;
  }
  
}
