/**
Theme Name: NUS Websparks
Author: Websparks
Author URI: http://www.websparks.sg/
Description: NUS Websparks is a customized theme. It is designed for NUS project only.
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nus-astra
Template: astra
*/

/********* Custom Style *********/

.site-content>.ast-container {
    max-width: 100%;
    padding: 0;
}

.nus-social-box .social-icons {
	text-align: center;
    margin-top: 10px;
}

.ast-page-builder-template .entry-header {
  padding: 0px;
}

#primary {
	margin: 0px;
}

.site-branding .nus-site-logo-link {
  padding-right: 20px;
  border-right: 1px solid #dfdfdf;
}

.ast-site-identity img {
  max-height: 60px;
}

@media only screen and (max-width: 920px) {
  .ast-site-identity img {
    max-height: 30px;
  }
}

.nus-footer .nus-social-box .module-ct {
  width: 181px;
}

.nus-search-box{ display:block !important; }

.nus-astra .site-logo-img img {
  padding-top: 0px;
}

.ast-404-layout-1 .page-header h1.page-title{
  text-align: center !important;
}

body,button,input,select,textarea, .fl-rich-text{
	text-align: justify;
}

.table {
  margin-bottom: 0px;
}

.nomargin{margin:0px !important;}
.dark-blue-font,
.dark-blue-font *{
	color:#003061;
}

.whitetext{
	color:#fff;
}
.home-post .fl-post-grid-title{
	font-size:18px;
	padding:20px 22px 0px 22px;
}
.home-post .fl-post-grid-title a{
	color:#003061;
}
.home-post .fl-post-grid-content{
	padding:0px 22px;
	color:#000;
}
.home-post .fl-post-grid-more{
	color:#f27b0c;
	font-size:14px;
	text-transform:uppercase;
	padding-bottom:27px;
	position:relative;
	padding-right:20px;
}
.home-post .fl-post-grid-more:after{
	content:"\f054";
	font-family:"FontAwesome";
	font-size:7px;
	line-height:7px;
	position:absolute;
	top:8px;
	right:9px;
}

.floating-caption .vc_figure{
	position:relative;
}
.floating-caption .fl-photo-content,
.floating-caption .vc_single_image-wrapper{
	overflow:hidden;
}
.floating-caption .fl-photo-content img,
.floating-caption .vc_single_image-wrapper img{
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}
.floating-caption .fl-photo-content:hover img,
.floating-caption .vc_single_image-wrapper:hover img{
	opacity:0.9;
    -webkit-transform: scale(1.12);
    transform: scale(1.12);
}
.floating-caption .fl-photo-caption-below,
.floating-caption .vc_figure-caption{
	position:absolute;
	right:-15px;
	top:30px;
	background-color:#f27b0c;
	color:#fff;
	padding:23px 56px;
	font-size:14px;
	font-weight:300;
	font-family:"Roboto", Arial;
	letter-spacing:1px;
	text-transform:uppercase;
	line-height:100%;
}

.page-template-template-clinical-trial .nus-bg-header{
	background-color:#00244c;
	background-position:center;
	background-repeat: no-repeat;
	background-size:cover;
}
.page-template-template-clinical-trial .nus-title{
	font-size:50px;
	line-height:100%;
	color:#fff;
	font-family:"Raleway", Arial;
	font-weight:700;
	width:520px;
	margin-bottom:24px;
}
.page-template-template-clinical-trial .nus-subtitle{
	font-size:19px;
	line-height:1.3em;
	color:#fff;
	font-family:"Roboto", Arial;
	width:520px;
	margin-bottom:36px;
}

#nus-ct-first,
#nus-ct-second{
	display:none;
}

.nus-ct-dct{
	position:relative;
	margin-bottom:32px;
}
.nus-ct-chosen{
	display:block;
	position:relative;
	font-size: 18px;
	font-weight:400;
	color:#fff;
	border-bottom:2px dotted #fff;
	padding-bottom:6px;
	width: 360px;
	text-decoration: none;
}

.nus-ct-chose:link,
.nus-ct-chosen:hover,
.nus-ct-chose:visited,
.nus-ct-chose:active{
	color:#fff !important;
	text-decoration: none;
}

.nus-ct-chosen:after{
	content:"";
	display:block;
	position:absolute;
	top:9px;
	right:10px;
	width: 0;
  	height: 0;
  	border-left: 5px solid transparent;
  	border-right: 5px solid transparent;
  	border-top: 8px solid #d67409;
}

.nus-ct-dropdown{
	display:none;
	padding:0px;
	margin:0px;
	list-style-type: none;
	width: 360px;
}

