﻿@charset "utf-8";

/* Standard */

: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 {
    font-family: 'Roboto', sans-serif;
    line-height: 1.4;
    color: #444;
    background: #fff;
    font-weight: normal;
}

a {
    color: inherit;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none
}

a:hover,
a:focus {
    outline: none;
    text-decoration: underline;
}

p {
    margin: 0 0 .625rem;
}

h1 {
    display: block;
    font-size: 2.125rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.875rem;
}

h1 span {
    font-size: 0.85em;
}

h2 {
    text-align: left;
    font-size: 1rem;
    line-height: 1;
    margin: 1.875rem 0 .625rem;
}

h3 {
    margin: 0 0 .625rem;
    font-size: 1rem;
}

h4 a {
    background: #fdca00 none repeat scroll 0 0;
    border-color: transparent;
    color: #fff;
    float: left;
    font-size: 15px;
    font-weight: bold;
    height: 34px;
    margin: 15px 10px;
    padding: 7px 10px;
    position: relative;
    text-decoration: none;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
    text-transform: uppercase;


}

h4 a:before {
    border-bottom: 35px solid #fdca00;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    content: "";
    height: 0;
    left: -10px;
    position: absolute;
    top: -1px;
    width: 0;
}

h4 a:after {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 35px solid #fdca00;
    content: "";
    height: 0;
    position: absolute;
    right: -10px;
    top: 0px;
    width: 0;
}

h4 a:hover,
h4 a:focus,
h4 a:active {
    background-color: #fdca00;
    border-color: transparent;
    color: #003d78;
    text-decoration: none;
    text-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
    transition: all 0.2s cubic-bezier(0.55, 0, 0.1, 1) 0s;
}

ul {
    padding: 0;
    margin-bottom: .625rem;
    list-style: none;
}

ul li {
    padding-left: 1.5625rem;
    margin-bottom: 0.625rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -15px;
    font-size: 26px;
    line-height: 21px;
}

#wrapper {
    display: block;
    max-width: 56.25rem;
    margin: .625rem auto;
    padding: 3.125rem 6.25rem;
    box-shadow: 0 0 .937rem #a1a1a1;
}

header {
    margin: 0 0 .937rem;
    padding: 0;
}

header a {
    display: block;
    margin: 0 auto;
}

header img {
    display: block;
    width: 100%;
}

header p {
    text-align: center;
    font-size: .937rem;
    font-weight: bold;
    color: #fff;
}

/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

/*----------------- footer --------------------*/

footer {
    background: #4F256F;
    color: #fff;
    margin: 0 -.937rem -.937rem;
    text-align: center;
    padding: .937rem;
}

footer span {
    white-space: nowrap;
}

address {
    border: .062rem solid #e4b701;
    font-style: normal;
    padding: 3.125rem 0 1.25rem;
    margin: 0 0 0;
}

address section {
    width: 25%;
    float: left;
    text-align: center;
    padding: 0 1.25rem;
    font-size: .875rem;
}

address section p span {
    font-sizE: 1rem;
    font-weight: bold;
}

address section p {
    margin-bottom: 0
}

address section img {
    max-width: 50%
}

aside > img {
    width: 10%
}

aside {
    margin: 5.5rem 0 1.875rem;
    border: solid thin #e4b701;
    padding: 1.875rem .937rem;
}

aside > img,
aside > a {
    float: left;
}

aside > a {
    margin-left: 2.8125rem;
}

aside p {
    width: 80%;
    float: right;
    margin-bottom: 1.875rem;
    padding-top: .625rem
}

aside p span {
    display: block;
    padding-top: .312rem;
}

aside > img {
    margin-left: 2.812rem;
}

aside > img:nth-of-type(2) {
    margin-top: .625rem;
}

aside > img:nth-of-type(3) {
    margin-top: 1.25rem;
}

aside p:last-of-type {
    margin-bottom: 1.25rem;
}

p a {
    color: #00447a;
    -webkit-transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
    transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
}

p a:hover {
    color: #fecc00;
    text-decoration: none;
    -webkit-transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
    transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
}

@media only screen and (max-width:56.187rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
    }

    aside > img,
    aside > a {
        float: none;
        display: block !important;
        margin: .625rem auto !important;
        text-align: center;
    }

    aside > img:first-of-type {
        margin-left: 0;
    }

    aside > img:nth-of-type(2) {
        margin-top: 0;
    }

    aside > img:nth-of-type(3) {
        margin-top: 0;
    }

    aside p:last-of-type {
        margin-bottom: 1.25rem;
    }

    aside > img {
        margin: 0 0 0;
    }

    aside {
        margin: 5.5rem 0 0
    }

    aside p {
        width: 100%;
        float: none;
        margin-bottom: 1.25rem;
    }

    a {
        font-weight: bold;
        font-size: 1rem;
    }

    footer {
        margin: 0 -.625rem -.625rem;
        padding: .625rem;
    }

    header {
        margin: -.625rem -.625rem .625rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    address {
        padding: 0;
        margin: 0;
    }

    address section img {
        max-width: 20%;
    }

    address section {
        width: 100%;
        float: none;
        margin: .625rem 0 .625rem;
    }

    h2 {
        font-size: 1.062rem;
    }
}

@media only screen and (max-width:29.9375rem) {
    body {
        font-size: .812rem;
    }

    h1 {
        font-size: 1.125rem;
    }

    ul li:before {
        font-size: 1rem;
        line-height: 1rem;
    }
}
