/* Express 4 */
html{
  font-family: Roboto,Arial,'Microsoft JhengHei',Helvetica,sans-serif;
  overflow-x: hidden;
  font-size: 100.01%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.15; 
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.top.container {
   font-size: 12pt;
}

.clearfix:after {
  display: block;
  content: "";
  clear: both;
}

.fullwidth{
  width: 100%;
  padding: 0;
}

/* New CSS*/

.logo-container {
  padding: 15px 0 15px 0;
  background-size: auto;
  display: block;
  background-repeat: no-repeat;
  background-position: left center;
  position: relative;

}

.logo-container a {
  display: block;
  text-align: center;
}

.logo-container-seperator {
  display: block;
  width: 1px;
  margin: 0 0.625em;
  content: "";
  background: #EBEBEB;

  align-self: stretch;
}

.item-page{
  width: 100%;
}

.item-page a {
  color: #a02337;
}

.menu-desktop {
  padding: 0;
  margin: 0 -1.75em;
}

.menu-desktop > li {
  float: left;
  display: inline-block;
  padding: 0 0 0 1.75em;
  margin: none;
}

.menu-area.first-menu {
  margin-right: auto;
  margin-left: auto;
  display: block;
}

.menu-desktop li > a {
  display: block;
  text-decoration: none;
  padding: 10px;
  color: #454545;
  font-size: 14pt;
}

.menu-desktop li.active > a {
  font-weight: bold;
}

.menu-desktop .nav-child {
  display: none;
  position: absolute;
}

.menu-desktop .nav-child::before {
  left: 0;
  box-shadow: -0.625em 0px 0.625em -0.5em rgba(0, 0, 0, 0.15), inset 0 2.1875em 1.8125em -2.5625em rgba(0, 0, 0, 0.1), inset 0 -2.1875em 1.8125em -2.5625em rgba(0, 0, 0, 0.1);
}

.menu-desktop li .nav-child {
  display: none;
  position: absolute;
  float: left;
  z-index: 1;
  width: 18.75em;
  padding:0;
  box-shadow: 0 1.25em 1.5625em 0 rgba(0, 0, 0, 0.1), inset 0 2.1875em 1.8125em -2.5625em rgba(0, 0, 0, 0.1), inset 0 -2.1875em 1.8125em -2.5625em rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border-top: 0.225em solid #a02337; 
}

.menu-desktop li .nav-child li {
  position: relative;
}

.menu-desktop li:hover .nav-child .nav-child {
  left: 100%;
  top: 0;
  width: 200px;
  display: none;
  margin-top: -1px;
  background-color: #F4F4F4;
  border-top: 0;
}

.menu-desktop li:hover .nav-child li:hover .nav-child {
  display: block;
}

.menu-desktop li:hover > .nav-child {
  display: block;
  padding: 0;
  margin: 0;
}

.menu-desktop li > .nav-child li {
  float: unset;
  width: 100%;
  text-align: left;
  border: 1px solid white;
  border-bottom: 0;
  list-style-type: none;
}

.menu-desktop li .nav-child li:last-child {
  border-bottom: 1px solid white;
}

.menu-desktop li .nav-child li a {
  padding: 10px;
  border-bottom: initial; 
  background-color: white;
}

.menu-desktop li > .nav-child li:hover > a {
 
  color: #a02337;
}

.menu-desktop .current.active a {
  font-weight: bold;
}

.search.custom_search {
  display: inline-block;
  border: 1px solid #a02337;
  padding: 0;
  float: right;
}

#searchBtn, #searchBth_mobile {
  width: 30px;
  height: 30px;
  background: #A02337 url(../images/search.png) center center no-repeat;
  border: 0;
  text-indent: -999999px;
  float: right;
  background-size: 60%;
  color: white;
}

#its_search_field, #its_search_field_mobile {
  margin: 0;
  padding: 0 5px;
  line-height: 28px;
  height: 30px;
  border: 0;
  width: calc(100% - 30px);
}

#fontDown2 a,
#fontReset2 a,
#fontUp2 a {
  text-decoration: none;
  color: grey;
  text-align: initial;
  display: block;
}

#fontDown2 a {
  height: 30px;
  width: 30px;

  background: url(../images/font-resize.png) top left no-repeat;
  text-indent: -999999px;
}

#fontReset2 a {
  height: 30px;
  width: 30px;

  background: url(../images/font-resize.png) top center no-repeat;
  text-indent: -999999px;
}

#fontUp2 a {
  height: 30px;
  width: 30px;

  background: url(../images/font-resize.png) top right no-repeat;
  text-indent: -999999px;
}

#fontSize,
#langSwitch,
#langSwitch-mobile {
  text-align: center;
  padding-right: 0;
  padding-left: 0;
  display: inline-block;
  vertical-align: top;
}

#fontSize div {
  display: inline-block;
}

.tagline {

  text-align: right;
}

.header {
  padding: 0;
}

.logo-container a{
  display: block;
  text-align: left;
}

.mod-languages li a {
   color: #333;
}

.mod-languages li {
  line-height: 1.6rem;
}

