/******************************************************************************
 * Aperitivo Pizza Bar main stylesheet.
 * Note: Internet Explorer hacks are in a separate file (all_ie.css)
 * Author: Neal Krouse (krousen@comcast.net)
 *
 * Table of Contents for navigation:
 * _general
 *
 * _wrapper
 *
 * _branding
 *
 * _navigation
 *
 * _content
 *
 * _primary content
 *
 * _secondary content
 *
 * _ternary content
 *
 * _footer
 *
 ******************************************************************************/
 
 
/*-----------------------------------------------------------------------------
 *	SITE COLORS:
 *
 *----------------------------------------------------------------------------*/
 
 
/* _general
------------------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* no list-markers by default, since lists are used more often for semantics */
ul,ol { list-style:none }

/* link underlines tend to make hypertext less readable, 
   because underlines obscure the shapes of the lower halves of words */
:link,:visited { text-decoration:none }

/* whoever thought blue linked image borders were a good idea? */
a img,:link img,:visited img { border:none }

/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clear:after, .container:after
{
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
.clear, .container { height: 1%; }
.clear, .container { display: block; }

html 
{ 
	/* Rule removes Page Shift by
	 * adding vertical scrollbars to every page */
	min-height: 100%; 
	margin-bottom: 1px; 
}

body
{
	font-family: "Trebuchet MS", "Arial", sans-serif;
	line-height: 1.5;
	/* Unitless for proper inheritance */
	background-color: #2E0008;
	background-image: url(bodyGradient.gif);
	background-repeat: repeat-x;
	background-position: left top;
	color: white;
}

/* This is where you set your desired font size. The line-height 
   and vertical margins are automatically calculated from this. 
   
   You have to add an extra calculation here because of IE, so that 
   all users may resize text manually in their browsers.
   
   The top one is for IE: The percentage is of 16px (default IE text size)
   10px is 62.5%, 12px is 75%, 13px is 81.25%, and so forth).
   The second value is what all other browsers see (the wanted font size). */
   
body   { font-size: 14px; }  /* Compliant browsers */

h1,h2,h3,h4,h5,h6 { 
	font-family: "Trebuchet MS", "Arial", sans-serif;
	font-weight: bold;
	clear: both; 
	line-height: 1.1;
 }

h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.3em; }
h4 { font-size: 1.1em; }
h5 { font-size: 1em; }
h6 { font-size: 1em; }