.nus-ct-dropdown li{
	font-size: 18px;
	font-weight:400;
	color:#fff;
	border-bottom:2px dotted #fff;
	padding-top:4px;
	padding-bottom:6px;
	width: 360px;
}
.nus-ct-dropdown li a{
	color:#fff;
	text-decoration: none;
}

.nus-ct-dropdown li a:hover,
.nus-ct-dropdown li a.selected{
	color:#d67409;
	text-decoration: none;
}

#nus-ct-submit{
	background-color:#d67409;
	color:#fff;
	border-radius:0px;
	-moz-border-radius:0px;
	-webkit-border-radius:0px;
	border:0px;
	font-size:14px;
	line-height:1em;
	padding:15px 44px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.nus-ct:nth-child(3n+1){
	clear:both;
}

.nus-ct-block{
	background-color:#fff;
	padding:0px 0px 20px;
}

.nus-ct-block .fl-post-thumb{
	margin-bottom:0px;
}

.nus-ct-block .fl-post-header{
	padding:25px 20px 0;
	margin-bottom:10px;
}

.nus-ct-block .fl-post-title{
	font-size:18px;
	line-height:1.3em;
}
.nus-ct-block .fl-post-title a,
.nus-ct-block .fl-post-title a:visited{
	color:#003061;
}

.nus-ct-block .fl-post-content{
	padding:0px 20px;
	color:#000;
	font-size:14px;
	line-height:1.3em;
}

.nus-ct-block .fl-post-more-link{
	padding-top:10px;
	color:#f27b0c;
	text-transform: uppercase;
	position:relative;
	padding-right:20px;
}
.nus-ct-block .fl-post-more-link:after{
	content:"\f054";
	font-family:"FontAwesome";
	font-size:7px;
	line-height:7px;
	position:absolute;
	bottom:4px;
	right:9px;
}
.page-numbers{
	clear:both;
	list-style-type:none;
	margin:0px;
	padding:0px;
	text-align:center;
}
.page-numbers li{
	list-style-type:none;
	display:inline-block;
}
.page-numbers li span,
.page-numbers li a{
	display:inline-block;
	padding:6px 3px;
	line-height:1em;
	width:30px;
	font-size:12px;
	font-weight:bold;
	border:1px solid #e0e0e0;
	background-color:#fff;
	color:#717171;
	text-align:center;
	border-radius:2px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
}
.page-numbers li span,
.page-numbers li a:hover{
	background-color:#f27b0c;
	color:#fff;
	text-decoration:none;
}

.gfield_radio input[type=text]{
	display:inline-block;
}

.fl-content.remove_title{
	margin-top:0px !important;
}

.vc_icon_element.vc_icon_element-outer.icon-no-w-h .vc_icon_element-inner{
	width:auto;
	height:auto;
}
.vc_icon_element.vc_icon_element-outer.icon-no-w-h .vc_icon_element-inner .vc_icon_element-icon{
	position:static;
	left:auto;
	top:auto;
	transform:none;
	-webkit-transform:none;
}
.home-post-grid .vc_gitem-post-data-source-post_title *{
	font-size:18px;
	font-weight:400;
	font-family:"Roboto", Arial;
	color:#003067;
}
.home-post-grid .vc_gitem-post-data-source-post_excerpt *{
	font-family:"Roboto", Arial;
	color:#000;
}
.home-post-grid .vc_gitem-zone{
	background-color:#fff !important;
}
.home-post-grid .vc_gitem_row .vc_gitem-col{
	padding:10px 20px;
}
.home-post-grid .vc_gitem-link{
	background-color:transparent !important;
	color:#f27b0c !important;
	text-transform:uppercase;
	border:0px;
	padding:0px 20px 0 0;
	margin:0px;
	position:relative;
}
.home-post-grid .vc_gitem-link:hover{
	border:0px;
}
.home-post-grid .vc_gitem-link:after{
	content:"\f054";
	font-family:"FontAwesome";
	font-size:7px;
	line-height:7px;
	position:absolute;
	bottom:4px;
	right:9px;
}


/*------- Custom NUS STYLES ----------*/

.fl-row-fixed-width {
    max-width: 1240px;
}

.fl-row {
    margin-left: auto;
    margin-right: auto;
}


select {
  width: 100%;
}

.orange-underline h3 > span::after {
    content: "";
    display: block;
    height: 3px;
    width: 35px;
    background: #ef7c00;
    position: relative;
    margin: 15px 0px;
}

h1, h2, h3, h4, h5, h6 {
    clear: inherit;
    text-align: left;
}

.home-highlights div.fl-rich-text, .home-highlights div.fl-rich-text h4, .home-highlights div.fl-rich-text h4 a {
	color: white;
}

