/* You can add global styles to this file, and also import other style files */
@import "~ng-zorro-antd/ng-zorro-antd.min.css";

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  position: relative;
  height: 100%;
  font-family: "Microsoft YaHei",-apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",  "Helvetica Neue", Helvetica, Arial, sans-serif,
  "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"!important;
  /* overflow: hidden; */
  min-width: 320px;
  max-width: 640px;
  margin: 0 auto;
  color: #333333;
}

img {
  max-width: 100%;
}

ul li,
ol li {
  list-style: none;
}

.container {
  padding: 0;
  height: 100%;
  min-width: 320px;
  max-width: 640px;
  margin: 0 auto;
}

.title {
  text-align: center;
  font-family: 'Microsoft YaHei';
}

.wrapper {
  display: flex;
  flex-direction: column;
}

.layout {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: url('../src/assets/images/bg.png') no-repeat;
  padding: 15px 10px 0px;
  background-size: 100% 100%;
}

.layout.wrapper {
  padding: 0;
}

.tips {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0px;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  padding: 15px 0;
  width: 90%;
  margin: 0 auto 5% auto;
  background: #ec2d37;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0px 15px 16px -8px #f4bbbe;
}

/* .layout.cityLayout{
    padding:10px 0;
} */
.content {
  overflow: auto;
  /* padding-bottom: 60px; */
  -webkit-overflow-scrolling: touch;
  padding: 10px 8px;
  background: #fff;
  height:calc(100% - 60px);
  border-radius: 8px 8px 0 0;
}

.content.healthContent::-webkit-scrollbar-track-piece {
  background-color: rgba(0, 0, 0, 0);
  border-left: 1px solid rgba(0, 0, 0, 0);
}

.content.healthContent::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 5px;
  height: 13px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.content.healthContent::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  min-height: 28px;
}

.content.healthContent::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

/* .layout.cityLayout .questionTitle{
    margin:0 10px;
} */
.questionTitle {
  color: #4446e2;
  font-size: 20px;
  height: 50px;
  line-height: 60px;
  width: 100%;
  display: flex;
  padding: 0 10px;
  justify-content: space-between;
  align-items: center;
}
.questionTitle .page{
  width: 65px;
  height: 28px;
  line-height:28px;
  background: #5566e9;
  color: #fff;
  text-align: center;
}
.subTitle{
  color: #999999;
  padding-left: 10px;

}

.questionTitle span {
  color: rgba(3, 177, 153)
}

.questionTitle.hospitalTitle {
  line-height: unset;
  margin: 15px auto 15px auto;
}

.questionTitle.smokeTitle {
  /* line-height: unset;
  margin: 25px auto 55px auto; */
}

.content_footer {
  display: flex;
  width: 100%;
  position: fixed;
  bottom: 0;
  background-color: #f8f8ff;
  min-width: 320px;
  max-width: 640px;
  margin: 0 auto;
  /* padding-bottom: 15px; */
}

.content_footer div {
  text-align: center;
  color: #ec2d37;
  font-size: 20px;
  height: 60px;
  line-height: 60px;
  font-weight: bold;
}

/* .content_footer div.next {
  color: #8a8a8a;
} */
.content_footer div:nth-child(1){
  color: #4242dd;
}
.content_footer div.next {
  color: #fff;
  background: #4242dd;
} 
.content_footer div {
  font-size: 20px;
  font-weight: 800;
  width: 50%;
  font-family: '微软雅黑';
  /* width: 10%; */
}

 .content_footer div:nth-child(2) {
  /* font-weight: 500;
  width: 50%; */
  /* margin-left: 15%; */
} 

.twoContent {
  height: 100%;
}

.jobContent,
.income,
.cityContent {
  width: 100%;
  margin-top: 1em;
}

.jobContent li {
  width: 100%;
  height: 60px;
  margin-bottom: 10px;
  border-radius: 4px;
  box-sizing: border-box;
  padding-left: 5%;
  line-height: 1.5;
  display: flex;
  align-items: center;
  padding: 0 3%;
  font-size: 16px;
  background: #f4f4f4;
}

