body{
    padding-top: 30px;
}
/* nav */
@media screen and (min-width: 768px){
    .navbar {
        min-height: 40px;
    }
    .navbar-brand {
        padding-top: 0;
        padding-bottom: 0;
        line-height: 42px;
        height: 42px;
    }
    .navbar-nav > li > a {
        font-size: 14px;
        padding-top: 11px;
        padding-bottom: 11px;
    }
}
.reddot:after {
    content: "";
    position: absolute;
    top: 10px;
    right: 5px;
    padding: 3px;
    z-index: 9999999;
    background: #d9534f;
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
    border: 1px solid #d43f3a;
}

/* masthead */
.masthead {
    position: relative;
    text-align: center;
    background: linear-gradient(45deg,#020031 0,#6d3353 100%);
    padding: 60px 0 80px;
    margin-bottom: 0;
    color: #fff;
}
.masthead::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url(../img/bs-docs-masthead-pattern.png);
    background-position: center;
    opacity: 0.4;
}
.masthead .container {
    position: relative;
    z-index: 2;
}
.masthead h1 {
    font-size: 60px;
    line-height: 1;
    letter-spacing: -2px;
    font-weight: 700;
}
.masthead h2 {
    font-size: 18px;
    font-weight: 200;
    line-height: 1.25;
}
.masthead ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.masthead ul li a {
    color: rgba(255, 255, 255, 0.5);
}

@media screen and (min-width:768px){
    .masthead{      
        padding: 90px 0 110px;
    }
    .masthead h1{
        font-size: 90px; 
    }
    .masthead h2{
        font-size: 24px;
    }
}
@media screen and (min-width:992px){
    .masthead h1{
        font-size: 100px;
    }
    .masthead h2{
        font-size: 30px;
    }
}
.masthead .masthead-button-links {
    margin-top: 30px;
}
.masthead p {
    font-size: 40px;
    font-weight: 200;
    line-height: 1.25;
}
.btn-lg {
    padding: 13px 35px 17px;
    box-shadow: inset 0 -4px 0 #2a6496;
    border: 0;
}

/* bc-social */
.bc-social {
    padding: 15px 0;
    text-align: center;
    background-color: #f5f5f5;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #ddd;
}
.bc-social-buttons {
    margin-left: 0;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}
.bc-social-buttons li {
    display: inline-block;
    line-height: 1;
    color: #555;
}
.bc-social-buttons li a {
    color: #555;
}
.bc-social-buttons li .fa {
    font-size: 18px;
    margin-right: 3px;
}
.bc-social-buttons .social-weibo::before{
    padding: 0 10px;
    color: #ccc;
    content: "|";
}
.bc-social-buttons li .fa-weibo {
    font-size: 20px;
}

/*projects*/
.projects-header {
    width: 60%;
    text-align: center;
    margin: 60px 0 10px;
    font-weight: 200;
    margin-bottom: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.projects-header h2 {
    letter-spacing: -1px;
}
@media screen and (min-width: 768px){
    .projects-header h2 {
        font-size: 42px;
    }
}
.projects .thumbnail {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 310px;
    margin-bottom: 30px;
    border-radius: 0;
}
@media screen and (min-width:768px){
    .projects .thumbnail  {
        height: 360px;
    }
}
@media screen and (min-width:992px){
    .projects .thumbnail  {
        height: 352px;
    }
}
@media screen and (min-width:1200px){
    .projects .thumbnail  {
        height: 336px;
    }
}

.projects .thumbnail .caption {
    height: 200px;
    overflow-y: hidden;
    color: #555;
}
.projects .thumbnail .caption a:hover {
    text-decoration: none;
}

/* footer */
.footer {
    color: #777;
    padding: 30px 0;
    border-top: 1px solid #e5e5e5;
    margin-top: 70px;
}
.footer a {
    color: #777;
}
.footer-top .about > div {
    height: 110px;
    margin-bottom: 10px;
}
.footer-top .about > div h4 {
    color: #563d7c;
    font-size: 16px;
}
.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.footer-bottom {
    font-size: 13px;
}
.footer-bottom ul > li {
    padding: 0;
}
.footer-bottom ul > li+li::before{
    padding: 0 10px;
    color: #ccc;
    content: "|";
}

#scrollUp {
    background-color: #777;
    color: #eee;
    font-size: 40px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    bottom: 20px;
    right: 20px;
    overflow: hidden;
    width: 46px;
    height: 46px;
    border: none;
    opacity: .8;
}
@media screen and (min-width: 992px){
    #scrollUp {
        bottom: 100px;
    }
}