body{
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "微软雅黑", "STXihei", "文泉驿微米黑", "DroidSans", "宋体";
    font-size: 12px;
    background-color: black;
}

.logo{
	position: absolute;
	top: 0;
	left: 220px;
	border: 1px solid rgba(255, 255, 255, .2);
}

.topbar{
    background-color: black;
    background-image: url("./icons/topbg.jpg");
    background-attachment: scroll;
    background-position: top center;
    background-size: auto 100%;
    position: relative;
}

.topbar-explain{
    color: white;
    width: 650px;
    margin: 0 auto;
    background-color: transparent;
    background-image: url("./icons/tipsbg.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    padding: 3px 15px;
}

.topbar-explain h5{
    margin: 0 0 0 25px;
    font-size: 16px;
}

.navbar{
    margin: 0 auto;
    background-color: #3c6b2b;
    width: 1000px;
    color: white;
    position: relative;
    display: block;
}

.navbar:before,
.navbar:after{
    border-color: #63934c;
    border-style: solid;
    border-width: 21px;

    content: "";
    width: 0;
    height: 0;
    top: 0;
    position: absolute;
}

.navbar:before{
    border-left-color: transparent;
    right: 100%;
}

.navbar:after{
    border-color: #3c6b2b;
    border-right-color: transparent;
    left: 100%;
}

.nav-left,
.nav-right{
    display: inline-block;
    font-size: 16px;
    padding: 10px 18px;
    position: relative;
}

.nav-left{
    background-color: #63934c;
}

.nav-left:after{
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: #63934c;
    border-left-color: #63934c;
    border-style: solid;
    border-width: 21px;

    content: "";
    height: 0;
    width: 0;
    top: 0;
    left: 100%;
    position: absolute;
}

.nav-right{
    background-color: #3c6b2b;
    color: red;
    margin-left: 37px;
    font-weight: bold;
}

.nav-right:before{
    border-top-color: #3c6b2b;
    border-right-color: #3c6b2b;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-style: solid;
    border-width: 21px;

    content: "";
    width: 0;
    height: 0;
    top: 0;
    right: 100%;
    position: absolute;
}

.list{
    background-color: black;
    background-image: url("./icons/rowbg.jpg");
    background-position: top center;
    background-size: auto;
    background-repeat: repeat-y;
    background-attachment: scroll;
    width: 100%;
    margin: 0 auto;
}

.rows{
    width: 1000px;
    margin: 10px auto 70px auto;
    display: block;
}

.rows:last-child{
    margin-bottom: 0;
}

.rows:before,
.rows:after{
    content: "";
    display: table;
    clear: both;
}

.ele{
    width: 233px;
    background: transparent;
    border: 1px solid #328342;
    margin: 5px;
    float: left;
    transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -webkit-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
}

.ele:hover{
    background-color: rgba(50, 131, 66, .5);
    box-shadow: 0 0 20px 3px green;
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
}

.ele h4{
    color: #328342;
    font-weight: bold;
    font-size: 28px;
    text-align: center;
    margin: 5px 0;
}

.ele.out{
    position: relative;
    border-color: gray;
    cursor: not-allowed;
    overflow: hidden;
    background-color: rgba(136, 136, 136, .7);
}

.ele.out:hover{
    box-shadow: 0 0 20px 3px gray;
    transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
}

.ele .out-line,
.ele.out .out-line{
    position: absolute;
    color: white;
    top: -68px;
    left: 30px;
    font-size: 54px;
    text-shadow: 1px 1px 2px black;
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transition: all .5s ease-out;
}

.ele.out .out-line.hover{
    top: 50%;
    transform: rotate(-30deg);
    -webkit-transform: rotate(-30deg);
    -o-transform: rotate(-30deg);
}

.ele.out h4{
    color: white;
    text-decoration: line-through;
    text-shadow: 1px -1px 0 black;
}

.ele.out .img img{
	opacity: 1;
    transition: all .2s ease-in-out;
}

.ele.out .img.hover img{
    transform: rotateY(90deg);
    -webkit-transform: rotateY(90deg);
    -o-transform: rotateY(90deg);
    opacity: 0;
}

.ele.out .banner{
    background-color: rgba(136, 136, 136, .7);
    transition: all .3 linear;
}

.ele.out .banner.hover{
    opacity: 0;
}

.ele.out .like-btn{
    background-color: transparent;
    background-image: repeating-linear-gradient(-45deg, #888, #888 10px, #333 10px, #333 20px);
    text-decoration: line-through;
    border: 1px solid #CCC;
    box-shadow: none;
    cursor: not-allowed;
}

.img img{
    width: 234px;
}

.banner{
    background-color: #8dc881;
    padding: 2px 10px;
}

.like-btn{
    background-color: #6fa968;
    background-image: linear-gradient(to bottom, #568d53 0%,#66b45f 50%,#58964d 51%,#568d53 100%);
    border: 1px solid gray;
    padding: 15px 10px;
    color: white;
    width: 110px;
    font-weight: bold;
    text-shadow: 0 0 1px black;
    font-size: 14px;
    box-shadow: 0 0 20px 2px rgba(84, 143, 84, .3) inset;
    cursor: pointer;
}

.like-btn.liked{
    cursor: not-allowed;
    color: #f00;
}

.number{
    color: white;
    font-size: 16px;
    display: inline-block;
    width: 65px;
    text-align: center;
}

.banner .likeit{
    width: 30px;
    height: 33px;
    vertical-align: middle;
    padding: 0;
}

.likeit-hover{
    animation: rotate_y 3s infinite alternate;
    -webkit-animation: rotate_y 3s infinite alternate;
    -o-animation: rotate_y 3s infinite alternate;
}

.red{
    color: #f00;
}

#dialog{
    position: fixed;
    top: 100px;
    background-color: white;
    border-radius: 10px;
    border: 3px solid #009944;
    box-shadow: 0 0 3px 3px rgba(0,0,0,.7);
    padding: 10px 20px;
    display: none;
    z-index: 10;
}

#dialog p{
    text-align: center;
}

#dialog .dialog-btns{
    width: 100%;
    text-align: center;
}

