@font-face {
  font-family: "Helvetica-W01-Roman";
  src: url("/wp-content/themes/nanfung/inc/assets/fonts/4021a3b9-f782-438b-aeb4-c008109a8b64.woff") format("woff");
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: local('Raleway'), local('Raleway-Regular'), url("/wp-content/themes/nanfung/inc/assets/fonts/1Ptug8zYS_SKggPNyC0ITw.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Helvetica-W01-Light";
  src: url("/wp-content/themes/nanfung/inc/assets/fonts/03805817-4611-4dbc-8c65-0f73031c3973.woff") format("woff");
}

@font-face {
  font-family: "Helvetica-W01-Bold";
  src: url("/wp-content/themes/nanfung/inc/assets/fonts/c5749443-93da-4592-b794-42f28d62ef72.woff") format("woff");
}


@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src:url('/wp-content/themes/nanfung/inc/assets/fonts/opensans-regular-webfont.woff') format('woff');
}



#primary.content-area{
  margin: 0px;
  padding: 0px;
}


.navbar-brand{
	width:260px;
}

header#masthead{
	background-color:#FFF;
  box-shadow:none;
}

/* body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover, body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a{

	color:#FF6B00 !important;
  text-align: center;
  line-height: 30px;
  font: normal normal normal 14px/1.4em helvetica-w01-roman,helvetica-w02-roman,helvetica-lt-w10-roman,sans-serif;
  transition: 0.4s;
} */

body:not(.theme-preset-active) #masthead .navbar-nav > li > a, body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
    color: #0F4C85;
    text-align: center;
    line-height: 30px;
    font: normal normal normal 14px/1.4em helvetica-w01-roman,helvetica-w02-roman,helvetica-lt-w10-roman,sans-serif;
    transition: 0.4s;
    padding:1rem;
    font-size: 16px;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover {
  color:#FF6B00 !important;
  font-weight: normal !important;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item.active > a {
  color:#FF6B00 !important;
  font-weight: normal !important;
}

#page-sub-header{
  display: none;
}

#content.site-content {
  /* padding-bottom: 3.75rem; */
  /* padding-top: 4.125rem; */
  padding: 0;
}



.bgimg-1, .bgimg-2, .bgimg-3 {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bgimg-1 {
  /* background-image: url("/wp-content/themes/nanfung/images/themills.jpg"); */
  background-color: #0f2c52;
  min-height: 100vh;
  background-position: top;
}

@media screen and (max-width: 992px) {
  .bgimg-1 {
    background-position: center;
  }
}


.bgimg-2 {
  background-image: url("/wp-content/themes/nanfung/images/lab.jpg");
  min-height: 100%;
}

.bgimg-3 {
  background-image: url("/wp-content/themes/nanfung/images/contact.jpg");
  min-height: 100%;
}

.caption {
  /* position: absolute;
  left: 0;
  top: 50%; */
  width: 100%;
  text-align: center;
  color: #000;
}

.caption span.border {
  background-color: #111;
  color: #fff;
  padding: 18px;
  font-size: 25px;
  letter-spacing: 10px;
}

h3 {
  letter-spacing: 5px;
  text-transform: uppercase;
  font: 20px "Lato", sans-serif;
  color: #111;
}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1024px) {
  .bgimg-1, .bgimg-2, .bgimg-3 {
    background-attachment: scroll;
  }
}

body, html {
  height: 100%;
}


.section_aboutUs{
  color: #777;background-color:#0f2c52;text-align:center;padding:6rem 20%;text-align: left;
}

.contentBox_aboutUs{
  max-width:825px;margin-left: auto;margin-right: auto;
}

.contentSectionHeading{
  color:#FF6B00;
  font-size:26px;
  font-family: helvetica-w01-bold,helvetica-w02-bold,helvetica-lt-w10-bold,sans-serif;
  font-weight: normal;
}

h2.contentSectionHeading.portfolio-heading{
  color: #0f2c52;
  font-size: 20px;
  line-height: 1.3em;
  font-family: helvetica-w01-bold,helvetica-w02-bold,helvetica-lt-w10-bold,sans-serif;
  letter-spacing: normal;
  font-weight: 400;
  text-transform:capitalize;
}

h2.contentSectionHeading.portfolio-heading a {
    color: #0f2c52;
    font-size: 20px;
    line-height: 1.3em;
    font-family: helvetica-w01-bold,helvetica-w02-bold,helvetica-lt-w10-bold,sans-serif;
    letter-spacing: normal;
    font-weight: 400;
    text-transform: capitalize;
}

div.por-info a{
  font-size: 17px;
    line-height: 1.3em;
    color: #00305B;
    font-weight: 100;
    font-family: helvetica-w01-light,helvetica-w02-light,sans-serif;
}

