@font-face {
    font-family: 'lmhx';
    src: url('../fonts/lmhx.ttf') format('truetype');
    font-weight: normal;
}

.nav ul li:hover .subNav {
    -webkit-animation-name: fadeInUpSmall;
    animation-name: fadeInUpSmall;
    animation-duration: 0.6s;
    -webkit-animation-duration: 0.6s;
    animation-timing-function: ease-in-out;
    -webkit-animation-timing-function: ease-in-out;
    visibility: visible !important;
    display: block;
}

.fadeInUpSmall {
    -webkit-animation-name: fadeInUpSmall;
    animation-name: fadeInUpSmall;
    animation-duration: 0.4s;
    -webkit-animation-duration: 0.4s;
    animation-timing-function: ease-in-out;
    -webkit-animation-timing-function: ease-in-out;
    visibility: visible !important;
}

@-webkit-keyframes fadeInUpSmall {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 20px, 0);
        transform: translate3d(0, 20px, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInUpSmall {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 20px, 0);
        -ms-transform: translate3d(0, 20px, 0);
        transform: translate3d(0, 20px, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }
}

@keyframes flipInY {
    from {
        -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
        transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 0;
    }

    40% {
        -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
        transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    60% {
        -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
        transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
        opacity: 1;
    }

    80% {
        -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
        transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    }

    to {
        -webkit-transform: perspective(400px);
        transform: perspective(400px);
    }
}

.nav {
    padding-top: 48px;
}

#nav li>a {
    line-height: 18px;
    color: #fff;
    font-size: 22px;
    line-height: 24px;
    position: relative;
    display: block;
    font-weight: bold;
    padding: 20px 5px;
    position: relative;
}

#nav2 li>a {
    line-height: 18px;
    color: #fff;
    font-size: 22px;
    line-height: 24px;
    position: relative;
    display: block;
    font-weight: bold;
    padding: 20px 5px;
    position: relative;
}

#nav li>a:hover,
#nav2 li>a:hover {
    margin-top: 4px;
}

.nav li:last-child>a::before {
    content: '';
    display: none;
}

.nav li.on .subNav {
    display: block;
}

.nav li {
    /* padding: 20px 0px; */
    position: relative;
    display: block;
    z-index: 50;
    float: left;
}

.nav li:first-child {
    text-align: left;
}

.nav li span.gp-f12 {
    line-height: 45px;
}

.nav li.on>a {
    color: #fff;
}

.subNav {
    background: #B9000A;
    background: -webkit-linear-gradient(bottom, rgba(185, 0, 10, 1), rgba(185, 0, 10, 1));
    /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(bottom, rgba(185, 0, 10, 1), rgba(185, 0, 10, 1));
    /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(bottom, rgba(185, 0, 10, 1), rgba(185, 0, 10, 1));
    /* Firefox 3.6 - 15 */
    background: linear-gradient(to bottom, rgba(185, 0, 10, 1), rgba(185, 0, 10, 1));
    left: calc(50% - 73px);
    width: 146px;
    /* padding: 10px; */
    /* top: 57px; */
    z-index: 1000;
}

.gp-menu-nav>ul li {
    text-align: left;
}

.nav li:last-child .subNav {}

.gp-menu-nav {
    background: #B9000A;
    background: -webkit-linear-gradient(bottom, rgba(185, 0, 10, 1), rgba(185, 0, 10, 1));
    /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(bottom, rgba(185, 0, 10, 1), rgba(185, 0, 10, 1));
    /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(bottom, rgba(185, 0, 10, 1), rgba(185, 0, 10, 1));
    /* Firefox 3.6 - 15 */
    background: linear-gradient(to bottom, rgba(185, 0, 10, 1), rgba(185, 0, 10, 1));
}

header.currents {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    background: #A40000;
    position: fixed;
    left: 0;
    z-index: 200;
    top: 0;
}

header.currents .logo {
    background: none;
}

header.currents .gp-serBtn2 {
    background: url(../images/serbtn.png) no-repeat 8px 8px;
}

header.currents .eg {
    background: none;
}

header.currents::before {
    display: none;
}

header {
    border-top: 10px solid #B9000A;
    /* position: relative; */
    text-align: center;
    position: absolute;
    width: 100%;
    z-index: 10;
}

header .gp-container {
    position: relative;
}

header::before {
    content: '';
    display: block;
    width: 100%;
    height: 226px;
    background: #000;
    position: absolute;
    left: 0;
    z-index: -1;
    top: 0;
    background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    /* Firefox 3.6 - 15 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.logo {
    padding: 20px;
    background: #B9000A;
    border-bottom-right-radius: 21px;
    border-bottom-left-radius: 21px;
    display: inline-block;
    max-width: 37%;
    /* margin: 0 auto; */
    /* float: left; */
    /* margin: 0 70px 0 0; */
}

.logo2 span {
    font-size: 26px;
    font-family: 'lmhx';
    text-align: left;
    letter-spacing: 0px;
}

