/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #555555;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
    a{
        text-decoration:none !important;
    }
    li{
        list-style: none;
    }
    .navbar-inverse{
    	border-color:#fff;
    }
    p,a{
    	transition: all 0.3s ease-in-out;
        color:#555555 !important;
    }
    .middle{
        margin:80px auto;
    }
    .title h3{
        padding-top:10px;
        border-top:1px solid #1868b3;
    }
    .about h6{  
        color:#777777;
    }
@media (min-width: 1200px) {    
    .middle .container #spa{
        float:right;
        width:0;
        height:0;
        border-top:8px solid transparent;
        border-bottom:8px solid transparent;
        border-left:8px solid #dddddd;
        margin:15px 26% 0 0;
    }
    .middle .info ul li a:hover #spa,
    .middle .info  .active a #spa{
        float:right;
        width:0;
        height:0;
        border-left:8px solid transparent;
        border-right:8px solid transparent;
        border-top:8px solid #1868b3;
        margin:20px 26% 0 0;
    }
    .middle .info  ul li a:hover,
    .middle .info .active a{
        color:#1868b3 !important;
        border-left:3px solid #1868b3;
    }
}
@media (max-width: 1199px) {
    .middle .info ul li a:hover,
    .middle .info .active a{
        background:#1868b3;
        color:#fff !important;
    }

}
/* ==========================================================================
   头部样式
   ========================================================================== */
.navbar-inverse {		
	border-color: #fff;
	background-color:#fff;		
}
.navbar{ margin-bottom:0; margin-top:60px;}
.container{ max-width:1200px; margin:0 auto 0 auto;}
.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav li a:hover{
	color:#1868b3 !important;
	border-bottom:2px solid #1868b3;
	 background:#fff !important;
	  box-sizing:border-box;
}
.top_nav_box{border-top:1px solid #eee; background:#fff; width:100%;}
.navbar-brand{ width:80%; margin-left:10%;}
.navbar-header{ clear:both; width:100%;}
.navbar-collapse{ max-width:1200px; margin:auto;}
.navbar-nav{ clear:both;width:100%; }
.navbar-nav li{ width:14.28%; text-align:center;}
.img-responsive{ width:80%;}
/* =============================最小1200px*/
@media (min-width: 1200px) {
	body{
		font-family:"微软雅黑";
	}
	
	
	
	.navbar-inverse {		
		height:46px;
	}
	.navbar-collapse{ }
	.navbar-nav{
		height:46px;
	}
	
	.navbar-nav li a{
		line-height: 16px;
	}
	/*.navbar-header a{
		margin-top:14px;
	}*/
}
/* =========================最小768px和最大1199px*/
@media (min-width: 768px) and (max-width: 1199px){
	.navbar-nav{
	}
	.navbar-header{
		width:60%;
	}
.navbar{ margin:0;}
 }
/* =========================最大767px*/
@media (max-width: 767px) {
	.navbar-inverse .navbar-toggle .icon-bar{
		background-color:#333;
	}
	.navbar-inverse .navbar-collapse{
		border:none;
	}
	.navbar-brand{
		height:auto;
	}
	.navbar-brand{
		width:74%;
	}
	.navbar-toggle{
		margin-top:16px;
		margin-right:16px;
	}
.navbar{ margin:0;}
	.carousel{ margin:0;}
	.navbar-nav li{ width:100%;}
	.container{ position:relative;}
	.top_logo{ position:absolute; top:10px; left:10px; width:70%;}
	.top_logo img{ width:100%;}
.img-responsive{ position:relative; top:0; z-index:20;}
	
}
/* ==========================================================================
    尾部样式
   ========================================================================== */
.foot a,.foot p,.foot li,.over p{
    color:#a9a9a9 !important;
}
.foot{
    background:#333333;
}
.foot .left{
    margin-top:37px;
    margin-bottom:15px;
}
.left ul li{
    float:left;
}
.left ul li a{
    font-size:16px;
    line-height:20px;
}
.midle p{
    margin:15px auto;
    float:left;
    width:50%
}
.midle p img{
    width:20px;
    height:21px;
}
.over p{
    background:#222222;
    line-height:45px;
    text-align:center;
}
/* =========================最小1200px*/
@media (min-width: 1200px) {    
    .foot .left{
        float:left;
        width:65%;
    }
    .left ul li a{
        margin:0 18px 0 18px;
    }
    .left ul li:first-child{
        margin-left:-5.5%;
    }
    .midle{
        float:left;
        width:80%;
    }
    .right{
        float:right;
        width:35%;
        height:100%;
    }
    .right img{
        float:right;
        border:25px solid #444444; 
    }
}
/* =========================最小768px和最大1199px*/
@media (min-width: 768px) and (max-width: 1199px){
    .foot .left{
        float:left;
        width:100%;
    }

    .left ul li a{
        margin:0 18px 0 18px;
    }
    .left ul li:first-child{
        margin-left:-5.5%;
    }
    .midle{
        margin:30px auto;
        float:left;
        width:70%;
    }
    .right{
        float:right;
        width:30%;
        height:100%;
    }
    .right img{
        width:150px;
        float:right;
        border:15px solid #444444; 
    }
 }
/* =========================最大767px*/
@media (max-width: 767px) {
    .foot .left{
        padding-bottom:50px;
        width:100%;
    }
    .left ul{
        width:100%;
    }
    .left ul li{
        margin:5px auto;
        width:33%;
    }
    .left ul li a{
        margin:0 10px 0 10px;
    }
    .midle{
        margin:30px auto;
        width:80%;
    }
    .midle p{
        width:100%;
    }
    .right{
        margin:0 auto;
        width:80%;
        height:100%;
        padding-top:16px;
    }
    .right img{ 
        margin-top:10px;      
        margin:0 auto;
        width:150px;
        border:15px solid #444444; 
    }
    .over p{
        font-size:8px;
    }
}
/* ==========================================================================
    banner图
   ========================================================================== */
 .carousel{}
.carousel-indicators .active{
    background:black;
}
.carousel-indicators li{
    border-color:#999;
}
/* =========================最小1200px*/
@media (min-width: 1200px) {
    .carousel{
    }   
}
/* =========================最小768px和最大1199px*/
@media (min-width: 768px) and (max-width: 1199px){
    .carousel{
        margin-top:0px;
    }
 }
/* =========================最大767px*/
@media (max-width: 767px) {
    .carousel{
        margin-top:0px;
    }
}
