@charset "utf-8";

#branch {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 12px 24px;
}

#branch .titType1 {
  margin-bottom: 16px;
}

#branch .titType1 h4 {
  font-size: 30px;
  font-weight: 500;
  color: #333;
  padding-left: 30px;
  background: url(../img/tit-type1-front.png) no-repeat 0 50%;
  background-size: 18px auto;
}

#branch .branch-search {
  display: grid;
  grid-template-columns: 140px 160px minmax(0, 1fr) 90px;
  gap: 8px;
  margin-bottom: 16px;
}

#branch .branch-search input,
#branch .branch-search select,
#branch .branch-search button {
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 0.4rem;
  padding: 0 10px;
  font-size: 14px;
}

#branch .branch-search button {
  background: #282c23;
  border-color: #282c23;
  color: #fff;
}

#branch .branch-table-wrap {
  flex: 1;
  overflow-x: hidden;
}

#branch .branch-content {
  display: flex;
  gap: 16px;
}

#branch .branch-map {
  position: relative;
  width: 440px;
  min-width: 440px;
  border: 1px solid #ddd;
  background: #fff;
}

#branch .branch-map img {
  width: 100%;
  height: auto;
  display: block;
}

#branch .branch-map .map-btns a {
  position: absolute;
  z-index: 2;
  width: 45px;
  height: 23px;
  line-height: 20px;
  background: #fff;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 13px;
  color: #58595b;
  border-radius: 12px;
}

#branch .branch-map .map-btns a.active {
  background: #333;
  border-color: #333;
  color: #fff;
}

#branch .branch-map .icon1 { top: 85px; left: 95px; }
#branch .branch-map .icon2 { top: 85px; left: 145px; }
#branch .branch-map .icon3 { top: 121px; left: 165px; }
#branch .branch-map .icon4 { top: 80px; left: 245px; }
#branch .branch-map .icon5 { top: 152px; left: 226px; }
#branch .branch-map .icon6 { top: 180px; left: 200px; }
#branch .branch-map .icon7 { top: 189px; left: 153px; }
#branch .branch-map .icon8 { top: 211px; left: 210px; }
#branch .branch-map .icon9 { top: 185px; left: 274px; }
#branch .branch-map .icon10 { top: 246px; left: 173px; }
#branch .branch-map .icon11 { top: 231px; left: 270px; }
#branch .branch-map .icon12 { top: 245px; left: 316px; }
#branch .branch-map .icon13 { top: 280px; left: 242px; }
#branch .branch-map .icon14 { top: 292px; left: 290px; }
#branch .branch-map .icon15 { top: 292px; left: 165px; }
#branch .branch-map .icon16 { top: 317px; left: 152px; }
#branch .branch-map .icon17 { top: 385px; left: 113px; }

#branch .branch-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

#branch .branch-table th,
#branch .branch-table td {
  padding: 12px 6px;
  border-bottom: 1px solid #e8e8e8;
  text-align: center;
  font-size: 14px;
  color: #444;
  word-break: keep-all;
}

#branch .branch-table th:nth-child(1),
#branch .branch-table td:nth-child(1) {
  width: 64px;
  white-space: nowrap;
}

#branch .branch-table th:nth-child(2),
#branch .branch-table td:nth-child(2) {
  width: 120px;
  white-space: nowrap;
}

#branch .branch-table th:nth-child(4),
#branch .branch-table td:nth-child(4) {
  width: 56px;
  white-space: nowrap;
}

#branch .branch-table thead th {
  font-size: 15px;
  color: #222;
  background: #f7f7f7;
  border-top: 1px solid #222;
}

#branch .branch-table td.tal {
  text-align: left;
  word-break: break-word;
}

#branch .branch-table .view-btn {
  display: inline-block;
  min-width: 40px;
  line-height: 24px;
  border: 1px solid #ddd;
  border-radius: 3px;
  color: #333;
  background: #fff;
  font-size: 12px;
  padding: 0 4px;
}

#branch .branch-table .empty {
  text-align: center;
  color: #888;
}

#branch .branch-pagination {
  margin-top: 16px;
  text-align: center;
}

#branch .branch-pagination a {
  display: inline-block;
  min-width: 32px;
  line-height: 32px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin: 0 2px;
  color: #444;
  background: #fff;
}

#branch .branch-pagination a.active {
  background: #282c23;
  border-color: #282c23;
  color: #fff;
}

#branch .branch-view dd {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 0.6rem;
  padding: 20px;
}

#branch .branch-view .head {
  border-bottom: 1px solid #ddd;
  padding-bottom: 14px;
  margin-bottom: 16px;
}

#branch .branch-view .head .cat {
  display: block;
  margin-bottom: 6px;
  font-style: normal;
  font-size: 14px;
  color: #505d7e;
}

#branch .branch-view .head h4 {
  font-size: 30px;
  line-height: 1.35;
  color: #222;
  font-weight: 500;
}

#branch .branch-view .txt {
  font-size: 15px;
  line-height: 1.75;
  color: #666;
}

#branch .branch-view .info {
  margin-top: 20px;
  padding: 16px;
  background: #f7f7f7;
  border-top: 1px solid #000;
}

#branch .branch-view .info li {
  position: relative;
  padding: 6px 0 6px 90px;
}

#branch .branch-view .info li strong {
  position: absolute;
  top: 6px;
  left: 0;
  font-size: 14px;
  color: #000;
  font-weight: 500;
}

#branch .branch-view .info li p {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

#branch .branch-actions {
  margin-top: 14px;
  text-align: center;
}

#branch .branch-view-map {
  margin-top: 14px;
  border: 1px solid #e4e4e4;
  border-radius: 0.6rem;
  overflow: hidden;
}

#branch .branch-btn {
  display: inline-block;
  min-width: 100px;
  line-height: 38px;
  border-radius: 0.45rem;
  background: #282c23;
  color: #fff;
}

#branch .branch-empty {
  margin: 0;
  padding: 10px 0;
  font-size: 15px;
  color: #666;
}

@media screen and (max-width: 1200px) {
  #branch {
    padding: 0 10px 20px;
  }

  #branch .titType1 {
    margin-bottom: 12px;
  }

  #branch .titType1 h4 {
    font-size: 22px;
    padding-left: 25px;
    background-size: 15px auto;
  }

  #branch .branch-search {
    grid-template-columns: 1fr 1fr;
  }

  #branch .branch-search input,
  #branch .branch-search select,
  #branch .branch-search button {
    height: 36px;
    font-size: 13px;
  }

  #branch .branch-table th:nth-child(1),
  #branch .branch-table td:nth-child(1) {
    width: 56px;
  }

  #branch .branch-table th:nth-child(2),
  #branch .branch-table td:nth-child(2) {
    width: 96px;
  }

  #branch .branch-table th:nth-child(4),
  #branch .branch-table td:nth-child(4) {
    width: 50px;
  }

  #branch .branch-view .head h4 {
    font-size: 22px;
  }

  #branch .branch-view-map {
    border-radius: 0;
  }

  #branch .branch-content {
    display: block;
  }

  #branch .branch-map {
    width: 440px;
    min-width: 0;
    margin: 0 auto 14px;
    border: 0;
  }
}
