@media all and (min-width: 700px) {
  .hide-700-and-up {
    display: none !important;
  }
}
@media all and (max-width: 699px) {
  .hide-700-and-down {
    display: none !important;
  }
}

header {
  background-color: white;
  width: 100%;
  position: fixed;
  font-size: 12px;
  line-height: 12px;
  z-index: 9999;
}
header a {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
}

header a:hover,
header a:visited,
header a:focus,
header a:active {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
}

nav {
  max-width: 900px !important;
  /*width: 100%;*/
  /*margin-top: 0;*/
  /*left: 0;*/
  /*right: 0;*/
}
.navHeight {
  height: 48px;
  line-height: 48px;
}

.top-padding {
  padding-top: 48px;
}

.Menus {
  width: 100%;
  top: 0;
}
.Menus ul {
  width: inherit;
  height: inherit;
  margin: auto;
  padding: 0;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.Menus ul li {
  display: inline-block;
  margin: auto 0;
}
.Menus ul li :first-child {
  padding: 0;
}
.Menus ul li :last-child {
  padding: 0;
}
.Menu {
  width: 100px;
}

/* 햄버거 메뉴 시작 */
#hamburger {
  width: 16px;
  height: 48px;
  position: relative;
  /*margin: 6px 0px 0px 0px;*/
  cursor: pointer;
}

#hamburger span:nth-child(1),
#hamburger span:nth-child(2) {
  background: #999999;
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  border-radius: 3px;
  opacity: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .2s ease-in-out;
  -moz-transition: .2s ease-in-out;
  -o-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
}

#hamburger span:nth-child(3),
#hamburger span:nth-child(4) {
  background: #999999;
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  border-radius: 3px;
  opacity: 0;
}

#hamburger span:nth-child(1) {
  opacity: 1;
  top: 21px;
  left: 0;
}

#hamburger span:nth-child(2) {
  opacity: 1;
  top: 27px;
  left: 0;
}

#hamburger span:nth-child(3) {
  opacity: 0;
  top: 24px;
  left: 0;
}

#hamburger span:nth-child(4) {
  opacity: 0;
  top: 24px;
  left: 0;
}

.logo img {
  vertical-align: middle;
}

.logo a {
  text-decoration: none;
  display: inline-block;
  width: 56px;  /* li의 전체 크기를 클릭 가능하게 함 */
  height: 48px;
}
.loginout a {
  text-decoration: none;
  display: inline-block;
  width: 56px;  /* li의 전체 크기를 클릭 가능하게 함 */
  height: 48px;
}

#menuButton {
  display: flex;
  /*width: 56px;*/
  justify-content: center;
}

/* 햄버거 메뉴 트랜지션 효과 */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

#mobileMenu.collapse {
  max-height: 0;
}

/* 햄버거 메뉴 열렸을 때의 스타일 */
#menuButton[aria-expanded="true"] #hamburger span:nth-child(1) {
  opacity: 0;
  top: 24px;
}

#menuButton[aria-expanded="true"] #hamburger span:nth-child(2) {
  opacity: 0;
  top: 24px;
}

#menuButton[aria-expanded="true"] #hamburger span:nth-child(3) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: .2s ease-in-out;
  -moz-transition: .2s ease-in-out;
  -o-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
  opacity: 1;
}

#menuButton[aria-expanded="true"] #hamburger span:nth-child(4) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: .2s ease-in-out;
  -moz-transition: .2s ease-in-out;
  -o-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
  opacity: 1;
}

#mobileMenu ul {
  list-style: none;
  /*padding: 0 0 0 16px;*/
  /*margin-bottom: 10px;*/
  margin: 0;
  padding:0;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#mobileMenu ul li {
  width: 100%;
  height: 48px;
  display: inline-block;
  padding: 0 6px;
  vertical-align: bottom;
  text-align: center;
}

#mobileMenu ul li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  transition: background-color 0.2s ease;
  line-height: 0.8; /* 줄 간격 조정 */
  font-size: 12px; /* 글자 크기 조정 */
}

#mobileMenu ul li a br {
  content: '';
  display: block;
  margin: 2px 0; /* 줄 사이 간격 조정 */
}

#mobileMenu .login {
  font-weight: 800;
  color: rgba(0, 0, 0, 1);
}
#mobileMenu .login:hover,
#mobileMenu .login:visited,
#mobileMenu .login:active {
  color: rgba(0, 0, 0, .8);
}
#mobileMenu .logout {
}
#mobileMenu .logout:hover,
#mobileMenu .logout:visited,
#mobileMenu .logout:active {
  color: #bbb;
}

.collapse:not(.show) {
  display:none
}
.collapsing {
  height:0;
  overflow:hidden;
  transition:height .35s ease
}
@media(prefers-reduced-motion:reduce) {
  .collapsing{
    transition:none
  }
}
.collapsing.collapse-horizontal {
  height:auto;transition:width .35s ease;width:0
}
@media(prefers-reduced-motion:reduce) {
  .collapsing.collapse-horizontal{
    transition:none
  }
}

