*,
::after,
::before {
  box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */

ol,
ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 三方协议：学生下的自定义NAV样式 */
.m-nav-student-custom {
  box-shadow: 0 2px 5px 0 rgba(0, 123, 255, 0.35);
  line-height: 1.5;
}

.m-nav-student-custom > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.m-nav-student-custom a {
  font-size: 1rem;
}

/*  */
.jumbotron {
  margin-top: 1rem;
  background-color: #fff;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05);
}

.jumbotron h1 {
  text-align: center;
}

.s-login-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.s-login-btn > a {
  flex: 0 0 40%;
}

.m-login-ft {
  /* position: absolute;
    bottom: 0;
    left: 0; */
  width: 100%;
  text-align: center;
  padding: 1rem 0.375rem 1rem 0;
}

.form-login {
  width: 70%;
  margin: 0 auto;
}

.m-login-radio-items {
  text-align: left;
}

.f-login-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.m-login-ft {
  font-size: 0.75rem;
}

/*  */

.m-reg2-info-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 1rem;
}

.m-reg2-info-list > ul {
  flex: 1;
}

.m-reg2-list-group {
}

/*  */

.ul_survey {
  padding: 0;
  list-style: none;
}

.questionItem {
  display: flex;
  flex-wrap: wrap;
}

.questionItem > div {
  box-sizing: border-box;
  flex: 0 0 25%;
  margin: 0.225rem 0;
  padding-right: 0.5rem;
}

.ul_survey > li:nth-child(3) div.questionItem > div:nth-last-child(2) {
  display: flex;
  flex: 0 0 100%;
  /* align-items: center; */
}

.ul_survey > li:nth-child(3) div.questionItem > div:nth-last-child(2) > label {
  flex: 0 0 60px;
}

.questionTitle {
  color: #17a2b8;
}

.form-actions {
  display: flex;
  justify-content: center;
}

.form-actions > input {
  margin: 0 0.325rem;
}

/*  */

.div_initpwd fieldset {
  /* overflow: hidden; */
}

.div_initpwd legend {
  font-size: 1.25rem;
  text-align: center;
  margin-top: 2rem;
}

.m-reg-success-tips {
  text-align: center;
  padding-top: 2rem;
}

/* 学生：签约须知 */

.m-signing-wrapper {
  /* padding: 4rem 2rem;
    margin-top: 1rem; */
}

.m-signing-wrapper > h1 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.m-signing-process {
  width: 50%;
  margin: 1rem auto 0 auto;
  padding: 0;
}

.m-signing-process > li {
  position: relative;
  display: flex;
  align-items: center;
  width: 90%;
  /* height: 100px; */
  background-color: #f5faff;
  border-radius: 4rem;
  border: 1px solid #b1d7ff;
  margin: 0 auto 2rem auto;
  padding: 1rem 5px;
  /* box-shadow: 0px 3px 5px 2px #007bff; */
}

.m-signing-process > li::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  bottom: -19px;
  left: 50%;
  transform: translateX(-50%);
  border: 10px solid #f5faff;
  border-right-color: transparent;
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.m-signing-process > li::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border: 10px solid #b1d7ff;
  border-right-color: transparent;
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.m-signing-process > li:last-child::after,
.m-signing-process > li:last-child::before {
  content: "";
  border: none;
}

.m-signing-process > li > span {
  width: 90px;
  height: 90px;
  line-height: 90px;
  text-align: center;
  border-radius: 50%;
  background: #fff;
  font-size: 2rem;
}

.m-signing-process > li > p {
  flex: 1;
  padding: 0 1rem;
  margin-bottom: 0;
  color: #616161;
  font-size: 0.85rem;
  /* background: red; */
}

/* 我的签约 */

.m-my-signing {
  /* padding: 4rem 2rem;
    margin-top: 1rem; */
  width: 100%;
  overflow-x: scroll;
}

.m-my-signing > h1 {
  text-align: center;
}

.m-my-signing-step {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 2rem 0;
}

.m-my-signing-step > li {
  flex: 1;
  /* width: 20%; */
  /* padding: .5rem; */
  /* background: red; */
  /* margin-right: 20px; */
  text-align: center;
  overflow: hidden;
}

.m-my-signing-step > li > h6 {
  color: rgba(0, 0, 0, 0.45);
}

.m-my-signing-step > li > span {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background-color: #fff;
  border-radius: 50%;
}

.m-my-signing-step > li > span::after {
  content: "";
  width: 9999px;
  height: 1px;
  position: absolute;
  top: 13px;
  left: 150%;
  background: rgba(0, 0, 0, 0.25);
}

