html, body
{
  margin: 0 auto;
}

/* fallback */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/materialicons/v47/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

#datePick
{
	width: 100%;
	height: 70px;
/*	background-color: blue; */
	display: block;
}
#datePick label
{
	margin-left: 10px;
	display: inline-block;
/*	float: left; */
	clear: left;
	width: 100px;
	text-align: right;
	margin-top: 5px;
}

#datePick input
{
	display: inline-block;
	margin-top: 5px;
}

#datePick button
{
	display: block;
	margin: 5px 5px 10px 5px;
}	
#chartHeader
{
/*	background-color: yellow; */
	width: 100%;
	text-align: center;
	margin-top: 50px;
	margin-bottom: 5px;
}
#chart
{
	width: 99%;
	margin: auto;
	height: 50%;
	background-color: #ccccd5;
}
#history
{
	margin-left: 100px;
	margin-top: 100px;
}
#searchicon
{
/*	background-color: #000; */
	position: absolute;
	right: 30px;
}
#searchSensors
{
	margin-right: 50px;
	margin-top: 10px;
	float: right;
	right: 30px;
	z-index: 1;
	position: absolute;
	height: 20px;
	display: none;
}
#passwordChange
{
	margin: auto;
	width: 100%;
}
input.passwordSubmit
{
	padding: 10px;
	clear: both;
	right: 20px;
	float: right;
	margin-left: 100px;
}
label.passwordChange
{
	display: inline-block;
	float: left;
	clear: left;
	width: 200px;
	text-align: right;
	margin-top: 10px;
}
input.passwordChange
{
	display: inline-block;
	float: left;
	margin-top: 10px;
}
#accountInfo
{
	margin-top: 100px;
	margin-left: 100px;
	width: 90%;
	font-size: large;
}
#notifications
{
  margin-left: 300px;
}	
ul.accountInfo
{
/*	margin-top: 100px;
	margin-left: 100px;
	width: 90%;
*/
	font-size: large;
}
.accountInfo li
{
	width: 80%;
	list-style-type: none;
	margin: auto;
}



#activateButton
{
	margin-left: 10px;
	margin-top: 40px;
}

a.backArrow
{
	color: rgb(19, 53, 92);
	text-decoration: none;
	font-size: 50px;;
	font-weight: bold;
}	
.snoozeButton
{
	margin-left: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	width: 300px;
}
.snoozeicon
{
	height: 28px;
	margin-left: 5px;
}
#sensorInfo
{
	margin: auto;
	width: 100%;
	height: 60%;
}

.sensorInfoButton
{
	margin: 15px 5px 5px 0px;
	border-radius: 5px;
}

#sensorInfo h2
{
	text-align: center;
}

/*
h4 .ui-icon-plus
{
	background-color: rgba(19, 53, 92, 0.5);
	color: #fff;
	border-radius: 5px;
	font-size: 50px;
}
#snoozedList .ui-icon-plus    { background-color: #00fff0; border-radius: 5px; }
*/

#alertList .ui-icon-plus       { background-color: #ff0000; border-radius: 5px; }
#warnList .ui-icon-plus        { background-color: rgba(255, 255, 000, 0.9); color: #fff; border-radius: 5px; }
#sensorList .ui-icon-plus      { background-color: #00ff00; border-radius: 5px; }

#snoozedAlert .ui-icon-plus    { background-color: #ff0000; border-radius: 5px; }
#snoozedWarn .ui-icon-plus     { background-color: rgba(255, 255, 000, 0.9); color: #fff; border-radius: 5px; }
#snoozedSensors .ui-icon-plus  { background-color: #00ff00; border-radius: 5px; }

#alertList .ui-icon-minus      { background-color: #ff0000; border-radius: 5px; }
#warnList .ui-icon-minus       { background-color: rgba(255, 255, 000, 0.9); color: #fff; border-radius: 5px; }
#sensorList .ui-icon-minus     { background-color: #00ff00; border-radius: 5px; }

