html, body {
  height: 100%;
  min-height: 700px;
  margin: 0;
  position: relative;
}
.header, .footer {
  width: 100%;
  position: absolute;
  z-index: 2;
  background: #FFF;
}
.header {
  display: flex;
  height: 150px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  top: 0;
}
.header-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 2px;
  color: #2b9eda;
  font-size: 16px;
  font-weight: 600;
}
.header-logo img {
  height: 50px;
  margin-right: 20px;
}
.header-link {
  color: #4a4a4a;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
}
.footer {
  height: 50px;
  bottom: 0;
  box-shadow: 0 -1px 3px 0 #aaa;
  background: #c8d5b9;
}
.footer-item {
  height: 100%;
  display: flex;
  padding: 0 20px;
  justify-content: center;
  align-items: center;
  color: #4a4a4a;
  font-size: 12px;
  font-weight: 600;
}
.footer-item span {
  margin: 0 20px;
}
.footer-item span a {
  color: #4a4a44;
  text-decoration: none;
}

.main {
  height: 100%;
  width: 100%;
  display: flex;
  padding: 150px 0 50px;
  position: absolute;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
.main-content-search {
  width: 60%;
  min-width: 500px;
}
.main-content-search h3 {
  color: #4a4a4a;
  font-size: 16px;
  margin: 0;
}
.main-content-search h3 span {
  display: block;
  padding: 5px 0;
  color: #AAA;
  font-size: 14px;
}
.main-content-search h3 span::before {
  content: '※ ';
}

.search {
  margin-top: 20px;
}
.search textarea {
  width: 100%;
  padding: 20px;
  border: solid 1px #8fc0a9;
  box-shadow: 0px 0px 0px 0px #FFF;
  box-sizing: border-box;
  border-radius: 10px;
  transition: border .3s, box-shadow .3s;
  resize: none;
  outline: none;
  color: #4a4a4a;
  line-height: 1.5;
  font-size: 14px;
  font-weight: 600;
}
.search textarea:focus {
  border: solid 1px #c8d5b9;
  box-shadow: 0px 0px 5px 0px #c8d5b9;
}

.search-button {
  margin-top: 10px;
}
.search-button button {
  margin-right: 15px;
  padding: 5px 15px;
  border: none;
  border-radius: 10px;
  box-shadow: 0px 2px 3px 0px #666;
  color: #4a4a4a;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  background: #8fc0a9;
}
.search-button button:hover {
  background: #c8d5b9;
}
.search-button button[name="clear"] {
  background: #CCC;
}
.search-button button[name="clear"]:hover {
  background: #E5E5E5;
}
.search-button .search-num {
  float: right;
  color: #68b0ab;
  font-size: 14px;
}
.search-button .search-num::before {
  content: ' ';
  clear: both;
}
.search-num span {
  padding: 0 5px;
}

.main-content-table {
  width: 100%;
  height: 100%;
  display: none;
  padding: 0 20px;
  overflow-y: auto;
  align-self: flex-start;
  justify-content: space-around;
}
.row {
  display: flex;
  align-items: center;
  border-bottom: solid 1px #8fc0a9;
  padding: 15px 0;
  font-size: 0  ;
}
.row:hover {
  background: rgb(153 204 255 / 20%);
}
.title {
  padding: 15px 0;
  border-bottom-width: 2px;
  box-sizing: border-box;
  background: #FFF !important;
}
.table-content {
  max-height: 75%;
  overflow-y: auto;
  border-bottom: solid 2px #8fc0a9;
}
.table-content div:last-child {
  border-bottom-width: 0;
}
.row-hasChild {
  cursor: pointer;
}
.row-hasChild .table-control img {
  display: inline;
}
.row-child-hide {
  display: none;
}
.row-child {
  padding: 15px 0 15px 50px;
  border-bottom: solid 1px #c8d5b9;
  font-size: 0;
}
.row-child:hover {
  background: rgb(153 204 204 / 0.2);
}

.row span {
  width: 10%;
  display: inline-block;
  padding-right: 20px;
  box-sizing: border-box;
  color: #4a4a4a;
  font-size: 14px;
}
.row-child span {
  width: 8%;
  display: inline-block;
  padding-right: 20px;
  box-sizing: border-box;
  color: #6699CC;
  font-size: 14px;
}
.row-child .table-child-date {
  width: 18%;
  text-align: left;
}
.row-child .table-child-describe {
  width: 82%;
  box-sizing: border-box;
}
.row .table-control {
  width: 50px;
  text-align: center;
}
.table-control img {
  height: 20px;
  display: none;
  vertical-align: middle;
  transform: rotate(0);
  transition: transform .3s;
}
.row .show-child-arrow img {
  transform: rotate(180deg);
}

.row .table-systemNum, .row .table-customNum {
  width: 18%;
}
.row .table-cases {
  width: 5%;
}
.row .table-transNum {
  width: 10%;
}
.row .table-address {
  width: 6%;
}
.row .table-describe {
  width: 10%;
}

.row .table-date {
  width: 15%;
}
.title span {
  color: #666666;
  font-weight: 600;
}
.row .row-empty {
  color: #68b0ab;
  font-weight: 600;
}

.row .table-nodata img {
  display: inline;
}
.main-content-table .search-button button {
  margin: 10px 20px 20px;
}

/** 移动端适配
  宽度适配 **/
@media screen and (max-width: 650px) {
  .header-link {
    display: none;
  }
  .header-logo img {
    margin-right: 0;
  }
  .main-content-search {
    width: 100%;
    min-width: 0;
    padding: 0 30px;
  }
  .search-button button {
    width: 100%;
    margin: 10px 0;
    padding: 10px 0;
    font-size: 14px;
  }
  .search-button .search-num {
    float: none;
    padding-top: 20px;
    text-align: center;
  }

  .main-content-table .search-button button {
    margin: 10px 0 0;
  }
  .table {
    height: 85%;
    width: 100%;
    overflow-x: auto;
  }
  .table-title {
    width: 1800px;
  }
  .table-content {
    width: 1800px;
    height: 100%;
    min-height: 80%;
  }
  .search-button {
    height: 15%;
    margin: 0;
  }
}
@media screen and (max-width: 550px) {
  .main {
    padding-bottom: 70px;
  }
  .footer {
    height: 70px;
    display: flex;
    align-items: center;
  }
  .footer-item {
    width: 100%;
    height: auto;
    display: block;
  }
  .footer-item span:first-child {
    padding-bottom: 8px;
  }
  .footer-item span {
    display: block;
  }
}
@media screen and (max-width: 450px) {
  .main-content-search {
    padding: 0 20px;
  }
}
@media screen and (max-width: 380px) {
  .footer-item {
    padding: 0;
  }
}
@media screen and (max-width: 330px) {
  .main-content-search {
    padding: 0 10px;
  }
  .footer-item span {
    margin: 0;
    padding-left: 10px;
  }
}

/** 移动端适配
高度适配 **/
@media screen and (max-height: 760px) {
  .main {
    padding-top: 100px;
  }
}
@media screen and (max-height: 730px) {
  .header {
    height: 100px;
  }
  .main {
    padding-top: 50px;
  }
}
@media screen and (max-height: 700px) {
  body, html {
    min-height: auto;
  }
  .header {
    height: 60px;
    align-items: flex-end;
  }
  .header-logo img {
    height: 30px;
  }
  .main {
    padding-top: 60px;
  }
}
@media screen and (max-height: 640px) {
  .header {
    height: 40px;
  }
  .header-logo img {
    height: 20px;
  }
  .main {
    padding-top: 50px;
  }
  .search {
    margin-top: 10px;
  }
  .search-button button {
    margin: 0;
  }
  .search-button button:first-child {
    margin-bottom: 15px;
  }
}
@media screen and (max-height: 580px) {
  .header {
    height: 40px;
  }
  .header-logo img {
    height: 20px;
  }
  .main {
    padding-top: 40px;
  }
  .main-content-search h3 {
    font-size: 14px;
  }
  .search textarea {
    line-height: 1.3;
  }
  .search-button button:first-child {
    margin-bottom: 10px;
  }
  .search-button .search-num {
    padding-top: 12px;
  }
}
@media screen and (max-height: 520px) {
  .header {
    height: 30px;
  }
  .main {
    padding: 40px 0 50px;
    align-items: baseline;
  }
  .search-button {
    margin-top: 5px;
  }
  .search-button button:first-child {
    margin-bottom: 10px;
  }
  .search-button .search-num {
    padding-top: 12px;
    font-size: 12px;
  }
  .footer {
    height: 50px;
  }

  .main-content-table .search-button {
    margin: 0;
  }
  .main-content-table .search-button button {
    margin: 0;
  }
}