﻿/* 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 {
    display: inline-block;
    width: 100%;
}

/* body set-up */

body {
    font-family: 'Raleway', sans-serif;
    font-size: .812rem;
    line-height: 1.4;
    color: #000;
    background: #fff;
    font-weight: 500;
}

/* main style */

a {
    color: inherit;
    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 {
    font-family: 'Roboto Slab', serif;
    color: #0062BB;
    display: block;
    font-size: 30px;
    font-weight: 300;
    margin: 0 0 .312rem;
    line-height: 1.2
}

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: .875rem;
    font-weight: bold;
    color: #0062BC;
    margin: 0 0 0;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 0 2.187rem;
}

ul {
    padding: 0;
    margin: 0 0 1.25rem 0;
    list-style: none;
}

ul li {
    padding-left: 1.25rem;
}

section:first-of-type ul:first-of-type li {
    padding-left: 2.25rem;
}

ul:nth-of-type(2) li {
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.25rem;
    font-size: 1.187rem;
    line-height: 0.9;
}

ul ul {
    margin: 0
}

ul ul li {
    padding-left: 2.5rem;
}
ul p{
    margin: 0;
}
/* layout  */

#wrapper {
    display: block;
    max-width: 56.25rem;
    margin: 0.75em auto;
    border: 1px solid #9C9EA1;
}


/* content */

header {
    margin: 0;
    padding: 1.562rem;
    background: url(../images/header-foto.png) no-repeat right 1.875rem bottom 0, #0062BC;
    background-size: 21%
}


header img {
    display: block;
}

header section {
    width: 68%;
    background: #fff;
    padding: 1.562rem;
}


header section a {
    display: block;
    margin: 0 auto 0;
    width: 6.687rem;
    float: right;
}

header section p {
    color: #0062BB;
    font-size: .937rem;
    margin: 0
}

header section p:nth-of-type(1) {
    margin-top: -1.875rem;
}

header section > img {
    display: block;
    max-width: 12.562rem;
    margin: 1.562rem 0 0;
}

article {
    padding: 1.562rem 3.125rem 0;
}

article section:nth-of-type(1) {
    width: 48%;
    float: left;
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    article section:nth-of-type(1) {
        width: 47%;
    }
}

@-moz-document url-prefix() {
    article section:nth-of-type(1) {
        width: 47%;
    }
}




article section:nth-of-type(2) {
    width: 48%;
    float: right;
    /*    line-height: 1.5;*/
}

article section:nth-of-type(2) img {
    display: block;
    max-width: 13.062rem;
}

element + ul > li:before {
    display: none;
}

/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

/*----------------- footer --------------------*/

footer {
    margin: 0 0 0;
    padding: 0 3.125rem 1.875rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

footer p {
    width: 48%
}

footer p:last-of-type {
    width: 47%;
    float: right;
}

p img {
    width: 12.5rem;
    display: block;
    margin-bottom: .625rem;
}

footer p {
    font-size: 11px;
    margin: 0
}

article section img {
    margin-bottom: -.937rem
}

@media only screen and (max-width:56.187rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
    }

    header section p:nth-of-type(1) {
        margin-top: 0;
    }

    header {
        margin: -.625rem -.625rem .625rem;
        padding: .625rem;
        background: #0062BC;
    }

    header section {
        width: auto;
        padding: .625rem;
        text-align: center;
    }

    header section a {
        display: block;
        margin: 0 auto 10px;
        float: none;
    }

    header section > img {
        display: block;
        margin: 10px auto 0;
        float: none;
    }

    article {
        padding: 0;
    }

    article section:nth-of-type(1),
    article section:nth-of-type(2) {
        width: auto;
        float: none;
    }

    article section:nth-of-type(1) ul ul {
        margin: 0;
    }

    footer {
        margin: 0;
        padding: 0;
    }

    footer p:nth-of-type(1),
    footer p:nth-of-type(2) {
        width: auto;
        float: none;
    }

    p {
        margin: 0 0 .625rem;
    }

    ul {
        margin: 0 0 .625rem;
        letter-spacing: normal;
    }

    ul br {
        display: none;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: .875rem;
    }

    a {
        font-weight: bold;
    }

    footer p br,
    h3 br {
        display: none
    }

    footer p:first-of-type br:first-of-type {
        display: block
    }

    h3 {
        font-size: 1rem;
        margin-bottom: .625rem;
    }

    footer {
        display: block;
    }

    footer p {
        margin-bottom: .625rem;
    }

    section > br {
        display: none;
    }

    article section img {
        margin-bottom: 0;
    }

    section:first-of-type ul:first-of-type li {
        padding-left: 1.25rem;
    }

    ul:nth-of-type(2) li {
        padding-left: 1.25rem
    }
}

@media only screen and (max-width:479px) {
    body {
        font-size: .812rem;
    }

    h1 {
        font-size: 1.125rem;
    }

}
