/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
    color: #222;
    margin: 0;
    padding: 0;
}

html {
    font-size: 1em;
    line-height: 1.4;
}
ul {
	list-style-type: none;
}
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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

body {
	background: url("../img/pgbg.jpg") repeat;
	text-align: center;
}
.strip {
	width: 100%;
	height: 5px;
	background: #001896;
}
.wrapper {
	width: 1000px;
	height: inherit;
	margin: 0 auto;
}
#header {
	height: 155px;
	width: 100%;
	float: left;
	
}
.banner {
	overflow: hidden;
	width: 100%;
	height: 362px;
	margin-bottom: 40px;
	z-index: 1;
	background: #000;
}
.banner .slider {
	position: relative;
}
.banner .slider ul {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	height: 362px;
	overflow: hidden;
	position: relative;
}
.banner .slider ul li {
	position: absolute;
	top: 0;
	left: 50%;
}
.banner .slider .dots:after {
	display: table;
	clear: both;
	content: "";
}
.banner .slider .dots {
	position: absolute;
	bottom: 20px;
	left: 23%;
	z-index: 40;
 *zoom: 1;
}
.banner .slider .dots a {
	display: block;
	float: left;
	width: 80px;
	height: 12px;
	margin-right: 10px;
	text-indent: -9999em;
	background: #222;
}
.banner .slider .dots a:hover {
	background: #001896;
}
.banner .slider .dots .cur {
	background: #001896;
}
.banner .slider .arrow {
	width: 65%;
	position: absolute;
	top: 20%;
	left: 18%;
	z-index: 50;
}
.banner .slider .arrow a {
	font-family: "Microsoft YaHei";
	font-size: 34px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	position: relative;
	top: 80px;
}
.banner .slider .arrow a:hover {
	color: #001896;
}
.banner .slider .arrow .btn-left {
	float: left;
}
.banner .slider .arrow .btn-right {
	float: right;
}
#logo {
	margin-top: 55px;
	width: 311px;
	height: 75px;
	text-indent: -9999px;
	float: left;
	background: url("../img/logo.png") repeat;
	display: block;
}
#menu {
	margin-top: 55px;
	width: 657px;
	height: 45px;
	background: url("../img/header-menu-bg.png") no-repeat;
	float: right;	
}
#menu ul {
	margin: 16px 0 0 30px;
	padding: 0;
	position: relative;
	top: -16px;
	left: -10px;
}
#menu ul li {
	float: left;
	font-size: 14px;
	padding: 12px 15px;
	height: 5px;
	color: #fff;
	display: inline;
	padding: 15px 23px 24px;
	border-left: 1px solid #c1c1c1;
}
#menu ul li a, #menu ul li a:visited {
	color: #333;
	text-decoration: none;
}
#menu ul li a:hover, #menu ul li:hover a {
	color: #fff;
	text-decoration: none;
}
#menu ul li:hover {
	background: url("../img/header-menu-hover.png")
}
#menu ul li.active {
	background: url("../img/header-menu-hover.png");
}
#menu ul li.active a {
	color: #fff;
}
#hero {
	height: 405px;
	width: 100%;
	float: left;
	background: url("../img/shadow.png") bottom center no-repeat;
}
#page-services #hero, #page-branches #hero, #page-supplier #hero, #page-manufacturer #hero, #page-contact #hero, #page-about #hero {
	height: 180px;
	width: 100%;
	float: left;
	background: url("../img/shadow.png") bottom center no-repeat;
}
#page-services #hero .slide1, #page-branches #hero .slide1, #page-supplier #hero .slide1, #page-manufacturer #hero .slide1, #page-contact #hero .slide1, #page-about #hero .slide1 {
	background: url("../img/hero-slide-bg.jpg") center no-repeat;
	width: 100%;
	height: 138px;
}
#page-services #hero .slide1 {
	background: url("../img/hero-slide-bg-1.jpg") center no-repeat;
	width: 100%;
	height: 138px;
}
#page-branches #hero .slide1 {
	background: url("../img/hero-slide-bg-2.jpg") center no-repeat;
	width: 100%;
	height: 138px;
}
#page-about #hero .slide1 {
	background: url("../img/hero-slide-bg-3.jpg") center no-repeat;
	width: 100%;
	height: 138px;
}
#page-contact #hero .slide1 {
	background: url("../img/hero-slide-bg-4.jpg") center no-repeat;
	width: 100%;
	height: 138px;
}
#hero .slide1 {
	background: url("../img/hero-slide-bg.jpg") center no-repeat;
	width: 100%;
	height: 362px;
}
#hero .slide-text {
	font-size: 18px;
	color: #fff;
	line-height: 27px;
	background: url("../img/hero-text-bg.png") no-repeat;
	width: 400px;
	height: 362px;
	float: left;
	padding: 0 200px 0 30px;
	text-align: left;
}
#page-services #hero .slide-text, #page-branches #hero .slide-text, #page-supplier #hero .slide-text, #page-manufacturer #hero .slide-text, #page-contact #hero .slide-text, #page-about #hero .slide-text {
	font-size: 18px;
	color: #fff;
	line-height: 27px;
	background: url("../img/subpage-text-bg.png") no-repeat;
	width: 400px;
	height: 138px;
	float: left;
	padding: 0 200px 0 30px;
	text-align: left;
}
#hero h2 {
	font-weight: bold;
	font-size: 32px;
}
#hero h2 span {
	font-size: 18px;
	font-weight: normal;
	text-transform: uppercase;
}
#hero #selectors {
	position: relative;
	bottom: 90px;
}
#hero .learn-more {
	position: relative;
	right: -308px;
	bottom: -4px;
}
#sidebar {
	width: 255px;
	height: 500px;;
	float: left;
}
#c2a {
	margin-top: 40px;
	clear: both;
	width: 100%;
	float: left;
	color: 
}
#c2a ul {
	margin: 0;
	padding: 0;
}
#c2a ul li {
	width: 200px;
	float: left;
}
#col1 {
	float: left;
	width: 660px;
	margin-left: 85px;
}
#col1 h3 {
	text-align: left;
	text-transform: uppercase;
	font-weight: normal;
}
#col1 p {
	text-align: left;
}
#sidebar {
	background: url("../img/sidebar-bg-bottom.png") bottom center no-repeat;
	height: inherit;
}
#browse {
	background: url("../img/sidebar-bg-repeaty.png") top center repeat-y;
	width: 255px;
	height: 200px;
	padding-bottom: 20px;
}
#browse ul {
	padding-top: 60px;
	background: url("../img/sidebar-bg-top.png") top center no-repeat;
	position: relative;
	top: -5px;
	margin: 0;
}
#browse ul li {
	margin: 0;
	padding: 0;
	list-style-image: url("../img/sidebar-item-bullet.jpg");
	float: left;
	clear: both;
	line-height: 30px;
}
#browse ul li:hover {
	list-style-image: url("../img/sidebar-item-bullet-hover.jpg");
}
#browse ul li a {
	position: relative;
	padding-left: 0px;
	text-align: left;
	font-size: 16px;
	color: #666;
	text-decoration: none;
	display: block;
	width: 100%;
	
}
#browse ul li a:hover {
	color: #303962;
	list-style-image: url("../img/sidebar-item-bullet-hover.jpg") no-repeat;
}
#footer {
	margin-top: 80px;
	padding-bottom: 40px;
	color: #fff;
	clear: both;
	width: 100%;
	background: url("../img/footer-bg.jpg") no-repeat;
	overflow: hidden;
}
#footer h4 {
	margin: 0;
	padding: 0;
	padding-top: 20px;
	text-align: left;
}
#footer p {
	text-align: left;
	font-size: 12px;
}
#footer img {
	padding-top: 10px;
	float: left;

}
#footer ul {
	float: left;
	margin: 0;
	padding: 0;
	padding-top: 15px;
}
#footer a {
	font-size: 12px;
	color: #fff;
	text-decoration: none;
}
#footer  a:hover {
	color: #619dd5;
}
#footer ul li {
	margin: 0;
	padding: 0;
	line-height: 13px;
	text-align: left;
}
.col320 {
	width: 320px;
	float: left;
}
.col225 {
	width: 225px;
	float: left;
}
.col190 {
	width: 190px;
	float: left;
}
#footer .field {
	width: 235px;
	height: 29px;
	background: url("../img/footer-newsletter-field-bg.png") no-repeat;
	opacity: 0.6;
    filter: alpha(opacity=60);
	
}
#footer .field:hover, #footer .field #email:focus > #footer .field {
	opacity: 1;
    filter: alpha(opacity=100);
}
#footer #email {
	background: transparent;
	border: none;
	outline: 0;
	font-size: 14px;
	color: #fff;
	opacity: 0.6;
}
#footer #email:focus {
	border: none;
	outline: 0;
}
#footer #submit {
	position: relative;
	top: 5px;
	background: url("../img/footer-newsletter-submit.png") top center no-repeat;
	width: 11px;
	height: 17px;
	border: 0;
	outline: 0;
}
#footer #submit:hover {
	background: url("../img/footer-newsletter-submit.png") bottom center no-repeat;
	width: 11px;
	height: 17px;
	border: 0;
	outline: 0;
}


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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

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

    h2,
    h3 {
        page-break-after: avoid;
    }
}
