/* 
Theme Name:		 NUS Theme
Theme URI:		 http://childtheme-generator.com/
Description:	 NUS Theme is a child theme of Astra, created by ChildTheme-Generator.com
Author:			 Websparks
Author URI:		 http://childtheme-generator.com/
Template:		 astra
Version:		 1.0.0
Text Domain:	 nus-theme
*/

/*
    Add your custom styles here
*/

:root {
  --orange: #EF7C00;
  --blue: #003D7C;
}

body {
  font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.ast-desktop .ast-menu-hover-style-underline>.menu-item>.menu-link::before,
.ast-desktop .ast-menu-hover-style-overline>.menu-item>.menu-link::before {
  height: 3px;
}

.ast-desktop .ast-menu-hover-style-underline>.menu-item:hover>.menu-link::before,
.ast-desktop .ast-menu-hover-style-overline>.menu-item:hover>.menu-link::before {
  background-color: var(--orange);
}

.ast-desktop .ast-menu-hover-style-underline>.menu-item.current_page_item>.menu-link::before,
.ast-desktop .ast-menu-hover-style-overline>.menu-item.current_page_item>.menu-link::before {
  width: 100%;
  background-color: var(--orange);
  transform: scale(1, 1) translate(50%, 0);
}

.ast-desktop .ast-mega-menu-enabled .ast-builder-menu-1 div:not(.astra-full-megamenu-wrapper) .sub-menu,
.ast-builder-menu-1 .inline-on-mobile .sub-menu,
.ast-desktop .ast-builder-menu-1 .astra-full-megamenu-wrapper,
.ast-desktop .ast-builder-menu-1 .menu-item .sub-menu {}

.ast-desktop .ast-builder-menu-1 .menu-item .sub-menu .menu-item a.menu-link {
  color: var(--blue);
}

.ast-desktop .ast-builder-menu-1 .menu-item .sub-menu .menu-item a.menu-link:hover {
  color: #262626;
  background-color: #F5F5F5;
}

.site-logo-img img {
  height: 60px;
  width: auto;
}

.site-branding {
  display: flex;
}

.site-branding .nus-faculty-border {
  border-right: 1.5pt solid #003d7c;
  margin: 0px 15px;
}

.site-content > .ast-container {
  max-width: 100%;
  padding: 0;
}

body.search .ast-container {
  max-width: 1240px;
  padding: 0;
}

/********** FOOTER **********/
footer .nus-footer .dept-footer {
  margin-left: auto;
  margin-right: auto;
}

footer .nus-footer {
  padding: 70px 0px;
}

footer .nus-footer .dept-name {
  color: white;
  font-size: 18px;
  text-align: center;
  margin-bottom: 10px;
}

footer .nus-footer .dept-info .icon {
  color: white;
  margin-right: 10px;
  float: left;
}

footer .nus-footer .dept-footer .dept-info .info, footer .nus-footer .dept-footer .dept-info {
  font-size: 14px;
  width: 70%;
  margin: auto;
}

footer .nus-footer .dept-footer .dept-info .info, footer .nus-footer .dept-footer .dept-info .info {
  text-align: left;
}

footer .nus-footer .dept-footer .dept-info .info, footer .nus-footer .dept-footer .dept-info .info a {
  color: #999;
}

footer .nus-footer .dept-footer .social-icons img {
  width: 30px;
  margin: 0px 4px;
}

footer .nus-footer .dept-footer .social-icons {
  margin: 0px auto;
  text-align: center;
  padding-top: 50px;
}

footer .nus-footer .dept-footer .social-icons img {
  display: inline-block;
}

@media only screen and (max-width:768px) {
  .nus-footer .dept-footer {
    width: auto;
  }
}

/********** HEADER **********/
#ast-hf-mobile-menu a.menu-link {
  color: #003D7C;
  font-size: 14px;
}

@media only screen and (max-width:767px) {
  .nus-faculty-border {
      display: block;
  }

  .nus-faculty-logo {
      margin-top: 8px !important;
      display: block;
  }
}


@media only screen and (max-width:920px) {
  .ast-icon.icon-arrow svg {
    transform: none;
    font-size: 10px;
  }

  .ast-submenu-expanded>.ast-menu-toggle .ast-icon.icon-arrow svg {
    transform: rotate(180deg);
  }
}

.ast-search-box.header-cover .icon-close svg {
  color: #0d0d0d;
}

#ast-desktop-header .ast-search-box.header-cover {
  position: static;
  padding: 20px;
  background: none;
  background-color: #f8f8f8;
}

