﻿/*地址选择下拉框*/
#address-component {
  position: relative;
  display: inline-block;
  width:240px;
  margin-left: 0;
  cursor: pointer;
}
#address-component #btnToggle {
  display: block;
  width: 218px;
  height: 34px;
  line-height: 34px;
  border: 1px solid #CCC;
  padding: 0 22px 0 10px;
  color: #666;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#address-component.pull-down #address-list {
  display: block;
}
#address-component.pull-down > span {
  border-color: #f24642;
}
#address-component a:hover {
  text-decoration: none;
}
#address-component > div:nth-child(2) > i.icon {
  position: absolute;
  top: 10px;
  right: 0;
  font-size: 16px;
  line-height: 1;
  color: #666;
}
#address-list {
  position: absolute;
  display: none;
  z-index: 99;
  width: 400px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-top: none;
  background-color: #fff;
}
#address-list > div {
  width: 100%;
  border-bottom: 1px solid #f24642;
}
#address-list > div span {
  position: relative;
  float: left;
  width: 100px;
  font: 12px/33px '微软雅黑';
  text-align: center;
  border-left:1px solid #ccc;
  border-top:1px solid #ccc;
  padding: 0 5px; 
  box-sizing: border-box;
}
#address-list > div span:nth-child(4) {
  border-right: 1px solid #CCC;
}
#address-list > i {
  position: absolute;
  top: -9px;
  right: 0;
  width: 422px;
  height: 10px;
  background: url(line.png);
}
#address-list > a {
  position: absolute;
  top: -11px;
  right: -11px;
  font-size: 22px;
  color: #f24642;
  background-color: #fff;
}
#address-list ul {
  display: none;
  margin: 10px 8px 5px;
}
#address-list li {
  float: left;
  width: 96px;
  height: 20px;
  line-height: 20px;
  margin-top: 5px;
}
#address-list li a {
  display: inline-block;
  font-size: 12px;
  line-height: 20px;
  padding: 0 5px;
  color: #333;
}
#address-list li.selected a {
  color: #fff;
  background-color: #f24642;
}
.province .tab-c, .city .tab-a, .area .tab-t {
  border-left-color: #f24642 !important;
}
.province .tab-p, .city .tab-c, .area .tab-a, .town .tab-t {
  border-color: #f24642 !important;
}
.province .pannel-p, .city .pannel-c, .area .pannel-a, .town .pannel-t {
  display: block !important;
}
.province .tab-p:after, .city .tab-c:after, .area .tab-a:after, .town .tab-t:after {
  content: '';
  position: absolute;
  width: 100px;
  bottom: -1px;
  left: 0px;
  border-bottom: 1px solid #fff;
}

