﻿/* 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%;
}

/* 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: none;
}

p {
    margin: 0 0 .625rem;
}

h1 {
    position: static;
    width: auto;
    font-size: 2.1875rem;
    font-weight: 400;
    font-family: 'Open Sans Condensed', sans-serif;
    top: 0;
    left: 0;
    color: #000;
    letter-spacing: 0.05625rem;
    padding: 1.25rem 1.875rem;
    color: #fff;
}


h1 {
    background: #579eb0;
    margin: 0;
}

/*h1 span:first-of-type {
    padding: 0.234375rem 0.938rem 0.234375rem 1.875rem;
    float: left;
    background-color: #f58220;
}
h1 span:last-of-type {
    padding: 0.234375rem 0.938rem 0.234375rem 1.875rem;
    float: left;
    background-color: #f58220;
}*/


h2 {
    text-transform: uppercase;
    font-size: 1rem;
    color: #000;
    margin-bottom: .3em;
    line-height: 1.1;
}

h3 {
    font-size: 1rem;
    color: #000;
    line-height: 1.1;
    margin-bottom: .3em;
}

ul {
    list-style: square outside none;
    margin-left: 1.25em;
}

iframe {
    width: 100%;
    border: none;
    height: 27.4375rem;
    margin: 1.25rem 0 .625rem
}

hr {
    border: 0;
    display: block;
    height: 1.875rem;
    margin-bottom: 1.875rem;
    overflow: visible;
    position: relative;
}

hr:before {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    box-shadow: 0 .312rem .625rem -.375rem rgba(0, 0, 0, .5);
    -moz-border-radius: 0 0 5rem 5rem/0 0 .625rem .625rem;
    -webkit-border-radius: 0;
    border-radius: 0 0 5rem 5rem/0 0 .625rem .625rem;
}

hr:after {
    background: #fff;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
}

/* body set-up */

body {
    font-family: BulldogStdMedium, Verdana, Arial, "Lucida Grande", sans-serif;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #777;
    background: #fff;
    font-weight: normal;
}

/* layout  */

#wrapper {
    display: block;
    max-width: 52.5rem;
    margin: 0.75em auto;
    box-shadow: .25rem .312rem 1.25rem 0 rgba(0, 0, 0, .1);
    border: thin solid #D2D2D2;
}

/* content */

header {
    margin-bottom: 0;
    padding: 0;
    position: relative;
}

header img {
    display: block;
}

header section {
    right: 0;
    bottom: -1.875rem;
    width: auto;
    position: absolute;
    z-index: 10;
}

header section a {
    display: inline-block;
    text-decoration: none;
}

header section a:nth-of-type(1) img {
    max-width: 6.5625rem;
    height: auto;
    vertical-align: bottom;
    width: 90%;
    opacity: 1;
}

header section a:nth-of-type(2) img {
    max-width: 5rem;
    opacity: 1;
    height: auto;
    vertical-align: bottom;
    width: 90%;
}

header section a:nth-of-type(3) img {
    max-width: 6.5625rem;
    height: auto;
    vertical-align: bottom;
    width: 90%;
    opacity: 1;
}

menu {
    margin: 0 0 .937rem;
    padding: 0;
}

article {
    padding: 1.5625rem 1.875rem 0.938rem;
}

article > p:first-of-type {
    color: #777;
}

article section:first-of-type {
    width: 50%;
    max-width: 50%;
    padding: 0 1.875rem 0 0;
    vertical-align: top;
    float: left;
}

article section:last-of-type {
    width: 50%;
    max-width: 50%;
    padding: 0 1.875rem 0 0;
    vertical-align: top;
    float: right;
}

aside {}

article aside p a {
    background: #EE7900;
    color: #000;
    font-family: BulldogStdMedium, Verdana, Arial, "Lucida Grande", sans-serif;
    padding: .5em 1.25em;
    text-align: center;
    font-size: 1rem;
    border-radius: 0.1875rem;
    margin-top: .625em;
    max-width: 11.25rem;
}

article aside p a:after {
    content: "";
    display: inline-block;
    width: 1.0625rem;
    height: 1rem;
    margin-bottom: -.125em;
    background: url(../images/download.png) top right no-repeat;
    background-size: contain;
}

article aside > a {
    color: #666;
    text-decoration: underline;
    outline: 0;
}

article aside > a:hover {
    color: #999;
}

/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

/*----------------- footer --------------------*/

footer {
    text-align: left;
    min-height: 6.25rem;
    background-color: #d1d1d1;
    position: relative;
    padding: 1.875rem;
}

footer > a {
    width: 14.062rem;
    position: absolute;
    z-index: 10;
    top: 1.875rem;
    right: 1.875rem;
}

footer p a {
    color: #666;
    text-decoration: underline;
    outline: 0;
}

footer p a:hover {
    color: #999;
}

footer p {
    margin-bottom: 0
}

article > a {
    margin: 1.25rem auto .625rem;
}

@media only screen and (max-width:52.437rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0.625rem;
    }

    header {
        margin: -.625rem -.625rem 0;
        padding: 0;
    }



    article {
        padding: 0;
    }

    article section:first-of-type,
    article section:last-of-type {
        width: auto;
        float: none;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    footer {
        margin: 0.625rem -0.625rem -0.625rem;
        padding: 0.625rem;
    }

    h1 {
        position: static;
        font-size: 1.5rem;
        margin: 0 -.625rem;
        padding: 1.25rem .625rem .625rem;
    }

    h1 br {
        display: none;
    }


    h2 {
        font-size: .875rem;
    }

    h3 {
        font-size: .875rem;
        margin: 0;
    }

    a {
        font-size: 1rem;
    }

    ul {
        margin-bottom: 0.625rem;
    }

    iframe {
        height: auto;
        width: auto;
        margin: 1.25rem auto 0;
        display: block
    }

    hr {
        border: 0;
        display: block;
        height: 1.875rem;
        margin-bottom: 1.25rem;
        margin-top: 0;
        overflow: visible;
        position: relative;
    }

    header section a:nth-of-type(1) img,
    header section a:nth-of-type(2) img,
    header section a:nth-of-type(3) img {
        width: 3.75rem;
        opacity: 1;
        margin: 0;
        padding: 0;
        max-width: 3.75rem;
    }

    header section a {
        margin: 0;
        padding: 0;
        width: auto
    }

}

@media only screen and (max-width:34.375rem) {
    footer > a {
        position: static;
        margin: .625rem auto .625rem;
        display: block;
    }
}

@media only screen and (max-width:30rem) {
    body {
        font-size: .812rem;
    }

    h1 {
        font-size: 1.125rem;
    }
}
