.was-validated .custom-control-input:valid~.custom-control-label::before {
  background-color: #fff;
}

.bootstrap-select.is-valid .dropdown-toggle,
.was-validated .bootstrap-select select:valid+.dropdown-toggle {
  border-color: #ced4da !important;
}

.form-control.is-valid,
.was-validated .form-control:valid {
  display: block;
  width: 100%;
  padding: 0.47rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiP…45NSwyLjI2LDYsMi4xMyw2LDJWMS41QzYsMS4yMiw1Ljc4LDEsNS41LDF6Ii8+Cjwvc3ZnPgo=);
  background-position-y: 50%;
  background-position-x: calc(100% - 11px);
  background-repeat: no-repeat;
  padding-right: 24px;
}

.cycle-select-discount {
  position: absolute;
  top: -10px;
  right: 0;
  display: inline-block;
  padding: 0px 5px;
  height: 15px;
  background: #F70302;
  border-radius: 5px 5px 5px 0px;
  color: #ffffff;
  font-size: 12px;
  text-align: center;
  line-height: 15px;
}

.error-tip {
  color: #f46a6a;
  margin: 0;
  padding: 0;
  line-height: 36px;
  display: none;
}

input::-webkit-input-placeholder {
  color: #cacdd4 !important;
}

input:-moz-placeholder {
  color: #cacdd4 !important;
}

input::-moz-placeholder {
  color: #cacdd4 !important;
}

input:-ms-input-placeholder {
  color: #cacdd4 !important;
}

.btn-custom {
  min-width: 72px;
  height: 28px;
  border: #F0F0F0 1px solid;
  border-radius: 4px;
  line-height: 11px;
}

.btn-custom-group .active {
  background-color: #2948DF;
  color: #fff;
}

/* 重写进度条 */
input[type='range'] {
  background: #F1F3F8;
  outline: none;
  -webkit-appearance: none;
  /*清除系统默认样式*/
  height: 4px;
  /*横条的高度*/
  border-radius: 3px;
  background: rgb(41, 72, 223) !important;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 23px;
  background-color: #fff;
  /*box-shadow: 0 0 2px rgba(0, 0, 0, 0.3),
0 3px 5px rgba(0, 0, 0, 0.2);*/
  cursor: pointer;
  border: 4px solid #2948DF;
  border-top-width: 5px;
  border-bottom-width: 5px;
  border-radius: 2px;
}

input[type="range"]::-moz-range-thumb {
  -webkit-appearance: none;
  width: 2px;
  height: 15px;
  background-color: #fff;
  /*box-shadow: 0 0 2px rgba(0, 0, 0, 0.3),
0 3px 5px rgba(0, 0, 0, 0.2);*/
  cursor: pointer;
  border: 4px solid #2948DF;
  border-top-width: 5px;
  border-bottom-width: 5px;
  border-radius: 2px;
}

.range_none {
  position: absolute;
  height: 3px;
  display: block;
  background: #DEDEDE;
  cursor: not-allowed
}

.form-check {
  margin-left: 20px;
}

.justify-content-start {
  flex-wrap: wrap;
}

.row {
  margin: 0;
}

.col-form-label {
  line-height: 30px;
}

.btn-group-toggle .btn-primary {
  background: #eaeaea;
  color: #666;
  border: 1px solid #eaeaea;
  margin-right: 3px;
  border-radius: 3px;
}

@media (max-width: 992px) {
  .footer {
      z-index: 1;
      display: none !important;
  }
}

.glyphicon {
  margin-top: 10px;
}

.pointer {
  cursor: pointer;
}
.tag-active {
  background: #2948df!important;
  border-color: #2948df!important;
  color: #fff!important;
}
.ordersummary {
  margin-top: 20px;
}
.ordersummary h4 {
  font-weight: bold;
  margin-bottom: 20px;
}
.ordersummary .el-form-item,.ordersummary .el-form-item__content,.ordersummary .el-form-item__label {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 2;
}
.amount {
  font-weight: bold;
  font-size: 16px;
  line-height: 28px;
}

.ordersummary td {
  border: none !important;
  padding: 5px !important;
}

.mobile-bottom-total {
  display: none;
  position: fixed;
  width: 100%;
  height: 4rem;
  text-align: right;
  line-height: 4rem;
  padding-right: 1.25rem;
  background: #FFFFFF;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  z-index: 99999;
  bottom: 0;
  left: 0;
  -webkit-overflow-scrolling: auto;
}

.mobile-bottom-total .total {
  font-size: 18px;
  font-weight: 400;
  color: #333333;
  margin-right: 0.5rem;
}

.btn.active {
  z-index: 0 !important;
}