/* Base stylesheet for MGCWeb application */
body 
{
	margin: 0px;
	padding: 0px;
	color: #000;
	text-align: center;
	background-color: #fff;
}

/* Master defaults */
body, table, input, select, h1, h2, h3, h4
{
	font-family: Arial,Helvetica,Tahoma,Verdana,Arial,Sans-serif;
	font-size: 13px;
	line-height: 17px;
}
h1, h2, h3, h4
{
	font-family: Arial,Helvetica,Tahoma,Verdana,Arial,Sans-serif;
	font-weight: bold;
	padding: 0px;
	margin: 8px 0px 0px 0px;
}

/* wrapper for whole page */
#wrapper 
{
	margin: 0px auto;
	padding: 0px;
	width: 740px;
	text-align: left;
	background-color: #fff;
}

#content
{
	padding: 5px;
}

form 
{
	margin: 0px;
	padding: 0px;
}

/* General paragraphs */
p
{
	margin: 0px;
	padding: 5px 0px;
}

/* LINKS */
a
{
	text-decoration: underline;
	color: #039;
}
a:hover
{
	color: #09f;
}


/* General list stuff */
ul
{
	margin: 5px 0px;
	padding-left: 25px;
	list-style-type: square;
}
li
{
	padding: 1px 0px;
	margin-top: 2px;
}

/* General table stuff */
table
{
	margin: 0px;
	padding: 0px;
}
tr
{
	margin: 0px;
	padding: 0px;
}

/* General Headers */
h1 
{
	font-size: 26px;
	line-height: 32px;
}
h2
{
	font-size: 20px;
	line-height: 28px;
}
h3
{
	font-size: 16px;
	line-height: 22px;
}
h4
{
	font-size: 14px;
	line-height: 20px;
}

/* Miscellaneous Modifiers */
.grey 
{
	color: #777;
}
.mega
{
	font-size: 20px;
	line-height: 30px;
}

/* Special link! */
.powerlink {
	font-size: 11px;
	line-height: 18px;
	border: 1px solid #026;
	padding: 1px 5px;
	text-decoration: none;
	background-color: #044cc8;
	color: #fff;
}
a.powerlink:hover
{
	color: #fff;
}

/* printer stuff */
.printonly
{
	display: none;
}



/* Partial left-side elements */
.left_partial
{
	width: 510px;
}
.left_content
{
	width: 440px;
}
.left_content_small
{
	width: 240px;
}
.right_content
{
	width: 275px;
	float: right;
}


/* Warning sections! */
.warning
{
	background-color: #fed;
	color: #000;
	margin: 5px 0px 0px 0px;
	padding: 0px;
	border: 1px solid #c00;
}
.warning p
{
	padding: 5px;
	font-size: 12px;
	line-height: 15px;
}
.warning h4
{
	background-color: #c00;
	color: #fff;
	padding: 2px 2px 2px 5px;
	margin: 0px;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 13px;
	line-height: 15px;
}
span.warning
{
	display: block;
	padding: 3px;
}


/* Info sections! */
.info
{
	background-color: #fff6cc;
	color: #000;
	margin: 5px 0px 0px 0px;
	padding: 0px;
	border: 1px solid #f90;
}
.info p
{
	padding: 5px;
	font-size: 12px;
	line-height: 15px;
}
.info h4
{
	background-color: #f90;
	color: #fff;
	padding: 2px 2px 2px 5px;
	margin: 0px;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 13px;
	line-height: 15px;
}
span.info
{
	display: block;
	padding: 3px;
}



/* Special mini output */
.mini
{
	font-size: 11px;
	line-height: 13px;
}

/* Examples output! */
.example
{
	font-size: 11px;
	line-height: 10px;
	color: #999;
}

/* Gapped items? */
#content div.gap
{
	margin-top: 15px;
}


