@charset "ISO-8859-1";
/*
xxx-large = 3 rem
xx-large= 2.5
x-large = 2rem
large = 1.5rem
medium = 1.25rem
small = 1rem
x-small = .75rem
xx-small = .5rem
xxx-small = .35
*/

/*alignment for objects*/
@media(orientation:landscape){
	@media screen and (max-width:800px){
		.partial-width{
			width:95%;
		}
	}	
	@media screen and (min-width:1000px){
		.partial-width{
			width:92%;
		}	
	}	
	@media screen and (min-width:1200px){
		.partial-width{
			width:89%;
		}	
	}	
	@media screen and (min-width:1400px){
		.partial-width{
			width:83%;
		}		
	}	
	@media screen and (min-width:1600px){
		.partial-width{
			width:83%;
		}		
	}	
	@media screen and (min-width:1800px){
		.partial-width{
			width:80%;
		}		
	}	
	html {
	  scroll-behavior: smooth;
	  font-size: 18px;
	}

	h1{font-size:3rem}
	h2{font-size:3rem}
		
	figure{
		margin:0px 0px 0px 0px;
		padding:0px 5px 0px 5px;
		vertical-align:center;
		width:150px; height:150px;
	}
	figcaption{
		margin:0px 0px 0px 0px;
		padding:0px 0px 0px 0px;
		vertical-align:center;
		width:150px; height:30px;
		font-size:.75rem;
	}	
	.top-button {
		margin: 1px;
		width:18%;
		max-width: 120px;
		display:inline-block;
		font-size: 1rem; 
	 }
	.page {
	 	height: 100%;
	 	min-height:100vh;
	  	display: block;
		background-color: white;
		padding-top:4px;
	}
	
	 
	.centered {
		margin:0 auto;
	}
	.lefted{
		margin-left: 0; margin-right: auto;
	}
	.righted{
		margin-left: auto; margin-right: 0;
	}
	.width-30{
		width:30%;
	}
	.width-50{
		width:50%;
	}
	.side-button{
		margin: 1px;
		padding-left:2px; padding-right:2px;
		width:105px;height:27px; 
		display:block; border-radius:3px;		
		font-size:1rem; text-align:center;	
		background-color:#00245C; color:white;			
	}		
	.info-button{
		margin: 1px;
		padding-left:2px; padding-right:2px;
		width:105px;height:27px;
		display:block; border-radius:3px;		
		font-size:1rem; text-align:center;	
		background-color:#92D050; color:#00245C;			
	}		
	
}
/*@media orientation LANDSCAPE ended here*/

@media(orientation:portrait){
	@media screen and (max-height:800px){
		html {
		  scroll-behavior: smooth;
		  font-size: 12px;
		}		
	}
	@media screen and (min-height:800px){
		html {
		  scroll-behavior: smooth;
		  font-size: 16px;
		}		
	}
	@media screen and (min-height:1000px){
		html {
		  scroll-behavior: smooth;
		  font-size: 20px;
		}		
	}
	@media screen and (min-height:1200px){
		html {
		  scroll-behavior: smooth;
		  font-size: 24px;
		}		
	}
	@media screen and (min-height:1400px){
		html {
		  scroll-behavior: smooth;
		  font-size: 28px;
		}		
	}
	@media screen and (min-height:1500px){
		html {
		  scroll-behavior: smooth;
		  font-size: 32px;
		}		
		h1{font-size:3rem}
		h2{font-size:3rem}
	}
	@media screen and (min-height:1500px){
		html {
		  scroll-behavior: smooth;
		  font-size: 36px;
		}	
	}
	
	@media screen and (max-width:450px){
		h1{font-size:2rem}
		h2{font-size:2rem}
	}	
	@media screen and (min-width:500px){
		h1{font-size:2.25rem}
		h2{font-size:1.85rem}
	}	
	@media screen and (min-width:525px){
		h1{font-size:2.5rem}
		h2{font-size:2rem}
	}	
	@media screen and (min-width:550px){
		h1{font-size:2.75rem}
		h2{font-size:2.25rem}
	}	
	@media screen and (min-width:575px){
		h1{font-size:2.75rem}
		h2{font-size:2.5rem}
	}	
	figure{
		margin:0 auto;
		padding:0px 5px 0px 5px;
		vertical-align:center;
		width:90%; height:fit-content;
	}
	figcaption{
		margin:0px 0px 0px 0px;
		padding:0px 0px 0px 0px;
		vertical-align:center;
		width:250px; height:30px;
		font-size:.75rem;
	}
	.page {
	 	height: 100%;
	 	min-height: 100vh;
	  	display: block;
		background-color: white;
	}
	
	.top-button {
		margin: 1px;
		padding-right: 4px;
		padding-left:4px;
		width:fit-content;
		/*max-width: 120px;*/
		display:inline-block;
		font-size: 1.25rem; 
	 }
	
		
	/* since lack of horizontal display, all becomes centered*/
	.centered {
		margin:0 auto;
	}
	.lefted{
		margin-left:0; margin-right: auto;
	}
	.righted{
		margin-left:auto; margin-right:0;
	}
	.partial-width{
		width:95%;
	}
	.width-50{
		width:50%;
	}
	.width-30{
		width:30%;
	}
	.side-button{
		margin: 0px;
		padding:4px 4px 4px 4px;
		width:fit-content;height:auto; 
		display:inline-block; border-radius:3px;		
		font-size:1rem; text-align:center;	
		background-color:#00245C; color:white;			
	}		
	.info-button{
		margin: 1px;
		padding:4px 4px 4px 4px;
		width:fit-content;height:auto; 
		display:inline-block;
	 	border-radius:3px;		
		font-size:1rem; text-align:center;	
		background-color:#92D050; color:#00245C;	
	}		
	
}
/*@media orientation PORTRAIT ended here*/

