﻿@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;
}

a:hover,
a:active,
a:visited {
    text-decoration: underline;
}

u {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    color: #444;
    font-family: Helvetica, Arial, sans-serif;
    font-size: .875rem;
    line-height: 1.4;
    background: #F0F0F0;
}

#wrapper {
    position: relative;
    max-width: 980px;
    margin: 1rem auto;
    border: none;
    padding: 0;
    background-color: transparent;
    overflow: hidden;
}

header,
footer,
article,
section,
aside,
element,
nav,
menu,
figure,
main,
address {
    margin: 0;
    padding: 0;
    display: block;
    position: relative;
    font-style: normal;
}

p {
    margin: 0 0 0.625rem;
}

h1 {
    text-align: left;
    font-size: 1.875rem;
    line-height: 1.2;
    margin: 0 0 1.25rem;
    color: red;
}

h1 span {}

h2 {
    font-size: 1.25rem;
    line-height: 1;
    margin: 0 0 0;
}

h3 {
    font-size: 1.125rem;
    line-height: 1;
    margin: 0 0 0.625rem;
    color: red;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul li {
    padding-left: 1.875rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.375em;
    line-height: 1;
}

ul li:before {
    content: ">";
    display: inline-block;
    height: .937rem;
    width: .937rem;
    border: thin solid red;
    border-radius: 50%;
    color: red;
    text-align: center;
    font-size: .875rem;
    line-height: 1.1;
    margin-left: -1.875rem;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

header {
    background: #FF0000;
}

menu,
section,
aside,
footer,
address {
    padding: 1.562rem 2.187rem;
}

menu {
    position: absolute;
    background: #fff;
    bottom: 2.5rem;
    left: 2.187rem;
    letter-spacing: 0;
    width: 36.875rem;
}

section {
    margin: 1.25rem 0;
    padding: 1.562rem 2.187rem;
    background: #fff;
}

aside {
    background: #fff;
    height: 550px;
}

aside:nth-of-type(1) {
    width: 49%;
    float: left;
}

aside:nth-of-type(2) {
    width: 49%;
    float: right;
}

aside ul {
    margin: 0;
}

section p:last-of-type,
address p:last-of-type,
footer p:last-of-type {
    margin: 0;
}

footer {
    background: #666666;
    color: #fff;
}

address {
    background: #FF0000;
    margin: 0;
    color: #fff;
}

article section:last-of-type p:last-of-type {
    margin: 0 0 .625rem;
}

@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;
}

@media only screen and (max-width:61.187rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0;
    }

    header {
        padding: 0;
        margin: 0;
    }

    menu {
        position: static;
        margin: .625rem 0;
        width: auto;
        float: none;
        padding: .625rem;
    }

    section,
    aside,
    footer {
        margin: .625rem 0;
        padding: .625rem;
    }

    address {
        padding: .625rem;
    }

    aside:nth-of-type(1),
    aside:nth-of-type(2) {
        width: auto;
        float: none;
        height: auto;
    }

    h1 {
        font-size: 1.5rem;
        margin: 0 0 .625rem;
    }

    h2,
    h3 {
        font-size: .875rem;
    }
}

@media only screen and (max-width:29.937rem) {}
