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

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

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

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

@font-face {
  font-family: Google Sans;
  src: url('OpenSans-Regular.ttf');
  font-weight: normal;
}

body {
  background: #f7f7f7;
  font-family: Google Sans, sans-serif;
  margin: 0;
  line-height: 1.5;
}

#content {
  display: flex;
  padding: 2em;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: center;
}

h1 {
  display: flex;
  width: 100%;
  height: 30vh;
  align-items: center;
  justify-content: center;
}

h1 a {
  display: flex;
  justify-content: center;
  align-self: center;
  align-items: center;
  background: url(/media/custom/Taurus-Group.svg) no-repeat;
  height: 72px;
  width: 600px;
  text-align: center;
  content: "";
  flex-wrap: nowrap;
}

h2 {
  text-align: center;
  color: #0e0e0e;
}

fieldset {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-start;
  border: 0;
  margin: 0 auto;
  justify-content: center;
  outline: 8px solid #313131;
  max-width: 600px;
  padding: 0;
  /* height: 15em; */
  position: relative;
  align-content: center;
  flex-wrap: wrap;
}

legend {
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  top: 0px;
  text-align: center;
  position: absolute;
  padding: 0.5em 1em;
  font-weight: bold;
  color: #ffffff;
  background-color: #313131;
  font-size: 1.2em;
  display: flex;
  min-width: 8em;
  text-align: center;
  justify-content: center;
}

table a {
  color: #000;
}

table a:hover,
table a:focus {
  text-decoration: none;
}

.file-selected input[type="submit"] {
  background: #d4d4d4;
  transition: all 0.2s;
  margin: 0;
  padding: 15px;
  margin-top: 20px;
  font-size: 1.4em;
  width: 100%;
  border-radius: 0;
  justify-content: center;
  cursor: pointer;
}

input[type="submit"] {
  position: relative;
  bottom: 0;
  background: #d4d4d4;
  border: 0;
  padding: 1.1em 1.2em;
  font-size: 1.4em;
  color: #000;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0px;
  margin-bottom: 20px;
  border-radius: 0px;
}


select,
input[type="text"],
input[type="password"] {
  padding: 5px 5px;
  font-size: 1em;
  border-radius: 0px;
  outline: none;
  border: none;
  background-color: #595959;
  color: #fff;
}

select {
  width: 100%;
}

input[type="submit"]:hover,
input[type="submit"]:focus {
  border: 0;
  position: relative;
  background-color: #006cff;
  color: #fff;

}

.inner {
  margin-top: 3em;
}

#upload {
  width: 100%;
  height: 60%;
  max-width: 30em;
  align-self: center;
}

#upload fieldset {
  background: url(/media/custom/upload.png) no-repeat center;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  background-size: 50%;
  box-shadow: 0px 0px 0px 0px transparent;
  transition: all 0.2s;
}

#upload fieldset:hover {
  box-shadow: 0px 0px 0px 2px #006cff;
  background-position-y: +10px;
  animation-name: glowmover;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}


@keyframes glowmover {
  0%   {box-shadow: 0px 0px 20px 2px #006cff;}
  10%  {box-shadow: 0px 0px 80px 2px #134fa3;}
  20%  {box-shadow: 0px 0px 40px 2px #006cff;}
  30%  {box-shadow: 0px 0px 60px 2px #006cff;}
  40%  {box-shadow: 0px 0px 80px 2px #134fa3;}
  50%  {box-shadow: 0px 0px 40px 2px #006cff;}
  60%  {box-shadow: 0px 0px 90px 2px #134fa3;}
  70%  {box-shadow: 0px 0px 40px 2px #006cff;}
  80%  {box-shadow: 0px 0px 40px 2px #006cff;}
  90%  {box-shadow: 0px 0px 70px 2px #134fa3;}
  100% {box-shadow: 0px 0px 40px 2px #006cff;}
}

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

#upload p {
  margin: 0;
  display: flex;
  width: 100%;
  order: 5;
}

#submit_post fieldset,
.file-selected fieldset{
  padding: 20px;
  padding-top: 80px;
}

#file_select {
  position: relative;
  width: 100%;
  height: 23em;
  cursor: pointer;
  opacity: 0;
}

#upload.file-selected #file_select {
  display: none;
  opacity: 1;
  height: 2em;
}

#upload.file-selected fieldset {
  background-image: none;
}


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

#copyright {
  text-align: center;
  font-size: 0.8em;
  color: #000000;
  margin: 5% 0px;
}

#copyright a {
  color: #0e0e0e;
  text-decoration: none;
}

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

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

#options {
  position: relative;
  z-index: 10;
  width: 100%;
  flex-direction: column;
}

#options tr {
  height: 2.7em;
}

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

#options input[type="submit"] {
  position: relative;
}

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

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

input[type=checkbox] {
	-moz-appearance:none;
	-webkit-appearance:none;
	-o-appearance:none;
	outline: none;
	content: none;

}

input[type=checkbox]:before {
    content: "✔️";
    font-size: 15px;
    color: transparent !important;
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #313131;	
    margin-right: 7px;
}

input[type=checkbox]:checked:before {
	color: rgb(255, 255, 255) !important;
  background-color: #006cff;
}

#upload_finished>p:nth-child(1) {
  color: #006cff;
  font-size: 2em;
  font-weight: bold;
}

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

#upload_finished a {
  text-decoration: none;
  color: #0e0e0e;
}

#uploading a {
  font-weight: bold;
  text-decoration: none;
  color: #0e0e0e;
}

#uploaded_percentage {
  font-size: 2em;
  font-weight: bold;
}

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

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

#upload_finished_preview,
#upload_link_email {
  display: none;
}

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

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

textarea[readonly="readonly"] {
  border: 0;
  color: #0e0e0e;
  background: none;
  margin: auto;
  display: block;
}

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

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

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 {
  text-decoration: underline;
}

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

#install fieldset,
#install+fieldset {
  width: auto;
  max-width: 50em;
  border: 7px dashed #d4d4d4;
}

#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,
#install+fieldset tr {
  background: #d4d4d4;
}

#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: #000;
  font-weight: bold;
  border-bottom: 0;
}

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

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

#admin fieldset,
#admin+fieldset {
  width: auto;
  max-width: 60em;
}

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

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

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

#admin table form,
#admin+fieldset tr {
  background: #d4d4d4;
}

#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: #000;
  font-weight: bold;
  border-bottom: 0;
}

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

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

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


/* ==========================================================================
   9 = CUSTOM CSS
   ========================================================================== */

#upload_finished_download_page,
#upload_delete {
  margin-bottom: 70px;
}

/* ==========================================================================
   9 = Fons
   ========================================================================== */

body {
  height: 100vh;
}

code {
  color: #006cff;
  font-size: 30px;
}

#upload_link_button{
  border: 3px solid #2c6eff;
  border-radius: 2px;
  padding: 0px 60px;
  font-size: 30px;
  margin-left: 20px;
  content: "Copy";
}

#delete_link_button,
#upload_delete,
#upload_direct_download {
  display: none !important;
}

#upload_link_button:hover,
#delete_link_button:hover {
  filter: brightness(1.2);
}

.login fieldset {
  background-color: #e3e3e3;
}

.login table,
.login input {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.login input {
  margin-top: 30px;
  margin-bottom: 20px;
}