﻿@charset "UTF-8";
/*初始化  reset*/
blockquote,body,button,dd,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,hr,input,legend,li,ol,p,pre,td,textarea,th,ul{margin:0;padding:0}
body,button,input,select,textarea{font:12px/1.5 "Microsoft YaHei", "微软雅黑", SimSun, "宋体", sans-serif;color: #666;}
ol,ul{list-style:none}
a{text-decoration:none}
fieldset,img{border:0;vertical-align:top;}
a,input,button,select,textarea{outline:none;}
a,button{cursor:pointer;}


.box {
    width: 1200px;
    height: 500px;
    margin: 100px auto;
}
.slide {
    position: relative;
    width: 1200px;
    height: 500px;
}
ul {
    margin-left: 100px;
}

ul li {
    position: absolute;
}
ul li img {
    width: 100%;   /* 很重要，继承父盒子宽度 */
    cursor: pointer;
}
.arrow {
    position: relative;
    width: 1200px;
    height: 500px;
    opacity: 0; /* 因为要变透明，所以不能用display:none */
}
.arrow .prev,
.arrow .next {
    position: absolute;
    width: 76px;
    height: 112px;
    z-index: 99;    /* 不要在arrow给层级，因为arrow太大，会遮住图片，导致图片不能被点击 */
}
.arrow .prev {
    background: url(../images/prev.png);
    left: 0;
    top: 50%;
    margin-top: -56px;
}
.arrow .next {
    background: url(../images/next.png);
    right: 0;
    top: 50%;
    margin-top: -56px;
}