﻿@charset "utf-8";

/* Standard */

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

a {
    color: blue;
    display: inline-block;
    text-decoration: underline;
    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: 52.5rem;
    margin: 1rem auto;
    box-shadow: .125rem .125rem .625rem #000;
    padding: 2.5rem;
    background-color: #fff;
    overflow: hidden;
}

p {
    margin: 0 0 .937rem;
}

h1 {
    color: #365F91;
    text-align: center;
    font-size: 1.687rem;
    line-height: 1.3;
    margin: 0 0 1.875rem;

}

h1 span {
    font-size: 1rem;
    display: block;
}

h2 {
    font-size: .875rem;
    line-height: 1;
    margin: 0 0 .937rem;
}

h3 {
    text-align: center;
    color: #17365D;
    font-size: 1.062rem;
    line-height: 1;
    margin:.937rem 0 .625rem;
    font-weight: normal;
}

h4 {
    font-size: .875rem;
    line-height: 1.4;
    margin: 0 0 .312rem 0;
}

h4:after {
    content: "";
    background: url(../images/text.svg) no-repeat;
    background-size: 100%;
    width: 3.312rem;
    height: 1rem;
    display: inline-block;
    position: relative;
    top: .062rem;
}

h5 {
    font-size: .875rem;
    line-height: 1;
    margin: 1.25rem 0 .625rem 2.5rem;
}

hr {
    border-top: thin solid #52BA5A;
}

ul {
    list-style: none;
    margin: 0 0 .937rem 20px;
    padding: 0;
}

ul li {
    padding-left: 1.25rem;
    /* padding-right: 1.25rem;*/
}


ul li:before {
    content: "\2022";
    float: left;
    margin-left: -20px;
    font-size: 1.375em;
    line-height: 1;
}

ul:last-of-type {
    margin-bottom: 1.562rem;
}

ul:last-of-type li{
    padding-left: 27px;
}

ul:last-of-type li:before{
    margin-left: -27px;
}


.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

header {
    margin: 0 0 .625rem;
    padding: 0 0;
    position: relative;
}

header a {
    position: absolute;
    top: 7%;
    right: 0%;
    width: 45%;
    height: 53%;
    /*    border: .125rem solid red;*/
}

element {
    display: block;
    margin: .937rem 0 .625rem 0;
}

article > section:nth-of-type(1) {
    float: left;
    width: 49%;
}

article > section:nth-of-type(2) {
    float: right;
    width: 47%;
padding-left: 20px;
}


article > section:nth-of-type(2) h2{
    margin-left: 22px;
}
footer {
    margin: 0 -1.875rem 0;
    padding: 0 1.875rem 1.875rem;
}

footer > a {
    float: right;
    max-width: 14.375rem;
    margin: 0 0;
}


p span {
    color: rgb(255, 0, 0);
}


/*article p:last-of-type {
    margin: 0 0 .312rem
}*/

nav {
    display: block;
    margin: 0 3.562rem .312rem 0;
}

nav img {
    display: block;
}

/*
article p:last-of-type a {
    text-decoration: none;
    color: inherit;
}
*/

article p:nth-of-type(1) {}

article p:nth-of-type(3) {
    margin: 0 0 .437rem;
}

#wrapper > article > p:nth-child(13) > a{
    color: inherit;
    text-decoration: none;
}

@media only screen and (max-width: 52.437rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
        box-shadow: none;
    }

    a {
        font-weight: bold;
    }



    h2,
    h5 {
        margin: 0 0 .625rem 0;
    }

    p {
        text-align: left;
    }

    header {}

    element {
        margin: 0 0 1.25rem 0;
    }

    ul li,
    ul:last-of-type li{
        padding-left: .937rem;
        text-align: left;
        padding-right: 0;
    }

    ul li br {
        display: none;
    }

    ul li:before,
    ul:last-of-type li:before{
        margin-left: -.937rem;
    }

    article > section:nth-of-type(1) {
        float: none;
        width: auto;
        margin: 0;
    }

    article > section:nth-of-type(2) {
        float: none;
        width: auto;
        padding: 0;
    }
    
    article > section:nth-of-type(2) h2{
    margin-left: 0;
}

    article > p:nth-last-of-type(3) br {
        display: none;
    }

    footer {
        margin: 0 -0.625rem -0.625rem;
        padding: 0.625rem;
    }

    p,
    ul {
        margin: 0 0 .625rem;
    }

    ul:last-of-type {
        margin-bottom: .625rem;
    }

    h3 {
        margin: 0 0;
        font-size: .875rem;
        display: block;
        line-height: 1;
    }
    h2{
        font-size: .875rem;
    }
    h1 {
        margin: 0 0 .625rem;
        line-height: 1.3;
        font-size: 1.25rem;
    }

   

    h1 span {
        font-size: .875rem;
    }

    h5 {}

    nav {
        margin: 0;
    }

    article > br {
        display: none;
    }

    ul br {
        display: none;
    }
}

@media only screen and (max-width:29.937rem) {
   
    h2 {}

    h3 {
        font-size: .875rem;
    }

    h5 {
        font-size: 1rem;
    }


}
