﻿@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: #777;
    font-family: Helvetica, Arial, sans-serif;
    font-size: .875rem;
    line-height: 1.4;
    background: url(../images/bg-2.jpg)no-repeat center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    border: none;
    padding: 0;
    overflow: hidden;
}

p {
    text-align: justify;
    margin: 0 0 .625rem;
}

h1 {
    text-align: center;
    font-size: 1.875rem;
    line-height: 1;
    margin: .625rem 0;
    height: auto;
    list-style: none;
}

h1 span {}

h2 {
    font-size: 1rem;
    line-height: 1;
    margin: .875rem 0;
}

h2 span {
    color: red;
}

h3 {
    font-size: .875rem;
    line-height: 1.4;
    margin: 0 0 .625rem;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 1.375rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.375em;
    line-height: 1;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

header {
    margin: 1.25rem;
}

section {
    padding: 1.25rem;
    background-color: #fff;

}

aside {
    color: #fff;
    padding: 1.25rem;
    position: relative;
}

figure {
    margin: 0;
    padding: 0;
    z-index: 100;
    position: relative;
}

aside:before {
    content: " ";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(17, 17, 17, .7);
}

element {
    display: block;
}

iframe {
    width: 100%;
    display: block;
}

footer {
    background-color: #f8f8f8;
    padding: 1.25rem;
    color: #888;
    margin: 0;
}



footer p:nth-of-type(1) {
    width: 70%;
    float: left;
}

footer p:nth-of-type(2) {
    width: 30%;
    float: right;
}

footer p:nth-of-type(1) a {

    font-weight: 700;
}


.slider {
    position: relative;
}

.slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 36s linear infinite 0s;
}

.slider > img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider > img:nth-of-type(2) {
    animation-delay: 6s;
}

.slider > img:nth-of-type(3) {
    animation-delay: 12s;
}

.slider > img:nth-of-type(4) {
    animation-delay: 18s;
}

.slider > img:nth-of-type(5) {
    animation-delay: 24s;
}

.slider > img:nth-of-type(6) {
    animation-delay: 30s;
}


@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    17% {
        opacity: 1;
    }

    22% {
        opacity: 0;
    }
}


@media only screen and (max-width:49.937rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0;
    }

    header {
        margin: 0;
    }

    section,
    aside,
    footer,
    header {
        padding: .625rem;
    }

    footer p:nth-of-type(1),
    footer p:nth-of-type(2) {
        width: auto;
        float: none
    }

    a {
        font-weight: bold;
    }

    h1 {
        font-size: 1.5rem;
    }

    p {
        text-align: left;
    }

}

@media only screen and (max-width:479px) {
    h1 {
        font-size: 1.5em;
    }
}