/* 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;
}

/* body set-up */

body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: .812rem;
    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 .937rem;
}

h1 {
    color: #C4A36F;
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    margin: -.625rem 0 5px;
}

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: .875rem;
    margin: 0 0 0px;
    font-weight: 900;
}

h3 {
    margin: 0 0 .625rem;
    font-size: 1rem;
}

ul {
    padding: 0;
    margin-bottom: 20px;
    list-style: none;
    line-height: 1.4
}

ul li {
    padding-left: 10px;
    width: 75%
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .25rem;
    height: 4px;
    border-radius: .5rem;
    background: #000;
    margin-left: -.625rem;
    top: .375rem;
}

ul ul{
    margin-bottom: 0;
    margin-left: 3.312rem
}

ul ul li{
    padding-left: 0
}


/* layout  */

#wrapper {
    display: block;
    max-width: 860px;
    margin: 10px auto;
    padding: .937rem;
    box-shadow: 0px 0px .937rem #a1a1a1
}

header {
    margin: -.937rem -.937rem .937rem;
    position: relative
}

header a {
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 26%;
    left: 4.5%;
    height: 35%;
    width: 11%;
    border-radius: 3.125rem
}

header img {
    display: block;
    max-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: 0px;
}

/*----------------- footer --------------------*/

footer {
    margin: 6.25rem 0 0;
    text-align: right;
    padding: .937rem 1.875rem 1.875rem;
}

/*--use when you have phone number--*/

footer span {
    white-space: nowrap;
}
footer a{
    width: 100%;
    max-width: 26.562rem;
}

article {
    margin: 1.7rem 3.625rem 1.875rem 1.8rem;

}

article p:last-of-type {
    padding: .625rem 3.75rem 0
}

article p:nth-of-type(6){
    padding: 0 0 1.875rem;
}


ul,
h2 {
    margin-left: 3.75rem;
}

h2 span {
    font-weight: normal;
}

h2:before {
    content: "";
    float: left;
    position: relative;
    width: 2.875rem;
    height: 2.875rem;
    background-size: contain;
    margin-left: -3.75rem;
    top: -.937rem;
}

h2:nth-of-type(1):before {
    background: url(../images/icon1.JPG) no-repeat;

}

h2:nth-of-type(2):before {
    background: url(../images/icon2.JPG) no-repeat;
}

h2:nth-of-type(3):before {
    background: url(../images/icon3.JPG) no-repeat;
}

h2:nth-of-type(4):before {
    background: url(../images/icon4.JPG) no-repeat;
}

@media only screen and (max-width:859px) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
    }

    article {
        margin: 0
    }
    article p:last-of-type {
        padding: .625rem 0 0
    }
    br{
        display: none;
    }
    ul,
    h2 {
        margin-left: 00px;
    }
    ul li{
        width: 100%;
    }

    article {
        background: 0
    }

    a {
        font-weight: bold;
    }

    footer {
        margin: 0 -.625rem -.625rem;
        padding: .625rem;
    }
    header {
        margin: -.625rem -.625rem .625rem;
    }
    h1 {
        font-size: 1.5rem;
        margin: 15px 0;
    }
    h2 {
        font-size: .875rem;
    }
    h2:before {
        display: none;
    }
    p,
    ul {
        margin: 0 0 10px;
    }
    article p:nth-of-type(6) {
        padding: 0 0 .625rem
    }
    p br {
        display: none;
    }
    h2 br {
        display: none
    }
    article p:nth-of-type(1) {
        width: auto;
        text-align: left;
    }
}

@media only screen and (max-width:479px) {
    body {
        font-size: .812rem;
    }
    h1 {
        font-size: 1.125rem;
    }
    ul li:before {
        font-size: 16px;
        line-height: 16px;
    }
}
