html {
   overflow-y: hidden;
}

body > [class*="navbar"] ~ .container-fluid {
	padding-top: 20px;
	overflow-y: scroll;
	height: calc(100vh - 40px);
	height: -webkit-calc(100vh - 40px);
}

form div.row input[type=checkbox]:not(.checkbox input) {
    display:inline !important;
    margin: 6px 5px 7px 0;
}
form div.row.buttons {
    margin-top: 10px;
}
form div.row .form-column input[type="text"] {
	width: 150px;
}
form div.row .form-column select {
	max-width: 99.9%;
}

input[type=radio] + label, input[type=checkbox] + label {
    display:inline !important;
    margin: 6px 5px;
}

span.required {
	color: red;
}

div.errorMessage{
    color: red;
    font-size: 11px;
    margin-top: -10px;
}

span + div.errorMessage {
	margin-top: 0px;
}

.center {
	float: none;
    margin: 0 auto 20px;
}

.sidebar-nav {
	padding: 3px 0;
	border: none;
	box-shadow: none;
	box-shadow: none;
	-webkit-box-shadow: none;
}
.sidebar-nav .nav-header {
	font-size: 12px;
	font-weight: normal;
}

i.close {
	opacity:0.3;
}

i.close:hover {
	opacity:0.5;
}

ul.menu-cameres li {
	min-height: 28px;
}

ul.menu-cameres li a.delete {
	float: right
}

ul.menu-cameres li a.delete > i[class^="icon-"] {
	margin-top: 4px;
}

ul.menu-cameres li a.favorites > i[class^="icon-"] {
	margin-top: 4px;
}

ul.menu-cameres li a.settings > i[class^="icon-"] {
	margin-top: 4px;
}

ul.menu-cameres li span > i.icon-facetime-video[class^="icon-"] {
	height: 11px;
	margin: auto 0px;
}

ul.menu-cameres li span > i[class^="icon-"]{
	margin-top: 4px;
}

ul.menu-cameres > li > span {
	margin-right: -15px;
	margin-left: -15px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

ul.menu-cameres > li > span {
	padding: 3px 15px 0;
	display: block;
}

ul.menu-cameres > .active > span, ul.menu-cameres > .active > span:hover {
	color: white;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
	background-color: #08C;
}
ul.menu-cameres > .active > span  a, ul.menu-cameres > .active > span:hover  a {
	color: white;
}

ul.menu-cameres li > a {
	position: relative;
	padding-left: 35px;
	white-space: normal;
}
ul.menu-cameres li > a span:first-child {
	position: absolute;
	left: 14px;
	top: 4px;
}
ul.menu-cameres li > a > div {
	position: relative;
	padding-left: 20px;
}
ul.menu-cameres li > a > div > span:first-child {
	position: absolute;
	left: 0px;
	top: 1px;
}


.modal-body {
	max-height: none;
}

.modal {
	width: auto;
}

div.menu-text {
	overflow: hidden;
    display:inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 170px;
}

.field_Coordinates {
	display: none;
}

.modal-body img {
	display: block;
}

#user-map {
	width: 99%;
	height: 500px;
}

.row {
	margin-left: auto;
}

#time {
	width: 148px;
}

#calendar {
	cursor: pointer;
}

div.camera-big {
	width: 640px;
	height: 480px;
}

div.camera-big div.name {
	float: right;
	position: relative;
	padding: 5px;
	margin: -39px 8px;
	opacity: 0.7;
	background: none repeat scroll 0px 0px white;
	border-radius: 5px;
	text-overflow: ellipsis;
	overflow: hidden;
	max-width: 290px;
	white-space: nowrap;
}

#calendar-block {
	position: absolute;
	margin: -40px 0 14px 10px;
	opacity: 0.7;
}

div.camera-small:first-child {
	margin-left: 0px;
}

div.camera-small:last-child {
	margin-right: 0px;
}

div.camera-small {
	margin: 1px 0 1px 1px;
	display: inline-block;
	float: left;
	width: 159.3px;
	height: 119px;
}

div.span3.right{
	margin: 0 0 0 -5px;
}

div.right div.camera-small {
	margin: 0 auto 1px 0px;
}

div.camera-small .camera {
	width: 159.3px;
	height: 119px;
}

