/* 首页起名表单，主色为中国红 #DE2910 */

.qm-home-form {
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  clear: both;
  margin-bottom: 20px;
  max-width: 100%;
  padding: 24px 24px 18px;
  width: 100%;
}

.qm-home-form .form-title {
  color: #de2910;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  margin: 0 0 16px;
  text-align: center;
}

.ceming-heading {
  margin: 14px 0 8px;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 600;
  color: #222;
}

.ceming-lead {
  margin: 0 0 16px;
  color: #666;
  line-height: 1.7;
}

.ceming-picked {
  margin: -6px 0 14px;
  color: #de2910;
  font-weight: 600;
}

.qm-home-form .hero-tips {
  color: #999;
  font-size: 13px;
  line-height: 1.6;
  margin: 14px 0 0;
  text-align: center;
}

div.qm-ceshi-gear-date div.qm-ceshi-date-ctrl {
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
}

@media (min-width: 901px) {
  div.qm-ceshi-gear-date div.qm-ceshi-date-ctrl {
    width: 560px !important;
    max-width: 560px !important;
  }
}

#qmCeshiAd {
  background-color: transparent !important;
  color: #333 !important;
  display: block !important;
  font-size: 15px !important;
  margin-top: 0 !important;
}

#qmCeshiAd .qm-ceshi-tabs {
  border-bottom-color: #e8edf3 !important;
}

#qmCeshiAd .qm-ceshi-tab {
  color: #888 !important;
  text-transform: none !important;
}

#qmCeshiAd .qm-ceshi-tab-on {
  color: #de2910 !important;
  border-bottom-color: #de2910 !important;
}

#qmCeshiAd .qm-ceshi-box {
  background: #fff !important;
  border-color: #e3e8ef !important;
  border-radius: 0 !important;
}

#qmCeshiAd .qm-ceshi-label {
  color: #de2910 !important;
  font-weight: normal !important;
}

#qmCeshiAd .qm-ceshi-row {
  border-bottom-color: #eef1f5 !important;
}

#qmCeshiAd .qm-ceshi-field,
#qmCeshiAd .qm-ceshi-date {
  color: #333 !important;
}

#qmCeshiAd .qm-ceshi-date {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23de2910' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center right !important;
  background-size: 18px 18px !important;
}

#qmCeshiAd .qm-ceshi-opt::before {
  border-color: #de2910 !important;
  background-color: #fff !important;
}

#qmCeshiAd .qm-ceshi-opt-on::after {
  background-color: #de2910 !important;
}

#qmCeshiAd .qm-ceshi-submit {
  background: #de2910 !important;
  background-color: #de2910 !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-weight: bold !important;
  letter-spacing: 2px;
  height: 46px !important;
  line-height: 46px !important;
  text-transform: none !important;
  transition: background-color .2s;
}

#qmCeshiAd .qm-ceshi-submit:hover {
  background: #b81f0c !important;
  background-color: #b81f0c !important;
  box-shadow: none;
  transform: none;
}

.qm-ceshi-gear-date .qm-ceshi-date-class__box {
  color: #de2910 !important;
  border-color: #de2910 !important;
  background-color: #fff !important;
}

.qm-ceshi-gear-date .qm-ceshi-date-class__box.qm-ceshi-on {
  background-color: #de2910 !important;
  color: #fff !important;
  border-color: #de2910 !important;
}

.qm-ceshi-gear-date .qm-ceshi-date-class__box.qm-ceshi-on::after {
  border-top-color: #de2910 !important;
}

.qm-ceshi-gear-date .qm-ceshi-date-grid {
  background-color: #fdecea !important;
  border-top-color: #de2910 !important;
  border-bottom-color: #de2910 !important;
  box-shadow: none !important;
}

.qm-ceshi-gear-date .qm-ceshi-date_btn__elem:first-child,
.qm-ceshi-gear-date .qm-ceshi-date-confirm__finish {
  background: #de2910 !important;
  background-color: #de2910 !important;
  color: #fff !important;
}

.qm-ceshi-gear-date .qm-ceshi-date-confirm__tit,
.qm-ceshi-gear-date .qm-ceshi-date-confirm__p b {
  color: #de2910 !important;
}

@media only screen and (max-width: 959px) {
  .qm-home-form {
    margin-bottom: 10px;
    padding: 18px 20px 14px;
  }

  .qm-home-form .form-title {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  .qm-home-form {
    padding-left: 10px;
    padding-right: 10px;
  }
}
