.centerbox {
	width: 100%;
	/* basic styling */
	font-size: 14px;

	/* flexbox, por favor */
	display: -webkit-box;
	-webkit-box-orient: horizontal;
	-webkit-box-pack: center;
	-webkit-box-align: center;

	display: -moz-box;
	-moz-box-orient: horizontal;
	-moz-box-pack: center;
	-moz-box-align: center;

	display: box;
	box-orient: horizontal;
	box-pack: center;
	box-align: center;

	display: -ms-flexbox;
	-ms-flex-line-pack: center;
	-ms-flex-pack: center;
	-ms-flex-orient: horizontal;
	-ms-flex-align: center;

	/* IE */
    display: -ms-box;
    -ms-box-pack: center;
    -ms-box-align: center;
	
	position: relative;
}

.camera {
	color: #8F8E8A;
	padding: 3px 3px 0;
	border: 1px solid #222;
	border-radius: 3px;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	background-color: #383838;
	position: relative;

	/* height: 100%; */

	-moz-box-sizing: border-box;
    box-sizing: border-box;
    -ms-box-sizing: border-box;
	/*
		background: -moz-linear-gradient(top, #524F48, #3B3833);

		background: -webkit-gradient(linear, left top, left bottom,
					color-stop(0%,#fefcea), color-stop(100%,#f1da36));

		background: -webkit-linear-gradient(top, #524F48, #3B3833);;
		background: -o-linear-gradient(top, #524F48, #3B3833);
		background: -ms-linear-gradient(top, #524F48, #3B3833);
		background: linear-gradient(top, #524F48, #3B3833);
	*/
}

.camera .img-div {
	-moz-box-sizing: border-box;
    box-sizing: border-box;
	text-align: center;
	overflow: hidden;
	position: relative;
	margin: 0 auto;
}

.camera div.img-div.loader {
	background-image: url(ajax-loader.png);
	background-repeat: no-repeat;
	background-position: 50% 50%
}

.camera .img-div img {
	-moz-box-sizing: border-box;
    box-sizing: border-box;
}

.camera .img-div > div.videoObject {
	margin: auto;
	background-color: #383838;
}

.camera .img-div img, .camera .img-div > div.videoObject > object {
	/*border: 1px solid #222;*/
}

.camera .bottom {
	width: 100%;
	font-size: 1em;
	text-align: left;
	height: 24px;
	line-height: 24px;
	overflow: hidden;
	color: #aaa;
	display: flex;
	flex-direction: row;
}
.camera.camera-sm .bottom {
	font-size: 0.85em;
	height: 20px;
	line-height: 20px;	
}
.camera.camera-sm.camera-sm-x .bottom {
	font-size: 0.75em;
	height: 18px;
	line-height: 18px;
}
.camera .bottom > div {
	height: 100%;
	line-height: inherit;
	vertical-align: top;
	white-space: nowrap;
	box-sizing: border-box;
	font-size: inherit;
	overflow: hidden;
	text-overflow: clip;	
}
.camera .bottom .name {
	width: 100%;
	padding-right: 80px;
	flex-shrink: 1;
	flex-grow: 1;
	box-sizing: content-box;
}
.camera.camera-nosound .bottom .name {
	padding-right: 10px;
}
.camera.camera-sm-x .bottom .name {
	padding-right: 10px;
}
.camera.camera-sm-x .bottom-vol .name {
	padding-right: 50px;
}
.camera .bottom .name > div:first-child {
	display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    vertical-align: top;
	white-space: nowrap;
	max-width: 80%;
	max-width: calc(100% - 20px);
    max-width: -webkit-calc(100% - 20px);
	font-weight: bold;
}
.camera .bottom i.edit-name {
	display: inline-block;
	margin-top: 0px;
	margin-left: 4px;
	opacity: 1.0;
	cursor: pointer;
	vertical-align: baseline;
}
.camera .bottom .right {
	float: none;
	text-align: right;
	flex-shrink: 0;
	flex-grow: 0;
}
.camera .bottom .name > .t, .camera .bottom .right > i {
	font-size: inherit;
}

.camera .bottom .right * {
	white-space: break-spaces;
}

.camera .bottom .right i {
	cursor: pointer;
	opacity: 1.0;
}

.camera .bottom .right i.active {
	opacity: 1;
}

.camera .bottom .right i.activeFull {
	opacity: 1;
}

.camera .bottom a[class*="ui-"]:focus {
	outline: none;
}

.camera .img-div .error {
	border: 1px solid #8F8E8A;
	padding: 0.75em;
	border-radius: 0.35em;
	width: 60%;
	margin: auto;
	font-size: 0.75em;
	line-height: normal;
	box-sizing: border-box;
}
.camera.camera-sm-x .img-div .error {
	padding: 0.5em;
	font-size: 0.66em;	
	width: calc(96% - 6px);
	width: -webkit-calc(96% - 6px);
}

.screenfull .camera {
	background: none;
	border: none;
	padding: 0;
	border-radius: 0;
	box-shadow: none;
}

