@charset "euc-kr";

/* =========================================================
   mobile video list header
   source:
   - top_2023.js
   - menu_2023.js
========================================================= */

/* =========================================================
   top fixed header
========================================================= */
.M_Header_wrap {
  overflow: hidden;
  width: 100%;
  height: var(--header-height);
  background: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.M_Header {
  position: relative;
  width: 100%;
  height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: var(--white);
}

.M_Header .M_logo {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.M_Header .M_logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.M_Header .M_logo svg {
  display: block;
  width: auto;
  max-width: 122.502px;
  height: auto;
  max-height: 22.571px;
}

.M_Header .M_menu {
  position: absolute;
  top: 16px;
  left: 16px;
}

.M_Header .S_menu {
  position: absolute;
  top: 16px;
  right: 16px;
}

.M_Header .M_menu .icon,
.M_Header .S_menu .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.M_Header .M_menu svg {
  width: 21px;
  height: 16px;
  display: block;
}

.M_Header .S_menu svg {
  width: 20px;
  height: 20px;
  display: block;
}

.M_Header .M_menu .icon:focus-visible,
.M_Header .S_menu .icon:focus-visible,
.M_Header .M_logo a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* =========================================================
   main top menu
========================================================= */
.hc_main_menu {
  position: fixed;
  inset: 0 0 auto;
  margin-top: var(--header-height);
  z-index: 13;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 0;
  background: var(--white);
}

ul.hc_main {
  white-space: nowrap;
  box-sizing: border-box;
  font-size: 0;
}

ul.hc_main li {
  position: relative;
  display: inline-block;
  padding: 0 10px;
  line-height: 0;
}

ul.hc_main li a {
  display: block;
  height: 37px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 33px;
  text-decoration: none;
}

ul.health_main li:first-child a {
  padding: 0 0 0 5px;
}

.health_main_menu a.h_menu_search {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 37px;
  padding-left: 13px;
  box-sizing: border-box;
  background: var(--white);
  font-size: 15px;
  line-height: 50px;
  color: #003071;
  font-weight: 700;
}

.hc_main_menu nav {
  position: relative;
  height: var(--top-menu-height);
  background-color: var(--white);
  -webkit-transition: margin .2s;
  transition: margin .2s;
  z-index: 11;
}

.hc_main_menu nav > button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40px;
  text-indent: -9999px;
  background: url(https://m.health.chosun.com/img/2023/more.svg) no-repeat 50% 50% var(--white);
}

.hc_main_menu nav::after,
.hc_main_menu nav::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 13px;
  z-index: 1;
  pointer-events: none;
}

.hc_main_menu nav::before {
  left: 0;
  background-image: -webkit-gradient(linear, right top, left top, color-stop(0, rgba(255, 255, 255, 0)), to(var(--white)));
  background-image: linear-gradient(-90deg, rgba(255, 255, 255, 0) 0, var(--white) 100%);
}

.hc_main_menu nav::after {
  right: 40px;
  background-image: -webkit-gradient(linear, left top, right top, color-stop(0, rgba(255, 255, 255, 0)), to(var(--white)));
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0, var(--white) 100%);
}