#ast-desktop-header .ast-search-box.header-cover .ast-search-wrapper {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  transform: none;
}

#ast-desktop-header .ast-search-box.header-cover .search-form .search-field {
  padding: 10px 16px 10px 40px;
  font-size: 18px;
  line-height: 1.33em;
  background-color: #fff;
  color: #0d0d0d;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
  height: 45px;
  border-radius: 0px;
}

#ast-desktop-header .ast-search-box.header-cover .search-form .search-field::placeholder {
  color: #ccc;
}

#ast-desktop-header .ast-search-box.header-cover .search-form .search-text-wrap {
  width: calc(100% - 0em);
}

#ast-desktop-header .ast-search-box.header-cover .search-form .search-text-wrap:before {
  display: block;
  position: absolute;
  top: 2px;
  left: 22px;
  opacity: 0.1;
  z-index: 3;
  content: "";
  width: 40px;
  height: 40px;
  background-image: url(assets/images/search-solid.png );
  background-repeat: no-repeat;
  background-position: center;
  background-size: 17px auto;
}

#ast-desktop-header .ast-search-box.header-cover .search-form .close {
  opacity: 0;
  display: none;
}

.nus-row-page-banner {
  max-width: 1260px;
}

.nus-row-page-banner>.fl-row-content-wrap {
  background-size: cover;
  padding-top: 192px;
  padding-bottom: 220px;
  padding-left: 235px;
  overflow: hidden;
}

.nus-row-page-banner>.fl-row-content-wrap:after {
  right: auto;
  left: 50%;
  width: 2170px;
  margin-left: -1085px;
}

.nus-row-page-banner>.fl-row-content-wrap h1.fl-heading {
  max-width: 700px;
  font-size: 60px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -3px;
  text-shadow: -1px 0px 15px rgba(0, 0, 0, 0.35);
}

.nus-row-page-banner>.fl-row-content-wrap h4.fl-heading {
  max-width: 700px;
  font-size: 34px;
  font-weight: 500;
  text-shadow: -1px 0px 15px rgba(0, 0, 0, 0.35);
}

@media only screen and (max-width: 1024px) {
  .nus-row-page-banner>.fl-row-content-wrap {
    background-size: cover;
    padding-top: 272px;
    padding-bottom: 90px;
    padding-left: 50px;
  }

  .nus-row-page-banner>.fl-row-content-wrap:after {
    right: 0px;
    left: 0px;
    width: auto;
  }

  .nus-row-page-banner>.fl-row-content-wrap h1.fl-heading {
    font-size: 40px;
    letter-spacing: -2px;
  }

  .nus-row-page-banner>.fl-row-content-wrap h4.fl-heading {
    font-size: 26px;
  }
}

@media only screen and (max-width: 767px) {
  .nus-row-page-banner>.fl-row-content-wrap {
    background-size: auto 100%;
    padding-top: 200px;
    padding-bottom: 50px;
    padding-left: 20px;
  }

  .nus-row-page-banner>.fl-row-content-wrap h1.fl-heading {
    font-size: 30px;
    letter-spacing: -1px;
  }

  .nus-row-page-banner>.fl-row-content-wrap h4.fl-heading {
    font-size: 18px;
  }
}

.main-header-menu .menu-link, .main-header-menu>a {
  padding: 0 15px 0 15px;
}

/********** BREADCRUMBS **********/
.custom-breadcrumbs {
  background: #002449;
}

.custom-breadcrumbs ul {
  list-style: none;
  max-width: 1140px;
  display: flex;
  margin: 0px auto;
}

.custom-breadcrumbs>ul>li {
  float: left;
  margin-right: 5px;
  color: #999;
  font-size: 14px;
}

.custom-breadcrumbs>ul>li>a {
  /**color: #959595;*/
  color: #555;
}

.custom-breadcrumbs ul>li a:hover {
  color: #fff;
  text-decoration: none;
}

.custom-breadcrumbs>ul>li:nth-child(n+2)::before {
  /**font-family: "Font Awesome 5 Free";*/
  font-weight: 600;
  content: "/";
  font-size: 15px;
  margin: 0px 10px;
}

.breadcrumbs-home {
  padding-right: 10px;
  color: #f27c36;
}



/********** SEARCH PAGE **********/
#ast-mobile-header .ast-below-header-wrap{
	display: none;
}

.main_header_search_icon{
	line-height: 0;
}

