/* 
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, .elementor-heading-title {
  font-family: "Roboto", Arial, sans-serif !important;
}

.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: left;
  margin: 0 auto 10px;
  width: 70%;
  padding-left: 36px;
}

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,
  .nus-faculty-logo {
    /*display: none;*/
  }
  
  .site-logo-img img {
    height: 30px;
  }
  
  header .custom-logo-link img {
    height: 30px;
    width: auto;
    object-fit: cover;
  }
  
  .nus-faculty-logo {
    margin-top: 0 !important;
  }
}


@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;
  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 **********/


.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;
}

@media only screen and (max-width: 767px) {
  .ast-mm-custom-text-content {
    padding: 0 20px 0 20px;
  }
}

.site-above-footer-wrap:not(:has(.custom-breadcrumbs)){
  display: none;
}

/* additional OFN style */

.copilot-icon.copilot-icon-right{
  z-index: 1;
}

.elementor-widget-container .e-n-carousel.swiper-pointer-events{
  padding-bottom: 0 !important;
}

.homepage-about-us p{ 
  margin-bottom: 0;
}

.homepage-three-boxes>.e-con-inner>.e-child{
	height: 100%
}

.homepage-three-boxes>.e-con-inner>.e-child .elementor-widget-button{
	margin-top: auto;
}

.homepage-report-logo{
  margin-left: auto;
}

.tagembed-widget{
  overflow: unset !important;
}

.tb_header_img_ {
  padding: 0 !important;
}

.tb_mc_post_wrap_in{
  border-radius: 10px !important;
}

.tb_mc_image_wrap_ img{
  border-radius: 10px;
  border: 2px solid #003D7C !important;
}

.tb_mc_author_wrapper {
  display: none !important;
}

.tb_see_more_btn{
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #222222 !important;
}

.tbl-grid p{
  margin-bottom: 0;
}

.tbl-content table, .tbl-content td, .tbl-content th {
  border: 1px solid #C9DEF3;
}

.popular-faq-links ul {
  padding-left: 20px;
}

.popular-faq-links a {
  text-decoration: none !important;
  color: #003D7C;
}

.nus-sidebar-menu .menu {
  padding: 10px 5px 0;
  margin: 0;
}

.nus-sidebar-menu .sub-menu {
  padding-left: 20px;
}

.nus-sidebar-menu .menu > .menu-item.current-menu-item {
  list-style: none;
}

.nus-sidebar-menu .menu > .menu-item {
  list-style: none;
}

.nus-sidebar-menu .menu > .menu-item:not(.current-menu-item) > .menu-link::before{
  content: '\f053';
  font-family: "Font Awesome 5 Free";
  padding-right: 10px;
}

.nus-sidebar-menu .menu > .menu-item > .menu-link{
  font-weight: 700;
  text-decoration: none;
  color: #003D7C;
}

.nus-sidebar-menu .menu .sub-menu .menu-link{
  text-decoration: none;
  color: #003D7C;
}

.nus-sidebar-menu .menu .sub-menu .menu-item::marker {
  color: #003D7C;
}

.supplier-four-btn .elementor-button-wrapper, .supplier-four-btn .elementor-button-link{
  height: inherit;
}

.faq-accordion th{
  text-align: center; 
  background-color: #e5f0fb;
  color: #003d7c;
}

.faq-accordion table, .faq-accordion td, .faq-accordion th {
    border: 1px solid #C9DEF3;
}


@media only screen and (max-width: 991px) {

  .faq-accordion thead {
    display: none;
  }
  
  .faq-accordion tr {
    margin-bottom: 10px;
    display: block;
  }

  .faq-accordion td {
    display: block;
  }
  
  .faq-accordion table {
    border: none !important;
  }
  
  .faq-accordion tr td:first-child {
    border-top: 1px solid #C9DEF3 !important;
  }

  .faq-accordion table>thead>tr>th, .faq-accordion table>tbody>tr>th, .faq-accordion table>tfoot>tr>th, .faq-accordion table>thead>tr>td, .faq-accordion table>tbody>tr>td, .faq-accordion table>tfoot>tr>td {
      border-top: none !important;
  }
  
  .faq-accordion td:before {
      content: attr(data-label);
      float: left;
      text-transform: capitalize;
      width: 100%;
      font-weight: bold;
      color: #003d7c !important;
      padding-right: 10px !important;
  }
  
  body.search .site-content .ast-search-submit{
    display: none !important;
  }

  body.search .site-content .search-field{
    width: 100% !important;
  }
}