/* Special Button Style for Site */
input.mgcbutton 
{
	margin: 0px;
	color: #fff;
	background-color: #044cc8;
	border: 1px solid #930;
	font-weight: bold;
	font-size: 12px;
	line-height: 16px;
	height: 1.8em;
}

/* Special text input Style for Site */
input.mgctext
{
	margin: 0px;
	font-size: 13px;
	line-height: 16px;
}


/* Miniaturized Form elements  ##########  */
.microtable input.mgcbutton, .partlist input.mgcbutton 
{
	margin: 0px;
	background-color: #044cc8;
	color: #fff;
	border: 1px solid #026;
	font-size: 11px;
	line-height: 15px;
	font-weight: normal;
	height: 1.7em;
}
.microtable input.mgctext, .partlist input.mgctext, .buzz input.mgctext
{
	margin: 0px;
	font-size: 11px;
	line-height: 12px;
	height: 1.7em;
}
.microtable .warning
{
	background-color: #fdd;
	border-top: 8px solid #c00;
	margin: 5px;
}
.microtable em
{
	font-style: normal;
	font-weight: bold;
	font-size: 14px;
	line-height: 16px;
}





/* Menu Elements ################################## */
.menu ul
{
	margin: 0px;
	padding: 0px;
}
.menu li
{
	display: inline;
	padding: 0px;
	margin: 0px;
}

/* Main Menu specific ################  */
#nav_menu
{
	background-color: #666;
	border-top: 1px solid #999;
	border-bottom: 1px solid #333;
}
#nav_menu a
{
	color: #fff;
	font-weight: bold;
	line-height: 24px;
	font-size: 13px;
	padding: 4px 8px;
	border-right: 1px solid #777;
}
#nav_menu a.active
{
	background-color: #333;
}
#nav_menu a:hover
{
	background-color: #999;
}

/* Sub Menu specific #################  */
#nav_submenu
{
	padding-top: 2px;
	background-color: #eee;
}
#nav_submenu a
{
	color: #000;
	padding: 1px 8px;
	line-height: 20px;
	font-size: 12px;
}
#nav_submenu a.active
{
	color: #000;
	font-weight: bold;
}
#nav_submenu a:hover
{
	color: #09f;
}





/* HEADER ITEMS ########################################## */
#header 
{
	color: #002b7f;
	background-color: #fff;
	border-bottom: 1px solid #ccc;
}
#header_main {
	padding: 5px 5px 5px 5px;
	display: flex;
	justify-content: space-between;
}
#header_main h1
{
	font-size: 20px;
	margin: 0px;
	padding: 8px 0px 7px 5px;
}
#header a 
{
	text-decoration: none;
}
#header_cus
{
	align-self: flex-end;
}

/* Login Status ------------ */
#login_status
{
	float: right;
	width: 450px;
	padding: 5px 5px 0px 5px;
	text-align: right;
	font-size: 12px;
	line-height: 18px;
}
#login_status em
{
	font-weight: bold;
	font-style: normal;
	margin: 0px 2px;
}
#login_status .powerlink
{
	font-size: 11px;
	padding: 1px 5px;
}
#login_status a:hover
{
	color: #fff;
}
#login_status div
{
	margin-top: 2px;
}







/* FOOTER ITEMS ########################################## */
#footer 
{
	clear: both;
	margin-top: 10px;
	
	color: #ccc;
	border-top: 1px solid #ccc;
	
	font-size: 11px;
	line-height: 14px;
	
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
}
#footer p
{
	text-align: right;
	padding: 2px 5px;
	align-self: center;
}
#footer_links
{
	align-self: center;
}








/* Cart Summary Panel */
#cart_summary, #return_summary, #return_list
{
	width: 200px;
	float: right;
	clear: right;
	border: 1px solid #dd6;
	background-color: #ffd;
	color: #552;
	margin: 10px 0px 0px 0px;
	padding: 0px;
}

