﻿body,html,div,span,a,li,ul,img,header,footer,main{
    box-sizing:border-box;
    margin:0;
    padding:0;
}
a{
    text-decoration:none;
    color:#333;
}
ul{
    list-style:none;
}
a:hover {
    -webkit-tap-highlight-color: transparent;
}
.appbar {
    background: #32dab9;
    height: 5rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
}
.appbar_main{
    width:80%;
    height:3rem;
    border-radius:3rem;
    background:rgba(255,255,255,0.5);
    padding:0.5rem 0;
    display:flex;
}
.appbar_address{
    width:7rem;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#666;
    font-size:1.5rem;
}
.down_icon{
    margin-left:0.5rem;
    width:0.8rem;
}
.appbar_search {
    width: calc(100% - 7rem);
    border-left: solid 1px #dcdcdc;
    position:relative;
    display:flex;
    align-items:center;
}
.search_icon{
    width:1.8rem;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    left:1rem;
}
.search_input {
    border: none;
    background: none;
    outline: none;
    padding-left: 4rem;
    font-size: 1.2rem;
    color: #333;
    width: 100%;
}

.home_main{
    padding:5rem 1rem;
}
/*房子类型*/
.type_list {
    display: flex;
    justify-content: space-between;
    margin-top:10px;
}
.type_item {
    /*width: 10.5rem;
    height: 10.5rem;*/
    overflow: hidden;
    color: #fff;
    font-size: 1.8rem;
    text-align: center;
    padding-top: 1rem;
    background-size: cover;
    background-repeat: no-repeat;
    width: 30vw;
    height: 30vw;
    border-radius: 5px;
}

/*菜单*/
.menu_list{
    display:flex;
    justify-content:space-between;
    margin-top:2rem;
}
.menu_item{
    width:6.5rem;
    font-size:1.3rem;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:space-around;
}
.menu_img{
    width:5rem;
    height:5rem;
    overflow:hidden;
    border-radius:50%;
    margin-bottom:0.5rem;
}
.menu_img img{
    width:100%;
}

