﻿/*搜索结果页面*/
.sitemap-content > div:first-child { display: none; }
#search { width: 1220px; margin: auto; }


#search .secondary { }
#search .secondary > div { width: 1220px; margin: auto; padding-bottom: 16px; margin-bottom: 32px; border-bottom: 1px solid #eee; }
#search .secondary .fll span { font-size: 20px; font-weight: bold; margin-right: 8px; }
#search .secondary .mode0 .ico-array1 { background-position-y: -1460px; }
#search .secondary .mode1 .ico-array2 { background-position-y: -1460px; }

#search .filter { float: left; width: 18%; }
#search .filter .item { margin-bottom: 16px; border: 1px solid #EEEEEE; font-size: 12px; }
#search .filter .item > div:first-child { width: 100%; height: 40px; line-height: 40px; padding: 0px 16px; background: #F5F5F5; font-size: 14px; font-weight: bold; position: relative; box-sizing: border-box; }
#search .filter .item em { display: block; width: 20px; height: 20px; line-height: 20px; text-align: center; position: absolute; right: 12px; top: 6px; cursor: pointer; }
#search .filter .item em:hover { opacity: 0.8; }
#search .filter .item .ico-up10 { width: 20px; height: 20px; background-position: -1340px -860px; }
#search .filter .item .ico-down10 { width: 20px; height: 20px; background-position: -1280px -860px; }
#search .filter .item .box { height: auto; display: none; padding: 8px 16px 0px 16px; }
#search .filter .item .box a { display: block; height: 20px; line-height: 20px; margin-bottom: 8px; white-space: nowrap; text-decoration: none; }
#search .filter .item .box a:hover { opacity: 0.8; }
#search .filter .item .box .ico { margin-right: 4px; }
#search .filter .active .box { display: block; }

#search .main { float: right; width: 80%; padding-bottom: 100px; }
#search .main .paging { padding-top: 40px; }
#list_grid table { width: 100%; text-align: left; }
#list_grid th { font-size: 12px; line-height: 40px; padding: 0px 16px; }
#list_grid .cel1 { width: 20% }
#list_grid .cel2 { width: 66% }
#list_grid .cel3 { width: 14%; text-align: center }
#list_grid tbody tr { border: 1px solid #fff; border-bottom: 1px solid #eee; }
#list_grid tbody td { padding: 20px 16px; }
#list_grid .price-box { display: none; }


#list_grid .info { line-height: 26px; }
#list_grid .pic { width: 168px; height: 126px; border: 1px solid #eee; }
#list_grid .pic img { max-width: 100%; max-height: 100%; position: relative; top: 50%; left: 50%; transform: translate(-50%,-50%); }
#list_grid .name { font-size: 16px; font-weight: bold; }
#list_grid .tags { display: inline-block; height: 20px; line-height: 20px; font-size: 12px; }
#list_grid .tags span { display: inline-block; height: 100%; padding: 0px 4px; border-radius: 3px; margin-left: 8px; }
#list_grid .num span { margin-right: 16px; }
#list_grid .desc span:after { content: ""; display: inline-block; vertical-align: middle; width: 1px; height: 16px; margin: -2px 10px 0px 14px; background: #ddd; }
#list_grid .desc span:last-child:after { display: none; }
#list_grid .has-dprice { text-decoration: line-through; }
#list_grid .link { text-align: right; }
#list_grid .link .ico { margin: -3px 0px 0px 4px; }
#list_grid .active { border: 1px solid #eee !important; border-bottom: none !important; }
#list_grid .active .ico-down-gray { background-position-y: -1460px; }