/****************************/
/*** Not oriented objects ***/
/****************************/
.top-button {
	font-weight:100; text-align: center;
	background-color:#92D050; 
	border: none; border-radius: 5px 5px 0 0;
 	cursor:pointer;
 }


body {
	font-family:Century Gothic;
	color: #00245C;
 	}
h1{
	font-weight: bold;
	margin:0px 0px 0px 0px;	padding:0px 0px 0px 0px;
 	} 	
h2{
	font-weight:lighter;
	margin:0px 0px 0px 0px;	padding:0px 0px 0px 0px;
}
h3{
	font-size: 2rem;font-weight:normal;
	margin:0px 0px 0px 0px;	padding:0px 0px 0px 0px;
}
h4{
	font-size: 1.5rem; font-weight:lighter;
	margin:0px 0px 0px 0px;	padding:0px 0px 0px 0px;
}
h5{
	font-size: 1.25rem;	font-weight:lighter;
	margin:0px 0px 0px 0px;	padding:0px 0px 0px 0px;
}
h6{
	font-size: 1rem;	font-weight:lighter;
	margin:0px 0px 0px 0px;	padding:0px 0px 0px 0px;
}

p {
	margin:0px 0px 0px 0px;	padding:0px 0px 0px 0px;
	width: 100%;	
	font-size: .75rem;
}  	
span{
	margin:0px 0px 0px 0px;	padding:0px 0px 0px 0px;
	font-size: .75rem;
}

a {
	text-decoration: none;	  		
}
a:hover, button:hover{
	color: white;	
	cursor: pointer;
} 

input{
  	width:95%;
}
input:hover{
	background-color:#92D050;
}
img{
	width:100%;height:100%;
	object-fit:contain;
}

table{
	width:100%;height:100%;	
}
footer {
	width:100%;
	height: 6vh;
	background-color: #e0e0e0;/* light-grey*/
	font-size: .5rem;
}
footer figure{
	width:10%;
	height:100%;
	display:inline-block;
}

button:hover {
  opacity:1;
}

/* <header> element */
header {
 	margin: 0px; padding: 0px;
	display: block;
 	position: fixed;
 	top: 0; right: 0;
	width:100%; height: fit-content;
 	z-index:1;
 	border-width:0px;
 	background-color:white;
} 

#Branding {
	display: flex;
	width:auto; 
	align-items:top;
 	background-color:white;
}		  
#Logo {
	/* Conisder to change to % to adapt other screens */
	width:100px; height:100px;
	margin-left:0; margin-right:0;
	display: inline-block;
	background-color:white;
}
#Legend {
	width:auto;
	display: inline-block;
	background-color: white;
} 

/* User id tag */
 .user-div{
 	width:75px;height:25px;
	display:inline-block; vertical-align:top; 
	background-color:#00245C; color:white;
}
.user-tag{
	margin:0; padding-top:4px;	
	width:100%;
	font-size:.65rem; text-align:center; vertical-align:center;
} 
.menu-box{
	width:95%; 
	display:block;
} 
.menu-buttons{
	display:flex; flex-direction:row; flex-wrap:wrap; justify-content:flex-end; vertical-align:top; 
	width:100%;
	margin-left: auto ;margin-right: 0;
}
 
.top-button:hover {
	background-color:#FFC000; 
 	cursor:pointer;
 }
.subtitle {
	margin:0 auto; 
	display: block;
	width:100%;
}
.subtitle-div{
	width:fit-content;
}

.green{
	margin-bottom:2px;
	border-bottom: solid #92D050;
}
.orange{
	margin-bottom:2px;
	border-bottom: solid #FFC000;
}
.blue{
	margin-bottom:2px;
	border-bottom: solid #00245C;	
}
.grey{
	margin-bottom:2px;
	border-bottom: solid silver;
}

/* alignment for text, mainly for paragraphs*/
.text-center {
	text-align:center;
	}
.tetx-left{
	text-align:left;
	}
.text-right{
	text-align:right;
	}

 /* <main> element */
#MyPage {
	width:100%; height: 100%;
	display: block;   
	background-image: url(../images/house-B.png);
	background-repeat: no-repeat;
	background-size:cover;
	background-attachment:fixed;
	background-color:none;
}
.full-width{
	width:100%;
}

.pagebreak{
	height:5px;	
	display:block;
}	

.no-color{
	background-color: none;
}
.colored{  	
	background-color: white;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: light-gray;
  font-size: .65rem; font-style: italic;
}

.side-button:hover{
	color:#92D050;
	text-decoration:none;
}

.info-button:hover{
	background-color:#FFC000;color:#00245C;
	text-decoration:none;
}
