
.select_block {
	box-shadow: 0 4px 11px rgba(0,0,0,0.25);
	-o-box-shadow: 0 4px 11px rgba(0,0,0,0.2);
	-ms-box-shadow: 0 4px 11px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 4px 11px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 4px 11px rgba(0,0,0,0.2);
	z-index: 10;
	position: relative;
	background-color:#ccc;
	border: solid black 1px;
	border-radius: 5px;
	display: none;
	padding: 8px;
	transition: all 0.4s linear;
}

.select_block2 {
	box-shadow: 0 4px 11px rgba(0,0,0,0.25);
	-o-box-shadow: 0 4px 11px rgba(0,0,0,0.2);
	-ms-box-shadow: 0 4px 11px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 4px 11px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 4px 11px rgba(0,0,0,0.2);
	z-index: 10;
	position: absolute;
	background-color: #F0F0F0;
	border: solid #373737 1px;
	border-radius: 5px;
	display: none;
	padding: 8px;
	transition: all 0.4s linear;
	width: 200px;
	text-align: center;
}

.select_block2_confirm_like,
.confirm_delete.select_block2_confirm_like,
.confirm_reset.select_block2_confirm_like {
	position: fixed;
	top: 25%;
	left: 50%;
	transform: translate(-50%, -25%);
	width: 320px;
	max-width: calc(100vw - 24px);
	padding: 0;
	background-color: #efefef;
	border: 1px solid #9a9a9a;
	border-radius: 4px;
	box-shadow: 0px 7px 20px rgba(0, 0, 0, 0.28);
	z-index: 1050;
	overflow: hidden;
	text-align: center;
	color: #222;
}

.setpoint_confirm_header {
	display: flex;
	justify-content: center;
	align-items: center;
	border-bottom: 1px solid #b8b8b8;
	background-color: #dbdbdb;
	padding: 10px 12px;
	font-size: 14px;
}

.setpoint_confirm_body {
	padding: 14px 16px 16px 16px;
	font-family: 'Arial', 'Open Sans', sans-serif;
	background-color: #efefef;
}

.setpoint_confirm_info {
	margin: 0 0 12px 0;
	padding: 8px 10px;
	border: 1px solid #c7c7c7;
	border-radius: 3px;
	background-color: #f7f7f7;
	line-height: 1.4;
	text-align: left;
	font-size: 12px;
	color: #2a2a2a;
}

.setpoint_confirm_info div + div {
	margin-top: 4px;
}

.setpoint_confirm_btn {
	min-width: 64px;
	margin: 0 6px;
}

.confirm_delete {
	box-shadow: 0 4px 11px rgba(0,0,0,0.25);
	-o-box-shadow: 0 4px 11px rgba(0,0,0,0.2);
	-ms-box-shadow: 0 4px 11px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 4px 11px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 4px 11px rgba(0,0,0,0.2);
	z-index: 10;
	position: relative;
	background-color: #ffefea;
	border: solid #373737 1px;
	border-radius: 5px;
	display: none;
	padding: 8px;
	transition: all 0.4s linear;
	width: 160px;
	height: 160px;
	text-align: center;
}

.confirm_reset {
	box-shadow: 0 4px 11px rgba(0,0,0,0.25);
	-o-box-shadow: 0 4px 11px rgba(0,0,0,0.2);
	-ms-box-shadow: 0 4px 11px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 4px 11px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 4px 11px rgba(0,0,0,0.2);
	z-index: 10;
	position: relative;
	background-color: #ffefea;
	border: solid #373737 1px;
	border-radius: 5px;
	display: none;
	padding: 8px;
	transition: all 0.4s linear;
	width: 160px;
	height: 160px;
	text-align: center;
}

@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;
	line-height: 1.2;
}

.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: #afafaf;/* url('../images/body_bg_02.jpg') center 0 no-repeat;*/
	color: #1f1f1f;
	font-family: 'Arial', 'Open Sans', sans-serif;
	margin: 0;
	text-align: center;
	/*font-size: 11px;/**/
}


/* Remove the navbar's default margin-bottom and rounded borders */ 
.navbar 
{
  margin-bottom: 0;
  border-radius: 0;
  background: #656565; /* url('../images/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 {		
	width: 100%;
    /*max-width: 1400px;*/
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;

	
	/*display: inline-block; */
	background: #afafaf;	
}

