/* ==============================================================
Template name : Bootsnav - Multi Purpose Header
Categorie : Bootstrap Menu in CSS
Author : adamnurdin01
Version : v1.0.0
Created : 02 Juni  2016
Last update : 02 Juni  2016
============================================================== */

/*
General
=========================== */
.section{
    padding: 70px 0;
    position: relative;
}

.section a{
    color: #f43438;
}

.gray{
    background-color: #f9f9f9;
}

.section .heading{
    text-align: center;
    position: relative;
    font-size: 16px;
    margin-bottom: 70px;
    letter-spacing: 1px;
}

.section .heading .title{
    position: relative;
    letter-spacing: 0;
    font-weight: 600;
    font-family: 'Microsoft YaHei';
}

.section .heading .title strong{
    font-weight: 700;
    text-transform: uppercase;
}

.section .heading:before{
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    margin-left: -50px;
    width: 100px;
    border-bottom: solid 1px #f43438;
}

.test-height{
    height: 1800px;
}

.pageheader{
    padding: 70px 0;
    background-image: url(http://njutianjian.com/images/bg/brick-wall-dark.png);
    background-color: #f43438;
}

.pageheader.fixed-demo{
    padding-top: 120px;
}

.pageheader.fixed-demo.dark{
   background-color: #666 !important;
}

.pageheader.fixed-demo.white{
    background-image: url(http://njutianjian.com/images/bg/home2.jpg);
   background-color: #fff !important;
}

.pageheader .title{
    text-shadow: 6px 6px 0px rgba(0,0,0,0.2);
    color: #fff !important;
    font-family: "Microsoft YaHei"
}

.pageheader p{
    margin-bottom: 0;
    color: #f5f5f5;
    font-size: 16px;
    font-family: "Microsoft YaHei"
}

.pageheader.fixed-demo.white .title{
    color: #3f3f3f !important;
    text-shadow: 3px 3px 0px rgba(255,255,255,1);
}

.pageheader.fixed-demo.white p{
    color: #6f6f6f;
}

hr{
    border: solid 2px #efefef;
    margin: 60px 0 50px;
}

/*
Home
=========================== */
.section.home{
    padding: 100px 0;
    background-image: url(http://njutianjian.com/images/bg/brick-wall-dark.png);
    background-color: #f43438;
}

.section.home.dark{
    background-image: url(http://njutianjian.com/images/bg/brick-wall-dark.png);
    background-color: #fff;
}

.section.home .heading-home{
    text-align: center;
    position: relative;
    z-index: 2;
}

.section.home .heading-home .title{
    color: white;
    margin-bottom: 5px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: capitalize;
    text-shadow: 6px 6px 0px rgba(0,0,0,0.2);
    color: #fff;
}

.section.home .heading-home p{
    margin-bottom: 0;
    font-size: 16px;
    letter-spacing: 1px;
    color: #f0f0f0;
}

.section.home .overlay{
    display: block;
    position: absolute;
    background-color: #000;
    opacity: 0.6;
    filter: alpha(opacity=60);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.btn-home{
    border: solid 1px #fff;
    color: #fff !important;
    padding: 10px 20px;
    margin: 5px;
    letter-spacing: 1px;
}

.btn-home:hover,
.btn-home:focus{
    color: #3f3f3f !important;
    background-color: #fff;
}


/*
Affiliates
=========================== */
.affiliates{
    display: inline-block;
    padding: 10px;
    border: solid 1px #bbb;
    margin: 0 5px;
    color: #fff;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.1);
    position: relative;
    text-align: left;
    -webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	-ms-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

.affiliates a{
    text-decoration: none !important;
}

.affiliates img{
    width: 200px;
    margin-bottom: 5px;
}

.affiliates h6{
    color: #fff;
    font-weight: 600;
    margin-bottom: 0px;
}


/*
Menu Demo
=========================== */
ol.menu-demo{
    padding: 0;
    margin: 0 -15px;
    list-style: none;
    display: block;
}

ol.menu-demo li{
    margin-bottom: 15px;
}

ol.menu-demo li a{
    display: block;
    padding: 15px 25px;
    background-color: #fff;
    border: solid 2px #3f3f3f;
    color: #3f3f3f;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
}

ol.menu-demo li a:focus,
ol.menu-demo li a:hover{
    background-color: #f43438;
    border: solid 2px #f43438;
    color: #fff;
    text-decoration: none;
}


/*
Footer
=========================== */
footer{
    border-top: solid 1px #efefef;
}

footer .container{
    padding: 25px 15px;
}

.container {
    width: 1170px;
    max-width: none !important;
}

body{min-width:1400px};

/*
Clear spacer
=========================== */
.margin-clear{
	margin:0 !important;
}

.padding-clear{
	padding:0 !important;
}

.margintop-clear{
	margin-top:0 !important;
}

.paddingtop-clear{
	padding-top:0 !important;
}

.marginbot-clear{
	margin-bottom:0 !important;
}

.paddingbot-clear{
	padding-bottom:0 !important;
}

.marginleft-clear{
	margin-left:0 !important;
}

.paddingleft-clear{
	padding-left:0 !important;
}

.marginright-clear{
	margin-right:0 !important;
}

.paddingright-clear{
	padding-right:0 !important;
}

.padding-top40{
	padding-top:40px !important;
}

.padding-topt60{
	padding-top:60px !important;
}

.padding-top70{
	padding-top:70px !important;
}

.padding-bot5{
	padding-bottom:5px !important;
}

.padding-bot10{
	padding-bottom:10px !important;
}

.padding-bot15{
	padding-bottom:15px !important;
}

.padding-bot20{
	padding-bottom:20px !important;
}

.padding-bot30{
	padding-bottom:30px !important;
}

.padding-bot40{
	padding-bottom:40px !important;
}

.padding-bot50{
	padding-bottom:50px !important;
}

.padding-bot60{
	padding-bottom:60px !important;
}

.padding-bot70{
	padding-bottom:70px !important;
}

.margin-mintop10{
	margin-top:-10px !important;
}

.margin-mintop20{
	margin-top:-20px !important;
}

.margin-mintop30{
	margin-top:-30px !important;
}

.margin-mintop60{
	margin-top:-60px !important;
}

.margin-mintop110{
	margin-top:-110px !important;
}

.margin-minbot10{
	margin-bottom:-10px !important;
}

.margin-minbot20{
	margin-bottom:-20px !important;
}

.margin-minbot30{
	margin-bottom:-30px !important;
}

.margin-minbot60{
	margin-bottom:-60px !important;
}

/*
Custom left right spacer
=========================== */
.margin-left10{
	margin-left:10px !important;
}

.margin-right10{
	margin-right:10px !important;
}

.margin-left20{
	margin-left:20px !important;
}

.margin-right20{
	margin-right:20px !important;
}

/*
Custom top spacer
=========================== */
.margintop5{
	margin-top:5px !important;
}

.margintop10{
	margin-top:10px !important;
}

.margintop15{
	margin-top:15px !important;
}

.margintop20{
	margin-top:20px !important;
}

.margintop25{
	margin-top:25px !important;
}

.margintop30{
	margin-top:30px !important;
}

.margintop35{
	margin-top:35px !important;
}

.margintop40{
	margin-top:40px !important;
}

.margintop45{
	margin-top:45px !important;
}

.margintop50{
	margin-top:50px !important;
}

.margintop55{
	margin-top:55px !important;
}

.margintop60{
	margin-top:60px !important;
}

.margintop80{
	margin-top:80px !important;
}

/*
Custom bottom spacer
=========================== */
.marginbot5{
	margin-bottom:5px !important;
}

.marginbot10{
	margin-bottom:10px !important;
}

.marginbot15{
	margin-bottom:15px !important;
}

.marginbot20{
	margin-bottom:20px !important;
}

.marginbot25{
	margin-bottom:25px !important;
}

.marginbot30{
	margin-bottom:30px !important;
}

.marginbot35{
	margin-bottom:35px !important;
}

.marginbot40{
	margin-bottom:40px !important;
}

.marginbot45{
	margin-bottom:45px !important;
}


.marginbot50{
	margin-bottom:50px !important;
}

.marginbot55{
	margin-bottom:55px !important;
}

.marginbot60{
	margin-bottom:60px !important;
}

.marginbot80{
	margin-bottom:80px !important;
}

/*
Pre Code
=========================== */
pre {
    font-family: monospace;
    padding: 5px 25px 30px;
    border: solid 1px #ccc;
    border-left: solid 10px #ccc;
    background-color: #f5f5f5;
    margin-bottom: 30px;
    color: #6f6f6f;
    border-radius: 0px;
}
pre + pre {
    background: #6f6f6f;
}
pre {
    word-break: break-all; /* webkit */
    word-wrap: break-word;
    white-space: pre;
    white-space: -moz-pre-wrap; /* fennec */
    white-space: pre-wrap;
    white-space: pre\9; /* IE7+ */
}

.section.gray pre{
    background-color: #fff;
}

pre span{
    color: #f43438;
}

@media (max-width:676px){
    .wrap-affiliates{
        text-align: left;
        margin-top: 30px;
    }
}

@media (max-width:480px){
    .section.home .affiliates{
        padding-left: 15px;
    }

    .section.home .affiliates img{
        display: block;
        position: relative;
        width: 100%;
        top: 0;
        left: 0;
        margin-bottom: 15px;
    }
}

.cd-hero {
  /* vertically align its content */
  display: table;
  width: 100%;
  background: url(http://njutianjian.com/img/fruit-background.png) no-repeat;
  background-position: bottom;
  background-size: cover;
  background-origin: unset;
}
.cd-hero .cd-hero-content {
  /* vertically align inside parent element */
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .cd-hero {
    height: 400px;
  }
}
@media only screen and (min-width: 0px) {
  .cd-hero {
    height: 650px;
  }
  .computer-right {
    float: right;
  }
}


.join-bt {
  border: 2px solid gray;
  background: white;
  border-radius: 25px;
  height: 50px;
  width: 200px;
  position: relative;
  margin-right: auto; margin-left: auto;
  margin-top: 80px;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  opacity: 0.8;
  user-select:none;
}

.join-bt a{
  display: block;
  height: 30px;
  font-size: 20px;
  margin: 10px auto;
  text-decoration: none;
}

.join-bt:hover {
  background: hsla(0, 0%, 0%, 0.603);
}

.join-bt:hover>a {
  color: white;
}

.swimlane {
    padding: 3rem 0 3rem;
    min-height: 15rem;
    position: relative;
    background-color: #fff;
}

.swimlane:nth-child(odd) {
    background-color: #f5f5f5;
}

.swimlane p {
    font-size: 1.3rem; line-height: 2rem;
}

.show h2 {
    font-family: 'STXinwei';
    font-size: 2.8rem;
}

.show div {
    font-family: STKaiti;
}

#partners {
    text-align: center;
    margin: 0 auto;
    background: white;
}

#partners > div {
    width: 90%;
    margin: 0 auto;
}

#partners > div > div {
    padding: 2rem;
    display: inline-block;
}

#partners .logo {
    width: 110px;
    height: 110px;
}

#footer {
  padding: 40px 0;
  color: #fff;
  text-align: center;
  background-color: #494a5f;
}
#footer .social-icon {
  margin: 0 5px;
}
#footer .social-icon svg {
  width: 18px;
  height: 18px;
}
#footer a {
  font-weight: 700;
  color: #fff;
}
#footer:hover{
    outline: none;
}