/**
 * @fileoverview orderOnline.css
 * @author xuzengqiang,songxirong
 * @date 2018-08-25 23:01:35
 */

/* 主体部分样式开始 */

.pcbsino-wrapper .header {
  height: 60px;
  width: 100%;
  background: #ff0000;
}
.pcbsino-wrapper .navbar {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 68px;
  background: #ff552e;
  z-index: 200;
}
.pcbsino-wrapper .pcbsino-navbar {
  background: #ff552e;
  border: 0 none;
}
.pcbsino-wrapper .pcbsino-navbar .iconfont {
  color: #fff;
  font-size: 26px;
}
.pcbsino-wrapper .pcbsino-view-cell {
  margin: 0;
  padding: 8px 5px 6px;
  vertical-align: top;
  border: 0 none;
  font-size: 15px;
  display: inline-block;
  text-align: center;
  background: none;
}
.pcbsino-wrapper .pcbsino-navbar .pcbsino-view-cell .pcbsino-view-name {
  color: #fff;
  font-size: 14px;
  line-height: 24px;
  font-family: 'Open Sans', Microsoft Yahei, Arial, Helvetica, sans-serif;
}
.pcbsino-wrapper .pcbsino-view-cell.pcbsino-cols-2 {
  width: 20%;
}

.mobile.order-online {
  width: 100%;
  background: #fff;
  /* border: 1px solid #ff0000; */
  overflow: hidden;
  padding: 0px 1rem;
  margin-top: 65px;
}
.mobile.order-online > .title {
  height: 4rem;
  line-height: 4rem;
  border-bottom: 1px solid #efefef;
  font-size: 1.2rem;
  /* font-weight: 700; */
}
.mobile.order-online .main-content {
  /* padding: 1.5rem 0px; */
}
.mobile.order-online .left-content {
  width: 100%;
  overflow: hidden;
}
.mobile.order-online .left-content .classify {
  margin-top: 1rem;
  font-size: 1rem;
  border-top: 1px dashed #efefef;
  height: auto;
}
.mobile.order-online .left-content .classify:first-child {
  border-top: 0 none;
}
.mobile.order-online .left-content .classify > p.classify-name {
  width: 100%;
  display: block;
  height: 2rem;
  line-height: 2rem;
  font-size: 0.8rem;
  overflow: hidden;
  color: rgb(71, 23, 4);
  /* border: 1px solid #afafaf; */
}
.mobile.order-online .left-content .classify > .classify-content {
  width: 100%;
  /* border: 1px solid #3399cc; */
  padding-bottom: 0.5rem;
}
.mobile.order-online .left-content .classify > .classify-content .note {
  font-size: 0.6rem;
  display: block;
  height: 2rem;
  clear: both;
  line-height: 2rem;
  color: #afafaf;
}

.mobile.order-online .left-content .classify-content .symbol {
  margin: 0 5px;
  display: inline-block;
  line-height: 2rem;
  vertical-align: top;
  font-size: 1rem;
  color: #333;
}

.pcb-border {
  position: relative;
}
.pcb-border .pcb-select {
  border-right: 0px;
  width: 8rem;
  height: 2.1rem;
}
.pcb-border .border-mask {
  position: absolute;
  width: 8rem;
  padding: 0.5px 0.5px 1rem;
  background: #fff;
  z-index: 1000;
  box-shadow: 4px 4px 8px #dfdfdf;
  top: 2.1rem;
  border: 1px solid #ddd;
  border-top: 0px;
  display: none;
  font-size: 0.8rem;
}
.pcb-border .border-mask li {
  line-height: 2rem;
  height: 2rem;
  padding-left: 2px;
  color: #666;
  cursor: pointer;
}
.pcb-border .border-mask li:hover {
  background: #f85d3a;
  color: #fff;
}