/* Micro-table (used for cart summaries) */
.microtable
{
	color: #552;
}
.microtable p
{
	font-size: 12px;
	padding: 5px;
}
.microtable table 
{
	font-size: 12px;
	width: 190px;
	margin: 0px 4px;
	padding: 0px;
	color: #552;
}
.microtable td
{
	padding: 2px 0px;
	margin: 0px;
	border-top: 1px solid #ee9;
}
.microtable h3, .microtable h4
{
	background-color: #ff9;
	color: #993;
	margin: 0px;
	padding: 5px;
	font-size: 12px;
	line-height: 15px;
	font-weight: bold;
}
.microtable h2
{
	background-color: #ff9;
	font-size: 18px;
	line-height: 22px;
	padding: 5px;
	margin: 0px;
	color: #002b7f;
}
.microtable h4
{
	margin-top: 10px;
	border-top: 1px solid #dd6;
}
/* Part List Mini-Table in Cart summary */
.microtable tr.rowstd td, .microtable tr.rowalt td
{
	padding-top: 10px;
	border-top: 0px;
}
.microtable table.cartjustadded tr.rowstd td, .microtable table.cartjustadded tr.rowalt td, .microtable td.psid
{
	font-weight: bold;
}

/* Overrides for RETURN SUMMARY */
#return_summary, #return_list { width: 460px; }
#return_summary table, #return_list table { width: 450px; padding: 5px 0px; }




/* Header section of cart summary */
#cart_view_header 
{
	margin: 5px 0px;
}
/* Fix alignment of warning images! */
img.linewarning
{
	margin: 0px;
	margin-bottom: -4px;
}
span.linewarning
{
	margin: 0px;
	text-align: center;
	background-color: #c00;
	font-weight: bold;
	font-size: 12px;
	line-height: 16px;
	font-family: courier new,Monospace;
	padding: 1px 5px 0px 5px;
	border: 1px solid #c00;
	color: #fff;
	height: 18px;
}

span.lineprefix
{
	margin: 0px;
	text-align: center;
	background-color: #fff;
	font-weight: bolder;
	font-size: 12px;
	line-height: 16px;
	font-family: courier new,Monospace;
	padding: 1px 5px 0px 5px;
	border: 1px solid #c00;
	color: #000;
	height: 18px;
}

