@media only screen 
and (min-width : 480px) {
	html {
            background: #f7f7f7;
            /*max-width: 800px;*/
            width:100%;
            margin: auto;
	}
}

@media only screen 
and (max-width : 480px) { 
	html {	
		max-width: 100%;
		min-width: 100%;
		margin-left: 0;
		width: 100%;
	}
}

html{
	overflow-x: hidden;
}

body{
	min-height: 660px !important;
	overflow-x: hidden;
}

.ui-page {
	background: #f7f7f7;
	width: 100%;
	overflow-x: hidden;
}

[data-role="page"] {
    padding-bottom: 3em;
	overflow: hidden;
}
#page2{ /*The "Heating" page requires more padding space at the end since the knob position is absolute. Therefore, we have to "fill" the entire space underneath the knob to add some space at the end*/
	padding-bottom: 15em;
}

.logo-header {
	width: 100%;
	display: block;
	overflow: hidden;
	text-align: center;
	background: #f7f7f7;	
	margin-top: 0;
}

.logo-img {
	width: 200px;
	height: auto;
}

.btn-back {
	margin-left: 2px !important;
}

.standard-btn {
	border-bottom: 0.25em solid #13576E;
	
	color: #13576E;
	border-radius: 0px;
	
	padding-top: 0.5em;
	padding-left: 0.2em;
	padding-right: 0.2em;
	padding-bottom: 0.5em;
	
	   -moz-box-shadow: 1px 1px 10px 1px rgba(0,0,0,.1);
	-webkit-box-shadow: 1px 1px 10px 1px rgba(0,0,0,.1);
			box-shadow: 1px 1px 10px 1px rgba(0,0,0,.1);
			
	overflow: hidden;
			
}

.standard-btn:active{
	padding-bottom: 0.5em;
}

#selection_param{
    width: 100%;
    
}


#dashboard-list {
	position: relative;
	width: 100%;
	height: auto;
	margin: 0;
	vertical-align: middle;
}

.dashboard-item {
	width: auto; 
	
	margin-left: 5%;
//	margin-top: 0.2em;
	margin-top: 0.4em;
	margin-bottom: 0.2em;
	
//	padding-left: 0.5em;
	padding-right: 0.5em;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	
	display: inline-block;
	float: left;
	width: auto;
	overflow: hidden;
	min-height: 1.5em;
	height: 100%;
	
	text-align: center;
	font-weight: 500; 
	font-size: 0.9em;
	color: rgba(255, 102, 0, 0.8);
	
	line-height: 1.5em;
}

.dashboard-item-icon {
	width: 25px;
	height: auto;
	
	display: inline-block;
	
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	
	border-radius: 2px;
}

.dashboard-section {
	padding-left: 0;
	margin-left: 0;
}


.dashboard-btn {
	padding-top: 1em;
	padding-bottom: 1em;
	padding-left: 1%;
	
	margin-top: 0.75em;
	margin-bottom: 0.75em;
	
	border-bottom: 0.25em solid #13576E;
	
		
	   -moz-box-shadow: 0 1px 3px rgba(0,0,0,.2);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.2);
			box-shadow: 0 1px 3px rgba(0,0,0,.2);

}

.dashboard-btn:active{
	padding-bottom: 1em;
}


.dashboard-btn-id {
	float: left;
	width: 30%;
	max-width: 300px;
	text-align: center;
	padding-right: 2%;
	
	//border-right: 1px solid /*#e8e5e5*/ #eee;
	border-right: 2px solid #13576E;
	//border-right: 2px solid rgba(0,164,173,0.1);
	text-transform:uppercase;
}

.dashboard-data {
	width: 60%;
	
	float: left;

	font-weight: 300;
	font-size: 0.9em;
	
	padding-left: 4%;
	
	//border: 2px solid #eee;
	//border-radius: 0.5em;
}

.dashboard-icon {
	height: auto; 
	width: 30%;
	
	max-width: 100px;
	min-width: 30px;
	
	left: 0;
}

.dashboard-arrow-icon {
	width: 4%;
	height: 25%;
	min-width: 35px;
	min-height: 15px;
	max-width: 35px;
	max-height: 30px;

	position: absolute;
	top: 40%;
	left: 87%;
	vertical-align: middle;
}

.dashboard-title {
	text-align: center;
	font-size: 0.8em;
	font-weight: 500;
	
	color: #13576E;
}

.c {
	overflow: hidden;
	text-transform: uppercase;
	font-weight: 500;
}

.content {
	overflow: hidden;
	text-transform: uppercase;
	font-weight: 500;
}

