﻿body {
/*    padding-top: 50px;
	padding-bottom: 20px;*/
	z-index:0;
}

/* Set padding to keep content from hitting the edges */
.body-content {
	padding-left: 15px;
	padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
	 will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
	white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
	max-width: 280px;
}

#videoimage, #videofile {
	width: 100%;
	max-width: 640px;
	max-height:640px;
	border: 2px solid transparent;
}

h2 {
	margin-top:0;
}

.btn {
	padding: 1em 2em;
}

.sellist li a {
	font-size: 14pt;
}

.video-live {
	border: 2px solid yellow;
}

.camitem {
/*	display:inline-block;*/
}

.camitem img {
	width: 24px;
	height: 24px;
}

.camindicators {
	position: fixed;
	top:0px;
	right:0px;
	border-radius: 5px;
	background-color: rgba(255, 255, 255, 0.5);
	padding: 4px;
	z-index:100;
}

.camindicators img {
	width: 32px;
	height: 32px;
}

#messages {
	display: none;
}

#messages p {
	margin: 2px;
}

.timestamp {
	position: absolute;
	top: 4px;
	left: 4px;
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	padding: 2px 8px;
}

#videolist div {
	position: relative;
	display: inline-block;
}

#videolist div video {
	width: 100%;
	max-width: 640px;
	max-height:640px;
}

* {
	transition-duration: 0.2s;
}
div:hover > .timestamp {
	opacity: 0.5;
}

#mapview {
	width:640px;
	height:480px;
	background-color: #ccc;
}

.offlinevid {
	border-radius: 5px;
	border: solid 1px #888;
}

.offlinevid p {
	margin: 1ex;
}

#recbut {
	position:absolute;
	margin:auto;
	left:8px;
	bottom:8px;
	width:64px;
	height:64px;
	opacity:0.75;
}


.quality {
	position:relative;
	height:16px;
}

.quality div:nth-child(2) {
	transition-duration: 0.1s;
	position:absolute;
	left:100%;
	top:0;
	bottom:0;
	width: 0px;
	border-left: 4px solid rgba(0, 0, 0, 0.75);
	border-right: 4px solid rgba(0, 0, 0, 0.75);
}

.quality div:nth-child(1) {
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background: -moz-linear-gradient(left, rgba(255,50,50,1) 0%, rgba(255,255,50,1) 33%, rgba(0,255,38,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,50,50,1)), color-stop(33%,rgba(255,255,50,1)), color-stop(100%,rgba(0,255,38,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left, rgba(255,50,50,1) 0%,rgba(255,255,50,1) 33%,rgba(0,255,38,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left, rgba(255,50,50,1) 0%,rgba(255,255,50,1) 33%,rgba(0,255,38,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left, rgba(255,50,50,1) 0%,rgba(255,255,50,1) 33%,rgba(0,255,38,1) 100%); /* IE10+ */
	background: linear-gradient(to right, rgba(255,50,50,1) 0%,rgba(255,255,50,1) 33%,rgba(0,255,38,1) 100%); /* W3C */
}

table {
	margin: 1em 0;
}

table tbody tr td, table tbody tr th {
	padding: 1ex 1ex 0 0;
}

#addrstable input {
	width: 100%;
}

#addrstable input.btn-sm {
	width: auto;
}

#addrstable textarea {
	width: 100%;
	height: 4em;
}

#addrsview {
	display: none;
}

#videolist a.btn-sm {
	display:none;
	text-decoration:none;
	margin-left:0.5ex;
}

#videolist li:hover a.btn-sm {
	display:inline;
}

#stopbtn {
	display:none;
}

.hidden {
	display: none;
}