#snoozedAlert .ui-icon-minus   { background-color: #ff0000; border-raduis: 5px; }
#snoozedWarn .ui-icon-minus    { background-color: rgba(255, 255, 000, 0.9); color: #fff; border-radius: 5px; }
#snoozedSensors .ui-icon-minus { background-color: #00ff00; border-radius: 5px; }

h4 .ui-icon-minus {	background-color: rgba(19, 53, 92, 0.5); color: #fff; border-radius: 5px; }

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  float: right;
  color: white;
  margin-top: 10px;
  margin-right: 10px;
}

div.siteselect
{
	width: 80%;
	height: 60px;
	background-color: rgba(3,3,3, 0.3);
	font-size: large;
	margin-left: 8%;
	margin-bottom: 10px;
	margin-top: 10px;
	border-radius: 5px;
	padding: 20px;
	padding-top: 50px;
	text-align: center;
}
	
h4.alertList
{
/*	color: red; */
/*	height: 40px; */
/*	font-weight: bold; */
/*	text-shadow: 0.5px 0.5px #000000; */
	height: 35px;
	color: rgb(19, 53, 92);
	font-weight: bold;
	width: 98%;
}
h4.snoozedList
{
	color: rgb(19, 53, 92);
	font-weight: bold;
	height: 35px;
	width: 98%;
}
h4.warnList
{
/*	color: #aa3300;
	color: #ebd573;
	color: #e6bc6e; */
/*	text-shadow: 0.5px 0.5px #ff0000; */
/*	text-shadow: 0.5px 0.5px #000000; */
	color: rgba(19, 53, 92, 0.9);
	color: #23599a;
	background-color: rgba(4, 12, 25, 0.9);
	background-color: rgba(4,12,21, 0.9); /* Same as #040c15 but with opacity */
	color: rgb(19, 53, 92);
	font-weight: bold;
	height: 35px;
	width: 98%;
}
h4.sensorList
{
	margin-left: 10px;
	width: 98%;
/*	height: 40px; */
	font-size: large;
/*	font-weight: bold; */
/*	text-shadow: 0.5px 0.5px #000000; */
/*	color: #000000;
	color: #004d00;
	color: #1fd24a; */
/*	color: #15ab24; */
	color: rgb(19, 53, 92);
	font-weight: bold;
	height: 35px;
	max-height: 60px;
}
.listTitle
{
	font-weight: bold;
}
#alertList .ui-accordion
{
/*	background-color: red; */
}
div.alertList
{
/*	background-color: red; */
}

hr.alertList
{
	width: 90%;
	height: 5px;
	color: red;
	background-color: #ff0000;
}
hr.warnList
{
	width: 90%;
	height: 5px;
	color: #c9611c;
	background-color: #ff0000;
	background-color: #c9611c;
}
hr.sensorList
{
	width: 90%;
	height: 5px;
	color: #c9611c;
	color: #004d00;
	color: #1fd24a;
	background-color: #00ff00;
	background-color: #004d00;
}

div.sensorList
{
	width: 90%;
	font-size: small;
	border-radius: 5px;
	overflow: hidden;
	font-size: medium;
	margin-right: 10px;
	padding: 0px;
	background-color: #fff;
	opacity: 1.0
}

ul.sensorList
{
/*	list-style: none; */
	width: 80%;
	padding-left: 0px;
}

li.sensorList
{
	font-family: sans-serif;
	font-size: initial;
	padding-bottom: 5px;
}

#toast
{
/*
  z-index: -1;
  position: fixed;
  position: absolute;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.8);
  border-radius: 10px;
  text-align: center;
  width: 50%;
  margin-top: 10%;
  margin-left: 25%;
  color: #fff;
  display: none;
  padding: 5px;
*/
  display: none;
/*  visibility: hidden;  Hidden by default. Visible on click */
/*  min-width: 250px;  Set a default minimum width */
/*  margin-left: -125px;  Divide value of min-width by 2 */
  width: 50%;
  margin-left: 25%;
  background-color: #333; /* Black background color */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 25px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 1; /* Add a z-index if needed */
/*  left: 50%;  Center the snackbar */
  bottom: 30px; /* 30px from the bottom */
}

