
/* ==========================================================================
   Summary

   1 = Basic Style
   2 = Copyright
   3 = Options
   4 = Upload
   5 = Terms of service
   6 = Install
   7 = Admin
   8 = Download page

   ========================================================================== */

/* ==========================================================================
   1 = Basic Style
   ========================================================================== */

body {
  background: #ffffff;
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  color: #1c1c1c;
  margin: 0;
  line-height: 1.6;
  border-top: 3px solid #0469b2;
}

#content {
  padding: 2em;
}

h1 a {
  display: block;
  background: url(logo.png) no-repeat center;
  background-size: contain;
  text-indent: -9999px;
  width: 231px;
  height: 131px;
  margin: 1em auto;
}

h2 {
  text-align: center;
  font-family: Tinos, "Times New Roman", Times, serif;
  font-weight: 700;
  line-height: 1.25;
  color: #000000;
}

table a {
  color: #03558f;
}

table a:hover,
table a:focus {
  color: #04406c;
  text-decoration: none;
}

input[type="submit"] {
  background: #0469b2;
  border: 0;
  border-radius: 4px;
  padding: 0.5em 2.2em;
  font-size: 1em;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  margin: 10px;
}

input[type="submit"]:hover {
  background: #03558f;
}

input[type="submit"]:active {
  background: #04406c;
}

input[type="submit"]:focus {
  background: #03558f;
  outline: none;
  box-shadow: 0 0 0 3px rgba(4, 105, 178, 0.35);
}

select,
input[type="text"],
input[type="password"] {
  border: 1px solid #c9c9c9;
  border-radius: 4px;
  background: #fff;
  color: #1c1c1c;
  padding: 5px 5px;
  font-size: 1em;
}

select:focus,
input[type="text"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: #0469b2;
  box-shadow: 0 0 0 3px rgba(4, 105, 178, 0.35);
}

select { width: 100%; }

.inner {
  margin-top: 3em;
}

fieldset {
  padding: 1.5em;
  margin: 0 auto;
  border-radius: 4px;
  width: 20em;
  min-height: 15em;
  min-width: 30em;
  position: relative;
  background: #fff;
  border: 1px solid #e3e3e3;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 8px rgba(0, 0, 0, 0.05);
}

legend {
  padding: 0.5em 1em;
  background: #0469b2;
  color: #fff;
  border-radius: 4px;
  font-family: Tinos, "Times New Roman", Times, serif;
  font-size: 1.2em;
  display: block;
  min-width: 8em;
  text-align: center;
}

#upload fieldset {
  background: #fff url(upload.svg) no-repeat center;
  border: 3px dashed #b7d6ec;
  transition: border-color 0.12s cubic-bezier(0.2, 0, 0.2, 1);
}

#upload fieldset:hover {
  border-color: #0469b2;
}

#upload > form {
  text-align: center;
}

#upload p {
  margin: 0;
}

#file_select {
  position: relative;
  width: 100%;
  height: 16em;
  cursor: pointer;
  opacity: 0;
}
  #upload.file-selected #file_select {
    opacity: 1;
    height: 2em;
  }
  #upload.file-selected fieldset {
    background-image: none;
  }


/* ==========================================================================
   2 = Copyright
   ========================================================================== */

#copyright {
  text-align: center;
  font-size: 0.8em;
  color: #7c7c7c;
  margin: 3em auto;
}

#copyright a {
  color: #03558f;
  text-decoration: none;
}

#copyright a:hover,
#copyright a:focus {
  color: #04406c;
  text-decoration: underline;
}

/* ==========================================================================
   3 = Options
   ========================================================================== */

#options {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 90%;
}

#options tr { height: 2.7em; }

#option_table tr:first-child {
  width: 100%;
  height: 100%;
}

#options input[type="submit"] {
  position: relative;
  margin: 1em auto;
}

/* ==========================================================================
   4 = Upload
   ========================================================================== */

#upload_finished,
#uploading,
.message,
.info {
  text-align: center;
  color: #1c1c1c;
  padding-left: 3em;
}

.error {
  text-align: center;
  padding-left: 3em;
}

#upload_finished > p:nth-child(1) {
  color: #1f6b33;
  font-weight: bold;
}

#upload_finished div p:nth-child(1) {
  font-weight: bold;
}

#upload_finished a {
  text-decoration: none;
  color: #03558f;
}

#uploading a {
  font-weight: bold;
  text-decoration: none;
  color: #03558f;
}

