/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap'); */

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    font-size: 0.9em;
    /* overflow: hidden; */
}

ul{
    list-style: none;
}

a{
    text-decoration: none;
}

header{
    position: sticky;
    top: 0px;
    background-color: #b3923ad2;
    width: 100%;
    z-index: 10;
    /* -webkit-box-shadow: 0px 1px 1px rgb(151, 150, 143);
	-moz-box-shadow: 0px 1px 1px rgb(151, 150, 143);
	box-shadow: 0px 1px 1px rgb(151, 150, 143); */
    z-index: 2;
}

.tpl_container{
    /* max-width: 700px; */
    padding: 0 15px;
    margin: 0 auto;
    display: flex;
    position: relative;
    height: 41px;
}

.logo-tpl_container{
    /* flex: 1; */
    display: flex;
    align-items: center;
}

.nav-btn{
    flex: 3;
    display: flex;
}

.nav-links{
    flex: 2;
}

.log-sign{
    display: flex;
    justify-content: center;
    align-items: center;
    /* flex: 1; */
}

.logo{
    color: white;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 20px;
}

.logo a{
    /* font-weight: 1300; */
    color: white;
    text-decoration: none;
}
.logo a img{
    height: 40px;
}

.btn{
    display: inline-block;
    padding: 5px 6px;
    font-size: 12px;
    border: 2px solid #fff;
    line-height: 12px;
    margin: 0 5px;
    transition: .3s;
    text-transform: uppercase;
}

.btn.solid, .btn.transparent:hover{
    background-color: #fff;
    color: #69bde7;
}

.btn.transparent, .btn.solid:hover{
    background-color: transparent;
    color: #fff;
}

.nav-links > ul{
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-link{
    position: relative;
    padding-left: 0px;
}

.nav-link > a{
    line-height: 10px;
    color: #fff;
    letter-spacing: 1px;
    font-size: 12px;
    /* display: flex; */
    align-items: center;
    justify-content: space-between;
    transition: .5s;
    text-decoration: none;
    padding-top: 15px;
}

.nav-link > a > i{
    margin-left: .2rem;
}

.nav-link:hover > a{
    transform: scale(1.1);
}

.dropdown{
    position: absolute;
    top: 100%;
    left: 0;
    width: 10rem;
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: .3s;
}

.dropdown ul{
    position: relative;
}

.dropdown-link > a{
    display: flex;
    background-color: #b3923ad2;
    padding: .5rem 1rem;
    font-size: .8rem;
    align-items: center;
    justify-content: space-between;
    transition: .3s;
    text-decoration: none;
    opacity: 1;
}

 

.dropdown-link:hover > a{
    background-color: #7d9256;
    color: white;
}

.dropdown-link:not(:nth-last-child(2)){
    border-bottom: 1px solid #efefef;
}

/* a:link { color: white; }          未访问链接
 a:visited { color: purple; }     已访问链接
 a:hover { color: yellow; }   用户鼠标悬停
a:active { color: red; }         激活链接
p:active { color: inherit; }   激活段落 */

.dropdown-link i{
    transform: rotate(-90deg);
}

.arrow{
    position: absolute;
    width: 11px;
    height: 11px;
    top: -5.5px;
    left: 32px;
    background-color: #fff;
    transform: rotate(45deg);
    cursor: pointer;
    transition: .3s;
    z-index: -1;
}

.dropdown-link:first-child:hover ~ .arrow{
    background-color: #3498db;
}

.dropdown-link{
    position: relative;
}

.dropdown.second{
    top: 0;
    left: 100%;
    padding-left: .8rem;
    cursor: pointer;
    transform: translateX(10px);
}

.dropdown.second .arrow{
    top: 10px;
    left: -5.5px;
}

.nav-link:hover > .dropdown,
.dropdown-link:hover > .dropdown{
    transform: translate(0, 0);
    opacity: 1;
    pointer-events: auto;
}

.hamburger-menu-tpl_container{
    flex: 1;
    display: none;
    align-items: center;
    justify-content: flex-end;
}

.hamburger-menu{
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hamburger-menu div{
    width: 1.6rem;
    height: 3px;
    border-radius: 3px;
    background-color: #fff;
    position: relative;
    z-index: 1001;
    transition: .5s;
}

.hamburger-menu div:before,
.hamburger-menu div:after{
    content: '';
    position: absolute;
    width: inherit;
    height: inherit;
    background-color: #fff;
    border-radius: 3px;
    transition: .5s;
}

.hamburger-menu div:before{
    transform: translateY(-7px);
}

.hamburger-menu div:after{
    transform: translateY(7px);
}

#check{
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    z-index: 90000;
    cursor: pointer;
    opacity: 0;
    display: none;
}

#check:checked ~ .hamburger-menu-tpl_container .hamburger-menu div{
    background-color: transparent;
}

