﻿/* reset all */
: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 set-up */

body {
    font-family: 'Arial', sans-serif;
    font-size: 0.875em;
    line-height: 1.4;
    color: #000;
    background: #fff;
    font-weight: normal;
}

/* main style */

a {
    color: #97B1D8;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: underline;
}
p {
    margin: 0 0 0.625rem;
    text-align: justify;
}

h1 {
    color: #97B1D8;
    display: block;
    font-size: 1.563rem;
    font-weight: bold;
    line-height: 1.2;
    margin: 1.25rem 0 0.5rem;
    text-align: left;
}
h1 span {
     font-size: 1.25rem;
    font-weight: normal;
}

h2 {
    color: #97B1D8;
    display: block;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1;
    margin: 0 0 1.5rem;
    text-align: left;
}
h2 span {
	font-weight:normal;
    
}

h3 {
	margin: 0 0 0.625rem;
        font-size: 0.875rem;	
}

ul {
    padding: 0;
    margin-bottom: 0.5rem;
    list-style: none;
	width: 88%;
}
ul li {
	padding-bottom: 0.2rem;
    padding-left: 2rem;
}
ul li:before {
    content: url(../images/ul.png);
    float: left;
    margin-left: -1.938rem;
    font-size: 18px;
    line-height: 19px;
    color: #000;
}

/* layout  */

#wrapper {
	position: relative;
    max-width: 50rem;
    margin: 0.625rem auto;
    padding: 15px;
    border: solid 0.125rem #006FB4;
    box-shadow: 0 0 0.375rem rgba(0, 0, 0, 0.5);
	overflow: hidden;
}
header {
    margin: -15px -15px 15px -14px;
	position: relative;
    background: #006FB4
}
header a {
    display: block;
    position: absolute;
    width: 30%;
    height: 90%;
}
header img {
    display: block;
    max-width: 100%;
}
header p {
    text-align: left;
    font-size: 0.75rem;
    width: 57%;
    position: absolute;
    top: 1.125rem;
    right: 0.625rem;
    color: #fff;
    line-height: 1.45;
}

/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}
article{
    padding: 0 2.5rem;
}
article section {
    background: url(../images/Z.jpg)no-repeat;
    background-position: top 0% right 0;
}
article section p{
    padding-right: 12%;
}


/*----------------- footer --------------------*/

footer {
    padding: 0 2.5rem;
}

@media only screen and (max-width:50rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0.625rem;
    }
    footer {
        padding: 0;
    }
    header {
        margin: -0.625rem -0.625rem 0.625rem;
        padding: 0.625rem;
    }
    header p {
        text-align: left;
        font-size: 0.75rem;
        width: 100%;
        position: static;
        margin-top: 1.25rem;
        right: 0.625rem;
        color: #fff;
        line-height: 1.45;
    }
    header a {
        display: block;
        position: absolute;
        max-width: 30%;
        max-height: 50%;
    }
    h1 {
        font-size: 1.75rem;
    }
    h2 {
        font-size: 0.875rem;
    }
    article{
        padding: 0;
    }
	
    article section {
        background: none;
    }
    article section p{
        padding-right: 0;
    }
    p{
        text-align: left;
    }
ul {
	width:100%;
}
a {
    color: #97B1D8;
	font-size: 1rem;
	font-weight: bold;
}

a:hover,
a:focus {
    text-decoration: none;
}

}
@media only screen and (max-width:30rem) {
    body {
        font-size: 0.813em;
    }
    h1 {
        font-size: 1.125rem;
    }
    ul li:before {
        font-size: 16px;
        line-height: 18px;
    }

}