
/* Zwave styles */

.zwave-red {
    background-color: #ff4d4d;
}

.zwave-yellow {
    background-color: #ffff00;
}

.zwave-green {
    background-color: #00ff40;
}

.zwave-gray {
    background-color: #808080;
}

div.row-fluid > div.zwavesensor {
    position: relative;
    border: 1px solid black;
    margin: 0.2em;
    height: 160px;
    width: 160px;
}

div.zwave_username {
    position: relative;
    width: 100%;
    text-align: center;
    font-weight: bold;
}

div.zwave_timestamp {
    margin: 0 auto;
    position: relative;
    text-align: center;
    width: 50%;
}

div.zwave_temperature {
    position: absolute;
    text-align: center;
    top: 45%;
    width: 100%;
}

div.zwave_temperature div {
    width: 100%;
}

div.zwave_fire {
    bottom: 0;
    font-size: 1.3em;
    font-weight: bold;
    left: 0;
    position: absolute;
    text-align: center;
    width: 50%;
}

div.zwave_flood {
    bottom: 0;
    font-size: 1.3em;
    font-weight: bold;
    position: absolute;
    right: 0;
    text-align: center;
    width: 50%;
}


#problemmodal {
    width: 70%;
    height: 85%;
    left: 30%;
    top: 35%;
}

#problemmodal .modal-body {
    padding: 0;
    height: inherit;
    max-height: inherit;
}

#canvasmodal {
    display: block;
    margin: 0 auto;
}

.bigmap-control-buttons {
	position: absolute;
	right: 5%;
	top: 3%;
	z-index: 1000;
}

#bigmapmodal {
	width: 70%;
	height: 85%;
	left: 30%;
	top: 35%;
}

#bigmapmodal .modal-body {
	padding: 0;
	height: inherit;
	max-height: inherit;
}

#roadmodal {
	width: 70%;
	height: 85%;
	left: 30%;
	top: 35%;
}

#roadmodal .modal-body {
	padding: 0;
	height: inherit;
	max-height: inherit;
}

#modal-controls button.btn-mini {
    padding: 0;
}

#canvasmodal {
    display: block;
    margin: 0 auto;
}

#livescreen {
	overflow: hidden;
	vertical-align: top;
}

#livescreen canvas {
	width: inherit;
}

#livescreen div {
	width: inherit;
}

#livescreen div div {
	position: relative;
	top: 25px;
	left: 5px
}

#livescreen div div a img {
	width: 15px;
}

#fullmap #mapscreen {
	width: 50%;
}

#fullmap #mapscreen {
	width: 50%;
}

table#viewport { width: 100%; }
table#viewport td { padding: 0; border: 1px solid red; }

table.viewport td {
	width: 100%;
	height: 100%;
}

div.cam {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
	background: lightgrey;
}

img.cam { width: 100%; height: 100%; cursor: pointer; }

.camname {
	position: absolute;
	background: white;
	padding: 0 20px;
}

.camstamp {
	position: absolute;
	bottom: 0;
	background: white;
	padding: 0 20px;
}

ul.nobullets {
	list-style: none;
}

ul.horizontal li {
	float: left;
	padding-right: 1em;
}

ul.horizontal { margin-left: 0; }
ul.horizontal li label input { margin: 0 0 4px 0; }
ul.horizontal li label { margin-bottom: 0; }

.btn-toolbar-menu { margin-top: 0px; margin-bottom: 0px; padding-left: 10px; }

.language-form { padding: 0; margin: 0; }
.language-form select { margin-top: 5px; width: 8em; }

/* navbar */
.navbar { margin-bottom: 0px; }

/* archive */
table#viewport .controls { height: 40px; }

/* Slider */
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
	border: 1px solid #CCC;
	background: #D32F2F;
	font-weight: normal;
	text-decoration: none;
	color: black;
}

.form-helptext { margin-top: 1em; }

ul.dropdown-menu {
    overflow-y: scroll;
    max-height: 500px;
}

#profileMapRow {
    margin-top: 3em;
}