﻿@charset "utf-8";

/* Standard */

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

a:hover,
a:active,
a:visited {
    text-decoration: underline;
}

u {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    color: #1c1c1c;
    font-family: 'Open Sans', sans-serif;
    font-size: .875rem;
    line-height: 1.4;
    background: #F3F3F3
}


#wrapper {
    position: relative;
    max-width: 56.25rem;
    margin: 1rem auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    background: url(../images/bg.png) bottom right no-repeat;
    background-size: 100%;
    background-color: #fff;
    overflow: hidden;
}

p {
    text-align: justify;
    margin: 0 0 1rem;
}

h1 {
    font-size: 1.625rem;
    color: #1c1c1c;
    font-weight: 400;
    text-align: center;
}


h2 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin: 0 0 .625rem;
    font-weight: 300;
}


section h2 {
    text-align: center
}

h3 {
    font-size: 1.231em;
    line-height: 1.4;
    margin: 0 0 0.625rem;
    color: #FF9800;
    font-weight: 600
}

hr {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    border: 0 none;
    height: 1px;
    width: 100%;
    margin-bottom: 3.125rem
}


section hr {
    margin-bottom: 1.25rem
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 2.187rem;
    padding-bottom: 8px
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .625rem;
    height: .625rem;
    background: url(../images/blt.jpg) no-repeat;
    background-size: contain;
    margin-left: -1.562rem;
    top: 6px;
}

ol {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ol li {
    padding-left: 1.562rem;
    padding-bottom: 0
}

ol li:before {
    content: "\+"
        /* ❖ *  ● ■ ▪ ◆ ❖ ✔ » ▸ ▶ ► ➤ ➢ ➧ ➭ ➽ ➲ 》➠ ◢ ◥ ☛ */
    ;
    float: left;
    margin-left: -20px;
    font-size: 1.375em;
    line-height: 1;
}


.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

header {
    margin: 0 -1.187rem 1.187rem;
    padding: 1.562rem 1.187rem 1.25rem;
    border-top: 1.25rem solid #000
}

header a {
    margin: 0 auto;
    display: block;
    max-width: 13.437rem
}


footer {
    background-color: #ECEDEF;
    color: #1c1c1c;
    margin: 0 -1.188rem -1.188rem;
    padding: 1.875rem 3.75rem 1.875rem;
    border-top: 20px solid #686B6E
}

footer p {
    text-align: center
}

footer p a {
    color: #fff !important;
    background-color: #d95b2e !important;
    border-style: none !important;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 600 !important;
    border-bottom-color: #1c1c1c;
    border-bottom-width: 1px;
    text-decoration-line: none;
    text-decoration-style: solid;
    cursor: pointer;
    padding: 10px;
    margin-top: .625rem;
}

footer p a:hover {
    text-decoration: none;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1), 0 6px 8px rgba(0, 0, 0, 0.3);
}


article {
    padding: 2.5rem 2.5rem 2.5rem
}

article section:first-of-type {
    width: 48%;
    float: left
}

article section:nth-of-type(2) {
    width: 48%;
    float: right
}

article section:nth-of-type(3) {
    width: 48%
}

article section {
    padding-bottom: 1.25rem
}

aside p {
    margin-bottom: .625rem;
}

aside {
    padding-left: 2.187rem
}

aside nav {
    display: none;
}

/*---------------------slider--------------------*/

.slider {
    position: relative;
}

.slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 12s linear infinite 0s;
}

.slider > img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider > img:nth-of-type(2) {
    animation-delay: 6s;
}


@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    55% {
        opacity: 0;
    }
}

/*-------------------end of slider---------------*/



@media only screen and (max-width:56.187rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0.625rem;
        background: none;
        background-color: #fff
    }

    aside {
        padding-left: 10px
    }


    p {
        text-align: left
    }

    a {
        font-weight: bold;
    }

    aside nav {
        display: block;
        padding-bottom: 0;

    }

    article section:first-of-type nav {
        display: none;
    }

    footer {
        margin: 0 -0.625rem -0.625rem;
        padding: 0.625rem;
    }

    header {
        margin: -0.625rem -0.625rem 0.625rem;
        padding: 0.625rem;
    }

    h1 {
        font-size: 1.563em;
    }

    h2 {
        font-size: 1.125rem;
    }

    h3 {
        text-align: center
    }

    article section:first-of-type {
        width: 100%;
        float: none
    }

    article section:nth-of-type(2) {
        width: 100%;
        float: none
    }

    article section:nth-of-type(3) {
        width: 100%;
    }

    article {
        padding: .625rem
    }
}

@media only screen and (max-width:479px) {
    h1 {
        font-size: 1.5em;
    }
}