.main_header_search_bar{
	.search-text-wrap{
		position: relative;
	}
	
	.search-text-wrap:before {
    display: block;
    position: absolute;
    top: -10px;
    opacity: 0.1;
    z-index: 3;
    content: "";
    width: 40px;
    height: 40px;
    background-image: url(assets/images/search-solid.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 17px auto;
}
	
	.search-field {
    padding: 10px 16px 10px 40px;
    font-size: 18px;
    line-height: 1.33em;
    background-color: #fff;
    color: #0d0d0d;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    height: 45px;
    border-radius: 0px;
	}
}

@media only screen and (max-width:767px) {
  .search-results .container{
		padding: 20px;
	}
}


.search-results .headline {
  margin: 24px 0px;
}

.search-results .headline h2 {
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
  line-height: 35px;
  letter-spacing: 0px;
  text-align: left;
  color: #003d7c;
}

.search-results .form-search {
  display: block;
  width: 100%;
  margin-bottom: 25px;
  position: relative;
}

.search-results .form-search .searchBox {
  height: 50px;
  width: 100%;
  padding-left: 25px;
  padding-right: 90px;
  font-size: 14px;
  line-height: 24px;
}

.search-results .form-search .icon-cancel {
  position: absolute;
  height: 16px;
  width: 16px;
  top: 17px;
  right: 60px;
  cursor: pointer;
  z-index: 5;
}

.search-results .form-search .icon-search {
  position: absolute;
  top: 17px;
  right: 30px;
  cursor: pointer;
  z-index: 5;
  height: 17px;
  width: 17px;
  opacity: 0.8;
}

.search-results .results .resultCount {
  font-size: 14px;
  font-style: normal;
  font-weight: bold;
  line-height: 20px;
  letter-spacing: 0px;
  text-align: left;
  margin-top: 50px;
  margin-bottom: 50px;
}

.search-results .results .resultList {
  margin-top: 25px;
  margin-bottom: 25px;
}

.search-results .results .resultList .result-item {
  margin-bottom: 15px;
}

.search-results .results .resultList .result-title {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: left;
  color: #262626;
  margin-bottom: 8px;
}

.search-results .results .resultList .description {
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0px;
  text-align: left;
  color: #343434;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* number of lines to show */
  -webkit-box-orient: vertical;
}

.search-results .results .resultList .read-more button {
  border: none;
  background: none;
  padding: 0px;
}

.search-results .results .resultList .read-more button:focus {
  outline: none;
}

.search-results .results .resultList .read-more span {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0px;
  text-align: left;
  cursor: pointer;
  color: #0D315F;
}

.search-results .results .resultList .read-more span:hover {
  color: #45565F;
}

@media only screen and (min-width: 1200px) {
  .search-results .form-search {
    width: 100%;
  }
}

.result-item-divider {
  margin-top: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.wrapper-paging {
  text-align: center;
}

.wrapper-paging .page-numbers {
  list-style: none;
}

.wrapper-paging .page-numbers li {
  display: inline-block;
}

.wrapper-paging .page-numbers li .page-numbers {
  border: none;
  padding: 4px 8px;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: center;
  color: #707070;
}

.wrapper-paging .page-numbers li .page-numbers.current {
  color: white;
  background: #003d7c;
}

.wrapper-paging .page-numbers li .page-numbers.next {
  color: white;
  position: relative;
}

.wrapper-paging .page-numbers li .page-numbers.next:before {
  background: url("assets/images/next-arrow.svg");
  width: 7px;
  height: 12px;
  display: block;
  content: " ";
  position: absolute;
  top: 7px;
  left: 10px;
}

.wrapper-paging .page-numbers li .page-numbers.prev {
  color: white;
  position: relative;
}

.wrapper-paging .page-numbers li .page-numbers.prev:before {
  background: url("assets/images/prev-arrow.svg");
  width: 7px;
  height: 12px;
  display: block;
  content: " ";
  position: absolute;
  top: 8px;
  right: 10px;
}



/********** MEGA MENU **********/

.ast-mm-custom-text-content {
  height: 144px;
  display: block;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0px;
  text-align: left;
  color: #343434;
  font-family: Helvetica Neue;
}

@media only screen and (max-width: 767px) {
  .ast-mm-custom-text-content {
    padding: 0 20px 0 20px;
  }
}

@media screen and (max-width: 1250px) {
	sr7-content{
		padding-top: 20px;
		padding-right: 20px;
		padding-left: 20px;
	}
	
	sr7-bullets{
    transform: translate(20px, -20px) !important;
	}
	
	.sr7-leftarrow{
    transform: translate(0px, 0px) !important;
    inset: 70% auto auto 0px !important;
	}
	
	.sr7-rightarrow{
    transform: translate(40px, 0px) !important;
    inset: 70% auto auto 0px !important;
	}
}



/* Mobile */
@media screen and (max-width: 767px) {
	.ast-mobile-header-wrap .ast-primary-header-bar{
		height: 63px;
		min-height: 63px !important;
	}
	
	.ast-site-identity{
		padding: 0 !important;
	}
	
	.site-logo-img img{
    height: 38.24px;
		object-fit: contain;
	}
	
}





.ast-mobile-popup-header {
  position: relative;
  background-color: #EEEEEE;
  min-height: 35px !important;
  height: 35px;
}

.ast-mobile-popup-header::after {
  content: 'SIDEBAR';
  top: 5px;
  left: 12px;
  position: absolute;
  color: #333333;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
}

.ast-mobile-popup-drawer .ast-mobile-popup-header .menu-toggle-close {
  padding: 5px 10px 5px 10px;
  background: #BBBBBB33;
  border-radius: 0;
}

#ast-hf-mobile-menu{
  position: relative;
  padding-top: 54px;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 20px;
}

#ast-hf-mobile-menu::before{
  content: "Main Menu";
  font-size: 18px;
  left: 12px;
  top: 10px;
  position: absolute;
}

