﻿@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: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 720px;
    margin: 1rem auto;
    border: 1px solid #9184BE;
    padding: 0;
    background-color: #fff;
    overflow: hidden;
}

p {
    margin: 0 0 .937rem;
}

h1,
h2,
h3,
h4 {
    color: #9184BE;

}

h1 {
    font-size: 34px;
    line-height: 1.2;
    margin: 10px 0 0;
}

h1 span {
    font-size: 1.375rem;
}

h2 {
    font-size: 15px;
    margin: .937rem 0 0
}

ul {
    list-style: none;
    margin: 0 0 .937rem;
    padding: 0;
}

ul li {
    padding-left: .625rem;
    padding-bottom: .312rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -.625rem;
    font-size: 1.125rem;
    line-height: 1;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

header {
    position: relative;
}

header > a {
    position: absolute;
    width: 25%;
    height: 48%;
    right: 10%;
    top: 25%;
    /* border: 1px solid red;*/
}

/*
header p {
    position: absolute;
    top: 3.75rem;
    left: 2.5rem;
    font-size: 2.25rem;
    color: #fff;
    margin: 0;
}*/

article {
    background: url(../images/bg.png)no-repeat right -0.1% bottom;
    background-size: 10%;
    padding: 10px 40px 0;
    border-bottom: .625rem solid #9184BE;
}

aside {
    position: relative;

}

aside > a {
    position: absolute;
    bottom: 10px;
    right: 0;
    color: #9184BE;
    font-size: 14px;
    font-weight: bold;
}

aside h3 {
    margin: 0 0 .625rem;
    font-size: 13px;
    font-weight: 600;
}

article > p:nth-of-type(1),
section p {
    margin: 0 0 .312rem;
}

@media only screen and (max-width:44.937rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0;
    }

    a {
        font-weight: bold;
    }

    header {
        padding: .625rem;
    }


    /*    header p {
        margin: 0;
        text-align: center;
        font-size: 1.625rem;
        float: none;
        position: static;
    }*/

    article {
        padding: .625rem;
        background: #fff;
    }

    aside > a {
        float: none;
        position: static;
        bottom: .937rem;
        right: 0;
        color: #9184BE;
        font-size: 1.125rem;
        font-weight: bold;
        margin: 0;
    }

    aside h3 {
        margin: 0 0 0
    }

    h1 {
        margin: 0;
        padding: 0;
        font-size: 1.5rem;
    }

    h1 span {
        font-size: 1rem;
    }

    h2,
    h3,
    h4 {
        margin: 0 0 0;
        display: block;
        font-size: .875rem;
    }

    p,
    ul {
        margin: 0 0 .625rem;
    }


}

@media only screen and (max-width:29.937rem) {
    h1 {
        font-size: 1.125rem;
    }

}
