body {
  font-family: Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px 20px 30px;
}

header > * {
  margin: 0 10px;
}

header img {
  border-radius: 20px;
}

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

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

.button:not(.not-ce){
  background-color: #333;
  color: #fff;
  font-size: 16px;
  outline: none;
  border: 1px solid #222;
  border-radius: 6px;
  padding: 10px 16px;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button > * {
  margin: auto 4px;
}

.button.button-browse {
  width: auto;
  padding: 0.5em 1em!important;
}

.button-success, .button-success:hover {
  background-color: #06a213;
  border: 1px solid #0e9619;
}

.button-success:hover {
  opacity: 0.8;
}

.button.button-success.not-ce, .button.button-info.not-ce {
  width: 100%;
}

/* .button-info {
  background-color: #0087f5;
  border: 1px solid #0087f5;
} */

.button--disabled, .button--disabled:hover, .button.button--disabled:active,.button--disabled:visited, .button--disabled:focus, .button--disabled:target {
  background-color: #c7c7c7;
  border: 1px solid #dcdcdc;
  cursor: default;
  opacity: 1;
}

.hidden {
  display: none;
}

.file-selectors {
  margin-bottom: 40px;
}

.file-selectors > * {
  text-align: center;
  margin: 20px auto;
}

.download-selectors > * {
  margin: 10px auto;
}

.file-drop {      
  position: absolute;
  z-index: -1;
  opacity: 0;
  width: 100%;
  height: 100%;
  border: 2px dashed #0087f5;
}

.drop-area {
  position: relative;
  height: 100px;
  width: 100%;
}

.upload-text-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.upload-text {
  display: block;
  text-align: center;
  max-width: 90%;
}

.upload-text.error {
  color: red;
}

.desktop {
  display: none;
}

.button:active {
  opacity: 0.9;
}

.theme-selector {
  position: absolute;
  top: 0;
  right: 0;
  padding: 20px;
}

.theme-selector ion-icon {
  font-size: 30;
}

.app {
  padding-bottom: 100px;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-family: 'LibreFranklin-Thin';
  font-size: 14px;
}

footer a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin: 20px 0;
  font-family: 'LibreFranklin-Thin';
}

body.theme-light {
  background-color: #fff;
  color: #333;
}

body.theme-dark {
  background-color: #333;
  color: #e0e0e0;
}

body.theme-light .theme-selector ion-icon {
  color: #333;
}

body.theme-dark .theme-selector ion-icon {
  color: #e0e0e0;
}

body.theme-light .theme-selector .theme-icon-dark {
  display: none;
}

body.theme-dark .theme-selector .theme-icon-light {
  display: none;
}

body.theme-dark .button {
  background-color: #111;
  border-color: #111;
}

body.theme-dark .button-success {
  background-color: #006308;
  border: 1px solid #006308;
  color: #e0e0e0;
}

body.theme-dark .button-info {
  background-color: #005fad;
  border: 1px solid #005fad;
  color: #e0e0e0;
}

body.theme-dark .button--disabled {
  background-color: #262626;
  border-color: #262626;
  color: #333333;
}

body.theme-dark footer {
  background-color: #111;
}
/* Responsive */
@media (min-width: 1024px) {
  h1 {
    font-size: 2em;
  }
  .container {
    max-width: 991px;
  }
  .desktop {
    display: block;
  }
  .mobile {
    display: none;
  }
  .content {
    height: 100vh;
    justify-content: flex-start;
  }
  .columns {
    display: flex;
  }
  .columns > .column {
    flex-grow: 1;
    margin: 0 2em 0 0;
  }
  .column.is-two-thirds {
    flex-basis: 50%;
  }
  .file-drop {
    position: absolute;
    z-index: 9;
    opacity: 1;
    cursor: pointer;
  }
  .button.button-browse {
    display: none;
  }
  .upload-text-container {
    height: 100%;
    width: 100%;  
    position: absolute;
    z-index: -1;
  }
  .drop-area {
    height: 200px;
  }
  footer {
    position: absolute;
    bottom: 0;
    width: 100vw;
  }
  footer > .columns {
    display: flex;
    justify-content: space-between;
  }
  footer .column {
    display: flex;
    align-items: center;
    flex-basis: 50%;
  }
  footer .column:first-child {
    justify-content: flex-start;
  }
  footer .column:last-child {
    justify-content: flex-end;
  }
  footer .column:first-child > * {
    margin-right: 30px;
  }
}

.app label span {
  color: #fff;
  border: none;
}

.button--disabled span {
  text-shadow: none;
}

@media (max-width: 1023px) {
  .upload-text-container {
    display: none;
  }
  .drop-area {
    height: auto;
  }
  .download-selectors {
    margin-bottom: 4em;
  }
}