/*全局*/
html,body{
    height: 100%;
    overflow: hidden;
}
.fa{
    width: 1em;
    text-align: center;
}
label{
    display: inline-block;
    margin: 0;
    padding: 4px 0;
	font-size:12px;
}
label input[type=checkbox]{
    /*margin-top: -0.1em;*/
}

/**/
.layui-table td, .layui-table th
{
	font-size:12px;
}

/*覆盖bootstrap*/
.pagination{
    margin:0;
    display: inline-block;
}
.pagination ul{
    vertical-align: top;
}
.btn{
    box-shadow: none;
    background-image: none;
    border: 1px solid #e5e6e7;
    padding: 6px 12px;
    margin: 0 1px;
}
.btn-default{
    background-color: #fff;
}
.btn.active, .btn:active,.btn-group.open .dropdown-toggle{
    box-shadow: none;
}
.btn-primary{
    background-color: #0e90d2;
    padding: 7px 12px;
    border: none;
}
.btn-primary:hover{
    background-color: #0e85d5;
}
.btn-group.open .btn-primary.dropdown-toggle {
    background-color: #0e85d5;
}
.input-prepend>.add-on:first-child{
    padding: 6px 10px;
    border-radius: 0;
    border:1px solid #e5e6e7;
}

select{
    height: 34px;
    line-height: 34px;
    margin-bottom: 0;
}
textarea{
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #e5e6e7;
    border: 1px solid #e5e6e7;
}
form{
    margin-bottom: 0;
}
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input{
    margin-bottom: 0;
}
input[type=radio],input[type=checkbox]{
    box-shadow: none;
}
/*通用*/
.horizon-grab{
    overflow: auto;
    cursor: -webkit-grab;
}
.horizon-grab:active{
    cursor: -webkit-grabbing;
}

.highlight{
    background-color: #ffb900;
}
.td-label{
    width: 80px;
}
.blue{
    color: #0070ff;
}
.purple{
    color: purple;
}
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.hidden{
    display: none;
}
.select-user{
    cursor: pointer;
}
.page-title{
    font-size: 20px;
    font-weight: normal;
    margin: 0 0 16px;
    line-height: 20px;
}
.box{
    position: relative;
    background: #ffffff;
    border-top: 3px solid #24a3ef;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    padding-bottom: 8px;
}
.position-relative{
    position: relative;
}
.container{
    width: auto !important;
}
.text-left{
    text-align: left;
}


.input-item{
    border-radius: 3px;
    background-clip: padding-box;
    border: 2px solid #e7ebee;
    box-shadow: none;
    font-size: 13px;
}
.table{
    background-color: #fff;
}
.table th, .table td {
    vertical-align: middle;
}
.table-head{
    margin:10px;
}
.table-wrap{
    margin:8px;
    overflow: auto;
}

.inline-block{
    display: inline-block;
    *zoom: 1;
    *display: inline;
    vertical-align: middle;
}
.knowledgecate{
    width: 220px;
    position: absolute;
    margin: 0;
    list-style: none;
    background-color: #fff;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    border: 1px solid #eaeaea;
    border-top: none;
}
.knowledgecate li{
    padding: 10px;
    border-top: 1px solid #f1f1f1;
    position: relative;
}
.knowledgecate li a {
    color: #6d6d6d;
}
.knowledgecate li.active{
    background-color: whitesmoke;
}
.knowledgecate li.active:after{
    font-family: FontAwesome;
    content: "\f054";
    position: absolute;
    right: 9px;
    top: 9px;
    color: #3d9bff;
}
.knowledgecate li.active a {

}

.knowledgecate-margin{
    margin-left: 230px;
}
.tab_rf{
    margin:0;
    border-bottom: 1px solid #e2e2e2;
}
.tab_rf a{
    color: gray;
}
.tab_rf:after{
    content:".";display:block;height:0;clear:both;visibility:hidden
}
.tab_rf li{
    float: left;
    list-style: none;
    padding: 6px 10px;
    margin-right: 4px;
}
.tab_rf li.active{
    margin-bottom: -1px;
    border-bottom: 1px solid #fff;
    border-top: 1px solid #e2e2e2;
    border-left: 1px solid #e2e2e2;
    border-right: 1px solid #e2e2e2;
    border-radius: 3px 3px 0 0;
}
.tab_rf li.active a{
    color: #0e85d5;
}
.width800{
    width: 800px;
}

