@font-face {
  font-family: 'eligible';
  font-weight: normal;
  font-style: normal;
  src: url('font/Eligible-Regular.eot'); /* IE9 Compat Modes */
  src: url('font/Eligible-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('font/Eligible-Regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('font/Eligible-Regular.woff') format('woff'), /* Pretty Modern Browsers */
       url('font/Eligible-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('font/Eligible-Regular.svg#svgFontName') format('svg'); /* Legacy iOS */
}

#loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: absolute;
    left: 50%;
    margin-left: -60px;
    top:50%;
    margin-top: -60px;
}
img{
	margin: 0;
	padding: 0;
	width: 100%;
	height: auto;
}
body{
	width: 100vw;
	height: 100vh;
	margin: 0;
	padding: 0;
	font-family: 'eligible';
}
.container {
	position: relative; 
	overflow: hidden;
}

#wrapper{
	
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
	height: 100%;
	width: 100%;
}
.hidden{
	visibility: hidden;
}
#navTop{
	display: flex;
	justify-content: space-around;
	position: absolute;
	top:1%;
	height: 50px;
	left: 50%;
	margin-left: -25px;
	text-align: center;	
}
#navTop img{
	width: 50px;
	-ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Safari */
    transform: rotate(90deg);
}

#navBottom{
	display: flex;
	justify-content: space-around;
	position: absolute;
	bottom:1%;
	left: 50%;
	margin-left: -25px;
	height: 50px;
	
	text-align: center;	
}
#navBottom img{
	width: 50px;
	-ms-transform: rotate(-90deg); /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Safari */
    transform: rotate(-90deg);
}
#navLeftDiv{
	display: flex;
	align-items: center;
	height: 100%;
	position: absolute;
	left:1%;
	top:0;
}
#navLeft{	
	width: 50px;
	text-align: center;	
}
#navRightDiv{
	display: flex;
	align-items: center;
	height: 100%;
	position: absolute;
	right:1%;
	top:0;
}
#navRight{
	
	width: 50px;
	text-align: center;	
}

#navRight img{
	-ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Safari */
    transform: rotate(180deg);
}

@media (orientation:portrait){
	#page{
		display: flex;
		align-items: center;
	max-width: 1280px;
	margin: 0 auto;
	height: 100%;
	}
	.container{
	width: 100%;
	/*padding-top: 71.17%; /* 4:3 Aspect Ratio */
	}
}
@media (orientation:landscape){
	#page{	
	margin: 0 auto;
	height: 100vh;
	}
	.container{
	height: 100%;
	width: 140.5vh;
	margin: 0 auto;
	}
}


