/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/


/* 
    Created on : 07/09/2015, 2:29:47 AM
    Author     : jinhu
*/


/* main view */

body,
html {
    background-color: #efefef !important;
    font-family: 'Microsoft Yahei';
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 14px;
    letter-spacing: 1px !important;
    color: #3e3e3e;
}

a,
a:hover,
a:active,
a:focus {
    outline: 0;
}

.row {
    display: flex;
}

.main-view-custom {
    padding-top: 114px;
}

@media (max-width: 1200px) {
    .main-view-custom {
        padding-top: 100px;
    }
}

@media (max-width: 992px) {
    .main-view-custom {
        padding-top: 60px;
    }
}


/* Top bar */

.navbar-topbar .navbar-nav li {
    display: table-cell;
    text-align: center;
    float: none;
    position: relative;
}

.navbar-topbar {
    margin: 0;
    max-height: 114px;
}

.navbar-topbar .container-fluid {
    margin-left: 0;
    margin-right: 0;
    padding-left: 31px;
    padding-right: 31px;
    width: auto;
}


/* Top bar - menu */

.navbar-topbar .navbar-nav {
    width: 80%;
    float: left;
    margin: 0 auto;
    display: table;
    min-width: 911px;
    font-size: 15px;
}

.navbar-topbar .navbar-nav li .topbar-divider {
    padding-left: 0;
    padding-right: 0;
}

.navbar-topbar .navbar-nav li a:hover span,
.navbar-topbar .navbar-nav li a:active span,
.navbar-topbar .navbar-nav li a:focus span,
.navbar-topbar .navbar-nav .active a span,
.navbar-topbar .navbar-nav .active a:hover span,
.navbar-topbar .navbar-nav .active a:focus span,
.navbar-topbar .navbar-nav .active a:active span {
    border-bottom: 2px solid #f61a22;
}

.navbar-topbar .navbar-nav li a:active,
.navbar-topbar .navbar-nav .active a,
.navbar-topbar .navbar-nav .active a:hover,
.navbar-topbar .navbar-nav .active a:focus,
.navbar-topbar .navbar-nav .active a:active {
    color: #f61a22;
    background-color: inherit !important;
    background-image: none !important;
    box-shadow: none !important;
}

.navbar-topbar .navbar-nav li a,
.navbar-topbar .navbar-nav li .topbar-divider:hover,
.navbar-topbar .navbar-nav li .topbar-divider:focus,
.navbar-topbar .navbar-nav li .topbar-divider:active {
    line-height: 84px;
    color: #000000;
}

@media (max-width: 1200px) {
    .navbar-topbar .navbar-nav {
        min-width: 565px;
    }
    .navbar-topbar .navbar-nav li a,
    .navbar-topbar .navbar-nav li .topbar-divider:hover,
    .navbar-topbar .navbar-nav li .topbar-divider:focus,
    .navbar-topbar .navbar-nav li .topbar-divider:active {
        line-height: 60px;
    }
}

@media (max-width: 992px) {
    .navbar-topbar .navbar-nav li a,
    .navbar-topbar .navbar-nav li .topbar-divider:hover,
    .navbar-topbar .navbar-nav li .topbar-divider:focus,
    .navbar-topbar .navbar-nav li .topbar-divider:active {
        line-height: 40px;
    }
}

.navbar-topbar .navbar-nav li a:hover,
.navbar-topbar .navbar-nav li a:focus,
.navbar-topbar .navbar-nav li a:active {
    color: #f61a22;
}


/* Topbar - logo */

.navbar-topbar .navbar-header {
    height: 114px;
}

@media (max-width: 1200px) {
    .navbar-topbar .navbar-header {
        height: 100px;
    }
}

@media (max-width: 992px) {
    .navbar-topbar .navbar-header {
        height: 60px;
    }
}