.screenfull .camera .img-div {
	height: auto;
	border: none;
}

.screenfull .camera .name {
	display: none;
}

.cursor {
	cursor: pointer;
}

.camera div.download {
	width: 500px;
	margin: auto;
	top: 10%;
	position: relative;
}
.camera div.download h2 {
	font-size: 23.5px;
}
.camera div.download .info {
	font-size: 10px;
	line-height: 12px;
	text-align: left;
	width: 317px;
	border: 1px solid;
	padding: 10px 2px;
	margin: 5px auto;
	border-radius: 5px;
}
.camera div.download .info ul {
	margin-bottom: 0px;
}
.camera div.download .info li {
	line-height: 12px;
}

.camera div.download > div:first-child, .camera div.download > div:last-child, .camera div.download > div.bittons {
	display: block;
}

.camera div.download > div {
	margin: 5px;
}
.camera div.download > div .popover{
	width: 200px;
}

.camera div.download > div.inputs{
	display: inline-block;
	font-size: 12px;
}
.camera div.download > div.inputs .tooltip-inner {
	text-align: left;
}

.camera div.download > div.inputs > div {
	margin: 5px;
	text-align: left;
}

.camera div.download > div.inputs > div > input, .camera div.download .btn-group input {
	margin-top: 1px;
	background-color: #A2A2A2 ;
	border-color: #A2A2A2;
}

.camera div.download .btn-group input::-webkit-input-placeholder {
	color: #fff ;
}

.camera div.download .btn-group input.active::-webkit-input-placeholder {
	color: #A2A2A2 ;
}

.camera div.download .btn-group input.active {
	background-color: #fff ;
}

.camera div.download > div.bittons > button {
	margin: 5px;
}

.camera div.download > div input{
	cursor: pointer;
}
.camera div.download .btn-group .input-mini {
	margin: auto auto 0;
	border-left: none;
	border-radius: 0 4px 4px 0;
}
.camera div.download .btn-group .input-mini:-ms-input-placeholder {
	color: #fff;
}
.camera div.download .btn-group .input-mini.active:-ms-input-placeholder {
	color: #000;
}
.camera div.download > div.inputs span {
	margin-left: 2px;
	font-size: 14px;
	top: 2px;
	position: relative;
}

