﻿:root {
	font-size: 16px;
}
* { box-sizing: border-box;margin:0; padding:0; }
html { min-height: 100%;}
#wrapper {
	border: solid thin #cbcbcb;
	font-family: 'Roboto', sans-serif;
	font-size: 1.0625rem;
	line-height: 1.4375rem;
	max-width: 870px;
	margin: 0.75rem auto;
	padding: 0;
	background-color: #0f4087;
	overflow: hidden;
	text-align: left;
	position: relative;
	color: #fff;
}
article {
	margin: 0;
	padding: 0.8125rem 2.5625rem 1.3125rem 2.5625rem;
}
header {
	margin: 0;
	padding: 0;
	position: relative;
}
header img {
	position:relative;
	top:0;
	left:0;
	margin: 0;
	text-align:right;
}
section {
	margin: 0;
	padding: 0;
}
footer {
	margin: 1rem 0 0 0;
	background: #fff;
	padding: 0.8125rem 2.5625rem;
	color: #0f4087;
}
h1 {
	font-size: 2.6875rem;
	margin: 0 0 0.75rem 0;
	line-height: 2.375rem;
	}
h3 {
	font-size: 0.875rem;
	margin: 0.8rem 0 0 0;
	line-height:1.625rem;
}
p {
	margin-bottom: 1rem;
}
p:last-child {
	margin-bottom:0;
}
a {
	color: #fff;
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
img {
	max-width: 100%;
	height: auto;
	width: auto\9;
}
ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
ul li {
	padding-left: 0.75rem;
	background: url("../images/iconli.png") no-repeat left 7px;
	text-align: left;
}
.clearfix {
	clear:both;
	font-size:0;
	line-height:0;
	display:block;
}
br{
	display: block;
}
footer aside:nth-of-type(1){
	width: 70.5%;
	float: left;
}
footer aside:nth-of-type(2){
	width: 19.5%;
	float: right;
	margin-top: 2.625rem;
}

header>a{
	position: absolute;
	top: 8%;
	left: 4%;
	height: 23%;
	width: 40%;
}
h1 span{
	font-size: 49%;
	font-weight: normal;
}
footer a{
color: #0f4087;
}
footer > a{
	position: absolute;
	right: 0;
	bottom: 4.8125rem;
}

@media screen and (max-width: 870px) {
	#wrapper{
		width: 100%;
		border:none;
		margin:0;
	}
	article{ 
		padding: 0.625rem; 
		margin: 0;
	}
	br{
		display: none;
	}
	footer br{
		display: block;
	}
	footer aside:nth-of-type(1){
		width: 100%;
		float: none;
	}
	footer aside:nth-of-type(2){
		width: 100%;
		float: none;
		margin-top: 1rem;
	}
	footer{
		padding: 0.625rem;
	}
	footer > a{
		position: static;
	}
	h1{
		font-size: 2.25rem;
	}
}