@font-face {
    font-family: 'ayuthaya';
    src: url('./ayuthaya.ttf') format('truetype');
}
@font-face {
    font-family: 'iconfont';
    src: url('./iconfont.woff2') format('woff2'), url('./iconfont.woff') format('woff'), url('./iconfont.ttf') format('truetype');
}
.iconfont:before,
.iconfont:after {
  font-family: 'iconfont' !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1em;
}
/* 位置 */
.location-bfo:before,
.location-aft:after {
  content: '\e6c3';
}

/* 电话 */
.phone-bfo:before,
.phone-aft:after {
  content: '\e6c5';
}
/* 手机 */
.mobilephone-bfo:before,
.mobilephone-aft:after {
  content: '\e6d9';
}
/* 链接 */
.link-bfo:before,
.link-aft:after {
  content: '\e604';
}
/* 邮箱 */
.email-bfo:before,
.email-aft:after {
  content: '\e6f6';
}
/* 通行证 */
.avatar-bfo:before,
.avatar-aft:after {
  content: '\e602';
}
/* 社交 */
.wechat-bfo:before,
.wechat-aft:after {
  content: '\e6bd';
}
.qq-bfo:before,
.qq-aft:after {
  content: '\e6bf';
}
.weibo-bfo:before,
.weibo-aft:after {
  content: '\e6c1';
}
.alipay-bfo:before,
.alipay-aft:after {
  content: '\e6bb';
}
body, a {
    color: #333;
}
a:hover {
    color: #0080cc;
}
/* 通用样式 */
a.link {
    color: #0080cc;
}
a.link:hover {
    color: #e60012;
    border-bottom: solid 1px #333;
}
.margin-line {
    margin-top: 64px;
}
.space-between {
    display: flex;
    justify-content: space-between;
}
.vertical-end {
    align-items: flex-end;
}
.vertical-center {
    align-items: center;
}
/* 文字超出省略 */
.text-ellipsis,
.text-ellipsis-2,
.text-ellipsis-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.text-ellipsis {
  -webkit-line-clamp: 1;
}
.text-ellipsis-2 {
  -webkit-line-clamp: 2;
}
.text-ellipsis-3 {
  -webkit-line-clamp: 3;
}
/* 布局 */
.layout-wrapper {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.layout-wrapper.border-bottom {
    border-bottom: solid 1px #f4f4f4;
}
.layout-nav {
    width: 1200px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}
.layout-logo {
    width: 253px;
    height: 116px;
    display: block;
}
.layout-menu {
    display: flex;
    align-items: center;
}
.layout-menu > a,
.layout-menu > dl > dt {
    display: block;
    padding: 0 .5em;
    margin: 0 .5em;
    font-size: 20px;
    line-height: 100px;
    position: relative;
}
.layout-menu > a:after,
.layout-menu > dl > dt:after {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    content: '';
    display: block;
    width: 0;
    height: 4px;
    background-color: #0080cc;
    transition: width .3s ease;
}
.layout-menu > a.active,
.layout-menu > dl.active > dt {
    color: #0080cc;
}
.layout-menu > a.active:after,
.layout-menu > a:hover:after,
.layout-menu > dl.active > dt:after,
.layout-menu > dl:hover > dt:after {
    width: 100%;
}
.layout-menu > dl,
ul.menu-links > li > dl {
    position: relative;
}
.layout-menu > dl > dd,
ul.menu-links > li > dl > dd {
    position: absolute;
    min-width: 100%;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, .2);
    transform-origin: 0 0;
    background-color: #0080cc;
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
}
.layout-menu > dl > dd {
    padding: 5px 0;
    left: 10px;
    transform: scaleY(0);
}
.layout-menu > dl:hover > dd,
ul.menu-links > li > dl:hover > dd {
    opacity: 1;
}
.layout-menu > dl:hover > dd {
    transform: scaleY(1);
}
ul.menu-links > li > a {
    display: block;
    padding: .5em 1em;
    font-size: 18px;
    white-space: nowrap;
    color: #fff;
    transition: background-color .3s ease;
}
ul.menu-links > li > a:hover,
ul.menu-links > li > dl:hover > dt {
    background-color: rgba(0, 0, 0, .25);
}
ul.menu-links > li > dl > dt {
    display: block;
    padding: .5em 1em;
    font-size: 18px;
    white-space: nowrap;
    color: #fff;
    transition: background-color .3s ease;
    cursor: pointer;
}
ul.menu-links > li > dl > dd {
    left: 100%;
    top: 0;
    transform: scaleX(0);
}
ul.menu-links > li > dl:hover > dd {
    transform: scaleX(1);
}
/* 页脚 */
.layout-footer {
    padding: 32px 0;
    background-color: #0080cc;
}
.copyright {
    flex-grow: 1;
    margin-left: 96px; 
}
.copyright > p {
    font-size: 16px;
    line-height: 2em;
    text-align: center;
    color: rgba(255, 255, 255, .75);
}
.copyright > p > a {
    color: rgba(255, 255, 255, .75);
}
.copyright > p > a:hover {
    color: #fff;
    border-bottom: solid 1px #fff;
}
.qrcode {
    width: 96px;
    height: 96px;
}
/* 标题样式 */
.mod-header {
    margin-bottom: 32px;
}
.mod-title {
    display: inline-block;
}
.mod-title > span {
    display: block;
    line-height: 1em;
}
.mod-title.mod-block {
    position: relative;
    z-index: 1;
    padding: 16px 32px 16px 0;
    background-color: #0080cc;
}
.mod-title.mod-block:before {
    content: '';
    display: block;
    width: 2000%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    background-color: #0080cc;
}
.mod-title > span.en {
    margin-bottom: .25em;
    font-size: 30px;
    font-family: 'ayuthaya';
    color: #ccc;
}
.mod-title > span.cn {
    font-size: 28px;
}
.mod-title.mod-block > span {
    color: #fff;
}
.mod-more {
    padding-right: .5em;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1em;
    color: #999;
    border-right: solid 4px #e60012;
    transition: color .3s ease, border-right-color .3s ease, transform .3s ease;
}
.mod-more:hover {
    border-right-color: #0080cc;
    transform: translateX(.5em);
}
/* banner */
.banner-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}
.banner-container > img {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    display: block;
    height: 400px;
}
/* 面包屑 */
.breadcrumb {
    font-size: 0;
    margin-top: 16px;
}
.breadcrumb > a,
.breadcrumb > i,
.breadcrumb > span {
    font-size: 16px;
    line-height: 1em;
}
.breadcrumb > i {
    color: #ccc;
    margin: 0 .5em;
}
.breadcrumb > span {
    color: #999;
}
/* 侧边栏 */
.layout-sidebar {
    flex-shrink: 0;
    width: 220px;
    min-height: 60vh;
    padding-right: 64px;
    margin-right: 64px;
    border-right: solid 1px #f4f4f4;
}
.layout-sidebar > ul {
    margin-top: 32px;
}
.layout-sidebar > ul > li {
    margin-bottom: 4px;
}
.layout-sidebar > ul > li > a,
.layout-sidebar > ul > li > dl > dt {
    cursor: pointer;
    display: block;
    padding: 10px;
    font-size: 16px;
    line-height: 1.4em;
    background-color: #fcfcfc;
    border-right: solid 4px #e60012;
    transition: background-color .3s ease, border-right-color .3s ease;
}
.layout-sidebar > ul > li > a:hover,
.layout-sidebar > ul > li > dl > dt:hover {
    background-color: #f4f4f4;
    border-right-color: #0080cc;
}
.layout-sidebar > ul > li.active > a,
.layout-sidebar > ul > li.active > dl > dt {
    color: #fff;
    background-color: #0080cc;
    border-right-color: #0080cc;
}
.layout-sidebar > ul > li > dl > dd {
    display: none;
}
.layout-sidebar > ul > li.active > dl > dd {
    display: block;
}
.layout-sidebar > ul > li > dl > dd > ul {
    padding: 8px 0;
}
.layout-sidebar > ul > li > dl > dd > ul > li > a {
    display: block;
    padding: 8px 0 8px 1em;
    font-size: 16px;
    line-height: 1.4em;
    color: #666;
}
.layout-sidebar > ul > li > dl > dd > ul > li.active > a,
.layout-sidebar > ul > li > dl > dd > ul > li > a:hover {
    color: #0080cc;
}
.layout-container {
    flex-grow: 1;
    padding-bottom: 32px;
}
/* 文章 */
.layout-article {
    font-size: 16px;
    line-height: 1.8em;
}
.layout-article > p {
    margin-bottom: 1.4em;
}
/* 分页 */
.pagination {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
}
.pagination > a,
.pagination > span {
    padding: 0 .75em;
    font-size: 16px;
    line-height: 2em;
    margin-right: 5px;
}
.pagination > a {
    border: solid 1px #eaeaea;
    transition: color .3s ease, border-color .3s ease;
}
.pagination > a:hover {
    border-color: #0080cc;
}
/* 产品推荐 */
.rec-product-list {
    display: flex;
}
.rec-product-list .rec-product-item {
    width: 220px;
    margin-right: 25px;
}
.rec-product-list .rec-product-item:last-of-type {
    margin-right: 0;
}
.rec-product-list .rec-product-item > a {
    display: block;
}
.rec-product-list .rec-product-item > a > figure {
    width: 220px;
    height: 150px;
    overflow: hidden;
    background-color: #fff;
}
.rec-product-list .rec-product-item > a > figure > img {
    width: 100%;
    height: 100%;
    transform-origin: center center;
    transition: transform .3s ease, opacity .3s ease;
}
.rec-product-list .rec-product-item > a:hover > figure > img {
    transform: scale(1.1);
    opacity: .75;
}
.rec-product-list .rec-product-item > a > figcaption {
    text-align: center;
    font-size: 16px;
    line-height: 52px;
}
