html {
	scroll-behavior: smooth; 
}

html,body {
  height: 100%;
  color: #5a5a5a;
  background: #f8f9fa;
}

video {
  width: 100%;
  height:auto;
}
#videoWrapper {
  width: 90%;
}
div[data-notify="container"] {
  right:0px !important;
}

.container {
  max-width: 600px;
  margin-top: 50px;
}

.form-control {
  border-radius: 0.25rem;
}

.btn-primary {
  border-radius: 0.25rem;
}

.dropdown-toggle {
  padding-left: 10px;
  border-radius: var(--bs-border-radius) !important;
}

#convert, #preview {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.avatar {
  vertical-align: middle;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.flag-icon {
  vertical-align: middle;
  width: 48px;
  height: 48px;
}

main {
	background-attachment: fixed;
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	/* background-image: url("https://source.unsplash.com/category/nature/1600x900/?weather"); */
  }

  #install-button {
    visibility: hidden;
    position: fixed;
    color: #FF8340;
    /* width: 30px; */
    cursor: pointer;
    top: 14px;
    right: 80px;
    z-index: 99999999;
  }
  
  #title-bar {
    position: fixed;
    left: env(titlebar-area-x, 0);
    top: env(titlebar-area-y, 0);
    height: env(titlebar-area-height, 50px);
    width: env(titlebar-area-width, 100%);
    -webkit-app-region: drag;
  }

#progress { 
	margin-bottom:20px;
	vertical-align: top;
}

.btn-warning:not(:disabled):not(.disabled).active, .btn-warning:not(:disabled):not(.disabled):active, .show>.btn-warning.dropdown-toggle {
	color: #212529;
	background-color: #dc3545;
	border-color: #dc3545;
}

#messageDiv {
    margin-top: 10px;
    margin-bottom: 15px;
}

.custom-control-label::before {
    background-color: #fff;
}

#page-container {
	position: relative;
	padding-bottom: 60px;
	min-height: 100vh;
}

ul.dropdown-menu {
	background-color: #fff;
}

#clear {
	cursor: pointer;
    float: right;
    margin-top: -33px;
    margin-right: 4px;
}

#server-results {
	display: grid;
	height: 100%;
}

.converted-image {
	max-height: 100vh;
	max-width: 100%;
	margin: auto;
}

.upload-container {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

#desc {
	margin-bottom: 1rem;
}

#tool-intro ol {
    list-style-type: decimal;
    margin: 0;
    margin-left: 1.4em;
    padding: 0;
    counter-reset: li-counter;
}

#tool-intro ol > li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 0.5em;
    min-height: 1.5em;
    border-left: 2px solid #CCCCCC;
}
  
#url {
	padding: .375rem 1.1rem;
}

#url:focus{
	outline: none;
}

.meta {
  font-weight: bold;
}

.date  {
  font-weight: bold;
  margin-top:10px;
}

.page-header {
  padding-top:60px;
  background-color:#fff;
}

.hidden {
	display: none;
}

.dropdown-menu>li>a.hidden  {
	display: none;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

#loading {
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Custom, iPhone Retina */ 
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
  video {
    width: 100%;
    height:auto;
  }

  #videoWrapper {
    width: 35%;
  }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}
