﻿/* 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-family: 'Fira Sans', sans-serif;
    font-size: .875rem;
    line-height: 1.5;
    color: #000;
    background: #fff;
    font-weight: normal;
}

#wrapper {
    display: block;
    max-width: 54.375rem;
    margin: .625rem auto;
    box-shadow: 0 0 .937rem #a1a1a1;
    position: relative;
    overflow: hidden;
}

/* main style */

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
}

u {
    text-decoration: underline;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: underline;
}

p {
    margin: 0 0 1.562rem;
}

h1,
h3,
footer section p:last-of-type a {
    font-style: italic;
}

h1 {
    color: #1CACE3;
    display: block;
    font-size: 1.812rem;
    font-weight: 600;
    margin: .312rem 0;
    padding-left: .937rem;
}

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: 1.125rem;
    color: #0057A2;
    margin: 0 0 .625rem;
    font-weight: 600;
    font-style: italic;
    line-height: 1;
}

h3 {
    margin: 0 0 .312rem;
    font-size: 1.187rem;
    padding-left: .937rem;
    color: #0057A2;
    font-weight: 500;
    line-height: 1;
}

h3:last-of-type {
    margin-bottom: 2.5rem;
}

h4 {
    text-align: left;
    font-size: 1.125rem;
    color: #0057A2;
    margin: 0 0 .312rem;
    font-weight: 600;
    font-style: normal;
}

ul {
    padding: 0;
    margin: 0 0 1.25rem;
    list-style: none;

}

ul li {
    padding-left: .937rem;
}

ul li:before {
    content: "»";
    float: left;
    color: #009FE3;
    margin-left: -.937rem;
    line-height: 1.5;
}

article section:nth-of-type(2) ul {
    margin-bottom: 1.875rem;
}

article section:nth-of-type(1) p:nth-of-type(2) {
    letter-spacing: 0.05px
}

/* layout  */

header {
    position: relative;
    margin-bottom: 1.875rem
}

header > a {
    display: block;
    margin: 0 auto .625rem;
    position: absolute;
    width: 35%;
    height: 45%
}

header section a {
    position: absolute;
    width: 3%;
    height: 35%;
    right: 0;
    bottom: 0
}

header img {
    display: block;
    max-width: 100%;
}

article {
    padding: .312rem 40px 200px
}


article section {
    float: left;
    width: 47%;
    padding: 0 .937rem
}

article section:nth-of-type(1) {
    padding-right: .625rem;
    float: left;
    width: 49%;
}


article section:nth-of-type(2) {
    float: right;
    width: 48%;
}

article section:nth-of-type(2) > p a {
    position: relative;
    z-index: 100;
}

article section:nth-of-type(2) > p {
    margin: 0 0 .937rem;
    line-height: 1.4
}

footer {
    position: absolute;
    right: 0;
    bottom: -3.125rem;
}

aside {
    position: relative;
}

aside img {
    display: block;
}

aside section {
    position: absolute;
    right: 22%;
    bottom: 20%;
    color: #fff;
    text-align: right;

}

aside section p {
    font-size: .937rem;
    letter-spacing: 0.1px;
    line-height: 1.4
}

aside section > a {
    display: block;
    float: right;
    margin: 0 0 .625rem;
    max-width: 5.625rem;
    width: auto;
}

aside section p:last-of-type {
    margin: 0;
}

aside a {
    font-weight: bold;
}

nav p a{
    z-index: 1;
    position: relative;
}

/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

element {
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
}

nav {
    float: left;
    display: block;
}

element img {
    float: left;
    max-width: 7.75rem;
    display: block;
}

nav p {
    margin: 0 0 .937rem .625rem;
    line-height: 1.7;
}


naz p a{
    z-index: 1;
    position: relative;
}


@media only screen and (max-width:54.312rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0;
    }

    header {
        margin-bottom: .625rem
    }

    article {
        padding: .625rem .625rem 0;
        margin: 0;
    }

    article section:nth-of-type(1),
    article section:nth-of-type(2) {
        width: auto;
        float: none;
        padding: 0;
    }



    footer {
        background: #005295;
        border-top: .312rem solid #00A9E2;
        padding: .625rem;
    }

    footer > aside > img {
        display: none;
    }

    footer,
    footer aside,
    footer section {
        position: static;
        text-align: left;
    }

    footer section > a {
        float: none;
    }

    footer p {
        margin: 0 0 .625rem;
    }

    h1,
    h3 {
        padding-left: 0;
    }

    h1 {
        font-size: 1.25rem;
        line-height: 1;
    }

    h2 {
        font-size: .875rem;
        margin: 0 0 .625rem;
        padding: 0;
    }

    h3 {
        font-size: 1.125rem;
    }

    h3:last-of-type {
        margin: 0 0 .937rem;
    }

    a {
        font-weight: bold;
    }

    p,
    ul {
        margin: 0 0 .625rem !important;
    }

    article section:nth-of-type(1) ul li {
        margin-bottom: .312rem;
    }

    h2 br,
    ul br,
    p br {
        display: none;
    }

    > br,
    footer p br {
        display: block;
    }

    article section:nth-of-type(2) ul {
        margin-bottom: .625rem;
    }

    article section:nth-of-type(1) p:nth-of-type(2) {
        letter-spacing: normal;
    }


    element {
        display: block;
        margin: 0;
        padding: 0;
        position: relative;
    }

    nav {
        float: left;
        display: block;
    }

    element img {
        float: none;
        max-width: 7.75rem;
        display: block;
    }

    nav p {
        margin: .625rem 0 .625rem 0 !important;
        line-height: 1.2
    }
}


@media only screen and (max-width:29.937rem) {
    body {
        font-size: .812rem;
    }

    h1 {
        font-size: 1.125rem;
    }

    h3 {
        font-size: .875rem;
    }

}