.ast-mobile-popup-content *:focus {
  outline: none !important;
}

.ast-mobile-popup-content button {
  box-shadow: none !important;
}

.ast-mobile-popup-content .menu-text {
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  vertical-align: middle;
  text-transform: capitalize;

}

.ast-mobile-popup-content .main-navigation ul .menu-item .menu-link {
  padding: 5px 35px !important;
}


.ast-mobile-popup-content .main-navigation ul {
  gap: 0 !important;
}

.ast-mobile-popup-content .ast-menu-toggle .ast-icon.icon-arrow svg {
  height: 15px !important;
  width: 15px !important;
  color: #013D7C !important;
}

#ast-mobile-header .ast-search-box svg {
  color: white !important;
}

#ast-hf-mobile-menu a.menu-link:hover{
  background: #eee;
  color: #000;
}

#ast-hf-mobile-menu .sub-menu{
  background: #f6f6f6 !important;
  padding-left: 10px;
}

#ast-hf-mobile-menu .sub-menu .menu-text{
  font-weight: 400 !important;
}

#ast-hf-mobile-menu .sub-menu .menu-link > .ast-icon{
  display: none !important;
}

.ast-mobile-popup-drawer .main-header-bar-navigation .menu-item-has-children > .ast-menu-toggle{
  top: 3px !important;
  right: calc(20px - 0.907em) !important;
}

#ast-hf-mobile-menu .ast-menu-toggle .ast-icon.icon-arrow svg {
  transform: rotate(270deg) !important;
}

#ast-hf-mobile-menu .sub-menu .menu-link{
  border: none !important;
}


/* Quicklinks Mobile */
.ast-mobile-popup-content .widget_nav_menu{
  margin-left: 12px;
  margin-right: 12px;
  margin-bottom: 80px;
}

.ast-mobile-popup-content .widget-title{
  font-size: 18px;
  font-weight: 400 !important;
  margin-bottom: 10px !important;
}

.ast-mobile-popup-content .widget_nav_menu .menu-link{
  display: inline-block;
  width: 100%;
  border-bottom-width: 1px;
  border-top-width: 0;
  border-right-width: 0;
  border-left-width: 0;
  border-color: #eaeaea;
  border-style: solid;
  padding: 12px 35px !important;
  font-weight: 700;
  font-size: 14px;
}

.ast-mobile-popup-content .widget_nav_menu .menu-link:hover {
    background: #eee;
    color: #000;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
  line-height: 40px !important;
}


/********** nus scale **********/

.quick-links-box .elementor-icon-box-icon {

}

.quick-links-box:hover .elementor-heading-title {
  color: #ffffff !important;
}



.quick-links-box .quick-links-icon .elementor-icon {
    padding: 12px !important;
    background-color: #EDF6FF;
    border-radius: 100px;
    transition: all 0.1s;
}

.quick-links-box:hover .quick-links-icon .elementor-icon {
  background-color: #FFFFFF33;

}

.quick-links-box:hover .quick-links-icon .elementor-icon {
  color: #ffffff !important;
}

.quick-links-box::after {
    content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #0867CA, #B139B3);
}

.quick-links-box:hover {
  background: linear-gradient(90deg, #0355A9, #003D7C) !important;
}


.quick-links-box {
  transition: all 0.3s ease-in-out;
}