@font-face {
  font-family: DIGITALDREAMFAT;
  src: url(DIGITALDREAMFAT.ttf);
}

@font-face {
  font-family: DIGITALDREAMFATNARROW;
  src: url(DIGITALDREAMFATNARROW.ttf);
}


*
{
	margin: 0px;
	padding: 0px;
	word-wrap: break-word;
}

.demo-container 
{
	box-sizing: border-box;
	width: 650px;
	height: 450px;
	padding: 20px 15px 15px 15px;
	margin: 15px auto 30px auto;
	border: 1px solid #000;
	background: #fff;
	background: linear-gradient(#f6f6f6 0, #fff 50px);
	background: -o-linear-gradient(#f6f6f6 0, #fff 50px);
	background: -ms-linear-gradient(#f6f6f6 0, #fff 50px);
	background: -moz-linear-gradient(#f6f6f6 0, #fff 50px);
	background: -webkit-linear-gradient(#f6f6f6 0, #fff 50px);
	box-shadow: 0 3px 10px rgba(0,0,0,0.15);
	-o-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	-ms-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	-moz-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.demo-placeholder 
{
	width: 100%;
	height: 100%;
	font-size: 14px;
	line-height: 1.2em;
}
 
html {
	height: 100%;
	font-family: 'Arial', 'Open Sans', sans-serif;
}

body
{
	background: #dfdfdf url('../pics/body_bg_02.jpg') center 0 no-repeat;
	color: #1f1f1f;
	font-family: 'Arial', 'Open Sans', sans-serif;
	margin: 0;
	text-align: center;
	font-size: 13px;
}


/* Remove the navbar's default margin-bottom and rounded borders */ 
.navbar 
{
  margin-bottom: 0;
  border-radius: 0;
  background: #757575 url('../pics/header_bg1.jpg') center center no-repeat;
  border: 1px solid #000;
}


#myNavbar {
  padding-top:9px;
}
/*
#myANavbar {
  padding-top:9px;
  display: block;
}/**/

#mainc {
	margin: 0px;
	padding: 0px;
}
#maincc {	
	max-width: 1400px;
	width: 100%;
	display: inline-block; 
	background: #eee; /* For browsers that do not support gradients */    
	background: -webkit-linear-gradient(top, #ccc, #eee); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(bottom, #ccc, #eee); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(bottom, #ccc, #eee); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to bottom, #ccc, #eee); /* Standard syntax (must be last) */
}

#navc {
	margin-right: 0px;
	margin-left: 0px;
	padding-right: 15px;
	padding-left: 15px;
  border-top: 1px solid #969696;
  border-bottom: 1px solid #474747;
  border-left: 1px solid #969696;
  border-right: 1px solid #474747;
}
#navcc {
	max-width: 1400px;
	width: 100%;
	display: inline-block; 
}


.well
{
	background-color: #eee;
	border: 1px solid #d2d2d2;
	border-radius: 5px;
	height: 200px;
	margin-top: 15px;
}

/****** Index ******/
.device-list
{
	margin-top: 20px;
	margin-left: 3;	
	height: 493px;
	overflow-y: scroll;
	margin-bottom: 100px;
}

.device-single
{
	width:100%;
	height: auto;		
	padding: 10px;
	
	margin-bottom: 8px;
	
	color: #000;
	
	background-color: #07471C;
	border: 1px solid #d2d2d2;
	border-radius: 5px;
}

.device-single a
{
	color: #000;
	text-decoration: underline;
}

.device-single-error
{
	background-color: #921A1A;
}

.device-single-warning
{
	background-color: #D26900;
}





header {
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  z-index: 10;
}

footer 
{
  z-index: 10;
	display: inline-block;
	max-width: 1400px;
	width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
  border-radius: 0;
  background: #757575 url('../pics/header_bg.jpg') center center no-repeat;
  border: 1px solid #000;
}

.foot a 
{ color: #fff; text-decoration: none; font-weight: bold; }
.foot a:visited 
{ color: #fff; text-decoration: none; font-weight: bold; }
.foot a:hover 
{ color: #d00; text-decoration: none; font-weight: bold; }
.foot a:visited:hover 
{ color: #d00; text-decoration: none; font-weight: bold; }


h3 {
	color: #222;
}

/* Set height of the grid so .sidenav can be 100% (adjust as needed) */
.row.content {
	width: 100%;
}

.reference a 
{ color: #f00; text-decoration: none; font-weight: bold; }
.reference a:visited 
{ color: #f00; text-decoration: none; font-weight: bold; }
.reference a:hover 
{ color: #b00; text-decoration: none; font-weight: bold; }
.reference a:visited:hover 
{ color: #b00; text-decoration: none; font-weight: bold; }

.referenceb a 
{ color: #000; text-decoration: none; font-weight: bold; }
.referenceb a:visited 
{ color: #000; text-decoration: none; font-weight: bold; }
.referenceb a:hover 
{ color: #444; text-decoration: none; font-weight: bold; }
.referenceb a:visited:hover 
{ color: #444; text-decoration: none; font-weight: bold; }

.referencet a 
{ color: #000; text-decoration: none; }
.referencet a:visited 
{ color: #000; text-decoration: none; }
.referencet a:hover 
{ color: #444; text-decoration: none; }
.referencet a:visited:hover 
{ color: #444; text-decoration: none; }


.referenceg a 
{ color: #070; text-decoration: none; font-weight: bold; }
.referenceg a:visited 
{ color: #070; text-decoration: none; font-weight: bold; }
.referenceg a:hover 
{ color: #040; text-decoration: none; font-weight: bold; }
.referenceg a:visited:hover 
{ color: #040; text-decoration: none; font-weight: bold; }

.referencetg a 
{ color: #070; text-decoration: none; }
.referencetg a:visited 
{ color: #070; text-decoration: none; }
.referencetg a:hover 
{ color: #040; text-decoration: none; }
.referencetg a:visited:hover 
{ color: #040; text-decoration: none; }

.referencer a 
{ color: #f00; text-decoration: none; font-weight: bold; }
.referencer a:visited 
{ color: #f00; text-decoration: none; font-weight: bold; }
.referencer a:hover 
{ color: #b00; text-decoration: none; font-weight: bold; }
.referencer a:visited:hover 
{ color: #b00; text-decoration: none; font-weight: bold; }

.referencetr a 
{ color: #f00; text-decoration: none; }
.referencetr a:visited 
{ color: #f00; text-decoration: none; }
.referencetr a:hover 
{ color: #b00; text-decoration: none; }
.referencetr a:visited:hover 
{ color: #b00; text-decoration: none; }


#myNavbar nav { padding: 8px 20px 0 20px; }
#navbar-header { margin-left: -5px; margin-right: -5px;  }
#myNavbar ul li { float: left; margin-left: 18px; }
#myNavbar ul li:first-child { margin-left: 0; }
#myNavbar a {display: block;position: relative;padding: 0 12px;height: 30px;line-height: 30px;font-size: 15px;color: #FFF;}
#myNavbar .active a, #myNavbar a:hover { 
	border-radius: 4px; 
	background: #484848;
	-moz-box-shadow: 0 1px 0 #3f3f3f, inset 0 2px 3px rgba(0,0,0,0.45);
	-webkit-box-shadow: 0 1px 0 #3f3f3f, inset 0 2px 3px rgba(0,0,0,0.45);
	box-shadow: 0 1px 0 #3f3f3f, inset 0 2px 3px rgba(0,0,0,0.45); 
	}
#myNavbar a:hover { text-decoration: none; } 

/*
#myANavbar nav { padding: 8px 20px 0 20px; }
#myANavbar ul li { float: left; margin-left: 18px; }
#myANavbar ul li:first-child { margin-left: 0; }
#myANavbar a {display: block;position: relative;padding: 0 12px;height: 30px;line-height: 30px;font-size: 15px;color: #FFF;}
#myANavbar .active a, #myNavbar a:hover { 
	border-radius: 4px; 
	background: #484848;
	-moz-box-shadow: 0 1px 0 #3f3f3f, inset 0 2px 3px rgba(0,0,0,0.45);
	-webkit-box-shadow: 0 1px 0 #3f3f3f, inset 0 2px 3px rgba(0,0,0,0.45);
	box-shadow: 0 1px 0 #3f3f3f, inset 0 2px 3px rgba(0,0,0,0.45); 
	}
#myANavbar a:hover { text-decoration: none; } /**/


.devtable td {
	padding: 2px;
	text-align: center;
}
.devtable th {
	padding: 2px;
	text-align: center;
}


.bborder {
	border-radius: 3px;
	border: 1px solid #c2c2c2;
}




/* Remove default bullets */
ul, #myUL {
  list-style-type: none;
}

/* Remove margins and padding from the parent ul */
#myUL {
  margin: 0;
  padding: 0;
  display: block;
}


/* Style the caret/arrow */
.caret {
  cursor: pointer;
  user-select: none; /* Prevent text selection */
}

/* Create the caret/arrow with a unicode, and style it */
.caret::before {
  content: "\25B6";
  color: black;
  margin-right: 6px;
}

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.caret-down::before {
  transform: rotate(90deg);
}

/* Hide the nested list */
.nested {
  display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.active {
  display: block;
}






.text-white
{
	color: #000;
}

.sidenav 
{
  padding-top: 20px;
  height: 1000px;
  min-width: 200px;
}

.plot 
{
	margin-bottom: 30px;
	margin-left: auto;
	margin-right: auto;
}

#chart0 .jqplot-meterGauge-label 
{
    font-size: 10pt;
}

/******* Meraky *******/
.meters
{
	margin-top: 20px;
	margin-right: 7px;
}

.meter-wrapper
{
	background: #eee;
	border: 1px solid #d2d2d2;
	border-radius: 5px;
	float: left;
	text-align: center;
	color: #000;
	
	margin: 0 5px;
	
	margin-bottom: 10px;
	
	padding: 10px;
	
	width: 260px;
	height: 390px;
}

.meter-wrapper-25
{
	background: #eee;
	border: 1px solid #d2d2d2;
	border-radius: 5px;
	float: left;
	text-align: center;
	color: #000;
	
	margin: 0 5px;
	
	margin-bottom: 10px;
	
	padding: 10px;
	
	height: 390px;
	width: 260px;
}

.meter-wrapper-2
{
	background: #eee;
	border: 1px solid #d2d2d2;
	border-radius: 5px;
	float: left;
	text-align: center;
	color: #000;
	
	margin: 0 5px;
	
	margin-bottom: 10px;
	
	padding: 10px;
	
	height: 390px;
	width: 450px;
}

.meter-wrapper-2x
{
	background: #eee;
	border: 1px solid #d2d2d2;
	border-radius: 5px;
	float: left;
	text-align: center;
	color: #000;
	
	margin: 0 5px;
	
	margin-bottom: 10px;
	
	padding: 10px;
	
	width: 530px;
	height: 390px;
	
}



.list-wrapper
{
	background: #eee;
	border: 1px solid #d2d2d2;
	border-radius: 5px;
	float: left;
	margin: 0px;
	padding: 10px;
}
.list-wrapper-m
{
	border: 1px solid #ff0000;
	float: left;
	color: #000;
	margin: 0px;
	padding: 0px;
}
.list-wrapper-in
{
	border: 0px solid #d2d2d2;
	border-radius: 0px;
	margin: 0px;
	padding: 0px;
	display: inline-block;
}


.meter
{
	margin: 7px;
	width:180px;
	height:150px;
}


.meterDigital
{
	
	font-size: 32px;
}



.meter-inputs
{
	padding: 2px;
	display: block;
	margin: 2px auto;
	color: #222;
	border-radius: 3px;
}


.checkboxes input 
{
	display: inline-block;
    vertical-align: top;
}
.checkboxes span 
{
	display: inline-block;
}

/****** LEDS *******/
.led-box 
{
  height: 23px;
  width: 23px;
  margin: 1px 10px 1px 10px;
  display: inline-block;
}

.led-green 
{
  margin: 0 auto;
  width: 24px;
  height: 24px;
  background-color: #ABFF00;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0) 0 -1px 7px 1px, inset #304701 0 -1px 9px, #89FF00 0 2px 12px;
}

.led-red 
{
  margin: 0 auto;
  width: 24px;
  height: 24px;
  background-color: #F00;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0) 0 2px 12px;
}

.led-yellow {
  margin: 0 auto;
  width: 24px;
  height: 24px;
  background-color: #ffa500;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0) 0 -1px 7px 1px, inset #808002 0 -1px 9px, #ffa500 0 2px 12px;
}

.led-grey 
{
  margin: 0 auto;
  width: 24px;
  height: 24px;
  background-color: #444;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0) 0 -1px 7px 1px, inset #222222 0 -1px 9px, rgba(15, 0, 0, 0) 0 2px 12px;
}


/******* KONTAKT ********/
.contact-wrapper
{
	display: inline-block;
	padding: 20px;
	margin: 20px;
	
	ssssss: 50%;
	max-width: 680px;
	height: 370px;
	position: relative;
	
	background: #eee;
	border: 1px solid #d2d2d2;
	border-radius: 5px;
	
	text-align: center;
	color: #000;
}


.contact-address
{
	min-width: 200px;
	height: 355px;
	position: relative;
	color: #000;
	font-size: 16px;
	padding-left: 0px;
}

#id-addr
{
	_border: 1px solid red;
	width: 30%;
}

#id-pics
{
	_border: 1px solid green;
	width: 60%;
	position: absolute;
	left: 35%;
	top: 0px;
}

.contact-map
{
	margin-top: 20px;	
	width: 100%;
	height: 355px;
	position: relative;
}

.Flexible-container 
{
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.Flexible-container iframe,   
.Flexible-container object,  
.Flexible-container embed 
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



input, textarea
{
	height: 25px; 
	background-color: #fff; 
	display:inline-block;
	border-radius: 3px;
}

input:disabled, textarea:disabled
{
	background-color: #ccc; 
	color: #888; 
}


/*setup, data tables../**/
.setupTable td {
	/*
	border-left: 1px solid #bbb;
	/**/
	text-align: center;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 5px;
	padding-right: 5px;
}
.setupTable th {
	/*
	border-left: 1px solid #bbb;
	/**/
	text-align: left;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 5px;
	padding-right: 5px;
}
.setupTable input {
	height: 25px; 
	background-color: #fff; 
	display:inline-block;
}

.setupTable 
	input[type="text"],
	input[type="password"], 
	select, 
	textarea {
	background-color: #fff;
	
	padding: 2px;
	border-radius: 3px;
}


.setupTable 
	input[type="text"]:disabled,
	input[type="password"]:disabled, 
	select:disabled, 
	textarea:disabled {
	background-color: #ccc;
	color: #888; 
}




#devMap {
	width: 480px;
	height: 320px;
}

#mapWrapper {
	width: 650px;
	height: 550px;
}


#contactMapWrapper {
	width: 830px;
	height: 320px;
}

#contactInfoWrapper {
	width: 300px;
	height: 320px;
	text-align: left;
	font-size: 16px;
}


#groupWrapper, #usersWrapper, #licencesWrapper, #clockWrapper
{
	height: fit-content;
	width: fit-content;
}





@media screen and (min-width:1600px) and (max-width: 3000px) 
{
	
	#id-pics
	{
		width: 46%;
	}
	
}


/* On small screens, set height to 'auto' for sidenav and grid */
@media screen and (max-width:767px)
{
	#myNavbar {
	  padding-top:9px;
	}
	/*
	#myANavbar {
	  padding-top:9px;
	  display: none;
	}/**/
	
	#myNavbar ul li { float: left; margin-left: 0px; width: 100%; }
	#myNavbar ul li:first-child { margin-left: 0; width: 100%; }
	
	.sidenav 
	{
		height: auto;
		padding: 15px;
	}
	
	.row.content {height:auto;} 
	
	.meters
	{
		text-align: center;
	}
	
	
	.contact-wrapper
	{
		width: 90%;
	}
	
	.contact-address
	{
		width: 100%;
		text-align: center;
		height: auto;
	}
	
	.contact-map
	{
		margin-top: 60px;
		width: 100%;
		margin-bottom: 100px;
	}
	
	#id-addr
	{
		width: 100%;
		position: relative;
	}

	#id-pics
	{
		width: 100%;
		position: relative;
		left: 0;
		top: 20px;
	}
	#maincc {	
		width: 100%;
	}

	#mainc {	
		width: 100%;
	}

	#navc {
		width: 100%;
	}

	#navcc {
		width: 100%;
	}
	
	

}



/* 
zapnut nieco
popisky ku vsetkemu
doplnit class hidden
/**/
.popiska {
	display: none;
	font-weight: bold;
}

.popiska9 {
	display: none;
	font-weight: bold;
}
.table_heads9 {
	display: block;
}

/* 
vypnut nieco
table_heads
doplnit class visible
/**/
.table_heads {
	display: block;
	margin-right: 0px;
	margin-left: 0px;
}
.table_body {
	padding-top: 3px;
	margin-right: 0px;
	margin-left: 0px;
	text-align: left;
}
.padhet {
	padding-left: 5px;
	padding-right: 5px;
}


/* On small screens, set height to 'auto' for sidenav and grid */
/* on smal... for seting tables right on mobile devices */
@media screen and (max-width:1280px)
{
	
	/* 
	zapnut nieco
	popisky ku vsetkemu
	doplnit class visible
	/**/
	
	.popiska {
		display: inline-block;
	}
	/* 
	vypnut nieco
	table_heads
	doplnit class hidden
	/**/
	.table_heads {
		display: none;
	}
	
	.table_body 
	input[type="text"],
	input[type="password"], 
	select, 
	textarea {
		width: 90%;
	}
	
	
}

	
@media screen and (max-width:991px)
{
	.popiska9 {
		display: inline-block;
	}
	.table_heads9 {
		display: none;
	}
}

	
@media screen and (max-width:700px)
{
	#devMap {
		width: 100%;
		height: 320px;
	}
	
	.meter-wrapper-2x
	{
		width: 95%;
		height: fit-content;
	}
	
	.meter-wrapper-25
	{
		width: 95%;
		height: fit-content;
	}
	
	.meter-wrapper-2
	{
		width: 95%;
		height: fit-content;
	}
	
	.meter-wrapper
	{
		width: 95%;
		height: fit-content;
	}
	
	#groupWrapper, #usersWrapper, #licencesWrapper, #clockWrapper, #mapWrapper, #contactMapWrapper, #contactInfoWrapper
	{
		width: 95%;
		height: fit-content;
	}
	

}




.donn {
	display: inline-block;
}
.doff {
	display: none;
}



.fname {
	font-size: 11px;
}







.logouti {
	display: inline-block;
}
.logoutt {
	display: none;
}


@media screen and (max-width:767px)
{
	.logouti {
		display: none;
	}
	.logoutt {
		display: inline-block;
	}

}



.list_table_l { 
	margin: 0px; 
	padding: 0px; 
	text-align: left; 
}
.list_table_b { 
	margin: 0px; 
	padding: 0px; 
	text-align: center; 
    overflow-x: auto;
}

.list_table { 
	display: block;
    white-space: nowrap;
}
.list_table tbody {
    display: table;
    width: 100%;
}
.list_table th { 
	line-height: 30px; 
	border: 0px;
	padding-left: 5px;
	padding-right: 5px;
}
.list_table td { 
	line-height: 34px; 
	border: 0px;
	padding-left: 5px;
	padding-right: 5px;
}

.odsadeny {
	padding-left: 20px;
}








.tabtab td {
	border: 1px solid black;
}






/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
  
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  /*background-color: #2196F3;*/
  background-color: #6c4;
}

input:focus + .slider {
  box-shadow: 0 0 2px #6c4;
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 17px;
}

.slider.round:before {
  border-radius: 50%;
}

