/* Global
------------------------------------------------------------------------------------------ */
	
body {
	background:#fff;
	color:#333333;
	font: 12px Arial, Helvetica, sans-serif; }

dt {
	margin:0 0 2px; }
	
dd {
	margin:0 0 15px; }
	
	
div.clear{
	clear:both;
}

div.clear-sub-nav-railcars{
    clear:both;
    margin-bottom: 5px;
    display: none;
}

table tr td{
	padding:0;
}
	
/* Layout
------------------------------------------------------------*/
/* Layout
------------------------------------------------------------------------------------------ */

body {
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size:.75em;
	background-color:#CCC;
}

#container {
	margin:0 auto;
	padding:0;
	position:relative;
	width:99%;
}

	#container #top {
		width:100%;
		height:8px;
	}
	
	#container #bottom{
		background:url(/images/bg-content-bottom.png) no-repeat;
		height:6px;
	}
	
	#container .footer {
		color:#CCC;
		text-align:center;
		line-height:2;
	}
	
	#container #main {
		background:#fff;
		border:5px  solid #eaeaea;
	}
	
		#container #main #content {
			width:100%;
			

		}
		
			#content .header {
				width:100%;
				background-color:#124b07;
				padding:0;
				margin:0;
				height:70px;
				color:#fff;
			}
			
				#content .header h1{
					font-size:1.8em;
					font-weight:bold;
					color:#FFF;
					position:relative;
					top:20px;
					left:10px;
				}
			
				#content .header .header-links {
					float:right;
					position:relative;
					top: -25px;
					right:10px;
					
				}
				
				#content .header .header-links a{
					color:#fff;
					text-decoration:none;
					
				}
			

/* Primary Form field layout ----------
-------------------------------------------------------------------------------------------*/
form ul.fields {
    margin-top: 5px;
    overflow: hidden;
}
form ul.fields li {
    display: block;
    margin-bottom: 4px;
    overflow: hidden;
}
form ul.fields label {
    color: #222222;
    display: block;
    float: left;
    font-weight: bold;
    margin-right: 5px;
    text-align: right;
    vertical-align: middle;
    width: 100px;
	padding-top:1px;
}

form ul.fields-user label {
    width: 176px; !important
}

form ul.order-fields label {
    width: 105px;
}

form ul.fields input, form ul.fields textarea {
    background-color: #FBFBFB;
    border: 1px solid #D1D7DE;
}

form ul.fields input.date {
	background-image:url(../images/calendar_view_month.png);
	background-position:right;
	background-repeat:no-repeat;
	
}

form ul.fields input.submit {
	background-color:#D7E9FF;
	border:#666 2px outset;
	border-radius: 5px 5px 5px 5px;
	cursor:pointer;
	
}

form ul.fields input[type="checkbox"] {
	background-color: transparent;
}

#orderview-15-bold-fields {
	font-weight:bold;
	font-size:15px;
}

#orderview-20-bold-fields {
    font-weight:bold;
    font-size:20px;

}

input.long-text  { 
    width: 450px !important;
}			
/* Navigation elements
---------------------------------------------------------------------------------------------*/	
			


#content #nav {
	width: 100%;
	float: left;
	margin: 0 0 .5em 0;
	padding: 0;
	list-style: none;
	background-image:url(../images/navigation-bg.png);
	background-repeat:repeat-x;
	background-color: #f2f2f2;
	border-bottom: 1px solid #ccc; 
	border-top: 1px solid #ccc;
	height:33px;
	}
	
#content #nav li {
	float: left;
	}
	
#content #nav li a {
	display: block;
	padding: 8px 15px;
	text-decoration: none;
	font-weight: bold;
	color: #333;
	border-right: 1px solid #ccc;
	}
	
#content #nav li a:hover {
	color: #033;
	background-image:url(../images/navigation-bg.png);
	background-repeat:repeat-x;
	background-position:bottom;
	}

#content #nav li a:active {
	color: #033;
	background-image:url(../images/navigation-bg.png);
	background-repeat:repeat-x;
	background-position:bottom;
	}


