/* 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 {
    max-width: 100%;
    display: inline-block;
}


/* body set-up */

body {
    font-family: 'Arial', sans-serif;
    font-size: .875rem;
    line-height: 1.4;
    color: #3a434f;
    background: #f5f5f5;
    font-weight: normal;
}


/* main style */

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
}

u {
    text-decoration: underline;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: underline;
}

p {
    margin: 0 0 .937rem;
}

h1 {
    display: block;
    font-size: 1.312rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    margin-top: -.187rem;
    margin-left: -1.062rem;
    color: #222;
}

h1 span,
h1 span a {
    font-size: 1rem;
    color: #4088ee !important;
    display: inline-block;
}

h2 {
    text-align: left;
    font-size: 1.375rem;
    line-height: 1;
    margin: 0 0 1.125rem;
    font-family: sans-serif;
    color: #e30613;
    font-weight: 700;
}

h3 {
    margin: -.937rem -.75rem .937rem;
    padding: .625rem .75rem;
    font-size: 1.062rem;
    background: #f5f5f5;
    border-bottom: 1px solid #dcdfe3;
    color: #00bdf3;
}

ul {
    padding: 0;
    margin-bottom: .625rem;
    list-style: none;
}

ul li {
    padding-left: 1.875rem;
}

ul li:before {
    content: "\2022"
        /* ❖ *  ● ■ ▪ ◆ ❖ ✔ » ▸ ▶ ► ➤ ➢ ➧ ➭ ➽ ➲ 》➠ ◢ ◥ ☛ */
    ;
    float: left;
    margin-left: -.937rem;
    font-size: 1rem;
    line-height: 1.4;
}


/* layout  */

#wrapper {
    display: block;
    max-width: 820px;
    margin: .625rem auto;
}

#wrapper > section {
    margin-bottom: .625rem;
}
#wrapper > section img{
    border-radius: .312rem;
}

header {
    background: #fff;
    padding: .75rem .75rem 2.5rem;
    border: 1px solid rgba(220, 223, 226, .8);
    border-top-left-radius: .312rem;
    border-top-right-radius: .312rem;
    margin-bottom: .937rem;
}

header > a {
    float: left;
    overflow: hidden;
    max-width: 6.875rem;
    border: 1px solid #ddd
}

header section {
    width: 82%;
    float: right;
}

header img {
    display: block;
    max-width: 100%;
}

i {
    margin-right: .625rem;
}

header p {
    display: inline-block;
    font-size: 1rem;
    margin-right: 1.562rem;
    color: #566578;
}

article section:last-of-type p:first-of-type a{
    color:#e20816;
}

article section:last-of-type p:last-of-type{
    margin-bottom: 0.6rem;
}

article > a {
    padding: 0.7rem;
    line-height: 1;
    background-color: #000;
    color: #fff;
    margin: 0 auto;
    margin-top: 2rem;
    margin-bottom: 3rem;
    display: block;
    width: 408px;
    height: 42px;
    text-align: center;
}

article > a:hover {
    background-color: #303030;
    text-decoration: none;
}
element {
    clear: both;
    display: block;
}

element a {
    padding: .5rem 3.875rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .187rem;
    margin: .625rem 0 0;
    border: 1px solid transparent;
    transition: all .2s ease-in-out;
    color: #fff;
    background-color: #4088ee;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

element a:hover {
    background: #1260CF;
    text-decoration: none;
}

/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}


/*----------------- footer --------------------*/

footer {
    background: #4F256F;
    color: #fff;
    text-align: center;
    padding: .937rem;
}


/*--use when you have phone number--*/

footer span {
    white-space: nowrap;
}


article section {
    background: #fff;
    padding: .937rem .75rem 1.562rem;
    margin-bottom: .75rem;
    border: 1px solid #dcdfe3;
}

article section:first-of-type,
article section:last-of-type{
    padding: .937rem .75rem .75rem;
}

section p:last-of-type,
section ul:last-of-type {
    margin-bottom: 0
}

section:last-of-type p a{
    color: #00bdf3;
}
section:last-of-type p:nth-of-type(5){
    padding-bottom: .625rem
}
p a {
    color: #000;
    text-decoration: none;
}

.header1 {
    position: relative;
}

.header1 > a {
    position: absolute;
    top: 0;
    width: 9%;
    height: 45%;
}

/**** Slider layout *****/
.slider > a {
    position: absolute;
    right: 14%;
    bottom: 5%;
    width: 71%;
    height: 18%;
    z-index: 8
}

.slider {
    border: 1px solid rgba(220, 223, 226, .8);
    width: auto;
    border-radius: .312rem;
    overflow: hidden;
    margin-bottom: .75rem;
}

.slider {
    position: relative;
}

.slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 18s linear infinite 0s;
}

.slider > img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider > img:nth-of-type(2) {
    animation-delay: 6s;
}

.slider > img:nth-of-type(3) {
    animation-delay: 12s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    39% {
        opacity: 0;
    }
}

@media only screen and (max-width:819px) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
        background: #FFFFFF;
    }

    header {
        border: .062rem solid #e1e1e1
    }

    header > a {
        float: none;
        margin-bottom: 1.25rem;
    }

    header > section {
        float: none;
        width: 100%;
    }

    header p {
        font-size: .812rem;
        display: block;
        margin: 0 0 .312rem;
    }
    
    article > a {
        width: 18.75rem;
        height: 2.375rem;
        margin-top: 0;
        margin-bottom: 0;
    }


    footer {
        margin: 0 -.625rem -.625rem;
        padding: .625rem;
    }

    header {
        padding: .625rem;
    }

    h1 {
        font-size: 1.312rem;
        margin-left: 0;
    }

    h2 {
        font-size: 1em;
    }

    h3 {
        font-size: .937rem;
    }

    article section {
        padding: .625rem;
    }

    element a {
        padding: .312rem .937rem;
        font-size: .937rem;
    }
}

@media only screen and (max-width:479px) {
    body {
        font-size: .812rem;
    }

    h1 {
        font-size: 1rem;
    }

    h1 span {
        font-size: .875rem;
    }

    ul li:before {
        font-size: 1rem;
        line-height: 1.1;
    }
}