/*我的房子*/
.my_house{
    margin-top:1.5rem;
    padding:0 0.5rem;
}
.home_title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:2rem;
    color:#000;
    padding:1rem 0.5rem;
}
.more_right{
    font-size:1.3rem;
    color:#666;
    display:flex;
    align-items:center;
}
.right_icon{
    width:1.3rem;
    margin-left:1rem;
}
.my_house_model{
    border-radius:10px;
    box-shadow:0 0 10px -6px rgba(0,0,0,0.4);
    margin-top:0.5rem;
}
.house_model_info {
    padding: 1rem 2rem;
    background-image: url('../img/Home-MyHouse.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
}
.model_info_title{
    line-height:1;
}
.model_info_description {
    line-height: 1;
}
.house_model_footer {
    border-top: solid 1px rgba(0,0,0,0.1);
    text-align: center;
    padding: 1rem 0;
    color: #32dab9;
    font-size:1.3rem;
    font-weight:bold;
}

.model_lists{
    display:flex;
    justify-content:space-between;
    margin-top:2rem;
    height:14rem;
}
.model_item {
    width: 15.2rem;
    background-image: url(); /*背景图片*/
    background-size: 100% auto;
    background-repeat: no-repeat;
    padding:1.5rem 1rem;
    background-color:gray;
    margin-bottom:1rem;
    border-radius:5px;
}
.model_big{
    height:100%;
}
.model_item_title {
    font-size: 1.4rem;
    color: #000;
}
.model_item_info{
    font-size:1.2rem;
    color:#000;
}

/*为您推荐*/
.home_recommend{

}
.recommend_tabbar {
    display: flex;
}
.recommend_tabbar .more_right {
    margin-left:1rem;
}
.more_right.active {
    color: #32dab9;
}
.recommend_list{
    display:none;
}
.recommend_item{
    display:flex;
    align-items:center;
    padding:1.5rem 0;
    border-bottom:solid 1px #e9e9e9;
}
.recommend_item_cover {
    width: 10rem;
    height: 8rem;
    overflow: hidden;
    margin-right: 1rem;
    border: none;
    position: relative;
}
.recommend_item_cover img{
    width:100%;
    height:100%;
}
.recommend_item_info{
    width:calc(100% - 11rem);
    display:flex;
    flex-direction:column;
    justify-content:space-around;
}
.item_info_title{
    color:#000;
    font-size:1.5rem;
    /*line-height:1.5rem;*/
    padding:0.01rem 0;
    margin:0;
    font-weight:bold;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    display:flex;
    align-items:center;

}
.recommend_xf_name {
    max-width: 17rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display:block;
}
.recommend_type {
    font-size:12px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 0.5rem;
}
.recommend_type:nth-of-type(1){
    color:#b9e392;
    background:#eef8e4;
}
.recommend_type:nth-of-type(2) {
    color: #49cc9a;
    background: #e0f6eb;
}
.item_info_info {
    color: #999;
    line-height: 2.2rem;
    font-size: 1.2rem;
}
.item_info_type{
    display:flex;
}
.recommend_xf .item_type{
    border:solid 1px #e9e9e9;
    font-size:0.7rem;
    padding:0.1rem 0.2rem;
    color:#999;
    border-radius:3px;
}
.item_type {
    font-size: 1.3rem;
    margin-right: 0.5rem;
    padding: 0 0.3rem;
}
.recommend_esf .item_type:nth-of-type(1) {
    color: #64ccd7;
    background: #e0f4f8;
}
.recommend_esf .item_type:nth-of-type(2) {
    color: #49cc9a;
    background: #e0f6eb;
}
.recommend_esf .item_type:nth-of-type(3) {
    color: #f2ae30;
    background: #fcf0e0;
}
.recommend_esf .item_type:nth-of-type(4) {
    color: #5eadf4;
    background: #e6f2fe;
}
.recommend_esf .item_type:nth-of-type(5) {
    color: #fda0fa;
    background: #e8eefe;
}
.recommend_zf .item_type {
    color: #92a6b7;
    background: #ecf0f2;
}
.item_info_money {
    display: flex;
    align-items: flex-end;
    font-size: 1.2rem;
    color: #999;
}
.info_money{
    color:#f00;
    font-size:1.7rem;
    margin-right:0.5rem;
}

@media screen and (max-width:410px){
    /*.type_item {
        width:10rem;
        height:10rem;
    }*/
    .model_item {
        width: 14.5rem;
    }
    .menu_item {
        width: 6.5rem;
        font-size: 1.5rem;
    }
    .menu_img {
        width:5.5rem;
        height:5.5rem;
    }
}

@media screen and (max-width:390px) {
    /*.type_item {
        width: 9rem;
        height: 9rem;
    }*/
    .model_lists a, .model_lists_right {
        width: 48%;
    }
    .model_item {
        width: 100%;
    }
    .menu_item {
        width: 6rem;
        font-size: 1.5rem;
    }

    .menu_img {
        width: 5rem;
        height: 5rem;
    }
}

@media screen and (max-width:340px) {
    /*.type_item {
        width: 8rem;
        height: 8rem;
    }*/

    .menu_item {
        width: 5rem;
        font-size: 0.2rem;
    }

    .menu_img {
        width: 4rem;
        height: 4rem;
    }
}

.QuanJingTag {
    position: absolute;
    bottom: 5px;
    display: flex;
    left: 5px;
}
.QuanJingTag_item {
margin-left:5px;
}
.QuanJingTag_img {
    width: 2.5rem;
    height: 2.5rem;
}

@-webkit-keyframes rotation {

    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

.QuanJingTag_img .VRICO {
    -webkit-transform: rotate(360deg);
    animation: rotation 3s linear infinite;
    -moz-animation: rotation 3s linear infinite;
    -webkit-animation: rotation 3s linear infinite;
    -o-animation: rotation 3s linear infinite;
}