.heading-lvl-one {
	font-weight: 300;
	text-align: center;
	font-size: 1.2em;
	
	border: 1px solid #eee;
	padding: 0.5em 0em 0.4em 0em;
	font-family: 'IM Fell Great Primer SC', "Times New Roman", Times, serif;
	
	color: #ddd;
}

.heading-lvl-two {
	font-weight: 300;
	text-align: center;
	
	border: 1px solid #eee;
	padding: 0.5em 0em 0.4em 0em;
	font-family: 'IM Fell Great Primer SC', "Times New Roman", Times, serif;
	
	color: #ddd;
}

.heading-lvl-three {
	font-weight: 300;
	text-align: center;
	padding: 0.5em 0em 0.4em 0em;
	font-family: 'IM Fell Great Primer SC', "Times New Roman", Times, serif;
	
	color: #ddd;
}

.parameter-section-frame {
	border: none;
	width: auto;
	height: auto;

	background: #eee;
}

.parameter-line {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	text-align: center;
}

.underlined-zone {                      /*to be assigned*/
	border-bottom: 1px solid #eee;
}

.parameter-section {			/*text*/
	font-weight: 300;
	font-size: 1.1em;
	color: #c6c6c6;

	padding-top: 0.5em;
	padding-bottom: 0.3em;
	padding-left: 3%;
	
	border-bottom: 1px solid #e6e6e6;
	border-top: 1px solid #fff;
	
	text-transform:uppercase;
}

.parameter-name {			/*text*/
	font-weight: 300;
	font-size: 0.9em;
	
	padding-right: 2%;
	padding-bottom: 1em;
	
	color: #8d8d8d;
}

.parameter-value {			/*text*/
	font-weight: 300;
	font-size: 0.9em;
}

.db-param-icon {
	float: left;
	width: 20%;
	max-width: 30px;
	height: auto;
}

#submit-btn {
	width: 20%;
	margin-left: 40%;
	text-align: center;
	display: inline-block;
	
	height: 30px;
}

.knob-wrapper {
	display: inline-block;
	vertical-align: middle;
	width: 100%;
	height: auto;
}

.knob-container {
	position: absolute;
	left: 10%;
	width: 78%;
	
	vertical-align: middle;
}

.knob-legend {
	padding-bottom: 0px;
}

.knob-target-legend {
	color: #13576E;
	margin-bottom: 0.25em;
	
	font-weight: 500;
	line-height: 0em;
	font-size: 0.25em;
}

.knob-current-legend {
	color: #FF6600;
	margin: 17px 0px 0px 0px;
	
	font-weight: 300;
	font-size: 0.45em;
	line-height: 0.45em;
}

.current-temp-ctnr {
	padding-top: 25px;
	z-index: 10;
}

	.current-temp-ctnr .knob{
		margin-top: -80px !important;
		
		font-size: 1.5em !important;
		font-weight: 300 !important;
	}

.target-temp-ctnr {
	z-index: 100;
}
	.target-temp-ctnr .knob{
		margin-top: -190px !important;
		margin-bottom: 200px !important;
		
		font-size: 5em !important;
		font-weight: 900 !important;
	}

.knob {
	visibility: hidden !important;
	height: auto !important;
	width: 100% !important;
	z-index: -1 !important;
	margin-left: -50% !important;
	display: inline-block !important;
	text-align: center !important;
	font-family: 'Open Sans', "Helvetica", "Arial", sans-serif !important;
}

canvas {
	z-index: 200 !important;
	background: transparent !important;
}

.current {
	top: 75px;
	font-size: 1.2em !important;
	font-weight: 300 !important;
	font-family: inherit !important;
}

.target {
	font-family: inherit !important;
	font-size: 4em !important;
}

.target-display {
	width: 100%;
	display: inline-block;
	position: absolute;
	margin-top: 50px;
	left: 0px;
	z-index: -100;
	
	line-height: 1.2em;
	font-size: 5em;
	font-weight: bold;
	
	font-family: inherit; 
	color: #13576E;	
}

	.target-display .target-location {
		z-index: 1000;
	}

.current-display {
	width: 100%;
	display: inline-block;
	position: absolute;
	top: 116px;
	left: 0px;
	z-index: 0;
	
	line-height: 1.3em;
	font-size: 1.6em;
	font-weight: 300;
//	font-family: 'Roboto', "Helvetica", "Arial", sans-serif;
	font-family: inherit;
	color: #FF6600;	
}

	.current-display .current-location {
		z-index: 500;
	}