.mobile-bar {
  padding: 0 15px;
  display: block;
  clear: both;
}

.nsp-title {
  font-size: 2em;
  font-weight: bold;
  text-align: center;
}

.main-content-area {
  padding: 0;
  margin-bottom: 15px;
}

.main-content-area-container {
  padding-top: 15px;
}

.part1 .nspArt {
  margin-bottom: 15px;
}

#nsp-part1 .nspArt, .type1class .nspArt {
  /*background: url(../images/news-bg-a02337.png) top left repeat-x; */
  background-position-y: 260px;
  padding: 15px !important;
  background-size: 90%;
}

#nsp-parst1 .nspArt::before, .type1class .nspArt::before {
    /*background: url(../images/news-bg-a02337.png) top left repeat-x; */
    padding: 15px !important;
}

#nsp-part1 .nspArt a,
#nsp-part1 .nspArt a .h2,
#nsp-part1 .nspArt a div {
  max-width: 90%;
  margin-right: auto;
  margin-left: auto;
  text-decoration: none;
}

.type1class .nspArt a,
.type1class .nspArt a .h2,
.type1class .nspArt a div {
  max-width: 90%;
  margin-right: auto;
  margin-left: auto;
  text-decoration: none;
}


#nsp-part1 .nspArt a:hover {
  color: #a02337;
}

#nsp-part1 .h2 {
  clear: both;
  margin-top: 15px;
  padding: 15px 0 15px 0;
  font-size: 1.5em;
  display:block;
  text-align: center;
}

#nsp-part1 img.img-responsive {
  display: block;
  position: relative;
  clear: both;
  margin-bottom: 15px;
}

#nspssCol1 {
  padding: 0 15px !important;
}

#nsp-part2 .nspssCol1 {
  padding: 0 !important;
  background-color: #a02337;
}

#nsp-part2 .h2 {
  display: inline-block;
  position: relative;
  margin-top: 5% !important;
  color: white;
  font-size: 2em !important;
  font-weight: bold;
}

#nsp-part2 .event-container {
  margin-right: -15px;
  margin-left: -15px;
}

#nsp-part2 .event-desc {
  font-size: 1.2em;
  /* padding: 2% 0 !important; */
  color: white;
}

.nspssCol1 a {
  color: #333;
}

.gkArtContentWrap {
  width: 60%;
}

.nspArt img.nspImage {
  width: 100%;
}

.nspArt p.nspText {
  margin: 15px 0 5% !important;
}

#nsp-part2 .col-lg-4 {
  width: 100%;
  max-width: 100%;
}

#nsp-part2 .nspArt a img {
  width: 50%;
  max-width: 50%;
  float: left;
}
#nsp-part2 .nspArt a {
  display: block;
}

.nspPagination li > a {
  color: #000000 !important;
}


.nspArt .fright {
  border-bottom: 2px solid #a02337;
  text-align: right;
  float: none !important;
  padding-bottom: 15px;
  padding-top: 15px;
  margin-right: 15px;
  margin-left: 15px;
  margin-bottom: 15px;
}

.subpage-article {
  float: left;
  padding:0;
}

img.jg_photo {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  border: 0;
}

.jg_element_gal,
.jg_element_gal_r {
  width: 100%;
  height: auto;
}

.jg_catelem_photo:hover img {
  border: 0 !important;
}

.pagination-jg-category,
.pagination-jg-gallery {
  display: block;
  clear: both;
  position: relative;
  padding: 15px;
}

.box-desc {
  line-height: 1.6rem;

}

footer {
    margin: 0;
    min-height: 50px;
    padding: 2.8125em 0;
    color: #FFF;
    background: #58595B;
    position: relative;
    font-size: .875rem;
}

.footer-menu-container .menu {
  padding: 0;
  display: inline-block;
    margin: 0;
}

.footer-menu-container .menu li {
  float: left;
  list-style: none;

  margin: 0;
}

.footer-menu-container .menu a {
  color: white;
  text-decoration: none;
  display: block;
}

.footer-menu-container .custom {
  color: white;
    padding: 0;
    display: block;
    width: 100%;
}

.readon-button {
  text-decoration: none;
  background: #a02337;
  color: white;
  padding: 5px 10px;
  right: 15px;
  display: inline;
  margin-right: 0;
  float: right;
  margin-top: 20px;
}

.subpageBanner .custom p {
  margin: 0;
}

.subpageBanner .custom img {
  width: 100%;
}

.subpage-menu-container{
  margin-left: -15px;
}

.subpage-menu-container .menu {
  padding: 0;
  margin: 0;
}

.subpage-menu-item li.current > a {
  font-weight: bold;
}

.subpage-menu-item li a {
  font-size: 1.2em;
  padding: 0 10px 10px 0;
}

.subpage-menu-container .menu li {
  display: none;
}

.subpage-menu-item li {
  display: block !important;
}

.subpage-menu-container .menu li a {
  text-decoration: none;
  color: black;
  display: block;
}

.subpage-menu-container .menu li.active {
  display: block;
}

.subpage-menu-item {

}