#content #sub-nav-railcars {
    width: 25%;
    float: right;
    padding: 0;
    background-color: #124B07;
    margin-bottom: 20px;
    margin-right: 85px;
    position: relative;
    display: none;
}

#content #sub-nav-railcars td {
    padding-left: 10px;
    padding-right: 10px;
}

#content #sub-nav-railcars a {
    color: #ffffff;
    text-decoration: none;
}


#content #sub-nav-railcars-carriers {
    width: 25%;
    float: right;
    padding: 0;
    background-color: #124B07;
    margin-bottom: 20px;
    margin-right: 790px;
    position: relative;
    display: none;
}

#content #sub-nav-railcars-carriers td {
    padding-left: 10px;
    padding-right: 10px;
}

#content #sub-nav-railcars-carriers a {
    color: #ffffff;
    text-decoration: none;
}

/* Main Content elements
---------------------------------------------------------------------------------------------*/	

#main-content{
	padding:10px;
}

#main-content h1{
	font-size:1.4em;
}


#main-content a.create-new{
	float:right;
	background-image:url(../images/icon-plus.png);
	background-repeat:no-repeat;
	background-position:left;
	padding-left:18px;
	line-height:2;
	color:#036; 
	font-weight:bold;
	text-decoration:none;
}

	#main-content a.create-new:hover{
		text-decoration:underline;
	}

#main-content a.print-page{
	float:right;
	background-image:url(../images/ico_print.png);
	background-repeat:no-repeat;
	background-position:left;
	padding-left:18px;
	padding-right:10px;
	line-height:2;
	color:#036; 
	font-weight:bold;
	text-decoration:none;
}

	#main-content a.print-page:hover {
		text-decoration: underline;
	}
	
#main-content a.export-excel, a.export-products-excel{
	float:right;
	background-image:url(../images/export_excel.png);
	background-repeat:no-repeat;
	background-position:left;
	padding-left:18px;
	padding-right:10px;
	line-height:2;
	color:#036; 
	font-weight:bold;
	text-decoration:none;
}

	#main-content a.export-excel:hover, a.export-products-excel:hover {
		text-decoration: underline;
	}

#main-content a.show-complaints{
	float:right;
	background-image:url(../images/search_icon.png);
	background-repeat:no-repeat;
	background-position:left;
	background-size: 10px 10px;
	padding-left:18px;
	padding-right:10px;
	line-height:2;
	color:#036;
	font-weight:bold;
	text-decoration:none;
}

	#main-content a.show-complaints:hover {
		text-decoration: underline;
	}

#main-content h1{
	font-size:1.4em;
}


/* Login Page elements
--------------------------------------------------------------------------------------*/

#login{
	margin:auto;
	width:300px;
	height:200px;
	border:#CCC 1px solid;
	background:#eaeaea;
	border-radius: 10px 10px 10px 10px;
    box-shadow: 0 0 6px #999999;

}

#login h1{
	padding:10px 0px 10px 30px;
}

#login ul.fields {
    margin-top: 15px;
}

#login input {
    width: 150px;
}
#login .submit {
    margin-bottom: 10px;
    margin-left: 105px;
	width:75px;

}

#login .forgot-password{
	margin-left:105px;
}



/* Main Content Sort and Filter box area
---------------------------------------------------------------------------------------------*/	

#filter-box fieldset { 
	position:relative;
	border:1px solid #ccc;
	background-color:#eaeaea;
	}

#filter-box legend {
  position:absolute;
  top:-1em;
  left:1em;
  padding: 0.2em 0.5em;
  border:1px solid #ccc;
  color:#000;
  text-align:right;
  background-color:#fff;
  }
  
  
#filter-box ul.fields {
    margin-top: 15px;
}

#filter-box input {
    width: 175px;
}

#filter-box select {
    width: 175px;
}


#filter-box input.date {
    width: 70px;
}


#filter-box .submit {
    margin-bottom: 10px;
    margin-left: 105px;
	width:75px;
}

input.date-field {
    width: 75px !important;
}

/* edit pages
---------------------------------------------------------------------------------------------*/	

