/* 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: "Helvetica", "Arial", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    color: #3a434f;
    background: linear-gradient(to bottom, #F7F7F7 300px, #f7f7f7 800px);
    background-repeat: no-repeat;
}


/* 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.75rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 1.25rem;
    margin-top: 1.25rem;
    color: #222;
}

h1 span,
h1 span a {
    font-size: 18px;
    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: -1.5rem -1.5rem 1.25rem;
    padding: .625rem 1.5rem;
    font-size: 1.125rem;
    background: #F5F5F5;
    color: #e2001a;
}

/*
p a {
    color: #e2001a;
    text-decoration: none;
}
*/

ul {
    padding: 0;
    margin-bottom: .625rem;
    list-style: none;
}

ul li {
    padding-left: 1.562rem;
}

ul li:before {
    content: "\2022"
        /* ❖ *  ● ■ ▪ ◆ ❖ ✔ » ▸ ▶ ► ➤ ➢ ➧ ➭ ➽ ➲ 》➠ ◢ ◥ ☛ */
    ;
    float: left;
    margin-left: -.937rem;
    font-size: 22px;
    line-height: 1;
}


/* layout  */

#wrapper {
    display: block;
    max-width: 900px;
    margin: .625rem auto;
}

#wrapper > section {
    margin-bottom: .625rem;
}

header {
    background: #fff;
    padding: 1.5rem 1.5rem;
    border: 1px solid rgba(220, 223, 226, .8);
    border-top-left-radius: .312rem;
    border-top-right-radius: .312rem;
    margin-bottom: .75rem;
}

header > a {
    float: none;
    border-radius: .187rem;
    overflow: hidden;
    max-width: 10.625rem;
}

header section {
    width: auto;
    float: none;
}

header img {
    display: block;
    max-width: 100%;
}


header section p img {
    display: inline-block;
    max-width: 100%;
    width: 12px
}


i {
    margin-right: .625rem;
}

header p {
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    margin-right: 1.562rem;
    color: rgba(0, 0, 0, 0.57);
    margin: 0 16px 16px 0;
}


element {
    clear: both;
    display: block;
}

element a {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0;
    padding: 10px 16px;
    white-space: nowrap;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    line-height: 1.3333333;
    text-transform: uppercase;
    border-radius: 2px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #34495e;
    color: #ffffff;
}

element a:hover {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
    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: 1.5rem;
    margin-bottom: .75rem;
    border: 1px solid rgba(220, 223, 226, .8);
}

section p:last-of-type,
section ul:last-of-type {
    margin-bottom: 0
}






aside {
    margin-bottom: .75rem;
    display: block;
    padding: 0;
    border: 1px solid rgba(220, 223, 226, .8);
}

aside img {
    display: block;
}

/**** 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;
    }
}

.material-icons {
    font-size: 14px;
    line-height: 1;
        vertical-align: middle;
    margin: 0;
}

@media only screen and (max-width:819px) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
        background: #F4F4F4;
    }

    header {
        border: .062rem solid #e1e1e1
    }

    header > a {
        float: none;
        margin-bottom: 0;
    }

    header > section {
        float: none;
        width: 100%;
        margin: 0 0 .625rem;
    }

    header p {
        font-size: .812rem;
        display: block;
        margin: 0 0 .312rem;
    }

    a {
        font-weight: bold;
    }

    footer {
        margin: 0 -.625rem -.625rem;
        padding: .625rem;
    }

    header {
        padding: .625rem;
    }

    h1 {
        font-size: 1.75rem;
        margin: .625rem 0
    }

    h2 {
        font-size: 1em;
    }

    h3 {
        margin: -.625rem -.625rem .625rem;
        padding: .312rem .625rem
    }

    article section {
        padding: .625rem;
    }

    element a {
        padding: .312rem .937rem;
        font-size: .937rem;
    }

    p br {
        display: none;
    }
}

@media only screen and (max-width:479px) {
    body {
        font-size: .812rem;
    }

    h1 {
        font-size: 1.125rem;
    }

    h1 span {
        font-size: 1rem;
    }

    ul li:before {
        font-size: 1rem;
        line-height: 1.1;
    }
}