.camera div.download .btn-group .btn {
	background-image: linear-gradient(to bottom, #ffffff, #A2A2A2);
	background-position: 0;
}

.camera div.download .btn-group .btn.active {
	background-image: linear-gradient(to bottom, #ffffff, #fff);
}

.camera div.download > div.inputs > div > input.active {
	box-shadow: 0 0 5px #fff;
	background-color: #fff;
	border-color: #fff;
}

.camera div.download > div.bittons {
	margin-top: 15px;
}

.camera .ptz {
	position: relative;
	width: 100px;
	height: 100px;
}

.camera .interactive .line {
	background-color: #ccc;
	width: 2px;
	height: 94px;
	/*margin: 3px;*/
	opacity: .5;
}

.camera .ptz > div {
	background-color: #000;
	position: absolute;
	opacity: 0.5;
	box-sizing: content-box;
}

.camera .ptz div.up {
	width: 30px;
	height: 25px;
	border-radius: 7px 7px 0 0;
	left: 50%;
	top: 0;
	margin-left: -20px;
	padding: 5px;
}

.camera .ptz div.down {
	width: 30px;
	height: 25px;
	border-radius:  0 0 7px 7px;
	left: 50%;
	bottom: 0;
	margin-left: -20px;
	padding: 5px;
}

.camera .ptz div.up > div,
.camera .ptz div.down > div,
.camera .ptz div.left > div,
.camera .ptz div.right > div {
	border-radius: inherit;
	background-color: #fff;
	height: 100%;
	width: 100%;
}

.camera .ptz div.up i, .camera .ptz div.down i {
	margin-top: 5px;
}

.camera .ptz div.left {
    width: 25px;
    height: 30px;
	border-radius: 5px 0 0 5px;
	top: 50%;
	margin-top: -20px;
	left: 0;
	padding: 5px;
}

.camera .ptz div.right {
    width: 25px;
    height: 30px;
	border-radius: 0 5px 5px 0;
	top: 50%;
	margin-top: -20px;
	right: 0;
	padding: 5px;
}

.camera .ptz div.left i, .camera .ptz div.right i {
	margin-top: 7px;
}

.camera .bottom .right i {
	margin-left: 7px;
}

.camera .ptz > div:hover, .camera > .ptz div:active {
	opacity: 0.75;
	cursor: pointer;
}

.camera .ptz .line {
	display: block;
	width: 1px;
	height: 30px;
	border: 1px solid #fff;
	opacity: 0.5;
}

.right .tooltip, .right .tooltip div {
	display: block;
}

.camera .interactive {
	position: absolute;
	right: 10px;
	bottom: 30px;
	background-color: #000;
	border-radius: 10px;
	opacity: 0.5;
	text-align: center;
	z-index: 9999;
}

.camera .interactive > div {
	display: inline-block;
	float: left;
}

.camera .zoom,
.camera .focus
{
	width: 50px;
	height: 100px;
	background-color: #000;
	border-radius: 10px;
	text-align: center;
}

.camera .zoom .in, .camera .zoom .out ,
.camera .focus .in, .camera .focus .out
{
	padding: 5px 2px;
	background-color: #fff;
	margin: 5px;
	cursor: pointer;
	opacity: 0.5;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* ƒл¤ Firefox */
	width: 40px;
	position: absolute;
}

.camera .zoom .in:hover, .camera .zoom .in:active,
.camera .focus .auto:hover, .camera .focus .auto:active,
.camera .zoom .out:hover, .camera .zoom .out:active ,
.camera .focus .in:hover, .camera .focus .in:active,
.camera .focus .out:hover, .camera .focus .out:active
{
	opacity: 0.75;
}

.camera .focus .in,
.camera .zoom .in
{
	border-radius: 5px 5px 0 0;
	top: 0;
}

.camera .focus .out,
.camera .zoom .out
{
	border-radius: 0 0 5px 5px;
	bottom: 0;
}

.camera .focus .auto {
	padding: 0;
	background-color: #fff;
	margin: 5px;
	cursor: pointer;
	opacity: 0.5;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* ƒл¤ Firefox */
	width: 40px;
	position: absolute;
	margin-top: 40px;
	height: 20px;
}

.camera .focus .status,
.camera .zoom .status
{
	text-align: center;
	color: #fff;
	position: absolute;
	top: 41px;
	left: 8px;
}

.camera .focus {
	color: #000;
	font-weight: bold;
}

div.help {
	position: absolute;
	top: 5%;
	left: 50%;
	padding: 10px;
	background-color: #3B3833;
	border-radius: 5px;
	box-shadow: 1px #3B3833;
	width: 250px;
	margin-left: -125px;
}

div.help div.arrow {
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;

	border-top: 20px solid #3B3833;
	position: absolute;
	bottom: -20px;
	left: 50%;
	margin-left: -20px;
}

.camera .ptz div.zoomIn {
	width: 30px;
	height: 25px;
	border-radius: 7px 7px 0 0;
	top: 0;
	margin-left: -20px;
	padding: 5px;
	left: -33px;
	opacity: 0;
	z-index: 9999;
}

.camera .ptz div.zoomOut {
	width: 30px;
	height: 25px;
	border-radius:  0 0 7px 7px;
	left: -33px;
	opacity: 0;
	z-index: 9999;
	bottom: 0;
	margin-left: -20px;
	padding: 5px;
}

.hls-play {
	background-color: rgba(76,113,162,0.2);
	width: 100px;
	height: 100px;
	top: 50%;
	left: 50%;
	position: absolute;
	margin: -50px 0 0 -50px;
	border-radius: 100%;
	text-align: center;
	border: 2px solid #fff;
}

.hls-play > div {
	width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-left: 60px solid #fff;
    border-bottom: 30px solid transparent;
	top: 50%;
	margin-top: -30px;
	left: 50%;
	margin-left: -22px;
	position: absolute;
}

.camera .bottom div.ui-slider {
	width: 70px;
	margin-left: -70px;
	bottom: 10px;
	position: absolute;
	height: 4px;
	border-radius: 0;
	background: silver;
	border: 0;
}
.camera.camera-sm .bottom div.ui-slider {
	bottom: 8px;
}
.camera.camera-sm-x .bottom div.ui-slider {
	width: 40px;
	margin-left: -40px;
	bottom: 7px;
}

.camera .bottom div.ui-slider-range {
	background-color: #d14;
	display: inline-block;
	border-radius: inherit;
	margin-left: 0px;
}

.camera .bottom div .ui-slider-handle {
	border-radius: 0;
	width: 6px;
	margin-left: -3px;
	top: calc(50% - 0.55em - 1px);
	top: -webkit-calc(50% - 0.55em - 1px);
	height: 1.1em;
	box-sizing: content-box;
}
.camera.camera-sm .bottom div .ui-slider-handle {
	width: 4px;
}

.buttons-analynit {
	display: block;
	background-color: #000;
	opacity: 0.5;
	height: 50px;
	width: 123px;
	position: absolute;
	z-index: 499;
	top: 10px;
	right: 10px;
	border-radius: 5px;
	cursor: pointer;
}

#triangle-right {
    width: 0;
    height: 0;
    border-top: 50px solid transparent;
    border-left: 100px solid red;
    border-bottom: 50px solid transparent;
}

.buttons-analynit > div {
	cursor: pointer;
}

.buttons-analynit .play {
	display: inline-block;
	height: 0;
	width: 0;
	border-top: 18px solid rgba(0, 0, 0, 0);
	border-bottom: 18px solid rgba(0, 0, 0, 0);
	border-left: 18px solid #FFF;
	position: relative;
	top: -7px;
	opacity: 0.5;
	z-index: 500;
	left: 4px;
}

.camera .buttons-analynit .download {
	display: inline-block;
	opacity: 0.5;
	position: relative;
	top: 5px;
	left: 9px;
	width: auto;
}

.buttons-analynit .download .tr {
	width: 15px;
	height: 20px;
	background: #fff;
	margin: 0 auto;
}

.buttons-analynit .download .arrow-down {
	display: block;
	height: 0;
	width: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;

	border-top: 20px solid #FFF;

	position: relative;
	top: -6px;

	z-index: 500;
}

.buttons-analynit .cross {
	display: inline-block;
	color: #FFF;
	font-size: 80px;
	position: relative;
	opacity: .5;
	top: 3px;
	left: 5px;
}

.camera .prev {
	width: 0;
	height: 0;
	border-top: 50px solid rgba(0, 0, 0, 0);
	border-right: 100px solid #FFF;
	border-bottom: 50px solid rgba(0, 0, 0, 0);
	display: inline-block;
	position: absolute;
	left: -60px;
	top: 50%;
	margin-top: -25px;
	cursor: pointer;
}

.camera .next {
    width: 0;
    height: 0;
    border-top: 50px solid transparent;
    border-left: 100px solid #FFF;
    border-bottom: 50px solid transparent;
	display: inline-block;
	position: absolute;
	right: -60px;
	top: 50%;
	margin-top: -25px;
	cursor: pointer;
}


.play-video {
	width: 0;
	height: 0;
	border-top: 50px solid rgba(0, 0, 0, 0);
	border-left: 100px solid #FFF;
	border-bottom: 50px solid rgba(0, 0, 0, 0);
	display: inline-block;
	position: absolute;
	left: 50%;
	bottom: 10px;
	margin-left: -50px;
	cursor: pointer;
}

input[type="checkbox"].checkbox-camera,
input[type="radio"].radio-camera {
	margin: 1px 5px 3px;
}

.margontop5 {
	margin: 5px 0;
}

.margontop5 label {
	font-size: 12px;
}

.center-text {
	text-align: center;
}

.images-grid {
	position: relative;
	height: 260px;
}

.images-grid img {
	width: 100%;
}

.images-grid img.shadow {
	box-shadow: 0 0 2px 1px #ccc;
}

.btn-save-screen {
	position: absolute;
	right: 20px;
	top: 20px;
}

.btn-save-play {
	position: absolute;
	right: 130px;
	top: 20px;
}

.btn-save-next {
	position: absolute;
	right: 235px;
	top: 20px;
}

.btn-save-next2 {
	position: absolute;
	right: 130px;
	top: 20px;
}

.messtage-tariff-selection {
	position: absolute;
	left: 10px;
	bottom: 10px;
	background: #000;
	padding: 10px;
	border-radius: 10px;
	color: #fff;
	font-size: 14px;
	opacity: .3;
	cursor: pointer;
}

.camera .bottom div.tooltip-inner {
	display: block;
	padding: 6px;
}

.ui-dialog { z-index: 9999999 !important ;}
.ui-dialog button, .ui-dialog button:active  {outline: none !important}

.link-div {
	text-align: left;
	padding-left: 10px;
	margin-bottom: 15px;
}

.link-div i {
	margin-right: 5px;
	position: relative;
	top: 1px;
	margin-top: 7px;
	font-size: 13px;
	color: #3A3A3A;
	width: 13px;
	height: 13px;
	text-align: center;
}

.link-div a {
	text-decoration: none;
    border-bottom: 1px dashed;
	color: #3A3A3A;
	margin-bottom: 5px;
}

.finish-record-div {
	position: absolute;
	z-index: 52;
	background-color: #000000;
	opacity: 0.7;
	border-radius: 10px;
	color: #ffffff;
	text-align: center;
	padding: 20px;
	top: calc(50% - 60px);
	left: calc(50% - 155px);
	top: -webkit-calc(50% - 60px);
	left: -webkit-calc(50% - 155px);
}

.finish-record-div .record-button {
	font-size: 12px;
	float: left;
	cursor: pointer;
	width: 90px;
	margin-top: 0px;
}

.finish-record-div .record-button:hover {
	text-decoration: underline;
}

.finish-record-div a {
	display: block;
	color: #ffffff;
	font-size: 12px;
	margin-top: 60px;
}

.camera .product-info {
	box-shadow: inset 0px 0px 20px rgba(0,0,0,1);
	border-radius:5px; 
	background-color: #fff;
	overflow:hidden;
}

.camera .product-info table {
	margin: 0 auto;
}

.camera .product-info table td {
	vertical-align: middle;
	text-align: left;
}

.camera .product-info table td.image {
	width: 120px;
	min-width: 120px;
	text-align: right;
	padding-right: 30px;
}

.camera .product-info table td.image img {
	max-height:140px;
	max-width: 80px;
}

.camera .product-info table td.descr {
	font-size:10px;
	line-height: 13px;
}

.camera .product-info table td.descr div {
	max-height: 90px;
	max-width: 340px;
	overflow: hidden;
	margin-bottom: 8px;
}

.camera .product-info table td h5 {
	color: #222;
	margin-top: 0px;
}

.camera .product-info table td.descr .price {
	float: left;
	margin-right: 10px;
	font-weight: bold;
	font-size: 14px;
	margin-top: 8px;
	color: #222;
}

.invalid {
  color: red;
  font-weight: 400;
  border: 1px solid #ffc5c7 !important;
}

.invalid::-webkit-input-placeholder { /* WebKit browsers */
    color: red !important;
}

.invalid:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    red !important;
   opacity:  1 !important;
}
.invalid::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    red !important;
   opacity:  1 !important;
}
.invalid:-ms-input-placeholder { /* Internet Explorer 10+ */
   color:    red !important;
}

