
/* Type and text definitions */

@font-face {
  font-family: 'Georgia';
  src: url('../typ/Georgia.eot?#iefix') format('embedded-opentype'),  url('../typ/Georgia.woff') format('woff'), url('../typ/Georgia.ttf')  format('truetype'), url('../typ/Georgia.svg#Georgia') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'CenturyGoth';
  src: url('../typ/CenturyGothic.eot?#iefix') format('embedded-opentype'),  url('../typ/CenturyGothic.woff') format('woff'), url('../typ/CenturyGothic.ttf')  format('truetype'), url('../typ/CenturyGothic.svg#CenturyGothic') format('svg');
  font-weight: normal;
  font-style: normal;
}

*{
	font-family: 'CenturyGoth', Sans;
	text-align: center;
}

h1, h2, h3{
	margin-bottom: 0;
}
p{
	margin-top: 8px;
}

h1, h2, .topnav a{
	font-family: 'Georgia', Serif;
}

h3{
	text-transform: uppercase;
}

/* Layout elements */
body, #page{
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff url('../pic/bg_main.png') top center no-repeat;
	background-attachment: fixed;
	background-size: cover;
}
#page{
	max-width: 2560px;
	margin: auto;
	height: 100%;
	background: rgba(0,0,0,0);
}
#header{
	height: 72px;
	width: 100%;
	border-bottom: solid rgba(112,112,224,0.9) 1px;
	position: fixed;
	z-index: 10;
	box-shadow: 0px 5px 10px rgba(0,0,0,0.4);
	background: rgba(112,112,224,0.5) url('../pic/bg_head.png') top center no-repeat;
	background-attachment: fixed;
	background-size: cover;
}

#header .left{
	min-width: 480px;
	float: left;
}
#header .rite{
	position: absolute;
	right: 0;
	width: auto;
	float: left;
	text-align: right;
}
#header #logo{
	min-width: 92px;
	height: 72px;
	background: url('../gfx/logo_64.png') center right no-repeat;
	float: left;
}
#header #head{
	min-width: 340px;
	height: 72px;
	margin-left: 24px;
	background: url('../gfx/header_64.png') center left no-repeat;
	float: left;
}
#header #logo a img,
#header #head a img{
	width: 100%;
	height: 100%;
}

#header ul.topnav{
	list-style: none;
	padding-right: 16px;
	text-align: right;
}
#header ul.topnav li{
	display: inline;
}
#header ul.topnav li a{
	margin: 8px;
	font-size: 24px;
	line-height: 79px;
	height: 72px;
}
#header ul.topnav li a.active{
	color: #fff;
}

#header .rite #HBG{
	position: absolute;
	top: 0;
	right: 0;
	width: 72px;
	height: 72px;
	background: url('../gfx/hamburger.png') center center no-repeat;
	display: none;
}
	
#contents{
	position: relative;
	top: 73px;
	width: 100%;
	height: calc(100% - 73px);
	background: rgba(0,0,0,0);
}	
#contents .text{
	padding: 32px;
	background: rgba(0,0,0,0);
}
#toppic{
	width: 60%;
	margin-bottom: 4%;
}
#datapic{
	width: 40%;
	margin-right: 5%;
	margin-left: 5%;
	float: left;
}
#right{
	width: 45%;
	float: left;
}
#right *{
	text-align: left;
}


a, a:LINK, a:VISITED{
	text-decoration: none;
	color: #000;
}


/* Animation settings */
@-webkit-keyframes fadeFromAbove{ 
	0% {  -webkit-transform: translate(0,-100px); opacity: 0.0;}
} 
@-moz-keyframes fadeFromAbove{
	0% {  -moz-transform: translate(0,-100px); opacity: 0.0;}
} 
@-ms-keyframes fadeFromAbove{
	0% {  -ms-transform: translate(0,-100px); opacity: 0.0;}
} 
@-o-keyframes fadeFromAbove{
	0% {  -o-transform: translate(0,-100px); opacity: 0.0;}
} 
@keyframes fadeFromAbove{
	0% {  transform: translate(0,-100px); opacity: 0.0;}
}

