/* Created: CU for HaySubs sitewide styles
 * This file styles all common elements
 * across the Haysubs website
 */

/* NOTE:
 * Any page or area specific styling will be assigned
 * within css files assigned in the index.cfm files.
 * The stylesheet has been written in the following order:
 * 1: Styling for links
 * 2: Styling for form elements
 * 3: Styling for tooltips
 * 4: Styling for buttons
 * 5: Styling for accessibility
 * 6: Styling for main col elements
 * 7: Styling for footer area
 * 8: Styling for error pages
 */

@import url(/_css/reset.css); /* import reset stylesheet */
	
@media screen {

/* generic styling */
div.clearFloat {
	clear: both;
	height: 0;
	line-height: 1px;
	font-size: 1px;
	visibility: hidden;
}	


/* sitewide link colours */
a:link,
a:visited {
	color: #ed1c24;
}

a:hover {
	color: #b1151b;
}

a:focus {
	outline:1px dotted;
}

/* sitewide form elements styling */
select {
	font-size:1.1em;
	font-family: verdana, arial, helvetica, sans-serif;
}

option {
	font-size:1em;
}

.inputText {
	float: left;
	font-size:1.1em;
	margin-right: 5px;
	font-family: verdana, arial, helvetica, sans-serif;
}

/* tooltip styling */
#maincol .toolTip {
	float: left;
	cursor:help;
}

	#maincol .toolTip img {
		border: 0;
	}
	
#cluetip-outer {
  position: relative;
  margin: 0;
  background-color: #ffffff;
  border:1px solid #e1e0ea;
  padding: 10px;
}

#tooltip {
	background-color:#EEEEEE;
	border:1px solid #111111;
	opacity:0.85;
	padding:5px;
	position:absolute;
	z-index:3000;
}

#tooltip h3, #tooltip div {
	margin:0;
}

/* sitewide button styling 
 * JQuery code in effects.js is used
 * to create button rollover effect
 * in both Mozilla and IE browsers
 */

/* generic button styling */
.button,
.largeButton {
	border: 0 none;
	text-indent: -5000px;
	cursor: pointer;
}

/* button specific styling */
#countrySelectButton,
#quickFinderButton {
	background: url(/_images/buttons/goButton.gif) transparent no-repeat 0 0;
	height: 22px;
	width: 33px;
	margin: 0;
	display: inline-block;
}

#promoCodeButton {
	background: url(/_images/buttons/enterButton.gif) transparent no-repeat 0 0;
	height: 22px;
	width: 56px;
	display: inline-block;
}

/* still needed if javascript disabled */
	#header input.button:hover,
	#subcol input.button:hover,
	#header .hover,
	#subcol .hover {
		background-position: 0 -22px;
	}

/*buttons in main col content area*/
#proceedToPaymentButton{
	background: url(/_images/buttons/proceedToPaymentButton.gif) transparent no-repeat 0 0;
	height: 29px;
	width: 178px;		
}

#maincol .button,
#maincol .largeButton {
	display: block;
}

#maincol input.largeButton:hover,
#maincol .hoverLarge {
	background-position: 0 -29px;
}

#maincol input.button:hover,
#maincol .hover {
	background-position: 0 -22px;
}


/* accessibility link styling */
.skipNav,	
#accessibility {
	position:absolute;
	left: -999px;
	color: #000;
	font-size: 0.85em;
}


#wrap {
	margin: 0 auto;
	background: url(/_images/containerBorder.gif) repeat-y top left;
	padding: 0 20px;
}
	
#header {
	font-family: tahoma, arial, helvetica, sans-serif;
	}
	

/* ----------------------------------------------- */
/* generic styling for content within the main col */
/* ----------------------------------------------- */
.col-M #maincol { /* set margin on both sides if no subcol present */
	margin: 0 24px;
}

.col-M #subcol { /* hide the subcol from the code if main col present */
	display: none;
}

#maincol {
	margin-left: 24px;
}


#maincol a {
	text-decoration: underline;
}

/* breadcrumb styling */
#maincol #breadcrumb {
	font-size: 1.1em;
	margin: 0;
	display: block;
	font-family: tahoma, arial, helvetica, sans-serif;
}
#maincol #breadcrumb ul li {
		float: left;
		margin-right: 5px;
	}
	

#maincol h1 {
	color:#180f5e;
	font-weight: 400;
	font-size: 2.3em;
	margin: 20px 0 14px 0;
}
	
#maincol p {
	font-size: 1.2em;
	line-height: 1.2em;
	margin-bottom: 15px;
}
	
#maincol p strong {
	font-weight: bold;
}

#maincol em {
	font-style: italic;
}

#maincol sup {
	vertical-align:super;
}

#maincol sub {
	vertical-align: sub;
}
/* styling for the more info button across the site */
#maincol a.moreInfo {
	background: url(/_images/home/hotOffersMoreInfo.gif) no-repeat 0 0;
	display: block;
	text-indent: -5000px;
	width:62px;
	height:13px;
}	
	
	#maincol a.moreInfo:hover {
		background: url(/_images/home/hotOffersMoreInfo.gif) no-repeat 0 -13px;
	}
		
/* promo price colour */
#maincol .promo,
#maincol .expireDate {
	color: #ed1c24;
}
	
/* all images with links have border */
#maincol a img {
	border: 1px solid #e1e0ea;
	display: block;
}
	
/* all elements in rows */
#maincol .row {
	overflow: hidden;
	margin-bottom: 20px;
}
	
	/* all elements in rows */
	#maincol .row p {
		margin: 8px 0 0 0;
	}
	
	#maincol .row p a {
		font-weight: 700;
		line-height: 1.2em;
		text-decoration: underline;
	}

/* continue shopping link */
#continueShoppingLink {
	float: left;
	background: url(/_images/buttons/continueShoppingButton.gif) transparent no-repeat 0 0;
	height: 22px;
	width: 142px;	
	text-indent: -5000px;
	display: block;
}

	#continueShoppingLink:hover {
		background-position: 0 -22px;
	}

/* warning message for sitewide error handling */
#warningMessage {
	background-color: #EFF4F7;
	border: 1px solid #E0E0E0;
	margin: 10px 0;
	padding: 10px;
}
	
	#warningMessage p {
		font-weight: bold;
		color: red;
		margin: 0;
	}
		
/* --- Footer Elements --- */
/* NOTE:
 * Styling for this area is taken from:
 * http://ryanfait.com/resources/footer-stick-to-bottom-of-page/
 * All elements styled below are specific for the footer
 * area to remain at the bottom of the window.
 * IE6 specific styles are placed within the styleIE6.css
*/
	
html, body {
	height: 100%;
}

#wrap {
	/*overflow: hidden;*/ /*this breaks ie - overflowing any content*/
	min-height: 100%;	
	/* height values below MUST be kept here for IE6 workaround */
	height: auto !important;
	height: 100%;
}

#clearFooter {
	height: 100px;
}

#footer {
	margin: -100px auto 0 auto;
	padding-top: 30px;
	overflow: hidden;
	height: 70px;
	width: 902px;
}

/* ------------------------------ */
/* --------- Error Pages -------- */
/* ------------------------------ */
.errorMessages {
	border: 1px solid #797979;
	margin: 30px auto;
	width: 500px;
	padding: 10px 10px 0 10px;
	background: url(/_images/iconExclamation.gif) no-repeat 10px 10px;
}

	.errorMessages .frmHelper {
		margin-left: 50px;
	}
}
