﻿@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: #000;
    font-family: Helvetica, Arial, sans-serif;
    font-size: .875rem;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 43.75rem;
    margin: 1rem auto;
    border: solid thin #000;
    padding: 1.187rem;
    background-color: #fff;
    overflow: hidden;
}

p {
    text-align: justify;
    margin: 0 0 .937rem;
}

h1 {
    text-align: left;
    font-size: 2.312rem;
    line-height: 1;
    margin: .625rem 0 .937rem;
    background: #FF0000;
    color: #fff;
    padding: .937rem 1.562rem;
}

h1 span {}

h2 {
    font-size: .875rem;
    line-height: 1;
    margin: 0 0 .937rem;
    color: #FF0000;
}

h3 {
    font-size: 1rem;
    line-height: 1;
    margin: 0 0 0.625rem;
}

ul {
    list-style: none;
    margin: 0 0 .937rem 1.562rem;
    padding: 0;
}

ul li {
    padding-left: 1.25rem
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .687rem;
    height: .687rem;
    background: url(../images/list.png) no-repeat;
    background-size: contain;
    margin-left: -1.25rem;
    top: .25rem;
}


.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

header {
    margin: 0 0 1.875rem;
}

header a {
    float: right;
    display: block;
    max-width: 14.375rem;
}

header p {
    float: left
}

@media only screen and (max-width:43.687rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0.625rem .625rem 0;
    }
    header{
        margin: 0;
    }
    
    header a{
        float: none;
        margin: 0 auto;
    }
    
    header p{
        float: none;
        margin: .625rem 0;
        text-align: center;
    }

    
    
    h1{
        margin: 0 0 .625rem;
        padding: .625rem;
        font-size: 1.25rem;
    }
    p, ul{
        margin: 0 0 .625rem;
        text-align: left;
    }
    
    h2{
        font-size: .875rem;
        margin: 0 0 .625rem;
    }
    a {
        font-weight: bold;
    }


}

@media only screen and (max-width:29.937rem) {
    h1 {
        font-size: 1.5em;
    }
}
