@charset "utf-8";

/*手机端导航默认*/

.mobile_bg {
    width: 100%;
    height: 100%;
    z-index: 90;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
}

.gp-menu {
    width: 100%;
    z-index: 999;
    height: 100%;
    position: relative;
    display: none;
}

.gp-menu-header {
    position: relative;
    top: 0;
    right: 0;
    z-index: 996;
    width: 100%;
    height: 133px;
    /* background: rgba(0, 0, 0, 0.2); */
}

.gp-menu-link {
    float: left;
    line-height: 40px;
    height: 40px;
    padding-left: 15px;
    width: 77%;
}

.gp-menu-link a {
    color: #fff;
}
.gp-menu-link a img{ width:100%;}

.gp-menu-header-icon {
    color: #c7000a;
    height: 80px;
    font-size: 80px;
    text-align: center;
    float: right;
    width: 80px;
    position: relative;
    -webkit-transition: background 0.5s;
    -moz-transition: background 0.5s;
    -o-transition: background 0.5s;
    transition: background 0.5s;
    margin-right: 10px;
    cursor: pointer;
}

.gp-menu-header-icon span {
    position: absolute;
    left: calc((100% - 25px) / 2);
    top: calc((100% - 2px) / 3);
    width: 50px;
    height: 3px;
    background-color: #084cb4;
}

.gp-menu-header-icon-out span {
    width: 50px;
    height: 4px;
    background-color: #084cb4;
    display: block;
    border-radius: 4px;
}

.gp-menu-header-icon-out span:nth-child(1) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: outfirst;
}

.gp-menu-header-icon-out span:nth-child(2) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: outsecond;
}

.gp-menu-header-icon-out span:nth-child(3) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: outthird;
}

.gp-menu-header-icon span:nth-child(1) {
    transform: translateY(4px) rotate(0deg);
}

.gp-menu-header-icon span:nth-child(2) {
    transform: translateY(-4px) rotate(0deg);
}

.gp-menu-header-icon span:nth-child(3) {
    transform: translateY(-4px) rotate(0deg);
}

@keyframes outfirst {
    0% {
        transform: translateY(0) rotate(-45deg);
    }
    100% {
        transform: translateY(-5px) rotate(0deg);
    }
}

@keyframes outsecond {
    0% {
        transform: translateY(0) rotate(45deg);
    }
    100% {
        transform: translateY(10px) rotate(0deg);
    }
}

@keyframes outthird {
    0% {
        transform: translateY(0) rotate(90deg);
    }
    100% {
        transform: translateY(25px) rotate(0deg);
    }
}

.gp-menu-header-icon-click span {
    background-color: #fff;
    top: calc((100% - 2px) / 2.1);
}

.gp-menu-header-icon-click span:nth-child(1) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: clickfirst;
}

.gp-menu-header-icon-click span:nth-child(2) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: clicksecond;
}

.gp-menu-header-icon-click span:nth-child(3) {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: clickthird;
}

@keyframes clickfirst {
    0% {
        transform: translateY(4px) rotate(0deg);
    }
    100% {
        transform: translateY(0) rotate(45deg);
    }
}

@keyframes clicksecond {
    0% {
        transform: translateY(-4px) rotate(0deg);
    }
    100% {
        transform: translateY(0) rotate(-45deg);
    }
}

@keyframes clickthird {
    0% {
        opacity: 0
    }
    100% {
        opacity: 0
    }
}

.gp-menu-nav {
    width: 100%;
    position: fixed;
    top: 0;
    right: 0px;
    padding-top: 40px;
    background: #084cb4;
    display: none;
}


/*导航*/

.gp-menu-nav a {}

.gp-menu-nav>ul {}

.gp-menu-nav>ul li {
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: returnToNormal;
    animation-name: returnToNormal;
}

.gp-menu-nav>ul>li {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.gp-menu-nav>ul>li>a {
    display: inline-block;
    padding: 14px 0 14px 25px;
}

.gp-menu-nav>ul>li>ul {
    background: rgba(0, 0, 0, 0.1);
    padding: 0 25px
}

.gp-menu-nav>ul>li>ul a {
    display: inline-block;
    padding: 10px 0;
}

.gp-menu-arrow {
    cursor: pointer;
    width: 30px;
    height: 50px;
    line-height: 50px;
    color: #fff;
    text-align: center;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 2rem;
    margin-right: 10px;
    transition: all 0.3s ease-in-out;
}

.gp-menu-nav>ul>li.on .gp-menu-arrow {
    transform: rotate(90deg);
}

.gp-menu-nav li ul {
    display: none;
}


/*导航内标签效果*/

.gp-menu-nav a {
    color: #fff;
}

.open .gp-menu-link {
    display: none;
}

.open .gp-menu-header {
    background: none;
}

@-webkit-keyframes returnToNormal {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes returnToNormal {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@media screen and ( max-width:1023px) {
    .header1 {
        display: none;
    }
    .gp-menu {
        display: block;
    }
}