/* http://www.xd.com 
 *
 * v3 Created By 代立晨
 * 2012-03-22
 *
 * v4
 * 2013-09-22
 *
 * v4 for mobile
 * 2014-11-25
 *
 */

/* Global Styles */
.clearfix:after {
    clear: both;
    content: ' ';
    display: block;
    font-size: 0;
    line-height: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}

ul.clearfix li { float: left; }

*{
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;

    box-sizing:border-box;
    -o-box-sizing:border-box;
    -ms-box-sizing:border-box;
    -icab-box-sizing:border-box;
    -khtml-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;

    /*-webkit-touch-callout: none;*/
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* ios font size */
@media screen and (max-device-width: 960px){
    body{
        -webkit-text-size-adjust:none;
    }
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

html {
    overflow-y:scroll;
    overflow-x:hidden;
    font-size: 10px;
}
body {
    font-family: Arial,sans-serif;
    font-size: 1rem;
    /*防止横向滚动条*/
    background: #fff none;
}
ul {
    list-style: none;
}
ol{
    list-style: decimal inside;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

a{
    text-decoration:none;
    cursor: pointer;
}
a:hover {
    text-decoration:none;
}

a:focus{
    outline: none;
}

span{
    color:inherit;
}
a img{
    vertical-align: middle;
}

label[for]{
    cursor: pointer;
}

/***************************** END OF RESET *********************************/
