*, *:before, *:after {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: calc(100vh - 120px);
  margin: 0;
  padding: 60px 20px;
  font-family: "Open Sans", sans-serif;
  background: rgb(250,166,26);
  background: radial-gradient(circle, rgba(250,166,26,1) 0%, rgba(242,101,34,1) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.locked {
  max-height: 100vh;
  overflow: hidden;
}

:focus-visible {
  outline: none;
}

h1 {
  max-width: 80%;
  text-align: center;
  cursor: default;
  color: #fff;
  margin-bottom: 80px;
}

h1 span {
  opacity: 0.6;
}

h1 strong {
  font-weight: 800;
  color: #ed1845;
}

p {
  margin-top: 20px;
  font-size: 14px;
  color: #fff;
  opacity: 0.5;
}

a {
  color: #fff;
}

form {
  color: #fff;
}

fieldset {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.3);
}

fieldset + fieldset {
  margin-left: 5px;
}

legend {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

label {
  margin-right: 6px;
}

code {
  display: block;
}

.disclaimer {
  position: fixed;
  bottom: 20px;
  left: 50%;
  font-family: 12px;
  color: #fff;
  opacity: 0.5;
  transform: translateX(-50%);
}

.logo {
  width: 100px;
  position: fixed;
  bottom: 20px;
  right: 20px;
}

#preview-template {
  display: none;
}

.dz-clickable, .dz-clickable * {
  cursor: pointer;
}

.dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.dz-clickable {
  width: 830px;
  padding: 40px 50px;
  border: 2px dashed #fff;	
  background-color: rgba(255,255,255,0.15);
  transition: background-color 300ms;
}

.dropzone.dz-drag-hover {
  background-color: rgba(255,255,255,0.25);
}

.upload-zone {
  position: relative;
  display: none;
  flex-direction: column;
  width: 830px;
  font-size: 0;
  padding: 0;
  margin-top: 40px;
  background-color: rgba(255,255,255,0.1);
}

.upload-zone.active {
  display: flex;
}

.upload-zone-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 15px 10px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  font-family: "Open Sans", sans-serif;
}

.upload-zone-thumbnails {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.upload-zone-file {
  position: relative;
  width: 100%;
  margin: 2px 0;
  background-color: rgba(255,255,255,0.1);
}

.upload-zone-file .row {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-left: 15px;
  padding-right: 15px;
}

.upload-zone-file.uploading .options-panel {
  display: none;
}

.upload-zone-file img {
  width: 100px;
  margin: 10px 0;
}

.upload-zone-file-info {
  font-size: 14px;
  color: #fff;
  padding-left: 10px;
  padding-right: 10px;
  margin-right: auto;
}

.upload-zone-submit {
  width: 100%;
  padding: 15px;
  display: flex;
  justify-content: flex-end;
}

.upload-zone-file-loading-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255,255,255,0.2);
  transition: width 300ms;
}

.previews-buttons {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  padding: 10px;
}

.button-previews-cancel-all {
  display: none;
}

.dz-previews {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  padding-top: 50px;
  flex-wrap: wrap;
}

.dz-previews.active .button-previews-cancel-all {
  display: block;
}

.dz-preview {
  margin: 10px;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  color: #fff;
  background-color: rgba(255,255,255,0.1);
}