.camera .patrol
{
	width: 50px;
	height: 100px;
	background-color: #000;
	border-radius: 10px;
	text-align: center;
	color: #000;
	font-weight: bold;
}

.camera .patrol .enable, .camera .patrol .disable, .camera .patrol .info
{
	padding: 3px 2px;
	margin: 0 auto;
	cursor: pointer;
	opacity: 0.5;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* ƒл¤ Firefox */
	width: 40px;
	/*position: absolute;*/
	/*background-color: #fff;*/
	background-color: #000;
    border: 2px solid #fff;
    color: #fff;
}

.camera .patrol .enable
{
	border-radius: 5px 5px 0px 0px;
	bottom: 0;
	margin-top: 5px;
}

.camera .patrol .disable
{
	border-radius: 0px 0px 5px 5px;
	bottom: 0;
	right: 0px;
	margin-bottom: 5px;
}

.camera .patrol .info
{
	border-radius: 5px 5px 0 0;
	top: 0;
	padding: 5px 0;/*width: 90px;*/
	opacity: 0.5 !important;
	background-color: #000;
    border: none;/*2px solid #fff;*/
    color: #fff;
}

.camera .patrol > div:hover {
	opacity: 0.75 !important;
	cursor: pointer;
	background-color: #fff;
    color: #000;
}

