/*style for login*/
.header {
    width: 100%;
    height: 70px;
}

.header > li {
    list-style: none;
}

.header .pull-right {
    margin-top: 15px;
    margin-right: 25px;
}

.header .dropdown-menu > li > a {
    padding: 2px 10px !important;
}

.header .dropdown-menu .glyphicon {
    top: 2px !important;
}

.header .dropdown-menu {
    min-width: 120px !important;
}

.header span.personal-basic {
    margin-left: 10px;
}

/*style for footer*/
div.footer > .navbar {
    min-height: 40px !important;
    margin-top: 40px;
    margin-bottom: 0 !important;
}

.message > .right {
    float: left;
    position: absolute;
    right: 5%;
}

.message > .left {
    float: left;
    position: absolute;
    left: 2%;
}

.message > .right > span, .message > .left > span {
    text-align: center !important;
    line-height: 40px !important;
    height: 40px;
}

.right > span > a, .message > .left > span > a {
    color: #666;
    margin-left: 25px;
}

.donate {
    width: 60%;
    margin-top: 5%;
    margin-left: 20%;
}

.donate_lists {
    width: 60%;
    margin-top: 5%;
    margin-left: 20%;
    margin-bottom: 80px;
}

.alert {
    margin-bottom: 0 !important;
}

.move {
    position: fixed;
    bottom: 60px;
    right: 5px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
}

.move > .move_up, .move > .move_down {
    width: 48px;
    height: 48px;
    line-height: 40px;
    border: 1px solid #dcdcdc;
    background-color: #fff;
    transition: .1s ease-in;
    -webkit-transition: .1s ease-in;
    -moz-transition: .1s ease-in;
    -o-transition: .1s ease-in;
    -ms-transition: .1s ease-in;
    cursor: pointer;
}

.move_up > span, .move_down > span {
    width: 45px;
    height: 43px;
    line-height: 43px;
    text-align: center;
    font-size: 20px;
    color: rgba(72, 70, 70, 0.71);
}

.move > .move_up:hover, .move > .move_down:hover {
    background-color: #f9f9f9;
}

.move > .move_up > span:hover, .move > .move_down > span:hover {
    color: #434343;
}

.modal-dialog {
    margin-top: 15% !important;
}

.modal-dialog .modal-content {
    width: 420px;
    height: 250px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .right > span > a {
        margin-left: 5px !important;
        font-size: 12px;
    }

    .modal-dialog .modal-content {
        width: 80%;
        min-width: 265px;
        height: 260px;
        margin-left: auto;
        margin-right: auto;
    }

    label {
        padding-top: 8px !important;
    }

    .navbar-header {
        display: none !important;
    }

    .login > a {
        margin-top: 20px !important;
    }

    .header .pull-right {
        margin-top: 17px !important;
    }

    /*登陆后排版*/
    .header li.pull-right {
        margin-right: 0 !important;
    }
}