.m-my-signing-step > li > span::before {
  content: "";
  width: 9999px;
  height: 1px;
  position: absolute;
  top: 13px;
  right: 150%;
  background: rgba(0, 0, 0, 0.25);
}

.m-my-signing-step > li.arived > h6 {
  color: #007bff;
}

.m-my-signing-step > li.arived > span {
  border-color: #007bff;
  background-color: #007bff;
  color: #fff;
}

.m-my-signing-step > li.arived > span::after,
.m-my-signing-step > li.arived + li > span::before {
  background-color: #007bff;
}

.m-my-signing-step > li:last-child > span::after,
.m-my-signing-step > li:first-child > span::before {
  width: 0;
}

.m-my-signing-step > li > h6 {
  font-size: 14px;
  padding: 1rem 0 0 0;
  font-weight: normal;
}

.m-my-signing-btngroup {
  padding: 20px 0;
  /* position: fixed; */
  /* height: 80px;
    line-height: 80px; */
  /* background-color: #f8f9fa; */
  text-align: center;
  /* border-top: 1px solid #F0F0F0; */
  overflow: hidden;
}

.m-my-signing-btngroup > div.alert {
  width: 90%;
  margin: 0 auto;
}

.m-my-signing-btngroup p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  text-align: center;
  line-height: 30px;
  color: #fd7e14;
}

.f-alert-custom {
  width: 90%;
  margin: 0 auto 2rem auto;
}

/* 填写/编辑就业协议书 */

.m-agreement-edit-wrapper {
  width: 60%;
  margin: 0 auto;
}

.m-agreement-edit-wrapper > h1 {
  text-align: center;
  margin: 2rem 0;
}

.m-agreement-edit-wrapper > table {
  margin-bottom: 2rem;
}

.m-agreement-edit-wrapper th,
.m-agreement-edit-wrapper td {
  text-align: center;
}

.m-agreement-edit-wrapper th {
  border: 1px solid #007bff;
}

.m-agreement-edit-wrapper td {
  border: 1px solid #ced4da;
  border-top: none;
  font-size: 1rem;
  background-color: #fff;
}

.thead-blue {
  background-color: #007bff;
  color: #fff;
}

/* 用人单位：用人单位信息表格显示 */

.m-company-dis-tt {
  color: #17a2b8;
}

.m-company-table-custom {
  margin-top: 2rem;
}

.m-company-table-custom th,
.m-company-table-custom td {
  text-align: center;
}

.m-company-table-custom th {
  background-color: rgba(0, 0, 0, 0.05);
}

.m-company-table-custom td.s-state-1 {
  color: #28a745;
}

.m-company-table-custom td.s-state-2 {
  color: #ffc107;
}

.m-company-table-custom td.s-state-3 {
  color: #dc3545;
}

.m-alreadylist-search-main {
  width: 100%;
  display: flex;
}

.m-alreadylist-search-main > div:not(:first-child) {
  margin-left: 10px;
}

.m-waitlist-table-main {
  width: 100%;
  overflow-x: auto;
}

.m-waitlist-table-main > table th {
  font-size: 14px;
  font-weight: normal;
}

.m-waitlist-table-main > table th,
.m-waitlist-table-main > table td {
  padding: 0.75rem 0.15rem;
}

.m-waitlist-table-main > table th:nth-last-child(4),
.m-waitlist-table-main > table td:nth-last-child(4) {
  width: 50px;
  word-wrap: break-word;
}

.m-waitlist-table-main > table th:nth-child(3) {
  width: 70px;
}

.m-waitlist-table-custom {
}

.m-waitlist-table-custom > thead {
  background-color: #cce5ff;
}

.m-waitlist-table-custom th {
  white-space: nowrap;
  text-align: center;
  font-size: 14px;
  border: 1px solid #fff;
  color: #333;
}

.m-waitlist-table-custom td {
  vertical-align: middle;
  font-size: 0.75rem;
  text-align: center;
}

.m-waitlist-table-custom td:nth-child(1),
.m-waitlist-table-custom td:nth-child(2),
.m-waitlist-table-custom td:nth-child(3),
.m-waitlist-table-custom td:last-child,
.m-waitlist-table-custom td:nth-last-child(2) {
  text-align: center;
}

/* 用人单位：填写回执表单的 input 样式控制 */
.m-company-form-input-default {
  width: 100%;
  height: 100%;
  /* padding: .55rem; */
  margin: 0;
  border: none;
  border-radius: 0;
  -webkit-appearance: none;
  -webkit-border-radius: 0px;
  background-color: #d3e8ff;
  /* color: #fff; */
  text-align: center;
  text-align-last: center;
  font-size: 14px;
}

