/*
 * HTML5 Boilerplate
 *
 * 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 {
	
}

body {
	font-size: 1em;
	line-height: 1.4;
}

/*
 * 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 and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
html {
	background-color: #2e5e6a;
	background-image: url(../img/bg-tiling.jpg);
	background-repeat: repeat-y;
}
html.info { background:url(../img/bg-bottom.jpg) repeat; }


/* ==========================================================================
   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;
}

.container{
	width: 1050px;
	margin: 0 auto;
}

#wrapper{
	width: 100%;
	height: 100%;
	background:url(../img/bg-inside2.jpg) repeat-x;
}
#wrapper-index{
	width: 100%;
	height: 100%;
	background:url(../img/bg-1.jpg) repeat-x;
}
.header{
	position: relative;
	z-index: 999;
}

.logo{
	display: block;
	position: relative;
	top: 31px;
	width: 217px;
}

.top-nav.home{
	display: block;
}

.quicklink {
	float: right;
	margin-right: 8px;
}

.quicklink ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

.quicklink ul li{
	float: left;
	margin: 0 2px;
	padding: 5px;
}

#logo, #pagenav {
	float: left;
}

#logo {
	margin: 34px 0 0 0;
}

#pagenav {
	margin: 64px 8px 0 0;
	float: right;
}

#pagenav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#pagenav ul li{
	float: left;
	margin: 0px 0px 0px 5px;
	padding: 5px;
	background-color: #0a2933;
	color: #fff;
}
#pagenav ul li.active{
	background-color: #237d94;
}

#pagenav ul li:hover{
	background-color: #237d94;
}

#pagenav ul li a{
	color: #fff;
	text-decoration: none;
	display:block;
}

#pagenav ul li a.active{
	color: #00ffff;
	text-decoration: none;
}

#pagenav ul li a:hover{
	color: #00ffff;
	text-decoration: none;
}

#pagenav ul li span {
	display: inline-block;
	vertical-align: middle;
	font-size:11px;
	margin-right: 2px;
}

.top-nav.home{
	display: block;
}

.top-nav ul li{
	display: inline;
	color: #fff;
	background: #7ac7d4;
	padding: 5px;
}

.top-nav ul li.active{
	display: inline;
	color: #fff;
	background: #0d5f79;
	padding: 5px;
}

.top-nav ul li a{
	display: inline;
	color: #fff;
	text-decoration: none;
}

.top-nav ul li:hover{
	background: #0d5f79;
}

.top-nav ul li span{
	font-size: 12px;
}

.top-nav.home ul{
	list-style: none;
}

.top-nav.home ul li a{
	display: inline;
	color: #fff;
	text-decoration: none;
}

.top-nav.home ul li:hover{
	background: #0d5f79;
}

.top-nav.home ul li span{
	font-size: 12px;
}

.main-nav{
	float: right;
}

.main-nav.info{
	display: block;
	position: relative;
	top:-90px;
	float: right;
	
}

.main-nav ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav ul li{
	float: left;
	color: #fff;
	background: #0a2933;
	padding: 0;
	margin:0;
}

.main-nav ul li.active{
	display: inline;
	color: #00ffff;
	background: #237d94;
	padding: 15px 15px 21px;
	margin-left: 5px;
}

.main-nav ul li a{
	display: inline;
	color: #fff;
	text-decoration: none;
}

.main-nav ul li a.active{
	display: inline;
	color: #00ffff;
	text-decoration: none;
}

.main-nav ul li a:hover{
	color: #00ffff;
}

.main-nav ul li span{
	font-size: 16px;
}

.banner{
	position: relative;
}

.banner img{
	position: relative;
	z-index: 0;
	bottom: 75px;
}

#arrow-aboutus{
	position: absolute;
	width: 40px;
	margin: 40px;
}

#arrow-ep{
	position: relative;
	left: -82px;
	width: 40px;
	margin: 0 auto;
	bottom: 4px;
}

#arrow-civil{
	position: relative;
	left: 161px;
	width: 40px;
	margin: 0 auto;
	bottom: 4px;
}

#arrow-marine{
	position: relative;
	left: 31px;
	width: 40px;
	margin: 0 auto;
	bottom: 4px;
}

#arrow-contact{
	position: relative;
	left: 440px;
	width: 40px;
	margin: 0 auto;
	bottom: 4px;
}

#arrow-crude{
	position: relative;
	left: 309px;
	width: 40px;
	margin: 0 auto;
	bottom: 4px;
}

.banner .text{
	position: relative;
	color: #0a2933;
	bottom: 465px;
	opacity: 0;
	float: right;
	font-size: 28px;
	line-height: 100%;
	margin-right: 80px;
	
	-webkit-transition-duration: 0.5s;
	-moz-transition-duration: 0.5s;
	-ms-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	transition-duration: 0.5s;
}

.banner .text{
	position: relative;
	color: #0a2933;
	bottom: 465px;
	opacity: 1;
	float: right;
	font-size: 28px;
	line-height: 100%;
	margin-right: 80px;
}

.main-content{
	position: relative;
	margin-bottom: 0px;
}

.main-content .sidebar{
	position: absolute;
	left: 0px;
	top: 0px;
}

#quote{
	width: 220px;
	color: white;
	margin-left: 10px;
}

#quote .message{
	font-size: 20px;
	text-align: left;
	margin-right: 10px;
}

#quote .author{
	font-size: 14px;
	text-align: right;
	font-style: italic;
	margin-top: 10px;
}

.author#author-upstream{
	margin-right: 22px;
}

.author#author-aboutus{
	margin-right: 42px;
}

.author#author-marine{
	margin-right: 56px;
}

.author#author-civil{
	margin-right: 22px;
}

.main-content .breadcrumbs{
	position: relative;
	margin: 20px 0 -27px 18px;
}

.main-content .breadcrumbs-map{
	width: 980px;
	position: relative;
	margin: 35px 0 -36px 10px
}

.main-content .breadcrumbs img{
	margin-left: 220px;
	position: relative;
}

.main-content .breadcrumbs-map img{
	position: relative;
}

.main-content .breadcrumbs-map ul{
	position: relative;
	left: -30px;
	list-style: none;
	bottom: 43px;
}

.main-content .breadcrumbs-map ul li{
	display: inline;
	color: #fff;
	margin-right: 10px;
	font-size: 12px;
}

.main-content .breadcrumbs-map ul li.active{
	color: #00ffff;
}

.main-content .breadcrumbs-map ul li a{
	text-decoration: none;
	color: #fff;
}

.main-content .breadcrumbs-map ul li a.active{
	color: #00ffff;
	text-decoration: none;
}

.main-content .breadcrumbs ul{
	position: relative;
	margin-left: 190px;
	list-style: none;
	bottom: 43px;
}

.main-content .breadcrumbs ul li{
	display: inline;
	color: #fff;
	margin-right: 10px;
	font-size: 12px;
}

.main-content .breadcrumbs ul li a{
	color: #fff;
	text-decoration: none;
}

.main-content .breadcrumbs ul li a.active{
	color: #00ffff;
	text-decoration: none;
}

.main-content .info{
	width: 752px;
	background :#ecf5f7;
	position: relative;
	margin: 130px 0 0 239px;
	top: -120px;
}

.content-info #director-list{
	width: 670px;
	margin: 0 auto;
}

.content-info #image-chart{
	margin: 30px auto 0;
}

.content-info #director-list ul{
	list-style: none;
}

.content-info #director-list ul li{
	margin: 10px auto;
}

.content-info #director-list ul li.middle{
	border-top: 1px dashed #a1a1a1;
	border-bottom: 1px dashed #a1a1a1;
	padding: 10px 0;
}

.content-info #director-list ul li.top{
	border-bottom: 1px dashed #a1a1a1;
	padding: 10px 0;
}

.content-info #director-list ul li .director-photo{
	display: inline-block;
	width: 211px;
}

.content-info #director-list ul li .director-photo img{
	border: 8px solid #69d3e6;
}

.content-info #director-list ul li .director-details{
	vertical-align: bottom;
	display: inline-block;
	width: 350px;
}

.content-info #director-list ul li .director-details .name{
	font-weight: bold;
}

.content-info #director-list ul li .director-details .details{
	font-style: italic;
}

.main-content .content-nav{
	position: absolute;
	left: -41px;
}

.main-content .content-nav ul{
	list-style: none;	
}

.main-content .content-nav ul li{
	width: 241px;
	height: 34px;
	background: #47747a;
}

.main-content .content-nav ul li:hover{
	cursor:pointer;
}

.main-content .content-nav ul li.active{
	background: #ecf5f7;
	border-top: 1px dashed #47747a;
	border-bottom: 1px dashed #47747a;
}

.main-content .content-nav ul li.bottom-border{
	border-bottom: 1px dashed #fff;
}

.main-content .content-nav ul li.top-border{
	border-top: 1px dashed #fff;
}

.main-content .content-nav ul li a{
	position: relative;
	color: #fff;
	font-size: 14px;
	margin-right: 20px;
	vertical-align: middle;
	text-decoration: none;
	float: right;
	top: 8px;
}

.main-content .content-nav ul li a.active{
	color: #000;
	font-weight: bold;
}

.main-content .info-map{
	width: 980px;
	background :#ecf5f7;
	position: relative;
	margin: -10px 0 110px 10px;
}

.main-content .info-sales{
	width: 980px;
	background :#ecf5f7;
	position: relative;
	margin: -10px 0 110px 10px;
}

.info-map .wrapper-map {
	width: 924px;
	padding: 10px;
	margin: 0 auto;
	background: #fff;
}

.info-sales .wrapper-sales {
	width: 924px;
	padding: 10px;
	margin: 0 auto;
	background: #fff;
	height: 650px;
}

.info-map .content-info-map{
	padding: 0px 0px 18px 0px;
}

.info-sales .content-info-sales{
	padding: 0px;
	height: 750px;
}

.info .content-info{
	padding: 40px;
}

.content-info .title{
	font-size: 30px;
	color: #1e93ac;
	font-weight: bold;
}

.content-info-map .title{
	font-size: 30px;
	color: #1e93ac;
	font-weight: bold;
	padding-left: 40px;
	padding-top: 20px;
}

.content-info-sales .title{
	font-size: 30px;
	color: #1e93ac;
	font-weight: bold;
	padding-left: 40px;
	padding-top: 20px;
}

.wrapper-map .main-map{
	width: 915px;
	height: 515px;
	margin: 0 auto;
	background: #449799;
	padding-top: 8px;
}

.content-info-sales .wrapper-sales .main-sales{
	width: 915px;
	height: 515px;
	margin: 0 auto;
	background: #449799;
	padding-top: 8px;
}

/*.main-map-address img{
	position: relative;
	top: -130px;
	left: 264px;
}*/
#pointer{
	width: 53px;
	position: absolute;
	left: 447px;
	z-index: 999;
	top: 350px;
}