body.search .site-content input.search-submit{
  display: none;
}

body.search .site-content .ast-search-submit{
  padding: 10px 40px;
  background: #2d2d2d;
  color: #fff;
  width: 9%;
}

body.search .site-content .search-field{
  width: 90%;
}

.nus-faculty-logo{
	margin-top: 10px;
}

.ast-below-header-wrap .wp-block-image img{
	padding: 16px 0;
}

.ast-below-header-wrap  .header-widget-area-inner{
	padding: 0;
}

.ast-mobile-header-content .wp-block-image img{
	padding: 16px 0;
}

.ast-mobile-header-content .header-widget-area-inner {
    padding: 0 15px;
}
 
.ast-mobile-header-content  .header-widget-area-inner #nav_menu-3{
	padding: 0 5px;
}

.ast-mobile-header-content  .header-widget-area-inner #nav_menu-3 .widget-title{
	padding-top: 15px;
	margin-bottom: 5px;
}

.ast-mobile-header-content  .header-widget-area-inner #nav_menu-3 .menu a{
	color: #003D7C !important;
  font-size: 14px;
}

.ast-mobile-header-content .header-widget-area{
	background-color: #f9f9f9;
}

.ast-mobile-header-content .ast-header-search{
	background-color: #f9f9f9;
}

.ws-remove-p-margin p{
	margin-bottom: 0;
}

.ws-icon-box svg{
	margin-top: 5px;
}

a.ws-link-box{
	text-decoration: none !important;
}

.nus-sidebar-menu .menu .current_page_item::marker{
	color: #EF7C00 !important;
}

.nus-sidebar-menu .menu .current_page_item > a{
	color: #EF7C00 !important;
	font-weight: 700;
}

.custom-breadcrumbs .item-parent-911, 
.custom-breadcrumbs .item-parent-759{
	pointer-events: none;
}

/* ws-smart-table */
.sixtypercent{
    width: 60%;
}

.fifteenpercent{
    width: 15%;
}

.fivepercent{
    width: 5%;
}

.ws-smart-table th{
  text-align: center; 
  background-color: #e5f0fb;
  color: #003d7c;
}

.ws-smart-table table, .ws-smart-table td, .ws-smart-table th {
    border: 1px solid #C9DEF3;
}

.ws-smart-table.orange table, .ws-smart-table.orange td, .ws-smart-table.orange th {
    border: 1px solid #FACB99;
}

@media only screen and (max-width: 991px) {

    .ws-smart-table thead {
        display: none;
    }
    
    .ws-smart-table tr {
        display: block;
    }
    
    .ws-smart-table td {
        display: block;
    }
    
    .ws-smart-table table {
        border: none !important;
    }
    
    .ws-smart-table tr td:first-child {
        border-top: 1px solid #C9DEF3 !important;
    }
    
    .ws-smart-table.orange tr td:first-child {
        border-top: 1px solid #FACB99 !important;
    }
    
    .ws-smart-table table>thead>tr>th, .ws-smart-table table>tbody>tr>th, .ws-smart-table table>tfoot>tr>th, .ws-smart-table table>thead>tr>td, .ws-smart-table table>tbody>tr>td, .ws-smart-table table>tfoot>tr>td {
        
        border-top: none !important;
    }
  
    .ws-smart-table td:before {
        content: attr(data-label);
        float: left;
        text-transform: capitalize;
        width: 100%;
        font-weight: bold;
        color: #003d7c !important;
        padding-right: 10px !important;
    }
    
    td[rowspan="6"]{
        background-color: #003d7c;
        color: #FFF;
    }
    
    .ws-smart-table td[rowspan="6"]:before {
        color: #FFF !important;
    }
    
    .semester-term{
        font-weight: 700;
        background-color: #e5f0fb;
        color: #003d7c;
    }
    
    tr > td:nth-child(6) {
        margin-bottom: 20px;
    }
}
/* ws-smart-table END */