/* 用人单位：填写回执表单的 Textarea 样式控制 */
.m-company-form-textarea-default {
  position: absolute;
  bottom: 0;
  top: 30px;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #d3e8ff;
  padding: 0;
  border: none;
  padding: 0.55rem;
  font-size: 14px;
}

/* 用人单位：填写附加条款的 Textarea 样式控制 */
.m-company-form-textarea-clause {
  background-color: #d3e8ff;
  width: 100%;
  padding: 0.55rem;
  font-size: 14px;
}

/* 分页统一样式 */

.pagination {
  display: flex;
  justify-content: center;
}

.pagination > ul {
  display: flex;
}

.pagination li > a {
  position: relative;
  display: block;
  padding: 0 0.75rem;
  height: 40px;
  line-height: 40px;
  margin-left: -1px;
  /* line-height: 1.25; */
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
  font-size: 14px;
}

.pagination li > a:hover {
  background-color: #007bff;
  border-color: #007bff;
  color: #fff;
  text-decoration: none;
}

.pagination li:first-child > a {
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.pagination li:last-child > a {
  border: none;
  margin-left: 0;
}

.pagination li:last-child > a > input {
  width: 40px;
  height: 34px;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  text-align: center;
}

.pagination li:last-child > a:hover {
  background-color: #fff;
  color: #007bff;
}

.pagination li:nth-last-child(2) > a {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.pagination li.active > a {
  background-color: #007bff;
  color: #fff;
}

.pagination li.disabled > a {
  color: rgba(0, 0, 0, 0.25);
  cursor: not-allowed;
}

.pagination li.disabled > a:hover {
  background-color: #fff;
  border-color: #dee2e6;
  color: rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

/*  */

.m-process-description-stu,
.m-process-description-company {
  width: 100%;
  overflow-x: auto;
}

.m-process-description-stu > img {
  display: block;
  width: 600px;
  margin: 0 auto;
}

.m-process-description-company > img {
  display: block;
  width: 900px;
  margin: 0 auto;
}

/* 用人单位：驳回弹出框 */

#rejectDiv {
  width: 100%;
  padding: 0.25rem;
  text-align: center;
}

#rejectDiv h2 {
  text-align: center;
  font-size: 1rem;
  margin: 1rem 0 0.5rem 0;
}

#rejectDiv h5 {
  margin-bottom: 0.25rem;
  color: #6c757d;
}

#rejectDiv textarea {
  width: 100%;
  height: 100px;
  margin: 0;
  padding: 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid #ebebeb;
  background-color: #fffff9;
}

#rejectDiv input[type="submit"] {
  margin: 1rem 0;
}

/* 状态提醒模块 */

