﻿: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: #fff;
    background-size: 100%;
}

#wrapper {
    position: relative;
    max-width: 54.375rem;
    margin: 1rem auto;
    border: none;
    padding: 0.5rem 0rem;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}

header,
article {
    padding: 0rem 1.188rem;
}

footer {
    padding: 0 2.376rem 2rem;
}

p {
    text-align: left;
}

p span {
    font-weight: bold;
    color: #E50A0D;
}

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: #8c0f1e;
}

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: #8c0f1e;
}

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: 1px 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) {
    width: 77%;
}

header aside:nth-child(2) {
    position: absolute;
    right: 2.8125rem;
    top: 2.75rem;
}

article section:nth-of-type(2) {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    background-color: #F2F0E9;
    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: #F2F0E9;
    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;
    padding-bottom: 2rem;
}

article section:nth-of-type(5) img {
    margin: 7.5rem auto 0;
}

article section:nth-of-type(5) p:last-of-type {
    text-align: center;
}

article section:nth-of-type(5) p:last-of-type a {
    background: #8c0f1e;
    color: #fff;
    padding: .625rem;
}

article section:nth-of-type(5) p:last-of-type a:hover {
    text-decoration: none;
}

article section:nth-of-type(6) {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    background-color: #F2F0E9;
    padding-right: 1rem;
    padding-left: 1rem;
}

article section:nth-of-type(6) p:nth-of-type(1) strong,
article section:nth-of-type(6) p:nth-of-type(4) strong {
    font-size: 1.5em;
    line-height: 1.231em;
    color: #8c0f1e;
}

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 {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    top: 0;
    left: -1;
}




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-bottom: 1.5rem;
}

footer section:nth-child(2) {
    display: inline-block;
    /* width: 96%; */
    vertical-align: top;
    background-color: #F2F0E9;
}

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: 1.25rem;
    top: -1.875rem;
    display: block;
    overflow: hidden;
}

footer section {
    /* width: 96%; */
    padding: 0;
    margin: 0;
}

article {
    padding: 0 2.376rem;
}


@keyframes slidy {
    0% {
        left: 0%;
    }

    30% {
        left: 0%;
    }

    33% {
        left: -100%;
    }

    64% {
        left: -100%;
    }

    67% {
        left: -200%;
    }

    97% {
        left: -200%;
    }

    100% {
        left: -300%;
    }
}

.slider {
    overflow: hidden;
}

.slider figure {
    position: relative;
    width: 400%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 18s slidy infinite;
}

figure img {
    width: 25%;
    float: left;
}


/* Responsive */
@media only screen and (max-width:54.312rem) {
    footer {
        margin-right: 0;
    }

    footer section {
        margin: 0rem !important;
        margin-right: 0rem;
        padding: 0;
    }

    header aside:nth-child(1),
    header aside:nth-child(2) {
        padding: 0.625rem;
    }

    article > section:nth-of-type(5) > a {
        position: static;
    }

    #wrapper {
        border: none;
        margin: 0 auto;
        box-shadow: none;
    }

    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:nth-child(2) {
        position: static;
    }

    section {
        display: inline-block;
        width: 100%;
        vertical-align: top;
        background-color: #FFF;
        padding-right: 0rem;
        padding-left: 0rem;
        padding: 0.9375rem;
        margin-bottom: 0;
    }

    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;
    }

    article section:nth-of-type(5) img {
        margin-top: 0
    }

}
