/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root{
    --primary-color: #dc5818;
    --secondary-color: #f7992b;
    --font-color: #202020;
    --intro-color: #999999;
    --background-color: #f4f4f4;
    --b2-color: #f5f5f5;
}

body {
    background: #FFF;
    font-size: 15px;
}

a{
    color: #D0D0D0;
}

a:hover,
a:active,
a:focus {
    color: var(--primary-color);
    outline: none;
    text-decoration: none;
}

section{
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 1600px) {
    .container{
        max-width: 1570px;
    }
}

.section-title,
.section-subtitle,
.section-intro{
    margin: 0;
    padding: 0;
}

.section-title{
    font-size: 40px;
}

.section-subtitle{
    font-size: 30px;
}

.section-intro{
    font-size: 20px;
}

.img{
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
}

.img img{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: block;
}

.img iframe{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: block;
}

.warp{
    margin: 1rem;
    padding: 1rem;
    transition: all 0.5s;
}

.warp:hover{
    box-shadow: 0 0 2px 2px rgba(114,114,114,0.5);
}

.warp .img{
    padding-bottom: 100%;
}

.article table,
.article img{
    max-width: 100%;
}
.article p, .article span{
    text-wrap: wrap!important;
}
/*--------------------------------------------------------------
# placeholderBox
--------------------------------------------------------------*/
#placeholderBox{
    height: 110px;/*高度要和#header一致*/
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    display: none;
    background: var(--primary-color);
    color: #fff;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 16px;
    border-radius: 50%;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 11;
}

.back-to-top i {
    padding-top: 12px;
    color: #fff;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header{
    background-color: #FFF;
    z-index: 999;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.5s;
    z-index: 9990;
}

#header .container{
    display: flex;
    justify-content: space-between;
}

/*--------------------------------------------------------------
# Top Navigation Menu
--------------------------------------------------------------*/
.main-nav{
    display: none;
}
.main-nav,
.main-nav * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav > ul > li {
    position: relative;
    white-space: nowrap;
    float: left;
    height: 70px;
    line-height: 70px;
}

.main-nav a {
    display: block;
    position: relative;
    color: white;
    padding: 0 35px;
    transition: 0.3s;
    /* text-transform: uppercase; */
    font-weight: 600;
}

.main-nav a:hover,
.main-nav .active > a,
.main-nav li:hover > a {
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav .drop-down ul {
    display: block;
    position: absolute;
    left: 0;
    top: calc(100% - 30px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    padding: 10px 0;
    background: var(--secondary-color);
    box-shadow: 0 0 30px rgba(127, 137, 161, 0.25);
    transition: ease all 0.3s;
    width: auto;
}

.main-nav .drop-down:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.main-nav .drop-down li {
    height: 40px;
    line-height: 40px;
    min-width: 180px;
    position: relative;
}

.main-nav .drop-down ul a {
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    color: white;
}

.main-nav .drop-down ul a:hover,
.main-nav .drop-down ul .active > a,
.main-nav .drop-down ul li:hover > a {
    color: var(--primary-color);
}

.main-nav a::before {
    content: "\f0da";
    font-family: FontAwesome;
    padding-right: 10px;
    color: var(--primary-color);
}

.main-nav .drop-down .drop-down ul {
    top: 0;
    left: calc(100% - 30px);
}

.main-nav .drop-down .drop-down:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
}

.main-nav .drop-down .drop-down > a {
    padding-right: 35px;
}

.main-nav .drop-down .drop-down > a:before {
    content: "\f0da";
    /* position: absolute; */
    /* left: 10px; */
}

/* Mobile Navigation */

.mobile-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 9999;
    overflow-y: auto;
    left: -260px;
    width: 260px;
    padding-top: 18px;
    background: rgba(40, 38, 70, 0.8);
    transition: 0.4s;
}

