html
{
    background-color: #000000;
    background-image: url(../images/body_bg.jpg);
    background-repeat: repeat-x;    
}

body 
{
    color: #000000;
    font-size: 93%;
    margin-top:10px;
    margin-bottom: 0px;	
}

th, td
{
	border: none;
}

td
{
		vertical-align:top;
}

#doc3
{
    background-color: Black;
    min-width: 975px;
	margin-bottom: 0px;
	padding-bottom: 0px;
    /* min-width for IE */
	width:expression(document.body.clientWidth < 1004 ? "975px" : "auto" );
}

#doc3inner
{
    background-color: White;
}

#hd
{
    background-image: url(../images/hd_back.jpg);
    background-repeat: no-repeat;
    background-position: right bottom;
    margin-right: 5px;
}

#logo
{
    margin-top: 10px;
    margin-left: 10px;
}

#topMenu
{
    margin-top: 10px;
    margin-right: 5px;
    float: right;
    width: 45em;
}

#imgbnr
{
    /*background-image: url(../images/refinery_banner.jpg);
    background-repeat: repeat-x; */   
    border-bottom: solid 1px #adadad;
    margin-bottom: 5px;
    margin-right: 0px;
    width: 100%;
    overflow: hidden;
}

#subpage #imgbnr
{
    background-image: url(../images/subpagebanner.jpg);
}

#scrollingImages
{
    overflow: hidden;
    height: 76px;
    margin-top: 2px;
    margin-left: -50px;
    margin-right: -150px;
    margin-bottom: 2px;
    padding: 0;    
}

#scrollingImages li
{
    float: left;
		list-style: none;
    
}

#sidebar
{
    margin-left: 5px;
    border: solid 1px #adadad;
    margin-bottom: 5px;
}

#sidebar ul
{
    margin:0px;
    padding: 0px;
}

/*SIDENAV*/

#sidebar li a
{
    padding: 10px 10px;
    text-decoration:none;    
    color: #4f4f4f;
    font-size: 93%;
    font-weight: bold;
    display: block;
    margin: 0px;
}

#sidebar li a:hover
{
    background-color: #013cc1;
    text-decoration: none;
    color: #fff; 
}

#sidebar .selected /*LI STYLE*/
{
    background-color: #013cc1;
    color: #fff
}

#sidebar .selected a /*LINK STYLE */
{
    text-decoration: none;
    color: #fff; 
}

/* IE hacks */
#sidebar li
{
    list-style-type: none;
    margin:0px;
    padding: 0px;
    display: inline;   
}

#sidebar li a 
{
    _zoom: 1;  
}


#mainContent
{    
    border: solid 1px #adadad;
    margin-right: 189px;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 5px;
}

#subpage #content
{
    border: solid 1px #adadad;
    margin-right: 5px;
    margin-bottom: 5px;      
}

#subpage #mainContent
{
    border: none;
    margin-right: 5px;
}

a:visited
  {
	color: #013cc1;
	}
	
a:link  {
	color: #013cc1;
	}

a:hover 
{
	color: #333333;
}

h1
{
    margin-top: 5px;
    margin-bottom: 12px;
		font-family: Arial Narrow, Arial, Helvetica, sans-serif;
    color: #013cc1;
    font-size: 185%;
    font-weight: normal;
}

h2
{
    color: #b1173b;
		font-family: Arial Narrow, Arial, Helvetica, sans-serif;
    font-size: 170%;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: normal;
}



h3
{
	color: #013cc1;
	font-size: 132%;
	margin-top: 5px;
	margin-bottom: 5px;
}

h4
{
    color: #b1173b;
		font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 115%;
    margin-top: 5px;
    margin-bottom: 5px;
		font-weight: bold;
}



h5
{
    color: #b1173b;
		font-family: Arial Narrow, Arial, Helvetica, sans-serif;
    font-size: 130%;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: normal;
		font-style:italic;
}

h6
{
    color: Black;
}

#mainContent .smallTxt {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
}

#mainContent .smallTxtMiddle {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: center;
}

#newsSection
{
    width: 163px;
    float: right;
    background-color: #eeeeee;
    padding-left: 5px;
    padding-right: 5px;
    margin-left:5px;
    margin-right: 5px;
    border: solid 1px #adadad;
    margin-bottom: 5px;
    
}

#newsSection h1
{
    color: #4f4f4f;
    font-size: 161.6%;
    margin-top: 5px;
    margin-bottom: 0px;
}