.hc_main_menu nav ul {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  margin-right: 40px;
  padding: 0 7px;
  height: var(--top-menu-height);
  line-height: 1;
  font-size: 0;
  text-align: center;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hc_main_menu nav ul::-webkit-scrollbar {
  display: none;
}

.hc_main_menu nav li {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

.hc_main_menu nav li[data-visible] {
  display: inline-block;
}

.hc_main_menu nav li.on a {
  color: var(--primary);
  font-weight: 700;
}

.hc_main_menu nav a {
  display: block;
  padding: 10px 8px;
  font-size: 17px;
  font-weight: 500;
  line-height: 25px;
  color: var(--black-1);
}

.hc_main_menu nav a svg {
  margin-left: 4px;
}

.hc_main_menu .nav-bottom {
  display: none;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  margin: 0 20px 0;
  padding: 12px 4px;
  border-top: 0 solid #eee;
}

button.link-close {
  font-size: 15px;
  color: var(--primary);
  background: var(--white);
  font-weight: 700;
  font-family: 'Noto Sans KR', sans-serif;
}

.hc_main_menu nav[data-expand] {
  height: auto;
  max-width: 660px;
  margin: 0 auto;
}

.hc_main_menu nav[data-expand]::after,
.hc_main_menu nav[data-expand]::before,
.hc_main_menu nav[data-expand] > button {
  display: none;
}

.hc_main_menu nav[data-expand] ul {
  margin-right: 0;
  padding-bottom: 0;
  height: auto;
  white-space: normal;
  text-align: left;
}

.hc_main_menu nav[data-expand] ul li {
  width: 33.3%;
}

.hc_main_menu nav[data-expand] .nav-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

/* =========================================================
   left open menu layer
========================================================= */
#myLinks {
  display: none;
}
#m_close,
#m_close2,
#m_close3,
#m_close4 {
  display: none;
}
.M_open_left {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.M_menu_list {
  position: fixed;
  top: calc(var(--header-height) + 37px);
  inset: 0;
  background-color: rgba(255, 255, 255, 0.75);
  z-index: 100;
}

.M_menu_div {
  background: var(--white);
  box-sizing: border-box;
  height: 100%;
  left: 0;
  overflow-y: auto;
  top: 0;
  width: 100%;
  outline: none;
	margin: 0 auto;
}

.M_health {
  display: inline-block;
  height: 0;
  position: absolute;
  left: 20px;
  top: 24px;
  z-index: 2;
}

.M_health_logo {
  display: block;
  height: 26px;
  margin: 13px auto 9px;
  width: 189px;
}

.x-button button {
  background: var(--white);
}

/* =========================================================
   search in menu
========================================================= */
.search_area {
  padding: 20px 0 0 0;
}

.search_area_in {
  padding: 0 20px;
}

.input_label_search {
  border-radius: 0;
  display: inline-block;
  margin-right: 0;
  padding: 0;
  position: relative;
  width: calc(100% - 37px);
  border: 0;
}

.search_area section {
  padding: 0 20px;
}

.input_search[type="text"] {
  border-bottom: 2px solid var(--black);
  border-radius: 0;
  box-sizing: border-box;
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  height: 45px;
  letter-spacing: 0;
  line-height: 27px;
  margin: 0;
  padding: 1px 40px 0 10px;
  vertical-align: middle;
  font-family: "NotoSansKR-Regular", sans-serif;
  width: 100%;
}

.search_button {
  border-radius: 0;
  cursor: pointer;
  transition: all 0.6s ease 0s;
  white-space: nowrap;
  background-color: var(--white);
  letter-spacing: 0;
  text-transform: uppercase;
  height: 45px;
  border-bottom: 2px solid var(--black);
  margin: 0 0 0 -4px;
  padding: 8px 9px 6px;
  vertical-align: middle;
}

.search_button:disabled {
  cursor: default;
  opacity: 0.9;
}

/* =========================================================
   menu service shortcut
========================================================= */
.css-542elh {
  padding-top: 10px;
}

.sp_menu {
  overflow: hidden;
  padding: 20px 0;
  display: block;
}

.sp_menu .hc_direct {
  overflow: hidden;
  margin: -3px;
}

.sp_menu .hc_sbox {
  float: left;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 33.3%;
}

.sp_menu .hc_sbox:hover .hc_sa {
  color: var(--primary);
}

.sp_menu .hc_sa {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  border: 1px solid var(--soft-gray);
  position: relative;
  display: block;
  padding: 0 7px;
  margin: 3px;
  font-size: 16px;
  line-height: 42px;
  font-weight: 500;
  text-align: center;
  letter-spacing: -.5px;
  color: var(--dark);
}

.sp_direct .hc_sbox:first-child a {
  font-size: 14px;
}

/* =========================================================
   accordion menu list
========================================================= */
.menulist_title {
  border-bottom: 1px solid var(--light-gray);
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 23px;
  padding: 10px 0 10px 10px;
  text-transform: capitalize;
  margin-bottom: 0;
  position: relative;
  cursor: pointer;
}

.menulist_title:hover {
  color: var(--primary);
}

.menulist_title:hover button svg path {
  fill: var(--primary);
}

.menulist_title button {
  background: var(--white);
  position: absolute;
  /*top: 50%;*/
  right: 16px;
  width: 12px;
  height: 12px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  padding: 0;
  color: transparent;
  white-space: nowrap;
}

.menulist_title .m_close {
  display: none;
  width: 42px;
  height: 16px;
  background-position: -166px -78px;
}

#menulist_news,
#menulist_detail,
#menulist_doctor,
#menulist_dstory,
#menulist_life {
  display: none;
}

