@charset "utf-8";

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    min-height: 100%;
}

body {
    color: #8D848C;
    font: 0.875em/1.4em Times, serif;
}

#wrapper {
    position: relative;
    max-width: 701px;
    margin: 1rem auto;
    border: 1px solid #4F256F;
    background-color: #fff;
    overflow: hidden;
}

h1 {
    margin: 0 0 0.625rem;
    font-size: 21px;
    line-height: 1.1;
    color: #9e0b1b;
}

h1 span {
    display: inline-block;
}

h2 {
    font-size: 1em;
    line-height: 1.3;
    font-weight: 400;
    margin-bottom: 1rem;
}

:is(h1,h2){
    text-transform: uppercase;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #8D848C;
    text-decoration: none;
    white-space: nowrap;
}

a.red {
    color: #9e0b1b;
}

img {
    max-width: 100%;
}

ul {
    padding: 0 0 0.625rem;
    list-style: none;
}

li {
    padding-left: 0.938rem;
}

li:before {
    content: "•";
    font-size: 1.125rem;
    position: relative;
    float: left;
    margin: 0 0 0 -0.938rem;
    color: #9e0b1b;
}

header {
    padding: 1.25rem;
    margin: 0 0 1.25rem;
    display: flex;
    justify-content: center;
}

@-webkit-keyframes slidy {
    0% {
        left: 0%;
    }

    15% {
        left: 0%;
    }

    25% {
        left: -100%;
    }

    32% {
        left: -100%;
    }

    42% {
        left: -200%;
    }

    52% {
        left: -200%;
    }

    62% {
        left: -300%;
    }

    72% {
        left: -300%;
    }

    80% {
        left: -400%;
    }

    90% {
        left: -400%;
    }

    100% {
        left: -500%;
    }

}

@keyframes slidy {
    0% {
        left: 0%;
    }

    15% {
        left: 0%;
    }

    25% {
        left: -100%;
    }

    32% {
        left: -100%;
    }

    42% {
        left: -200%;
    }

    52% {
        left: -200%;
    }

    62% {
        left: -300%;
    }

    72% {
        left: -300%;
    }

    80% {
        left: -400%;
    }

    90% {
        left: -400%;
    }

    100% {
        left: -500%;
    }

}

.slideshow {
    overflow: hidden;
}

.slideshow figure img {
    width: 16.6666%;
    float: left;
}

.slideshow figure {
    position: relative;
    width: 600%;
    left: 0;
    text-align: left;
    font-size: 0;
    -webkit-animation-name: slidy;
    -webkit-animation-duration: 35s;
    -webkit-animation-delay: 5s;
    -webkit-animation-iteration-count: infinite;
    animation: 35s slidy infinite;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    padding-top: 0.625rem;
}

.flexbox p {
    padding-bottom: 1rem;
}

.flexbox div:first-of-type {
    padding-top: 10%;
}

.flexbox div:first-of-type :is(p, h1) {
    text-align: center;
}

.flexbox div {
    width: 48%;
}

:is(.content, footer) {
    border-top: 1px solid #8d847d;
    padding: 1.25rem;
}

footer {
    position: relative;
    padding-bottom: 3rem;
}

footer::before {
    content: " ";
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    background: url('../images/footer.png') no-repeat center;
}

footer p {
    padding-bottom: 0.9375rem;
}

@media only screen and (max-width:700px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

}

@media only screen and (max-width:680px) {
    .flexbox {
        display: block;
    }

    .flexbox div {
        width: auto;
    }

    .flexbox div:first-of-type {
        padding-top: 0;
    }

}

@media only screen and (max-width:480px) {
    :is(header, .content, footer) {
        padding: 1rem;
    }

    h1 {
        font-size: 1.5em;
        line-height: 1.2em;
    }

}