#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;
}

.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;	
	width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
  border-radius: 0;
  background-color: #757575;
  /*background: #757575 url('../images/header_bg.jpg') center center no-repeat;*/
  height: 36px;
  line-height: 36px;
  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; }

.referencetb a 
{ color: #2870AA; text-decoration: none; }
.referencetb a:visited 
{ color: #2870AA; text-decoration: none; }
.referencetb a:hover 
{ color: #1E537D; text-decoration: none; }
.referencetb a:visited:hover 
{ color: #1E537D; 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; }

.referenceto a 
{ color: #daa520; text-decoration: none; }
.referenceto a:visited 
{ color: #daa520; text-decoration: none; }
.referenceto a:hover 
{ color: #893101; text-decoration: none; }
.referenceto a:visited:hover 
{ color: #893101; 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;
}

.map-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: 75%;
	height: 460px;
}

.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: 24%;
	height: 460px;
	line-height: 1.3;
}

.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;
		
	width: 260px;
	height: 460px;
}

.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;
	
	width: 440px;
	height: 460px;
	
	position: relative; /* TOTO PRIDAJ: Wrapper bude kotvou pre absolútne pozíciu */
	z-index: 1;
}

/* TOTO PRIDAJ: Nová trieda, ktorá prilepí tlačidlo na spodok */
.bottom-btn-container {
    position: absolute;
    bottom: 10px; /* Presne 10 pixelov od spodku wrapperu */
    left: 0;
    width: 100%;
    text-align: center;
}

.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: 460px;
}

.meter-wrapper-extra
{
	background: #eee;
	border: 1px solid #d2d2d2;
	border-radius: 5px;
	float: none;
	text-align: center;
	color: #000;	
	margin: 0 auto 10px auto;
	margin-bottom: 10px;	
	padding: 10px;
	
	max-width: 700px;
	min-width: 450px;
}

/*.list-header
{
	float: left;
	color: #000;
	margin: 2px 0px 2px 0px;
	padding: 0px;
	display: block;
	text-align: left; 
} */

.list-header {
    float: left;
    width: 100%;
    height: 10px;
    margin: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

.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;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	box-sizing: border-box;
}
.list-wrapper-in
{
	border: 0px solid #d2d2d2;
	border-radius: 0px;
	margin: 0px;
	padding: 0px;
	display: block;
	width: max-content;
	min-width: 100%;
	overflow-x: auto;
}


.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;
}

.meter-button
{
	cursor: pointer;
	display: inline-block;
	height: 28px;
	text-align: center;	
	margin: 2px auto;
	padding: 2px;
	border-radius: 3px;	
	background-color: #ccc;
	color: #222;
	font-weight: normal;
	border: 1px solid darkgrey;		
	box-sizing: border-box;
	width: 120px; 
	white-space: nowrap;
}

.meter-button:hover
{
	box-shadow: 0px 2px 3px 0px rgb(0 0 0 / 20%);
}

.meter-button:disabled
{
	background-color: #ddd;
	font-weight: normal;
	color: darkgrey;	
	border: 1px solid darkgrey;
}

.meter-button:disabled:hover
{
	box-shadow: 0px 0px 0px 0px;
}


.meter-button-sort
{
	cursor: pointer;
	display: inline-block;
	height: 28px;
	text-align: center;	
	margin: 2px auto;
	padding: 2px;
	border-radius: 3px;	
	background-color: #fd9;
	color: #222;
	font-weight: bold;
	border: 1px solid darkgrey;
	width: 120px;
	white-space: nowrap; 
}

.meter-button-sort:hover
{
	box-shadow: 0px 2px 3px 0px rgb(0 0 0 / 20%);
}

.meter-button-sort:disabled
{
	background-color: #db2;
	font-weight: normal;
	color: #222;
	font-weight: normal;	
	border: 1px solid darkgrey;
}

.meter-button-sort:disabled:hover
{
	box-shadow: 0px 0px 0px 0px;
}

.meter-button-sort option {
    background-color: #ccc;
	font-weight: bold;	
    color: 222;
}

.checkboxes input 
{
	display: inline-block;
    vertical-align: top;
}
.checkboxes span 
{
	display: inline-block;
}

/****** LEDS *******/
.led-box 
{
  height: 26px;
  width: 26px;
  margin: 3px 10px 2px 10px;
  padding: 2px 1px 1px 0px;
  display: inline-block;
}

.led-box-orange
{
  height: 26px;
  width: 26px;
  margin: 3px 10px 2px 10px;
  padding: 2px 1px 1px 0px;
  display: inline-block;
  background-color: #ec9706;
}

.led-green
{
  margin: 0 auto;
  width: 20px;
  height: 20px;
  /*background-color: #ABFF00;*/
  background-color: #6c4;
  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: 20px;
  height: 20px;
  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: 20px;
  height: 20px;
  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: 20px;
  height: 20px;
  /*background-color: #444;*/
  background-color: #808080;
  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;*/
  /*box-shadow: rgba(0, 0, 0, 0) 0 -1px 7px 1px, inset #222222 0 -1px 9px, rgba(68, 68, 68, 0) 0 2px 12px;*/
}

.led-box-small 
{
  width: 20px;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  display: inline-block;
  text-align: center;
  background-color: yellow;
}

.led-box2-small
{
  width: 20px;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  display: inline-block;
  text-align: center;
}

.led-box-orange-small
{
  width: 20px;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  display: inline-block;
  text-align: center;
  background-color: #ec9706;
}

.led-green-small 
{
  width: 12px;
  height: 12px;
  margin: 5px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  background-color: #6c4;
  border-radius: 50%;
  display: inline-block;
  /*box-shadow: rgba(0, 0, 0, 0) 0 -1px 7px 1px, inset #222222 0 -1px 9px, rgba(15, 0, 0, 0) 0 2px 12px;*/
}

.led-red-small 
{
  width: 12px;
  height: 12px;
  margin: 5px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  background-color: #f00;
  border-radius: 50%;
  display: inline-block;
  /*box-shadow: rgba(0, 0, 0, 0) 0 -1px 7px 1px, inset #222222 0 -1px 9px, rgba(15, 0, 0, 0) 0 2px 12px;*/
}

.led-red2-small 
{
  width: 12px;
  height: 12px;
  margin: 5px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  background-color: #f00;
  border-radius: 50%;
  display: inline-block;
  /*box-shadow: rgba(0, 0, 0, 0) 0 -1px 7px 1px, inset #222222 0 -1px 9px, rgba(15, 0, 0, 0) 0 2px 12px;*/
}

.led-yellow-small 
{
  width: 12px;
  height: 12px;
  margin: 5px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  background-color: #ffa500;
  border-radius: 50%;
  display: inline-block;
  /*box-shadow: rgba(0, 0, 0, 0) 0 -1px 7px 1px, inset #222222 0 -1px 9px, rgba(15, 0, 0, 0) 0 2px 12px;*/
}

.led-grey-small 
{
  width: 12px;
  height: 12px;
  margin: 5px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  background-color: #808080;
  border-radius: 50%;
  display: inline-block;
  /*box-shadow: rgba(0, 0, 0, 0) 0 -1px 7px 1px, inset #222222 0 -1px 9px, rgba(15, 0, 0, 0) 0 2px 12px;*/
}

.led-grey2-small 
{
  width: 12px;
  height: 12px;
  margin: 5px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  background-color: #808080;
  border-radius: 50%;
  display: inline-block;
  /*box-shadow: rgba(0, 0, 0, 0) 0 -1px 7px 1px, inset #222222 0 -1px 9px, rgba(15, 0, 0, 0) 0 2px 12px;*/
}

.led-orange-small 
{
  width: 12px;
  height: 12px;
  margin: 5px 0px 0px 0px;
  background-color: #ff7700;
  border-radius: 50%;
  display: inline-block;
  /*box-shadow: rgba(0, 0, 0, 0) 0 -1px 7px 1px, inset #441313 0 -1px 9px, rgba(255, 0, 0, 0) 0 2px 12px;*/
}

.login-wrapper
{
	display: inline-block;
	padding: 20px;
	margin: 20px;
		
	max-width: 680px;
	width: 440px;
	height: 480px;
	position: relative;
	
	background: #eee;
	border: 1px solid #d2d2d2;
	border-radius: 5px;
	
	text-align: center;
	color: #000;
	
	z-index: 1;
}


.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; 
}