div.connect {
	margin: 10px 0;
	text-align: center;
}

#tooltip {
	font-size: 9px;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
    background-color: #0088CC;
	color: #fff;
	border: none;
	padding: 0px 3px;
	white-space: nowrap;
	border-radius: 4px;
	position: absolute;
	width: 120px;
	text-align: center;
}

#tooltip span {
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
    background-color: #0088CC;
	border: none;
    display: inline-block;
    height: 7px;
    margin-top: 16px;
    position: absolute;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
    width: 7px;
    z-index: 1001;
	left: calc(100% - 50%);
	left: -moz-calc(100% - 50%);
	left: -webkit-calc(100% - 50%);
}


.pause {
	margin: 5px;
	width: 50px;
	height: 30px;
}

.filters td {
	vertical-align: middle;
}

.filters input, .filters select, td input[type="text"] {
	width: auto;
	margin: 0px;
}

td .errorMessage {
	margin-top: 0px;
}

td.ID {
	width: 20px;
}

.account th {
	width: 30%;
	font-weight: normal;
}

span[class^="icon-"] > span, span[class*=" icon-"] > span {
	margin-left: 20px;
	white-space: nowrap;
}

div.menu > a, div.menu > div {
	margin-right: 10px;
}

div.photo {
	position: absolute;
	opacity: 0.5;
}

:-webkit-full-screen .video {
      width: 100%;
      height: 100%;
}

#fullscreeniframe {
	margin: 10px auto;
	display: block;
}

table.width700 {
	width: 700px;
}

.error .timer {
	margin-left: 3px;
}

#closefullscreen {
	color:#fff;
	text-decoration:underline;
}

.errorData {
	width: 500px;
	margin: 0 auto;
	padding: 10px;
	background-color: #fff;
}

.menu-cameres li a {
	white-space:nowrap;
	overflow: hidden;
	text-overflow:ellipsis;
}

.container .nav .user {
	color: #999999;
	padding: 10px 15px 10px;
}

.tooltipName {
	background-color: #000;
	opacity: 0.5;
	padding: 3px 5px;
	max-width: 100%;
	overflow-x: hidden;
	color: #fff;
	text-overflow: ellipsis;
}

footer {
	padding-bottom: 20px;
}

.tooltipName {
	bottom: 31px;
	position: relative;
	left: 0;
	display: block;
	text-align: left;
}

.daysDiv, .hoursDiv, .hoursDiv {
	text-align: center;
}

.mobile-camera .tooltipName {
	bottom: 26px;
}

.menu-icon {
/*	 background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAaCAYAAACgoey0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/e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QqDMBBFTQnWhcsse4Du3fQovWHPUnApkgN0Z9GCEQ0o6U9xV2O1s7CUDHwiCP8nMy8QZowJtqhdsFH54FcxxuKmaVJ8Goqsh/WayuCODR2GYUjKsiSdinOeWC9ILm216Pue3M7RQ6yacZZllb1qFMHj4fJnU/cYczliOUMnaP/lgTV0hS7IkEuD43E2YoaDj52G7tANGert71SLULFSKjXEsh7WayrDSbXWOqnrmgRXGIZOql3Bous6MtWjxzqq8zwnUw0PT/UPUw2ik6IoSHBFUbSe6rZtyVSPHuuollJW1GB4eKrng/1j76+CnwIMAHuKv5yfdzjXAAAAAElFTkSuQmCC");
	height: 21px;*/
	height: 21px;
	width: 25px;
	margin-top: 3px;
	margin-bottom: -3px;
}