.camera .patrol .active {
	opacity: 0.75 !important;
	cursor: pointer;
	background-color: #fff;
    color: #000;
}

.camera .patrol .active:hover {
	background-color: #000;
    color: #fff;
}

.camera .patrol .info:hover
{
	cursor: default;
	background-color: #000;
    color: #fff;
}

.auto-pause-div {
	position: absolute;
	z-index: 52;
	background-color: #000000;
	opacity: 0.7;
	border-radius: 10px;
	color: #ffffff;
	text-align: center;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.auto-pause-div .repeat-button {
	font-size: 12px;
	text-align: center;
	cursor: pointer;
	margin-top: 20px;
}

.camera .device-control .info {
    border-radius: 5px 5px 5px 5px;
    top: 0;
    width: 90px;
    opacity: 0.5 !important;
    background-color: #000;
    border: 2px solid #fff;
    color: #fff;
    height: 90px;
    padding-top: 35px;
    margin-top: 4px;
    margin-left: 4px;
    margin-right: 4px;
	box-sizing: border-box;
}

.camera .device-control .info:hover {
    background-color: #fff;
    border: 2px solid #000;
	color: #000;
	font-weight: bold;
	cursor: pointer;
}

.control-device-div {
	position: absolute;
	z-index: 52;
	background-color: #000000;
	opacity: 0.7;
	border-radius: 10px;
	color: #ffffff;
	text-align: center;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.sidebar {
	width: 330px;
	height: 100%;
	position: absolute;
	left: -331px;
	top: 0;
	z-index: 100;
}
.sidebar-fixed {
	position: relative;
}
.sidebar * {
	box-sizing: border-box;
}
.sidebar > div:first-child {
	width: calc(100% - 30px);
	height: 100%;
	text-align: left!important;
	position: relative;
	background-color: rgba(56, 55, 55, 0.8);
	width: -webkit-calc(100% - 30px);
	border-top: 1px solid transparent;
}
.sidebar-fixed > div:first-child {
    background-color: rgb(38 39 41);
	border-top: none;
}
.sidebar > div:first-child:after {
	content: "";
	height: 0;
	display: block;
}
.sidebar__toggle, .sidebar__toggle:visited {
	width: 30px;
	height: 66px;
	position: absolute;
	top: 50%;
	margin-top: -33px;
	right: 0;
	z-index: 100;
	background: rgb(78, 84, 84);
	opacity: 0.60;
	border-radius: 3px;
	color: white;
	font-weight: bold;
	font-size: 35px;
    text-align: center;
	box-sizing: border-box;
    box-shadow: 1px 2px 4px rgb(35, 35, 35);
	line-height: 66px;
}
.sidebar__toggle:hover {
	color: white;
	opacity: 0.85;
	text-decoration: none;
}
.sidebar__toggle-left {
	left: 0;
}
.sidebar__header {
    padding: 2.5em 0 15px;
    position: absolute;
    top: 0;
    width: 100%;
	z-index: 10;
}
.sidebar-fixed .sidebar__header {
    background-color: inherit;
}
.sidebar__header a,
.sidebar__cameras a {
	line-height: 20px;
	padding-left: 25px;
	font-size: 14px;
	display: inline-block;
	padding-top: 12px;
	padding-bottom: 12px;
	width: 100%;
}
.sidebar__header a[class^="h"] {
	font-size: larger;
	padding-top: 12px;
    padding-bottom: 12px;
	padding-left: 54px;
}
.sidebar__header a, .sidebar__header a:hover, .sidebar__header a:active,
.sidebar__cameras a, .sidebar__cameras a:hover, .sidebar__cameras a:active {
	color: white;
	text-decoration: none;	
}
.sidebar__header > div:first-child {
	position: relative;
}
.sidebar__header * + div {
	padding: 15px 25px 0;
	color: white;
}
.sidebar__header > a {
	padding: 12px 25px;
	color: white;
}
.sidebar__header * + div::after {
	font: normal normal normal 14px/1 FontAwesome;
	content: "\f002";
	position: absolute;
	right: 36px;
	margin-top: 2.5%;
	opacity: 0.75;
}
.sidebar__header input {
	padding-right: 30px;
	background: transparent;
	border-radius: 1px;
	width: 100%;
	height: 2.2em;
	color: inherit;
    border: 1px solid;
    border-color: inherit;
    outline: none;
}
.sidebar__cameras {
	overflow: hidden;
}
.sidebar__cameras > ul {
	list-style-type: none;
	margin: 0;
}
.sidebar__cameras li > ul {
	margin: 0 0 15px;
}
.sidebar__cameras li {
	width: 100%;
	position: relative;
}
.sidebar__cameras li a {
	vertical-align: middle;
	padding-right: 15px;
}
.sidebar__cameras li a > strong {
	display: block;
    line-height: 0.25em;
    margin-bottom: 0.25em;
    font-weight: 700;
    text-align: right;
}
.sidebar__cameras li a > span {
	display: block;
    overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.sidebar__cameras li a > span::before {
	padding-right: 5px;
    content: '\0043e\00442';
	opacity: 0.5;
}
.sidebar__cameras li a > span:only-child::before {
	display: none;
}
.sidebar__cameras li a > span ~ span::before {
    content: '\00434\0043e';
}
.sidebar__cameras .item-camera-active {
    cursor: default;
    background-color: rgba(255,255,255,0.3);
}
.sidebar__cameras a:hover, .sidebar__cameras .item-group-active div > a, .sidebar__header a:hover {
	background-color: rgba(255,255,255,0.1);
}
.sidebar__cameras .item-camera::before,
.sidebar__cameras .item-group > div::before,
.sidebar__header > div:first-child::before {
    content: '';
	width: 20px;
	height: 14px;
	position: absolute;
	z-index: 2;
}
.sidebar__cameras .item-camera::before {
	top: 1.2rem;  
	left: 1.8rem;
	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAALCAYAAAEB5T2vAAAABGdBTUEAALGPC/xhBQAAAOpJREFUKBVjnD179pH///9bM4EIBiBgnDVr1n9GRkZHJjCPkdEQLALiwACKQFpaGiOKAEgVWC9cOSPjZgwVMEkmJqaif//+lbLABNBpoGQDUIwPpKAY6C4LdAXMzMzFSUlJj3FZ8Q3oQu65c+eqozgKyRQukOTfv39v4FLAAJIEacCpAGYaTgUCAgLsIEUsQB+shqlGor+FhYX9WrVqFTsuXyCpRWWCAjAlJaUf6on9OAMSVRuCB4x4DWCcPwN6UhIkSo4BaQjjiAglZMUgNjBMKoF4M0wcFIr/YBxiaKDm76mpqX6gUAYZBACbZ1dMMd2jFAAAAABJRU5ErkJggg==") no-repeat;
}
.sidebar__cameras .item-group > div + ul > .item-camera::before {
 	left: 4.25rem;
}
.sidebar__cameras .item-group > div::before,
.sidebar__header > div:first-child::before {
	left: 1.8rem;
	top: 14px;
	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAOCAYAAAG+6sciAAAABGdBTUEAALGPC/xhBQAAALJJREFUKBVjmD17diYDFDDOmjXrP4zDAOPAReEMuBIggwmIPyELgPkgvUD8CyaBoRWkDQVgCGBoQVEO5DAxMS3A0IWu6N+/fwkEFYE0gaz7DKR5QBxmZmb/5OTkTSA2DBB2D0wlLpqgO+igAOSLj0AH8mFzJCMj46////+nA+kH2OSBwfIpMTHxPMGgwKYZWQxkEUHPImvAxga6lI1iQ0AGDyJDgAGTBcSghEgyAOkD6QcArFc7B3wU5NgAAAAASUVORK5CYII=") no-repeat;
}
.sidebar__cameras .item-group > div > a,
.sidebar__cameras .item-camera > a,
.sidebar__cameras .item-group > ul:first-child a {
	padding-left: 3.90rem;
}
.sidebar__cameras .item-group li a {
	padding-left: 6.25rem;
}
.sidebar__cameras .item-index a {
	padding-left: 1.72rem;
}
.sidebar__cameras li > i:last-child {
	position: absolute;
	padding: 15px;
	right: 0;
	top: 0;
	color: lightgray;
	width: 44px;
	text-align: center;
	z-index: -1;
	cursor: pointer;
}
.sidebar__cameras li.item-group-toggle > i:last-child {
	z-index: 10;
}
.sidebar__cameras li.item-group-toggle > i:last-child:hover {
	color: white;
}
.sidebar__cameras li.item-group-toggle a {
	padding-right: 35px;
}
.sidebar__scroll {
	display: none;
	border: 1px solid #b1b1b1;
    cursor: pointer;
    position: absolute;
    height: 180px;
    right: 15px;
    width: 10px;
	top: 0;
	box-sizing: content-box;
}
.sidebar__scroll div {
    height: 100%;
    left: 1px;
    top: 0px;
    position: absolute;
    width: 100%;
	background: transparent;
}
.sidebar__scroll .sidebar__scrollthumb {
    background: gray;
    z-index: 12;
    background-clip: content-box;
    width: 8px;
    left: 0px;
    border-radius: 2px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    box-sizing: border-box;
}

.camera-fullscreen .navbar.navbar-inverse.navbar-static-top,
.camera-fullscreen .header {
	display: none!important;
	height: 0px!important;
	bottom: 0px!important;
	position: absolute!important;
	min-height: 0!important;
}
.camera-fullscreen .control {
	height: 0px!important;
	min-height: 25px!important;
}
.camera-fullscreen.onecamera .control {
	min-height: 0px!important;
}
.camera-fullscreen, .camera-fullscreen body {
	background-color: #212121;
	scrollbar-arrow-color: #212121; /* ÷вет стрелок */
	scrollbar-base-color: #212121; /* ÷вет полосы прокрутки */
	scrollbar-shadow-color: #212121; /* ÷вет тени */
	scrollbar-highlight-color: #212121; /* ÷вет светлых участков тени */
	background: #212121; /* ÷вет фона */
	overflow: hidden;
}
.camera-fullscreen ::-webkit-scrollbar {
	height: 12px;
	width: 12px;
	background: #212121;
}
.camera-fullscreen ::-webkit-scrollbar-thumb  {
	background: #212121;
}
.camera-fullscreen ::-webkit-scrollbar-corner  {
	background: #212121;
}
.camera-fullscreen .display .back  {
	display: none!important;
}
.md-hidden {
	display: none!important;
}

.sidebar_dark .sidebar-scroll::-webkit-scrollbar {
	width: 16px;
}
.sidebar_dark .sidebar-scroll::-webkit-scrollbar-track {
	background: #7f7d77;
}
.sidebar_dark .sidebar-scroll::-webkit-scrollbar-thumb {
	background-color: #605e5e;
	border-left: 1px solid #7f7d77;
	border-right: 1px solid #7f7d77;
}
.sidebar_dark .sidebar-scroll::-webkit-scrollbar-thumb:hover {
	background-color: #979590;
}
.sidebar_dark .sidebar-scroll::-webkit-scrollbar-button {
	background: no-repeat #746c6c;
	height: 16px;
    background-size: 0.75em;
    background-position: center bottom;	
}
.sidebar_dark .sidebar-scroll::-webkit-scrollbar-button:vertical:decrement {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23605e5e'><polygon points='0,50 100,50 50,0'/></svg>");
}
.sidebar_dark .sidebar-scroll::-webkit-scrollbar-button:vertical:increment {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23605e5e'><polygon points='0,0 100,0 50,50'/></svg>");
}
.sidebar_dark .sidebar-scroll {
	scrollbar-color: #605e5e #7f7d77;
}
.sidebar2 {
	position: absolute;
	z-index: 100;
	top: 0px;
	right: 0px;
	padding: 20px 20px 9px;
	background-image: linear-gradient(#f5f5f5, #f2f2f2);
	box-shadow: 0px 0px 3px rgba(0,0,0,0.12);	
	box-sizing: border-box;
	border-radius: 3px 0px 0px 3px;
	width: 300px;
	height: 100%;
}
.sidebar2.sidebar_dark {
	background-image: linear-gradient(#3a3838, #464543);
}
.sidebar2 .sidebar-scroll {
	overflow-y: auto;
	overflow-x: hidden;
	height: calc(100%);
}

.sidebar2 ul {
	margin: 0;
	list-style-type: none;
}
.sidebar2 div + div {
	height: calc(100% - 11px);
}
.sidebar2 li {
	margin-bottom: 10px;
	padding-left: 10px;
	position: relative;
	text-align: left;
}
.sidebar2 li > div {
	position: static;
	margin-right: 5px;
	overflow: hidden;
	width: 100%;
	margin-bottom: 0;
}
.sidebar2 li > div > a {
	box-sizing: border-box;
	width: 99%;
	display: block;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	color: #08c;
}
.sidebar2.sidebar_dark li > div > a {
	color: #50aedd;
}
.sidebar2 ul small {
	font-size: 85%;
	display: block;
}
.sidebar2 ul small > span {
	width: calc(100% - 95px);
	text-overflow: ellipsis;
	display: inline-block;
	overflow: hidden;
	white-space: nowrap;
	color: inherit;
	vertical-align: top;
}
.sidebar2.sidebar_dark ul small > span {
	color: white;
}
.sidebar2 form, .sidebar2 form + button  {
	margin-bottom: 10px;
	width: 100%;
}
.sidebar2 form > a  {
	padding: 5px 10px;
	width: 32px;
	text-align: center;
	border: 1px solid #5e5a5a;
}
.sidebar2 .nav-tabs li  {
	padding-left: 0px;
}
.sidebar2 .nav-tabs li a {
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 20px;
}
.sidebar2 form > .input-append  {
	box-sizing: border-box;
	position: relative;
	width: 100%;
	margin-right: 6px;
	font-size: inherit;
}
.sidebar2 form > .input-append > [name="calendar"]  {
	display: inline-block;
	position: absolute;
	right: 8px;
	top: 6px;
	z-index: 10;
	opacity: 0.65;
}
.sidebar2 form > * {
    display: inline-block;
	vertical-align: middle;
	box-sizing: border-box;
	height: 32px;
	margin: 0;
}
.sidebar2 .input-append > input {
    border-radius: 0px;
	width: 100%;
	outline: none;
	box-shadow: none;
	padding-right: 30px;
	padding: 4px 6px;
	box-sizing: border-box;
	height: 100%;
	text-align: center;
}
.sidebar2.sidebar_dark .input-append > input {
    background-color: #434040;
    border: 1px solid #5e5a5a;
    color: #fff;
}
.sidebar2.sidebar_dark form a, .sidebar2.sidebar_dark .nav li a  {
	color: #fff;
}
.sidebar2.sidebar_dark .nav li.active a,.sidebar2.sidebar_dark .nav li a:hover  {
	color: #434040;
}
.sidebar2.sidebar_dark .fa + a {
    color: #fff;
}

.eventpanel li.item-info {
	border-left: 3px solid green;	
}
.eventpanel li.item-warning {
	border-left: 3px solid #efb342;
}
.eventpanel li.item-danger {
	border-left: 3px solid #ee5f5b;
}
.eventpanel ul em {
	color: gray;
	font-style: normal;
	display: inline-block;
    vertical-align: top;
}
.eventpanel .item-error {
	border-left: 3px solid #bb4747;
}
.eventpanel .item-oneline {
	padding-left: 5px;
	line-height: 1.5em;
	border-left: none;
}
.eventpanel .item-oneline > * {
    display: inline-block;
	vertical-align: middle;
}
.eventpanel .item-oneline a {
	text-decoration: none;
	width: 160px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-left: 5px;
	font-size: 13px;
}
.eventpanel .item-oneline.hover a {
	font-weight: bold;
}
.eventpanel .item-oneline.item-info {
	color: #9adec0;
}
.eventpanel .item-oneline.item-info a:hover, .eventpanel .item-oneline.item-info.hover a {
	color: #56a280;
}
.eventpanel .item-oneline.item-warning {
	color: #e4d4a3!important;
}
.eventpanel .item-oneline.item-warning a:hover, .eventpanel .item-oneline.item-warning.hover a {
	color: #bf9b58;
}
.eventpanel .item-oneline.item-error {
	color: #f76c6c!important;
}
.eventpanel .item-oneline.item-error a:hover, .eventpanel .item-oneline.item-error.hover a {
	color: #f76c6c;
}
.eventpanel .item-oneline.item-error a:hover, .eventpanel .item-oneline.item-error.hover a {
	color: #f76c6c;
}
.eventpanel .item-oneline i.fa {
	opacity: 0.33;
}
.eventpanel .item-oneline span.fa {
	opacity: 0.75;
}
.eventpanel .item-oneline span.fa:hover {
	cursor: pointer;
	opacity: 1.0;
}
.eventpanel .item-oneline span.fa[data-user="null"] {
	color: #fff;
}
.cashboxeventpanel__state_dialog .form-horizontal label {
	width: 100px;
    float: left;
    font-size: 12px;
    margin-top: 5px;
}
.cashboxeventpanel__state_dialog .form-horizontal label + .controls {
	margin-left: 120px;
	text-align: right;
}

div[class^="va"] > div {
	text-align: left;
}

.ptz-center:hover {
	cursor: pointer;
}

.camera canvas {
	z-index: 10;
	position: absolute;
	left: 0;
	top: 0;
}