.setupTable_columns	{
	padding-left: 2px;
	border-radius: 3px;
}

.setupTable_columns	th {
	padding-left: 0px;
	border-radius: 3px;
	font-weight: normal;
}

#devMap {
	width: 480px;
	height: 320px;
}

#mapWrapper {
	/*width: 650px;
	height: 550px;*/

	width: 1050px;
}


#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;
	}
	
}
	
@media screen and (max-width:750px)
{
	input[type="password"], 
	input[type="text"],
	select, 
	textarea {
		width: 90%;
	}
	
	
}

	
@media screen and (max-width:991px)
{
	.popiska9 {
		display: inline-block;
	}
	.table_heads9 {
		display: none;
	}
}


@media screen and (max-width:1100px)
{
	.map-wrapper
	{
		width: 66%;
	}
	
	.meter-wrapper
	{
		width: 31%;
	}
}

@media screen and (max-width:800px)
{
	.map-wrapper
	{
		width: 55%;
	}
	
	.meter-wrapper
	{
		width: 40%;
	}
}

	
@media screen and (max-width:700px)
{
	.map-wrapper
	{
		width: 95%;
	}
	
	
	#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;
}

/*.pen {
	background: transparent url(../images/pen_small.png) center 0 no-repeat;
	height: 23px;
    cursor: pointer;
	border: none;
}*/