#top-details{ 
	border:1px solid #ccc;
	background-color:#eaeaea;
	margin-top:15px;
	padding:10px;
	}
	
#top-details-error{ 
	border:1px solid #ccc;
	background-color:#eaeaea;
	margin-top:15px;
	padding:10px;
	font-size:14px;
	font-weight: bold;
	color: red; 
	}
	
#top-details-small{ 
	border:1px solid #ccc;
	background-color:#eaeaea;
	margin-top:15px;
	padding:10px;
	width:35%;
	float:right;
	}
	
#top-details .label{
	font-weight:bold;
}

#top-details a{
	text-decoration:none;
	font-weight:bold;
}


.field-box fieldset { 
	margin-top:20px;
	border:1px solid #ccc;
	background-color:#eaeaea;
	position:relative;
	}

.field-box legend {
  position:absolute;
  top:-1.1em;
  left:1em;	
  padding: 0.2em 0.5em;
  border:1px solid #ccc;
  color:#000;
  text-align:right;
  background-color:#fff;
  }
  
.field-box ul.fields {
    margin-top: 15px;
}

.field-box input {
    width: 175px;
}

.field-box input.checkbox{
    width: 20px;
}

.field-box  select {
    width: 175px;
}

.field-box input.date {
    width: 70px;
}

.field-box select.state {
    width: 70px;
}

.field-box input.zip {
    width: 70px;
}

.field-box .submit {
    margin-bottom: 10px;
    margin-left: 105px;
	width:75px;
}

input.medium-field {
    width: 100px; !important
}

input.large-field {
    width: 225px; !important
}

/* order edit pages
---------------------------------------------------------------------------------------------*/	

#top-details a.view-document{
	text-decoration:none;
	text-align:center;
	}

.product-label{
	font-weight:bold;
	padding:0px 5px 0px 10px;
}

.description-label{
	font-weight:bold;
	padding:0px 5px 0px 15px;
	width:100px;
	overflow:hidden;
	display:table-cell
}

.field-box select.product {
    width: 300px;
}

.field-box input.product-short {
    width: 50px;
}

.field-box input.product-medium {
    width: 100px;
}

.field-box input.product-long {
    width: 150px;
}

.field-box input.product-xtralong {
    width: 300px;
}

.field-box input.product-hidden{
    width: 125px;
	border:none;
	background:none;
}

.field-box textarea.instructions {
    width: 350px;
	height:100px;
}

/* Pagination 
-------------------------------------------------------------------------------------------------------*/

#pagination-container{
	margin-top:10px;
	margin-bottom:5px;
}

#pagination-buttons{
	float:right;
}

.viewing-amount {
	width:175px;
	float:left;
	
}


ul.pagination {
	overflow:hidden; 
	float:right;
	margin-right:50px;
	}	
			
	ul.pagination li {
		display:block;
		float:left;
		height:17px;
		font-size:11px;
		font-weight:bold; }
		
		ul.pagination li.btn {
			cursor:pointer;
			height:12px;
			margin-top:2px;
			width:8px; }			
				
			ul.pagination li.btn:hover {
				background-position:0 -15px; }
			
		ul.pagination li.disabled, ul.pagination li.disabled:hover {
			background-position:0 -30px;
			cursor:default; }
			
		ul.pagination li.prev {
			background-image:url(../images/page-prev.gif); }
				
		ul.pagination li.next {
			background-image:url(../images/page-next.gif); }	
			
		ul.pagination li.input {
			padding:0 7px 0 10px; }
		
			ul.pagination li.input input {
				font-size:11px;
				font-weight:bolder;
				height:14px;
				padding:0 3px;
				text-align:center;
				width:21px;	}
				
		ul.pagination li.total {
			cursor:pointer;
			margin:0 10px 0 6px; }
			
			ul.pagination li.total:hover {
				text-decoration:underline; }


/* Page Results and Listings
-------------------------------------------------------------------------------------------------------*/

#page-results{
	border:#CCC 2px solid;
	background-color:#FFF;
}

#page-results table.listing-layout table{
	border:0;
}

