/*	M2 Direct Styles
	Last Updated: 25/05/2010
	Author: Djenan Kozic (djenan.kozic@infoserve.com)

	FILE INDEX
	-----------------------
	1.	EXTERNAL STYLES
	2.	BASICS
	3.	STRUCTURE
	4.	BRANDING
	5.	NAV
	6.	CONTENT
	7.	PROMOS & OFFERS
	8.	TESTIMONIALS
	9.	FORMS
	10.	SITE INFO
	11.	POPUP FORM
	12.	MISC
	
	
/*	1. EXTERNAL STYLES
	----------------------------------------------*/

	@import url("yui-resets.css");
	@import url("enhancements.css");


/*	2. BASICS
	----------------------------------------------*/

	html { background-color: rgb(51,51,51); }
	body { font-family: 'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode', sans-serif; }

	p, label, input, textarea, table { font-size: 12px; line-height: 1.5em; }
	p { padding-bottom: 1.5em; }

	a { color: #c01200; text-decoration: underline; }
	a:hover { text-decoration: none; }
	a:active {}

	.hidden, #content .product-block ul li a.hidden { display:none; }
	
	
/*	3. STRUCTURE
	----------------------------------------------*/

	#page { width: 940px; margin: 0px auto; background-color: white; }


/*	4. BRANDING
	----------------------------------------------*/

	#branding { background-color: black; position: relative; padding: 15px 26px 5px; }
	
	#branding p.contact { color: white; float: right; position: absolute; top: 22px; right: 0; padding-right:100px; width:210px; line-height:1em; font-size:11px; background:transparent url('../images/accreditations.png') no-repeat 210px center; }
	#branding p span { display: block; font-size: 28px; padding-top:15px; letter-spacing:-0.1em; }
	
	#page-focus { position:relative; height: 132px; background-color: rgb(100,100,100); padding:20px 30px; text-align: right; }
	#page-focus h2 { width: 55%; float:right; font-size:16px; font-weight: bold; }
	#page-focus p { width: 40%; float:right; clear:right; padding:10px 0; font-size:12px; }
	.site-focus { background:transparent url('../images/site-focus-1.jpg') no-repeat top left; }
	
	/* Header Images */
	body.adhesives-and-grouts .site-focus { background-image:url('../images/headers/adhesives-and-grouts.jpg'); }
	body.contact .site-focus { background-image:url('../images/headers/contact.jpg'); color:white; }
	body.homepage .site-focus { background-image:url('../images/headers/homepage.jpg'); }
	body.porcelain-and-ceramic .site-focus { background-image:url('../images/headers/porcelain-and-ceramic.jpg'); color:white; }
	body.solid-wood-flooring .site-focus { background-image:url('../images/headers/solid-wood-flooring.jpg'); color:white; }
	body.special-offers .site-focus { background-image:url('../images/headers/special-offers.jpg'); color:white; }
	body.travertine-tiles .site-focus { background-image:url('../images/headers/travertine-tiles.jpg'); }
	body.travertine .site-focus { background-image:url('../images/headers/travertine.jpg'); }
	
	#page-focus .promotions { position:absolute; top:10px; left:10px; width:237px; height:151px; }
	#page-focus .promotions div { position:absolute; top:0; left:0; z-index:8; padding:25px; width:187px; height:101px; background:transparent url('../images/promos-bg.png') no-repeat top left; text-align:left; }
	#page-focus .promotions div * { z-index:8; }
	#page-focus .promotions div h2 { position:relative; text-align:left; float:none; font:bold 24px Helvetica, Arial, Sans-serif; letter-spacing:-0.05em; width:auto; line-height:20px; color: black; }
	#page-focus .promotions div h3 { position:relative; text-align:left; float:none; font:bold 38px Helvetica, Arial, Sans-serif; letter-spacing:-0.05em; width:auto; color: rgb(255,255,255); line-height:38px; padding:0; }
	#page-focus .promotions div h3 em { position:relative; font-size:24px; font-style:normal; }
	#page-focus .promotions div p { position:relative; text-align:left; float:none; padding:0; width:auto; font:bold 10px Helvetica, Arial, Sans-serif; line-height:10px; color:white; }
	#page-focus .promotions div.active, #page-focus .promotions div.active * { z-index:10; }
	#page-focus .promotions div.last-active, #page-focus .promotions div.last-active * { z-index:9; }


/*	5. NAV
	----------------------------------------------*/
	
	.navigation { background-color: black; text-align: right; border-bottom: 4px solid black; }
	.navigation li { position:relative; display:inline; margin-right: 1px; height: auto; }
	.navigation li a { background-color: rgb(117,194,0); color: white; text-decoration: none; padding: 5px 10px 3px; font-weight: bold; font-size: 12px; border-bottom: 1px solid rgb(79,131,0); }
	.navigation li ul { display:none; }
	.navigation li a:hover { background-color: rgb(156,224,53); }
	.navigation .secondary { background-color: rgb(71,128,0);  border-bottom: 1px solid rgb(67,109,3); }
	.navigation .secondary:hover { background-color: rgb(95,152,24); }

	#content-wrapper .navigation li:hover ul.popup-nav { display:block; background-color:transparent; position:absolute; left:210px; margin-top:0; top:-35px; z-index:100; border-left:2px solid rgb(117,194,0); }
	#content-wrapper .navigation li:hover ul li { position:relative; z-index:100; display:inline; }
	#content-wrapper .navigation li:hover ul li a { margin:0; background-color:#376E00; display:block; background-image:none; color:white; text-decoration:none; padding: 2px 10px; font-weight: bold; font-size: 12px; border-bottom: 1px solid #1C6818; -webkit-border-radius:0px; -moz-border-radius:0px; border-radius:0px; position:relative; z-index:100; }
	#content-wrapper .navigation li:hover ul li a:hover { background-color:#3B8800; }

	#content-wrapper .navigation { padding-top:1px; border-bottom: none; }
	#content-wrapper .navigation, #content-wrapper .contact-links { width: 212px; background-color: transparent; text-align:left; }
	#content-wrapper .navigation li, #content-wrapper .contact-links li { float: none; margin-right: 0; }
	#content-wrapper .navigation li a, #content-wrapper .contact-links li a { display:block; margin: 3px 0 0 4px; text-decoration:none; font-weight: bold; font-size: 12px; border-bottom: none; position:relative; z-index:10; }
	#content-wrapper .navigation li a { width: 196px; background: rgb(117,194,0) url('../images/navigation-arrows.png') no-repeat 187px center; padding: 10px 8px; color: white; position:relative; z-index:10; }
	#content-wrapper .navigation li ul li a { width:250px; white-space:nowrap; }
	
	#content-wrapper .navigation li:hover { border:none; background-color:white; }
	#content-wrapper .navigation li a:hover { background-color: rgb(156,224,53); border:none; }
	#content-wrapper .contact-links li a { width: 180px; background-color: rgb(227,243,204); padding: 10px 16px; color: rgb(75,125,0); text-transform: uppercase; }
	#content-wrapper .contact-links li a:hover { background-color: rgb(245,248,241); border:none; }
		
	#site-info .navigation { text-align:center; border-bottom: none; }
	#site-info .navigation li { display: inline; float: none; padding: 0; margin: 0; }
	#site-info .navigation li a { color: rgb(117,194,0); background-color: transparent; border-right: 1px solid white; font-weight: normal; font-size: 10px; padding: 0 5px; margin: 0; border-bottom: none; }
	#site-info .navigation li .last { border:none; }


/*	6. CONTENT
	----------------------------------------------*/
	
	p.tagline { background-color: rgb(117,194,0); font-weight:bold; clear: both; padding: 5px 27px; font-size: 12px; border-top: 1px solid rgb(166,240,53); }
	
	#content-wrapper { float: left; padding-bottom: 29px; width:100%; }
	
	#content { float: right; width: 660px; padding: 30px 30px 0 0; }
	#content p { color: rgb(61,60,62); }
	#content p strong { font-weight:bold; color: rgb(10,10,10); }
	#content p a strong { color: rgb(117,194,0); }
	.homepage #content h1 { background:transparent url('../images/m2-direct-icon.png') no-repeat center left; padding:25px 60px; color: rgb(117,194,0); margin-top:-20px; font-weight:bold; }
	.homepage #content h1 em { color: rgb(117,194,0); font-style:normal; }
	#content h1 { background: rgb(117,194,0) url('../images/m2-direct-icon.png') no-repeat center left; padding:8px 60px; text-transform: uppercase; color: white; margin-top:-20px; font-weight:bold; font-size: 16px; margin-bottom:16px; }
	#content h1 em { color: #A0E83F; font-style:normal; }
	#content h2 { padding: 0; color: #000000; text-transform: uppercase; font-weight: bold; font-size: 16px; clear: both; margin-top:1em; margin-bottom: 0.5em; }
	#content h3 { background-color: rgb(0,0,0); padding: 7px 16px 9px; color: white; text-transform: normal; font-weight: normal; font-size: 14px; clear: both; margin-bottom: 1em; }
	#content h3 em { color: rgb(150,150,150); font-style:normal; }
	
	#content li { font-size: 12px; line-height: 1.5em; }
	
	#content .content-banner { -moz-border-radius:4px; -webkit-border-radius:4px; border-radius:4px; color:white; line-height:1em; text-decoration:none; font:bold 12px Helvetica, Arial, sans-serif; display:block; width:174px; padding:11px 11px 11px 475px; height:78px; overflow:hidden; background: #DDD url('../images/banners/big-sales-banner.jpg') no-repeat top left; }
	#content .summer-promo-banner { -moz-border-radius:4px; -webkit-border-radius:4px; border-radius:4px; color:white; line-height:1em; text-decoration:none; font:bold 12px Helvetica, Arial, sans-serif; display:block; width:0px; padding:89px 0px 11px 658px; height:0px; overflow:hidden; background: #DDD url('../images/banners/summer-promo-banner.jpg') no-repeat top left; margin-bottom:20px; }

	
	#content .product-block { position:relative; min-height:250px; border:1px solid black; margin-bottom:15px; background-color:#eee; /*background: #eee url('../images/product-block-bg.png') repeat-x bottom;*/ }
	#content .product-block img { margin:0; width:267px; float:left; }
	#content .product-block table { float:right; margin:10px; width:370px; font-size:12px; height:auto; }
	#content .product-block table th { background-color: rgb(117,194,0); color:white; border:1px solid rgb(0,0,0); padding:2px 4px; }
	#content .product-block table td { border:1px solid rgb(0,0,0); padding:2px 4px; }
	#content .product-block table th p { width:auto; padding:0; color:#fff; float:none; margin:0; }
	#content .product-block table td.colour-sample { width:50px; background-color: auto; }
	#content .product-block p { float:right;width:370px; margin:0 10px 10px; padding:0; }
	#content .product-block p strong { font-weight:bold; color:#333; }
	#content .product-block p a strong { color: #c01200; }
	#content .product-block h3 { background: rgb(0,0,0) url('../images/product-title-bg.png') no-repeat center center; padding: 5px 16px 7px; color: white; text-transform: normal; font-weight: bold; font-size: 18px; clear: both; margin-bottom: 0; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; }
	#content .product-block h3 em { color: white; font-size:14px; text-transform:uppercase; font-style:normal; }
	#content .product-block ul { clear:both; height:31px; }
	#content .product-block ul li { display:block; float:left; }
	#content .product-block ul li a { text-align:center; font-weight:bold; display:block; background: transparent url('../images/product-button.png') no-repeat 0 0; color:white; padding:5px; margin:5px 0px 5px 5px; width:311px; height:11px; font-size:11px; line-height:11px; text-transform:uppercase; text-decoration:none; overflow:hidden; }
	#content .product-block ul li a:hover { background-position: 0 -30px; }
	#content .product-block ul li a:active { background-position: 0 -60px; }

	

/*	7. PROMOS & OFFERS
	----------------------------------------------*/
	
	#content .promos,
	.promos { font-family: Helvetica, Arial, "MS Trebuchet", sans-serif; }
	#content .promos { width: 192px; float:right; margin: 0 30px 30px 30px; display:inline; }
	.promos { width: 182px; float:left; margin: 3px 0 0 4px; }
	
	#content .promos div, .promos div { padding:15px; }
	#content .promos a, .promos a { color:white; text-decoration:none; font-weight: inherit; }

	/* Promo Text */
	.promos h2, #content .promos h2,
	.promos h3, #content .promos h3,
	.promos h4, #content .promos h4,
	.promos h5, #content .promos h5,
	.promos p, #content .promos p { background-color: transparent; padding:0; margin:0; font-style:normal; }
	
	.promos .offer { overflow:hidden; background-color: #ccc; width: 100%; margin-bottom: 3px; color: white; text-transform: uppercase; display:block; padding:0 15px; }
	.promos .offer * { font-weight: bold; }
	
	.promos .main, #content .promos .main { text-shadow: rgb(136,26,18) 0px 1px 2px; background: rgb(203,112,111) url('../images/banners/sale-banner.jpg') no-repeat top left; padding-top:120px; text-indent:-900em; }
	.promos .delivery { background: rgb(190,203,123) url('../images/banners/delivery-banner.jpg') no-repeat top left; height:90px; text-indent:-900em; }
	.promos .expert { background: rgb(236,209,140) url('../images/banners/need-an-expert-banner.jpg') no-repeat top left; height:90px; text-indent:-900em; }
	.promos .guarantee { background: rgb(151,172,215) url('../images/banners/100-percent-guarantee-banner.jpg') no-repeat top left; height:90px; text-indent:-900em; }
	.promos .tile-association { background: rgb(190,203,123) url('../images/banners/tiling-association-banner.jpg') no-repeat top left; height:90px; text-indent:-900em; }
	
	/* Global promo text styles */
	.promos h2, #content .promos h2 { font-size: 30px; line-height:40px; letter-spacing:-1px; }
	.promos h2 em, #content .promos h2 em { font-size: 72px; display:block; letter-spacing:-3px; line-height:45px; padding-top:15px; font-style:normal; }
	.promos h3, #content .promos h3 { font-size: 18px; line-height:1.1em; letter-spacing: -0.04em; }
	.promos p, #content .promos p { font-size: 14px; text-transform:none; line-height:1em; letter-spacing: normal; color:white; padding: 6px 0; }
	.promos cite, #content .promos cite { font-size: 11px; line-height:1em; letter-spacing: normal; color:white; font-weight:normal; }
	
	/* Font sizes for promos within content (like on homepage) */
	.promos p, #content .promos p { font-size: 14px; text-transform:none; line-height:1em; letter-spacing: normal; color:white; padding: 6px 0; }
	.promos cite, #content .promos cite { font-size: 11px; line-height:1em; letter-spacing: normal; color:white; font-weight:normal; }
	
	/* Font sizes for promos outside content (like on products) */
	.promos p, #content .promos p { font-size: 12px; text-transform:none; line-height:1.1em; letter-spacing: normal; color:white; padding: 3px 0; font-weight:normal; }
	.promos cite, #content .promos cite { font-size: 11px; line-height:1em; letter-spacing: normal; color:white; font-weight:normal; }
	
	#content #product-sources li { float:left; width: 169px; padding-right:50px; }
	#content #product-sources li img { margin-bottom:10px; border: 1px solid #666; }
	

/*	8. TESTIMONIALS
	----------------------------------------------*/
	
	.testimonial { width: 212px; margin: 3px 0 0 4px; background-color: rgb(236,236,236); }
	.testimonial h2 { background-color: rgb(117,194,0); padding: 10px 16px; color: white; text-transform: uppercase; font-weight: bold; font-size: 14px; }
	.testimonial p { font-size: 15px; line-height: 18px; color: rgb(61,60,62); padding: 10px 16px; }
	.testimonial blockquote p { font-size: 13px; line-height: 18px; color: rgb(135,135,135); padding: 0px 16px 15px; }
	

/*	9. FORMS
	----------------------------------------------*/
	form { font-size:12px; color: rgb(61,60,62); }
	form fieldset {}
	form label { font-size:12px; color: rgb(61,60,62); width:150px; display:block; float:left; }
	form input, form textarea { border: 1px solid #3D3C3E; padding:3px; font-size:12px; }
	form ul {}
	form ul li { padding-bottom:5px; }
	form ul li.note { padding-bottom:5px; }
	form ul li.note p { padding-left:150px; padding-top:10px; }
	form input.checkbox { border:none; padding:0; }
	form input.submit { border:auto; margin-left: 150px; margin-top:15px; background-color: rgb(117,194,0); color: white; padding:2px 10px; cursor:pointer; }
	form input.submit:hover { border:auto; margin-left: 150px; background-color: rgb(147,224,0); color: white; }
	
	form em { font-size:18px; color:#c00; line-height:10px; vertical-align:-2px; font-style:normal; }


/*	10. SITE INFO
	----------------------------------------------*/

	#site-info { background-color: black; border-top: 4px solid rgb(117,194,0); clear: both; padding: 25px 0 15px; }
	#site-info p { color: rgb(219,219,219); font-size: 10px; text-align: center; margin-top:25px; }
	#site-info em { color: rgb(117,194,0); font-style:normal; }


/*	11. POPUP FORM
	----------------------------------------------*/

	body#popup-form div#page { width:680px; }
	body#popup-form #content-wrapper { background-color:white; position:relative; }
	body#popup-form #content-wrapper .item-preview { position:absolute; top:25px; left:25px; }
	body#popup-form #content-wrapper .next-day-delivery { position:absolute; top:315px; left:25px; }
	body#popup-form div#page .form { width:340px; padding:25px 10px 0; float:right }
	body#popup-form div#page .form h2 { background-color: rgb(0,0,0); padding: 7px 16px 9px; color: white; text-transform: normal; font-weight: normal; font-size: 14px; clear: both; margin-bottom: 0; width:275px; margin-bottom:20px; }
	
	body#popup-form div#page form input,
	body#popup-form div#page form textarea { width:150px }
	body#popup-form div#page form li.note p { padding-left:0px; padding-top:10px; }
	body#popup-form .measuring-guide { clear:both; padding:20px 50px 50px 25px; }
	body#popup-form .measuring-guide h2 { background-color: rgb(0,0,0); padding: 7px 16px 9px; color: white; text-transform: normal; font-weight: normal; font-size: 14px; clear: both; margin-bottom: 0; width:320px; margin-bottom:20px; }
	body#popup-form .measuring-guide img { float:right; margin:-40px 0 -20px 20px; }
	body#popup-form .clear { clear:both; }
	body#popup-form .your-order { clear:both; padding:20px 50px 50px 330px; }


/*	12. MISC
	----------------------------------------------*/

	iframe { border:1px solid black; margin:0 0 15px; padding:0; }
	
/* 	13. Styles for links
	----------------------------------------------*/
	
	a[href $='.pdf'] { padding-right: 18px; background: transparent url(../images/linkicons/icon_pdf.gif) no-repeat center right; }
	a[href $='.doc'] { padding-right: 18px; background: transparent url(../images/linkicons/icon_doc.gif) no-repeat center right; }
	a[href $='.xls'] { padding-right: 18px; background: transparent url(../images/linkicons/icon_xls.gif) no-repeat center right; }
	a[href ^='mailto:'] { padding-right: 18px; background: transparent url(../images/linkicons/icon_mailto.gif) no-repeat center right; }

/*	14. More Details Page
	----------------------------------------------*/

	body.more-details-page div.images-block { border:1px solid #ccc; clear:both; }
	body.more-details-page div.images-block a.left-image { float:left; }
	body.more-details-page div.images-block a.right-image { float:right; }
	body.more-details-page div.images-block a.left-image img,
	body.more-details-page div.images-block a.right-image img { margin:12px; margin-bottom:0px; border:1px solid #999; }
	body.more-details-page div.images-block a.left-image img { margin-right:0; }
	body.more-details-page div.images-block a.right-image img { margin-left:0; }
	body.more-details-page div.images-block p { color:#ddd; clear:both; padding:0; margin:0 14px 10px; }

	body.more-details-page div.buttons { width:100%; }
	body.more-details-page div.buttons a { background: #75C200 url('../images/table-header-chrome.png') repeat-x 0 50%; color:white; font-size:11px; text-transform:uppercase; padding:2px 15px; text-decoration:none; margin-bottom:14px; }
	body.more-details-page div.buttons a:hover { background-color:#72CD00; }
	
	body.more-details-page ul.buttons { clear:both; height:31px; }
	body.more-details-page ul.buttons li { display:block; float:left; }
	body.more-details-page ul.buttons li a { text-align:center; font-weight:bold; display:block; background: transparent url('../images/product-button.png') no-repeat 0 0; color:white; padding:5px; margin:5px 0px 5px 5px; width:311px; height:11px; font-size:11px; line-height:11px; text-transform:uppercase; text-decoration:none; overflow:hidden; }
	body.more-details-page ul.buttons li a { margin:0; }
	body.more-details-page ul.buttons li a:hover { background-position: 0 -30px; }
	body.more-details-page ul.buttons li a:active { background-position: 0 -60px; }
	body.more-details-page ul.buttons li.last { float:right; }

	body.more-details-page .place-order-now-button { float:left; }
	body.more-details-page .colour-options-button { float:right; }

	body.more-details-page table { margin: 0 0 20px; padding: 0; border: 0; line-height: 1; text-align: left; vertical-align: baseline; border-collapse: collapse; border-spacing: 5px; background-color:#E3F3CC; width:100%; -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
	body.more-details-page table th { color:white; text-transform:uppercase; font-weight:bold; padding:5px 8px; background: #75C200 url('../images/table-header-chrome.png') repeat-x 0 50%; border-right:1px solid #77BC26; border-bottom:1px solid #77BC26; }
	body.more-details-page table tr:nth-child(2n) { background-color:#EEF8E0; }
	body.more-details-page table td { padding:5px 8px; color:#294B00; }
	body.more-details-page table tr { border-bottom:1px solid #D7ECAD; }
	body.more-details-page table tr:last-child,
	body.more-details-page table tr:first-child { border-bottom:none; }
	body.more-details-page table th:last-child { -moz-border-radius-topright:4px; -webkit-border-top-right-radius:4px; border-top-right-radius:4px; border-right:none; }
	body.more-details-page table th:first-child { -moz-border-radius-topleft:4px; -webkit-border-top-left-radius:4px; border-top-left-radius:4px; }
	body.more-details-page table th p { color:white; }
	body.more-details-page table td.colour-sample { }
	
	
