html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
  padding-top: 76px; /* 상단메뉴 상단여백 */
}

@media (max-width: 767.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 76px; /* Height of navbar 모바일 사이드슬라이드메뉴 상단여백 */
    right: 0;
    bottom: 0;
    width: 60%;
    margin-right: -16px;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    background-color: var(--gray-dark);
    transition: -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
	border-left: 1px solid rgba(51,51,51,.2);
  }
   .imgicon {url('/img/logo.png');
   }
  .offcanvas-collapse.open {
    -webkit-transform: translateX(-1rem);
    transform: translateX(-1rem); /* Account for horizontal padding on navbar */

    border-top: 1px solid rgba(51,51,51,.2);
    background-color: rgba(255,255,255,10); /* 모바일 슬라이드 메뉴 배경 */
  }

  .offcanvas-collapse ul li {
	border-bottom: 1px solid rgba(0,0,0,.1); /* 모바일 슬라이드 메뉴 라인색상 */
	padding-top: .3rem;
	padding-bottom: .1rem;
	}
	.dropdown-menu {
	background-color: rgba(255,255,255,.2);
	}
	.dropdown-menu a {
	color:rgba(0,0,0,.7);
	padding: .7rem 1.5rem .6rem;
	border-bottom: 1px solid #c3c3c3;
	background-color: rgba(255,255,255,.9); /* 모바일 서브메뉴 배경색상 */
	
	}

	.dropdown-menu a:last-child {
		border-bottom: 0;
	}
	.navbar-nav li a:hover {
	color:rgba(0,0,0,1) !important;
	}
	
	.dropdown-menu {
		padding-bottom: 0;
		padding-top: 0;
	}
}
.bg-dark {background-color: rgba(255,255,255,.9) !important;} /* 상단메뉴 배경컬러 -> 글씨색상은 default.css파일 14번째줄에서 변경가능 */

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: var(--secondary);
}

.nav-underline .nav-link:hover {
  color: var(--blue);
}

.nav-underline .active {
  font-weight: 500;
  color: var(--gray-dark);
}

.text-white-50 { color: rgba(255, 255, 255, .5); }

.bg-purple { background-color: var(--purple); }

.border-bottom { border-bottom: 1px solid #e5e5e5; }

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }

.lh-100 { line-height: 1; }
.lh-125 { line-height: 1.25; }
.lh-150 { line-height: 1.5; }