.navbar-topbar .navbar-brand {
    padding-left: 0;
    height: 100%;
    width: auto;
    vertical-align: middle;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.navbar-topbar .navbar-brand img {
    max-width: 200px;
    max-height: 80px;
}

@media(max-width:1200px) {
    .navbar-topbar .navbar-brand img {
        max-width: 171px;
        max-height: 60px;
    }
}

@media(max-width:992px) {
    .navbar-topbar .navbar-brand img {
        max-width: 114px;
        max-height: 40px;
    }
}

.navbar-topbar .navbar-nav li .topbar-icon {
    padding-right: 0;
}

.navbar-topbar .navbar-nav li .topbar-companylogo {
    padding-left: 5px;
}

.navbar-topbar .navbar-nav li .topbar-companylogo img {
    margin-right: 5px;
}


/* Topbar - search */

input.rounded {
    border-radius: 10px;
    height: 30px;
    max-width: 180px;
    margin-top: 38px;
    background-color: #e6e6e6;
    box-shadow: none;
    border: none;
}

@media(max-width:1200px) {
    input.rounded {
        display: none;
    }
}

@media(max-width:940px) {
    .navbar-topbar .navbar-nav li .topbar-companylogo,
    .navbar-topbar .navbar-nav li .topbar-divider-companylogo {
        display: none;
    }
}

input.rounded:focus {
    outline-style: none;
}


/* Top bar mobile */

@media (max-width: 1200px) {
    .navbar-topbar-mobile .navbar-header {
        height: 100px;
    }
}

@media (max-width: 992px) {
    .navbar-topbar-mobile .navbar-header {
        height: 60px;
    }
}

.navbar-topbar-mobile {
    margin: 0;
    height: auto;
}

.navbar-topbar-mobile .navbar-collapse {
    max-height: 400px;
    padding-left: 0;
    padding-right: 0;
}

.navbar-topbar-mobile .navbar-nav {
    float: none;
    margin: 0 auto;
    display: table;
    text-align: center;
    width: 100%;
}

.navbar-topbar-mobile .navbar-brand {
    height: 100%;
    width: auto;
    vertical-align: middle;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media(max-width:1200px) {
    .navbar-topbar-mobile .navbar-brand img {
        max-width: 171px;
        max-height: 60px;
    }
}

@media(max-width:992px) {
    .navbar-topbar-mobile .navbar-brand img {
        max-width: 114px;
        max-height: 40px;
    }
}


/* Top bar mobile - menu */

.navbar-topbar-mobile .topbar-divider {
    display: none;
}

.navbar-topbar-mobile .navbar-nav li a:active,
.navbar-topbar-mobile .navbar-nav .active a,
.navbar-topbar-mobile .navbar-nav .active a:hover,
.navbar-topbar-mobile .navbar-nav .active a:focus,
.navbar-topbar-mobile .navbar-nav .active a:active {
    color: #f61a22;
    background-color: inherit !important;
    background-image: none !important;
    box-shadow: none !important;
}

.navbar-topbar-mobile .navbar-nav li a {
    color: #000000;
}

.navbar-topbar-mobile .navbar-nav li a:hover,
.navbar-topbar-mobile .navbar-nav li a:focus,
.navbar-topbar-mobile .navbar-nav li a:active {
    color: #f61a22;
}


/* Bottom Bar */

.navbar-custom .navbar-nav {
    display: inline-block;
    float: none;
    font-size: 15px;
}

.navbar-custom .navbar-collapse,
.navbar-custom .navbar-icons {
    text-align: center;
}

.navbar-custom {
    background-color: white;
    margin-bottom: 0;
}

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

.navbar-custom .navbar-nav>li>a:hover,
.navbar-custom .navbar-nav>li>a:focus,
.navbar-custom .navbar-nav>li>a:active {
    color: #f61a22;
    background-color: white;
}

.navbar-bottom>li:hover a span {
    border-bottom: 2px solid #f61a22;
}

.navbar-text {
    float: none;
    margin-top: 0;
    margin-bottom: 0;
}

.navbar-nav-icon {
    margin: 0 auto;
    table-layout: fixed;
    border-bottom: 3px solid #e1e1e1;
    margin-bottom: 20px;
}


/* containers */

.containerCust {
    background-color: #E6E6E6;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    max-width: 961px;
}


/* category gallery */

.gallery-box {
    padding-bottom: 40px;
}

.image-custom {
    padding: 0;
    width: 400px;
    height: 200px;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    object-fit: cover;
}

.gallery-container {
    margin-top: 0;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 30px;
}

.button-container .md-button,
.button-container h4 {
    margin-bottom: 0;
}


/* major cities */

.layout-block {
    padding-top: 20px;
    padding-bottom: 20px;
}


/* container */

.container-custom {
    margin-left: 20px;
    margin-right: 20px;
}

.container-pad {
    margin-left: 35px;
    margin-right: 35px;
    background-color: #d2d2d2;
    border-top: 6px solid #C82215;
    padding: 15px;
}

.titleRed {
    border-left: 8px solid #C82215;
    padding-left: 10px;
}

.shadow {
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}


/* contact us */


/*.container-button {
    margin: 0;
    background-color: #a11b11;
    text-align: center;
    padding: 15px;
    height: 100%;
}

.container-button a {
    text-decoration: none;
    color: white;
    margin: auto;
}

.container-button:hover {
    background-color: #133E69 !important;
}

.container-contact {
    margin: 0;
    background-color: #d2d2d2;
    border-top: 6px solid #C82215;
    padding: 15px;
    margin-right: 15px;
}*/


/* general settings */

.container-h4 h4 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.h5-custom {
    border-left: 6px solid #C82215;
    padding: 10px;
    padding-top: 6px;
    padding-bottom: 6px;
}


/* home page background display */

.home-image-background {
    text-align: center;
    color: #fff;
    background-attachment: scroll;
    background: url(../../../img/home/背景图.jpg) no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    height: 500px;
    /*-webkit-filter: blur(2px);
    filter: blur(2px);*/
}

.home-background-icon {
    padding-top: 130px;
    padding-bottom: 130px;
}

.home-background-icon div {
    margin-bottom: 20px;
}

.home-background-icon div a {
    text-decoration: none;
}

.home-background-icon div a div img {
    height: 100px;
    width: 100px;
    transition: all .2s ease-in-out;
}

.home-background-icon div a div span {
    font-size: 24px;
    color: white;
    font-weight: 600;
    transition: all .2s ease-in-out;
    letter-spacing: 4px;
}

.home-background-icon div a:hover div img {
    transform: scale(1.25);
    -webkit-transform: scale(1.2);
    margin-bottom: 15px;
}

.home-background-icon div a:hover div span {
    font-size: 32px;
}

@media (max-width: 1200px) {
    .home-background-icon div a div img {
        height: 100px;
        width: 100px;
    }
    .home-background-icon div a div span {
        font-size: 20px;
    }
    .home-background-icon div a:hover div span {
        font-size: 30px;
    }
}

@media (max-width: 992px) {
    .home-background-icon div a div img {
        height: 90px;
        width: 90px;
    }
    .home-background-icon div a div span {
        font-size: 18px;
        letter-spacing: 2px;
    }
    .home-background-icon div a:hover div span {
        font-size: 26px;
    }
}

@media (max-width: 500px) {
    .home-background-icon div a div img {
        height: 60px;
        width: 60px;
    }
    .home-background-icon div a:hover div span {
        font-size: 23px;
    }
}

.home-bottom-part {
    max-width: 1400px;
    position: relative;
    left: 0px;
    top: -100px;
    z-index: 1;
}


/* pagination */

.pagination-top {
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
}


/* about us */

.about-us-title {
    padding-top: 10px;
    padding-bottom: 10px;
}

.about-us-subtitle {
    padding-bottom: 10px;
}

.container-about-us {
    margin-bottom: 20px;
}

.about-us-image {
    height: 350px;
    width: 100%;
    object-fit: cover;
}


/* contact us */

.container-map {
    max-height: 400px;
}

.question-container {
    margin-left: 35px;
    margin-right: 35px;
    margin-top: 30px;
}

.question-btn-container {
    text-align: center;
}

.question-btn-container button {
    width: 100px;
}

.contact-us-title {
    padding-bottom: 20px;
}

.contact-us-text {
    padding-left: 20px;
    padding-right: 60px;
}

.contact-us-text .col-sm-3 {
    padding-right: 0;
}

.contact-us-text .col-sm-9 {
    padding-left: 0;
}

.contact-us-text div label {
    text-align: left !important;
}

.contact-loc-body {
    padding-right: 20px;
    padding-left: 50px;
}

.contact-loc-address .control-label {
    font-weight: normal;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 10px;
    display: table-cell;
}
