﻿/******************************************************************************/
/* Application: Order Tracking                                                */
/* Title      : styles.css                                                    */
/* Utility    :                                                               */
/* Remarks    :                                                               */
/* Created by : Lou Caires                                                    */
/* Creation Date: 24-OCT-2008                                                 */
/* Description: CSS file for Order Tracking webpages.                         */
/*                                                                            */
/* Change History:                                                            */
/*                                                                            */
/*============================================================================*/
/* Ver   |Date       | Name      | Remarks                                    */
/*============================================================================*/
/* 1.0    24-JUN-2008  Lou Caires  Baseline version                           */
/* 1.1    16-OCT-2008  Lou Caires  Changed to support Branch Menu.            */
/* 1.2    29-OCT-2008  Lou Caires  IE changes to support Branch Menu.         */
/******************************************************************************/

body {
    /* overflow-y: hidden;*/
    font-family:"Lucida Sans";
    font: normal normal Lucida, sans-serif;
}

p { 
	margin-top: 0;
	margin-left:auto;
	margin-right:auto; 
	text-align: justify;
	}
	
h2 {
	font: italic bold 1.4em Lucida, sans-serif;
	letter-spacing: 1px;
	text-align:center; 
	margin-bottom: 1px; 
	color: #7D775C;
	line-height: 220%;
}

/* specific divs */
#container { 
	background: no-repeat top left; 
	padding: 0 100px 0 20px;  
	margin: 0; 
	}

#intro { 
	min-width: 980px;
	}

#formdiv{
	font: .75em Lucida, sans-serif;
	clear: both; 
	margin: 20px 20px 20px 10px; 
	width: 980px; 
	float: left;
	margin-left: auto;
	margin-right: auto;
	}

#footerdiv{
	font: .75em Lucida, sans-serif;
	clear: both; 
	width: 980px; 
	margin-left: auto;
	margin-right: auto;
}

/* added to highlight current page selected */
a:link#selected{ background-color: gray;}
a:hover#selected{ background-color: red;}
a:link ul ul #selected{ background-color: gray;}
a:hover ul ul #selected{ background-color: red;}

.businessunit{
	font-size:36px;
	text-decoration:none;
	padding-left:10px;
}

.formclass{
	position: relative;
	background: white;
}	

table.sample {
	position:relative;
	border-width: 2px;
	border-style: outset;
	border-color: black;
	border-collapse: collapse;
	background-color: #fffafa;
	margin-left:auto;
	margin-right:auto;
}

table.sample th {
	border-width: 2px;
	padding: 4px;
	border-style: solid;
	border-color: black;
	background-color:gray;
	color:white;
}

table.sample td {
	border-width: 2px;
	padding: 4px;
	border-style: solid;
	border-color: black;
	background-color: white;
}

table.center {
	margin-left:auto; 
	margin-right:auto;
}

/*\*/ * html table.sample td {
	height: 1%;
}

.menu {
	width:980px; 
	height:25px; 
	font-size:0.85em; 
	position:relative; 
	z-index:100;
	/*border-right:1px solid #000;*/
}

/* hack to correct IE5.5 faulty box model */
* html .menu {
	width:980px;
	w\idth:990px;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0px;
	margin:0;
	list-style-type:none;
}

.menu ul ul {
	width:120px;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	float:left;
	width:120px;
	w\idth:103px;
	position:relative;
}

/* style the links for the top level */
.menu a:visited {
	display:block;
	font-size:12px;
	text-decoration:none; 
	color:#fff; 
	background-color:black; 
	width:120px; 
	w\idth:103px; 
	height:30px; 
	padding-left:8.75px;
	padding-right:10px; 
	padding-bottom:1px;
	line-height:29px;
}

.menu a {
	display:block;
	font-size:12px;
	text-decoration:none; 
	color:#fff; 
	background-color:black; 
	width:120px; 
	w\idth:103px; 
	height:30px; 
	padding-left:8.75px;
	padding-right:10px;
	padding-bottom:1px; 
	line-height:29px;
}


/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a:visited 
{
	width:120px; 
	w\idth:103px;
}

* html .menu a 
{
	width:120px; 
	w\idth:103px;
}

.menu a:hover { 
	background-color:red;
}

/* style the second level background */
.menu ul ul a.drop:visited { 
	background-color:red;
}

.menu ul ul a.drop { 
	background-color:red;
}

/* style the second level hover */
.menu ul ul a.drop:hover{
	background-color:red;
}

.menu ul ul :hover > a.drop {
	background-color:red;
}

/* style the third level background */
.menu ul ul ul a:visited {background:#990000;}
.menu ul ul ul a {background:#990000;}

/* style the third level hover */
.menu ul ul ul a:hover {background:#990000;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0;top:31px;left:0; width:80px;}

/* another hack for IE5.5 */
* html .menu ul ul {top:30px;t\op:31px;}

/* position the third level flyout menu */
.menu ul ul ul{left:155px; top:-1px; width:155px;}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-155px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* style the second level links */
.menu ul ul a:visited {background:#000000; color:#fff; height:auto; line-height:1em; padding:5px 5px; width:120px;border-width:0 1px 1px 1px;}
.menu ul ul a {background:#000000; color:#fff; height:auto; line-height:1em; padding:5px 5px; width:120px;border-width:0 1px 1px 1px;}

/* yet another hack for IE5.5 */
* html .menu ul ul a:visited {width:120px;w\idth:103px;}

* html .menu ul ul a {width:120px;w\idth:103px;}

/* style the top level hover */
.menu ul ul a:hover{color:#fff; background:#CC0000;}
.menu a:hover{color:#fff; background:#CC0000;}
.menu ul ul :hover > a {color:#fff;background:#CC0000;}

.menu :hover > a {color:#fff;background:#CC0000;}

/* make the second level visible when hover on first level list OR link */
.menu ul a:hover ul{visibility:visible; }
.menu ul li:hover ul{visibility:visible; }

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ visibility:visible;}