.nav.menu.subpage-menu-title li.active {
  margin: 0.67em 0;
  font-size: 2em;
  font-weight: bold;
}

.content-category table {
  width: 100%;
}

.content-category table thead tr {
  border-bottom: 2px solid #A02337;
}

.content-category table td,
.content-category table th {
  padding: 5px;
  text-align: left;
}

.content-category table td a,
.content-category table th a {
  text-decoration: none;
  color: #333;
}

.content-category table td a:hover,
.content-category table th a:hover {
  color: #a02337;
}

.content-category table #categorylist_header_date {
  width: 20%;
}

.jg_photo_container {
  margin-bottom: 15px;
}

/* Tablet Session */

#langSwitch-mobile {
  text-align: right;
  padding-top: 15px;
  padding-right: 15px;
}

.mobile-bar .search.custom_search {
  margin-top: 15px;
}

.menu-mobile-container {
  padding: 0;
  display: none;
}

.menu-mobile li {
  float: none;
  display: block;
  background-color: #A02337;
  border-top: 1px solid white;
}

.menu-mobile li a {
  display: block;
  max-width: 100%;
  color: white;

  text-align: left;
  padding: 10px 10px 10px 15px;
  text-decoration: none;
  font-size: 120%;
}



.menu-mobile li > a:hover {
  background-color: white;
  color: #A02337;
}

.menu-mobile .nav-child {
  display: none;
  padding: 0;
}

.menu-mobile .nav-child li a {

}
.menu-mobile .nav-child .nav-child li a {
  padding-left: 60px;
}

.jg_element_cat {
  width: 100%;
}

.menu-mobile-button {
  display: inline-block;
  height: 48px;

  background: url(../images/menu-mobile-button-A02337.png) center left no-repeat;
  cursor: pointer;
  background-position-x: 2%;
  clear: both;
  margin-top: 5px;
}


.staffintro {
  text-align: center;
  padding: 15px 0 15px 0;
}

.introImage.staff-title-hon img {
  max-width: 90%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 15px;
  margin-top: 15px;
}

.fright a {
  text-decoration: none;
  font-weight: bold;
}


/* Fit for PolyU Website header and footer */

.custom_search{
	display: none !important;
}

/* Mobile Session */

@media (max-width: 1200px) {
  .menu-desktop li a {
    font-size: 110% !important;
  }
 

  .header .custom p {
    margin-bottom: 0;
  }




}

@media (max-width: 1024px) {
  .header .custom img {
    margin-right: 15px;
  } 
}

@media (max-width: 992px) {
  .footer-menu-container .custom {
    text-align: center;
    width: 100%;
  }

  .footer-menu-container .menu {
    float: unset;
    display: table;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 800px) {
  .nspArts,
  .nspLinksWrap {
    padding: 0px !important;
  }
}

@media (max-width: 767px) {
  .header .custom {
    text-align: center;
  }
  .header .custom a {
    display: block;
  }

  .header .custom a img {
    max-width: 100%;
    display: block;
  }

  .part1 .nspArtPage.active {
    padding-right: 0 !important;
  }

  .main-content-area:first-child {
    padding: 0 !important;
  }

  .part2 .nspArt .gkResponsive,
  .part2 .nspArt p.nspText {
    max-width: 100% !important;
  }
  #nsp-part2 .nspArt a img {
    width: 100%;
    max-width: 100%;
  }

  #nsp-part1 .nspArt a img {
    max-width: 100%;
    width: 100%;
  }
  #nsp-part1 .h2 {
    margin-top: 15px;
  }

  #nsp-part1 .nspArt {
    background: none;
    padding: 0 !important;
  }

  #nsp-part1 .nspArt a,
  #nsp-part1 .nspArt a .h2,
  #nsp-part1 .nspArt a div {
    max-width: calc(100% - 30px);
    margin-top: 0 !important;
    padding: 5px;
    text-align: center;
  }

  .box-desc {
    padding-bottom: 15px !important;

  }

  #nsp-part2 .event-container {
    padding: 15px;
    max-width: 100%;
    margin-left: 15px;
    margin-right: 15px;
  }

  #nsp-part2 .event-desc {
    max-width: calc(100% - 30px);
  }

  .nspBotInterface,
  .nspTopInterface {
    display: none;
  }

  #nsp-part2 .h2 {
    margin-top: unset !important;
  }
}

@media (max-width: 480px) {
  #langSwitch-mobile {
    text-align: center;
  }

  .nspArt .fright {
    margin-right: 15px;
    margin-left: 15px;
    max-width: 100%;
    margin-bottom: 15px;
  }

  #nsp-part2 .event-container {
    padding: 15px;
    max-width: calc(100% - 30px);
    margin-left: 15px;
    margin-right: 15px;
    
  }

  #nsp-part2 .event-desc {
    max-width: calc(100% - 30px);
  }

  .footer-menu-container .menu {
    margin: 0;
  }

  .footer-menu-container .menu li {
    float: left;
    display: block;
    width: 100%;
  }

  .footer-menu-container .menu li a {
    padding: 5px 10px;
    text-align: center;
  }
}