﻿@charset "utf-8";

:root {
    font-size: 16px;
}

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 {
    color: #464646;
    font-family: 'Roboto', sans-serif;
    font-sizE: 1rem;
    line-height: 1.4;
    color: #333;
    background: #fff;
    font-weight: normal;
}

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: underline;
}

p {
    margin: 0 0 .625rem;
    text-align: justify;
}

h1 {
    color: #860026;
    display: block;
    font-size: 2.687rem;
    font-weight: bold;
    line-height: 1;
    margin: 0 0 0;
    font-weight: 300;
}


h2 {
    text-align: left;
    font-size: 1rem;
    line-height: 1.2;

    margin: 2rem 0 .312rem;

    font-weight: 500;
}

h3 {
    margin: 0 0 .312rem;
    font-size: 1rem;
    font-weight: 500;
}

h4 {
    margin: 0 0 .625rem;
    font-size: 1.5rem;
    font-weight: 300;
    color: #860026;
    line-height: 1.2;
}

h5 {
    margin: 0 0 .625rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: #860026;
}


ul {
    padding: 0;
    margin-bottom: 2.125rem;
    list-style: none;
}

ul li {
    padding-left: 1.562rem;
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .625rem;
    height: .062rem;
    border-radius: 50%;
    background: #464646;
    margin-left: -1.562rem;
    top: .625rem;
}


#wrapper {
    display: block;
    max-width: 66.25rem;
    margin: .625rem auto;
    padding: 2.5rem 5rem;
    border: thin solid #e2e2e2;
    background-image: url(../images/bg_transparent.png);
    /*    background-color: rgba(255, 255, 255, 0.8);*/
    background-blend-mode: overlay;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
}

#wrapper > a {
    margin: 0 0 2.5rem 0;
    max-width: 12.5rem;
}

main {
    background-color: #fff;
    padding: 35px 15px;
    margin: 0 0 50px;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}


article {
    width: 59%;
    float: left;
}

aside {
    width: 40%;
    float: right;
    padding: 1.562rem 1.875rem 0;
}

aside > section:nth-of-type(1) {
    float: left;
    width: 25%;
}

aside > section:nth-of-type(2) {
    float: right;
    width: 70%;
}

aside > section:nth-of-type(1) img {
    border-radius: 50%;
}

aside > section:nth-of-type(2) p span {
    color: #860026;

}

aside > section:nth-of-type(2) p a {
    text-decoration: underline;
}

aside > section:nth-of-type(2) > a,
article > a {
    border: .125rem solid #860026;
    background-color: #fff;
    color: #464646;
    display: block;
    font: normal 500 1rem Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1;
    padding: .5rem 2rem;
    vertical-align: middle;
    text-decoration: none;
    -webkit-transition: all .3s;
    transition: all .3s;
    text-transform: uppercase;
    text-align: center;
}

aside > section:nth-of-type(2) > a:hover,
article > a:hover {

    background-color: #860026;
    color: #f0f0f0;
    text-decoration: none;
}

aside > section:nth-of-type(2) > a:first-of-type {
    margin: 0 0 1.25rem;
}

aside > section:nth-of-type(2) > p:last-of-type {
    margin: 0 0 2.5rem
}

footer {
    background-color: #F0F0F0;
    margin: 0 -5rem -2.5rem;
    padding: 2.5rem 5rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;

}

footer > section:first-of-type {
    margin: 0 12.5rem 0 0;
}

footer p {
    color: #464646;
    text-align: left;
    font-size: 1rem;
}

footer > section:first-of-type p span {
    color: #860026;
    font-weight: 500;
}

footer > section:first-of-type p:first-of-type {
    margin: 0 0 1.875rem;
}

footer > section:first-of-type p:last-of-type {
    margin: 0 0 0;
}

footer > section:last-of-type a {
    max-width: 3.125rem
}

footer > section:last-of-type a:first-of-type {
    margin: 0 1.25rem 0 0;
}


@media only screen and (max-width:66.187rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
        background-image: none;
    }

    aside,
    article {
        width: 100%;
        float: none;
    }

    a {
        font-weight: bold;
    }

    p {
        text-align: left;
    }

    ul br {
        display: none;
    }

    main {
        margin: 0 -.625rem 0;
        padding: .625rem
    }

    article,
    aside {
        margin: 0 0 2.5rem;
        padding: 0;
    }

    aside > section:nth-of-type(1) {

        width: 25%;
    }

    aside > section:nth-of-type(2) {

        width: 68%;
    }

    aside > section:nth-of-type(2) > a,
    article > a {
        max-width: 25rem;

    }


    article > a {
        max-width: 25rem;
        display: block;
        margin: 0 auto;
    }

    footer {
        margin: 0 -.625rem -.625rem;
        padding: .625rem;
        justify-content: space-between;
    }

    footer > section:first-of-type {
        margin: 0 0 0 0;
    }


}

@media only screen and (max-width:29.937rem) {
    body {
        font-size: .875rem;
    }

    #wrapper > a {
        margin: 0 0 .937rem 0;
        max-width: 9.375rem;
    }

    p {
        margin: 0 0 .937rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        margin: .937rem 0 0;
    }

    h4 {
        font-size: 1.25rem;
    }

    aside > section:nth-of-type(1) {
        float: none;
        width: auto;
    }

    aside > section:nth-of-type(2) {
        float: none;
        width: auto;
    }

    aside > section:nth-of-type(1) img {
        max-width: 9.375rem;
    }

    footer {
        display: block;
    }

    footer > section:first-of-type {
        margin: 0 0 .937rem 0;
    }

    footer > section:first-of-type p:first-of-type {
        margin: 0 0 .937rem;
    }


}