.home-highlights div.fl-rich-text > p {
	margin-bottom: 0px;
}

.home-upcoming-event > div{
	margin-bottom: 40px;
  display: flow-root;
}

.home-upcoming-event  .event-block {
		height: 100%
}

.home-upcoming-event .event-date {
    width: 15%;
    height: 100%;
    float: left;
    min-width: 40px;
    max-width: 50px;
}


@media (max-width: 768px){
  .home-upcoming-event .event-date {
      width: 8%;
  }
}

.home-upcoming-event .event-date h4, .home-upcoming-event .event-date h6 {
	text-align: center;
	background-color: #0F2F5E;
	color: white;
	font-weight: 600;
  margin-bottom: 0px
}

.home-upcoming-event .event-date h4 {
  font-size: 26px;
  padding-top: 10px;
  line-height: 26px;
}

.home-upcoming-event .event-date h6 {
  font-weight: normal;
  padding-bottom: 10px;
  text-transform: uppercase;
}

.home-upcoming-event .event-desc {
	height: 100%;
	width: 81%;
	padding: 0px 10px 10px 10px;
	float: left;
}

.home-upcoming-event .event-desc .event-cat, .publication-info .publication-cat {
  color: #595858;
  text-align: left;
}

.home-upcoming-event .event-title h4, .home-upcoming-event .event-title h5 {
	color: #0F2F5E;
  line-height: 23px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  margin-bottom: 0px;
}

.home-upcoming-event .event-info {
	color: #595858;
  line-height: 18px;
  font-size: 13px;
}

.home-upcoming-event .event-info .event-venue, .home-upcoming-event .event-info .event-venue p {
	margin-bottom: 0px;
  line-height: 18px;
  font-size: 13px;
}

.research-area-block > .fl-module-content, .research-area-block > .fl-module-content > .fl-html, .research-area-block > .fl-module-content > .fl-html > a  {
  height: 100%;
  display: block;
}

.research-area-block > .fl-module-content > .fl-html > a > div.heading {
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 2px;
}

.research-area-block > .fl-module-content > .fl-html > a > div.heading > h4 {
  margin: 40px 15px;
  color: white;
  text-align: center;
}

.table-borderless td, .table-borderless {
	border: 0px solid transparent;
}

.table-people-info td, .table-news-info td {
	padding: 5px;
}

.title-container {
	background-color: #003d7c;
	display: flow-root;
  margin-bottom: 20px;
}

.title-container > div {
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
}

.title-container h3, .title-container h1 {
	margin: 15px 20px;
	color: white;
}

.news-widget-container {
  margin-bottom: 20px !important;
  display: flex;
}

.news-widget-container img {
  width: 100%;
  height: auto;
}

.people-widget-container {
  margin-bottom: 0px !important;
  display: flex;
}

a.blue-button, input.blue-button {
	background-color: #003d7c;
	color: white !important;
	padding: 10px 10px;
  text-align: center;
  margin-right: 10px;
  display: inline-block;
  margin-bottom: 10px;
}

a.blue-button i {
	padding: 0px 10px 0px 0px;
}

.fl-accordion-button {
    font-size: 18px;
    background-color: #e5e5e5;
}

.fl-accordion-content{
  padding-top: 10px !important;
}

#cluster-projs .fl-tabs-label.fl-tab-active {
	background-color: #e5e5e5;
	border: 1px solid #e5e5e5;
	font-weight: 600;
	color: black;
}

#cluster-projs .fl-tabs-label {
	border: 1px solid #e5e5e5;
	border-bottom: 0px solid transparent;
	background-color: #999999;
	color: white;
	font-weight: 600;
}

#cluster-projs h4 {
	color: #033aa3;
	font-weight: 600;
}

#cluster-projs h6 {
	margin-bottom: 0px;
	color: #033aa3;
	font-weight: 600;
}

#cluster-projs .fl-tabs-panel-content .project-block {
	padding: 20px;
}

#cluster-projs .fl-tabs-panel-content .project-block:nth-child(odd) {
	background-color: #f5f5f5;
}

#cluster-projs .fl-tabs-panel-content {
	padding: 0px;
}

.past-cluster .fl-tabs-label.fl-tab-active {
  background-color: #ef7c00;
	font-weight: 600;
	color: white;
}

.past-cluster .fl-tabs-label {
	border: 1px solid #e5e5e5;
	border-bottom: 0px solid transparent;
	background-color: #999999;
	color: white;
	font-weight: 600;
  margin-right: 10px;
}

p.articlesubtitle {
	color: #005b9c;
	font-weight: bold;
	font-size: 15px;
}

table td > p {
  margin-bottom: 0px !important;
}

