@import 'mini.min.css';

html {
  box-sizing: border-box;
}

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

html, body {
	margin: 0;
	padding: 0;
}

#stream {
	height: 100vh;
	max-width: 1024px;
	overflow: auto;
	margin: auto;
}

#stream .stream-image {
	min-height: 250px;
  position: relative;
  margin-bottom: .5em;
}

#stream .number {
	position: absolute;
	color: #FFF;
	background-color: rgba(0,0,0,.3);
	padding: .2em;
}

#stream .stream-image img, #stream .stream-image canvas {
	display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
}

#stream .noload {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0);
}

#stream .stream-image time {
	display: block;
	padding: .3em;
	background-color: white;
	font-size: .9em;

	position: absolute;
	right: 0;
	bottom: 0;
}


#stream .stream-image input[type="checkbox"] {
	position: absolute;
	left: .5em;
	bottom: .5em;
}


#upload-form {
	position: fixed;
	bottom: 0;
	right: .5em;
	padding: 1rem;
	background: none;
	border:  none;
	text-align: center;
}

#upload-form label {
	width: 50px;
	height: 50px;
  background-color: green;
  color: white;
  font-family: sans-serif;
  font-size: 2rem;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;

  display: inline-block;
}

#preview-overlay {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 1;
	background-color: #FFF;
	text-align: center;
}

#preview {

}

#preview .slide {
	width: 100%;
	height: 100%;
}

#preview canvas {
	max-width: 100%;
	height: auto;
}

#preview-overlay textarea {
	display: block;
	width: 100%;
	height: 100px;
	border: none;
	background-color: #DDD;
}

#preview-overlay button {
	display:inline-block;
	border: none;
	background-color: #3498db;
	font-size: 1.2em;
	color: white;
	padding: .5em 1em;
}

.loading {
  width: 40px;
  height: 40px;
  margin: 100px auto;
  background-color: #333;

  border-radius: 100%;  
  -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
  animation: sk-scaleout 1.0s infinite ease-in-out;
}


#share-button {
	position: fixed;
	bottom: 1rem;
	left: .5em;
	text-align: center;

	width: 50px;
	height: 50px;
  background-color: blue;
  color: white;
  font-family: sans-serif;
  font-size: 2rem;
  line-height: 50px;
  text-decoration: none;
  border-radius: 50%;
  cursor: pointer;
}

#share-form {
	position: fixed;
	top: 0;
	width: 100%;
	background-color: #FFF;
	padding: .5rem 1rem;
}


.hidden {
	display: none;
}


#logout {
	text-align: center;
}


@-webkit-keyframes sk-scaleout {
  0% { -webkit-transform: scale(0) }
  100% {
    -webkit-transform: scale(1.0);
    opacity: 0;
  }
}

@keyframes sk-scaleout {
  0% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 100% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
    opacity: 0;
  }
}