strong { font-weight: bold; }
em { font-style: italic; }
p { margin-bottom: 1em; }
p.small { font-size: .8em; }
p.large { font-size: 1.2em; }
a, a:link, a:visited
{
	text-decoration: underline; 
	color: white;
}
a:hover { text-decoration: underline; color: #DB0022; }

#TB_window { border-color: #DB0022; }

/* _wrapper
------------------------------------------------------------------------------*/
#wrapper
{
	width: 1096px;
	margin: 45px auto 0;
}

#top
{
	position: absolute;
	top: 0;
	left: 0;
	width:1%;
	z-index: 100;
}

#skipnav
{
	position: relative;
	text-indent: -9000em;
	overflow: hidden;
}
 

/* _branding
------------------------------------------------------------------------------*/
#branding
{
	height: 171px;
	position: relative;
	background-color: black;
	border-right: 1px #DB0022 solid;
	border-top: 1px #DB0022 solid;
	border-left: 1px #DB0022 solid;

}

#branding h1
{
	position: absolute;
	width: 397px;
	height: 134px;
	top: 14px;
	left: 65px;
	background-image: url(logo.gif);
	background-repeat: no-repeat;
	background-position: left top;
	line-height: 0;
}


#branding h1 a
{
	display: block;
	position: absolute;
	width: 397px;
	height: 134px;
	top: 0;
	left: 0;
	background-image: url(logo.gif);
	background-repeat: no-repeat;
	background-position: left top;
	text-indent: -9999em;
	overflow: hidden;
	outline: 0;
	text-decoration: none;
	line-height: 0;
}





/* _navigation
------------------------------------------------------------------------------*/
#nav
{
 	text-align: right;
 	color: white;
 	padding-right: 40px;
 	line-height: 0;
 	padding-top: 20px;
}

#nav li
{
	display: inline;
 	position: relative;
}

#nav li a, #nav li.separator
{
	color: #999;
	text-decoration: none;
	padding: 8px 0;
}

#nav li.separator { margin: 0 .5em; }

#nav li a:hover
{
	color: white;
}

#nav li a.js:hover { color: #999; }

#home_page #home,
#menus_page #menus,
#press_page #press,
#contact_page #contact,
#gallery_page #gallery,
#private_parties_page #private_parties
{
	top: -6px;
}

#home_page #home a, #home_page #home a:hover,
#menus_page #menus a, #menus_page #menus a:hover,
#press_page #press a, #press_page #press a:hover,
#contact_page #contact a, #contact_page #contact a:hover,
#gallery_page #gallery a, #gallery_page #gallery a:hover,
#private_parties_page #private_parties a, #private_parties_page #private_parties a:hover
{
	color: white;
}

#order a[href ^='http://'], #order a[href ^='https://']
{
	padding-right: 0;
	background-image: none;
}


/* _content
------------------------------------------------------------------------------*/
#content
{
	padding-bottom: 40px;
	background-color: black;
	border-right: 1px #DB0022 solid;
	border-left: 1px #DB0022 solid;
}

#menus_page #outer-top, 
#press_page #outer-top,
#about_page #outer-top,
#links_page #outer-top,
#contact_page #outer-top
{
	width: 1020px;
	padding-top: 24px;
	margin: 0 auto;
	background-image: url(cols2-top.gif);
	background-repeat: no-repeat;
	background-position: left top;
}

#menus_page #outer-tile, 
#press_page #outer-tile,
#links_page #outer-tile,
#about_page #outer-tile,
#contact_page #outer-tile
{
	width: 1020px;
	background-image: url(cols2-tile.gif);
	background-repeat: repeat-y;
	background-position: left top;
	min-height: 290px;
	padding: 20px 0;
}

#menus_page #outer-bottom, 
#press_page #outer-bottom,
#about_page #outer-bottom,
#links_page #outer-bottom,
#contact_page #outer-bottom
{
	padding-bottom: 28px;
	background-image: url(cols2-bottom.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
}

#gallery_page #outer-top
{
	width: 1020px;
	padding-top: 24px;
	margin: 0 auto;
	background-image: url(cols1-top.gif);
	background-color: #3D3A3B;
	background-repeat: no-repeat;
	background-position: left top;
}

#gallery_page #outer-bottom
{
	padding-bottom: 28px;
	background-image: url(cols1-bottom.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
}

#private_parties_page #content
{
	padding-top: 60px;
}


#private_parties_page #outer-top
{
	width: 596px;
	padding-top: 24px;
	float: right;
	display: inline;
	margin-right: 22px;
	background-image: url(private_parties-top.gif);
	background-color: #3D3A3B;
	background-repeat: no-repeat;
	background-position: left top;
}

#private_parties_page #outer-bottom
{
	padding-bottom: 28px;
	background-image: url(private_parties-bottom.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
}



/* _primary content
------------------------------------------------------------------------------*/
#primary
{
	width: 1096px;
	float: left;
	display: inline;
}

#home_page #primary
{
	float: none;
	margin: 0 auto;
	display: block;
}

#pics
{
	width: 377px;
	height: 306px;
	margin-bottom: .5em;
}

#press_page #primary,
#about_page #primary,
#links_page #primary,
#contact_page #primary,
#menus_page #primary
{
	width: 377px;
	margin-left: 19px;
}
#menus_page #primary a
{
	color: black;
	background-image: none;
	padding: 0;
}

#menus_page #primary a:hover
{
	color: red;
}

#menus_page #primary ul
{
	margin-bottom: 1em;
	border-bottom: 1px solid #333;
	line-height: 2em;
}

#menus_page #primary li
{
	padding: .5em .8em;
	border-top: 1px solid #333;
}

#menus_page #primary li a
{
	display: block;
	text-decoration: none;
}

#menus_page #primary li a:hover
{
	color: red;
}

#menus_page #primary p
{
	color: black;
}

#gallery_page #primary
{
	width: 945px;
	margin-left: 40px;
	float: none;
	display: block;
}
#gallery_page #pics { width: 100%; }

#gallery_page #pics li, #private_parties_page #pics li
{
	float: left;
	margin: 0 9px 9px 0;
	display: inline;
}

#private_parties_page #primary
{
	width: 484px;
	margin-left: 68px;
	float: none;
	display: block;
}



/* add icons to links */
a[href ^="mailto:"]
{
	padding-right: 20px;
	background-image: url(icon_mailto.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

a[href ^='http://'], a[href ^='https://']
{
	padding-right: 18px;
	background-image: url(icon_external.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

a[href $='.pdf']
{
	padding-right: 18px;
	background-image: url(icon_pdf.gif);
	background-repeat: no-repeat;
	background-position: right center;
}



/* _secondary content
------------------------------------------------------------------------------*/
#secondary
{
	width: 0;
	float: left;
	display: inline;
}

#home_page #secondary
{
	width: 500px;
	margin-left: 37px;
}

#menus_page #secondary, 
#press_page #secondary,
#about_page #secondary,
#contact_page #secondary
{
	width: 572px;
	float: right;
}

#links_page #secondary
{
	width: 452px;
	float: right;
	margin-right: 60px;
}


#links_page #secondary li
{
	margin: 1em 0;
}

#menus_page #secondary p,
#menus_page #secondary h3
{
	padding: 0 60px;
}

#menus_page #secondary div p a
{
	padding: .2em .4em;
	background-color: red;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 80%;
	background-image: none;
}

#menus_page #secondary div p a:hover
{
	background-color: yellow;
	color: black;
}

#press_page #secondary h3,
#press_page #secondary p,
#contact_page #secondary h3,
#contact_page #secondary p,
#about_page #secondary h3,
#about_page #secondary p
{
	padding: 0 30px;
}

#private_parties_page #secondary
{
	width: 350px;
	float: left;
	display: inline;
	margin-left: 73px;
	margin-top: 40px;
}

#contact_page #left
{
	width: 45%;
	float: left;
	display:inline;
}

#contact_page #right
{
	width: 45%;
	float: left;
	display: inline;
}

#contact_page #right p,
#contact_page #right h3
{
	padding: 0 0;
}

form label { display: block; }
form fieldset { border: 1px solid #666; padding: 1em; }

/* _ternary
------------------------------------------------------------------------------*/
#about_page #ternary
{
	text-align: right;
	padding: 20px 60px 0 0;
}

#ternary { display: none; }

/* _footer
------------------------------------------------------------------------------*/
#footer
{
	position: relative;
	padding: 14px 0 20px;
	border-top: 1px #DB0022 solid;
}

#footer p
{
	text-align: center;
	font-size: .8em;
}

#footer p a
{
	text-decoration: none;
	color: white;
}

#footer p a:hover
{
	text-decoration: underline;
}

#footer p span { margin-left: 1em; }

#footer a[href ^='http://'], a[href ^='https://']
{
	padding-right: 0;
	background-image: none;
}
