/*
Theme Name: NUS
Theme URI: http://www.closelycoded.com
Author: Vivi
*/

/*body::before {
    content: "";
    position: absolute;
    background: url(images/people2.png) 50% 0 no-repeat;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: .3;
    pointer-events: none;
    height: 4800px;
}*/
/*-------------------------------------------------------*/
/*                    home                               */
/*-------------------------------------------------------*/
.home-widget {
    padding-top: 100px;
    padding-bottom: 90px;
}
#home-vision-widget .title, .home-research-update h3, .home-seminar h3{
    font-family: 'HelveticaNeue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 21px;
    text-transform: uppercase;
    margin: 17px 0 42px;
}
#home-vision-widget, #about-people {
    font-size: 21px;
    color: #999999;
    line-height: 1.55;
    margin-bottom: 30px;
}
#home-vision-widget p, #about-people p:first-child{
    text-indent: 58px;
    position: relative;
}
#home-vision-widget p::before, #about-people p:first-child::before{
    content: "";
    position: absolute;
    left: -2px;
    top: -6px;
    width: 45px;
    height: 45px;
    background: url(images/sprite.png) no-repeat -99px -250px;
    z-index: 2;
}
#home-about-widget .title, #home-research-widget .title, .home-event .title {
    font-size: 31px;
    font-family: 'HelveticaNeueMedium', 'HelveticaNeue', Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    margin: 14px 0 30px;
    font-weight: bold;
}
#home-about-widget p, #home-research-widget p {
    margin-bottom: 30px;
}
.home-research-update h4 {
    line-height: 1.5;
    margin-top: 0;
}
.home-research-update ul, .home-event ul{list-style: none;padding: 0;margin: 0;  font-size: 0;}
.home-research-update li{
    display: inline-block;
    width: 180px;
    height: 250px;
    border-radius: 6px;
    margin-left: 56px;
    position: relative;
    vertical-align: top;
    overflow: hidden;
}
.home-research-update li:first-child{margin-left: 0;}
.home-research-update li img{
    width: 100%;
    height: auto;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    border-radius: 6px;
    padding: 20px 25px;
    color: #fff;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.home-research-update li a:hover .overlay{
    background: rgba(239,124,0,0.90);
}
.pdf-button{
    display: inline-block;
    width: 34px;
    height: 34px;
    background: url(images/sprite.png) no-repeat -149px -250px;
    text-indent: -999em;
    position: absolute;
    bottom: 20px;
    left: 0;
}
.home-research-update li .pos-relative{
    width: 100%;
    height: 100%;
}
.more{
    text-transform: uppercase;
    font-size: 14px;
}
.home-research-update .more, .home-seminar .more{
    position: absolute;
    right: 0;
    top:0;
}
.more .fa-angle-right{
    font-size: 16px;
    color: #ef7c00;
}
.home-event .overlay, .gradient-overlay {
    background: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
    background: -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
    background: -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,1));
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1));
    border-radius: 0;
}
.home-conference li{position: relative;    margin-bottom: 30px;}
.home-conference li .pos-relative{
    width: 100%;
    height: 100%;
}
.conf-detail {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: #999999;
    font-size: 16px;
    font-family: 'HelveticaNeue';
}
.conf-detail h4 a{color:#fff;}
.conf-detail h4 a:hover{    color: #ef7c00;}
i.icon-date, i.icon-location {
    display: inline-block;
    background: url(images/sprite.png) no-repeat -200px -250px;
    width: 12px;
    height: 12px;
    margin-right: 10px;
}
i.icon-location{
    background-position: -248px -250px;
}
.home-seminar h3 {margin-top: 0;}
.home-seminar li {margin-bottom: 30px;}
.home-seminar li h4{
    color:#333333;
    font-family: 'HelveticaNeue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 1.7;
}
.date-field {
    color: #003d7c;
    font-size: 32px;
    font-family: 'HelveticaNeue', Helvetica, Arial, sans-serif;
    text-align: center;
    line-height: 1;
}
.author {
    color: #999999;
    font-style: italic;
    font-family: 'HelveticaNeue', Helvetica, Arial, sans-serif;
}
.home-event ul{font-size: 16px;}
.about-people-widget {
    height: 522px;
    width: 100%;
}
.about-people-widget img{
    width: auto;
    height: 522px;
}
/*-------------------------------------------------------*/
/*                    contact                            */
/*-------------------------------------------------------*/
.contact-form-box{
    background: #fafafa;
    border: #eeeeee solid 1px;
    padding: 34px 40px;
    margin-top: -77px;
    font-size: 21px;
}
.contact-form-box form {
    margin-top: 26px;
}
.contact-form-box form input[type="submit"]{width: 100%;}
.contact-info-box {
    padding: 17px 25px;
    line-height: 1.5;
}
.contact-info-box h3{
    text-transform: uppercase;
    font-family: 'HelveticaNeueMedium', 'HelveticaNeue', Helvetica, Arial, sans-serif;
    font-size: 21px;
}
.themap{
    padding-top: 15px;
    padding-bottom: 15px;
}
.themap .desctiption .nearest{
    background-color: #F6F6F6;
    padding: 15px;
    margin-bottom: 15px;
}
.themap .desctiption .nearest h3{
    color: #1874A2;
}

/*-------------------------------------------------------*/
/*                    about                            */
/*-------------------------------------------------------*/
.hd-image{width: 100%;height: 360px;overflow: hidden;}
.hd-image img{width: 100%;height: auto;}
.hd-image h3, .hd-image h1, .director-intro h2{
    font-size: 45px;
    font-family: 'HelveticaNeueMedium', 'HelveticaNeue', Helvetica, Arial, sans-serif;
    margin-bottom: 20px;
    text-transform: uppercase;
}
#about_feat_images li{display: block;}
#about_feat_images li img{width: 100%;height: auto;    margin-bottom: 1px;}
.page-template-about .page-title {line-height: 1;}
#about-intro {
    top: 155px;
    width: 100%;
    font-size: 21px;
    font-family: 'HelveticaNeue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
}
.page-template-about .hd-image{height: 530px;}
 .about-image-people-widget {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.about-image-people-widget p{margin-bottom: 0;}
.about-image-people-widget img{
    width: 100%;
}
#about-people{
    top: 134px;
    width: 100%;
}
#about-people p:first-child{
    text-indent: 78px;
}
#about-people p:first-child::before {
    background: url(images/quote-large.png) no-repeat;
    width: 48px;
    height: 40px;
    top: -16px;
    left: 0;
}
.about-people-widget-box{padding: 0 8px;}
.donor-box {
    padding-top: 90px; 
    padding-bottom: 90px; 
    font-size: 21px; 
}
ul.donors{
    margin-top: 40px;
    list-style: none;
    padding-left: 0;
    overflow: hidden;
}
.donors li{margin-bottom: 40px;}
.donors img {width: 100%;}
/*-------------------------------------------------------*/
/*                    about director                     */
/*-------------------------------------------------------*/
.page-template-about-director .hd-image {
    height: auto;
}
.page-template-about-director #about-intro {
    top: 45%;
}
.page-template-about-director .hd-image h1, .director-intro h2{font-size: 31px;  margin-top: 0;}
.page-template-about-director .hd-image p{color:#999999;font-size: 21px;text-transform: uppercase;}
.director-intro {font-size: 21px;}
.director-content table td{
    background: none;
    padding: 0 15px;
    width: 50%;
    vertical-align: top;
    border:none;
}
.director-content table{border:none;}
.director-content {margin-top: 60px;}
.content-box.about-director {
    padding-top: 60px;
}
/*-------------------------------------------------------*/
/*                       conference                      */
/*-------------------------------------------------------*/
.home-conference li img{width: 100%;height: auto;  border-radius: 6px;}
form input[type=number] {
    height: 36px;
    line-height: 36px;
    font-size: 16px;
    padding: 0 15px;
    border-radius: 5px;
}
form input[type=number]::-webkit-inner-spin-button { 
    -webkit-appearance: none;
    cursor:pointer;
    display:block;
    width:8px;
    color: #333;
    text-align:center;
    position:relative;
}
form input[type=number]{background: url(images/arrow.png) no-repeat 95% center;}
form input[type=number]:hover::-webkit-inner-spin-button {  
    width: 20px;
    height: 20px;
    padding: 4px;
    position: relative;
    right: 0;
}
#conference hr{
    margin-top: 0;
    margin-bottom: 30px;
}
.border-radius{
    border-radius: 5px;
}
form .filter-form select, form .filter-form input[type='number']{
    font-size: 12px;
    text-transform: uppercase;
    font-family: 'HelveticaNeueLight';
}
.home-conference li:hover, .home-conference li:hover a, .home-conference li:hover .conf-detail{
    color:#fff;
}
.filter-form .filter-action {
    display: none;
}
/*-------------------------------------------------------*/
/*                       event                           */
/*-------------------------------------------------------*/
#event hr{
    margin-top: 10px;
    margin-bottom: 30px;
}
.date-box{
    color: #003d7c;
}
.event-box{border-left: #eee solid 1px;padding-left: 30px;}
.event-box h4 a{    color: #333333;}
.event-box h4 a:hover{    color: #ef7c00;}
/*-------------------------------------------------------*/
/*                       event  details                   */
/*-------------------------------------------------------*/
#event-detail h4{
    color:#333;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
}
.description-box img{width: auto;height: auto;max-width: 100%;}
/*-------------------------------------------------------*/
/*                       research cluster                */
/*-------------------------------------------------------*/
.page-template-research-cluster #content{padding-bottom: 0;}
#research-cluster ol{ 
    margin-left: 95px;
    margin-top: 70px;
    list-style-position: inside;
    margin-right: 95px;
    padding-right: 40px;
}
#research-cluster ol li{
    padding: 25px 30px;
    background: #fafafa;
    font-size: 51px;
    font-family: 'HelveticaNeueMedium';
    position: relative;
    line-height: 34px;
    margin-bottom: 40px;
}
#research-cluster ol li::before{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    background: #fafafa;
    top: 54px;
    left: 66px;
}
#research-cluster ol li h3{
    font-size: 21px;
    margin: 0 0 10px;
}
#research-cluster ol li ol{
    margin-left: 64px;
    padding-left: 0;
    margin-top: 0;
}
#research-cluster ol li ol li{
    font-size: 16px;
    padding: 0;
    color:#666666;
    font-family: 'HelveticaNeueLight';
    margin: 0;
}
#research-cluster ol li ol {list-style: none; counter-reset: chapter 1;}
#research-cluster ol li ol li+li {counter-increment: chapter 1; list-style: none;}
#research-cluster ol li ol li:nth-of-type(1){}
#research-cluster ol li ol li:before {
    content: "a" counter(chapter) ".";
    color: #666;
    top: 0;
    left: 0;
    position: relative;
    text-transform: uppercase;
    margin-right: 10px;
}
#research-cluster ol li:nth-child(2) ol li:before{content: "b" counter(chapter) ".";}
#research-cluster ol li:nth-child(3) ol li:before{content: "c" counter(chapter) ".";}
#research-cluster ol li:nth-child(4) ol li:before{content: "d" counter(chapter) ".";}
#research-cluster ol li:nth-child(5) ol li:before{content: "e" counter(chapter) ".";}
#research-cluster ol li:nth-child(6) ol li:before{content: "f" counter(chapter) ".";}
#research-cluster ol li:nth-child(7) ol li:before{content: "g" counter(chapter) ".";}
#research-cluster ol li:nth-child(8) ol li:before{content: "h" counter(chapter) ".";}
#research-cluster ol li:nth-child(9) ol li:before{content: "i" counter(chapter) ".";}
#research-cluster ol li:nth-child(10) ol li:before{content: "j" counter(chapter) ".";}
.list-research {
    border-top: #eee solid 1px;
    border-bottom: #eee solid 1px;
    margin-bottom: 0;
}
.res-button-wrap{
    background: #fafafa;
    height: 318px;
}
.res-button-wrap.dark-grey{
    background: #eee;
}
.res-button {
    text-align: center;
    padding: 98px 0;
}
.res-button h3{
    font-size: 21px;
    font-family: 'HelveticaNeueMedium';
    text-transform: uppercase;
    line-height: 1.5;
}
/*-------------------------------------------------------*/
/*                       research update                 */
/*-------------------------------------------------------*/
#research-updates hr {
    margin-top: 10px;
    margin-bottom: 40px;
}
.filter-form a{
    display: inline-block;
    color: #999999;
    font-size: 12px;
    padding: 8px 15px;
    border-left: #eeeeee solid 1px;
    border-radius: 3px;
}
.filter-form a.active{
    background: #003d7c;
    color:#fff;
}
.filter-form a:hover{
    background: #ee7c00;
    color:#fff;
}
.filter-form a:first-child{border:none;}
.research-item {margin-bottom: 30px;}
.research-item .pdf-button{
    right: 20px;
    bottom: 30px;
    left: inherit;
}
.research-item .research-title{
    position: absolute;
    bottom: 20px;
    width: 80%;
}

