html {
	font-family: sans-serif;
	background-color: #bbb;
}

body {
	max-width: 600px;
	min-width: 365px;
	margin: auto;
	left: 0;
	right: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-tap-highlight-color: transparent;
	-webkit-user-select: none;
	background-color: #eee;
	box-shadow: 0 0 15px 0 rgba(0,0,0,.3);
	display: flex;
	flex-direction: column;
	background-image: -webkit-linear-gradient(top,#5191d8,#7dade2);
}

.header {
	width: 100%;
	height: 40px;
	/*background: #83b817;*/
	background: #3d3d3d;
	/*color: white;*/
	color: #83b817;
}

.header .title {
	position: relative;
	width: 100px;
	float: left;
	font-size: 15pt;
	padding: 8px 0px 0px 25px;
	-webkit-user-select: none;
}

.header .info {
	position: relative;
	float: right;
	text-align: right;
	font-size: 8pt;
	padding: 0px;
	font-style: italic;
}

.header a {
	text-decoration: none;
	color: #83b817;
}

.container {
	display: flex;
	flex: 1;
	background-image: url('../images/clouds.png');
	background-repeat: no-repeat;
	min-height: 150px;
	overflow-y: scroll; 
}

.footer {
	position: relative;
	width: 100%;
	height: 55px;
	background-color: #3d3d3d;
	padding: 0 16px;
	-webkit-box-shadow: 0 0 5px 1px rgba(0,0,0,.35);
	-moz-box-shadow: 0 0 5px 1px rgba(0,0,0,.35);
	-o-box-shadow: 0 0 5px 1px rgba(0,0,0,.35);
	box-shadow: 0 0 5px 1px rgba(0,0,0,.35);
	border-top: 1px solid rgba(0,0,0,.12);
	display: flex;
	flex-direction: row;
	box-sizing: border-box;
}

.navIcon {
	float: left;
	position: relative;
	height: 100%;
	display: flex;
	flex: 1;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
}

/*--------------------- LOGIN ---------------------*/
.loginScreen {
	width: 300px;
	height: 230px;
	margin: auto;
	background-color: #eee;
	font-style: italic;
	font-size: 14px;
	color: rgba(0,0,0,.54);
}

.loginField {
	height: 60px;
	background-color: #fff;
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid rgba(0,0,0,.12);
}

.loginInput {
	position: absolute;
	height: 100%;
	width: 100%;
	color: rgba(0,0,0,.87);
	background-color: transparent;
	border: none;
	padding-left: 10px;
	box-sizing: border-box;
	line-height: normal;
	outline-width: 0;
}

.loginSubmit {
	width: calc(100% - 2 * 20px);
	height: 30px;
	margin-left: 20px;
	margin-right: 20px;
	border: none;
	border-radius: 5px;
	font-size: 14px;
	color: #fff;
	background-color: rgba(0,0,0,.24);
}

.button {
    background-color: #83b817;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: #71A5DE; 
}
 
::-webkit-scrollbar-thumb {
    background: #83b817; 
}

::-webkit-scrollbar-thumb:hover {
    background: #00B817; 
}

/*--------------------- BUTTONS ---------------------*/

.switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 24px;
}

.switch input { 
	opacity: 0;
	width: 0;
	height: 0;
}

.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: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .slider {
	background-color: #83b817;
}

input:focus + .slider {
	box-shadow: 0 0 1px #83b817;
}

input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

.slider.round {
	border-radius: 24px;
}

.slider.round:before {
	border-radius: 50%;
}

.temperatureMapTitle {
	line-height: 15px;
	font-size:18px;
}

.temperatureMapSubtitle {
	line-height: 15px;
	font-size: 11px;
	background-image: url('../images/radiator.png');
	background-size: 21px;
	background-repeat: no-repeat;
	background-position: left bottom;
}

.temperatureMapSubtitle2 {
	line-height: 15px;
	font-size: 11px;
}

.lights input[type=checkbox] {
    //display: block;
    width: 30px;
    height: 30px;
    -webkit-appearance: none;
    //outline: 0;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    margin: 0px;
    padding: 0px;
}

.lights input[type=checkbox]:not(:checked) {
    background-image: url('../images/lights_off.png');
}

.lights input[type=checkbox]:checked {
    background-image: url('../images/lights_on2.png');
}
