@charset "UTF-8";
/* =========================================================
  용인수지노인복지관 : 공통 변수
========================================================= */
/* =========================================================
  용인수지노인복지관 : 공통 믹스인 (미디어쿼리)
========================================================= */
#facility .facility_apply_step {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
}
#facility .dl_basic dt {
  max-width: 140px;
}
#facility .dl_basic .blue {
  color: #223769;
  font-weight: 600;
}
#facility .dl_basic .li_title {
  width: 60px;
  display: inline-block;
  padding-right: 10px;
  text-align: justify;
  font-weight: 600;
}
#facility .download {
  width: 100%;
  display: flex;
  justify-content: center;
}
#facility .center_wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
#facility .center_wrap .info {
  width: 100%;
  text-align: center;
  color: #333333;
}
#facility .center_wrap .foreground {
  width: 100%;
  height: auto;
  aspect-ratio: 950/519;
  background-image: url("../img/guide_map/guide_map.jpg");
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #CCCCCC;
  padding: 40px 0;
}
#facility .center_wrap .center_btns {
  width: 100%;
  padding: 20px 30px;
  border: 1px solid #D6DDE6;
  background: #F2F7FF;
  display: inline-grid;
  row-gap: 10px;
  column-gap: 10px;
  grid-template-rows: repeat(3, fit-content(100%));
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: row;
}
#facility .center_wrap .center_btns .atgs {
  display: flex;
  padding: 12px 25px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  align-self: stretch;
  justify-self: stretch;
  border-radius: 40px;
  border: 1px solid #D6DDE6;
  background: #fff;
  transition: all 0.3s ease-in-out;
}
#facility .center_wrap .center_btns .atgs p {
  color: #333333;
  text-align: center;
  font-family: "Pretendard";
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  letter-spacing: -0.48px;
}
#facility .center_wrap .center_btns .atgs:hover {
  border: 1px solid #223769;
  background: #223769;
}
#facility .center_wrap .center_btns .atgs:hover p {
  color: #fff;
}

#center_pop {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
}
#center_pop .center_pop_wrap {
  margin: 0 auto;
  max-width: 900px;
  width: 90%;
  border: 1px solid #000;
  background-color: #fff;
  position: relative;
  top: 50%;
  transform: translateY(-60%);
}
#center_pop #center_pop_img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
#center_pop .exit_bt {
  padding: 10px;
  position: absolute;
  top: 0;
  right: 0;
  border: 1px solid #fff;
  background: #fff;
  opacity: 0.8;
  font-size: 1rem;
}
#center_pop .exit_bt:hover {
  color: #009878;
}

@media (max-width: 1440px) {
  #facility .center_wrap .foreground {
    background-size: 90%;
  }
}
@media (max-width: 1280px) {
  #facility .center_wrap .center_btns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  #facility .center_wrap .center_btns {
    height: 185px;
    overflow-y: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: fit-content(100%);
  }
  #facility .dl_basic dt {
    max-width: 70px;
  }
  #facility .dl_basic .li_title {
    display: block;
  }
}
@media (max-width: 480px) {
  #facility .center_wrap .center_btns {
    padding: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 360px) {
  #facility .center_wrap .center_btns {
    padding: 20px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}