.preview-wrapper {
    padding-bottom: 30px;
}

html {
  min-height:100%;
  position: relative;
}
#download {

padding-bottom:240px;
    footer {
        bottom: 0; 
        left: 0;
        width: 100%;
        position: absolute;
        z-index: -1;
    }
}

.preview-image  {
	img {
		margin: 0 auto;
		display:block;
		max-width: 800px;
		max-width: 100%;
	}
padding: 0;
padding: 0px;
}

.overlay {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.10);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
  .active & {
    visibility: visible;
    opacity: 1;
  }
}

.copy-link-wrapper {
  z-index: 200;
  padding: 2em;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 50%;
  max-width: 500px;
  min-width: 300px;
  background-color: @blue;
  border-radius: 2px;
  transform: translateX(-50%) translateY(-50%);
  opacity: 0;
  transition: opacity 0.2s ease;
	clip:rect(1px 1px 1px 1px);
	opacity: 0;
	top: -9999999px;
	left: -9999999px;
  .active & {
    clip: auto;
	  opacity: 1;
	  top: 50%;
	  left: 50%;
  }
	p {
		font-size: 20px;
		color: #fff;
	}
  input {
    background-color: @light-gray;
    color: @text-color;
    border: 0;
    font-size: 1em;
    padding: 1em;
    margin: 0;
    width: 100%;
    border-radius: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .error {
    text-align: center;
    color: #E7483B;
    display: block;
    padding: 0.5em;
  }
}

#md-preview,{
	padding-bottom: 30px;
}


video {
  margin: 0 auto;
  width: 100%;
}


.wrap {
  width: 40%;
  height: 40%;
  margin: 20px auto;
}

video {
  width: 100%;
}

video::-webkit-media-controls-enclosure {
  padding: 0px;
  height: 50px;
}

video::-webkit-media-controls-panel {
  opacity: 1 !important;
  display: -webkit-flex !important;
  margin-top: 50px;
  height: 50px;
  background-color: @dark-blue;
  border-radius: 0 0 10px 10px;
}

video::-webkit-media-controls-timeline {
  height: 12px;
  padding: 0px; 
  border: 0px;
}

video::-webkit-media-controls-volume-slider, video::-webkit-media-controls-timeline {
  height: 12px;
  border-radius: 5px;
  min-width: 15px;
}

video::-webkit-media-controls-volume-slider::-webkit-media-slider-container, video::-webkit-media-controls-timeline::-webkit-media-slider-container {
  border: 0px;
  border-radius: 5px;
  background-color: @blue;
  cursor: pointer;
}

::-webkit-media-slider-thumb {
  -webkit-appearance: none;
  background: red;
}

video::-webkit-media-controls-play-button {
  cursor: pointer;

}

video::-webkit-media-controls-play-button:hover {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
}

video::-webkit-media-controls-fullscreen-button {
  -webkit-appearance: none;
  background-color: transparent;
  cursor: pointer;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAABACAYAAADF2C3zAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLz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 8px;
  background-repeat: no-repeat;
}

video::-webkit-media-controls-mute-button {
  -webkit-appearance: none;
  background-color: transparent;
  cursor: pointer;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAABACAYAAAATffeWAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo2N0Q1MjA3NDc5NjYxMUUyQjQzRjk5Mjc1MTU5Qjk0NSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo2N0Q1MjA3NTc5NjYxMUUyQjQzRjk5Mjc1MTU5Qjk0NSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjY3RDUyMDcyNzk2NjExRTJCNDNGOTkyNzUxNTlCOTQ1IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjY3RDUyMDczNzk2NjExRTJCNDNGOTkyNzUxNTlCOTQ1Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Gp0GRAAAATdJREFUeNpidIsuYMABwoF4BhCvB+IkXIqYcIj7APEiIBYA4jg0OREgLsJnQAgQrwJiNiifGU3eFIi7gDgPxGEBYnYg1gBiDqizQX5ixOEyCyDeC8SNQNwJxJtABuwHYksGwoAR6q3tQFwKxGlAnMtEpGYQ+A+1NROI+aDedGdiIA2sAWJWaDhcBGIVUg1ABqz4ohEXAMXQbyA+DcRaQHwHZMBxIjWDArEcmrg+AXEYEO8ExYIjUjRGQuOXEUcgghLVOahBoAQ1GWTAT2iAgMBJID4BxPOhBqIDkJwnENcDcQkQP8AWBiuAOBiIf0H5f9HkT0NdMAFfIG4D4gggfgtNPMjgDRD3wgPm////DJSAUQNGDRg1YNSAUQNGDRg1YNSA4WhAUnHraI9ltMcy2mMZDD0WgAADADYlybDQKXdAAAAAAElFTkSuQmCC);
  background-size: 16px 64px;
  background-position: center 8px;
  background-repeat: no-repeat;
}

video::-webkit-media-controls-fullscreen-button:hover {
  -webkit-appearance: none;
  background-position: center -42px;
}

video::-webkit-media-controls-mute-button:hover {
  -webkit-appearance: none;
  background-position: center -43px;
}

video::-webkit-media-controls-current-time-display, video::-webkit-media-controls-time-remaining-display {

  font-size: 13px;
  font-weight: normal;
}
