﻿:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #212121;
    font-family: 'Open Sans', 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);
}

p {
    text-align: left;
    margin: 0 0 1rem;
}

p a {
    color: inherit;
}

p span {
    font-weight: bold;
    color: #E50A0D;
}

h1 {
    text-align: left;
    font-size: 1.625rem;
    line-height: 1.1em;
    color: #E00023;
    margin: 1rem 0;
}

h1 span {
    font-weight: normal;
}

h1 + p > br {
    display: none;
}

h2 {
    font-size: 1.5em;
    line-height: 1.2;
    color: #E00023;
    margin: 0 0 1rem;
}

h3 {
    font-size: 1.231em;
    line-height: 1.2;
    margin: 0
}

h4 {
    font-size: 1.231em;
    line-height: 1.231em;
    margin-bottom: 0;
    color: #212121;
}

h4 > a {
    color: inherit;
}

h4 span {
    color: #E5BD3D;
}

a:link,
a:active,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

hr {
    border-top: 1px solid #52BA5A;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

li {
    padding: 0 0 .187rem 1.562rem;
}

ul li:before {
    content: "";
    background-color: #E00023;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    position: relative;
    float: left;
    top: .375rem;
    margin: 0 0 0 -.937rem;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

header {
    padding: 0 2.375rem;
}

header p {
    color: #000;
}

header > section > aside:nth-of-type(1) {
    width: 27%;
}

header > section > aside:nth-of-type(2) {
    width: 71%;
}

header > section > aside a {
    margin: 0;
    padding: 0;
}

header > section > aside a img {
    max-width: 13.125rem;
    width: 100%;
}

header > section > aside p img {
    max-width: .937rem;
    width: 100%;
    display: inline-block;
    position: relative;
    top: .312rem;
    margin: 0 .625rem 0 0;
}

header > section > aside p img:nth-of-type(2) {
    max-width: 1.062rem;
    width: 100%;
    margin: 0 .625rem 0 .937rem;
    top: .187rem;
}

header section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}

article {
    padding: 0 2.375rem;
}

article > section {
    margin: 0 0 1rem;
    padding: 1rem;
}

article > section > h1 {
    margin: 0 0 1.25rem;
}

article > section:nth-of-type(even),
footer > section:nth-of-type(even) {
    background-color: #EDEDED;
}

article > section > a {
    float: right;
    margin: 1rem 0 0;
}

article > section > a img {
    max-width: 13.125rem;
    width: 100%;
}

element {
    display: block;
}

element > a {
    background-color: #E00023;
    color: #fff;
    width: 9.875rem;
    padding: .625rem .937rem;
    display: block;
    margin: 1.25rem auto;
    text-align: center;
    font-size: .937rem;
    font-weight: 700;
}

element > a:hover {
    text-decoration: none;
    background-color: #E00023;
}

footer {
    padding: 0 2.375rem;
    margin: 1rem 0;
}

footer iframe {
    width: 100%;
    display: block;
}

footer > section:not(:first-of-type) {
    margin: 0 0 1rem;
    padding: 1rem;
}

footer > section:not(:last-of-type) {
    margin: 0 0 1rem;
}

footer > section p {
    text-align: center;
    margin: 0;
}

footer > section p > a:first-of-type {
    font-weight: 700;
}



 
  @keyframes slidy { 
    0% { 
        left: 0%;
    }
    47% {
        left: 0%;
    }
    50% { 
        left: -100%;
    }
    97% {
        left: -100%;
    }
    100% {
        left: -200%;
    }
  }
  
  .slider {
    overflow: hidden;
  }
  
  .slider figure {
    position: relative;
    width: 300%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 12s slidy infinite;
  }
  
  figure img {
    width: 33.333333333333336%;
    float: left;
  }
    
    
    
    

@media only screen and (max-width:54.312rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        box-shadow: none;
    }

    p > br,
    h1 > br,
    h2 > br,
    h3 > br,
    h4 > br,
    strong > br {
        display: none;
    }

    h1 + p > br {
        display: block;
    }

    header {
        padding: .625rem;
    }

    header section {
        display: block;
    }

    header > section > aside:nth-of-type(1),
    header > section > aside:nth-of-type(2) {
        width: auto;
    }

    header > section > aside p {
        line-height: 1.8;
        margin: 0;
    }

    header > section > aside p img:nth-of-type(2) {
        margin: 0 .75rem 0 0;
    }


    article {
        padding: 0 .625rem;
    }

    article > section {
        margin: 0 0 .625rem;
        padding: .625rem;
    }

    article > section > a {
        float: none;
        margin: 1rem auto 0;
        display: block;
        width: 12.5rem;
    }

    footer {
        padding: 0 .625rem;
        margin: .625rem 0;
    }

 iframe {
        width: 100%;
    }

    footer > section:not(:first-of-type) {
        margin: 0 0 1rem;
        padding: .625rem;
    }
    

    footer > section:not(:last-of-type) {
        margin: 0 0 .625rem;
    }

    footer > section p {
        text-align: center;
        margin: 0;
    }
}
