/*
 * 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 {
    color: #222;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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
   ========================================================================== */
#container {
	width: 888px;
	background-color:#FFF;
	margin:auto;
	margin-top:5px;
	margin-bottom:5px;
	width:100%;
	min-width:800px;
	max-width:1024px;
	border:1px solid #808080;

	
}

body { 	min-height:1024px;  
 background: #aaa; /* Old browsers */
    background: -moz-linear-gradient(top, #aaa 0%, #fff 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, top,bottom, color-stop(0%,#aaa), color-stop(100%,#fff)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #aaa 0%,#fff 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #aaa 0%,#fff 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #aaa 0%,#fff 100%); /* IE10+ */
    background: linear-gradient(top, #aaa 0%,#fff 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#ED9393',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	}

	
.column-left{ float: left; width: 25%;line-height:300%; }
.column-right{ float: right; width: 25%; line-height:300%;}
.column-center{ display: inline-block; width: 45%; }	
.column-center img {display:block;margin:auto;}
	
.trailer-column-left{width: 50%;line-height:100%;
						border:2px #ef572b solid;
						margin-top:30px;}
.trailer-column-right{ float: right; width: 49%; line-height:300%;margin-top:30px;}
.trailer-column-right img {display:block;margin:auto;}
.trailer-column-left ul {list-style-type: square;}
.trailer-column-left li {padding-bottom:10px;}

.office-column-left{width: 40%;line-height:100%;
						border:none;}
.office-column-right{ float: right; width: 58%; line-height:300%;}
.office-column-right img {display:block;margin:auto;}
.office-column-left ul {list-style-type: square;}
.office-column-left ul ul {list-style-type: circle;}
.office-column-left li {margin-bottom:10px;}

	
#mainnav {clear:both;
		border-bottom:10px #ef572b solid;
		background:#808080}
		
	

#bottom {clear:both;
		border-top:10px #ef572b solid;
		padding:10px 0px;
		margin:0px;
			font-size:.8em;
	text-align: center;
		background:#808080;
		color:#ef572b;
}

#bottom p {margin:0px;
					font-weight:bold;
		font-size:187.5%;
		color:white;
					text-align:right;
			padding-right:20px;}
		
#bottom a:link	{color:black;}
#bottom a:visited {color:black;}
#bottom a:hover {color:#ef572b;}

		
h3 {color:#ef572b;
	padding-bottom:15px;
	padding-top:15px;
	clear:both;
	}
	
h4 	 {color:#ef572b;
margin:0px;}

.textElement1		 {
	font: bold 24px 'Droid Sans', Verdana, Helvetica, sans-serif;
	line-height:34px;
	color:white;
}

.textElement1a		 {
	font: bold 24px 'Droid Sans', Verdana, Helvetica, sans-serif;
	line-height:34px;
	color:white;
}


.textElement2	 {
	font: bold 24px 'Droid Sans', Verdana, Helvetica, sans-serif;
	text-transform:uppercase;
	line-height:34px;
	background::#ef572b;
	color:blue;
}
				
.textElement3	 {
	font: bold 24px 'Droid Sans', Verdana, Helvetica, sans-serif;
	text-transform:uppercase;
	line-height:34px;
	color:orange;
}			


#topphoto  img {width:100%;
			}

#nlmsfoooter {clear:both;
		border-top:10px #ef572b solid;
		background:#808080;}	

#headerphone {float:right;
			padding-top:43px;
			padding-left:10px;
			padding-right:50px;}
			


.hideit {display:none;}
.showit	{display:screen;}
.contacttext {text-align:left;
			padding-top:0px;
			margin-top:0px;
			 padding-left:0px;}
		
#logo {	padding-left:30px;
    margin-right: 20px;
	padding-top:49px;
	float:left;
}

#nlmsfoooter {clear:both;
		border-top:10px #ef572b solid;
		background:#808080;}	


#logoarea p {color:#000;
		text-align:right;
		width:490px;
		font-weight:bold;
		bottom:13px;
		clear:left;
		margin-bottom:0px;
		margin-left:30px;
		position:relative;
		}
		




#headerphone p	{color:black;
				text-align:left;
				margin-left:0px;
				margin-top:15px;
				width:100%;
				}

#headerphone a	{padding-left:5px;}				
				
