﻿@charset "utf-8";

/* Standard */

/* reset all */

html {
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
}
:root {
    font: 16px;
}
*, *:before, *:after {
    box-sizing: inherit;
}
a, img {
    outline: none;
    border: none;
}
img {
    max-width: 100%;
    display: inline-block;
}
/* body set-up */

body {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #000;
    background: #D8E9F9;
    font-weight: normal;
}
/* main style */

a {
    color: #0054A3;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}
u {
    text-decoration: underline;
}
a:hover, a:focus {
    outline: none;
    text-decoration: underline;
}
p {
    margin: 0 0 1.25rem;
}
h1 {
    color: #0054A3;
    display: block;
    font-size: 1.892em;
    font-weight: 500;
    line-height: 1.2;
    margin: 1.875rem 0;
    text-transform: uppercase;
}
h1 span {
    font-size: 0.731em;
    font-weight: normal;
}
h2 {
    text-align: left;
    font-size: 1.331em;
    font-weight: 500;
    margin-bottom: .187rem
}
strong {
    font-weight: 500
}
h3 {
    font-size: .875rem;
    margin: 1.25rem 0 0;
    font-weight: 500
}
ul {
    list-style: none;
    margin-bottom: .937rem
}
ul:last-of-type {
    margin-bottom: 0
}
ul li {
    margin-bottom: 0.2rem;
    padding-left: 2.1875rem
}
ul li:before {
    content: "";
    float: left;
    position: relative;
    width: 0.375rem;
    height: 0.375rem;
    background: #0054A3;
    margin-left: -18px;
    top: 0.375rem;
}
/*
layout  */

#wrapper {
    display: block;
    max-width: 50rem;
    margin: .625rem auto;
    padding: 0.5rem 2.5rem;
    background: #FFFFFF url(../images/bg.jpg) no-repeat bottom left;
    border-radius: 1.562rem;
    overflow: hidden
}
header {
    position: relative;
}
header a {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 20%;
    height: 80%;
}
header img {
    display: block;
    width: 100%;
}
article section {
    padding: 1.562rem;
    border: thin solid #D8E9F9;
    border-radius: 1.562rem;
    background: url(../images/weiss.png);
    margin-bottom: 1.25rem
}
article section p:last-of-type {
    margin-bottom: 0
}
/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}
article section:last-of-type > a:first-of-type {
    float: right;
}

@media only screen and (max-width:50rem) {
#wrapper {
    margin: 0 auto;
    border: 0;
    padding: .625rem;
    line-height: 1.5;
    border-radius: 0
}
a {
    font-weight: bold;
}
footer {
    margin: 0 -.625rem -.625rem;
    padding: .625rem;
}
p, ul {
    margin-bottom: .625rem
}
article section {
    padding: .625rem
}
h1 {
    font-size: 1.562rem;
    margin: .937rem 0
}
h2 {
    font-size: 1rem;
}
ul li:before {
    top: 0.5rem
}
address {
    display: block;
    text-align: center;
}
p {
    margin-bottom: .625rem;
}
}