#pointer-sales{
	width: 53px;
	position: absolute;
	left: 447px;
	z-index: 999;
	top: 350px;
}

.main-map-address{
	background: url(../img/bg-address.jpg) repeat-x;
	width: 671px;
	position: relative;
	top: -160px;
	left: 264px;
	padding: 8px 0 4px 0;
}

.crude-address{
	width: 671px;
	position: relative;
	padding: 4px 0 4px 0;
	margin: 0 auto;
}

.main-map-address .text{
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
	margin: 10px 10px 10px 30px;
}

.main-map-address ul, .crude-address ul{
	list-style: none;
	margin-left: -10px;
}

.main-map-address ul li, .crude-address ul li{
	display: inline-block;
	margin-right: 40px;
	vertical-align: top;
}

.main-map-address ul li.number{
	margin-right: 10px;
}

.main-map-address ul li .address-info, .list-map ul li .address-info, .crude-address ul li .address-info{
	display: inline-block;
}

.wrapper-map .list-map ul li .address-info#right{
	margin-right: 60px;
}

.address-info .address-header{
	font-size: 12px;
	color: #3a9cb0;
}

.address-info .address{
	font-size: 14px;
	color: #6d6e71;
	margin-top: 5px;
}

.address-info .address a{
	font-size: 14px;
	color: #459597;
	margin-top: 5px;
	text-decoration: underline;
}

