﻿/* reset all */

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;
}



/* 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: 0px 0px 10px;
}

h1 {
    color: #ee1c25;
    display: block;
    font-size: 56px;
    font-weight: bold;
    line-height: 1;
    margin: 5px 0px;
}

h1 span {
    font-size: 20px;
    color: #00305f
}

h2 {
    text-align: left;
    font-size: 20px;
    line-height: 1;
    margin: 0px 0px 5px 0px;
}

h3 {
    text-align: left;
    font-size: 20px;
    line-height: 1.2;
    margin: 0px 0px 5px 0px;
    color: #ee1c25;
}
h3 span{
    color: #00305f;
}
h4{
   text-align: left;
    font-size: 20px;
    margin: 0px 0px 20px 0px;
    line-height: 1.3;
    color: #00305f;  
}
h5{
   text-align: left;
    font-size: 20px;
    line-height: 1.2;
    margin: 0px 0px 10px 0px;
    color: #00305f;  
}
h6{
    font-size: 9px;
    text-align: left;
    margin: 0px 0px 0px -30px ;
    letter-spacing: -0.6px;
}

ul {
    padding: 0px;
    margin:0px 0px 20px 0px;
    list-style: none;
}

ul li {
    padding-left: 15px;
}


ul li:before { 
    content: "";
    float: left;
    position: relative;
    width: 8px;
    height: 8px;
    background: #00305f;
    margin-left:-15px;
    top: 6px;
}

ul:last-of-type li:nth-of-type(6){
    letter-spacing: -0.1px;
}

/* body set-up */

body {
       font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #00305f;
    background: #555;
    font-weight: normal;
}

/* layout  */

#wrapper {
    display: block;
    max-width: 900px;
    margin: 10px auto;
    padding: 0px;
    border: 1px solid #000;
    background: #fff;
}

header {
    margin: 0px 0px 10px;
    padding: 0px;
}

header img {
    display: block;
    max-width: 100%;
}

header a {
    display: block;
    margin: 0px auto 0px;
    max-width: 215px;
    width: 100%;
}

article{
    width: 69%;
    float: right;
    padding: 110px 40px 0px 0px
}

article section{
    text-align: center;
}

article section>a{
   max-width: 220px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

article section p{
    margin: 0px;
}
/*----------------- footer --------------------*/

footer {
    margin: 30px 0px 30px;
    padding: 250px 15px 120px 0px;
    background: #00305f;
    width: 23%;
    float: left;
    position: relative;
}

footer img:first-of-type{
    position: absolute;
    top: 7%;
    right: -25%;
}


/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}



@media only screen and (max-width:899px) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 10px;
    }
    
    header {
        margin: -10px -10px 10px;
        padding: 10px;
    }
    
    article{
        width: auto;
        float: none;
        margin: 0px;
        padding: 0px;
    }
    
     footer {
       display: none;
    }
    
   
    
    a {
        font-weight: bold;
    }
    
    h1 {
        font-size: 28px;
    }
    h2,h3,h4,h5 {
        font-size: 16px;
    }
    h4{
        margin: 0px 0px 10px;
    }
    h5{
        line-height: 1;
    }
    ul{
        margin: 0px 0px 15px;
    }
    h6{
        margin: 0px;
        text-align: center;
    }
    article section br{display: block;}
    article br{
        display: none;
    }
}

@media only screen and (max-width:479px) {
    body {
        font-size: 13px;
    }
    h1 {
        font-size: 18px;
    }
    ul li:before {
        font-size: 16px;
        line-height: 18px;
    }
}
