/*
Theme Name: 蔚一官网
Theme URI: http://www.sh-weiyi.cn/
Author: 丸子
Author URI: http://www.sh-weiyi.cn/
Description: 基于Illdy修改主题
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio
Text Domain: illdy

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
body {
    font-family:"Microsoft Yahei", "STHeiti Light", Helvetica ,SimSun;
}
.home .header-front-page{
    height: 100%;
    background-position: top center!important;
}
#header .top-header {
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
}
#header .top-header .header-navigation ul li {
    margin-left: 10px;
}
#header .top-header .header-navigation ul li a {
    border: 1px solid transparent;
    font-size: 18px;
    display: inline-block;
    padding: 5px 16px;
}
#header .top-header .header-navigation ul li a:hover {
    color: #FFF;
    border: 1px solid #FFF;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.2);
}
#header .float-menu {
    position: fixed;
    top: 45%;
    right: 0px;
    z-index: 9;
    display: none;
}
#header .float-menu .button {
    position: relative;
    cursor: pointer;
    width: 26px;
    background: #115fad;
    color: #FFF;
    padding: 5px;
}
#header .float-menu ul {
    display: none;
    list-style-type: none;
    margin-top: -62px;
    background: #115fad;
    min-width: 110px;
    padding: 10px;
    text-align: right;
}
#header .float-menu a {
    color: #FFF;
}
#header .float-menu a:hover {
    text-decoration: underline;
}
#logo img {
    height: 54px;
}
.front-page-section .section-header .title-line {
    margin: 0 auto 30px;
    width: 50px;
    height: 3px;
    background: #115fad linear-gradient(to right, #115fad, #136bc3);
}
.front-page-section .section-header h3 {
    margin-bottom: 0!important;
}
.front-page-section .section-header h4 {
    font-size: 16px;
    margin-top: 0;
}
#about {
    background: #FFF url("layout/images/front-page/section-bg-right-1.png") top right no-repeat;
    padding-bottom: 0;
}
#about .section-description {
    margin-top: 80px;
    background-color: #FFF;
}
#about .section-content {
    padding-bottom: 200px;
    background: #FFF url("layout/images/front-page/section-bg-left-1.png") bottom left no-repeat;
}
#services {
    background: #FFF url("layout/images/front-page/front-page-product.jpg") left top no-repeat;
    background-size: cover;
}
#services .section-header {
    margin-bottom: 0;
}
#services .section-content {
    min-height: 400px;
    background: url("layout/images/front-page/section-bg-left-2.png") bottom left no-repeat;
}
#services .section-description {
    padding-bottom: 60px;
}
.card-item-body {
    background: #FFF;
    padding: 25px;
    box-shadow:0px 0px 30px #DDD;
}
.card-item .title {
    color: #000;
    font-size: 18px;
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid #f2f2f2;
}
.card-item .description {
    color: #666;
    font-size: 16px;
    padding: 25px 0;
    text-align: left;
}
.card-item .feature-image img {
    width: 100%;
}
#projects.front-page-section {
    background: url("layout/images/front-page/section-bg-right-1.png") top right no-repeat !important;
}
#projects .section-content {
    padding-bottom: 150px;
    background: url("layout/images/front-page/section-bg-left-1.png") bottom left no-repeat;
}
#team.front-page-section {
    padding: 0;
    background-size: cover;
    background: url("layout/images/front-page/front-page-partner.jpg") left top no-repeat !important;
}
#team .wrapper {
    background: url("layout/images/front-page/section-bg-right-2.png") top right no-repeat;
}
#team .section-header {
    padding-top: 80px;
}
#team .section-content {
    padding-bottom: 150px;
    background: url("layout/images/front-page/section-bg-left-2.png") bottom left no-repeat;
}
#team .section-description {
    color: #000;
}
#team .partner-card .card-item-body {
    width: 80%;
    margin: 0 auto;
}
#team .partner-card .card-item-body .row{
    padding: 0 25px;
}
#team .partner-card .card-item-body .title{
    border-top: 1px solid #F2F2F2;
    margin-top: 10px;
    font-size: 18px;
    color: #333;
}
#team .partner-card .card-item-body .title span{
    background: #FFF;
    display: inline-block;
    padding: 0 30px;
    position: relative;
    top: -15px;
}
#team .partner-card .feature-image img{
    width: 100%;
    border: 1px solid #F2F2F2;
    margin-top: 8px;
}
#contact-us {
    color: #FFF;
    padding: 0;
    background: #115fad url("layout/images/front-page/front-page-contact.jpg") left top no-repeat;
    background-size: cover;
}
#contact-us .title-line {
    background: #FFF;
}
#contact-us h3 {
    color: #FFF;
}
#contact-us .wrapper {
    padding-top: 80px;
    background: url("layout/images/front-page/section-bg-right-4.png") top right no-repeat;
}
#contact-us .section-description {
    color: #FFF;
}
#contact-us .section-content {
    padding-bottom: 150px;
    background: url("layout/images/front-page/section-bg-left-3.png") bottom left no-repeat;
}
#contact-us .section-content .description {
    text-align: left;
}
#contact-us .section-content .description .title {
    font-size: 32px;
    padding: 80px 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
#contact-us .section-content .description .post {
    padding-top: 50px;
    line-height: 2em;
}
#contact-us .section-content .description .post a {
    color: #FFF;
    text-decoration: underline;
}
#contact-us .section-content .contact-form {
    padding: 0 20px;
    width: 460px;
}
#contact-us .section-content .contact-card {
    background: #EEF2F3;
    padding: 25px;
    box-shadow:0px 0px 10px #999;
}
#contact-us .section-content .contact-card .card-title {
    font-size: 28px;
    color: #000;
}
#contact-us .section-content .contact-card form {
    padding-top: 30px;
}
#contact-us .section-content .contact-card label {
    width: 110px!important;
    color: #666;
}
#contact-us .section-content .contact-card input,
#contact-us .section-content .contact-card textarea
{
    border-radius: 0;
    border: none;
    width: 250px;
}
#contact-us .section-content .contact-card button {
    width: 60%;
    padding: 10px 0;
    margin-top: 20px;
    font-size: 16px;
    border-radius: 20px;
    outline: none;
    border: none;
    color: #FFF;
    background: #115fad linear-gradient(to right, #115fad, #136bc3);
}
#contact-us .section-content .contact-card button:active {
    position: relative;
    top: 2px;
}
#latest-news  {
    padding-bottom: 0;
    background: #FFF url("layout/images/front-page/section-bg-right-1.png") top right no-repeat !important;
}
#latest-news .section-header h3 {
    color: #545454;
}
#latest-news .section-content {
    padding-bottom: 40px;
    background: url("layout/images/front-page/section-bg-left-1.png") bottom left no-repeat;
}
#latest-news .latest-news-button {
    background: #115fad;
}
#latest-news .section-content .post .post-title:hover {
    color: #115fad;
}
#latest-news .section-content .post .post-button {
    color: #115fad;
}
#latest-news .section-content .blog-carousel {
    padding-bottom: 40px;
}
#latest-news .section-content .blog-carousel .owl-stage-outer {
    padding-bottom: 40px;
}
#latest-news .blog-post {
    position: relative;
    width: 100%;
    margin-top: 30px;
    height: 400px;
}
#latest-news .owl-next,
#latest-news .owl-prev
{
    background: #115fad;
    padding: 10px;
}
#latest-news .owl-next:hover,
#latest-news .owl-prev:hover
{
    background: #115fad linear-gradient(to right, #136bc3, #136bc3);
    padding: 10px;
}
#latest-news .section-content .post {
    position: relative;
    width: auto;
    margin-left: 620px;
    padding-bottom: 0;
    min-height: auto;
    box-shadow:0px 0px 30px #DDD;
}
#latest-news .section-content .post .date{
    position: absolute;
    top: 20px;
    left: 20px;
    color: #115fad;
    width: 80px;
    text-align: center;
}
#latest-news .section-content .post .date .day {
    font-size: 28px;
}
#latest-news .section-content .post.first-post {
    width: 600px;
    height: 100%;
    margin-left: auto;
    position: absolute;
    top: 0;
    left: 0;
    border: 10px solid #FFF;
}
#latest-news .section-content a:hover .post.first-post {
    box-shadow:0px 0px 30px #AAA;
}
#latest-news .section-content .post.first-post h3 {
    height: 52px;
    line-height: 52px;
    margin: -52px 0 0;
    padding: 0 20px;
    font-size: 18px;
    color: #FFF;
    background: rgba(0, 0, 0, 0.8);
}
#latest-news .section-content .post.item-post {
    border: 2px solid #FFF;
    padding: 20px;
    margin-bottom: 10px;
    height: 92px;
}
#latest-news .section-content a:hover .item-post {
    color: #8c979e;
    border: 2px solid #115fad;
}
#latest-news .section-content .post.item-post h3 {
    margin: 0;
    font-size: 18px;
    line-height: normal;
    color: #333
}
#latest-news .section-content .post .post-image {
    height: 100%;
    margin-bottom: 0;
}
#latest-news .section-content .post .news {
    padding-left: 25px;
    margin-left: 90px;
    border-left: 1px solid #ccc;
}
#footer {
    padding: 0;
}

#footer .bottom-footer {
    margin-top: 0;
}

.markup-format .post-password-form label {
    float: none;
}
@media (max-width: 768px) {
    .row {
        margin: auto;
    }
    #contact-us .section-content .contact-card input,
    #contact-us .section-content .contact-card textarea
    {
        width: 100%;
    }
    header#header.header-front-page {
        background-image: none!important;
        background: #115fad linear-gradient(to right, #115fad, #136bc3)!important;
    }
    #header .bottom-header {
        padding-top: 40%;
    }
    #header .bottom-header h1 {
        font-size: 40px;
    }
    #header .float-menu {
        top: auto;
        bottom: 20px;
    }
    #header .float-menu ul {
        margin-top: -202px;
    }
    #about,
    #projects.front-page-section,
    #team .wrapper,
    #contact-us .wrapper,
    #latest-news {
        background-image: none!important;
    }
    #contact-us .section-content .description .title {
        padding-top: 0;
    }
    #contact-us .section-content .contact-form {
        padding: 10px;
        width: 100%;
    }
    #latest-news .blog-post {
        height: auto;
    }
    #latest-news .section-content .post {
        margin: auto;
    }
    #latest-news .section-content .post.first-post {
        margin-bottom: 10px;
        width: auto;
        position: initial;
    }
    #latest-news .section-content .post .post-image {
        height: 200px;
    }
    #latest-news .section-content .post h3,
    #latest-news .section-content .post .description
    {
        height: 30px;
        overflow: hidden;
    }
}