﻿@charset "utf-8";

/* Standard */

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

u {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

address {
    font-style: normal;
}

body {
    color: #000;
    font-family: 'Lato', sans-serif;
    font-size: .937rem;
    font-weight: 300;
    line-height: 1.6;
}

p {
    margin: 0 0 1.25rem;
}

h1 {
    text-align: center;
    font-size: 2rem;
    line-height: 1;
    margin: 0 0 .625rem;
    color: #00A0E1;
}

h2 {
    font-size: 1.375rem;
    margin: 0 0 .625rem;
    font-weight: 300;
}

h3 {
    font-size: 1.375rem;
    margin: 0 0 .937rem;
    font-weight: 300;
    text-align: center;
    color: #00A0E1;
}

h4 {
    margin: .625rem 0 0 .937rem;
	text-align: right;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.562rem;
}

ul li {
    padding-left: .937rem
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .312rem;
    height: .312rem;
    border-radius: .312rem;
    background: #000;
    margin-left: -.937rem;
    top: .6rem;
}


.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

#wrapper {
    position: relative;
    max-width: 53.125rem;
    margin: 1rem auto;
    box-shadow: 0 0 .937rem .312rem #ddd;
    background-color: #fff;
}

header {
    position: relative;
}

header a {
    display: block;
    width: 17.5rem;
    position: absolute;
    z-index: 5;
    left: 0;
    top: 10%;
}

article {
    padding: 1.562rem 2.5rem;
}

footer {
    border-bottom: 1.562rem solid #A3A3A3;
    position: relative;
}

strong {
    font-weight: 700;
}

footer a {
    position: absolute;
    left: 0;
    top: 0;
    width: 20%;
    height: 80%;
}

address {
    margin: 0 -2.5rem .937rem;
}

section {
    position: relative;
    width: auto;
}

section img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    animation: imageAnimation 12s linear infinite 0s;

}

section img:nth-child(1) {
    position: relative;
    z-index: 1;
}

section img:nth-child(2) {
    animation-delay: 6s;
    z-index: 0;
}


@keyframes imageAnimation {
    0% {
        animation-timing-function: ease-in;
        opacity: 0;
        z-index: 0;
    }

    2% {
        animation-timing-function: ease-out;
        opacity: 1;
        z-index: 1;
    }

    47% {
        opacity: 1;
        z-index: 1;
    }

    50% {
        opacity: 0;
        z-index: 0;
    }

    100% {
        opacity: 0;
        z-index: 0;
    }
}

@media only screen and (max-width:53.062rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
    }

    p a {
        font-weight: bold;
    }

    header a {
        top: 5%;
        width: 35%;
    }

    p,
    ul {
        margin-bottom: .625rem;
    }

    h2 {
        font-size: 1rem;
        margin-bottom: .187rem;
    }

    article {
        padding: .625rem;
    }

    address {
        margin: 0 -.625rem .625rem;
    }

    article > br {
        display: none
    }
}