#list_grid .price { display: none; text-align: center; border: 1px solid #eee; border-top: none; }
#list_grid .price table { text-align: center; }
#list_grid .price .cel1 { width: 10% !important; }
#list_grid .price .cel2 { width: 20% !important; }
#list_grid .price .cel3 { width: 25% !important; }
#list_grid .price .cel4 { width: 25% !important; }
#list_grid .price .cel5 { width: 20% !important; }
#list_grid .price .amount input { width: 34px; height: 22px; padding: 0px 4px; border: 1px solid #ddd; text-align: center; margin: 0px 4px; vertical-align: middle; font-weight: bold; }
#list_grid .price .amount a { display: inline-block; vertical-align: middle; width: 22px; height: 22px; line-height: 22px; border: 1px solid #eee; font-size: 18px; text-decoration: none; }
#list_grid .price .action { padding-top: 16px; }
#list_grid .price .btn-deep { margin-left: 16px; }


#list_card .item { float: left; width: 242px; height: 334px; transition: all 0.5s; position: relative; margin-right: 20px; margin-top: 20px; background: #fff; overflow: hidden; border-radius: 4px; box-shadow: 0px 4px 9px 0px rgba(150, 150, 150, 0.23); }
#list_card .item:nth-child(5n) { margin-right: 0px; }
#list_card .item:nth-child(-n+5) { margin-top: 0px; }
#list_card .item a { text-decoration: none; }
#list_card .item .pic { width: 204px; height: 130px; margin: auto; margin-top: 20px; transition: all 0.3s; }
#list_card .item .pic img { max-width: 100%; max-height: 100%; position: relative; top: 50%; left: 50%; transform: translate(-50%,-50%); }

#list_card .item .name { font-weight: bold; height: 36px; line-height: 18px; margin: 30px 20px 0px 20px; overflow: hidden; }
#list_card .item .info { height: 108px; padding: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: all 0.3s; position: relative; }
#list_card .item .info table { width: 100%; text-align: left; }
#list_card .item .info td { height: 24px; }
#list_card .item .info .price { font-weight: bold; color: #008CD8; }
#list_card .item .info .num { width: 136px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#list_card .item .tags { position: absolute; top: 12px; left: 12px; }
#list_card .item .tags span { vertical-align: middle; }

#list_card .item .leadtime { font-weight: bold; }
#list_card .item:hover { box-shadow: 3px 4px 10px 0px rgba(162, 162, 162, 0.3); }
#list_card .item:hover .info { background: #0CA3F3; color: #fff; height: 116px; padding: 16px 20px; }
#list_card .item:hover .pic { width: 152px; height: 100px; }
#list_card .item:hover .name { margin: 16px 20px }
#list_card .item:hover .bottons { height: 32px; }
#list_card .item:hover .price { color: #fff !important; }
#list_card .item:hover .leadtime { color: #fff !important; }
#list_card .item .bottons { height: 0px; position: absolute; width: 204px; padding: 0px 20px; left: 0px; bottom: 14px; overflow: hidden; transition: all 0.3s; }
#list_card .item .bottons span { display: inline-block; width: 57px; height: 32px; text-align: center; border-radius: 16.5px; background: #FFFFFF; cursor: pointer; }


/*通用的左侧导航和标题*/
.advanced { width: 1300px; margin: auto; padding-bottom: 80px; }
.advanced .secondary { display: none; }