.menu-icon .line {
	height: 4px;
	width: 25px;
	background-color: #fff;
	border-radius: 3px;
	margin-bottom: 3px;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.mobile-camera .box {
	text-align: center;
}


div.summary {
	margin-bottom: 10px;
}

.ui-widget-header {
	border: none;
	background: none;
	border-bottom: 1px solid #CCCCCC ;
	border-radius: 0;
	margin: auto -3px;
}

.ui-widget-overlay {
	background-color: #222222;
	background-image: none;
}

.ui-widget-header button.ui-dialog-titlebar-close {
	background: none;
	border: 0px;
	opacity: 0.5;
}
.ui-widget-header button.ui-dialog-titlebar-close > i {
	margin: 0!important;
}
.ui-widget-header button.ui-dialog-titlebar-close:hover {
	opacity: 1.0;
}
.ui-widget-header button.ui-dialog-titlebar-close:hover {
	opacity: 1.0;
}

form textarea {
	width: auto;
}

form .popover {
	width: auto;
	max-width: none;
}

table input[type="radio"],
table select,
table input[type="checkbox"]
{
	margin: 0;
}

thead.gradient-head {
		position: relative;
		line-height: 40px;
		background: #E9E9E9;
		background: -moz-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa), color-stop(100%, #e9e9e9));
		background: -webkit-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
		background: -o-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
		background: -ms-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
		background: linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9');
		-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";
		border: 1px solid #D5D5D5;
		-webkit-border-top-left-radius: 4px;
		-webkit-border-top-right-radius: 4px;
		-moz-border-radius-topleft: 4px;
		-moz-border-radius-topright: 4px;
		border-top-left-radius: 4px;
		border-top-right-radius: 4px;
		-webkit-background-clip: padding-box;
}

.edit-tariff input[type="radio"] {
	position: absolute;
	left: -9999px;
}

.edit-tariff input[type="radio"] + label {
	background: url(checkbox-sprite.gif) 0 0 no-repeat;
	padding-left: 20px;
}

.edit-tariff input[type="radio"]:checked + label {
	background-position: 0 -32px;
}

td.center {
	vertical-align: middle;
	text-align: center;
}

.navbar .nav.pull-right .search-form {
	padding-top: 6px;
	margin-bottom: 0px;
}

.navbar .nav.pull-right .search-form form {
	margin: 0px;
}

.search-suggestions {
	background-color: #212121;
	position: absolute;
	width: 100%;
	max-height: 150px;
	z-index: 100;
	border-radius: 0px;
	overflow-x: hidden;
	display: none;
	color: #fff;
	border: 1px solid #333;
	top: -1px;
}

.search-suggestions > div {
	width: 100%; 
	font-size: 14px; 
	padding: 5px; 
	white-space: nowrap;
	color: #ccc;
	text-overflow: ellipsis;
    box-sizing: border-box;
	overflow: hidden;
}

.search-suggestions > div:hover {
	background-color: #000;
	cursor: pointer;
	color: #fff;
}

.search-form input {
    background-color: #212121;
    border: 1px solid #333;
    border-radius: 0px;
	color: #fff;
}

.search-form input:focus {
    background-color: #212121;
    border: 1px solid #333;
    border-radius: 0px;
	color: #fff;
	box-shadow: none;
}

.search-form button {
    background-color: #212121;
    background-image: none;
    border-radius: 0px !important;
    border: 1px solid #333 !important;
	text-shadow: none !important;
	box-shadow: none;
}

.search-form button:active {
    box-shadow: inset 0 0 5px 1px #312e2e;
}

.search-form .btn:hover, .search-form .btn:active, .search-form .btn:focus, .search-form .btn:active:focus {
	background-color: #212121!important;
	background-image: none;
    border-radius: 0px!important;
}

.search-form button i {
	opacity: 0.5;
}

.search-form button:hover i, .search-form button:focus i {
	opacity: 0.75;
}

.search-form button:active i, .search-form .btn:active:focus i {
	opacity: 0.35;
}

.navbar .brand {
	font-size: 16px;
}

.navbar .nav > li > a {
    padding-left: 10px!important;
    padding-right: 10px!important;
}

.ui-datepicker .ui-datepicker-next span, .ui-datepicker .ui-datepicker-prev span {
    top: 50%;
    margin-top: -8px;
}
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover {
    top: 50%;
    margin-top: -12px;
}
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    top: 50%;
    margin-top: -12px;
}

table .form-inline .errorMessage {
	margin-top: 5px;
    line-height: 1.25;
}

form .row::after {
	margin-bottom: 5px;
}

button.btn:hover, button.btn:focus {
	outline: none;
}

.page-sizer {
	position: relative;
}
.page-sizer > div {
	position: absolute;
	right: 0;
	top: -35px;
}
.page-sizer .radio.inline + .radio.inline {
    margin-left: 0.5em;
}

.cameras td {
	overflow: visible;
}
