/* ------------------------- */
/* 布局型样式 */
/* ------------------------- */

html,
body {

    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.jiaocha-flex {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: baseline
}

.main-container {
    flex: 1;
}

.footer {
    padding: 20px 0;
    background: #434343;
    color: #fff;
}

.banner-wrapper,
.slogen-wrapper {
    width: 50%;
}

.banner-wrapper .swiper-slide,
.banner-wrapper img {
    width: 100%;
}

/* ------------------------- */
/* 通用局部样式，改写样式 */
/* ------------------------- */

.swiper-container .swiper-slide img {
    width: 100%;
}

/* 导航 */
.navbar {
    margin-bottom: 0 !important;
    border-bottom: 0 solid !important;
    border: none;
    box-shadow: 0 2px 3px rgba(21, 39, 57, .12);
    color: #434343;
    border-radius: 0 !important;
}

.navbar .navbar-toggle span {
    background: #434343;
}

.navbar .navbar-brand>img {
    margin-top: -6px;
}

.navbar-nav>li>a {
    color: #434343;
}

.navbar .navbar-collapse {
    padding-right: 0;
}

/* thumbnail */
a.thumbnail {
    text-decoration: none;
    border: none;
    box-shadow: 0 2px 3px rgba(21, 39, 57, .12);
    padding: 0;
}

a.thumbnail:hover {
    box-shadow: 0 2px 3px rgba(21, 39, 57, .22);
}

a.thumbnail img {
    max-height: 200px;
    min-width: 100%
}

/* page-header */
.container .page-header>h1 {
    line-height: 1.3;
}

.carousel-caption {
    padding: 0;
}

/* 小屏幕（小于等于 768px） */
@media (max-width: 768px) {

    .navbar-nav.navbar-right {
        position: relative;
        margin-top: 2px;
        margin-bottom: 0;
        z-index: 99;
        background: #f9f9f9;
        margin-bottom: 10px;
    }

    .carousel-caption {
        display: none;
    }

    .jiaocha-flex {
        margin-top: -30px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .slogen-wrapper {
        margin-top: 50px;
        width: 100%;
    }

    .swiper-container .swiper-button-prev,
    .swiper-container .swiper-button-next {
        display: none;
    }

    a.thumbnail .caption h4 {
        line-height: 1.5;
    }
}
@media (min-width: 768px) {

    a.thumbnail .caption h4 {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

.container .main-title {
    text-align: center;
    padding-bottom: 10px;
    letter-spacing: 2px;
}

.container .main-title.font-sm {
    font-size: 22px;
}

.container .main-title a {
    text-decoration: none;
    color: #434343;
}

.container .main-title a:hover {
    color: #000;
}

.container .block-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 10px;
}

.container .block-title>span {
    border-left: 6px solid #f0ad4e;
    text-indent: 12px;
    letter-spacing: 2px;
    font-size: 22px;
}

.container .block-title .more {
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
    color: #999;
}

.container .block-title .more:hover {
    color: #f0ad4e;
}

a.more:hover {
    text-decoration: none;
}


/* 区域背景色 */
.bg-yellow {

    background: #f9f7f3;
}

.bg-white {

    background: #fff;
}

/* 巧用 border，创意圆角 */
.container .item-container .item {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    border-bottom-left-radius: 25px 115px;
    border-bottom-right-radius: 155px 25px;
    border-top-left-radius: 15px 225px;
    border-top-right-radius: 25px 150px;
    padding: 16px;
    margin: 16px 0;
    background: rgb(255, 255, 255);
    box-sizing: border-box;
}


/* ------------------------- */
/* 个性化样式 */
/* ------------------------- */

.contact-wrapper,
.category-wrapper {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.category-wrapper .item,
.contact-wrapper .item {
    padding: 20px;
}

.category-wrapper {
    padding: 0;
    margin: 0;
}

.category-wrapper .item {
    list-style: none;
}

.category-wrapper .item a {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #434343;
}

.category-wrapper .item a img {
    margin-bottom: 10px;
}

.category-wrapper .item a img,
.contact-wrapper .item .img {
    position: relative;
    width: 140px;
    height: 140px;
}

.contact-wrapper .item .img img {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.contact-wrapper .item img.img-qrcode {
    display: none;
}

.contact-wrapper .item p {
    margin-top: 10px;
    text-align: center;
    letter-spacing: 1px;
    font-size: 15px;
}