/* std/hiv.html (원본 /sub4/sub4_6.php) 전용 보정
   원본 css/sub.css 는 1200px 고정 전제라 @media 가 한 줄도 없다.
   sub.css 수치는 그대로 두고 좁은 폭에서만 리플로우한다.
   .sub4_nav 는 6칸(16.667%)이라 좁은 폭에서 글자가 깨져 단수를 줄인다. */

@media screen and (max-width: 1024px) {
  .top_content { padding-top: 40px; overflow: hidden; }
  .quickroute { position: static; float: right; clear: both; margin-top: 12px; background-position: 0 50%; }

  .content_nav ul li { height: auto; line-height: 1.4; }
  .content_nav ul li a { padding: 14px 6px; font-size: 16px; box-sizing: border-box; }
  .sub4_nav li { width: 33.333%; }
  .sub4_nav li:nth-child(3n) { border-right: none; }
  .sub4_nav li:nth-child(n + 4) { border-top: 1px solid #ccc; }

  .detail_content { padding: 20px 20px 40px; margin-bottom: 40px; }
  .detail_content > h3 { font-size: 21px; padding: 34px 0 20px 26px; background-size: 16px auto; }
  .detail_content > h3:first-child { padding-top: 14px; background-position-y: 16px; }
  .list_content_img img { max-width: 100%; height: auto; }
}

@media screen and (max-width: 768px) {
  .sub4_nav li a { font-size: 15px; }
}

@media screen and (max-width: 480px) {
  .top_content h2 { font-size: 23px; }
  .quickroute { font-size: 13px; }

  .sub4_nav li { width: 50%; }
  .sub4_nav li:nth-child(3n) { border-right: 1px solid #ccc; }
  .sub4_nav li:nth-child(2n) { border-right: none; }
  .sub4_nav li:nth-child(n + 3) { border-top: 1px solid #ccc; }

  .detail_content { padding: 14px 14px 30px; }
  .detail_content > h3 { font-size: 19px; padding-left: 22px; }
}