@-webkit-keyframes fadeFromBelow{ 
	0% {  -webkit-transform: translate(0,100px); opacity: 0.0;}
} 
@-moz-keyframes fadeFromBelow{
	0% {  -moz-transform: translate(0,100px); opacity: 0.0;}
} 
@-ms-keyframes fadeFromBelow{
	0% {  -ms-transform: translate(0,100px); opacity: 0.0;}
} 
@-o-keyframes fadeFromBelow{
	0% {  -o-transform: translate(0,100px); opacity: 0.0;}
} 
@keyframes fadeFromBelow{
	0% {  transform: translate(0,100px); opacity: 0.0;}
}
@-webkit-keyframes fadeFromBelow3{ 
	0% {  opacity: 0.0;}
	66% {  -webkit-transform: translate(0,100px); opacity: 0.0;}
} 
@-moz-keyframes fadeFromBelow3{
	0% {  opacity: 0.0;}
	66% {  -moz-transform: translate(0,100px); opacity: 0.0;}
} 
@-ms-keyframes fadeFromBelow3{
	0% {  opacity: 0.0;}
	66% {  -ms-transform: translate(0,100px); opacity: 0.0;}
} 
@-o-keyframes fadeFromBelow3{
	0% {  opacity: 0.0;}
	66% {  -o-transform: translate(0,100px); opacity: 0.0;}
} 
@keyframes fadeFromBelow3{
	0% {  opacity: 0.0;}
	66% {  transform: translate(0,100px); opacity: 0.0;}
}

@-webkit-keyframes fadeFromRight{ 
	0% {  -webkit-transform: translate(100px,0); opacity: 0.0;}
} 
@-moz-keyframes fadeFromRight{
	0% {  -moz-transform: translate(100px,0); opacity: 0.0;}
} 
@-ms-keyframes fadeFromRight{
	0% {  -ms-transform: translate(100px,0); opacity: 0.0;}
} 
@-o-keyframes fadeFromRight{
	0% {  -o-transform: translate(100px,0); opacity: 0.0;}
} 
@keyframes fadeFromRight{
	0% {  transform: translate(100px,0); opacity: 0.0;}
}
@-webkit-keyframes fadeFromRight2{ 
	0% {  opacity: 0.0;}
	50% {  -webkit-transform: translate(100px,0); opacity: 0.0;}
} 
@-moz-keyframes fadeFromRight2{
	0% {  opacity: 0.0;}
	50% {  -moz-transform: translate(100px,0); opacity: 0.0;}
} 
@-ms-keyframes fadeFromRight2{
	0% {  opacity: 0.0;}
	50% {  -ms-transform: translate(100px,0); opacity: 0.0;}
} 
@-o-keyframes fadeFromRight2{
	0% {  opacity: 0.0;}
	50% {  -o-transform: translate(100px,0); opacity: 0.0;}
} 
@keyframes fadeFromRight2{
	0% {  opacity: 0.0;}
	50% {  transform: translate(100px,0); opacity: 0.0;}
}

@-webkit-keyframes fadeFromLeft{
	0% {  -webkit-transform: translate(-100px,0); opacity: 0.0;}
} 
@-moz-keyframes fadeFromLeft{
	0% {  -moz-transform: translate(-100px,0); opacity: 0.0;}
} 
@-ms-keyframes fadeFromLeft{
	0% {  -ms-transform: translate(-100px,0); opacity: 0.0;}
} 
@-o-keyframes fadeFromLeft{
	0% {  -o-transform: translate(-100px,0); opacity: 0.0;}
} 
@keyframes fadeFromLeft{
	0% {  transform: translate(-100px,0); opacity: 0.0;}
}


.ffAbove{
	animation-name: fadeFromAbove;
	animation-duration: 1s;
	animation-timing-function: ease-out;
}

