body.lb-disable-scrolling {
  overflow: hidden;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
  outline: none;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 0px;

  /* Image border */
  border: 4px solid white;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;

  /* Background color behind image.
     This is visible during transitions. */
  background-color: white;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../img/main/loading.gif) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(../img/main/prev.png) left 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(../img/main/next.png) right 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-caption a {
  color: #4ae;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #000000;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(../img/main/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

/* 하위 메뉴 기본 폰트 색상 흰색으로 설정 */
.sub_item {
  color: white !important; /* 기본 폰트 색상을 흰색으로 변경 */
  font-family: 'Noto Sans KR', sans-serif !important; /* 한글을 지원하는 Noto Sans KR 폰트로 변경 */
  text-decoration: none; /* 링크의 기본 밑줄을 없애기 */
}


/* 하위 메뉴 항목에 마우스를 올렸을 때 글씨 색상 흰색으로 변경하고 폰트를 굵게 변경 */
.sub_item:hover {
  color: white !important; /* 마우스 오버 시 글씨 색상을 흰색으로 변경 */
  font-weight: bold !important; /* 마우스 오버 시 폰트를 굵게 변경 */
}

/* 기본 상단 메뉴 스타일 */
.header_menu {
  position: relative;
  margin-right: 20px;
}

/* 상단 메뉴에 마우스를 올렸을 때 하단 메뉴에 박스 효과 추가 */
.header_menu:hover .dropdown_list {
  display: block; /* 하위 메뉴 표시 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 하단 메뉴에 그림자 효과 추가 */
  padding: 10px;
  min-width: 100px; /* 하단 메뉴의 최소 너비 설정 */
  width: auto; /* 가로 길이만 늘어남 */
  height: 60px; /* 세로 길이는 고정 */
  white-space: nowrap; /* 텍스트가 줄 바꿈 없이 한 줄로 표시되도록 설정 */
}


/* 하위 메뉴 */
.dropdown_list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;  /* 원래 위치로 수정 */
  background-color: rgba(68, 68, 68, 0.9); /* 배경을 반투명으로 설정 */
  border-radius: 5px;
  padding: 10px;
  list-style: none;
  margin: 0;
  z-index: 1000;
  height: 40px; /* 세로 길이는 고정 */
  border: none; /* 테두리 삭제 */
}



/* 상단 메뉴를 왼쪽 정렬 */
.header_bottom {
  display: flex;
  justify-content: flex-start !important;  /* 왼쪽 정렬 */
  align-items: center;
  background-color: rgba(51, 51, 51, 0.7) !important; /* 배경색에 투명도 0.7 추가 */
  padding: 10px 20px;
}

* {
  font-family: 'Malgun Gothic', 'Nanum Gothic', 'Noto Sans KR', sans-serif;  /* 한글 폰트 적용 */
}