﻿@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 {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-size: .875rem;
    background: #999;
    color: #595959;
    font-weight: normal;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

#wrapper {
    position: relative;
    max-width: 51.875rem;
    background: #fff;
    margin: 1rem auto;
    padding: 2.5rem 2.187rem 0;
    background-color: #fff;
    overflow: hidden;
}

p {
    margin: 0 0 0.625rem;
}

h1 {
    text-align: center;
    font-size: 1.812rem;
    margin: 0 0 0;
    font-weight: 500;
}

h1 span {
    font-size: 22px;
}

h2 {
    color: #047b5e;
    font-size: 17px;
    margin: 0 0 .625rem;
    font-weight: 400;
    line-height: 1.2;
}

h3 {
    font-size: 29px;
    line-height: 2.5em;
    margin: 0 0 0;
    font-weight: 400;
}

h4 {
    margin-bottom: .625rem;
    font-size: 22px;
    font-weight: 500;
    margin-top: 0;
}

h5 {
    margin-bottom: .625rem;
    font-size: 1.375rem;
    font-weight: 300;
    margin-top: 0;
    margin: 0;
    line-height: 2.5em;
}

ul {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    padding-left: 1.187rem;
}

ul li {
    position: relative;
    list-style: none;
}

ul li:before {
    content: "";
    width: .312rem;
    height: .312rem;
    background: #047b5e;
    position: absolute;
    left: -1.062rem;
    top: .562rem;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

nav:nth-of-type(1),
menu:nth-of-type(1) {
    width: 50%;
    float: left;
    padding: 0 .937rem;
    margin: 0;
    display: block;
}

nav:nth-of-type(2),
menu:nth-of-type(2) {
    width: 50%;
    float: right;
    padding: 0 .937rem;
    margin: 0;
    display: block;
}

aside {
    text-align: center;
    background: #047b5e;
    color: #fff;
    padding-bottom: 1.25rem;
    line-height: 2.5em;
    margin: 1.25rem 0 2.187rem;
}

menu:nth-of-type(1) ul,
menu:nth-of-type(1) p {
    margin-bottom: 2.187rem
}

menu:nth-of-type(2) p:last-of-type {
    color: #047b5e;
}

.fa-phone {
    -ms-transform: rotate(100deg);
    /* IE 9 */
    transform: rotate(100deg);
    font-size: .75rem;
}

address {
    text-align: center;
    margin-top: 45px;
}

address a {
    display: block;
    margin: 0 auto;
    max-width: 7.5rem;
}

footer p {
    display: block;
    font-size: 1.062rem;
    color: #047b5e;
    font-weight: 300;
    margin-top: 12px;
    text-align: center;
}

.fa-globe-europe {
    font-size: .875rem
}

#wrapper > article > menu:nth-child(6) > p:nth-child(3) > a:hover {
    color: #0056B3;
}

#wrapper > article > menu:nth-child(6) > p:nth-child(3) > a {
    color: #047b5e;
}

@media only screen and (max-width:51.812rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0.625rem .625rem 0;
        font-size: .875rem;
    }


    nav:nth-of-type(1),
    menu:nth-of-type(1) {
        width: auto;
        float: none;
        padding: 0 0;
        margin: 0;
        display: block;
    }

    nav:nth-of-type(2),
    menu:nth-of-type(2) {
        width: auto;
        float: none;
        padding: 0;
        margin: 0;
        display: block;
    }


    menu:nth-of-type(1) ul,
    menu:nth-of-type(1) p,
    p,
    ul {
        margin-bottom: .625rem;
    }


    aside {
        margin: .625rem -.625rem;
        padding: .625rem;
    }

    h1 {
        line-height: 1;
        margin: .625rem 0;
        font-size: 1.375rem
    }

    h3 {
        line-height: 1;
        margin: 0 0 .625rem;
        font-size: 1.375rem
    }

    h4 {
        line-height: 1;
        margin: .625rem 0 .625rem;
        font-size: 1rem
    }

    h5 {
        line-height: 1;
        margin: .625rem 0;
        font-size: 1rem
    }

    h2 {
        font-size: 1rem;
    }



    a {
        font-weight: bold;
    }


}

@media only screen and (max-width:479px) {
    h1 {
        font-size: 1.5em;
    }
}