.mobile.order-online .left-content .pcb-quantity {
  position: relative;
  overflow: inherit;
}
/* .mobile.order-online .left-content .pcb-quantity a {
  display: inline-block;
  width: 220px;
  height: 30px;
  border: 1px solid #ddd;
  position: relative;
  padding: 2px 0px 0px 10px;
} */
.mobile.order-online .left-content .pcb-quantity .selected {
  font-size: 12px;
  color: #ccc;
  position: absolute;
  right: 7px;
  top: 7px;
}
/*联想框*/
.pcb-quantity .quantity-mask {
  position: absolute;
  width: 100%;
  padding: 0.5rem 0.5rem 1rem;
  background: #fff;
  z-index: 1000;
  /* border:1px solid #209bc1; */
  border: 1px solid #ddd;
  box-shadow: 4px 4px 8px #dfdfdf;
  top: 2rem;
  display: none;
  font-size: 0.8rem;
}
.pcb-quantity .quantity-mask .quantity-select {
  overflow: hidden;
}
.pcb-quantity .quantity-mask .quantity-select li {
  height: 2rem;
  line-height: 2rem;
  float: left;
  /* border:1px solid #AFAFAF; */
  width: 25%;
  cursor: pointer;
  white-space: nowrap;
  text-align: left;
  color: #666;
  padding-left: 4px;
}
.pcb-quantity .quantity-mask .quantity-select li:hover {
  background: #ce2e0a;
  color: #fff;
}
.pcb-quantity .quantity-mask .quantity-input .title {
  height: 2rem;
  line-height: 2rem;
}
.pcb-quantity .quantity-mask .quantity-input .title span {
  font-size: 0.8px;
  color: #666;
}
.pcb-quantity .quantity-mask .quantity-input input {
  height: 2rem;
  line-height: 2rem;
  float: left;
  padding: 0px 5px;
}
.pcb-quantity .quantity-mask .quantity-input a.ensure {
  float: left;
  margin-left: 1rem;
  border: 1px solid #ce2e0a;
  height: 2rem;
  line-height: 2rem;
  padding: 0px 12px;
  text-align: center;
  font-size: 12px;
  color: #fff;
  background: #ce2e0a;
  border-radius: 2px;
}
.pcb-unit-quantity {
  line-height: 30px;
  color: #333;
}
.solder-mask-color i.color,
.silkscreen-color i.color,
.pcb-lead-time tbody td i.color {
  width: 0.8rem;
  height: 0.8rem;
  float: left;
  position: relative;
  left: -4px;
  top: 0.5rem;
  border-width: 1px;
  border-style: solid;
}
.solder-mask-color i.green,
.pcb-lead-time tbody td i.green {
  background: green;
  border-color: green;
}
.solder-mask-color i.blue,
.pcb-lead-time tbody td i.blue {
  background: blue;
  border-color: blue;
}
.solder-mask-color i.red,
.pcb-lead-time tbody td i.red {
  background: red;
  border-color: red;
}
.solder-mask-color i.yellow,
.pcb-lead-time tbody td i.yellow {
  background: yellow;
  border-color: yellow;
}
.solder-mask-color i.black,
.silkscreen-color i.black,
.pcb-lead-time tbody td i.black {
  background: black;
  border-color: black;
}
.solder-mask-color i.matt-black,
.pcb-lead-time tbody td i.matt-black {
  background: #2f2f2f;
  border-color: #2f2f2f;
}
.solder-mask-color i.white,
.silkscreen-color i.white,
.pcb-lead-time tbody td i.white {
  background: white;
  border-color: #ddd;
}

/*右侧主体内容*/
.bottom-content {
  margin-top: 1rem;
  padding-top: 1rem;
  padding-bottom: 3rem;
  border-top: 1px solid #afafaf;
}
.bottom-content .item-row {
  /* border:1px solid #AFAFAF; */
  margin-bottom: 15px;
}
.bottom-content .item-row > .title {
  padding-bottom: 1rem;
  font-size: 0.8rem;
}
.bottom-content .item-row > .title .name {
  font-size: 1rem;
  color: #2f2f2f;
}
.bottom-content .pcb-lead-time .delivery_tit {
  display: block;
  height: 1rem;
  line-height: 1rem;
  margin-top: 0.8rem;
}
.bottom-content .pcb-lead-time .title i.iconfont {
  color: #f00;
}
.bottom-content .pcb-lead-time .title a {
  color: #39c;
}
.bottom-content .pcb-lead-time table {
  font-size: 0.8rem;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  text-align: left;
  color: #5d5d5d;
  font-size: 13px;
  width: 100%;
}
.bottom-content .pcb-lead-time thead tr {
  background-color: #f0f0f0;
  line-height: 2rem;
  text-align: center;
}
.bottom-content .pcb-lead-time thead tr th {
  border: 1px solid #d8d8d8;
  font-weight: normal;
}
.bottom-content .pcb-lead-time tbody tr td {
  padding: 2px 10px;
  cursor: pointer;
  text-align: center;
  border: 1px solid #d8d8d8;
  line-height: 24px;
}
.bottom-content .pcb-lead-time tbody td i.color {
  float: none;
  display: inline-block;
  position: relative;
  top: 2px;
}
.bottom-content .pcb-order-remark {
}
.bottom-content .pcb-order-remark .content textarea {
  width: 100%;
  font-size: 0.8rem;
  min-height: 3em;
  line-height: 1.5;
  resize: none;
  outline: none;
  padding: 8px 9px 6px;
  overflow: auto;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 2px;
}