.moving {
	background: transparent url(../images/moving.png) center 0 no-repeat;
	height: 23px;
    cursor: pointer;
	border: none;
}


.log {
	width: 50px;
	cursor: pointer;
}

.chart {
	background: transparent url(../images/chart.png) center 0 no-repeat;
	height: 23px;
    cursor: pointer;
	border: none;
}

.confirm {
	font-family: 'Arial', 'Open Sans', sans-serif;
	border-width: 2px;
	border-color: black;	
	background-color: #C8C8C8;
	padding: 5px;
    cursor: pointer;
	border: none;
	width: 50px;
}

.logouti {
	display: inline-block;
}
.logoutt {
	display: none;
}


@media screen and (max-width:767px)
{
	.logouti {
		display: none;
	}
	.logoutt {
		display: inline-block;
	}

}

.list_table_3{
	margin: 0px; 
	padding: 0px; 
	width: max-content;
	min-width: 100%;
}
.list_table_3 th {
	font-weight: normal;
	text-align: left;
	padding: 2px 5px 2px 5px;
	position: sticky;	
	width: 150px;
	min-width: 150px;
	max-width: 400px;
	left: 0px;
	white-space: nowrap;
}
.list_table_3 th.left_strong {
	text-align: left;
	font-weight: bold;
}
.list_table_3 th.left_normal {
	text-align: left;
	font-weight: normal;
}	
.list_table_3 th.left_italic {
	text-align: left;
	font-weight: normal;
	font-style: italic;
}	
.list_table_3 th.center_strong {
	text-align: center;
	font-weight: bold;
}
.list_table_3 th.center_nornal  {
	text-align: center;
	font-weight: normal;
}
.list_table_3 th.center_italic  {
	text-align: center;
	font-weight: normal;
	font-style: italic;
}
.list_table_3 td {
	font-weight: normal;
	text-align: center;
	padding: 2px 5px 2px 5px;
	min-width: 80px;
	left: 0px;
	white-space: nowrap;
}
.list_table_3 td.left_strong {
	text-align: left;
	font-weight: bold;
}
.list_table_3 td.left_normal {
	text-align: left;
	font-weight: normal;
}	
.list_table_3 td.left_italic  {
	text-align: left;
	font-weight: normal;
	font-style: italic;
}
.list_table_3 td.center_strong {
	text-align: center;
	font-weight: bold;
}
.list_table_3 td.center_nornal  {
	text-align: center;
	font-weight: normal;
}
.list_table_3 td.center_italic  {
	text-align: center;
	font-weight: normal;
	font-style: italic;
}



.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 { 
	border: 0px;
	padding: 0px 5px 0px 5px;
}

.list_table td { 
	border: 0px;
	padding: 0px 5px 0px 5px;
}

.odsadeny {
	padding-left: 20px;
}

.odsadeny40 {
	padding-left: 40px;
}