.research-item .research-title h4 {
    line-height: 1.6;
}
.research-item .pos-relative{
    min-height: 405px;
    height: 100%;
}
li.research-item a:hover .gradient-overlay, li.conference-item a:hover .gradient-overlay {
    background: rgba(239,124,0,0.90);
}
li.research-item img{width: 100%;height: auto;}
/*-------------------------------------------------------*/
/*                       research publications           */
/*-------------------------------------------------------*/
#res-ol{overflow: hidden;}
.publication-item{
    font-size: 21px;
    position: relative;
    margin-bottom: 15px;
    padding-left: 60px;
    padding-bottom: 10px;
}
.publication-item::after{
    content: "";
    background: #eee;
    width: 110%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: -40px;
}
/*-------------------------------------------------------*/
/*                       people                          */
/*-------------------------------------------------------*/
.tax-people_category #content{padding-bottom: 0;}
.category-people {margin-bottom: 50px;}
#people.content-box {
    padding-top: 100px;
}
#people h3.text-medium {
    margin-top: -10px;
    font-size: 28px;
    line-height: 1.5;
}
.people-item{
    font-size: 12px;
    margin-bottom: 58px;
    display: inline-block;
    float: none;
    vertical-align: top;
}
.people-item h3{
    font-size: 28px;
    margin-top: -12px;
    line-height: 1.6;
}
.people-img{
    max-width: 180px;
    max-height: 180px;
    overflow: hidden;
    display: inline-block;
}
.people-img img{
    width: 100%;
    height: auto;
}
.people-item h4{
    font-size: 16px;
    margin-top: 21px;
    font-family: 'HelveticaNeueMedium';
    margin-bottom: 5px;
}
.position-name{
    color:#999999;
    font-size: 15px;
    line-height: 1.4;
}
.position-name p{margin-bottom: 0;}
.people-email{  margin-top: 32px;}
.people-email a{font-style: italic;}
#join-us-widget h3{font-family: 'HelveticaNeueMedium';font-size: 31px;}
.people-expertise p{
    color: #999999;
    font-size: 14px;
}
.people-expertise label{margin-bottom: 0;}
.people-expertise {
    margin-top: 5px;
}
/*-------------------------------------------------------*/
/*                       people detail                   */
/*-------------------------------------------------------*/
#people-detail.content-box{padding-top: 100px;}
.people-image {
    width: 100%;
    height: 360px;
    overflow: hidden;
}
.people-image img{width: 100%;height: auto;}
#people-detail .page-title {
    margin-top: 95px;
    margin-bottom: 27px;
}
#people-detail .position-name{margin-bottom: 35px;}
.people-intro{  margin-bottom: 88px;}
.content_spec_wrapper h3{
    font-size: 31px;
    font-family: 'HelveticaNeueMedium';
    text-transform: uppercase;
    margin-bottom: 18px;
}
.content_spec table td{background: none;vertical-align: top;width: 33.3333%;}
.content_spec table td:first-child{}
.content_spec table{margin-left: -20px;margin-right: -20px;  border: none;}
/*-------------------------------------------------------*/
/*                       join us                         */
/*-------------------------------------------------------*/
.join-desc .slide_content {
    word-wrap: break-word;
}

.slide_content h4{
    color:#333333;
    font-size: 21px;
    font-family: 'HelveticaNeueMedium';
    text-transform: uppercase;
}
.slide_content table{
    border: none;
    margin: 10px -20px 20px;
    width: auto !important;
}
.slide_content table td{
    border-bottom: none;
    background: none;
    width: 50% !important;
}
.slide_content ol{
    margin: 20px 0;
}
.content-box.note-box{padding-bottom: 0;padding-top: 50px;}