.address-info .address a:hover{
	color: #06343f;
}

.wrapper-map .list-map{
	background: #fff;
	width: 914px;
	position: relative;
	padding: 8px 0 4px 0;
	margin-top: -156px;
}

.wrapper-map .list-map ul{
	list-style: none;
	border-top: 1px dotted #000;
}

.wrapper-map .list-map ul.last-map{
	margin-bottom:10px;
}

.wrapper-map .list-map ul li{
	display: inline-block;
	margin: 30px 19px 10px 0px;
	vertical-align: top;
}

.wrapper-map .list-map ul li.map{
	margin: 0px 48px 0px -40px;
	vertical-align: top;
	border-top: 6px solid #449799;
}

.list-map ul li.number{
	margin-right: 20px;
}

.wrapper-map .list-map ul li ul.sub-list{
	list-style: url(../img/2.jpg);
}

.content-info .text{
	font-size: 14px;
	margin: 20px 0;
}

.content-info .marine-banner{
	width: 662px;
	height: auto;
	background: #fff;
}

.content-info .location{
	width: 660px;
	height: auto;
	background: #fff;
	margin: 0 auto 20px;
	
}

.content-info .company-logo-container{
	width: 620px;
	margin: 0 auto;
	height: auto;
	background: #fff;
	border: 1px solid #1e93ac;
	padding: 18px;
}

