﻿:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875em;
    line-height: 1.4em;
    background-color: #FFFFFF;
}

#wrapper {
    position: relative;
    max-width: 54.375rem;
    margin: 1rem auto;
    border: none;
    padding: 0.5rem 0rem;
    overflow: hidden;
}

header,
article {
    padding: 0rem 1.188rem;
}

p {
    text-align: left;
}

p span {
    color: #0075ab;
}

h2 + p,
h2 + ul {
    margin-top: 0.308rem;
}

h1 {
    text-align: left;
    font-size: 2em;
    line-height: 1.1em;
    color: #43aaff;
}

h1 span {
    font-weight: normal;
}

h2 {
    font-size: 1.5em;
    line-height: 1.231em;
    color: #0075ab;
}

h3 {
    font-size: 1.231em;
    line-height: 1.231em;
}

h4 {
    font-size: 1.231em;
    line-height: 1.231em;
    margin-bottom: 0;
    color: #000;
}

h4 span {
    color: #0075ab;
}
h5 {
	margin: 2rem auto 1rem;
	display: flex;
	justify-content: center;
}

h5 a:link, h5 a:active, h5 a:visited {
	
	width: 18rem;
	font-size: 1.125rem;
	text-align: center;
	background-color: #0075ab;
	padding: 0.75rem 1rem;
	color: #fff;
	text-decoration: none;
	font-weight: normal;
	
}

h5 a:hover {
  color: #525252;
}

h6 {
	 color: #0075ab;
	font-weight: normal;
	font-size: 1.875rem;
	margin: 1rem 0;
	line-height: 1.3;
}

a:link,
a:active,
a:visited {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

hr {
    border-top: thin solid #52BA5A;
}

ul {
    padding-left: 1.7rem;
}

li {
    padding-bottom: 0.2rem;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

header p {
    color: #000;
}

header img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    margin-bottom: -0.1rem;
}

header section {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}

header h1 {
    text-align: left;
    font-size: 2em;
    line-height: 1.1em;
    color: #000;
}

/*
header aside:nth-child(1) {
	margin: 1rem 0;
	border: thin solid #ccc;
	padding: 3.5rem 0.25rem;
	width: 20%;
}
header aside:nth-child(2) {
	width: 78%;
}
*/
header aside:nth-child(1) {
    width: 67%;
}

header aside:nth-child(2) {
    width: 25%;
    position: absolute;
    right: 45px;
    top: 44px;
}

article section:nth-of-type(2) {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    background-color: #d4f0fd;
    padding-right: 1rem;
    padding-left: 1rem;
}

article section:nth-of-type(3) {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    background-color: #fff;
    padding-right: 1rem;
    padding-left: 1rem;
}

article section:nth-of-type(4) {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    background-color: #d4f0fd;
    padding-right: 1rem;
    padding-left: 1rem;
}

article section:nth-of-type(5) {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    background-color: #fff;
    padding-right: 1rem;
    padding-left: 1rem;
}

article section:nth-of-type(6) {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    background-color: #d4f0fd;
    padding-right: 1rem;
    padding-left: 1rem;
}

footer img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

section {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    background-color: #FFF;
    padding-right: 1.188rem;
    padding-left: 1.188rem;
    margin-bottom: 1rem;
}

footer div {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-bottom: 50%;
}

footer div iframe {
	border: none;
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    top: 0;
    left: -1px;
}

footer img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    padding-right: 1.2rem;
    padding-bottom: 1rem;
}

footer section:nth-child(1) {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    margin-top: 1rem;
}

footer section:nth-child(2) {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    margin-bottom: 1.5rem;
}

footer section:nth-child(3) {
    display: inline-block;
    width: 96%;
    vertical-align: top;
    background-color: #d4f0fd;
    margin-left: 1.188rem;
    margin-right: 2.188rem;
}

footer p {
    text-align: center;
    width: 100%;
    color: #000;
}


footer aside:nth-of-type(1) {
    display: inline-block;
    width: 48%;
    vertical-align: top;

}

footer aside:nth-of-type(2) {
    display: inline-block;
    width: 52%;
    vertical-align: top;

}

article > section:nth-of-type(5) > a {
    padding-bottom: 1rem;
}

article > section:nth-of-type(5) {
    position: relative;
}

article > section:nth-of-type(5) > a {
    position: absolute;
    right: 20px;
    top: 48px;
    display: block;
    overflow: hidden;
}

/* Responsive */
@media only screen and (max-width:54.375rem) {
    article > section:nth-of-type(5) > a {
        position: static;
    }

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    header h1 {
        font-size: 1.4rem
    }

    header,
    article,
    footer {
        padding: 0rem 0.5rem;
    }

    header section {
        flex-direction: column;
    }

    header aside:nth-child(1),
    header aside:nth-child(2) {
        width: 100%;
    }
	
	header aside img {
		display: none;
	}

    header aside:nth-child(2) {
        position: static;
    }

    section {
        display: inline-block;
        width: 100%;
        vertical-align: top;
        background-color: #FFF;
        padding-right: 0rem;
        padding-left: 0rem;
        margin-bottom: 1rem;
    }

    footer section:nth-child(3) {
        display: inline-block;
        width: 100%;
        vertical-align: top;
        background-color: #F2F0E9;
        margin-left: 0rem;
        margin-right: 2.188rem;
    }

    article > section:nth-of-type(5) > a {
        margin-top: 1rem;
        padding-bottom: 1rem;
    }

}
