﻿@charset "utf-8";

/* Standard */

/* 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: 'Raleway', sans-serif;
    font-size: .812rem;
    line-height: 1.4;
    color: rgb(96, 96, 96);
    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 1.25rem;
}
h1 {
    color: #fff;
    display: block;
    font-size: 1.875rem;
    font-weight: bold;
    margin: 0 0 1.25rem;
    text-align: center;
    padding: 2.812rem 1.562rem;
    background: rgba(0, 51, 153, 0.7)
}
h1 span {
    font-size: 0.7em;
    font-weight: normal;
}
h2 {
    text-align: left;
    font-size: .937rem;
    line-height: 1;
    color: rgb(0, 20, 137);
    margin: 0 0 .625rem;
    text-transform: uppercase
}
h3 {
    font-size: .75rem;
    line-height: 1.2;
    font-weight: normal;
    color: #b1b1b1;
    border-bottom: 1px solid #b1b1b1;
    margin: 0 0 .625rem;
    padding-bottom: .625rem
}
h4 {
    color: #fff
}
h4 span {
    background: #e2003b !important;
    padding: .937rem;
    float: left;
    width: 20%;
    text-align: center;
    border-right: 4px solid #fff
}
ul {
    padding: 0;
    margin-bottom: .625rem;
    list-style: none;
}
ul li {
    padding-left: 1.25rem;
}
ul li:before {
    content: "■"
    /* ❖ *  ● ■ ▪ ◆ ❖ ✔ » ▸ ▶ ► ➤ ➢ ➧ ➭ ➽ ➲ 》➠ ◢ ◥ ☛ */
    ;
    float: left;
    margin-left: -1.25rem;
    font-size: .875rem;
    line-height: 1;
    color: #e2003b;
}

/* layout  */

#wrapper {
    display: block;
    max-width: 50rem;
    margin: .625rem auto;
    box-shadow: 0 0 .937rem #888888;
}
header {
    padding: 1.562rem;
}
header a {
    display: block;
    margin: 0 0 .625rem;
    width: 13.437rem;
    float: left
}
header img {
    display: block;
    max-width: 100%;
}
header p {
    text-align: right;
    font-size: 1.125rem;
    font-weight: bold;
    float: right;
    color: rgb(0, 20, 137)
}
article {
    padding: 1.562rem 1.562rem 0;
}
article>section:first-of-type {
    background: url(../images/image6.jpg) no-repeat center center;
    background-size: cover;
}
article>section:last-of-type {
    background: url(../images/image7.jpg) no-repeat center center;
    background-size: cover;
}
article section section {
    padding: 2.812rem 1.562rem;
    background: rgba(0, 51, 153, 0.7);
    color: #cacaca;
    text-align: center;
    font-size: .937rem;
    margin-bottom: 1.25rem;
}
article section span {
    color: #fff;
    text-transform: uppercase;
    font-weight: bold
}
article section section a {
    background: #e2003b;
    color: #fff;
    padding: .625rem 1.875rem;
    font-weight: bold;
    border: 2px solid #e2003b;
}
article section section a:hover {
    background: #fff;
    color: #000;
    border: 2px solid #e2003b;
    text-decoration: none
}
aside {
    padding: 0 1.562rem
}

/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

/*----------------- footer --------------------*/

footer {
    background: #222D34;
    color: rgb(164, 176, 182);
    text-align: center;
    padding: 1.562rem;
}
footer p {
    float: left;
    width: 49%;
    margin-bottom: 0
}
footer p:last-of-type {
    float: right
}
footer a:hover {
    color: #e2003b;
}

/*--use when you have phone number--*/

footer span {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase
}

/**** Slider layout *****/

.slider {
    position: relative;
    width: auto;
}
.slider img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    animation: imageAnimation 25s linear infinite 0s;
}
.slider img:nth-child(1) {
    position: relative;
    z-index: 1;
}
.slider img:nth-child(2) {
    animation-delay: 5s;
    z-index: 0;
}
.slider img:nth-child(3) {
    animation-delay: 10s;
    z-index: 0;
}
.slider img:nth-child(4) {
    animation-delay: 15s;
    z-index: 0;
}
.slider img:nth-child(5) {
    animation-delay: 20s;
    z-index: 0;
}
@keyframes imageAnimation {
    0% {
        animation-timing-function: ease-in;
        opacity: 0;
        z-index: 0;
    }
    1.5% {
        animation-timing-function: ease-out;
        opacity: 1;
        z-index: 1;
    }
    21% {
        opacity: 1;
        z-index: 1;
    }
    22% {
        opacity: 0;
        z-index: 0;
    }
    100% {
        opacity: 0;
        z-index: 0;
    }
}

/****** End Slider********/

@media only screen and (max-width:49.937rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
    }
    a {
        font-weight: bold;
    }
    p,
    ul {
        margin-bottom: .625rem;
    }
    footer {
        margin: 0 -.625rem -.625rem;
        padding: .625rem;
    }
    header {
        margin: -.625rem -.625rem .625rem;
        padding: .625rem;
    }
    h1 {
        font-size: 1.375rem;
        padding: .625rem
    }
    h2 {
        font-size: .875rem;
    }
    header p,
    header a {
        float: none;
        text-align: center
    }
    header a {
        max-width: 6.875rem;
        margin: 0 auto .625rem
    }
    h4 span {
        padding: 0;
        float: none;
        width: auto;
        border-right: none;
        margin-right: .625rem
    }
    h4 span:last-of-type {
        margin-right: 0
    }
    h4 {
        background: #e2003b !important;
        padding: .625rem;
        text-align: center;
    }
    article,
    aside {
        padding: .625rem 0 0
    }
    article section section {
        padding: .625rem
    }
    article section:last-of-type a {
        display: block;
        max-width: 15.625rem;
        margin: 0 auto;
        padding: .312rem
    }
    footer p,
    footer p:last-of-type {
        float: none;
        width: 100%;
        margin-bottom: .625rem
    }
}
@media only screen and (max-width:479px) {
    body {
        font-size: .812rem;
    }
    h1 {
        font-size: 1.125rem;
    }
    ul li:before {
        font-size: 1rem;
        line-height: 1.1;
    }
}
