@charset "utf-8";

/* 基本样式 */
* {margin: 0; padding: 0;}

p {margin: 0.5em 0; line-height: 1.5em;}

a {color: inherit; text-decoration: none;}

h1,h2,h3,h4,h5,h6 {font-size:100%; font-weight:normal}

img{border: none;}

input, button, a {outline: none;}

ul,ol,dl,li {list-style: none;}

table {border-collapse:collapse;border-spacing:0;}

/* 页面样式 */
body {
    font-family: "微软雅黑", Arial, sans-serif;
    font-size: 16px;
    color: #555;
    background-color: #f7f0f2;
    min-height: 50%;
}

@media screen and (max-width: 1240px) {
    body{ width: 1240px}
}
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.main{
    min-height: 460px;
}

/* 页头 */
header {
    background: linear-gradient(to right, #f7f0f2, #b177a5);
    --background: linear-gradient(to right, #b177a5, #f7f0f2);
}
.banner .container{
    background: url("../img/banner.png") no-repeat;
    background-position: right center ;
}
.logo {
    display: inline-block;
}

/* 导航栏 */
.nav-bar {
    background-color: #701d75;
    border-bottom: #ca79aa 4px solid;
}
.nav-bar .container{
    padding:0
}

/* 搜索框 */
.search-bar {
    text-align: center;
    margin-bottom: 20px;
}
.search-bar form{
    width: 70%;
    margin: 0 auto;
}

/* 面包屑导航 */
.breadcrumb {
    color: #888;
    line-height: 2em;
    margin-bottom: 20px;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #ca79aa;
    --border-color: goldenrod;
}
.breadcrumb .iconfont{
    color: #701d75;
    font-size: 1.2em;
}
.breadcrumb a{
    transition: color .25s linear;
}
.breadcrumb a:hover,
.breadcrumb a:last-child{
    color: #701d75;
}

/* 友情链接 */
.links {
    clear: both;
    text-align: center;
    padding-top: 40px;
}

.links .select {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    width: 30%;
    margin: 10px 7%;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #eee;
}

.links .select::after {
    content: "\e93b";
    font-family: "iconfont";
    font-size: 1.2em;
    line-height: 0.9em;
    padding-top: 0.1em;
    position: absolute;
    right: 8px;
    transform: rotate(0);
    transition: transform 0.25s;
}

.links .select.active::after {
    transform: rotate(180deg);
}

.links .select ul{
    position: absolute;
    left:0;
    bottom: 2.45em;
    width: 100%;
    padding: 0.5em;
    border: 1px solid #ccc;
    background-color: #eee;
    border-radius: 5px;
    box-sizing: border-box;
    visibility: hidden;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: all 0.25s;
}

.links .select.active ul{
    visibility: visible;
    transform: scaleY(1);
}

.links .select li a{
    display: block;
    line-height: 2.5em;
    color: #555;
    font-weight: normal;
    transition: all 0.25s;
}

.links .select li a:hover{
    color: white;
    font-weight: bold;
    background-color: #b457a2;
}

/* 页脚 */
footer {
    background-color: #701d75;
    color: white;
    font-size: 0.85em;
    text-align: center;
    padding: 0;
    margin-top: 20px;
}
footer p{
    padding: 0;
    line-height: 1.5em;
}