#dialog .dialog-btn{
    background-color: #70a043;
    background-image: linear-gradient(to bottom, #95c26a 0%,#6a9a3d 50%,#5c8c2f 51%,#326106 100%);
    width: 40%;
    margin: 0;
    padding: 7px 9px;
    color: white;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}


#login-dialog{
    display: none;
    position: fixed;
    background-color: rgba(0,0,0,.3);
    width: 400px;
    top: 100px;
    left: 200px;
    z-index: 10;
    padding: 0;
    box-shadow: 0 0 3px 3px rgba(0,0,0,.8);
    border: 8px dotted green;
    border-radius: 5px;
}

#login-dialog form{
    background-color: white;
    margin: 0;
    padding: 10px;
    border-radius: 5px;
}

#login-dialog form h3{
    text-align: center;
    font-size: 16px;
    color: #377A2A;
    margin-top: 5px;
}

#login-dialog .fi{
    display: black;
    width: 100%;
    margin: 10px 2px;
    padding: 3px 0px;
}

#login-dialog .fi label{
    display: inline-block;
    width: 20%;
    text-align: right;
    margin-right: 10px;
}

#login-dialog .fi input{
    display: inline-block;
    width: 60%;
    background-color: white;
    padding: 8px 5px;
    color: black;
    font-weight: bold;
    border-radius: 2px;
    border: 1px solid gray;
    transition: all .3s linear;
    -moz-transition: all .3s linear;
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
}

#login-dialog .fi input:hover{
    border-color: rgba(0, 200, 222, .5);
}

#login-dialog .fi input:focus{
    box-shadow: 0 0 3px 1px rgba(0, 200, 200, .7), 0 0 1px 1px rgba(34, 189, 219, .2) inset;
}

#login-dialog .fi label:after{
    content: ":";
}

#login-dialog .btns{
    display: block;
    text-align: right;
    width: 85%;
}

#login-dialog button{
    background-color: #C2F0C6;
    border-radius: 2px;
    border: 1px solid #7CCB83;
    padding: 4px 8px;
}

#login-dialog .btns a{
    color: black;
}

#login-dialog .XX{
    position: absolute;
    background-color: white;
    height: 10px;
    width: 10px;
    top: -20px;
    right: -20px;
    height: auto;
    width: auto;
    font-weight: bold;
    font-size: 18px;
    color: red;
    border-radius: 20px;
    border: 3px solid green;
    cursor: pointer;

    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transition: all .5s linear;
    -moz-transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -o-transition: all .5s linear;
}

#login-dialog .XX:hover{
    box-shadow: 0 0 5px 1px black;
    transform: rotate(0);
    -moz-transform: rotate(0);
    -webkit-transform: rotate(0);
    -o-transform: rotate(0);
}

.prized{
    position: absolute;
    top: 500px;
    right: 50px;
    color: white;
    border-radius: 10px;
    border: 1px solid yellow;
    padding: 10px 20px;
    background-color: #0a590e;
    box-shadow: 0 0 20px 3px rgba(0,0,0,.7) inset;
}

@keyframes rotate_y{
    0%{
        transform: rotateY(90deg);
        -o-transform: rotateY(90deg);
    }
    20%{
        transform: rotateY(180deg);
        -o-transform: rotateY(180deg);
    }
    40%{
        transform: rotateY(90deg);
        -o-transform: rotateY(90deg);
    }
    60%{
        transform: rotateY(0deg);
        -o-transform: rotateY(0deg);
    }
    100%{
        transform: rotateY(0deg);
        -o-transform: rotateY(0deg);
    }
}
@-webkit-keyframes rotate_y{
    0%{
        -webkit-transform: rotateY(90deg);
    }
    20%{
        -webkit-transform: rotateY(180deg);
    }
    40%{
        -webkit-transform: rotateY(90deg);
    }
    60%{
        -webkit-transform: rotateY(0deg);
    }
    100%{
        -webkit-transform: rotateY(0deg);
    }

}