#newsSection h2, #newsPage h2
{
    color: #013cc1;
    font-size: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
}

#newsSection h3
{
    color: #b1173b;
    font-size: 110%;
    margin-top: 5px;
    margin-bottom: 0px;
}

#newsSection hr
{
    color: White;
    border-style: solid;
    padding: 0 10px 0 10px;    
}

#newsSection p
{
    font-size: 85%;
    margin-bottom: 5px;
}

#newsSection a
{
    color: #013cc1;
    text-decoration: none;
}
#ftbar
{
    /*background-image: url(../images/ft_right.gif);
    background-repeat: no-repeat;
    background-position: right 3px;*/
    background-color: #0131b5;
    *margin-bottom:-3px;
    padding-bottom:0px;
}

#ftcontent
{
    background-color: Black;
    color: #777777;
    font-size: 77%;
    text-align: center;
}

#ftcontent a
{
    color: White;
    text-decoration: none;
}

#copyright a
{
    color: #777777;
}

#ftcontent li.first
{
    border: none;
}

#ftcontent p
{
    padding-bottom: 0px;
    margin-bottom: 3px;
}

#ftcontent #bottomLinks
{
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 8px;
}



/*CMS Styles*/
.modalPopup
{
    text-align: center;    
    background-color: #ffffdd;
    border: solid 3px Gray;
    padding: 3px;
    width: 375px;
}

.modalPopup td
{
    border: none;
}

.modalBackground {
	background-color:Gray;
	filter:alpha(opacity=70);
	opacity:0.7;
}

.validatorCalloutHighlight 
{
    background-color: lemonchiffon; 
}

#contactForm table
{
    margin-bottom: 0px;
}

#contactForm td
{
    padding: 0;
}

.requiredInd
{
    font-weight: bold;
    color: Red;
}

ul li {
	/*giving UL's LIs generated disc markers*/
	/*list-style: outside circle;*/
}

.products	{
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	color: #292929;
	font-size: 12px;
	font-weight: normal;
	}
	
.rulerC	{
 background-color: #adadad;
 border: thin;
 height: 1px; 
 color: #adadad;
 }
 
.imgBrdr	{
	padding: 1px;
	background-color: #adadad;
	margin: 5px 10px 5px 10px;
	}

.imgBrdrNoPad	{
	padding: 1px;
	background-color: #adadad;
	margin: 0;
	}
	
.imgNoBrdr	{
	padding: 1px;
	margin: 15px 10px 15px 10px;
	}
	
/* jqModal base Styling courtesy of;
	Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
	the Window's z-index value will be set to 3000 by default (in jqModal.js). You
	can change this value by either;
	  a) supplying one via CSS
	  b) passing the "zIndex" parameter. E.g.  (window).jqm({zIndex: 500}); */
	
.jqmWindow {
    display: none;
    
    position: fixed;
    top: 17%;
    left: 50%;
    
    margin-left: -300px;
    width: 600px;
    
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
}

.jqmOverlay { background-color: #000; }

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

/* Buttons and CSS for the home page cycling image */
#projectSamplesSlider
{
    /*background-image: url(../images/project-sample-bg.jpg);
    background-repeat: no-repeat;*/
}

.scroll
{
    height: 246px;    
}

.scrollContainer div.panel
{
    height: 279px;
    width: 296px;          
}

#photoslider
{
    width: 375px;
}


#photoslider .panel
{
    padding: 8px 0px 0px 8px;
}

#photoslider .panel .caption
{
    font-size: 116%;
    font-weight: bold;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
}

#buttons
{
    height: 35px;
    margin: 10px;
}

#buttons li
{
    float: left;
    padding: 4px;
    list-style-type: none;
}

#buttons li a
{
    padding: 2px 0px;
    font-size: 116%;
    font-weight: bold;
    display: block;
    color: White;
    text-decoration: none;
		/* taking out the buttons per takeover request */
    /*background-image: url(../images/button-bg.gif); */
}

#buttons li a:hover
{
    background-position: 0 -26px;
    text-decoration: none;
}

#buttons li a.selected
{
    background-position: 0 -26px;
}

#floatMenu {
    position:absolute;
}

div.printbutton
{
    width:20px;
    padding: 10px;
    float: right;
}

#sidebar
{
    position: relative;    
}

#sideMenuWrapper
{
    position: absolute;
    *zoom: 1;
    width: 100%;    
}