header {
}	

.header_kello {
	position: fixed;
	top: 0px;
	right: 0px;
	left: 0px;
	z-index: 101;
	font-family: 'Contrail One', Arial;
	font-size: 0.9em;
	padding-top: 5px;
	padding-bottom: 6px;
	padding-left: 15px;
	padding-right: 15px;
	height: 30px;
	text-decoration: none;
	text-align: center;
	}
	
	
div.header_top {
	position: fixed;
	z-index: 50;
	top: 0px;
	height: 45px;
	background-color: var(--color-dark-blue);
	text-align: right;
	width: 100%;
	color: var(--color-light-yellow);
	font-size: 1em;
	border-bottom-color: var(--color-light-yellow);
	border-bottom-style: solid;
	border-bottom-width: 3px;
	animation: header-top-load 300ms ease-in;
}	
@keyframes header-top-load {
	0% {
		background-color: var(--color-light-blue);
	}
	100% {
		background-color: var(--color-dark-blue);
	}
}

div.header_lower {
	position: relative;
	display: block;
	top: 45px;
	margin-top: 0px;
	padding-top: .5vw;
	margin-left: 0px;
	margin-right: 0px;
	background: var(--color-mid-blue);
	border-bottom-color: var(--color-light-blue);
	border-bottom-width: 5px;
	border-bottom-style: solid;
}

span.header_lower_content {
	display: flex;
	height: 100%;
	justify-content: center;
	align-items: center;
	margin-top: 0px;
	padding-top: 0px;
	margin-left: 10px;
	padding-right: 10px;
	height: 100px;
	border-color: red;
	border-width: 0px;
	border-style: dotted;
}

span.header_logo {
	position: relative;
	padding-top: 0px;
	padding: 10px;
	border-color: green;
	border-width: 0px;
	border-style: dashed;
	flex-shrink: 0;
	flex-grow: 0;
	animation: header-load 300ms ease-in;
}	

@keyframes header-load {
	0% {
		transform: translateY(-100%);
		opacity: 0%;
	}
	90% {
		transform: translateY(10%);		
		opacity: 70%;
	}
	100% {
		transform: translateY(0);		
		opacity: 100%;
	}
}

img.header_logo {
	z-index: 1;
	margin-left: auto;
	margin-right: auto;
	height: 100%;
	width: auto;
	max-width: 100%;
	max-height: 100px;
	}

span.header_text {
	position: relative;
	display: inline-block;
	position: relative;
	padding-top: 0px;
	border-color: green;
	border-width: 0px;
	border-style: dashed;
	flex-shrink: 0;
	flex-grow: 0;	
	}
img.header_text {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	height: 100%;
	max-width: 100%;
	max-height: 100px;
	z-index: 1;
	animation: header-load 300ms ease-in;
	}
	

@media (max-width: 699px) {
	div.header_lower {
		height: 100px;
	}
	span.header_logo {
		display: none;
	}
	.header_kello {
		display: none;
	}

	span.header_otsikko {
		display: inline-block;
		margin: auto;
		font-size: 1em;
		font-family: "Teko", arial;
		text-transform: uppercase;
		vertical-align: center;
		padding: 10px;
	}
	div.header_text {
		display: block;
		margin-top: 0px;
	}
	span.header_text {
		display: inline-block;
		font-size: 2.5em;
		width: 100%;

	}
}
@media (min-width: 700px) {
	div.header_lower {
		height: 110px;

	}
	span.header_logo {
		display: inline-block;
	}

	.header_kello {
		display: inline-block;
	}

	span.header_otsikko {
		display: inline-block;
		margin: auto;
		font-size: 5em;
		font-family: "Teko", arial;
		text-transform: uppercase;
		vertical-align: center;
		padding: 10px;
	}	
	.header_text {
		display: block;
		margin-top: 0px;
		width: 75vw;

	}
}