.mobile.order-online .amount-detail-dialog {
  position: fixed;
  border-top: 1px solid #dfdfdf;
  width: 100%;
  height: 20rem;
  left: 0px;
  bottom: 0rem;
  background: #fff;
  z-index: 2000;
  padding: 1rem 1rem;
  box-shadow: 0px 0px 10px #d1d1d1;
  font-size: 0.8rem;
  /* display: none; */
  transition: all 0.5s ease-in-out;
  transform: translateY(100%);
}
.mobile.order-online .amount-detail-dialog.show {
  bottom: 3rem;
  transform: translateY(0%);
}
.amount-detail-dialog .pcb-price-category table {
  border-collapse: collapse;
  border-spacing: 0;
  text-align: left;
  color: #5d5d5d;
  width: 100%;
}
.amount-detail-dialog .pcb-price-category table tr {
  height: 2rem;
  line-height: 2rem;
}
.amount-detail-dialog .pcb-price-category table td {
  width: 50%;
  padding-left: 0.5rem;
  overflow: hidden;
}
.amount-detail-dialog .pcb-price-category table td.label {
  background: #f0f0f0;
  text-align: center;
  width: 40%;
  font-weight: normal;
  color: #666;
  /* border:0 none; */
}
.amount-detail-dialog .pcb-price-category table tfoot td {
  border: none;
  padding: 0.8rem 0;
}
.amount-detail-dialog .pcb-price-category table tfoot span {
  margin-right: 10px;
}
.amount-detail-dialog .pcb-price-category table tfoot span label.value {
  color: #000;
}

.bottom-fixed {
  height: 3rem;
  line-height: 3rem;
  position: fixed;
  bottom: 0px;
  z-index: 3000;
  left: 0px;
  background: #f1f1f1;
  width: 100%;
}
.bottom-fixed .amount-detail {
  font-size: 0.8rem;
  color: rgb(82, 19, 38);
  width: 2.4em;
  text-align: center;
  transition: all 0.5s ease-in-out;
  position: absolute;
  left: 0px;
  background: #f1f1f1;
  z-index: 10;
}
.bottom-fixed .amount-detail i.iconfont {
  transition: all 0.5s ease-in-out;
  display: inline-block;
}
.bottom-fixed .amount-detail.down i.iconfont {
  transform: rotate(180deg);
}
.bottom-fixed .order-cost {
  height: 3rem;
  line-height: 3rem;
  position: absolute;
  left: -100em;
  right: 6em;
  top: 0em;
  bottom: 0em;
  text-align: right;
  white-space: nowrap;
}
.bottom-fixed .order-cost .title {
  color: #333;
  font-size: 0.8rem;
}
.bottom-fixed .order-cost .symbol {
  font-size: 0.6rem;
  color: #d6473b;
}
.bottom-fixed .order-cost .num {
  font-size: 1.2rem;
  float: right;
  margin-right: 0.4rem;
  position: relative;
  color: #d6473b;
  font-weight: 700;
}
.bottom-fixed .order-now {
  float: right;
}
.bottom-fixed .order-now a {
  display: inline-block;
  height: 100%;
  width: 6em;
  color: #fff;
  background: #ce2e0a;
  font-size: 1em;
  text-align: center;
}

/**
 * pcb单选按钮组
 * @author xuzengqiang
 * @date 2018-08-28 10:06:25
 */
.pcb-radio {
  display: inline-block;
  padding: 0rem 0.6rem;
  height: 2rem;
  line-height: 2.4em;
  border: 1px solid #ddd;
  text-align: center;
  margin-right: 0.2rem;
  color: #666;
  position: relative;
  cursor: pointer;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  outline: none;
}
/*选中图标的处理*/
.pcb-radio .selected-icon {
  height: 1rem;
  width: 1rem;
  position: absolute;
  right: -1px;
  bottom: 0px;
  line-height: 1rem;
  text-align: center;
  display: none;
}
.pcb-radio .selected-icon i.iconfont {
  font-size: 1rem;
  color: #e0907e;
}

/*启用状态*/
.pcb-radio.active {
  border-color: #e0907e;
  position: relative;
}
.pcb-radio.active .selected-icon {
  display: inline-block;
}
/*禁用状态*/
.pcb-radio.disabled {
  border: 1px solid #e1e1e1;
  color: #5d5d5d;
  opacity: 0.5;
  filter: alpha(opacity=50);
  cursor: not-allowed;
}
/*下拉框样式*/
.pcb-select {
  height: 2rem;
  width: 100%;
  border: 1px solid #ddd;
  line-height: 2rem;
  cursor: pointer;
  color: #888;
  font-size: 0.8rem;
  padding-left: 5px;
}
.pcb-select i.iconfont {
  font-size: 0.8rem;
  color: #666;
  float: right;
  margin-right: 0.6rem;
}
.pcb-select[disabled='disabled'] {
  background: #dfdfdf;
}

.pcb-input {
  display: inline-block;
  /* clear: both; */
  border: 1px solid #e1e1e1;
  font-size: 0.6rem;
}
.pcb-input input {
  height: 2rem;
  line-height: 2rem;
  float: left;
  border: 0 none;
  text-align: center;
  width: 4rem;
}
.pcb-input span.suffix {
  width: 3.5rem;
  background: #f5f5f5;
  height: 2rem;
  line-height: 2rem;
  float: left;
  border-left: 1px solid #e1e1e1;
  text-align: center;
  color: #666;
}
.pcb-input input[disabled='disabled'] {
  background: #dfdfdf;
}
