html {
 height:100%;
}

/* Global variables */
:root {
  /* --main-bg-color: rgba(229,229,229,1); */
  --home-bg-color: #314A95;
  --pool-bg-color: #049cfa;
  --garage-bg-color: #757a5c;
  /* --text-color:; */
  --btn-background-color:rgba(123,123,123,1);
  --btn-border-color:rgb(112, 112, 112);
  --btn-text-color:rgba(169,216,160,1);
  --mainarea-background-color: rgba(91,185,156,1);
  --web-view-ids: Garage;
}	

/* Common CSS */	
body {
	margin: 0;
	min-height: 100%;
	display: grid;
	grid-template-rows: 100vh auto auto;
    padding: 0;
	background-color: var(--main-bg-color);
	font-family: Seravek;
}

#Home_Title {
	opacity: 1;
	position: relative;
	box-sizing: border-box;
	margin-right: auto;
	margin-left: auto;
	padding: 20px 0px 0 0;
	overflow: visible;
	width: 300px;
	white-space: nowrap;
	text-align: center;
	font-style: italic;
	font-weight: normal;
	font-size: 40px;
	color: rgba(169,216,160,1);
}
/* return button */
#bouton_Precedent {
	opacity: 1;
	fill: rgba(37,79,110,1);
	stroke: rgba(0, 0, 0, 0);
	stroke-width: 1px;
	stroke-linejoin: miter;
	stroke-linecap: butt;
	stroke-miterlimit: 4;
	shape-rendering: auto;
}
.bouton_Precedent {
	transform: rotate(90deg);
	overflow: visible;
	position: absolute;
	top: 30px;
	left: 14px;
	width: 12.588px;
	height: 20.141px;
}

/* Home page */
#Home_Control_Welcome {
	box-sizing: border-box;
	background: #E5E5E5;
	height: 100vh;
	width: 100vw;
	display: grid;
	grid-template-rows: auto auto 1fr;
	/* --- */
	background-color: var(--home-bg-color);
	overflow: hidden;
	padding: 0;
	opacity: 1;
	--web-view-name: Home Control Welcome;
	--web-view-id: Home_Control_Welcome;
	--web-enable-deep-linking: true;
	background-image: url('imgs/house.png'); 
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom;
}

.anchor_button, .anchor_button:visited {
	color: var(--btn-text-color);
	text-decoration: none;
	padding: 10px 40px; 
}


/* garage Specific */
#Garage {
	box-sizing: border-box;
	background-color: var(--garage-bg-color);
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	padding: 0;
	opacity: 1;
	background-image: url('imgs/garage-opening.png'); 
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom;
	--web-view-name: Garage;
	--web-view-id: Garage;
	--web-enable-deep-linking: true;
}

#Groupe_1 {
	opacity: 1;
	width: 230px;
	margin-right: auto;
	margin-left: auto;
	padding-top: 30px;
	overflow: visible;
}

#main_zone_garage {
	opacity: 1;
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	padding: 30px 0 0 0;
	overflow: visible;
	width: 250px;
	white-space: nowrap;
	text-align: center;
	font-family: Seravek;
	font-style: italic;
	font-weight: normal;
	font-size: 30px;
	color: rgba(205,234,199,1);
}

#car_img {
	vertical-align:middle;
}

#form_garage {
	width: 200px;
	overflow: visible;
	margin-left:auto;
	margin-right:auto;
	margin-top: 40px;
}

.actn_button {
	width : 210px;
	height : 45px;
	background-color: var(--btn-background-color);
	border-color: var(--btn-border-color);
	border : none;
	font-size: 20px;
	color: var(--btn-text-color);
	text-align: center;
	display:table-cell;
	vertical-align: middle;
}

#Open_Close_Door {
	opacity: 1;
	position: absolute;
	left: 25px;
	top: 10px;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	overflow: visible;
	width: 143px;
	white-space: nowrap;
	text-align: left;
	font-family: Seravek;
	font-style: italic;
	font-weight: normal;
	font-size: 20px;
	color: rgba(205,234,199,1);
}

/* Pool Specific */
#Pool_Welcome {
		box-sizing: border-box;
		background-color: var(--pool-bg-color);
		width: 100vw;
		height: 100vh;
		overflow: hidden;
		padding: 0;
		opacity: 1;
		--web-view-name: Garage;
		--web-view-id: Garage;
		--web-enable-deep-linking: true;
		background-image: url('imgs/pool.png'); 
		background-size: contain;
		background-repeat: no-repeat;
		background-position: bottom;
}

#pool_temp, #air_temp, #temp_time, #water_level {
	display: inline-block; 
}

.alert {
	color: red;
	font-weight: bold;
}