.temperature:before {
	content: " ";
}

.degree-and-unit{
	font-size: 0.5em;
}

.target-units {
	position: relative;
	display: block;
	float: right;
	
	color: #ccc;
	font-weight: 300;
	font-size: 2.5em;
}

.current-units {
	
}

.my-knob {
//	text-align: right !important;
}

#knob-action-prevent-frame {
	width: 100%;
	height: 300px;
	position: absolute;
	top: 250px;
	left: 0px;
	display: inline-block;
	
	z-index: 1000;
	background: transparent;
}

.std-btn-icon{
	width: 30px;
	min-height: 30px;
	vertical-align: middle;
}
.login-error-ctnr {
	background: #ccc;
	
	display: block;
	
	width: 100%;
	height: 40px;
}

.parameter-msg{
	border-bottom: 1px solid #eee;
	color: #ccc;
	
	padding: 0em 0.5em 0.5em 0.5em;
	margin-bottom: 1em;
	
	font-size: 0.9em;
	text-align: left;
}

.error-msg{
	color: red;
}

.error-msg:before{
	content: "!";
	border: 1px solid red;
	border-radius: 1em;
	padding: 0em 0.5em 0em 0.5em;
	margin-right: 0.5em;
	font-weight: 500;
}

.dashboard-item-icon-as-value{
	font-size: 1.7em;
	padding: 0.4em 0em 0.3em 0em;
	margin-top: 1px;
}

.log-line{
	text-align: left;
}

.disabled-parameter{
	color: #ddd;
}

fieldset{
	padding-bottom: 1em !important;
}

.nav-drop-down-wrapper{
	width: 96%;
	display: block;
	position: relative;
	padding: 5px 2% 0 0;
	clear: both;
}

.nav-drop-down-ctnr{
	text-align: right;
	//overflow: hidden;
	width: 100%;
	height: 25px;
	padding: 0;
	position: relative;
	//right: 2px;
	z-index: 100;
	//top: 0.5em;
}

.languageSelec{
	
}

.ui-select{
	display: inline-block;
	width: 100%;
	margin-right: 2%;
}

.ui-select a{
	border-radius: 0px;
	min-width: 35px;
	background: transparent;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.ui-select a .ui-btn-inner{
	padding: 0.2em;
	margin: 0 auto;
	width: 100%;
}

.ui-popup-container{
	border: none;
	background: #eee;
}

.uuid-4-listbox{
	border: none;
	background: #eee;
}

.language-icon {
	width: 20px;
	height: auto;
	padding: 0;
	margin: 0 0 1.4em 0;
	display: inline-block;
	position: relative;
}

.dropdown-arrow-icon{
	display: inline-block;
	
	width: 15px;
	height: auto;
}

.radio-btn{
	padding: 0.5em;
	min-width: 30px;
	text-align: center;
}

.icon-shadow{
}

.ui-slider-label{
	font-size: 0.95em;
}

.btn-disabled-tag{
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	background: transparent;
	z-index: 1000;
	
	left: 100%;
}

.btn-disabled-tag-visible{
	left: 0%;
}

.btn-disabled-tag-hidden{
	left: 100%;
}

.heatTempSubtitle{
	float: left;
}

.blockUIgif{
	background: transparent;
	border: none;
}

#page1 .header .ui-select{
	width: 100%;
	text-align: center;
	display: block;
	max-width: 100%;
}
#page1 .header .ui-select a{
	width: 100%;
	text-align: center;
	display: block;
}

#heatStatusWrapper{
	display: none;
}

.loginLoaderMsg{
	color: #888888;
	font-family: inherit;
	font-weight: 100;
	font-size: 1.2em;
	text-transform: uppercase;
}

.loginLoaderUserName{
	font-weight: bold;
}

.recoverPW{
	line-height: 4em;
}
.rememberMeLabel{
	display: block;
	margin: 0 0 2em 45px;
	left: 30px;
	top: 50%;
	text-align: left;
	line-height: 0.2em;
	color: #13576E;
}

.results_table {border: solid 2px #111;}

#form_input {max-width: 1200px;margin:auto}
#form_result {max-width: 1200px;margin:auto}
#form_result canvas { margin:auto; display:block;}
#pump_wrapper {margin:auto; display:block;width:350px}
#chartTitle {margin:auto;text-align:center}
.bar-legend  {width:200px;margin:auto;}
.bar-legend li span {min-width:1em;min-height:1em;display:inline-block;margin-right: 3px;}
.bar-legend li {list-style-type: none; margin:auto !important;}
.remove {display:none;}