table.table-member th {
	background-color: #555555;
	color: white;
}

table.table-member th, table.table-member td, table.table-member tr, .borderless td, .borderless th, table.borderless {
	border: 0px solid transparent !important;
}

div.fl-html input {
	width: 100%;
}

div.nus-blue-header {
	background-color: #003d7c;
}

div.nus-blue-header h3 {
	margin: 15px 20px;
	color: white;
}

.people-list .fl-row {
  margin-bottom: 60px;
}

.people-list .people-block {
  width: 100%;
}

.people-list i.fafa-phone{
  margin-right: 5px;
}

.people-list  .people-pic {
  position: relative;
  float: left;
  width: 100px;
  overflow: hidden;
}

.people-list  .people-info {
  position: relative;
  float: left;
  width: 50%;
  margin-left: 10px;
  text-align: left;
}

.people-info.max-width {
    width: 97%;
    margin-left: 0px;
}

.people-list .people-info a {
  color: #003d7c;
}

.page-buttons{
  margin: 0px auto;
  display: table;
}

.page-buttons ul li.page-item.current-pagination-item a {
  background-color: #003D7C;
  color: white !important;
}

.pagination {
  margin: 0px;
}

.workingpaper-block {
    border: 1px solid #eaeaea;
    border-left: 7px solid #E08130;
    margin-bottom: 20px
}

.workingpaper-block > h5, .workingpaper-block > h6 {
    margin: 10px 20px;
}

.home-books .fl-row {
  margin-bottom: 40px;
}

.recent-publication-block ul {
  margin-left: 20px;
}

.recent-publication-block li {
  margin-bottom: 20px;
  text-align: left;
}

.recent-publication-block li a span {
  color: #003d7c;
  margin-bottom: 10px;
}

.publication-homebook-list .fl-col .publication-block{
  width: 100%;
}

.publication-homebook-list .publication-info a h5{
  color: #003d7c;
  text-align: left;
  margin-bottom: 0px;
  font-weight: 600;
}

.publication-homebook-list .publication-info span.pub-desc {
  font-size: 13px;
}


.publication-homebook-list .publication-block .publication-pic {
  width: 100px;
  float: left;
}

.publication-list .fl-col {
  height: 220px;
}

.publication-list .publication-block {
  text-align: left;
}

.publication-list .publication-info a strong{
  color: #003d7c;
  text-align: left;
}

.publication-list .publication-info span.pub-desc {
  font-size: 13px;
}

.publication-list .publication-block .publication-pic {
  width: 100px;
  height: 180px;
  float: left;
}

.publication-pic .publication-inner-pic img {
  height: auto;
  box-shadow: -7px -7px 0px #ebebeb;
}

.publication-heading .fl-heading {
  background-color: #003d7c;
  color: white;
}

.publication-heading .fl-heading span {
  padding-left: 10px;
}

table.table-member-striped {
  margin-bottom: 20px;
}

table.table-member-striped th{
  background-color: #555555;
  border: 1px solid #555555;
  color: white;
}

table.table-member-striped tr:nth-child(even) {
  background-color: #0000001a;
}

table.table-member-striped tr {

}

.media-year-heading .fl-module-content {
    background-color: #003d7c;
}

.media-year-heading .fl-heading {
    margin: 5px 10px !important;
}

.media-year-heading .fl-heading span {
    color: white;
}

.photo-block h4, .photo-block h6 {
  background-color: #003d7c;
  color: white;
  text-align: center;
  padding: 5px 10px;
  margin-bottom: 0px;
}

.photo-block .row > div {
  margin-bottom: 30px;
}

.student-block .row-profile {
  margin-bottom: 20px;
}

.student-img {
  float: left;
  width: 13%;
  margin-right: 20px;
}

@media (min-width: 920px){
  .student-desc {
    float: left;
    width: 84%;
  }
  
  .publication-pic .publication-inner-pic {
  margin-right: 10px;
  }

  
}

.media-list {
  margin-bottom: 20px;
}

.album-row {
  margin-bottom: 20px;
}

@media (max-width: 920px){
  .student-img {
    width: 20%;
  }
}

@media (max-width:768px){



  .row {
    display: inline;
  }

  .student-img {
    width: 30%;
    margin-bottom: 8px;
  }

  .page-link {
    padding-left: 8px;
    padding-right: 8px;
  }

  .people-list .fl-row {
    margin-bottom: 0px;
  }

  .people-list .fl-row .fl-col {
    margin-bottom: 40px;
  }

}

@media only screen and (max-width: 920px) {
	.ast-header-break-point .main-header-bar .main-header-bar-navigation{
		overflow-y:scroll;
	}
}