.cityContent li,
.income li {
  width: 100%;
  height: 60px;
  line-height: 60px;
  margin-bottom: 10px;
  border-radius: 4px;
  box-sizing: border-box;
  padding-left: 5%;
  font-size: 16px;
  background: #f4f4f4;
}
.jobContent li span{
  font-size: 12px;
}

.jobContent li.selected,
.income li.selected {
  color: #fff;
  background: #4242dd;
}

.cityContent {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5%;
  margin-bottom: 0px;
}

.income {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.income li {
  width: 49%;
  float: left;
  margin-right: 2%;
  text-align: center;
  padding-left: 0;
}

.income li:nth-child(2),
.income li:nth-child(4),
.income li:nth-child(6) {
  margin-right: 0;
}

.cityContent li {
  /* width: 12%; */
  width: 16%;
  height: 55px;
  line-height: 55px;
  text-align: center;
  padding-left: 0;
  margin-left: 2%;
  margin-right: 2%;
  border: none;
  /* -moz-box-shadow: 0px 3px 7px rgb(206, 208, 210);
  -webkit-box-shadow: 0px 3px 7px rgb(206, 208, 210);
  box-shadow: 0px 3px 7px rgb(206, 208, 210); */
  font-size: 18px;
  border-radius: 0;
}

.cityContent li:nth-child(7),
.cityContent li:nth-child(14),
.cityContent li:nth-child(21),
.cityContent li:nth-child(28) {
  /* margin-right: 0; */
}

.cityContent li.selected {
  background: #5566e9;
  color: #fff;
}

.toastWrapper {
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
}

.toast {
  position: fixed;
  left: 0;
  right: 0;
  min-width: 320px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  z-index: 1;
}

.toastContent {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 45%;
  background-color: #fff;
  z-index: 20;
  animation: slowUp .5s ease both;
  min-width: 320px;
  max-width: 640px;
  margin: 0 auto;
}

.toastContent.city {
  margin: 0;
  height: 60%;
}

.toastContent .live {
  position: relative;
  height: 40px;
  line-height: 40px;
  text-align: center;
  /* border-bottom: 1px rgb(220, 220, 220) solid; */
  font-size: 16px;
}

.toastContent .province {
  display: flex;
  /* height: 40px;
  line-height: 40px; */
}

.toastContent .province div {
  font-size: 16px;
  text-align: center;
  height: 35px;
  line-height: 35px;
}
.toastContent .province div:nth-child(1){
  width: 40%;
}
/* .toastContent .province span.selected{
    border-bottom:2px solid #ff0000;
} */
.toastContent ul {
  width: 100%;
  margin: 5% 0%;
}

.toastContent ul li {
  width: 46%;
  float: left;
  text-align: center;
  margin: 2%;
  border: 1px #8a8a8a solid;
  border-radius: 4px;
  box-sizing: border-box;
  height: 40px;
  line-height: 40px;
}

.toastContent ul li.selected {
  border: 1px #ff0000 solid;
}

.toastContent ul.city {
  margin: 0;
  margin-left: 40%;
  overflow: scroll;
  /* max-height: 250px; */
  -webkit-overflow-scrolling: touch;
  max-height: 80%;
}

.toastContent ul.city li {
  width: 100%;
  border: none;
  border-radius: 0;
  margin: 0;
  height: 35px;
  line-height: 35px;
  text-align: left;
  font-size: 16px;
}
.toastContent ul.city li.selected{
  color: #5566e9;
}
.address {
  width: 80%;
  margin: 2% auto;
  text-align: center;
  font-size: 18px;
}

#errTips {
  width: 60%;
  height: 60px;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.7);
  top: 45%;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0 auto;
  border-radius: 10px;
  color: #fff;
  animation: slowUp .5s ease both;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  box-sizing: content-box;
  text-align: center;
}

.limbo {
  position: relative;
  height: 100%;
}

.specialWrapper {
  padding: 10px 10px 0 10px;
}

@keyframes slowUp {
  0% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%)
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0)
  }
}

.ageWrapper .ant-slider{
  margin: 0!important;
  padding: 0!important;
}