/* Cart Stock Values */
span.stock_zero, span.stock_low, span.stock_high
{
	margin: 0px;
	font-size: 13px;
	line-height: 15px;
	font-weight: bold;
}
span.stock_low {	color: #f00;}
span.stock_high{	color: #090;}
span.stock_zero{	color: #000;}






/* Special Instructions / Notes on View Shopping Cart */
#cart_footer td
{
	padding-right: 30px;
}
#cart_footer
{
	width: 730px;
}

#cart_notes h3
{
	margin: 10px 0px;
	padding: 0px;
}
#cart_notes p
{
	margin: 0px;
	padding: 5px 0px;
}
#cart_notes p.notes
{
	display: block;
	background-color: #ffc;
	color: #660;
	margin: 5px 0px;
	padding: 5px;
	border: 1px solid #ee6;
}




/* Part List - search results stuff */
.partlist 
{
	margin: 5px 0px;
	clear: left;
}
.partlist th
{
	padding: 5px 3px;
	background-color: #ddd;
	color: #333;
	font-size: 11px;
	line-height: 12px;
	font-weight: bold;
}
.partlist tr.rowalt td
{
	background-color: #eee;
}
.partlist tr.rowheader td
{
	background-color: #ffd;
	color: #663;
	border-top: 1px solid #999;
}
.partlist tr.rowheader th
{
	background-color: #ffa;
	border-top: 1px solid #999;
}


/* Part Search Results  ############################  */
table.partlist td 
{
	padding: 3px 3px;
	border-bottom: 1px solid #bbb;
	border-left: 1px solid #ccc;
	height: 26px;
}
table.partlist td.grey
{
	font-size: 11px;
	padding: 0px 3px;
}
table.partlist th
{
	border-left: 1px solid #bbb;
	border-bottom: 1px solid #999;
}
table.partlist 
{
	border-top: 1px solid #bbb;
	border-right: 1px solid #bbb;
}

table.partlist td.partnumber
{
	font-weight: normal;
}

/* Remove crossbars on the search pages */
div.left_partial table.partlist
{
	border-right: 0px;
}
div.left_partial table.partlist td
{
	border-left: 0px;
}
table.partlist td.price
{
	font-weight: bold;
}


/* Net Prices? */
table.partlist td.netprice
{
	color: #f00;
}


/* Shopping Cart Submission buttons */
#cart_submit
{
	float: right;
	clear: right;
	margin: 5px 0px;
	padding: 0px;
	border: 1px solid #ccc;
	width: 240px;
	text-align: center;
}
#cart_submit p
{
	margin: 0px;
	padding: 0px 0px 5px 0px;
	font-size: 11px;
	line-height: 13px;
}


/* CHECKOUT BUTTON USES THIS */
#checkout a, a.continue, a.heavy 
{
	display: block;
	text-decoration: none;
	text-align: center;
	font-weight: bold;
	font-size: 16px;
	line-height: 20px;
	color: #fff;
	background-color: #044cc8;
	border: 1px solid #060;
	padding: 5px 0px;
	margin: 5px 5px 0px 5px;
}
#checkout .heavy
{
	display: block;
	text-align: center;
	font-weight: bold;
}
a.heavy:hover 
{
	color: #ff6;
}

/* Continue Link? */
.continue
{
	width: 200px;
	float: right;
}




/* ############## Cart Checkout Header ############# **********/
#cart_header
{
	margin-top: -5px;
	margin-bottom: 10px;
}
#cart_header #steps_row1 td
{
	border-left: 1px solid #ee6;
}
#cart_header h3
{
	font-size: 18px;
	line-height: 18px;
	padding: 0px 8px;
	margin: 10px 0px 0px 0px;
}
#cart_header h4
{
	padding: 3px 8px;
	margin: 0px;
	border-top: 1px solid #c9f;
	background-color: #dcbcfc;
	color: #528;
}
#cart_header p
{
	padding: 8px;
	font-size: 12px;
	line-height: 16px;
}

#cartstep1{		background-color: #ffe;}
#cartstep2{		background-color: #ffd;}
#cartstep3{		background-color: #ffc;}

#cartstep1a{	background-color: #f6f0ff;}
#cartstep2a{	background-color: #f3e3ff;}
#cartstep3a{	background-color: #ecd6ff;}

#cartstep1a, #cartstep2a, #cartstep3a
{
	border-left: 1px solid #c9f;
}


/* Special Totals Stuff */
#totals_table table
{
	width: 220px;
}
#totals_table table td
{
	border: 0px;
	padding: 0px 5px;
	font-size: 14px;
	border-bottom: 1px solid #daf;
}
#totals_table table td.mega
{
	font-size: 20px;
	line-height: 25px;
}

/* Submission buttons */
#cart_header input.mgcbutton, #return_summary input.mgcbutton 
{
	padding: 0px;
	margin: 2px 0px;
	width: 220px;
	height: 1.9em;
	border: 1px solid #930;
	font-weight: bold;
	font-size: 12px;
	line-height: 15px;
	color: #fff;
	background-color: #044cc8;
	border: 1px solid #060;
}
/* special button coloring for the alternate will-call */
#cart_header #cart_submit_button_altwc 
{
	background-color: #044cc8;
	border: 1px solid #033;
}




/* ############# Shopping Cart View ********/
#cart_view h3
{
	font-size: 18px;
	line-height: 20px;
	margin-top: 15px;
}



/* Special cart list settings */
#cart_view table.partlist
{
	margin-top: 5px;
	width: 730px;
}



.midhead
{
	background-color: #ddf;
	padding: 4px;
	border-top: 1px solid #99c;
	border-bottom: 1px solid #99c;
	color: #006;
}




/* Legend for search results? */
#legend
{
	background-color: #f6f6f6;
	color: #333;
	margin-top: 20px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
#legend ul
{
	margin: 2px 0px 0px 10px;
	padding: 0px 0px 5px 15px;
}




/* The Receipt ############################ */
.receipt_table
{
	width: 600px;
}
.receipt_table td
{
	border-top: 1px solid #999;
	padding-bottom: 10px;
}
.receipt_table td p
{
	padding: 3px 2px;
}
.receipt_table h3
{
	background-color: #ddd;
	color: #333;
	padding: 2px 2px;
	margin: 0px;
	line-height: 18px;
	font-size: 15px;
}

/* Nested Tables */
table.receipt_table td table
{
	width: 300px;
}
table.receipt_table td table td
{
	border: 0px;
	padding-bottom: 2px;
}

/* The list of parts on the receipt */
#receipt, #receipt table.partlist
{
	width: 600px;
}



/* Branch List CSS */
#branchlist h3
{
	clear: both;
	background-color: #eee;
	border-top: 1px solid #ccc;
	padding: 5px;
	margin-top: 25px;
}
div.branch
{
	margin-left: 5px;
	width: 220px;
	float: left;
	height: 175px;
}


/* News Items */
div.news_item
{
	margin: 10px 0px 15px 0px;
}
div.news_item h2
{
	border-bottom: 1px solid #eee;
}
div.news_item p.mini
{
	color: #999;
	padding: 0px;
	margin-top: 11px;
	width: 110px;
	float: right;
	text-align: right;
}



/* Tooltip CSS */
.tooltip
{
	width: 320px;
	padding: 3px;

	font-size: 11px;
	line-height: 14px;
	text-align: center;

	background-color: #eef;
	border: 2px solid #66c;
}
.tooltip span.top
{
	color: #000;
	font-weight: bold;
	font-size: 13px;
	line-height: 16px;
}
.tooltip span.middle
{
	color: #006;
}
.tooltip span.bottom
{
	margin-top: 4px;
	color: #00f;
}



/* Emergency Info */
div#temp_info
{
	width: 420px;
}
div#temp_info li
{
	margin-top: 8px;
}


.buzz
{
	padding: 10px;
	background: #ffd;
	margin: 10px 0px;
	border-top: 1px solid #dd6;
	border-bottom: 1px solid #dd6;
	color: #552;
}
.buzz table
{
	color: #552;
}
.buzz h2
{
	font-size: 18px;
	margin: 0px;
	color: #002b7f;
}



div.mygrant-legal {
	padding: 5vh 1vw;
}

.mygrant-legal > h2.title {
	text-align: center;
	margin: 0.4rem auto
}

.mygrant-legal > p {
	text-align: left;
}

.mygrant-legal > p > strong {
	font-weight: 600;
}

.mygrant-legal > h3 {
	font-weight: 700;
	margin: 0.8rem auto
}

.mygrant-legal > p > span.legal-definition {
	font-style: italic;
	font-weight: 700;
	text-decoration: underline;
}
/* The alert message box */
.alert {
	padding: 20px;
	background-color: #f44336; /* Red */
	color: white;
	margin-bottom: 15px;
	font-size: x-large;
}
.alert .subalert {
	font-size:medium;
}
.vinad {
	font-size: medium;
	background-color: #039;
	margin-bottom: 8px;
	color: white;
	padding: 20px;
}


.vinad-centered{
	text-align: justify;
	text-align-last: center;
}

.vinad-lookup-credits {
	font-size: x-large !important;
	padding: 5px;
}

.vinad-out-of-credits {
	font-size: large !important;
}

.vinad .link {
	color: white;
}

/* The close button */
.closebtn {
	margin-left: 15px;
	color: white;
	font-weight: bold;
	float: right;
	font-size: 22px;
	line-height: 20px;
	cursor: pointer;
	transition: 0.3s;
}