.content-info .company-logo-container-2{
	width: 380px;
	margin: 0 auto;
}

.company-logo-container .company-logo, .company-logo-container-2 .company-logo{
	display: inline-block;
	width: auto;
	height: auto;
	background: #fff;
	vertical-align: middle;
	margin-left: 14px;
}

.company-logo-container .left-logo{
	margin-left: 10px !important;
}

.company-logo-container .company-logo img{
	margin: 0 auto;
	display: block;
}
.content-info .civil-image,{
	width: 640px;
	margin: 0 auto;
}

.content-info .ep-image{
	width: 634px;
	margin: 0 auto;
}

.civil-image .image{
	display: inline-block;
	width: 315px;
	height: auto;
	margin-right: 5px;
	background: #fff;
}

.ep-image .image{
	display: inline-block;
	width: 315px;
	height: auto;
	background: #fff;
}

.content-info .marine-image{
	width: 670px;
	margin: 0 auto;
}

.marine-image .image{
	display: inline-block;
	width: 314px;
	margin-right: 14px;
	height: auto;
	background: #fff;
}

.content-info .info-point{
}

.info-point ul{
	list-style:url(../img/liquid-point.png);
}

.info-point ul li{
	font-size: 14px;
	margin-top: 8px;
}

.sub-menu{
	position: relative;
	z-index: 999; 
	width: 680px;
	/*margin: 0 -4px;*/
}

.sub-menu ul {
	margin-left:-36px;
}

.sub-menu ul li{
	list-style: none;
	display: inline-block;
	margin-right: 1px;
	width: 200px;
	padding: 10px;
	background: #3a9cb0;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	vertical-align: bottom;
	
}

.sub-menu ul li .sub-title{
	font-size: 14px;
}

.sub-menu ul li .sub-content{
	display: block;
}

.sub-content .read-more{
	margin-top: 5px;
}

.sub-content .read-more a{
	position: relative;
	font-size: 12px;
	margin-top: 5px;
	color: #fff;
}

.sub-content .sub-text{
	margin-top: 5px;
	font-weight: normal;
}

.sub-content .sub-icon{
	position: relative;
	top: 23px;
	
	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	transition: all 200ms linear;
}

.sub-menu ul li span{
	display: block;
	opacity: 0;
	width:219px;
	position: relative;
	height: 8px;
	background: #01313d;
	left: -10px;
	bottom: -10px;
	
	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	transition: all 200ms linear;
}

.sub-menu ul li:hover span{
	opacity: 1;
}

.sub-menu ul li:hover .sub-content .sub-icon{
	top: 15px;
}

.footer{
	position: relative;
	top: -100px;
}

.footer .copyright{
	margin-left: 630px;
}

.footer .copyright span{
	color: #fff;
	font-size: 12px;
}
/*
 * 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 screen and (max-width: 1024px){
	#wrapper{
		width: 1000px;
		height: 100%;
		background:url(../img/bg-inside2.jpg) repeat-x;
	}
}
@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;
    }
}