.advanced .main { }
.advanced .main .title { margin-bottom: 40px; }
.advanced .main .title h1 { float: left; font-size: 20px; font-weight: bold; }
.advanced .main .title label { margin: 0px 12px; }
.advanced .main .title a { color: #00499F; }

/*结构式搜索*/
#search_structure { }
#search_structure .main .structure-editor { float: left; width: 1100px; border: 1px solid #ddd; }
#search_structure .main .buttons { float: right; }
#search_structure .main .buttons div { margin-bottom: 16px; }
#search_structure .paging { padding-top: 40px; }
#search_structure #search_count { font-size: 32px; margin-left: 24px; }
#search_structure #search_count a { color: #008cd6; }
#search_structure .main .title { line-height: 50px; }
/*批量搜索*/
#search_batch .main .content .form { float: left; width: 82%; }
#search_batch .main .content .form textarea { width: 100%; height: 430px; padding: 16px 20px; resize: none; overflow: auto; border: 1px solid #eee; box-sizing: border-box; }

#search_batch .main .content .info { float: right; width: 16%; }

#search_batch .main .switchbox { height: auto; }
#search_batch .main .switchbox-item { display: block; text-align: left; white-space: nowrap; }
#search_batch .main .switchbox-item { margin-bottom: 12px; }
#search_batch .main .switchbox .ico16 { margin: -4px 4px 0px 0px; }
#search_batch .main .switchbox .selected .ico16 { background-position: -1702px -382px; }

#search_batch .main .desc { padding-top: 16px; }
#search_batch .main .desc h2 { padding-bottom: 6px; font-size: 16px; font-weight: bold; }
#search_batch .main .desc p { line-height: 22px; }
#search_batch .main .desc h3 { padding: 20px 0px 6px; }
#search_batch #product_data { display: none; }
#search_batch .paging { padding-top: 40px; }

/*coa搜索*/
#search_coa .main .form { float: left; width: 25%; padding-right: 5%; margin-right: 5%; border-right: 1px solid #eee; }
#search_coa .main .form .name { font-weight: bold; padding-bottom: 16px; }
#search_coa .main .form .input { height: auto; margin-bottom: 16px; }
#search_coa .main .form .input label { display: block; width: auto; height: 22px; padding-bottom: 4px; }
#search_coa .main .form .input .box { padding: 8px 12px; line-height: 16px; border: 1px solid #ddd; }
#search_coa .main .items { float: left; }
#search_coa .main .items .item { padding-bottom: 30px; }
#search_coa .main .items .item .name { font-weight: bold; padding-bottom: 8px; }
#search_coa .main .items .item:first-child .name { color: #00499F; }
#search_coa .main .items .item .desc { font-size: 12px; color: #666; }

#search_coa .result { padding: 48px 0px; }
#search_coa .result .name { font-weight: bold; font-size: 20px; font-weight: 700; line-height: 36px; letter-spacing: 0px; text-align: left; margin-bottom: 16px; }
#search_coa .search-result-item { width: 610px; padding: 0px 16px; margin: 8px 0px; box-sizing: border-box; line-height: 48px; height: 48px; border-radius: 12px; border: 1px solid #e0e0e0; float: left; cursor: pointer; text-decoration: none; }
#search_coa .search-result-item i { margin-top: -5px; margin-right: 4px; }
#search_coa .search-result-item:hover { opacity: 0.8; }
#search_coa .main .nodata { background: none; text-align: left; }

/*msds搜索*/
#search_msds .main .form { float: left; width: 25%; padding-right: 5%; margin-right: 5%; border-right: 1px solid #eee; }
#search_msds .main .form .name { font-weight: bold; padding-bottom: 16px; }
#search_msds .main .form .input { height: auto; margin-bottom: 16px; }
#search_msds .main .form .input label { display: block; width: auto; height: 22px; padding-bottom: 4px; }
#search_msds .main .form .input .box { padding: 8px 12px; line-height: 16px; border: 1px solid #ddd; }
#search_msds .main .items { float: left; }
#search_msds .main .items .item { padding-bottom: 30px; }
#search_msds .main .items .item .name { font-weight: bold; padding-bottom: 8px; }
#search_msds .main .items .item:first-child .name { color: #00499F; }
#search_msds .main .items .item .desc { font-size: 12px; color: #666; }

#search_msds .result { padding: 48px 0px; }
#search_msds .result .name { font-weight: bold; font-size: 20px; font-weight: 700; line-height: 36px; letter-spacing: 0px; text-align: left; margin-bottom: 16px; }
#search_msds .search-result-item { width: 610px; padding: 0px 16px; margin: 8px 0px; box-sizing: border-box; line-height: 48px; height: 48px; border-radius: 12px; border: 1px solid #e0e0e0; float: left; cursor: pointer; text-decoration: none; }
#search_msds .search-result-item i { margin-top: -5px; margin-right: 4px; }
#search_msds .search-result-item:hover { opacity: 0.8; }
#search_msds .main .nodata { background: none; text-align: left; }
