div.jsn-modulecontainer ul.menu-mainmenu li:hover > a,
div.jsn-modulecontainer ul.menu-mainmenu li a.current,
div[class*="lightbox-"] ul.menu-treemenu li a:hover,
div[class*="lightbox-"] ul.menu-treemenu li a.current,
div[class*="richbox-"] ul.menu-treemenu li a:hover,
div[class*="richbox-"] ul.menu-treemenu li a.current {
	color: #6C8DAF;
}
div.jsn-modulecontainer ul.menu-mainmenu > li.active > a {
	background-color: #6C8DAF;
}

ul.custom-menu.menu-treemenu > li > a {
  color: white !important;
}

ul.custom-menu.menu-treemenu > li {
  background-color: #4A8522;
}
ul.custom-menu.menu-treemenu > li ul {
  background-color: #DAFFC2;

  height: 0;
  overflow: hidden;
  interpolate-size: allow-keywords;
  transition: height 0.3s ease;
}
ul.custom-menu.menu-treemenu > li:hover ul {
  height: auto;
}

ul.custom-menu.menu-treemenu > li.parent.active > ul {
    height: auto;
    overflow: visible;
}

#jsn-logo img {
  height: 50px !important;
}

.bottom-logo {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  
  margin-bottom: 30px;
}
.bottom-logo > div {
  flex: 1 1 33.333%;
  box-sizing: border-box;
  padding-left: 4.8px;
  padding-right: 4.8px;

  text-align: left;
}
@media (max-width: 768px) {
  .bottom-logo {
    flex-direction: column;
  }
  .bottom-logo > div {
    flex: 1 1 100%;
  }
}
#jsn-footer {
  font-size: 14px;
}
.bottom-logo ul {
  list-style-type: none;
}

.custom-box {
  background-color: #0b3c5d;
  padding: 15px 20px;
}
.custom-box h3.jsn-moduletitle {
  color: #fff;
  font-size: 18px;
  border-bottom: 3px solid #fff;
  margin-bottom: 8px;
}
.custom-box ul li {
  line-height: 1;
}
.custom-box ul li a {
  color: #fff;
  font-size: 16px;
}
.custom-box ul li a .jsn-menutitle {
  font-weight: normal;
}

#jsn-topbar,
#jsn-topbar ul.menu-divmenu li {
  background-color: white;
  font-size: 16px;
}
#jsn-topbar {
  padding-top: 15px;
}
#jsn-topbar .jsn-modulecontainer {
  margin: 0;
  line-height: 1;
}
#jsn-topbar .menu-divmenu {
  margin: 0;
  margin-right: 27px;
}
#jsn-topbar .menu-divmenu .highlight {
  background-color: #ffd8c1;
}
#jsn-pos-topbar a {
  color: #0b3c5d;
}
#jsn-pos-topbar .jsn-menutitle {
  font-weight: 400;
}
#jsn-logo {
  position: absolute;
  top: 0;
}
#jsn-menu {
  margin: 0;
}
.menu-mainmenu {
  font-size: 16px;
  margin: 0;
  white-space: nowrap;
}
div.jsn-modulecontainer ul.menu-mainmenu > li {
  margin-left: 18px;
  padding: 0;
}
div.jsn-modulecontainer ul.menu-mainmenu > li > a {
  font-size: 1em;
  margin: 0;
  padding: 0;
}
#jsn-header_inner {
  border-bottom: 0 none;
}
.jsn-joomla-30 hr.headhr {
  margin: 0 36px 0 25%;
  padding: 0;
  border: none;
  border-top: 1px solid #0b3c5d;
}
#jsn-promo {
  background: none;
}
#jsn-body {
  padding-top: 20px;
}
#jsn-content-bottom {
  box-shadow: none;
  background: #fff;
  border-top: none;
}
#jsn-footer {
  color: #000;
  background: #fff;
}

/* enhance width */
#jsn-pos-topbar,
#jsn-pos-content-top_inner,
#jsn-footer_inner {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0 35px 0 35px;
}
/* enhance width */
@media only screen and (min-width: 1200px) {
  #jsn-pos-topbar,
  #jsn-pos-content-top_inner,
  #jsn-header_inner2,
  #jsn-content-bottom_inner,
  #jsn-footer_inner {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0 35px 0 35px;
  }
  #jsn-promo_inner {
    width: 95%;
  }
}

/* 裝飾線 */
.futurestud_item1 {
  width: 100%;
  height: 70px;
  background-color: white;
  display: flex;
  align-items: center;
}
.futurestud_item1 hr {
  border-top: 1px solid #0b3c5d !important;
  width: 50%;
  padding: 0px;
}
.futurestud_item1 img {
  width: 260px;
  margin: 0px 3px;
}

/* 教學研究單位 */
.mbox1 {
  margin-bottom: 20px;
  border-color: #fffdfd;
  border-bottom-width: 2px;
  border-style: solid;
  padding-bottom: 0px;
  margin-left: 10px;
  margin-right: 10px;
}
.program_style2 {
  width: 100%;
  /* background-color: #fffefedb; */
}
.program_title {
  color: #0b3c5d;
  font-size: 17px;
  font-weight: normal;
  padding-top: 11px;
  text-align: center;
  
  background-color: #fffefedb;
  padding-bottom: 9px;
}
.program_text {
  width: auto;
  margin: 0 auto;
  padding-top: 5px;
  padding-bottom: 10px;
  font-weight: normal;
  font-size: 16px;
  text-align: center;
  color: #454545;
  
  line-height: 0;
  background-color: transparent;
}