/* reset all */

html {
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
}
*,
*:before,
*:after {
    box-sizing: inherit;
}
a,
img {
    outline: none;
    border: none;
}
img {
    max-width: 100%;
    display: inline-block;
}

/* body set-up */

body {
    font-size: 13px;
    font-family: "Trebuchet MS";
    color: #4a4a4a;
    line-height: 1.6;
    background: #fff;
    font-weight: normal;
    background: url(../images/body-bg.png)
}

/* main style */

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
}
u {
    text-decoration: underline;
}
.nowrap {
    white-space: nowrap;
}
a:hover,
a:focus {
    outline: none;
    text-decoration: underline;
}
p {
    margin: 0 0 10px;
}
h1 {
    display: block;
    font-size: 36px;
    font-weight: normal;
    line-height: 1;
    margin: 20px 0;
    padding: 15px 0;
    text-align: center;
    border-top: 3px double #eeeeee;
    border-bottom: 3px double #eeeeee;
}
h1 span {
    font-size: 0.7em;
    font-weight: normal;
}
h2 {
    text-align: left;
    font-size: 16px;
    line-height: 1;
    margin: 0 0 10px;
}
ul {
    padding: 0;
    margin-bottom: 20px;
    list-style: none;
}
ul li {
    padding-left: 15px;
}
ul li:before {
    content: "\2022";
    float: left;
    margin-left: -15px;
    font-size: 18px;
    line-height: 19px;
    color: #000;
}

/* layout  */

main[role="main"] {
    display: block;
    max-width: 700px;
    margin: 10px auto;
    padding: 25px 35px;
    background-color: #FFFFFF;
    border-bottom: none;
    box-shadow: inset 0 0 1px #000000;
    border-radius: 10px 10px 0px 0px;
}
.block:after,
.row:after,
.block:before,
.row:before {
    content: "";
    display: table;
}
.row:after,
.block:after {
    clear: both;
}
.row {
    margin: 20px 0;
    padding: 20px 0 0;
    border-bottom: 3px double #eeeeee;
    border-top: 3px double #eeeeee;
}
.full {
    width: 100%;
}

/* content */

header a {
    display: block;
    margin: 0px auto 10px;
    max-width: 215px;
}
header img {
    width: 100%;
    display: block;
}
header .intro {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

/* footer */

footer {
    background: #312F7A;
    color: #fff;
    margin: 0 -35px -35px;
    text-align: center;
    padding: 15px;
    border-radius: 0 0 10px 10px;
    border-top: 20px solid #DA251D
}
footer p:last-child {
    margin-bottom: 0;
}
.red {
    color: #DA251D
}
.pic {
    border-bottom: 3px double #eeeeee;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.pic img {
    display: block
}
.pic img:first-child {
    z-index: 200;
    position: relative
}
.pic img:last-child {
    margin-top: -15px;
}
@media only screen and (max-width:699px) {
    main[role="main"] {
        margin: 0 auto;
        border: 0;
        padding: 10px;
    }
    .row {
        margin: 10px 0;
        padding: 10px 0 0
    }
    ul {
        margin-bottom: 10px
    }
    .full {
        padding: 0 10px;
    }
    footer {
        margin: 0 -10px -10px;
        padding: 10px;
    }
    header {
        margin: -10px -10px 0px;
        padding: 10px 10px 0;
    }
    h1 {
        font-size: 28px;
        margin: 10px 0;
        padding: 10px 0
    }
    h2 {
        font-size: 14px;
    }
    .pic {
        margin-bottom: 10px;
        padding-bottom: 10px
    }
}
@media only screen and (max-width:479px) {
    body {
        font-size: 13px;
    }
    h1 {
        font-size: 18px;
    }
    ul li:before {
        font-size: 16px;
        line-height: 18px;
    }
}