.mobile-nav * {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* .mobile-nav a {
    display: block;
    position: relative;
    color: #fff;
    padding: 10px 20px;
    font-weight: 500;
} */

.mobile-nav li {
    display: block;
    padding: 10px 20px;
}

.mobile-nav li a{
    color: white;
    font-size: 15px;
}

.mobile-nav a:hover,
.mobile-nav .active > a,
.mobile-nav li:hover > a {
    color: #8dc2fa;
    text-decoration: none;
}

/* .mobile-nav .drop-down > a:after {
    content: "\f078";
    font-family: FontAwesome;
    padding-left: 10px;
    position: absolute;
    right: 15px;
} */

.mobile-nav .drop-down{
    position: relative;
}

.mobile-nav .drop-down:after {
    content: "\f078";
    font-family: FontAwesome;
    padding-left: 10px;
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
}

/* .mobile-nav .active.drop-down > a:after {
    content: "\f077";
} */

.mobile-nav .active.drop-down:after {
    content: "\f077";
}

.mobile-nav .drop-down > a {
    padding-right: 35px;
}

.mobile-nav .drop-down ul {
    display: none;
    overflow: hidden;
}

.mobile-nav .drop-down li {
    padding-left: 20px;
}

.mobile-nav-toggle {
    display: block;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9998;
    border: 0;
    background: none;
    font-size: 24px;
    transition: all 0.4s;
    outline: none !important;
    line-height: 1;
    cursor: pointer;
    text-align: right;
}

.other-nav,.navAfter,.navBefore,.lineAfter,.lineBefore,.nav-form-input{
    display: none !important;
}

.mobile-nav-toggle i {
    margin: 18px 18px 0 0;
    color: var(--secondary-color);
}

.mobile-nav-overly {
    width: 100%;
    height: 100%;
    z-index: 9997;
    top: 0;
    left: 0;
    position: fixed;
    background: rgba(40, 38, 70, 0.8);
    overflow: hidden;
    display: none;
}

.mobile-nav-active {
    overflow: hidden;
}

.mobile-nav-active .mobile-nav {
    left: 0;
}

.mobile-nav-active .mobile-nav-toggle i {
    color: #fff;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer{
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #000;
    color: #FFF;
}

.footer h3{
    font-size: 25px;
}

.footer ul{
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer ul li{
    padding: 10px 0;
}

/* Main Footer */
.main-footer{
    display: none;
}

/* Mobile Footer */
.mobile-footer{
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: block;
}

.mobile-footer .panel-heading{
    display: flex;
    justify-content:space-between;
    align-items: center;
}

.mobile-footer .panel-heading:after{
    content: "＋";
    color: #FFF;
    right: 25px;
    font-size: 20px;
}

.mobile-footer .panel-heading.active:after{
    content: '－' !important;
}

.mobile-footer .panel-heading .panel-title{
    font-size: 20px;
    padding: 10px 0;
}

/*--------------------------------------------------------------
# Index Carousel
--------------------------------------------------------------*/
.index-carousel{
    padding: 0;
}

.index-carousel .img{
    padding-bottom: 33.3%;
}

.btn-prev,
.btn-next{
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: #FFF;
    cursor: pointer;
    z-index: 999;
    transition: all 0.5s;
    box-shadow: 0 0 2px 2px rgba(114,114,114,0.5);
}

.btn-prev i,
.btn-next i{
    font-size: 25px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
}

.btn-prev i{
    left: 48%;
}

.btn-next i{
    left: 52%;
}

.btn-prev:hover,
.btn-next:hover{
    background-color: var(--primary-color);
}

.btn-prev:hover i,
.btn-next:hover i{
    color: #FFF;
}

@media (min-width: 768px) {
    .section-title{
        font-size: 35px;
    }

    .section-subtitle{
        font-size: 25px;
    }

    .section-intro{
        font-size: 15px;
    }

    #placeholderBox{
        height: 70px;
    }

    #header{
        height: 70px;
        padding: 10px 0;
    }

    #header .logo img{
        max-height: 50px;
        width: 70%;
        margin-top: 8px;
    }

    .btn-prev{
        left: 30px;
    }

    .btn-next{
        right: 30px;
    }
}

@media (min-width: 992px) {

}

@media (min-width: 1200px) {
    .section-title{
        font-size: 40px;
    }

    .section-subtitle{
        font-size: 30px;
    }

    .section-intro{
        font-size: 20px;
    }

    #placeholderBox{
        height: 178px;
    }

    #header{
        border-top: 8px solid var(--secondary-color);
        height: 178px;
        padding: 20px 0;
    }

    #header .logo img{
        max-height: 70px;
    }

    .main-nav{
        display: block;
    }

    .main-nav a{
        padding: 0 25px;
    }

    .mobile-nav{
        display: none;
    }

    .mobile-nav-toggle{
        display: none;
    }
    .other-nav{
        display: inline-flex !important;
    }
    .navAfter,.navBefore,.lineAfter,.lineBefore,.nav-form-input{
        display: block !important;
    }
    .main-footer{
        display: block;
    }

    .mobile-footer{
        display: none;
    }

    .btn-prev{
        left: 180px;
    }

    .btn-next{
        right: 180px;
    }
}

@media (max-width: 767px) {
    section{
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .section-title{
        font-size: 30px;
    }

    .section-subtitle{
        font-size: 20px;
    }

    .section-intro{
        font-size: 15px;
    }

    #placeholderBox{
        height: 60px;
    }

    #header{
        height: 60px;
        padding: 15px 0;
    }

    #header .logo img{
        max-height: 40px;
        width: 70%;
    }

    .mobile-nav-toggle i{
        margin: 10px 15px 0 0;
    }

    .btn-prev,
    .btn-next{
        width: 30px;
        height: 30px;
    }

    .btn-prev{
        left: 15px;
    }

    .btn-next{
        right: 15px;
    }

    .btn-prev i,
    .btn-next i{
        font-size: 15px;
    }
}