/* SITE SPECIFIC LAYOUT --------------------------- */

body {
	margin: 0px;
	padding: 0px 388px;
	background: white;              
	text-align: center;
}

#page_wrapper {
	width: 60%; /* this controls overall width of content, holly hack on this to set 'layout'; not necessary since height is set */
	max-width: 424px; /* max-width + (body padding x 2) = max-width of content, 1200px overall */
	margin: 0px auto;
}
	
#page {
	position: relative; /* fix win ie < 6 */
	
	margin:  0px -378px; /* set negative left and right margin for page for min width of 754px, -378 */
	margin-top: 10px;
	margin-bottom: 100px;
	padding: 0;        
	background: white;
	text-align: center;        
	border: 1px solid #7f7f7f;
}

/* the below only needed to fix WIN IE < 6 (modified holly hack) */

/* \*/
* html #page,
* html #inner_wrapper {
	height: 0;
}
/* */
    
/* HEADER -------------------------- */
#header {
	width: 100%;
	margin: 0px;
	padding-bottom: 0px;    
	color: black;            
	text-align: left;
	border-top: 5px solid #7f7f7f;                   
}

/* top_left_border ------------------------------ */

#top_left_border {
	background: #7f7f7f url(../images/top_border_white_corner.gif) no-repeat right top;
	width: 360px;
	height: 5px;	
	margin: 0px;
	margin-bottom: -5px;
	padding: 0px;	
	line-height: 5px;
}

/* branding (logo identity holder) -------------------- */

#branding {
	float: left;   
	margin: 0px;
	margin-top: 5px;
/*	padding: 7px 20px 10px 10px;   */
	padding: 5px 20px 5px 10px;      
	text-align: left;
}
		
#branding p {
	padding: 0px;
	margin: 0px;
}

/* page title --------------------------- */

#page_title {
	float: left;
	margin: 0px;
	margin-top: 3px;
	padding: 0px;
	position: relative;
	top: 22px;
	z-index: 1;
}

/* upper right nav ----------------------- */
#upper_right_nav {
	float: right;
	width: 500px; /* 50%, 250px */ 
/*	width: 325px; /* 50%, 250px */ */
	margin: 0;
	padding: 0; 
	padding-top: 0px;
	padding-right: 5px;       
	text-align: right; 
}
		
#upper_right_nav ul {
	margin: 0;
	padding: 0;
	float: left;
	width: 100%;
	background-color: none;
}
		
#upper_right_nav ul li {
	display: inline;
	list-style: none;
	margin: 0px;
	margin-left: 0px;
	padding: 0px;
	padding-bottom: 20px;
	line-height: 24px;
}
		
#upper_right_nav ul li.view_cart {
	background: url(../images/shopping_cart_icon.gif) no-repeat 0px 0px;
}
		
#upper_right_nav ul li.contact_us {
	background: url(../images/contact_us_icon.gif) no-repeat 0px 0px;
}
		
#upper_right_nav ul li.search {
	background: url(../images/search_icon.gif) no-repeat 0px 0px;
}

#upper_right_nav ul li.region {
	background: url(../images/region_icon.gif) no-repeat 0px 0px;
}
		
/* center imagebox vertically ----------------- */

.wraptocenter {
    text-align: center;
}
.wraptocenter * {
    vertical-align: middle;
}
/*\*/
.wraptocenter {
    display: table-cell;
    vertical-align: middle;
}
/**/
* html .wraptocenter span {
    display: inline-block;
    height: 100%;
}
/*\*//*/
.wraptocenter span {
    width: 1px;
}
/**/

			
/* generic classes ---------------- */

.center {
	text-align: center;
}

.float_left {
	float: left;
	margin: 0px;
	margin-right: 10px;
	margin-bottom: 10px;
	padding: 0px;
}

.float_right {
	float: right;
	margin: 0px;
	margin-left: 10px;
	margin-bottom: 10px;
	padding: 0px;
}

/* sub rollover content with centering floats ------------------ */

#sub_content_holder {
	text-align: center;
	border: 1px solid #ff0000;
	padding: 0px 10px 10px 10px;
	margin: 0px 35px;
}

.container_wrapper {
	display: none;
}

.container {
	clear: both;
	text-decoration: none;
}

* html .container {
	display: inline-block;
}

.sub_content {
	display: table;
	padding: 0; 
	margin: 0 auto; 
	list-style-type: none;
	/* white-space: nowrap; wrap text lines */
}

.sub_content li {
	display: table-cell;
	width: 100px;
	height: 150px;		
	padding: 0px 3px;
	margin: 0px 0px;
	float: left; /* seems to keep items from expanding beyond box in mozilla browsers */
}

