﻿/*搜索模块*/
.index-search { padding: 2% 3%; width: 100%; background-color: #fff; border-bottom: 1px solid #eee; }
.index-search .search-bar { margin-bottom: 10px; }
.index-search .search-box { background-color: #faf7f7; margin-right: 50px; border-radius: 5px; }
.index-search .search-box .am-dropdown .am-btn-primary { background: transparent; border: none; color: #333; }
.index-search .search-box .am-dropdown .am-icon-caret-down { display: inline-block; vertical-align: middle; margin-top: -3px; margin-left: 6px; width: 8px; height: 5px; background: url(/uploads/image/tsdimages/icon-arrow-down.png) no-repeat 0 0; background-size: 100%; }
.index-search .search-box .am-dropdown .am-icon-caret-down:before { content: ''; }
.index-search .search-box .am-dropdown .am-dropdown-content:after,
.index-search .search-box .am-dropdown .am-dropdown-content:before { left: 20px; }
.index-search .search-box .am-dropdown .am-dropdown-content:after { border-bottom-color: #4a4a4a; }
.index-search .search-box .am-dropdown .am-dropdown-content { background-color: #4a4a4a; border-radius: 10px; min-width: auto; }
.index-search .search-box .am-dropdown .am-dropdown-content li { border-bottom: 1px solid #666; }
.index-search .search-box .am-dropdown .am-dropdown-content li a { color: #fff; display: block; font-size: 1.4rem; }
.index-search .search-box .am-dropdown .am-dropdown-content li a:hover { background-color: transparent; }
.index-search .search-box .am-dropdown .am-dropdown-content li:last-child { border: none; }
.index-search .search-box form { display: inline-block; width: 52%; margin-top: 4px; }
.index-search .search-box .text { background: transparent; border: none; outline: none; font-size: 1.4rem; }
.index-search .close-btn { position: absolute; z-index: 11; right: 7px; top: 14px; font-size: 1.4rem; border: none; background: transparent; }
.index-search .search-result { padding: 15px 0; }
.index-search .search-result .tit { display: block; font-size: 1.4rem; margin-bottom: 12px; }
.index-search .search-result .tit .icon-hot { display: inline-block; vertical-align: middle; margin-top: -4px; width: 13px; height: 15px; background: url(/uploads/image/tsdimages/icon-hot.png) no-repeat 0 0; background-size: 100%; margin-right: 5px; }
.index-search .search-result .txt { display: none; overflow: hidden; }
.index-search .search-result .txt .key { display: block; float: left; background-color: #f6f3f3; border-radius: 5px; font-size: 1.2rem; padding: 4px 9px; color: #333; margin-right: 7px; margin-bottom: 7px; }
.index-search .search-result .txt .active { color: #ff3431; }

/* 搜索 - 装修公司 */
.search-company-list ul li { border-bottom: 1px solid #eee; background-color: #fff; }
.search-company-list ul li .item-box { display: block; padding: 15px; overflow: hidden; }
.search-company-list ul li .item-box .img { width: 70px; height: 70px; display: block; margin-right: 10px; float: left; }
.search-company-list ul li .item-box .img img { width: 100%; height: 100%; }
.search-company-list ul li .item-box .txt { float: left; width: 70%; height: 70px; position: relative; }
.search-company-list ul li .item-box .txt .tit { display: block; font-size: 1.6rem; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; line-height: 1; margin-bottom: 7px; }
.search-company-list ul li .item-box .txt .badge { display: block; font-size: 1.2rem; }
.search-company-list ul li .item-box .txt .badge b { display: inline-block; vertical-align: middle; margin-top: -3px; margin-right: 3px; width: 18px; height: 18px; text-align: center; line-height: 18px; color: #fff; font-weight: normal; }
.search-company-list ul li .item-box .txt .badge .b-01 { background-color: #f0cc63; }
.search-company-list ul li .item-box .txt .badge .b-02 { background-color: #e7bd7a; }
.search-company-list ul li .item-box .txt .badge .b-03 { background-color: #a0dc79; }
.search-company-list ul li .item-box .txt .info { position: absolute; z-index: 11; left: 0; bottom: 0; right: 0; font-size: 1.2rem; }
.search-company-list ul li .item-box .txt .info .kb { margin-right: 10px; }
.search-company-list ul li .item-box .txt .info .kb b { color: #ff3431; font-weight: normal; margin: 0 2px; }
.item-box .txt .info .distance { float: right; color: #999; }

/* 搜索 - 设计师 */
.search-design-list ul li { background-color: #fff; padding: 15px; margin-top: 10px; }
.search-design-list ul li:first-child { margin-top: 0; }
.search-design-list ul li .hd { overflow: hidden; border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 15px; position: relative; }
.search-design-list ul li .hd .hd-img { display: block; float: left; width: 50px; height: 50px; border-radius: 100%; overflow: hidden; margin-right: 10px; }
.search-design-list ul li .hd .hd-img img { width: 100%; height: 100%; }
.search-design-list ul li .hd .txt { float: left; width: 60%; }
.search-design-list ul li .hd .txt .nm { display: block; font-size: 1.4rem; margin-bottom: 3px; }
.search-design-list ul li .hd .txt .nm .lb { font-weight: normal; font-size: 1rem; color: #fff; line-height: 1; padding: 3px 4px 0; display: inline-block; vertical-align: middle; margin-top: -3px; }
.search-design-list ul li .hd .txt .nm .lb-zx { background-color: #b553ed; }
.search-design-list ul li .hd .txt .nm .lb-rz { background-color: #f2bc76; }
.search-design-list ul li .hd .txt .nm .lb-zl { background-color: #47d691; }
.search-design-list ul li .hd .txt .nm .lb-sx { background-color: #ff5552; }
.search-design-list ul li .hd .txt .fn { display: block; color: #999; font-size: 1.2rem; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.search-design-list ul li .hd .consultation { position: absolute; z-index: 11; right: 15px; top: 5px; text-align: center; }
.search-design-list ul li .hd .consultation .consultation-btn { display: block; margin-bottom: 5px; color: #ff3431; font-size: 1.3rem; line-height: 1.2; padding: 4px 12px; border-radius: 20px; border: 1px solid #ff3431; }
.search-design-list ul li .hd .consultation .nm { display: block; color: #999; font-size: 1.2rem; }
.search-design-list ul li .bd .am-thumbnail { margin-bottom: 0; padding: 0; width: 100%; height: 100%; }
.search-design-list ul li .bd .am-thumbnails li { padding: 4px !important; margin: 0 !important; }
#designer-modal .txt .lb { font-weight: normal; font-size: 1rem; color: #fff; line-height: 1; padding: 3px 4px 0; display: inline-block; vertical-align: middle; margin-top: -3px; }
#designer-modal .txt .lb-zx { background-color: #b553ed; }
#designer-modal .txt .lb-rz { background-color: #f2bc76; }
#designer-modal .txt .lb-zl { background-color: #47d691; }
#designer-modal .txt .lb-sx { background-color: #ff5552; }
#designer-modal .order-modal .order-hd { position: relative; }
#designer-modal .order-modal .order-hd .nm { position: absolute; z-index: 11; right: 20px; top: 18px; }
@media screen and (max-width: 360px) {
    .search-design-list ul li .hd .txt .fn { width:135px; }
}


/* 一键预约模态框 */
.reservation-modal .am-modal-dialog { width: 90%; background: transparent; }
.order-modal { background-color: #fff; border-radius: 10px; padding: 20px 0 0; overflow: hidden; }
.order-modal .order-hd { margin-bottom: 20px; overflow: hidden; padding: 0 20px; }
.order-modal .order-hd .nm { display: block; float: right; color: #999; font-size: 1.2rem; line-height: 1; margin-top: 20px; }
.order-modal .order-hd .img-txt .logo { float: left; margin-right: 10px; width: 35px; height: 35px; overflow: hidden; border-radius: 100%; }
.order-modal .order-hd .img-txt .logo img { width: 100%; height: 100%; }
.order-modal .order-hd .img-txt .nm-tit { float: left; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; width: 80%; font-size: 1.6rem; line-height: 35px; text-align: left; }
.order-modal .order-hd .img-txt .sub-tit { float: left; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; width: 80%; font-size: 1.4rem; line-height: 1.4; text-align: left; }
.order-modal .order-hd .img-txt .txt { float: left; text-align: left; }
.order-modal .order-hd .img-txt .txt .tit { display: block; margin-bottom: 5px; font-size: 1.6rem; line-height: 1; }
.order-modal .order-hd .img-txt .txt .kb { display: block; font-size: 1.2rem; line-height: 1.2; color: #999; }
.order-modal .order-bd { padding: 0 20px 10px; }
.order-modal .order-bd .form-item { text-align: left; margin-bottom: 10px; overflow: hidden; }
.order-modal .order-bd .form-item .text { display: block; border: none; outline: none; background-color: #f6f3f3; border-radius: 5px; width: 100%; padding: 12px 10px; height: 40px; }
.order-modal .order-bd .form-item .text02 { float: left; width: 80%; border-radius: 0 5px 5px 0 !important; }
.order-modal .order-bd .form-item .lb { display: block; text-align: center; float: left; width: 20%; color: #fff; height: 40px; font-size: 1.8rem; line-height: 40px; background-color: #ff3431; border-radius: 5px 0 0 5px; }
.order-modal .order-footer { display: block; overflow: hidden; border-top: 1px solid #eee; }
.order-modal .order-footer a { display: block; text-align: center; float: left; width: 50%; font-size: 1.5rem; line-height: 1.2; padding: 16px 0; }
.order-modal .order-footer a:active { background-color: #eee; }
.order-modal .order-footer .close { color: #999; border-right: 1px solid #eee; }
.order-modal .order-footer .order { color: #ff3431; }
/* 预约成功 */
.success-modal { background-color: #fff; border-radius: 10px; padding: 35px 20%; overflow: hidden; }
.success-modal .success { display: block; margin: 0 auto 15px; width: 66px; height: 66px; background: url(/uploads/image/tsdimages/icon-success.png) no-repeat 0 0; background-size: 100%; }
.success-modal .tit { display: block; font-size: 2.4rem; line-height: 1.2; margin-bottom: 20px; }
.success-modal .txt { display: block; color: #f6a623; font-size: 1.4rem; }

/* 搜索 - 资讯 */
.search-news-list { background-color: #f6f3f3; }
.search-news-list .item-box { display: block; padding: 15px; overflow: hidden; background-color: #fff; margin-top: 10px; }
.search-news-list .item-box .img { width: 93px; height: 70px; display: block; float: right; }
.search-news-list .item-box .img img { width: 100%; height: 100%; }
.search-news-list .item-box .txt { float: left; width: 66%; height: 70px; position: relative; }
.search-news-list .item-box .txt .tit { display: block; font-size: 1.6rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.3; }
.search-news-list .item-box .txt .info { position: absolute; z-index: 11; top: 52px; left: 0; bottom: 0; right: 0; font-size: 1.2rem; }
.search-news-list .item-box .txt .info .kb { display: inline-block; width: 68%; height: 20px; color: #999; overflow: hidden; }
.search-news-list .item-box .txt .info .distance { float: right; color: #ccc; }

/* 搜索 - 暂无数据提示 */
.search-noresult-box.bzwhide { 
    display: none;
}