@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');

body {
    background-color: #f0f1f6;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color :#4e4e4e;
    margin: 0px;
}

table {
    background-color: #ffffff;
    box-shadow: 0 0 10px -2px rgb(0 0 0 / 8%);
    margin: 5px;
    border-radius: 5px;
    border-spacing: 0;
    text-align: left;
}

.myButton, input[type="submit"] {
	box-shadow:inset 0px 1px 0px 0px #9acc85;
	background:linear-gradient(to bottom, #74ad5a 5%, #68a54b 100%);
	background-color:#74ad5a;
	border: 0px;
	border-radius: 5px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:13px;
	font-weight:bold;
	padding:6px 12px;
	text-decoration:none;
}
.myButton:hover, input[type="submit"]:hover {
	background:linear-gradient(to bottom, #68a54b 5%, #74ad5a 100%);
	background-color:#68a54b;
}
.myButton:active, input[type="submit"]:active {
	position:relative;
	top:1px;
}

.minButton {
	box-shadow:inset 0px 1px 0px 0px #cc8585;
	background:linear-gradient(to bottom, #ad5a5a 5%, #a54b4b 100%);
	background-color:#74ad5a;
	border: 0px;
	border-radius: 5px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:20px;
	font-weight:bold;
	padding:4px 13px;
	text-decoration:none;
	margin-right:2px;
}
.minButton:hover:hover {
	background:linear-gradient(to bottom, #ad5a5a 5%, #a54b4b 100%);
	background-color:#ad5a5a;
}
.minButton:active:active {
	position:relative;
	top:1px;
}

.plusButton {
	box-shadow:inset 0px 1px 0px 0px #9acc85;
	background:linear-gradient(to bottom, #74ad5a 5%, #68a54b 100%);
	background-color:#74ad5a;
	border: 0px;
	border-radius: 5px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:20px;
	font-weight:bold;
	padding:4px 10px;
	text-decoration:none;
	margin-left:2px;
}
.plusButton:hover:hover {
	background:linear-gradient(to bottom, #68a54b 5%, #74ad5a 100%);
	background-color:#68a54b;
}
.plusButton:active:active {
	position:relative;
	top:1px;
}


.table-header {
    border-bottom: 1px solid black;
}

th {
    padding: 10px;
    text-align: center;
}

td {
    padding: 10px 15px 10px 15px;
}



.container {
    max-width: 1200px;
    margin: 0 auto 0;
    padding: 10px;
}

.content {
    overflow: auto;
    
}

.header {
    height: 75px;
    background-color: #242e42;
    color: #ffffff;
    overflow: auto;
    margin-bottom: 20px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto 0;
}

.header-left {
    float: left;
    width: 50%;
}

.header-right {
    float: left;
    width: 50%;
}

.mainMenu {
    float: right;
    overflow: auto;
}

li {
    display: block;
    float: left;
    margin: 10px 5px 10px 5px;
    color: #ffffff;
    font-size: 1.1em;
}

li a {
    text-decoration: none;
    color: #ffffff;
}

li a:hover {
    text-decoration: underline;
    color: #cdcdcd;
}

li a:active {
    text-decoration: underline;
    color: #cdcdcd;
}

.sensor {
    display: block;
    overflow: auto;
    height: 50px;
}

.backbutton {
    width: 25%;
    float: left;
    font-weight: 700;
    font-size: 2em;
    height: 100%;
}

.sensor-name {
    width: 25%;
    float: left;
    font-weight: 700;
    font-size: 2em;
    height: 100%;
    text-align: right;
}

.sensor-lastseen {
    width: 50%;
    float: right;
    height: 100%;
    text-align: right;
}

.sensor-lastseen-date {
    text-align: right;
}

.sensoractive {
    width: 18px;
    height: 18px;
    margin-left: 5px;
    background-color: #70ab55;
    display: block;
    float: right;
    border-radius:20px;
}

.sensor-lastseen-active {
    text-align: right;
}

.sensorinactive {
    width: 18px;
    height: 18px;
    margin-left: 5px;
    background-color: #db3636;
    display: block;
    float: right;
    border-radius:20px;
}

.sensoractivecheck {
    width: 85px;
}

.sensor-settings-container {
    overflow: auto;
}

.sensor-settings {
    padding: 10px;
    background-color: #ffffff;
    border-radius: 5px;
    width: 25%;
    float: left;
    height: 180px;
    box-shadow: 0 0 10px -2px rgb(0 0 0 / 8%);
    margin: 5px;
}

.sensor-readings {
    padding: 10px;
    background-color: #ffffff;
    border-radius: 5px;
    width: 70%;
    float: right;
    height: 180px;
    box-shadow: 0 0 10px -2px rgb(0 0 0 / 8%);
    margin: 5px;
}

.sensor1 {
    width: 25%;
    float: left;
    text-align:center;
    margin-left: 10px;
}

.sensor-setting-text-1 {
    float: left;
    width: 50%;
}

.sensor-setting1{
    font-size: 2em;
    font-weight: 800;
    text-align:center;
}

.sensor-reading-text-1 {
    float: left;
    width: 50%;
}

.sensor-reading1{
    font-size: 2em;
    font-weight: 800;
    text-align:center;
}

.chart-view {
    padding: 10px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 10px -2px rgb(0 0 0 / 8%);
    margin: 5px;
}

span.celcius {
    font-size: 0.4em;
    position: absolute;
}

.login-form {
    padding: 10px;
    width: 350px;
    height: 450px;
    margin: 100 auto 0;
    background-color: #ffffff;
    box-shadow: 0 0 10px -2px rgb(0 0 0 / 8%);
    border-radius: 5px;
    text-align: center;
}

.login-logo {
    padding: 10px;
    width: 150px;
    height: 150px;
    margin: 100 auto 0;

}

input[type="text"], select, input[type="password"] {
    margin: 5px;
    padding: 5px;
    border: 1px solid #b5b5b5;
    border-radius: 5px;
}


.footer {
    height: 50px;
    padding:20px;
    text-align: center;
}