@charset "utf-8";
/* CSS Document */

.placeHolderUp {height: 60px;}
.show-txt {display: inline-block;}

html, body {
    width: 100%;
    height: 100%;
}
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #251254;
}

a, a:link, a:visited, a:hover, a:active {
    
    text-decoration: none;
}
.txt-c {text-align: center;}
.txt-r {text-align: right;}

header {
    width: 100%;
    height: 60px;
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    color: whitesmoke;
    font-size: 1em;
	font-weight: bold;
    background-image: linear-gradient(45deg, #921da7, #007aba);
    /*-webkit-box-shadow: 0 5px 20px #180c37;*/
    /*box-shadow: 0 5px 20px #180c37;*/
    z-index: 1000;
    transition: .3s;
}
#box-nav {
    position: relative;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}
.logo {
	width: 50%;
	height: 60px;
    float: left;
    background: no-repeat 25% 50%;
    background-size: auto 60px;
    transition: .3s;
    cursor: pointer;
}
#language {
    position: fixed;
    width: 150px;
    height: 60px;
    bottom: 30px;
    left: 3%;
    border-radius: 0 0 7px 7px;
}
#language img, #langselect li img {
    width: 60px;
    padding: 5px;
    cursor: pointer;
}
#langselect li p {display: inline-block;}
#langselect {
    position: absolute;
    width: 100%;
    height: 60px;
    top: -60px;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 7px 7px 0 0;
    display: none;
    transition: .3s;
}
#mainNav {
    width: 50%;
    float: left;
    transition: .3s;
}
#mainNav a {
    position: relative;
    display: block;
    float: left;
    width: 25%;
    height: 60px;
    border-left: 1px solid #251254;
    transition: .3s;
}
#mainNav a:hover {
    background: #a81da5;
    -webkit-box-shadow: 0 0 20px #180c37;
    box-shadow: 0 0 20px #180c37;
}
#last-a {border-right: 1px solid #251254;}
#mainNav a img {
    display: block;
    height: 60px;
    margin: auto;
    padding: 10px 0;
    transition: .3s;
}
#mainNav a p {
    position: absolute;
    text-align: center;
    top: 17px;
    width: 100%;
    opacity: 0;
    transition: .3s;
}

#open-m-nav, #close-m-nav, #line-m-nav {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 30px;
    display: none;
}
#close-m-nav {
    opacity: 0;
    z-index: -1;
}
#line-m-nav {z-index: -2;}
.line {
    position: absolute;
    width: 100%;
    height: 4%;
    background: white;
    transition: .3s;
}
#l1 {top: 15%;}
#l2 {top: 48%;}
#l3 {top: 81%;}

.bg-m-nav {
    position: fixed;
    width: 100%;
    height: 100%;
    display: none;
}
#roate0 {
    background: #251254;
    z-index: 900;
}
#roate1 {
    background: #a81da5;
    z-index: 901;
}
#roate2 {
    background: #251254;
    z-index: 902;
}
#roate3 {
    background: #a81da5;
    z-index: 903;
}
#roate4 {
    background-image: linear-gradient(80deg, #251254, #48105f);
    z-index: 904;
}
#nav-mobile {
    position: absolute;
    width: 100%;
    height: 60%;
    top: 20%;
}
.nav-mobile-btn {
    width: 100%;
    height: calc(100% / 6);
}
.nav-mobile-btn a {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 2em;
    font-weight: lighter;
    text-transform: uppercase;
}
.hl {color: rgba(255, 255, 255, .35);}
.initials {
    font-size: 1.5em;
    color: #02eff9;
    text-shadow: 0 0 15px #02eff9;
}


/*------自适应性------*/
@media (max-width: 1280px) {
	.placeHolderUp {height: 42px;}
    header {
        height: 42px;
        /*-webkit-box-shadow: 0 4px 14px #180c37;*/
        /*box-shadow: 0 4px 14px #180c37;*/
    }
    .logo {
        height: 42px;
        background-size: auto 42px;
    }
    #mainNav a {height: 42px;}
    #mainNav a:hover {
        -webkit-box-shadow: 0 0 14px #180c37;
        box-shadow: 0 0 14px #180c37;
    }
    #mainNav a img {
        height: 42px;
        padding: 7px 0;
    }
    #mainNav a p {top: 12px;}
}

@media (max-width: 768px) {
    .logo {width: 35%;}
    #mainNav {width: 65%;}
}

/*@media (max-width: 720px) {*/

/*}*/

@media (max-width: 580px) {
    #open-m-nav, #close-m-nav, #line-m-nav {display: block;}
    header {
        height: 100px;
        background: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .logo {
        width: 50%;
        height: 100px;
        float: none;
        margin: auto;
        background-position: 50% 50%;
        background-size: auto 60px;
    }
    #language {
        width: 100px;
        height: 40px;
        bottom: 30px;
        border-radius: 0 0 5px 5px;
    }
    #language img, #langselect li img {
        width: 40px;
        padding: 4px;
    }
    #langselect {
        height: 40px;
        top: -40px;
        border-radius: 5px 5px 0 0;
    }
    #mainNav {display: none;}
    .bg-m-nav {display: block;}
}
