﻿/*!
 * @名称：base.css
 * @功能：1、重设浏览器默认样式
 *       2、设置通用原子类
 */


/* 防止用户自定义背景颜色对网页的影响，添加让用户可以自定义字体 */

html {
    /*     background: white;
color: black; */
}


/* 内外边距通常让各个浏览器样式的表现位置不同 */

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    margin: 0;
    padding: 0;
}


/* 要注意表单元素并不继承父级 font 的问题 */

body,
button,
input,
select,
textarea {
    font: 14px "Microsoft YaHei","微软雅黑";
    color:#333;
}

input,
select,
textarea {
    font-size: 100%;
}


/* 去掉 table cell 的边距并让其边重合 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* ie bug：th 不继承 text-align */

th {
    text-align: inherit;
}


/* 去除默认边框 */

fieldset,
img {
    border: none;
}


/* ie6 7 8(q) bug 显示为行内表现 */

iframe {
    display: block;
}


/* 去掉 firefox 下此元素的边框 */

abbr,
acronym {
    border: none;
    font-variant: normal;
}


/* 一致的 del 样式 */

del {
    text-decoration: line-through;
}

address,
caption,
cite,
code,
dfn,
em,
th,
var {
    font-style: normal;
    font-weight: 500;
}


/* 去掉列表前的标识，li 会继承 */

ol,
ul {
    list-style: none;
}


/* 对齐是排版最重要的因素，别让什么都居中 */

caption,
th {
    text-align: left;
}


/* 来自yahoo，让标题都自定义，适应多个系统应用 */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: 500;
}

q:before,
q:after {
    content: '';
}


/* 统一上标和下标 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}


/* 让链接在 hover 状态下显示下划线 */

a:hover {
    text-decoration: underline;
}


/* 默认不显示下划线，保持页面简洁 */

ins,
a {
    text-decoration: none;
}


/* 去除 ie6 & ie7 焦点点状线 */

a:focus,
*:focus {
    outline: none;
}


/* 清除浮动 */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
    overflow: hidden;
}

.clearfix {
    zoom: 1;
    /* for ie6 & ie7 */
}

.clear {
    clear: both;
    display: block;
    font-size: 0;
    height: 1px;
    line-height: 0;
    overflow: hidden;
}

.fLeft {
    float: left
}

.fRight {
    float: right
}
body{
    overflow-x: hidden;
}

/* 按钮 */

.button {
    width: 100%;
    background: #ed6c20;
    color: #fff;
    text-align: center;
    display: block;
    cursor: pointer;
}

.buttonBd {
    width: 100%;
    background: none;
    border: 2px solid #fff;
    color: #fff;
    text-align: center;
    display: block;
    cursor: pointer;
}

.buttonBd.gray {
    border-color: #333;
    color: #333
}


.buttonBd.orange {
    border-color: #ed6c20;
    color: #ed6c20
}


.but-h40 {
    width: 150px;
    height: 40px;
    font-size: 14px;
    border-radius: 40px;
    line-height: 40px;
    text-decoration: none;
}

.but-h50 {
    width: 310px;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
    border-radius: 40px;
    text-decoration: none;
}

.c333 {
    color: #333;
}

.c666 {
    color: #666;
}

.c999 {
    color: #999;
}

.red {
    color: red;
}

.w50p {
    width: 50%;
}

.orange {
    color: #ed6c20;
}





/* 评分星星 */

.star {
    width: 113px;
    position: relative;
}

.star-inner {
    width: 113px;
    height: 18px;
    background: #ed6c20;
}

.star-cover {
    width: 113px;
    height: 18px;
    position: absolute;
    top: 0;
    left: 0;
    background: url("../image/star-show.png") no-repeat;
}

.fwbd {
    font-weight: bold;
}

.main-width {
    width: 1200px;
    margin: 0 auto;
}

select.dinwei {
    background: #eee;
    border: none;
    border-radius: 20px;
    padding: 5px 10px;
}


/* 覆盖层 */

.alert-cover {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #000;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    z-index: 51;
    display: none;
}

.freetopblock {
    width: 100%;
    height: 50px;
}

.wrap.sportmarket {
    background: #fff;
}

.wrap.aboutus {
    background: #fbfbfb;
}

.wrap.housekeeper {
    background: #fbfbfb;
}

.wrap.bwhite {
    background: #fff;
}

.wrap.bgray {
    background: #f5f5f5;
}

.wrap.empty{
    background: none;
    color: #666;
}

.oh-check {  
    width: 25px;  
    position: relative;  
}  
.oh-check input[type=checkbox] {  
    visibility: hidden;  
}  
.oh-check label {  
    cursor: pointer;  
    position: absolute;  
    width: 25px;  
    height: 25px;  
    top: 0;  
    left: 0;  
    background: #fff;  
    border:2px solid #2e384f;  
    -moz-border-radius: 3px;      
    -webkit-border-radius: 3px;   
    border-radius:3px;           
}  
.oh-check label:after {  
    opacity: 0;  
    content: '';  
    position: absolute;  
    width: 9px;  
    height: 5px;  
    background: transparent;  
    top: 6px;  
    left: 6px;  
    border: 2px solid #ed6c20;  
    border-top: none;  
    border-right: none;  
    -webkit-transform: rotate(-45deg);  
    -moz-transform: rotate(-45deg);  
    -o-transform: rotate(-45deg);  
    -ms-transform: rotate(-45deg);  
    transform: rotate(-45deg);  
}  
.oh-check label:hover::after {  
 opacity: 0.5;  
}  
.oh-check input[type=checkbox]:checked + label:after {  
    opacity: 1;  
}

/* select样式修改 */
.select{position:relative;width:210px;min-width:210px;height:36px;border:1px solid #eee;cursor:pointer;}
.select:after{content:"";position:absolute;top:50%;right:10px;margin-top:-2px;border-top:5px solid #666;border-right:5px solid transparent;border-left:5px solid transparent;}
.select .select_text{padding:0 20px 0 10px;height:36px;line-height:36px;}
.select_ul{display:none;position:absolute;top:34px;left:-1px;width:210px;min-width:210px;z-index:1;border:1px solid #D4D4D4;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background:#fff;}
.select_ul li{line-height:36px;text-indent:10px;}
.select_ul li:hover{color:#fff;background:#6AA7EA;}
.select_ul li.cur{color:#fff;background:#195DA3;}

@-webkit-keyframes bounce-down-min {
    25% {
        -webkit-transform: translateY(-5px);
    }
    50%, 100% {
        -webkit-transform: translateY(0);
    }
    75% {
        -webkit-transform: translateY(5px);
    }
}
 
@keyframes bounce-down-min {
    25% {
        transform: translateY(-5px);
    }
    50%, 100% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(5px);
    }
}  