.ffBelow{
	animation-name: fadeFromBelow;
	animation-duration: 1s;
	animation-timing-function: ease-out;
}
.ffBelow3{
	animation-name: fadeFromBelow3;
	animation-duration: 2.0s;
	animation-timing-function: ease-out;
}

.ffRight{
	animation-name: fadeFromRight;
	animation-duration: 1s;
	animation-timing-function: ease-out;
}
.ffRight2{
	animation-name: fadeFromRight2;
	animation-duration: 1.5s;
	animation-timing-function: ease-out;
}

.ffLeft{
	animation-name: fadeFromLeft;
	animation-duration: 1s;
	animation-timing-function: ease-out;
}

/* Responsive settings */

@media (max-width: 1280px) {
	#header ul.topnav li a{
		margin: 8px;
		font-size: 18px;
		line-height: 84px;
		height: 72px;
	}	
}

@media (max-width: 960px) {
	h1{
		font-size: 250%;
	}
	h2{
		font-size: 200%;
	}
	p{
		font-size: 150%;
	}
	#header .rite ul{
		display: none;
	}
	
	#header .rite #HBG{
		display: block;
	}
	
	#squared div { 
		display: block;
		width: 100%;
		clear: both;
	}
	
	#datapic{
		width: 80%;
		margin-left: 10%;
		float: normal;
	}	
	#right{
		width: 80%;
		margin-left: 10%;
		float: normal;
	}
	#right *{
		text-align: center;
	}
}

@media (max-width: 540px) {
	#header #logo{
	
		-webkit-transform-origin: 32px 32px;
		-moz-transform-origin: 32px 32px;
		-ms-transform-origin: 32px 32px;
		-o-transform-origin: 32px 32px;
		transform-origin: 32px 32px;

		-webkit-transform: scale(0.75);
		-moz-transform: scale(0.75);
		-ms-transform: scale(0.75);
		-o-transform: scale(0.75);
		transform: scale(0.75);
	}	
	#header #head{

		-webkit-transform-origin: -100px 32px;
		-moz-transform-origin: -100px 32px;
		-ms-transform-origin: -100px 32px;
		-o-transform-origin: -100px 32px;
		transform-origin: -100px 32px;

		-webkit-transform: scale(0.75);
		-moz-transform: scale(0.75);
		-ms-transform: scale(0.75);
		-o-transform: scale(0.75);
		transform: scale(0.75);
	}	
}

@media (max-width: 420px) {
	#header #logo{
	
		-webkit-transform-origin: 32px 32px;
		-moz-transform-origin: 32px 32px;
		-ms-transform-origin: 32px 32px;
		-o-transform-origin: 32px 32px;
		transform-origin: 32px 32px;

		-webkit-transform: scale(0.65);
		-moz-transform: scale(0.65);
		-ms-transform: scale(0.65);
		-o-transform: scale(0.65);
		transform: scale(0.65);
	}	
	#header #head{
	
		-webkit-transform-origin: -100px 32px;
		-moz-transform-origin: -100px 32px;
		-ms-transform-origin: -100px 32px;
		-o-transform-origin: -100px 32px;
		transform-origin: -100px 32px;

		-webkit-transform: scale(0.65);
		-moz-transform: scale(0.65);
		-ms-transform: scale(0.65);
		-o-transform: scale(0.65);
		transform: scale(0.65);
	}	
}

@media (max-width: 360px) {
	#header #logo{
		display: none;
	}	
	#header #head{
	
		-webkit-transform-origin: 0 32px;
		-moz-transform-origin: 0 32px;
		-ms-transform-origin: 0 32px;
		-o-transform-origin: 0 32px;
		transform-origin: 0 32px;

		-webkit-transform: scale(0.60);
		-moz-transform: scale(0.60);
		-ms-transform: scale(0.60);
		-o-transform: scale(0.60);
		transform: scale(0.60);
	}	
}