/* 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%;
}

/* body set-up */

body {
    font-family: 'Arial', sans-serif;
    font-size: .875rem;
    line-height: 1.4;
    color: #000;
    background: #fff;
    font-weight: normal;
}

/* 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: 0 0 .625rem;
}

h1 {
    color: #DB1E26;
    display: block;
    font-size: 1.875rem;
    font-weight: bold;
    margin:0;
}

h1 span {
    font-size: 0.5em;
}

h2 {
    text-align: left;
    font-size:1rem;
    line-height: 1;
    margin: 0 0 .625rem;
}
h3{
    font-size: .875rem;
     color: #DB1E26;
    margin-top: 1.25rem;
}
h4{
    font-size: .875rem;
     color: #DB1E26;
    margin: 0 0 1.25rem
}
ul {
    padding: 0;
    margin: 0 0 1.25rem 0;
    list-style: none;
}

ul li {
    padding-left: .625rem;
margin-bottom:.125rem;
    font-size: .812rem;
    
}

ul li:before { 
    content: "";
    float: left;
    position: relative;
    width: .312rem;
    height: .812rem;
    background: url(../images/li.JPG) no-repeat;
    background-size: contain;
    margin-left:-.625rem;
    top: .125rem;
}



/* layout  */

#wrapper {
    display: block;
    max-width: 46.375rem;
    margin: 0.75em auto;
    padding: 2.5rem;
    border: 1px solid #9C9EA1;
}



/* content */

header {
    margin: -2.5rem -2.5rem 1.25rem;
    padding: 0;
     position: relative;
}

header a {
    display: block;
    margin: 0 auto 0.75em;
   
  
}

header img {
    display: block;
}

header p:first-of-type{
    position: absolute;
    color: #fff;
    background: #DB1E26;
    width: 22%;
    font-size: 1.187rem;
    padding: .937rem;
    top: 6%;
    left: 3%;
}
header p:last-of-type{
    position: absolute;
    font-size: .625rem;
    transform: rotate(-90deg);
    right: -1.25rem;
    bottom: 1.25rem;
    color: #fff
}
header p span{
    font-size: 1.312rem;
}

aside{}
aside p{
    float: left;
}
aside img{
    float: right;
    max-width: 310px;
    display: block;
    width: 100%;
}
/*--use clearfix when float get's overflowed--*/
.clearfix:after {
	content: ".";
	clear: both;
	display: block;
	visibility: hidden;
	height: 0;
}

/*----------------- footer --------------------*/

footer {
    margin: 0 0 -2.5rem;
    padding: 0 ;
}
footer p{
    float: left;
}

footer>a{
    float: right;
    max-width: 19.375rem;
    margin: 2.062rem 0 0;
}

@media only screen and (max-width:46.312rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
    }
    
   
    footer {
        margin: 0;
        padding: 0;
    }
    header {
        margin: -.625rem -.625rem .625rem;
        padding: 0;
    }
    h1 {
        font-size: 1.5rem;
        margin: 0;
    }
    h3 h4{
        font-size: .812rem;
    }
    h2 {
        font-size: .875rem;
    }
    a {
        font-weight:bold;
    }
    
    aside p,
    aside img,
    footer p,
    footer>a{
        float: none;
        display: block;
        margin: 0 auto .625rem;
    }
    header p:first-of-type{
        position: static;
        width: auto;
        padding: .625rem;;
    }
    header p:last-of-type{
        position: static;
        transform: none;
        color: #333;
        text-align: right;
        padding-right: .625rem
    }
    aside p br{
        display: none
    }
    footer p{
        text-align: center
    }
    
}

@media only screen and (max-width:29.937rem) {
    body {
        font-size:.812rem;
    }
    h1 {
        font-size: 1.125rem;
    }
    
    header p{
        font-size: 1rem;
    }
    header p span{
        font-size: 1.125rem;
    }
    
}