#check:checked ~ .hamburger-menu-tpl_container .hamburger-menu div:before{
    transform: translateY(0) rotate(-45deg);
}

#check:checked ~ .hamburger-menu-tpl_container .hamburger-menu div:after{
    transform: translateY(0) rotate(45deg);
}

@keyframes animation{
    from{
        opacity: 0;
        transform: translateY(15px);
    }
    to{
        opacity: 1;
        transform: translateY(0px);
    }
}

/*media 780px start*/
@media (max-width: 780px){
    .hamburger-menu-tpl_container{
        display: flex;
    }

    #check{
        display: block;
    }

    .nav-btn{
        position: fixed;
        height: calc(100vh - 1rem);
        top: 40px;
        left: 0;
        width: 100%;
        background-color: #939a9e;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        overflow-x: hidden;
        overflow-y: auto;
        transform: translateX(100%);
        transition: .65s;
    }

    #check:checked ~ .nav-btn{
        transform: translateX(0);
    }

    #check:checked ~ .nav-btn .nav-link,
    #check:checked ~ .nav-btn .log-sign{
        animation: animation .5s ease forwards var(--i);
    }

    .nav-links{
        flex: initial;
        width: 100%;
    }

    .nav-links > ul{
        flex-direction: column;
    }

    .nav-link{
        width: 100%;
        opacity: 0;
        transform: translateY(15px);
    }

    .nav-link > a{
        line-height: 3rem;
        padding: 1.6rem 2rem;
        font-size: 1.2rem;
    }

    .nav-link:hover > a{
        transform: scale(1);
        background-color: green;
        border-radius: 12px;
    }

    .dropdown, .dropdown.second{
        position: initial;
        top: initial;
        left: initial;
        transform: initial;
        opacity: 1;
        pointer-events: auto;
        width: 100%;
        padding: 0;
        background-color: #3183ac;
        display: none;
    }
    .dropdown.second{
        background-color: #2d9786;
    }
    .dropdown.second a:hover{
        background-color: #6ecabc;
    }
    
    .nav-link:hover > .dropdown,
    .dropdown-link:hover > .dropdown{
        display: block;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        border-top-right-radius: 12px;
    }

    .nav-link:hover > a > i,
    .dropdown-link:hover > a > i{
        transform: rotate(360deg);
    }

    .dropdown-link > a{
        background-color: transparent;
        color: #fff;
        padding: 1.2rem 2rem;
        line-height: 1;
    }

    .dropdown.second .dropdown-link > a{
        padding: 1.2rem 2rem 1.2rem 3rem;
    }

    .dropdown.second .dropdown.second .dropdown-link > a{
        padding: 1.2rem 2rem 1.2rem 4rem;
    }

    .dropdown-link:not(:nth-last-child(2)){
        border-bottom: none;
    }

    .arrow{
        z-index: 1;
        background-color: #69bde7;
        left: 10%;
        transform: scale(1.1) rotate(45deg);
        transition: .5s;
    }

    .nav-link:hover .arrow{
        background-color: #50a9d6;
    }

    .dropdown .dropdown .arrow{
        display: none;
    }

    .dropdown-link:hover > a{
        background-color: #3a91bd;
        border-radius: 12px;
    }

    .dropdown-link:first-child:hover ~ .arrow{
        background-color: #2de9e9;
    }

    .nav-link > a > i{
        font-size: 1.1rem;
        transform: rotate(-90deg);
        transition: .7s;
    }

    .dropdown i{
        font-size: 1rem;
        transition: .7s;
    }

    .log-sign{
        flex: initial;
        width: 100%;
        padding: 5.5rem 1.9rem;
        justify-content: flex-start;
        opacity: 0;
        transform: translateY(15px);
    }
    .log-sign .btn{
        font-size: 16px;
        padding: 15px 50px;
    }
}
/*media 780px end*/

/*message box*/
#message_box{
	border: 3px solid #04fc42;
    background-color: #cae8ca;
	position: fixed;
	width: 50%;
	font-size: 1.1em;
	padding: 3px;
	text-align: center;
	height: auto;
	/* opacity: 1; */
	z-index: 9999;
	font-weight: bold;
    top: 0;
    left: 0;
}

/*pagination*/
.page-item.active .page-link {
    /* background-color: transparent; */
    border-color: rgb(245, 219, 170);
}
.page-link {
    background-color: transparent;
}

.fg-toolbar.ui-toolbar.ui-widget-header.ui-helper-clearfix.ui-corner-bl.ui-corner-br{
    margin: 0;
}
.dataTables_wrapper .dataTables_paginate{
    padding: 2px;
}
