﻿body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

section {
    flex-grow: 1;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.top {
    height: 45px;
    color: #fff;
    background: #0e274e;
}

.top a {
    color: #fff;
    margin-right: 20px;
}

a:hover {
    color: #ff6a00;
}

.nav {
    position: sticky;
    height: 86px;
    background: #1d4373;
    border-bottom: 2px solid #fd9c02;
}

.nav a img {
    height: 40px;
}

.nav ul {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav ul li {
    height: 100%;
}

.nav ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    color: #fff;
    padding: 0 20px;
    box-sizing: border-box;
    border-bottom: 3px solid transparent;
}

.nav ul li a:hover {
    background-color: #252c34;
    border-color: #0488cd;
}

.banner {
    padding-bottom: 8px;
    margin-bottom: 8px;
    background: url(../images/bigimg_bg.jpg) bottom repeat-x;
}

aside {
    float: left;
    width: 25%;
    padding: 30px 15px;
    box-sizing: border-box;
    background-color: #f3f3f3;
}

aside p {
    color: #666;
    line-height: 28px;
    font-size: 22px;
    margin-bottom: 25px;
    position: relative;
}

aside p::after {
    background: url("../images/bg_off.jpg") repeat;
    content: "";
    height: 5px;
    position: absolute;
    top: 12px;
    right: 0;
    width: 45%;
}

aside ul li {
    margin-bottom: 7px;
    border-bottom: 1px solid #F8F8F8;
    padding: 3px 0;
    line-height: 24px;
    transition: .5s;
}

aside ul li:before {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    padding-right: 20px;
}

aside ul li:hover {
    padding-left: 5px
}

main {
    margin-left: 25%;
    padding: 20px 15px;
}

.bread {
    position: relative;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background: url(../images/img_x.jpg) center repeat-x;
}

.bread h3 {
    float: left;
    color: #666;
    font-size: 16px;
    line-height: 50px;
    padding-right: 40px;
    background: #fff;
}

.bread p {
    float: right;
    height: 20px;
    line-height: 20px;
    color: #727272;
}

.bread p a {
    color: #e17f01;
}

.content {
    margin: 20px 0;
    line-height: 1.75em;
}

footer {
    line-height: 2em;
    color: #fff;
    padding: 20px 0;
    background: #0e274e;
}