.dz-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.dz-preview-after {
  display: flex;
  margin-left: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.dz-image,
.dz-video {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  max-width: 400px;
}

.dz-image img {
  max-width: 100%;
}

.dz-video {
  overflow: hidden;
  flex-direction: column;
}

.dz-video-large {
  max-width: 600px;
}

.dz-video video {
  max-width: 100%;
}

.dz-video video[src=""] {
  height: 0;
}

.error .dz-video,
.error .dz-loading-bar {
  display: none;
}

.error .dz-loading-status {
  display: block;
  color: #ed1845;
  font-weight: bold;
  max-width: 320px;
}

.completed .dz-loading,
.completed .dz-cancel {
  display: none;
}

.dz-remove,
.dz-download {
  display: none;
}

.completed .dz-remove,
.completed .dz-download {
  display: inline-block;
}

.dz-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dz-upload-message {
  margin-top: 15px;
}

.button-primary,
.dz-message .dz-button {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Open Sans", sans-serif;
  color: #fff;
  border: none;
  padding: 8px 12px;
  background-color: #ed1845;
  outline: 2px solid #ed1845;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 2px 2px 3px 3px rgb(237 24 69 / 20%);
}

.dz-details {
  font-size: 16px;
}

.dz-filename {
  margin-top: 10px;
}

.dz-options {
  display: none;
  font-size: 16px;
  margin-top: 5px;
}

.dz-options.active {
  display: block;
}

.dz-button {
  border: 0;
  padding: 0;
  font-size: 26px;
  font-weight: bold;
  color: #fff;
  background: transparent;
}

.dz-success-mark,
.dz-error-mark {
  display: none;
}

.dz-loading {
  width: 100%;
  font-size: 14px;
}

.dz-loading-bar {
  overflow: hidden;
  height: 6px;
  flex-shrink: 0;
  box-sizing: content-box;
  position: relative;
  border-radius: 6px;
  background-color: rgba(255,255,255,0.1);
}

.dz-loading-bar > span {
  display: block;
  position: relative;
  overflow: hidden;
  transition: width 1000s cubic-bezier(0.25, 1, 0.5, 1);
  width: 0;
  height: 100%;
  border-radius: 6px;
  background-color: #fff;
}

.processing .dz-loading-bar > span {
  width: 95%;
}

.dz-preview-after video.ready {
  animation: zoom-in 6.025s linear infinite;
}

.options-panel {
  display: none;
  width: 100%;
  margin-bottom: 15px;
}

.options-panel.active {
  display: block;
}

.options-panel-content {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
}

.options-panel-template {
  display: none;
}

.options-panel-global {
  padding: 0 15px;
  margin-bottom: 5px;
}

.options-panel-buttons {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding: 15px 0 30px;
}

.button {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 15px;
  font-family: "Open Sans", sans-serif;
  border: 1px solid rgba(255,255,255,0.3);
  background-color: transparent;
  text-decoration: none;
  cursor: pointer;
}

.button + .button {
  margin-left: 5px;
}

.button:hover {
  background-color: rgba(255,255,255,0.1);
}

.dz-preview-before-details,
.dz-preview-after-details {
  width: 50%;
  padding-top: 10px;
}

.dz-preview-after-details {
  display: flex;
  margin-left: 10px;
  justify-content: flex-end;
}

.toggle-sky-previews {
  color: #fff;
  font-size: 16px;
  border: 0;
  background-color: transparent;
  margin-top: 10px;
}

.toggle-sky-previews:hover {
  text-decoration: underline;
}

.sky-previews {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  background: rgba(0,0,0,0.8);
  overflow-y: auto;
  z-index: 100;
}

.sky-previews.active {
  display: flex;
}

.sky-preview {
  position: relative;
  font-size: 0;
  margin: 10px;
  cursor: pointer;
}

.sky-preview span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(0,0,0,0.3);
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}

[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
  position: relative;
  padding-left: 28px;
  margin-right: 15px;
  cursor: pointer;
  line-height: 28px;
  display: inline-block;
  color: #fff;
  font-size: 14px;
}

[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border: 1px solid #ddd;
  border-radius: 100%;
  background: #fff;
}

[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
  content: '';
  width: 12px;
  height: 12px;
  background: #f26522;
  position: absolute;
  top: 6px;
  left: 3px;
  border-radius: 100%;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

[type="radio"]:not(:checked) + label:after {
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
}

[type="radio"]:checked + label:after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: none;
  color: #fff;
  font-size: 15px;
  background-color: rgba(255,255,255,0.1);
  font-family: "Open Sans", sans-serif;
}

option {
  color: #000;
  background-color: #fff;
}

.status {
  display: none;
  opacity: 1;
  margin-top: 40px;
  font-size: 15px;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  padding: 20px 30px;
}

.status.error {
  background: #ed1845;
}

.reset-options {
  display: block;
  border: none;
  opacity: 0.8;
  padding: 0;
  margin: 0 auto;
  color: #fff;
  text-align: center;
  text-decoration: underline;
  background-color: transparent;
}

@keyframes zoom-in {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

@media (max-width: 500px) {
  .dropzone {
    padding: 0;
    width: 100%;
    height: 150px;
  }

  p {
    text-align: center;
  }

  .disclaimer {
    left: 20px;
    transform: none;
  }

  .dz-previews {
    margin-top: 20px;
  }

  .dz-row {
    flex-wrap: wrap;
    flex-direction: column;
  }

  .dz-preview {
    display: flex;
    flex-direction: column-reverse;
    margin: 20px 0;
  }

  .dz-preview-before,
  .dz-preview-after {
    display: flex;
    flex-direction: column-reverse;
    flex-basis: auto;
  }

  .dz-preview-after {
    margin-left: 0;
    margin-top: 10px;
  }
  
  .dz-image,
  .dz-video {
    max-width: 100%;
    min-height: 100px;
  }

  .dz-button {
    font-size: 24px;
  }
}