#uploaded_percentage {
  font-family: Tinos, "Times New Roman", Times, serif;
  font-size: 2em;
  font-weight: bold;
  color: #04406c;
}

#upload_finished a:hover,
#uploading a:hover,
#upload_finished a:focus,
#uploading a:focus {
  color: #04406c;
  text-decoration: underline;
}

.message,
.error {
  color: #a52322;
  font-style: italic;
  font-weight: bold;
}

#upload_link_email {
  margin-left: 10px;
}

#upload_image_email {
  padding-left: 20px;
  padding-bottom: 15px;
  background: url(email.png) no-repeat;
}

#show_password {
  flex: 1 1 auto;
  position: absolute;
  right: 0%;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 30%;
}
#show_password:hover {
  opacity: 100%;
}

.passwordcolumn {
  display: flex;
  position: relative;
  align-items: center;
  width: 100%;
}

/* ==========================================================================
   5 = Terms of service
   ========================================================================== */

textarea[readonly="readonly"] {
  border: 0;
  color: #1c1c1c;
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: none;
  margin: auto;
  display: block;
}

textarea[readonly="readonly"] + p,
textarea[readonly="readonly"] + p + p {
  text-align: center;
  color: #1c1c1c;
}

textarea[readonly="readonly"] + p a,
textarea[readonly="readonly"] + p + p a {
  font-weight: bold;
  text-decoration: none;
  color: #03558f;
}

textarea[readonly="readonly"] + p a:hover,
textarea[readonly="readonly"] + p + p a:hover,
textarea[readonly="readonly"] + p a:focus,
textarea[readonly="readonly"] + p + p a:focus {
  color: #04406c;
  text-decoration: underline;
}

/* ==========================================================================
   6 = Install
   ========================================================================== */

#install fieldset,
#install + fieldset {
  width: auto;
  max-width: 50em;
  border: 1px solid #e3e3e3;
}

#install table,
#install + fieldset table {
  width: 100%;
  border-collapse: collapse;
}

#install td,
#install + fieldset td {
  padding: 0.5em 1em;
  border-bottom: 0;
}

#install td:empty {
  width: 13.1em;
}

#install table form:nth-child(odd),
#install + fieldset tr:nth-child(odd) {
  background: #f1f7fc;
}

#install fieldset > form {
  margin-top: 2em;
  text-align: center;
}

#install form {
  display: table;
  width: 100%;
}

#install td:last-child { text-align: left; }

#install .info { width: 19em; }

#install input[type="submit"] {
  min-width: 10.5em;
}

#install + fieldset table {
  font-size: 0.9em;
}

#install + fieldset td:first-child input[type="submit"] {
  background: none;
  padding: 0;
  color: #03558f;
  font-weight: bold;
}

#install + fieldset td:first-child input[type="submit"]:hover,
#install + fieldset td:first-child input[type="submit"]:focus {
  color: #04406c;
  text-decoration: underline;
}

/* ==========================================================================
   7 = Admin
   ========================================================================== */

#admin fieldset,
#admin + fieldset {
  width: auto;
  max-width: 60em;
  border: 1px solid #e3e3e3;
}

#admin table,
#admin + fieldset table {
  width: 100%;
  border-collapse: collapse;
  border-bottom: 2px solid #fff;
}

#admin td,
#admin + fieldset td {
  padding: 0.5em 1em;
  border: 2px solid #fff;
  border-bottom: 0;
}

#admin td:empty {
  width: 13.1em;
}

#admin table form:nth-child(odd),
#admin + fieldset tr:nth-child(odd) {
  background: #f1f7fc;
}

#admin fieldset > form {
  margin-top: 2em;
  text-align: center;
}

#admin form {
  display: table;
  width: 100%;
}

#admin td:last-child { text-align: left; }

#admin .info { width: 19em; }

#admin input[type="submit"] {
  min-width: 10.5em;
}

#admin + fieldset table {
  font-size: 0.9em;
}

#admin + fieldset td:first-child input[type="submit"] {
  background: none;
  padding: 0;
  color: #03558f;
  font-weight: bold;
}

#admin + fieldset td:first-child input[type="submit"]:hover,
#admin + fieldset td:first-child input[type="submit"]:focus {
  color: #04406c;
  text-decoration: underline;
}

/* ==========================================================================
   8 = Download page
   ========================================================================== */

#self_destruct {
  font-weight: bold;
  color: #a52322;
  background-image: url('pixel_bomb.png');
  background-size: 40px 40px;
  background-repeat: no-repeat;
  padding-left: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
}
