/* remove canvas default margin */
canvas {
    display: block;
    vertical-align: bottom;
}

#particles-js {
    width: 100%;
    height: 95%;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #001227;
}

::-webkit-scrollbar-track-piece {
    background-color: #001227;
    -webkit-border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background-color: #00a5ea;
    -webkit-border-radius: 4px;
    outline: 2px solid #00a5ea;
    outline-offset: -2px;
    border: 2px solid #00a5ea;
}

* {
    -moz-box-sizing: border-box; /*Firefox3.5+*/
    -webkit-box-sizing: border-box; /*Safari3.2+*/
    -o-box-sizing: border-box; /*Opera9.6*/
    -ms-box-sizing: border-box; /*IE8*/
    box-sizing: border-box;
}

::-webkit-input-placeholder {
    color: #fff;
}

::-moz-placeholder {
    color: #fff;
}

::-ms-input-placeholder {
    color: #fff;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: #fff;
}

body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/body_bg.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -moz-background-size: 100% 100%;
}

input[type=text] {
    text-align: left;
    border: 1px solid #00a0e9;;
    background-color: rgb(0, 0, 0, 0);
    border-radius: 5px;
    outline: none;
    color: #fff;
    height: 25px;
    font-size: 16px;
    padding-left: 5px;
    line-height: 25px;
}

.button {
    background-color: #0f87ee;
    width: auto;
    height: auto;
    text-align: center;
    border-radius: 2px;
    cursor: pointer;
    padding: 5px;
    color: #fff;
    padding-left: 15px;
    padding-right: 15px;
}

.button:ACTIVE {
    background-color: #00acec;
}

.baocunbtn {
    background-color: #0f87ee;
    width: auto;
    height: auto;
    text-align: center;
    border-radius: 2px;
    cursor: pointer;
    padding: 5px;
    color: #fff;
    padding-left: 15px;
    padding-right: 15px;
}

.tools_wrapper {
    height: 60px;
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    position: relative;
    font-size: 18px;
}

.tools_wrapper .titles {
    background-image: url(../img/banner_title.png);
    height: 75px;
    width: 400px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    position: absolute;
    top: 0px;
    left: 50%;
    margin-left: -195px;
    line-height: 75px;
    text-align: center;
    font-size: 24px;
    color: #fff;
}

.tools_wrapper .nav {
    color: #fff;
    line-height: 60px;
    position: absolute;
    overflow: hidden;
    height: 50px;
}

.tools_wrapper .nav a {
    margin-right: 15px;
}

.tools_wrapper .nav.left {
    left: 50%;
    margin-left: -480px;
}

.tools_wrapper .nav.right {
    left: 50%;
    margin-left: 220px;
}

.tools_wrapper .nav.user {
    right: 15px;
    width: auto;
}

.tools_wrapper .nav.user .user_icon {
    background-image: url('../img/icon_user.png');
    float: left;
    width: 30px;
    height: 30px;
    line-height: 50px;
    margin-top: 10px;
    margin-right: 10px;
}

/* float: left; */

/* 翻页插件 */
.page_div {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 15px;
    font-family: "microsoft yahei";
    color: #d0d0d0;
    margin-right: 10px;
    padding-left: 20px;
    box-sizing: border-box;
}

.page_div a {
    min-width: 30px;
    height: 28px;
    border: 1px solid #00bbf1;
    text-align: center;
    margin: 0 4px;
    cursor: pointer;
    line-height: 28px;
    color: #d0d0d0;
    font-size: 13px;
    display: inline-block;
}

#firstPage, #lastPage {
    width: 50px;
    color: #00bbf1;
    border: 1px solid #00bbf1 !important;
}

#prePage, #nextPage {
    width: 70px;
    color: #00bbf1;
    border: 1px solid #00bbf1 !important;
}

.page_div .current {
    background-color: #00bbf1;
    border-color: #00bbf1;
    color: #FFFFFF;
}

.totalPages {
    margin: 0 10px;
}

.totalPages span, .totalSize span {
    color: #00bbf1;
    margin: 0 5px;
}

input[type=checkbox] {
    display: none;
}

input[type=checkbox] + label:before {
    content: "\2713";
    color: transparent;
    display: inline-block;
    border: 1px solid #0f87ee;
    font-size: 20px;
    line-height: 18px;
    margin: -3px 5px 0 0;
    height: 18px;
    width: 18px;
    text-align: center;
    vertical-align: middle;
    transition: color ease .3s;
}

input[type=checkbox]:checked + label:before {
    color: #0f87ee;
}