/***********************************************/
/* Wendys.co.nz 2007		                   */
/* Style Sheet 		                           */
/***********************************************/

/***********************************************/
/* HTML tag styles                             */
/***********************************************/ 

body{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #000000;
	padding: 0;
	margin: 0;
	background:#FFF6DC url(../images/bg.gif) repeat top center;
}

a:link {
	text-decoration: none;
	color: #000000;
}
a:visited {
	text-decoration: none;
	color: #000000;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}

img {
	display:block;
	border:none;
}

h3 {
	font-size: 18px;
	font-weight: bold;
}


/***********************************************/
/* Layout Divs                                 */
/***********************************************/

#pageContainer {
	width:860px;
	height:620px;
	margin:0 auto;
	padding-top: 20px;
}

#headerContainer {
	width: 860px;
	height: 168px;
	position: relative;
	z-index: 99;
}

#htmlHeader {
	width: 860px;
	height: 138px;
	overflow: hidden;
}

#htmlNav {
	width: 860px;
	height: 30px;
	overflow: hidden;
	background: url(../images/nav-bg.gif) no-repeat top left;
/*	text-align: center;	*/
}

#htmlSubNav {
	width: 800px;
	height: 59px;
	overflow: hidden;
	padding-left: 30px;
	padding-right: 30px;
	background: url(../images/nav-btm.gif) no-repeat top left;
	line-height: 7em;
	font-size: 10px;
	font-weight: bold;
	color: #E33026;
}

#content {
	width:860px;
	height: 377px;
	background:#006666;
	overflow: hidden;
}

#footer {
	width: 800px;
	margin:0 auto;
	padding-left: 30px;
	padding-right: 30px;
	color: #A6A6A6;
	font-size: 10px;
	line-height: 2em;
}

#htmlFooter a {
	color: #A6A6A6;
}

/***********************************************/
/* I-Frame Layout Divs                         */
/***********************************************/

#contentContainer {
	width: 860px;
	height: 377px;
	overflow: hidden;
}

#contentArea {
	background: url(../images/bg-yellow.gif) no-repeat top left;
	width: 860px;
	height: 377px;
	margin: 0 auto;
}

/***********************************************/
/* Components (IDs)                            */
/***********************************************/

#popupContainer {
	width: 560px;
	height: 360px;
	color: #000000;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -190px;
	margin-left: -290px;
	padding: 10px;
	background: url(../images/html-frame.gif) top center no-repeat;
}

#popupContent {
	width: 500px;
	height: 218px;
	overflow: auto;
	margin: 0 auto;
	padding-right: 10px;
}

#popupTop {
	margin: 0 auto;
	width: 552px;
	padding-right: 28px;
	height: 130px;
	background: url(../images/popup/header.gif) top left no-repeat;
}

#adminContainer, #htmlContainer {
	margin: 0 auto;
	width: 560px;
	height: 100%;
	color: #000000;
	padding: 10px;
	background: url(../images/admin/middle.gif) top left repeat-y;
}

#adminTop {
	margin: 0 auto;
	width: 552px;
	padding-right: 28px;
	height: 130px;
	background: url(../images/admin/header.gif) top left no-repeat;
}

#adminTop h3 {
	font-weight: normal;
}

#adminContent, #htmlContent {
	width: 500px;
	height: 100%;
	margin: 0 auto;
	padding-right: 10px;
}

#adminContent input {
	width: 154px;
}

#adminContent textarea {
	width: 334px;
}

#adminBtm, #htmlBtm {
	margin: 0 auto;
	width: 580px;
	height: 22px;
	background: url(../images/admin/footer.gif) top left no-repeat;
}

/***********************************************/
/* Classes              			           */
/***********************************************/

.contentText {
	padding: 0px 15px 15px 15px;
	line-height:1.5em;
}


/***********************************************/
/* Navigation Styles       			           */
/***********************************************/

#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
}

#nav a {
	display: block;
	text-decoration: none;
	color: #FFFFFF;
	text-align: center;
}

#nav a:hover {
	color: #FFCC00;
}

#nav li { /* all list items */
	float: left;
/*	width: 10em; */ /* width needed or else Opera goes nuts */
	font-weight: bold;
	font-size: 13px;
	line-height: 18px;
	height: 30px;
}

#nav li ul { /* second-level lists */
	position: absolute;
	top: 164px;
	width: 200px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	background:url(../images/subnav-bg.gif) no-repeat top left;
	text-align: left;
}

#nav li ul li {
	font-size: 11px;
	line-height: 25px;
	height: 30px;
}

#nav li ul li a {
	color: #000000;
}

#nav li ul li a:hover {
	color: #E33026;
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;	
}