.vertical-align{
    display: table;
    width: 100%;
    height: 100%;
}

.vertical-align>div{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.padding0{
    padding: 0;
}
.margin0{
    margin:0;
}
.urlcontent_page{
    cursor: pointer;
}
.height15{
    height: 15px;
}
.margintop8px{
    margin-top: 8px;
}
.marginbottom8px{
    margin-bottom: 8px;
}
.marginright8px{
    margin-right: 8px;
}
.marginleft8px{
    margin-left: 8px;
}
.short_select{
    width: 120px;
}
.label-required:before{
    content: '* ';
    color: red;
}
.input-width{
    width: 218px;
}

.status-ok{
    background-color: #00CC00;
}
.status-no{
    background-color: #c43c35;
}
.autowidth{
    width: auto !important;
}
.red{
    color:red !important;
}
.green{
    color: green !important;
}
/*userinfo*/
.userinfo-left{
    width: 40%;
}
.userinfo-left .user-img{
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: whitesmoke;
    overflow: hidden;
    margin:auto;
    background-color: whitesmoke;
    background-position: center;
    background-size: cover;
}
.userinfo-right{
    width: 60%;
}
.userinfo-right textarea{
    background-color: whitesmoke;
    border: none;
    width: 93%;
    height: 160px;
    resize: none;
    overflow: auto;
}
/*history*/
.history{
    margin:10px;
}
.h-remarks{
    color: gray;
}
.h-time{
    color: green;
}
.h-user{
    color: #009fff;
}
.h-status{
    color: purple;
}
.history li{
    border-top:1px solid whitesmoke;
    padding-top: 10px;
}
.history li:first-child{
    border-top: none;
}
/*返回顶部*/
#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}

/*layer*/
.new-content-window .layui-layer-title{background:#0073a7; color:#fff; border: none;}
.layer-img:not([src='']){
    cursor: pointer;
}
.layui-layer-refresh{
    color: #2E2D3C;
    cursor: pointer;
}
.layui-layer-refresh .fa{
    font-size: 14px;
}

.layer-box{
    padding: 6px 15px 0 20px;
}

.layui-form select {
    display: initial;
}

/*楼盘查看*/
.room-table{
    text-align: center;
    width: 100%;
    border-top: 1px solid #eeeeee;
    border-left: 1px solid #eeeeee;
}
.room-table td{
    border-right: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding: 8px 0;
    position: relative;
    text-align: left;
    overflow: hidden;
}
.room-table .room-price{
    font-size: 12px;
    display: inline-block;
    width: 60px;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    outline: none;
}
.room-table .room-price:focus{
    background-color: #ffffcd;
    color: #000;
}
.reserve{
    background-color: #ff6262;
    color: #fff !important;
}
.room-selected{
    background-color: #940000 !important;
    color: #fff;
}
.view-type-2 .room-selected{
    background: none !important;
}
.view-type-2 .room-selected:before{
    font-family: FontAwesome;
    display: block;
    position: absolute;
    top: 10px;
    left: 7px;
    content: "\f00c";
    color: #940000;
    font-size: 26px;
}
.view-type-2 .unselectable{
    background-color: #ececec;
}
.locked{
    background-color: #0e85d5;
    color: #fff !important;
}

.sold{
    background-color: #38b938;
    color: #fff !important;
}

.sign{
    background-color: #b745b7;
    color: #fff !important;
}

.linding{
    background-color: orange;
    color: #fff !important;
}

.renchou{
    background-color: #41bd41;
    color: #fff !important;
}
.rengou{
    background-color: #41ceac;
    color: #fff !important;
}
.view-type-2.room-table td{
    padding: 8px;
}
.room-table .check_list{
    position: absolute;
    top:0;
    right: 4px;
}
.room-table .room-operate{
    position: absolute;
    bottom: -28px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.54);
    margin: 0;
    padding: 4px 0;
    text-align: right;
}

.room-table .floor,.room-table .column{
    text-align: center;
    background-color: whitesmoke;
    cursor: pointer;
}
.room-table .floor{
    width: 44px;
}
.room-table .floor.all-selected,.room-table .column.all-selected,.room-table .floor:hover,.room-table .column:hover{
    background-color: #e0e0e0;
}
.room-table .room-operate a{
    padding-right: 4px;
    color: #fff;
}
.room-table .room{
    padding: 0;
    color: #909090;
}
.room-name{
    font-size: 20px;
}
.room-hover{
    background: none;
    height: 100%;
    padding: 10px 4px;
    cursor: default;
}
.room:hover .room-hover{
    /* nice browsers */
    background: rgba(0, 0, 0, 0.2);
    /* IE 6/7 */
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#66000000, endColorstr=#66000000);
    /* IE8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#66000000, endColorstr=#66000000)";
    color: #fff;
}
.status-exp{
    width: 40px;
    height: 40px;
    margin-left: 8px;
    text-align: center;
    line-height: 40px;
}

/*fenye*/
.pagination{
    text-align: center;
}
.pagination .inline-block{
    margin: 0 6px;
}

/*头部*/
.navbar .brand{
    padding: 0 8px 0 20px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    background-color: #0073a7;
    min-width: 220px;
}
.navbar .nav.pull-right {
    margin-right: 20px;
}
.navbar-inverse .navbar-inner {
    background-color: #0088c5;
    border-bottom: none;
    box-shadow: 0px 0 2px 2px rgba(0, 0, 0, 0.27);
}
.navbar .nav>li>a {
    padding: 14px 15px 14px;
}
.main-nav li:hover,.nav-msg:hover{
    background-color: #0077ad;
}
.nav > li > a > img.avatar {
    border-radius: 50%;
}
.navbar-fixed-top, .navbar-fixed-bottom {
    z-index: 3;
}
.nav-msg .fa{
    margin-right: 8px;
}
.avatar{
    margin-right: 8px;
}
/*左边栏*/
.sidebar_rf{
    position: fixed;
    left: 0;
    width: 220px;
    margin: 0;
    z-index: 2;
    overflow: auto;
    background-color: #353535;
    top: 48px;
    bottom: 0;
}

.sidebar_rf ul{
    list-style: none;
    margin: 6px 0 0 0;
}
.sidebar_rf .left_list > li{

}
.sidebar_rf ul li:hover,.sidebar_rf ul li.active{
    background-color:#4c4c4c;
}
.sidebar_rf ul li a{
    display: block;
    padding: 8px 15px 8px 20px;
    color: #b3b3b3;
    line-height: 28px;
}
.sidebar_rf ul li a:hover{
    text-decoration: none;
    color: #ffffff;
}
.sidebar_rf ul li.active a{
    color: #ffffff;
}
.sidebar_rf ul li a .fa{
    padding-right: 10px;
}
/*主要*/
.content_rf{
    position: fixed;
    right: 0;
    bottom: 0;
    top: 48px;
    left: 220px;
    overflow: auto;
    background-color: #FaFaFa;
}

.view a.active{ color:#09F; font-weight:bold;}


/**************/
.cat-block{
    width: 300px;
    float: left;
    margin-left: 20px;
    padding: 12px;
}
.cat-block:first-child{
    margin-left: 0;
}
.cat-block>p{
    border-bottom: 1px solid #e6e6e6;
    font-weight: 600;
    color: #007cff;
}

.state-block{
    padding-left: 1em;
}
.state-block p:first-child{
    font-weight: 600;
}
.state-block p span{
    color: #ff4900;
}


.material{
    list-style: none;
}
.material li{
    list-style: none;
    float: left;
    margin-right: 16px;
    margin-bottom: 16px;
    border: 1px solid #cacaca;
    border-radius: 3px;
    padding: 0 7px;
    color: #949494;
}
.material li.material-checked{
    color: #fb5a5a;
    border-color: #fb5a5a;
    font-size: 16px;
}
/*自适应调整*/

@media only screen and (max-width: 1024px) {
    .sidebar_rf{
        width: 170px;
    }
    .content_rf{
        left: 170px;
    }
}