.aboutUsContent{
  color:#FFFFFF;
  line-height: 1.3em;
  /* font: normal normal normal 20px/1.4em 'open sans',sans-serif; */
  font-size: 17px;
  font-family: helvetica-w01-light,helvetica-w02-light,sans-serif;
}


.section_WhatWeDo{
  background-color: #f2f2f2;
}

.whatWeDoContent{
  color: #0f2c52;
  font-size: 17px;
  line-height: 1.3em;
  font-family: helvetica-w01-light,helvetica-w02-light,sans-serif;
  letter-spacing: normal;
  font-weight: 200;
}

.whatWeDoContainer{
  margin-right: 45%;
  margin-left: 60px;

}



.section_Team{
  background-color: #f2f2f2;
}

.ceoInfo{
  width: 230px;
  margin: auto;
  text-align: center;
}

.ceoInfoContent{
  font-size:16px;
  line-height:1.3em;
  text-align:center;
  font-family:helvetica-w01-roman,helvetica-w02-roman,helvetica-lt-w10-roman,sans-serif;
  letter-spacing:0.02em;
  margin-bottom: 15px !important;
}

.ceoUnderLine{
  box-sizing: border-box;
  /* border-top: 1px solid rgba(131, 183, 230, 0.65); */
  /* margin-top: 18px; */
  margin-bottom: 10px;
}

.teamHeading{
  font-size:30px;
  line-height:1.2em;
  letter-spacing:0em;
  color:#FF6B00;
}

.spanFamily{
  font-family:helvetica-w01-light,helvetica-w02-light,sans-serif;
}

.pContent{
  font-size: 17px;
  line-height: 1.3em;
  color: #00305B;
  font-weight: 100;
}


.contactLayer{
  width: 100%;
  height: 762px;
  background-color:rgba(15, 76, 133, 0.8);
}


.contactUsHeading{
  font-size:26px;
  line-height:1.1em;
  color:#FFF;
  font-family:helvetica-w01-bold,helvetica-w02-bold,helvetica-lt-w10-bold,sans-serif;
  letter-spacing:0em;
  font-weight: normal;
}

.nfColor{
  color:#FF6B00;
}

.contactUsSubHeading{
  font-size:18px;
  color:#FFF;
  font-family:helvetica-w01-bold,helvetica-w02-bold,helvetica-lt-w10-bold,sans-serif;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.contactUsAddress{
  color:#FFF;
  font-family: helvetica-w01-light,helvetica-w02-light,sans-serif;
  font-size: 17px;
  line-height: 1.3em;
}


@media (min-width: 768px){
  .whatWeDoImg {
     height:400px;
  }
  .whatWeDoContainer{
    margin-right: 80px;
  }
}

@media (min-width: 576px){
  .whatWeDoImg {
     height:400px;
  }
  .whatWeDoContainer{
    margin-right: 80px;
  }
}

@media (min-width: 992px){
  .whatWeDoContainer{
    margin-right: 30%;
    margin-left: 60px;
  }
  .whatWeDoImg{
    height: 618px;
  }
}



.row{
  margin-right:0px;
  margin-left: 0px;
}


label.contactFormLabel{
  width: 100%;
}

div.wpcf7 .ajax-loader{
  margin: 0;
}


input.wpcf7-form-control.wpcf7-submit.btn.btn-primary{
  background-color: rgba(255, 107, 0, 1);
  color: #FFF;
  border: #FF6B00;
  padding-left: 30px;
  padding-right: 30px;
}

textarea:hover,input:hover{
  background-color: #FF6B00;
}




.form-control::-webkit-input-placeholder { color: #00305B; }  /* WebKit, Blink, Edge */
.form-control:-moz-placeholder { color: #00305B; }  /* Mozilla Firefox 4 to 18 */
.form-control::-moz-placeholder { color: #00305B; }  /* Mozilla Firefox 19+ */
.form-control:-ms-input-placeholder { color: #00305B; }  /* Internet Explorer 10-11 */
.form-control::-ms-input-placeholder { color: #00305B; }  /* Microsoft Edge */


div.wpcf7-validation-errors, div.wpcf7-acceptance-missing{
  color:#FFF;
}

.scroll2Top{
  cursor: pointer;
  color: #0f2c52;
}

.scroll2Top:hover{
  color:#FF6B00 !important;
  text-decoration: none;
}

.mob div.bgimg-2{
  height: 360px !important;
}

.mob div#Team .col-md-12{
  /* margin-top: 40px; */
}

.mob div.whatWeDoContainer{
  margin: 20px 35px;
}

.mob div.section_aboutUs{
  padding: 20px 20px;
}


.mob #AboutUs{
  line-height: 1em;
  font: normal normal normal 18px/1.4em 'open sans',sans-serif;
  padding: 50px 50px;
}

#copyright{
  color: #00305B;
}


.caption-align{
  width:500px;
  text-align:left;
  margin: auto;
}

@media only screen and (max-width: 540px) {
  .caption-align{
    width: 350px !important;
  }
  .caption-align span{
    font-size: 48px !important;
  }
  .whatWeDoContainer{
    margin: auto;
  }
}

#Team .teamRow:nth-child(1){
  padding-top: 0px;
}


#Team .teamRow:not(:last-child){
  border-bottom: 1px dashed #777;
}

#Team .teamRow:not(:first-child){
  padding-top:30px;
}

