﻿@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: #5d5d5d;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.875em;
    line-height: 1.3;
}

#wrapper {
    background-color: #fff;
    border: thin solid #f0f0f0;
    margin: 1rem auto;
    max-width: 47.5rem;
    overflow: hidden;
    position: relative;
}

p {
    margin: 0 0 0.625rem;
}

h1 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.4;
}

h1 span {
    display: block;
    font-size: 0.85rem;
    line-height: 1.75;
    font-weight: normal;
}

h2 {
    color: #fbb900;
    font-size: 0.875rem;
    line-height: 1.2;
    margin: 1.5rem 0 0.5rem;
}

h3 {
    color: #fbb900;
    font-size: 1.125rem;
    line-height: 1.9;
    margin: 1.5rem 0 0;
}

h3 span {
    display: block;
    font-size: 0.813rem;
}

hr {
    border-top: thin solid #52BA5A;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

article > ul li {
    padding-left: .937rem
}

article > ul li:before {
    content: "";
    float: left;
    height: 4px;
    width: 4px;
    margin-left: -.937rem;
    line-height: 1;
    background: #5d5d5d;
    ;
    position: relative;
    top: 7px;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

header {
    color: #fff;
    height: 9.625rem;
    margin: 0 0 1.875rem 0;
    padding: 2.812rem 2.187rem 8.375rem;
    background-image: url(../images/header.png);
    background-size: 100% 100%;
    position: relative;
}



header a,
header img {
    position: absolute;
    top: 1rem;
    right: 2rem;
    width: 45%;
}

header p {
    text-align: center;
    font-size: 1.063em;
    font-weight: bold;
    color: #fff;
}

footer {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

footer section:first-of-type {
    width: 35%;
}

footer section:last-of-type {
    width: 53%;
}

aside {
    margin-left: -1.188rem;
    margin-right: -1.188rem;
}

article {
    padding: 3.125rem 2.1875rem;
}

aside {
    display: flex;
    /* justify-content: space-between; */
    width: 100%;
}

aside > ul {
    color: #fbb900;
    font-weight: bold;
    margin-left: 56px;
    margin-bottom: 0rem;
    margin-top: 1rem;
    width: 48%;
}

aside > ul:first-of-type {
    width: 100%;
}

aside > ul:last-of-type {
    width: 80%
}

aside > ul li:before {
    content: url(../images/libefore.png);
    margin-top: 0.125rem;
    margin-left: -2.35rem;
    margin-right: 1.25rem;
    position: relative;
    top: .312rem;
}

aside > ul li {
    margin-bottom: 0.75rem;
}

h5 {
    color: #5d5d5d;
    font-size: 0.875rem;
    line-height: 1.2;
    margin: 1.5rem 0 0.5rem;
}

p i {
    color: #fbb900;
    font-style: normal;
}

p a {
    color: #fbb900;
    text-decoration: underline;
}

p a:hover {
    color: #5d5d5d;
    text-decoration: underline;
}

h4 {
    cursor: pointer;
    text-align: center;
    background-color: #fbb900 !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 0.125rem solid #fbb900 !important;
    border-top-color: rgb(251, 185, 0);
    border-right-color: rgb(251, 185, 0);
    border-bottom-color: rgb(251, 185, 0);
    border-left-color: rgb(251, 185, 0);
    border-color: #fbb900 !important;
    border-radius: 0 !important;
    min-width: 14.375rem;
    height: 2.5rem;
    margin: 0.375rem 0.375rem 0;
    padding: 0 1.5rem;
    font-size: 1rem;
    line-height: 2rem;
    color: #fff;
    font-weight: normal;
    white-space: nowrap;
    width: 100% !important;
}

h4:hover {
    background-color: #fff !important;
    height: 2.5rem;
    color: #fbb900;
    text-decoration: none !important
}

footer section > a {
    width: 100% !important
}

footer section > a:hover {
    text-decoration: none !important;
}

footer section:first-of-type p:last-of-type {
    margin-bottom: 0
}

footer p span {
    color: #fbb900;
    font-weight: 600
}

@media only screen and (max-width:47.437rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0.625rem;
    }

    a {
        font-weight: bold;
    }

    article {
        padding: 0
    }

    footer section {
        width: 100% !important;
        float: none !important;
    }

    footer {
        margin: 0 -0.625rem -0.625rem;
        padding: 0.625rem;
        display: block;
    }

    header {
        margin: -0.625rem -0.625rem 0.625rem;
        padding: 0.625rem;
        background: #F6A500;
        height: auto;
    }

    footer section:last-of-type h4 {
        margin: 0.625rem auto;
        display: block;
    }

    header a,
    header a img {
        position: static;
        margin: 0.9375rem auto;
        bottom: 0 !important;
        right: 0 !important;
        width: auto;
    }

    aside {
        flex-direction: column;
        width: 100%;
    }

    aside > ul {
        width: 100%;
    }

    aside > ul:first-of-type {
        width: 100%;
    }

    aside ul:last-of-type {
        margin-top: 0;
    }

    h1 {
        font-size: 1.563em;
    }

    h1 br {
        display: none;
    }

    h2,
    h3 {
        font-size: 1em;
    }
}

@media only screen and (max-width:29.937rem) {
    h1 {
        font-size: 1.5em;
    }
}