.tabtab td {
	border: 1px solid black;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  margin: 2px 0px 2px 0px;
  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;*/
  background-color: #808080;
  -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%;
}

/* =========== pre menu_location.php ================ */
/* 1. Hlavný kontajner bubliny */
.maplibregl-popup-content {
    padding: 0 !important;
    background-color: #ffffff;
    border-radius: 8px !important; 
    box-shadow: 0 3px 14px rgba(0,0,0,0.3);    
    font-family: Arial, sans-serif;
    font-size: 14px;
    position: relative;	
	width: 360px;
}

/* 2. Sivá horná lišta s GPS súradnicami */
.popup-header-center {
	text-align: left;
    background-color: #e8e8e8;
    color: #555555;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 40px 10px 12px;
    border-bottom: 1px solid #d0d0d0;
    
    /* 💡 OPRAVA: Zaoblíme horný ľavý a horný pravý roh priamo na sivej lište */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* 2. Sivá horná lišta s GPS súradnicami */
.popup-header-center {
	text-align: center;
    background-color: #e8e8e8;
    color: #555555;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 40px 10px 12px;
    border-bottom: 1px solid #d0d0d0;
    
    /* 💡 OPRAVA: Zaoblíme horný ľavý a horný pravý roh priamo na sivej lište */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}


/* 3. Spodná hlavná časť s textom */
.popup-body {
    padding: 15px;
    line-height: 1.4;
    color: #333333;
    background-color: #ffffff;
    
    /* pre istotu zaoblíme aj spodné rohy, ak by bol text príliš dlhý */
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
	text-align: left;
}

/* 4. Úprava zatváracieho "X" */
.maplibregl-popup-close-button {
    font-size: 20px;
    font-weight: bold;
    color: #666666;
    padding: 6px 12px !important;
    position: absolute;
    top: 0;
    right: 0;
    line-height: 1.5;
    border-top-right-radius: 8px; /* Aby aj klikacia zóna X lícovala s rohom */
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

/* Efekt pre X pri prejdení myšou */
.maplibregl-popup-close-button:hover {
    background-color: #d8d8d8; 
    color: #ff0000;
}


/* Vzhľad tlačidla pre zariadenie */
.popup-device-btn {
    display: block;                  /* Každé tlačidlo bude na novom riadku */
    text-align: center;                /* Text zarovnaný vľavo */
    background-color: #f8f9fa;       /* Veľmi svetlosivé pozadie */
    color: #007bff;                  /* Elegantná modrá farba textu */
    border: 1px solid #dee2e6;       /* Jemný šedý rámček */
    padding: 8px 12px;               /* Vnútorné okraje, aby sa naň dobre klikalo */
    margin-bottom: 6px;              /* Medzera medzi tlačidlami */
    border-radius: 4px;              /* Mierne zaoblenie rohov */
    text-decoration: none;           /* Skrytie klasického podčiarknutia odkazu */
    font-weight: 500;
    font-size: 13px;
    transition: all 0.15s ease-in-out; /* Hladký efekt pri interakcii */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Posledné tlačidlo v zozname nebude mať spodný margin */
.popup-device-btn:last-child {
    margin-bottom: 0;
}

/* 🖱️ Efekt pri prejdení myšou (Hover) */
.popup-device-btn:hover {
    background-color: #e2e6ea;       /* Stmavnutie pozadia */
    color: #0056b3;                  /* Tmavšia modrá */
    border-color: #dae0e5;
    text-decoration: none;           /* Podčiarknutie nechceme ani pri hoveri */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transform: translateY(-1px);     /* Jemné nadvihnutie gombíka pre 3D efekt */
}

/* 🛑 Efekt pri kliknutí (Active) */
.popup-device-btn:active {
    background-color: #dae0e5;
    transform: translateY(0);        /* Vrátenie gombíka späť nadol */
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.12); /* Efekt stlačenia */
}

/* 🎯 GPS riadok na spodku chceme na STRED */
.popup-gps-center {
    display: block;                  /* Zabezpečí, že zaberie celý riadok */
    text-align: center;              /* Vycentrovanie textu */
    margin-top: 10px;                /* Jemný rozostup od čiary <HR> */
    font-size: 13px;
    color: #555555;
}

/* ❌ Zväčšenie zatváracieho tlačidla "X" */
.maplibregl-popup-close-button {
    font-size: 24px;          /* Pôvodne cca 16px, teraz bude výrazne väčšie a čitateľnejšie */
    font-weight: bold;        /* Hrubšie línie, aby lepšie vyniklo */
    color: #555555;           /* Jemná tmavosivá farba namiesto nevýraznej sivej */
    padding: 8px 12px;        /* Väčšia klikacia plocha (paddding) pre pohodlnejšie klikanie */
    border-radius: 0 8px 0 0; /* Zaoblenie ladí s pravým horným rohom popupu */
    line-height: 1;           /* Vycentrovanie znaku vo vnútri klikacej plochy */
    transition: color 0.2s, background-color 0.2s; /* Hladký prechod pri prejdení myšou */
}

/* 🖱️ Efekt pri prejdení myšou (hover) alebo kliknutí */
.maplibregl-popup-close-button:hover {
    background-color: #e0e0e0; /* Svetlosivé pozadie pri priložení kurzora */
    color: #ff0000;           /* Znak "X" sa sfarbí do červena, čo jasne signalizuje akciu zatvorenia */
}


/* ========================================= */
/* HLAVNE ROZLOZENIE STRANOK */
.nes-main {		
	width: 99%;
    /*max-width: 1400px;*/
    margin: 0 auto;
    /*padding: 0 10px;*/
    box-sizing: border-box;	
	/*display: inline-block; */
	background: #afafaf;	
	overflow: visible; /* nech sa obsah tabuliek neorezava */
}

.nes-list-wrapper {	
	width: 100%; 
	background: #eee;
	border: 1px solid #d2d2d2;
	border-radius: 5px;
	/*float: left;*/
	margin: 0px;
	padding: 5px;	
	box-sizing: border-box;
}

.nes-meter-input
{
	padding: 2px;
	height: 28px;
	width: 200px;	
	margin: 2px auto;
	color: #222;
	border-radius: 3px;
	border: 1px solid black;	
	display: inline-block;
	box-sizing: border-box;
	text-align: center;
}

/* doplnok ku nes-meter-input, aby sa dal menit aj text */
.note
{

	height: 80px; 
	margin-top: 5px;  
	resize: none;
}

/* bar s prvkamy ovladania */
.form-table td:not(:last-child) {
    border-right: 1px solid #222;
    padding-right: 2px;
	vertical-align: middle;
}

/* kalendar */
.xxx-flatpickr-calendar {
    background: #bbb;
}

.xxx-flatpickr-day {
    color: #fff;
}

/* hlavný kalendár */
.flatpickr-calendar {
    background: #ccc;
    border: 1px solid #d2d2d2;
    color: #ADD8E6;
}

/* hlavička - mesiac */
.flatpickr-months {
    background: #757575;
}

.flatpickr-current-month {
    color: white;
}

/* šípky */
.flatpickr-prev-month,
.flatpickr-next-month {
    color: white;
    fill: white;
}

/* dni */
.flatpickr-day {
    color: #000;
}

/* hover */
.flatpickr-day:hover {
    background: #3949ab;
    border-color: #3949ab;
}

/* dnešný deň */
.flatpickr-day.today {
    border-color: #1667d1;
}

/* vybraný deň */
.flatpickr-day.selected {
    background: #1a73e8;
    border-color: #1a73e8;
    color: white;
}

/* dni mimo aktuálneho mesiaca */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: #777;
}


/* AUTOMATICKE SCHOVANIE OD URCITEJ SIRKY */
@media (max-width: 500px) {
	.hide_500px {
		display: none;
	}
}

@media (max-width: 550px) {
	.hide_550px {
		display: none;
	}
	.search-input {
		display: none;
	}

	.form-table td:not(:last-child) {
        border-right: none;
		padding-left: 2px;
        padding-right: 2px;
    }
}

@media (max-width: 650px) {
	.hide_650px {
		display: none;
	}
}

@media (max-width: 750px) {
	.gotoStart {
		display: none;
	}
	.gotoEnd {
		display: none;
	}
	.hide_750px {
		display: none;
	}
}

@media (max-width: 1000px) {
	.hide_1000px {
		display: none;
	}
}

@media (max-width: 1200px) {
	.hide_1200px {
		display: none;
	}
}