.header
{
  margin: 0px 0px 0px 0px;
  padding: 0px;
  background-image: linear-gradient(to top right, #fff, #fff, #fff, #83a1c6, #83a1c6, #4e7aae, #4e7aae, #23599a, #23599a);
  width: 100%;
  height: 65px;
  align-items: center;
}

.header h2
{
  float: left;
}

.header h3
{
  float: left;
  display: block;
  font-size: larger;
  max-width: 20px;
  max-height: 5px;
  margin-top: 7px;
}

.header h4
{
  float: left;
  display: block;
  font-size: 9pt;
}

.header img
{
  float: left;
  height: 40px;
  width: 60px;
  max-height: 50px;
  max-width: 70px;
  padding: 5px;
  margin-left: 15px;
  margin-top: 5px;
}

div.menuButton
{
  /* margin: -8px 10px 0px 0px; */
  float: left;
  margin: 12px;
  display: none;
}

div.hamburger
{
  clear: both;
  width: 20px;
  height: 2px;
  background-color: white;
  margin: 5px 5px 5px 2px;
}

/* The Overlay (background) */
.overlay
{
  /* Height & width depends on how you want to reveal the overlay (see JS below) */
  height: 0;
  width: 100%;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(0,0,0); /* Black fallback color */
  background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
  background-color: rgba(0, 17, 83, 0.9);
  background-color: rgb(19, 53, 92);
  background-color: rgba(4, 12, 25, 0.9);
  background-color: rgba(4,12,21, 0.9); /* Same as #040c15 but with opacity */

/*  background-color: rgba(4, 4, 47, 0.9); */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 10%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
/*  color: rgb(230, 247, 247); */
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
background-color: white;

color: rgba(4, 12, 25, 0.9);
border-radius: 25px;
width: 90%;
margin: auto;
margin-bottom: 15px;
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus
{
/*
  color: #f1f1f1;
  color: #ffffff;
  background-color: rgb(4,12,21);
*/
  font-weight: bolder;
  font-size: 37px;
}

/* Position the close button (top right corner) */
.overlay .closebtn
{
  position: absolute;
  top: 10px;
  left: 25px;
  font-size: 60px;
  color: white;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    top: 10px;
    right: 25px;
  }
}



body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.topnav {
  clear: both;
  overflow: hidden;
  background-color: #23599a;
  background-color: #13355C;
  background-color: rgb(19, 53, 92);
  height: 50px;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.active {
  background-color: #4CAF50;
  background-color: #23595a;
  background-color: #2D9CDB;
  color: white;
  color: #13355C;
}

.topnav .icon {
  display: none;
}

#pageTitle
{
  display: block;
  width: 60%;
  position: fixed;
  margin-left: 50px;
  margin-right: 50px;
  right: 15px;
}
#pageTitle:hover
{
	background-color: transparent;
	color: #f2f2f2;
}
#pageTitle a
{
	background-color: yellow;
}

/*
.pageTitle
{
  display: none;
  color: #f2f2f2;
  text-align: center;
  font-size: 17px;
  width: 100%;
}
*/
.navigationbar
{
  margin-left: 0px;
}

.settingsIcon
{
  float: right;
  color: #f2f2f2;
  font-size: 33px;
  display: block;
  margin-right: 10px;
  margin-top: 8px;
}


.settings-overlay
{
  /* Height & width depends on how you want to reveal the overlay (see JS below) */
  height: 0;
  width: 40%;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  right: 0;
  top: 0;
  background-color: rgba(4,12,21, 0.9); /* Same as #040c15 but with opacity */
  border-radius: 0px 0px 0px 15px;

/*  background-color: rgba(4, 4, 47, 0.9); */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
  overflow: hidden;
}

.settings-overlay-content
{
  position: relative;
  top: 5%;
  text-align: center;
  margin-top: 50px;
  overflow: hidden;
}

.settings-overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 15px;
  color: #818181;
/*  color: rgb(230, 247, 247); */
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
background-color: white;
color: rgba(4, 12, 25, 0.9);
border-radius: 15px;
width: 80%;
margin: auto;
margin-bottom: 15px;
}

.settings-overlay button
{
  padding: 8px;
  text-decoration: none;
  font-size: 15px;
  color: #818181;
/*  color: rgb(230, 247, 247); */
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
background-color: white;
color: rgba(4, 12, 25, 0.9);
border-radius: 15px;
width: 80%;
max-width: 80%;
margin: auto;
margin-bottom: 15px;
}


.settings-closebtn
{
  font-size: 40px;
  position: absolute;
  top: 0px;
  right: 15px;
  color: white;
}

h4.welcome
{
  color: #f2f2f2;
  float: right;
  display: block;
  font-size: 7pt;
  margin-right: 25px;
}

.loginBox
{
  margin: 50px auto auto auto;
  width: 80%;
  top: 30px;
  border 1px solid gray;
  padding: 10px;
}
input.login
{
  width: 99%;
  margin: auto auto 15px auto;
  font-size: 20px;
  padding-left: 3px;
}
label.login
{
  width: 100%;
}

.loginHeader
{
  font-size: large;
  color: white;
  background-color: blue;
  background-color: rgb(4,12,25);
  background-color: #2D9CDB;
  border-radius: 15px 15px 0px 0px;
  height: 40px;
  margin: 0px auto 10px auto;
  text-align: center;
  padding-top: 10px;
}

button.login
{
  width: 50%;
  height: 40px;
  border-radius: 10px;
  background-color: rgb(4,12,25);
  background-color: #2D9CDB;
  background-color: #F2994A;
  color: #f2f2f2;
  margin: 5px auto 5px auto;
  font-size: large;
}

a.login
{
  text-align: center;
  margin: 15px auto auto auto;
  cursor: pointer;
}

#forgotPasswordBox
{
  display: none;
  margin: 70px auto auto auto;
  width: 80%;
  top: 30px;
  border 1px solid gray;
  padding: 10px;
}

#forgotPasswordMsg
{
  margin-top: 50px;
}

button.forgotPassword
{
  width: 30%;
  height: 40px;
  border-radius: 10px;
  background-color: rgb(4,12,25);
  background-color: #2D9CDB;
  background-color: #F2994A;
  color: #f2f2f2;
  margin: 5px auto 5px auto;
  font-size: large;
  display: inline;
}
input.forgotPassword
{
  width: 99%;
  margin: auto auto 15px auto;
  font-size: 20px;
  padding-left: 3px;
}

@media screen and (max-width: 600px)
{
/*  .topnav a:not(:first-child) {display: none;} */
  .topnav a {display: none;}
/*  .topnav a.icon {
    float: right;
    display: block;
  }*/

  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  /* Customized Code */
  .header { display: none; }
  div.menuButton { display: block; }
  .navigationbar { display: none; }
  #pageTitle
  {
    display: block;
	color: #f2f2f2;
    width: 70%;
/*  text-align: center; */
/*  display: block; */
/*  display: inline-block; */
/*  margin-right: 100px; */
/*
	text-decoration: none;
	font-size: 17px;
    margin-left: 50px;
	margin-right: 50px;
	margin-top: 10px;
	padding: 20px;
*/
  }
  .settingsIcon
  {
    display: inline;
    max-width: 30px;
	max-height: 30px;
	font-size: 25px;
  }
  .settings-overlay.settings-overlay-mobile
  {
    width: 60%;
  }
  .login.input
  {
    font-size: 25px;
    text-align: left;
    padding-left: 3px;
  }
  button.forgotPassword
  {
    width: 100%;
    display: block;
  }
  h4.alertList
  {
    width: 93%;
    overflow: hidden;
  }
  h4.warnList
  {
    width: 93%;
    overflow: hidden;
  }
  h4.sensorList
  {
    width: 93%;
    overflow: hidden;
  }
  div.sensorList
  {
/*    width: 90%; */
  }
  ul.sensorList
  {
    padding-left: 0px;
  }
  div.siteselect
  {
    width: 75%;
    margin-left: 5%;
  }
  .snoozeButton
  {
    width: 90%;
	height: 30px;
	margin-left: 5%;
    margin-right: 0px;
	margin-bottom: 25px;
    font-size: larger;
  }
  #history
  {
	margin-left: 10px;
	margin-top: 30px;
  }
  .sensorInfoButton
  {
	display: block;
	margin: 10px;
	width: 250px;
  }
  #datePick
  {
	width: 100%;
	height: 170px;
	padding: 10px;
  }
  #sensorInfo h2 { margin-bottom: 30px; }
  #datePick label
  {
	display: block;
	float: left;
	clear: left;
	margin-left: 5px;
	margin-top: 15px;
  }
  #datePick input
  {
	position: relative;
	display: block;
	margin-left: 5px;
	margin-top: 10px;
	width: 75%;
	height: 30px;
  }
  #datePick button
  {
	margin-top: 20px;
	margin-left: 3.5%;
	width: 90%;
	height: 50px;
	border-radius: 5px;
  }
}

@media screen and (max-width: 500px)
{
  #pageTitle
  {
    width: 60%;
  }
  #toast
  {
    width: 90%;
    margin-left: 0%;
    padding: 2px
    boader-radius: 10px;
  }
  .snoozeButton
  {
    width: 90%;
	height: 30px;
	margin-left: 5%;
    margin-right: 0px;
	margin-bottom: 25px;
    font-size: larger;
  }
  #accountInfo
  {
	margin-top: 40px;
	margin-left: 10px;
	width: 100%;
	font-size: large;
  }	
  label.passwordChange
  {
	display: block;
	float: left;
	clear: left;
	width: 150px;
	text-align: right;
	margin-top: 10px;
  }
  input.passwordChange
  {
	display: inline-block;
	float: left;
	margin-top: 10px;
  }
  .sensorInfoButton
  {
    margin: 10px 5px 5px 0px;
    order-radius: 5px;
    width: 100%;
    padding: 20px;
  }
  .accountInfo
  {
    margin-left: 20px;
  }
  #notifications
  {
    margin-left: 5px;
    margin-top: 30px;
  }
  #notifications input
  {
    width: 30px;
    height: 30px;
    margin-top: 20px;
  }
  #notifications label
  {
    width: 80%;
    heigth: 30px;
    font-size: 18pt;
  }
}

@media screen and (max-width: 400px)
{
  #pageTitle
  {
    width: 55%;
  }
  #accountInfo
  {
	margin-top: 50px;
	margin-left: 10px;
	width: 100%;
	font-size: large;
  }	
  label.passwordChange
  {
	width: 150px;
	text-align: left;
	margin-top: 10px;
	margin-left: 20px;
  }
  input.passwordChange
  {
	margin-left: 20px;
  }
}

@media print
{
	@page {size: A4 landscape;max-height:100%; max-width:100%}
	#chart
	{
		width: 80%; 
		margin: 10px;
	}
	#topnav
	{
		display: none;
	}
	#menuButton
	{
		display: none;
	}
	#navigationbar
	{
		display: none;
	}
	#datePick
	{
		display: none;
	}
	#datePick label
	{
		display: none;
	}
	#datePick input;
	{
		display: none;
	}
	#pageTitle
	{
		display: none;
	}
	#searchicon
	{
		display: none;
	}
	#gearicon
	{
		display: none;
	}
	#welcome
	{
		display: none;
	}
}