.logo2 {
    display: inline-block;
}

.logo2 p {
    word-spacing: 0;
    font-family: 'Arial';
    font-size: 14px;
}

.gp-serBtn2 {
    width: 40px;
    height: 40px;
    background: #B9000A url(../images/serbtn.png) no-repeat 8px 8px;
    position: absolute;
    right: 153px;
    top: 0px;
}

.eg {
    background: #B9000A;
    padding: 10px 20px;
    /* padding-bottom: 12px; */
    text-align: center;
    margin-left: 13px;
    position: absolute;
    right: 0;
    top: 0px;
}

.gp-search2.active {
    width: 200px;
    border: 1px solid #ccc;
    height: 36px;
    position: absolute;
    line-height: 36px;
    margin-top: 0px;
    /* margin-right: 432px; */
    right: 142px;
}

.gp-search input.notxt {
    outline: none;
}

.logo>span {
    display: inline-block;
    /* width: 50px; */
}

footer {
    background: #B9000A;
    padding-top: 45px;
    padding-bottom: 35px;
}

footer p {
    display: block;
    margin-bottom: 15px;
}


footer p:nth-child(1) {
    margin-left: 0;
}

footer p:last-child {
    margin-bottom: 0;
}
.ewm{
    width: 150px;
    height: 150px;
    margin-left: 20px;
}
.subNav {
    /* width: 100%; */
    background: white;
}

.subNav {
    position: absolute;
    /* left: 0; */
    top: 51px;
    display: none;
    /* opacity: 0; */
}

.nav ul li.on .subNav {
    display: block;
    /* opacity: 1; */
}

.subNav dd {
    width: 100%;
}

.subNav a {
    color: #333;
    padding: 8px 10%;
    display: block;
    border-bottom: 1px solid #e2e2e2;
    width: 80%;
}

.subNav a:hover {
    background-color: #a40000;
    color: white;
}
.footer{
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
}
@media screen and (max-width: 1461px) {
    .gp-container {
        width: 1300px;
    }

    #nav li>a {
        font-size: 18px;
        line-height: 24px;
        padding: 20px 6px;
    }

    #nav2 li>a {
        font-size: 18px;
        line-height: 24px;
        padding: 20px 5px;
    }

    footer p {
        /* margin: 0 14px; */
    }

    .subNav a {
        font-size: 14px;
    }
}

@media screen and (max-width:1321px) {
    .gp-container {
        width: 1100px;
    }

    footer p {
        /* margin: 0 10px; */
        /* font-size: 12px !important; */
    }
}

@media screen and (max-width:1201px) {
    .gp-container {
        width: 1000px;
    }

    #nav li>a {
        padding: 20px 6px;
        font-size: 15px;
    }

    #nav2 li>a {
        padding: 20px 6px;
        font-size: 15px;
    }

    .subNav a {
        font-size: 12px;
    }

  
}

@media screen and (max-width:1100px) {
    .gp-container {
        width: 900px;
    }

    .logo {
        max-width: 30%;
    }

    /* .logo>span {
        width: 60px;
    } */

    .logo2 span {
        font-size: 34px;
    }

    .logo2 {
        display: inline-block;
    }

    .logo2 p {
        word-spacing: 3.26px;
    }
}

@media screen and (max-width:996px) {
    .gp-menu-nav {
        display: block !important;
    }

    .nav,
    .gp-serBtn2,
    .eg {
        display: none !important;
    }

    .eg2 {
        display: block !important;
        margin-top: 24px;
    }

    .search {
        width: 160px;
        height: 38px;
        margin: 20px 0;
        /* float: left; */
        position: static;
        margin-left: 24px;
    }

    header::before {
        height: 60px;
    }
}

@media screen and (max-width:768px) {  footer {
        text-align: center;
    }

    footer p {
        display: inline-block;
        font-size: 14px !important;
        margin: 0 5px;
        line-height: 24px;
    }.footer{flex-direction: column;align-items: center;}
    .ewm{margin: 0px 0 0;}}

@media screen and (max-width:600px) {
    .logo>span {
        width: 40px;
    }

    .logo2 span {
        font-size: 24px;
        text-align: left;
    }

    .logo2 {
        display: inline-block;
        text-align: left;
    }

    .logo2 p {
        word-spacing: 1.26px;
    }

    .logo {
        padding: 10px;
        background: none;
    }

    .headertop::before {
        height: 50px;
    }

    .headertop {
        background: #B9000A
    }

    .logo>span {
        width: 300px;
    }

    .logo2 span {
        font-size: 26px;
        text-align: left;
        letter-spacing: 0px;
    }

    .logo2 {
        display: inline-block;
        text-align: left;
    }

    .logo2 p {
        word-spacing: 0;
    }

    .logo {
        padding: 6px;
    }

    .headertop {
        text-align: left;
    }

    header {
        position: static;
    }
}

@media screen and (max-width:479px) {}

@media screen and (max-width:400px) {}
