/* Interactive page layout. */
.zmhd-top-container,
.zmhd-bottom-container,
.zmhd-banner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  background: #fff;
}

.zmhd-top-container,
.zmhd-bottom-container {
  display: flex;
  align-items: flex-start;
}

.zmhd-top-container {
  min-height: 127px;
}

.zmhd-letters {
  width: 840px;
  box-sizing: border-box;
}

.zmhd-letters-panel {
  width: 99%;
  margin-top: 18px;
  margin-left: auto;
  margin-right: 0;
  border-top: 2px solid #64b5f6;
  border-right: 1px solid #eee;
  border-left: 1px solid #eee;
}

.zmhd-letters-header {
  display: flex;
  min-height: 51px;
  background: #eee;
}

.zmhd-letters-title {
  flex: 0 0 86%;
  box-sizing: border-box;
}

.zmhd-letters-more {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zmhd-letter-body {
  min-height: 295px;
}

.zmhd-letter-table {
  width: 100%;
}

.zmhd-letters-banner {
  display: flex;
  min-height: 48px;
  align-items: flex-start;
  justify-content: center;
  background: #90caf8;
}

.zmhd-nav {
  width: 360px;
  box-sizing: border-box;
}

.zmhd-nav-list {
  width: 99%;
  margin-top: 20px;
}

.zmhd-nav-div {
  display: block;
  margin-bottom: 9px;
}

.zmhd-bottom-container {
  min-height: 258px;
}

.zmhd-survey {
  width: 422px;
}

.zmhd-interview {
  width: 418px;
}

.zmhd-statistics {
  width: 360px;
}

.zmhd-panel {
  width: 98%;
  min-height: 293px;
  margin-top: 8px;
  border: 1px solid #eee;
  border-top-color: #64b5f6;
  border-top-width: 2px;
  box-sizing: border-box;
}

.zmhd-statistics .zmhd-panel {
  width: 94%;
  margin-left: 3px;
  /* margin-right: auto; */
}

.zmhd-survey .zmhd-panel,
.zmhd-interview .zmhd-panel {
  margin-left: auto;
  margin-right: 0;
}

.zmhd-title-row {
  display: flex;
  min-height: 51px;
  align-items: center;
  box-sizing: border-box;
  background: #eee;
}

.zmhd-list-body {
  min-height: 240px;
}

.zmhd-list {
  width: 98%;
  margin: 0 auto;
}

.zmhd-list-item {
  width: 100%;
  height: 36px;
  border-bottom: 1px dashed #ccc;
  line-height: 36px;
}

.zmhd-list-item a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zmhd-statistics-header {
  color: #409eeb;
}

.zmhd-title-icon {
  flex: 0 0 11%;
  text-align: center;
}

.zmhd-statistics-header .zmhd-title-text {
  flex: 1;
}

.zmhd-statistics-body {
  min-height: 220px;
  padding-top: 10px;
  box-sizing: border-box;
}

.zmhd-statistics-table {
  width: 100%;
  margin: 0 auto;
}

.zmhd-banner {
  min-height: 186px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zmhd-banner-inner {
  width: 1180px;
  max-width: 100%;
  display: flex;
  align-items: center;
  border: 1px solid #64b5f6;
  box-sizing: border-box;
}

.zmhd-banner-icon {
  flex: 0 0 3%;
}

.zmhd-banner-image {
  flex: 1;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .zmhd-top-container,
  .zmhd-bottom-container,
  .zmhd-banner {
    width: 100%;
    padding: 0 4px;
  }

  .zmhd-top-container,
  .zmhd-bottom-container {
    display: block;
  }

  .zmhd-letters,
  .zmhd-nav,
  .zmhd-survey,
  .zmhd-interview,
  .zmhd-statistics {
    width: 100%;
  }

  .zmhd-letters-panel,
  .zmhd-panel,
  .zmhd-statistics .zmhd-panel,
  .zmhd-nav-list {
    width: 100%;
  }

  .zmhd-letters-panel,
  .zmhd-survey .zmhd-panel,
  .zmhd-interview .zmhd-panel,
  .zmhd-statistics .zmhd-panel {
    margin-left: 0;
    margin-right: 0;
  }

  .zmhd-letters-header {
    min-height: 40px;
  }

  .zmhd-letter-body {
    overflow-x: hidden;
  }

  .zmhd-letter-table {
    min-width: 0;
  }

  #letter tr:first-child td {
    display: none !important;
  }

  #letter tr {
    display: block !important;
    width: 100% !important;
    padding: 8px 0 !important;
    border-bottom: 1px dashed #ccc !important;
  }

  #letter tr td {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 2px 6px !important;
    border: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
    text-align: left !important;
    font-size: 13px !important;
  }

  #letter tr td:first-child {
    font-size: 14px !important;
    font-weight: bold;
  }

  #letter tr td:not(:first-child) {
    display: inline-block !important;
    width: auto !important;
    padding-right: 12px !important;
    font-size: 12px !important;
    color: #666 !important;
  }

  #letter tr td:last-child {
    color: #cc0000 !important;
  }

  .zmhd-nav {
    margin-top: 10px;
  }

  .zmhd-nav-div {
    text-align: center;
  }

  .zmhd-nav-div img {
    width: 100%;
    max-width: 342px;
    height: auto;
  }

  .zmhd-panel {
    margin-bottom: 8px;
  }

  .zmhd-list-item {
    width: 100%;
    height: auto;
    min-height: 35px;
    line-height: 35px;
  }

  .zmhd-statistics-table {
    table-layout: fixed;
  }

  .zmhd-statistics-table td {
    width: 50% !important;
    box-sizing: border-box;
    padding: 10px 4px !important;
    text-align: center !important;
  }

  .zmhd-title-row {
    min-height: 40px;
    padding: 6px 10px;
  }

  .zmhd-banner {
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .zmhd-banner-icon {
    display: none;
  }

  .zmhd-banner-image img,
  .zmhd-letters-banner img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}