.m-tips-common {
  width: 90%;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.m-tips-common th,
.m-tips-common td {
  text-align: center;
  vertical-align: middle;
}

.m-tips-common th {
  width: 20%;
  /* color: #fff; */
  font-weight: normal;
}

.m-tips-common td {
  font-size: 0.85rem;
  background-color: #fffff9;
}

/* 按钮:提交协议书历史记录 */

.f-histroy-lists {
  position: absolute;
  top: 1rem;
  right: 2rem;
}

/* 协议书提交历史 */

.agreementHistoryList {
}

.agreementHistoryList > h3 {
  text-align: center;
  margin: 1rem 0;
}

.agreementHistoryList > table {
  width: 95%;
  margin: 0 auto;
}

.agreementHistoryList > table th {
  color: #fff;
  text-align: center;
  font-weight: normal;
}

.agreementHistoryList > table td {
  text-align: center;
}

.agreementHistoryList > table td:nth-child(1) {
  text-align: left;
}

/* Badge 提示 */

.f-badge-newinfo-stu {
  display: block;
  position: absolute;
  right: 3px;
  top: 5px;
  color: red;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ffc107;
}

.f-badge-newinfo-comp {
  display: block;
  position: absolute;
  right: -5px;
  top: -3px;
  /* padding: 0 10px; */
  width: 28px;
  height: 16px;
  text-align: center;
  line-height: 16px;
  background-color: #dc3545;
  color: #fff;
  font-size: 10px;
  border-radius: 15px;
}

/*  */

.m-agreement-main {
  width: 100%;
  overflow-x: auto;
}

/*  */

@media only screen and (max-width: 320px) {
  body {
    padding: 0 0 5rem 0;
  }

  .m-login-radio-items {
    display: flex;
    flex-wrap: wrap;
  }

  .m-login-radio-items > div {
    flex: 0 0 50%;
    box-sizing: border-box;
    margin-right: 0;
  }
}

@media only screen and (max-width: 360px) {
  body {
    padding: 0 0 5rem 0;
  }

  .m-login-radio-items {
    display: flex;
    flex-wrap: wrap;
  }

  .m-login-radio-items > div {
    flex: 0 0 25%;
    box-sizing: border-box;
    margin-right: 0;
  }
}

/* 移动端:主流机型 */
@media only screen and (max-width: 768px) {
  .f-navbar-tt-sm {
    font-size: 0.75rem;
  }

  .jumbotron {
    margin-bottom: 1rem;
    width: 100%;
  }

  .jumbotron > h1 {
    font-size: 1.5rem;
  }

  .jumbotron > p {
    font-size: 0.75rem;
  }

  .s-login-btn > a {
    flex: 0 0 100%;
  }

  .s-login-btn > a:last-child {
    margin-top: 1rem;
  }

  .form-login {
    width: 100%;
  }

  .form-login h1 {
    font-size: 1.75rem;
  }

  .f-login-btn {
    position: relative;
    width: 100%;
    flex: 0 0 100%;
  }

  .m-panel-tt {
    font-size: 1rem;
    text-align: center;
  }

  .m-reg2-info-list > ul {
    flex: 0 0 100%;
  }

  /*  */
  .questionItem > div {
    flex: 0 0 50%;
    margin: 0.225rem 0;
    padding-right: 0.5rem;
  }

  /*  */

  .form-actions {
    justify-content: space-between;
  }

  .form-actions > input {
    flex: 0 0 49%;
    /* flex: 0 0 100%; */
    margin: 0;
  }

  .form-actions > input.f-login-btn {
    flex: 0 0 100%;
  }

  /*  */

  .m-reg-success-tips > a {
    display: inline-block;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    color: #000;
    background-color: #fd7e14;
    border-color: #fd7e14;
    margin-top: 1.5rem;
  }

  /*  */

  .m-reg2-info-list > h1 {
    display: flex;
    height: 50px;
    line-height: 50px;
    flex: 1;
    justify-items: center;
    text-align: center;
    background-color: #007bff;
    margin-bottom: 0;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
  }

  .m-reg2-info-list > h1 > span {
    margin-left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    color: #fff;
  }

  .m-reg2-info-list > ul:nth-child(2) > li:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .m-reg2-info-list > ul:nth-child(2) > li:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
  }

  .m-reg2-info-list > ul:last-child > li:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .m-reg2-info-list li.f-group-item-placeholder {
    display: none;
  }

  /* 学生：签约须知 */

  .m-signing-wrapper {
    padding: 2rem 0;
  }

  .m-signing-wrapper > h1 {
    font-size: 1.5rem;
  }

  .m-signing-process {
    width: 100%;
  }

  .m-signing-process > li {
    width: 100%;
    border-radius: 0.25rem;
  }

  .m-signing-process > li > span {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    font-size: 1rem;
    background-color: #b1d7ff;
  }

  .m-alreadylist-search-main {
    flex-wrap: wrap;
  }

  .m-alreadylist-search-main > div:not(:first-child) {
    margin-top: 10px;
    margin-left: 0;
  }

  /*  */
  .m-tips-common-box {
    width: 100%;
    overflow-x: scroll;
  }

  .m-tips-common {
    min-width: 1100px;
  }

  /*  */

  .m-agreement-main {
    overflow-x: scroll;
  }

  .m-backdis-mn {
    min-width: 210mm;
  }

  /*  */

  .m-mobile-common-box {
    width: 100%;
    overflow-x: scroll;
  }

  .m-my-signing-btngroup > button:first-child {
    margin-bottom: 10px;
  }

  .m-agreement-edit-wrapper {
    width: 90%;
    overflow-x: scroll;
  }
}

/* PC宽屏 */
@media (min-width: 769px) {
  .m-reg2-info-list > h1 {
    display: flex;
    justify-content: center;
    width: 60px;
    background: #007bff;
    margin-bottom: 0;
    /* text-align: right; */
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
  }

  .m-reg2-info-list > h1 > span {
    writing-mode: vertical-lr;
    font-size: 1rem;
    color: #fff;
  }

  .m-reg2-info-list > ul:nth-child(2) > li {
    border-right: none;
  }

  .m-reg2-info-list > ul:nth-child(2) > li:first-child {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
  }

  .m-reg2-info-list > ul:nth-child(2) > li:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .m-reg2-info-list > ul:nth-child(3) > li:first-child {
    border-top-left-radius: 0;
  }

  .m-reg2-info-list > ul:nth-child(3) > li:last-child {
    border-bottom-left-radius: 0;
  }

  .m-reg2-info-list li.active {
    display: none;
  }
}