#page-results table.listing-layout tr th{
	background-color:#ccc;
	font-weight:bold;
	height:25px;
	text-align:left;
}

#page-results table.listing-layout tr td{
	border-bottom:#fff 1px solid;
	height:25px;
}

#page-results table.listing-layout .right{
	text-align:right;
}

#page-results table.listing-layout .center{
	text-align:center;
}

#page-results table.listing-layout tr {
	background-color: #eaeaea;
}


#page-results table.listing-layout tr:hover {
	background-color: #d9d9f5;
}

#page-results div.order-more-details{

	padding-left:20px;
}


#page-results div.order-more-details table.more-details-layout {
	border:#999 1px solid;
}

#page-results div.order-more-details table.more-details-layout tr th{
	background-color:#ccc;
	font-weight:bold;
	height:20px;
	text-align:left;
}

#page-results div.order-more-details table.more-details-layout tr td{
	background-color:#fff;
	height:20px;
}

#page-results div.order-more-details table.more-details-layout .right{
	text-align:right;
}

#page-results div.order-more-details table.more-details-layout .center{
	text-align:center;
}

/* Notes and note icon layout
-------------------------------------------------------------------------------------------------------*/

a.note-icon{
	padding-left:2px;
	color:#333;
	font-size:1.2em;
	font-weight:bold;
	text-decoration:none;
	text-align:center;
	display:block;
	width:25px;
	height:25px;
	left:25px;
	position:relative;
}


a.read{
	background-image:url(../images/speech-bubble-read.png);
	background-repeat:no-repeat;
	background-position:left;

}

a.unread{
	background-image:url(../images/speech-bubble-unread.png);
	background-repeat:no-repeat;
	background-position:left;
	
}

#note-fields textarea.note-text {
    width: 200px;
	height:100px;
}

#note-fields ul.fields li{
	margin-bottom:8px;
}

#note-fields .submit {
    margin-bottom: 10px;
    margin-left: 135px;
	width:75px;
}

#note-fields .save_link {
    margin-bottom: 10px;
    margin-left: 135px;
	width:75px;
}

#note-fields ul.fields label {
    color: #222222;
    display: block;
    float: left;
	font-weight:normal;
    margin-right: 5px;
    text-align: left;
    vertical-align: top;
    width: 130px;

}

#doc-fields ul.fields li{
    margin-bottom:8px;
}

#doc-fields .submit {
    margin-bottom: 10px;
    margin-left: 90px;
    width:75px;
}

#doc-fields ul.fields label {
    color: #222222;
    display: block;
    float: left;
    font-weight:normal;
    margin-right: 5px;
    text-align: left;
    vertical-align: top;
    width: 85px;

}

/* Notes and note icon layout
-------------------------------------------------------------------------------------------------------*/


p.product-label{
	font-weight:bold;
	text-align:left;
	padding:0px 0px 8px 0px;
}

.product-account-selection {
    width: 200px;
	height:120px;
}

/* Jquery customization
-------------------------------------------------------------------------------------------------------*/
.ui-datepicker-trigger:hover {
	cursor:pointer;
}

/* Railcar Shipment
-------------------------------------------------------------------------------------------------------*/
#page-results .shipment-spot-name:hover  {
    cursor: pointer;
    background-color: #BCB8B8; !important
}

.shipment-highlight-row {
    background-color: #BCB8B8; !important
}

#page-results table.shipment-layout {
    background-color:#eaeaea;
    border-bottom:#fff 1px solid;
    height:25px;
}

#page-results table.shipment-layout th, table.shipment-layout td {
    padding-left: 3px;
    padding-right: 5px;
    vertical-align: top;
}

.shipment-header-left-border {
    border-left: 2px solid #000000;
}

.shipment-header-right-border {
    border-right: 2px solid #000000;
}

.shipment-notes-container  {
    border-right: 2px solid #000000;
    border-left: 2px solid #000000;
    border-bottom: 2px solid #000000;
}

.shipment-header-top-border {
    border-top: 2px solid #000000;
}

.railcar-shipment-notes {
    display: none;
}

.text-field-error {
    background-color: salmon;
}