@font-face {
    font-family:'A1Sans';
    src:url('../fonts/A1SansV54-Regular.ttf')
        format('truetype'),url('../fonts/A1SansV54-Regular.woff') 
        format('woff'),url('../fonts/A1SansV54-Regular.woff2') 
        format('woff2');
    font-weight:normal;
    font-style:normal;
    font-style:normal;
}

@font-face {
    font-family:'A1Sans';
    src:url('../fonts/A1SansV54-Light.ttf')
        format('truetype'),url('../fonts/A1SansV54-Light.woff') 
        format('woff'),url('../fonts/A1SansV54-Light.woff2') 
        format('woff2');
    font-weight:300;
    font-style:normal;
}

@font-face {
    font-family:'A1Sans';
    src:url('../fonts/A1SansV54-Bold.ttf')
        format('truetype'),url('../fonts/A1SansV54-Bold.woff') 
        format('woff'),url('../fonts/A1SansV54-Bold.woff2') 
        format('woff2');
    font-weight:700;
    font-style:normal;
}

@font-face {
    font-family:'A1Serif';
    src:url('../fonts/A1SerifV54-Regular.ttf')
        format('truetype'),url('../fonts/A1SerifV541-Regular.woff') 
        format('woff'),url('../fonts/A1SerifV541-Regular.woff2') 
        format('woff2');
    font-weight:normal;
    font-style:normal;
}

@font-face {
    font-family:'A1Serif';
    src:url('../fonts/A1SerifV54-Light.ttf')
        format('truetype'),url('../fonts/A1SerifV54-Light.woff') 
        format('woff'),url('../fonts/A1SerifV54-Light.woff2') 
        format('woff2');
    font-weight:300;
    font-style:normal;
}

@font-face {
    font-family:'A1Serif';
    src:url('../fonts/A1SerifV54-Bold.ttf')
        format('truetype'),url('../fonts/A1SerifV54-Bold.woff') 
        format('woff'),url('../fonts/A1SerifV54-Bold.woff2') 
        format('woff2');
    font-weight:700;
    font-style:normal;
}

body {
    font-family: 'A1Sans', Tahoma, sans-serif;
    font-size: 15px;
    line-height: 22px;
    color: #333;
    padding-top: 72px;
}


/* typography
================================================== */
h1, h2, h3, h4, h5, h6 {
    color: #000;
    margin: 0;
}

h1 { font-size: 50px; line-height: 64px; }
h2 { font-size: 40px; line-height: 50px; }
h3 { font-size: 28px; line-height: 36px; }
h4 { font-size: 21px; line-height: 27px; }
h5 { font-size: 17px; line-height: 22px; }
h6 { font-size: 14px; line-height: 18px; }

a {
    color: #da291c;

    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

a:hover {
    color: #da291c;
    text-decoration: underline;
}

p {
    color: #333333;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
}


/* header
================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
    width: 100%;
    background-color: #fff;
    border-top: 2px solid transparent;
}

header:after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 100%;
    bottom: 0;
    width: 150%;
    height: 25px;
    left: -55%;
    background: radial-gradient(ellipse at 70% -45%, rgba(0, 0, 0, 0.2), rgba(97, 97, 97, 0.0) 40%);
    background: radial-gradient(ellipse at 70% -45%, rgba(0, 0, 0, 0.2), rgba(97, 97, 97, 0.0) 40%);
}

header .logo {
    display: block;
    margin: 10px 0;
}

header nav ul {
    text-align: right;
    margin: 0;
}

header nav ul li {
    display: inline-block;
    margin: 20px 0;
}

header nav ul li a {
    display: block;
    padding: 5px 15px;
    font-size: 14px;
    text-transform: uppercase;
    color: #333;
}

header nav ul li:last-of-type a {
    border: 1px solid #da291c;
    border-radius: 3px;
    color: #da291c;
}

header nav ul li:last-of-type a:hover {
    background-color: #da291c;
    color: #fff;
}

header nav ul li a:hover {
    text-decoration: none;
    color: #da291c;
}

/* 
================================================== */
main {
    margin: 50px 0;
}

main table {
    border-collapse: collapse;
    width: 100% !important;
    margin: 0 0 30px 0;
}

main td, main th {
    border: 1px solid #999;
    padding: 1em;
    text-align: left;
    width: inherit;
}

/* aside
================================================== */
aside.sidebar {
    padding: 20px 20px 15px;
    box-shadow: 0px 0px 53px -25px rgb(139, 120, 220);
    border-left: 5px solid #da291c;
    border-radius: 5px;
    margin-right: 15px;
}

aside.sidebar ul {
    margin: 0;
}

aside.sidebar ul li {
    display: block
}

aside.sidebar ul li:last-of-type a {
    border-bottom: 0;
}

aside.sidebar ul li a {
    padding: 4px 6px;
    font-size: 14px;
    line-height: 30px;
    display: block;
    border-bottom: solid 1px #e1e1e1;
    position: relative;
    padding-left: 20px;
    color: #333;
}

aside.sidebar ul li a:before {
    content: "\f105";
    font-family: 'FontAwesome';
    position: absolute;
    left: 7px;
}

aside.sidebar ul li.active a,
aside.sidebar ul li a:hover {
    color: #da291c;
    text-decoration: none;
}

/* footer
================================================== */

footer {
    padding: 5px 0;
    font-size: 13px;
    line-height: 20px;
    z-index: 10000;
    color: #727272;
    text-align: center;
}

footer span {
    display: block;
    padding: 5px 0;
}

footer span small {
    padding: 0 5px;
    font-size: 14px;
}

footer a {
    color: #727272;
    display: inline-block;
    padding: 0 4px;
}

footer a:hover {
    color: #da291c;
}

footer ul {
    text-align: center;
    display: block;
    margin: 10px 0;
    padding: 0;
}

footer ul li {
    display: inline-block;
}

footer ul li a {
    font-size: 20px;
    color: #727272;
    padding: 0 10px;
}

footer ul li a:hover {
    color: #da291c;
}

.footer-links a {    
    font-size: 14px;
    color: #333;
    font-weight: bold;
    font-family: 'A1Serif', Tahoma, sans-serif;
}


@media (max-width: 767px) {
    body {
        padding-top: 50px;
    }

    aside {
        margin: 0 0 30px 0;
    }

    header nav ul li a {
        padding: 4px 10px;
        font-size: 10px;
    }
}

.text-page img {
    margin: 0 0 20px 0;
}

.text-page ul {
    margin: 0 0 20px 0;
}

.text-page small {
    font-size: 12px;
}

.text-page p span {
    color: #da291c;
}

.text-page h3 {
    margin: 0 0 10px 0;
    font-weight: bold;
}