.ceoInfo p{
  margin-bottom: 30px;
}


.nf-profile-bg{
  height: 25vh;
  width: 100%;
  background-image: url("/wp-content/uploads/2020/03/51.jpg");
  background-size: cover;
  background-position: center;
}


.nf-cover{
  height: 25vh;
  background-color: rgba(172, 172, 172, 0.288);
}

.nf-cover-caption{
  position: relative;
    top: calc(25vh - 50px);
    height: 50px;
    background-color: rgba(15, 76, 133, 0.6);
    line-height: 50px;
    font-size: 20px;
    padding-left: 20px;
    color:#FFF;
}

.nf-slider{
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}


.nf-close{
 height: 60px;
 width: 100%;
 background-image: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(15, 76, 133, 0.6));
}


.nf-c-more{
    background-color: rgba(255, 107, 0, 1);
    color: #FFF;
    border: #FF6B00;
    padding-left: 30px;
    padding-right: 30px;
    margin: auto;
}

.btn.nf-c-more:hover{
  color:#FFF;
}


.nf-profile-body p{
  font-size: 17px;
  line-height: 1.3em;
  color: #00305B;
  font-weight: 100;
  font-family: helvetica-w01-light,helvetica-w02-light,sans-serif;
}


.nf-por-heading{
  /* font-weight: bold; */
  font-family: helvetica-w01-bold,helvetica-w02-bold,helvetica-lt-w10-bold,sans-serif;
  font-size: 28px;
}

.grecaptcha-badge { visibility: hidden; }


p{
    font-size: 20px;
    line-height: 1.3em;
    color: #00305B;
    font-weight: 100;
}

h1{
  color: #FF6B00;
    font-size: 28px;
    font-weight: bold;
}


.news-more-link{
  background-color: transparent;
  border: 1px solid #0f2c52;
  color:#0f2c52;
}


.news-more-link:hover{
  background-color: #FF6B00;
  color:#FFF;
  border: 1px solid #FF6B00;
}

.news .news-title a {

    color: #0f2c52;
    font-size: 20px;
    line-height: 1.3em;
    font-family: helvetica-w01-bold,helvetica-w02-bold,helvetica-lt-w10-bold,sans-serif;
    letter-spacing: normal;
    font-weight: 400;
}


.news-short-content {
    margin-bottom: 10px;
    color: #0f2c52;
    font-size: 16px;
    font-family: helvetica-w01-light,helvetica-w02-light,sans-serif;
    letter-spacing: normal;
    font-weight: 200;
}


@media screen and (max-width: 520px) {
   body p{
     font-size: 15px !important;
   }

   .contactUsAddress{
     font-size: 15px;
   }

   .wpcf7-form span{
    font-size: 15px !important;
   }

   .news-short-content{
    font-size: 15px !important;
   }

   .contentSectionHeading{
    letter-spacing: -0.05rem;
   }

}

h1.entry-title{
  border: none;
  color:#0f2c52;
  font-family: helvetica-w01-bold,helvetica-w02-bold,helvetica-lt-w10-bold,sans-serif;
  font-size: 26px;
  text-transform: uppercase;
  font-weight: normal;
}

.entry-content p{

  font-family: helvetica-w01-light,helvetica-w02-light,sans-serif;
    letter-spacing: normal;
    font-weight: 200;
    font-size: 17px;
}

.wpcf7-form{
  font-family: helvetica-w01-light,helvetica-w02-light,sans-serif;
}


.post-navigation .nav-previous a, .post-navigation .nav-next a {
  border: 1px solid #ddd;
  border-radius: 0px;
  display: inline-block;
  padding: 0.313rem 0.875rem;
  text-decoration: none;
  background-color: transparent;
  border: 1px solid #0f2c52;
  color: #0f2c52;
}

.post-navigation .nav-previous a:hover, .post-navigation .nav-next a:hover{
    background-color: #FF6B00;
    color: #FFF;
    border: 1px solid #FF6B00;
}


.nf-news-article .fyr-name{
  margin-top: 0.5rem;
  color:#0f2c52;
}

.nf-news-article h1.entry-title{
  margin-bottom: 0px;
  padding-bottom: 0px;
}

@media screen and (max-width: 1200px) {
  ul#menu-home.navbar-nav{
    padding-top: 3rem;
  }
}