.grey-menu {
    background-color: #f6260a;
    border-bottom: 5px solid #c00;
    padding: 0 0;
	height:50px;
    width: 100%;
	}

header {
    margin: 2px 0 2px;
}

header h1 {
    font-family: "Verdana", Helvetica, sans-serif;
    font-weight: normal;
    color: #3979AF;
	margin: 0 20px;
}

#mainnav {padding-left:30px;}

#content{

	margin: 0 53px;
}


	
#container h2 {
    font-family: "Verdana", Helvetica, sans-serif;
    font-weight: normal;
    color: white;
	margin-top:0px;
    padding: 0 30px;
	background: #333; /* Old browsers */
    background: -moz-linear-gradient(45deg, #333 0%, #aaa 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#333), color-stop(100%,#aaa)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(45deg, #333 0%,#aaa 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(45deg, #333 0%,#aaa 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(45deg, #333 0%,#aaa 100%); /* IE10+ */
    background: linear-gradient(45deg, #333 0%,#aaa 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#ED9393',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.wireframeimage img{
	max-width:940px;
}

figure img	{margin:auto;

		}


figcaption {margin: 0;
		text-align: center;
		font-style: italic;
		line-height: 1em;
		}

.header_button img {float:right;
				
				margin-top:70px;
				padding-right:30px;
				}
		
figcaption p {margin-top:2px}

		
td		{text-align:left;
		vertical-align:top;
		padding-left:40px;
		}
		
td ul		{padding-left:50px;
		padding-top:0px;
		margin:0px;}

#validators {
	text-align:center
}

#validators img{
	width:64px;
	height:64px;
}

/* nav - CHANGE ACCORDINGLY TO THE DESIGN OF THE SITE */



.nav {

	height:55px;

}



.nav ul #nav_home,

.nav ul #nav_about,

.nav ul #nav_operations,

.nav ul #nav_investor,

.nav ul #nav_contact {

	position:relative;

	float:left;

}



.nav ul li a {

	display:block;

	height:55px;

	text-indent:-9999px;

	overflow:hidden;

	background:url(../images/layout/nav/main.gif) no-repeat;

}



.nav ul #nav_home a {width:31px;background-position:0 0;}

.nav ul #nav_home a:hover, .nav ul #nav_home a.nav_active {background-position:0 -55px;}



.nav ul #nav_about a {width:59px;background-position:-31px 0;}

.nav ul #nav_about a:hover, .nav ul #nav_about a.nav_active {background-position:-31px -55px;}



.nav ul #nav_operations a {width:89px;background-position:-90px 0;}

.nav ul #nav_operations a:hover, .nav ul #nav_operations a.nav_active {background-position:-90px -55px;}



.nav ul #nav_investor a {width:133px;background-position:-179px 0;}

.nav ul #nav_investor a:hover, .nav ul #nav_investor a.nav_active {background-position:-179px -55px;}



.nav ul #nav_contact a {width:71px;background-position:-312px 0;}

.nav ul #nav_contact a:hover, .nav ul #nav_contact a.nav_active {background-position:-312px -55px;}





.nav ul #nav_operations #nav_operations_dropdown,

.nav ul #nav_investor #nav_investor_dropdown {

	position:absolute;

	top:55px;

	z-index:100;}

.nav ul #nav_operations #nav_operations_dropdown {width:110px;}

.nav ul #nav_investor #nav_investor_dropdown {width:160px;}



/*removes flicker in ie */

.nav ul #nav_operations_slide,

.nav ul #nav_investor_slide {

	display:none;}



.nav ul li ul li {

	line-height:15px;}



.nav ul #nav_operations ul li a,

.nav ul #nav_investor ul li a {

	background-image:none;

	color:#fff;

	height:auto;

	font-size:11px;

	padding:5px 5px 5px 14px;

	text-indent:0;

	width:137px;

	opacity:0.90;

	background:#686f74;}



.nav ul #nav_operations ul li.last a,

.nav ul #nav_investor ul li.last a  {

	padding-bottom:10px;}



.nav ul #nav_operations ul li a:hover,

.nav ul #nav_investor ul li a:hover { 

	color:#fff;

	opacity:1.00;

	background:#00467f;}









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

/*
 * 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.
   Theses 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 only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* 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;
    }
}