.sub_content li img {
	padding: 0px 0px;
	margin: 0px 0px;
}

* html .sub_content li {
	float: left;
}

.sub_content a {
	width: auto;
}

#sub_content_1 {
	display: block;
}
  
        
/* SUB ----------------------- */

#sub div.content_box_wrapper {
	border-top: 1px solid #f36e26;
	border-left: 1px solid #f36e26;
	background: url(../images/br_orange_corner.gif) no-repeat bottom right;
	
	margin: 0px;
	margin-bottom: 15px;
	padding: 10px;
	float: right;
}

#sub div.content_box {
	margin: 0px;
	padding: 0px;
	float: left;
	
	width: 100%;
}

#sub div.content_box img.float_left, 
#sub div.content_box img.float_right {
	margin-bottom: 0px;
}

#sub div.content_box img.float_right {
	margin-right: 0px;
}

    
/* FOOTER -------------------------- */
#footer {
	margin: 0px;
	padding: 0px;
	
	border-top: 3px solid #ff0000;
	text-align: center;
	font-size: 10px;
	position: relative;
	
	padding-top: 5px;

	margin-top: 10px;
	
	height: 88px;
	background: url(../images/footer_color_cubes_2a.gif) no-repeat right 5px;
}

* html #cube_holder {
	margin-right: 3px;
}

#footer ul {
	margin: 0px;
	padding: 0px;
	padding-top: 5px;
}

/* #local left nav (index page bottom right nav) ------------------------ */

#local .right_box, #local .right_box_red, #local .right_box_white {
	border: 1px solid #7f7f7f;
	margin-bottom: 5px;
	padding: 0px;
	padding-bottom: 0px;
	width: 100%; /* setting explicit width fixes IE issue of displaying a border where it shouldn't be, on h6 brought up with neg margin */
	float: right;
}

#local .right_box p.float_left, #local .right_box p.float_right {
	width: 130px;
	margin-right: 0px;
}

#local .right_box img, #local .right_box_red img, #local .right_box_white img {
	margin: 0px;
	margin-top: 0px;	
	padding: 0px;
	padding-top: 0px;
	border-left: 0px;
	border-right: 0px;
}

#local .right_box_white {
	padding-top: 2px;
}

#local .right_box_white img {
	padding: 0px;
	margin: 0px;
	margin-right: 10px;
}

/* #local product page style ----------------------- */
#local div.product {
	border-left: 1px solid #7f7f7f;
	border-right: 1px solid #7f7f7f;
	background-color: white;
}

#local div.product p {
	text-align: center;
	margin: 0px;
	padding: 0px;
}

#local p.select_holder {
	background-color: #F36E26;
	margin: 0px;
	padding: 4px;
	padding-top: 3px;
}

#local #buy_now_holder {
	background: #F36E26 url(../images/buy_now_arrow_2.gif) no-repeat 3px 4px;
	width: 60%;
	margin-bottom: 40px;
}

#local p.buy_now {
	background: transparent url(../images/bottom_right_white_corner.gif) no-repeat bottom right;
	margin: 0px;
	margin-left: 20px;
	padding: 5px;
	padding-right: 0px;
	color: white;
	text-transform: uppercase;
	font-weight: bold;
}

#local ul {
	margin: 0px;
	padding: 0px;
}

#local ul li {
	list-style: none;
	margin: 0px;
	padding: 0px;
	background-color: #7f7f7f;
	border-bottom: 1px solid white;
}

/* footer ------------------------- */

#footer {
	width: 100%;
}
		
#footer p {
	color: black;
	font-size: 10px;            
	margin: 0;
	padding: 15px;
	padding-top: 0px;
}
		
#footer ul {
	margin: 0px;
	padding-left: 0px;
	padding-bottom: 10px;
	width: 100%;		
}
		
#footer ul li {
	list-style: none;
	border-right: 1px solid black;
	margin: 0px;
	padding: 0px;
	position: relative; 
	display: inline;
}
		
#footer ul li.last {
	border-right: 0px;
}
		
#footer ul li a {
	font-size: 10px;
	text-decoration: none;
	color: #ff0000;
	padding: 0px 10px;
}
		
#footer ul li a:hover {
	color: black;
}

/*edu menu*/

.sub_content li.edu {
	display: table-cell;
		width: 150px;
		height: 125px;		
		float: left; /* seems to keep items from expanding beyond box in mozilla browsers */
}
.sub_content li.edu2 {
	display: table-cell;
		width: 300px;
		height: auto;
		text-align: left;
		margin-top: 2em;
		float: left; /* seems to keep items from expanding beyond box in mozilla browsers */
}
