* {
	margin: 0;
	box-sizing: border-box;
}

html {
	min-height: 100%;
}

#wrapper {
	margin: 0.75rem auto;
	border: 3px #0670af solid;
	max-width: 540px;
	color: #231f20;
	position: relative;
	padding: 23px 15px 15px;
	background: #FFFFFF url(bg.jpg) left bottom no-repeat;
	font-family: 'Roboto', sans-serif;
	line-height: 22px;
	font-size: 16px;
	overflow: hidden;
}

p {
	padding-bottom: 6px;
}

h1 {
	font-size: 16px;
	line-height: 1.25;
	text-align: center;
	color: #0670af;
	margin: 6px 0 15px;
	font-weight: 400;
}

h1 strong {
	display: block;
	font-size: 20px;
}

h1.h1 {
	margin-bottom: 18px;
}

h2 {
	font-size: 19px;
	line-height: 1.3;
	text-align: center;
	margin: 16px 0;
	font-weight: normal;
}

a {
	color: #0670AF;
	text-decoration: none;
	white-space: nowrap;
	font-weight: bold;
}

a:hover {
	text-decoration: underline;
}

strong a {
	color: #0670af;
}

img {
	max-width: 100%;
}

header img {
	position: absolute;
	top: 2px;
	right: 7px;
}

header p {
	width: 292px;
	text-align: justify;
	padding: 6px 0;
	line-height: 20px;
}

article {
	border-top: 3px solid #0670af;
	border-bottom: 3px solid #0670af;
	padding: 6px 0 0;
	margin: 0 0 6px;
}

footer {
	align-items: center;
	justify-content: space-between;
	display: flex;
	padding: 6px 0 17px;
}

footer p {
	width: 230px;
	padding: 0;
	margin: 0;
	text-align: justify;
}

@media only screen and (max-width:538px) {
	#wrapper {
		border: none;
		background-size: 100%;
		margin: 0 auto;
	}

	h1 strong {
		font-size: 18px;
	}

	header img {
		position: static;
	}

	header,
	footer {
		text-align: center;
	}

	footer {
		flex-direction: column;
		padding: 0 0 18px;
	}

	header p {
		width: auto;
		padding: 10px 0;
		width: 100%;
		float: left;
	}

	footer img {
		position: static;
	}

	footer p {
		width: auto;
	}

	p {
		text-align: left !important;
	}

	br {
		display: none;
	}

}