.menulist_ul {
  columns: auto 2;
  margin: 0;
  padding: 10px 0 19px 10px;
  border-bottom: 0 solid var(--black);
}

.menulist_li {
  list-style-type: none;
}

.menulist_li_a {
  color: var(--dark);
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 28px;
  text-decoration: none;
  text-transform: capitalize;
}

.menulist_li_h3 {
  color: var(--dark);
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 42px;
  text-decoration: none;
  text-transform: capitalize;
}

.menulist_li:hover .menulist_li_h3 {
  color: var(--primary);
}

/* =========================================================
   menu sns footer
========================================================= */
.hc_footer_sns {
  width: 100%;
  background: #E7E7E7;
  text-align: center;
  padding: 20px 20px 30px;
  box-sizing: border-box;
}

.hc_footer_sns span {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--black);
  padding: 0 0 15px 0;
}

.hc_footer_sns .sns_list {
  border: 0 solid var(--white);
}

.hc_footer_sns .sns_list ul {
  position: relative;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  width: 100%;
  padding: 0 10%;
  box-sizing: border-box;
}

.hc_footer_sns .sns_list li {  
  text-align: center;
  padding: 10px 0;
}

.hc_footer_sns .sns_list li img {
  width: 40px;
  filter: grayscale(100%);
}

.hc_footer_sns .sns_list li svg path {
  filter: opacity(0.5);
}

.hc_footer_sns .sns_list li:hover svg path {
  filter: opacity(1);
}

/* =========================================================
   common element used by top/menu js
========================================================= */
button {
  cursor: pointer;
  -webkit-appearance: button;
  text-rendering: auto;
  word-spacing: normal;
  text-transform: none;
  text-indent: 0;
  text-shadow: none;
  display: inline-block;
  text-align: center;
  align-items: flex-start;
  padding: 0;
  margin: 0;
  border: 0;
  line-height: normal;
}

input[type='text'],
input[type='password'],
input[type='email'],
textarea {
  border-radius: 3px;
  box-sizing: border-box;
  border: 0;
}

section {
  display: block;
}

.h-p2-2 {
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
}

/* =========================================================
   responsive
========================================================= */
@media (max-width: 360px) {
  .M_Header_wrap,
  .M_Header {
    height: 48px;
  }

  .M_Header .M_menu,
  .M_Header .S_menu {
    top: 12px;
  }

  .M_Header .M_menu {
    left: 12px;
  }

  .M_Header .S_menu {
    right: 12px;
  }

  .M_Header .M_logo svg {
    max-width: 112px;
    max-height: 21px;
  }

  .hc_main_menu {
    margin-top: 48px;
  }

  .hc_main_menu nav,
  .hc_main_menu nav ul {
    height: 44px;
  }

  .hc_main_menu nav a {
    padding: 9px 7px;
    font-size: 15px;
    line-height: 24px;
  }

  .M_menu_list {
    top: 85px;
  }

  .M_health_logo {
    width: 160px;
    height: auto;
  }

  .sp_menu .hc_sa {
    font-size: 14px;
    line-height: 38px;
  }

  .menulist_ul {
    columns: 1;
  }
}