/*

Stylesheet for UFO Freestyle
Handwritten by Oliver Coningham (AztecMedia.eu)
http://www.ufofreestyle.co.uk/

*/


/* ------------ Toolbox ------------ */

.float-left { float: left; }
.float-right { float: right; }
.align-right { text-align: right; }
.cleared { clear: both; }
.hide { display: none; }
hr { display: none; }

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */


/* ------------ Defaults ------------ */

body {
	background: url('../img/home-body-bg.jpg') no-repeat top center;
	color: #fff;
	font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.7em;
	line-height: 1.5em;
	}

#skip { 
	display: block;
	height: 100px;
	margin-top: -100px; 
	}
	
#container {
	margin: auto;
	width: 960px;
	}


/* ------------ Branding ------------ */

#branding {
	background: url('../img/home-branding-bg.jpg') no-repeat 0 0;
	height: 150px;
	width: 960px;
	}	
	
#branding h1 a {
	background: url('../img/home-h1-bg.gif') no-repeat 0 0;
	display: block;
	height: 88px;
	text-indent: -25000px;
	width: 209px;
	}

#branding h2 a {
	display: block;
	float: left;
	height: 62px;
	text-indent: -25000px;
	}
	
#branding #heading-winter-sports a {
	background: url('../img/home-heading-winter-sports.gif') no-repeat 0 0;
	margin-right: 93px;
	width: 225px;
	}

#branding #heading-mountain-bike a {
	background: url('../img/home-heading-mountain-bike.jpg') no-repeat 0 0;
	margin-right: 129px;
	width: 247px;
	}

#branding #heading-casual-clothing a {
	background: url('../img/home-heading-casual-clothing.jpg') no-repeat 0 0;
	width: 266px;
	}
	
	
/* --------------- Navigation --------------- */

#nav {
	background: url('../img/home-nav-bg.jpg') no-repeat 0 0;
	height: 40px;
	padding-left: 20px;
	width: 940px;
	}
	
#nav ul {
	float: left;
	width: 750px;
	}

#nav li {
	float: left;
	}

#nav li a {
	display: block;
	height: 40px;
	text-indent: -25000px;
	}
	
#nav-home a {
	background: url('../img/home-nav-home.gif') no-repeat 0 0;
	width: 73px;
	}
#nav-about a {
	background: url('../img/home-nav-about.gif') no-repeat 0 0;
	width: 91px;
	}
#nav-winter a {
	background: url('../img/home-nav-winter.gif') no-repeat 0 0;
	width: 118px;
	}
#nav-mountain a {
	background: url('../img/home-nav-mountain.gif') no-repeat 0 0;
	width: 121px;
	}
#nav-casual a {
	background: url('../img/home-nav-casual.gif') no-repeat 0 0;
	width: 127px;
	}
#nav-special a {
	background: url('../img/home-nav-special.gif') no-repeat 0 0;
	width: 119px;
	}
#nav-contact a {
	background: url('../img/home-nav-contact.gif') no-repeat 0 0;
	width: 101px;
	}

#nav li a:hover, #nav li .selected {
	background-position: 0 -40px;
	}


/* --------------- Search --------------- */

#keyword-search {
	background: url('../img/home-search-bg.gif') no-repeat 0 0;
	height: 35px;
	padding-top: 5px;
	overflow: hidden;
	width: 170px;
	}
	
#keyword-search legend {
	display: none;
	}

#keyword-search #keyword {
	background: url('../img/casual-keyword-bg.gif') no-repeat 0 0;
	border: 0;
	float: left;
	font-size: 100%;
	height: 20px;
	padding: 9px 0 0 8px;
	width: 128px;
	}
	
#keyword-search #search {
	height: 29px;
	width: 28px;
	}
	
	
/* --------------- Content --------------- */

#content {
	background: #000 url('../img/default-content-bg.jpg') no-repeat 0 0;
	padding: 20px 0 0 20px;
	width: 940px;
	}

#home #content {
	background: #000 url('../img/home-content-bg.jpg') no-repeat 0 0;
	padding: 20px 0 0 20px;
	height: 470px;
	width: 940px;
	}
		
	
/* --------------- Sidebar --------------- */

#sidebar {
	float: left;
	width: 164px;
	}
	
#sidebar #cart {
	background: url('../img/winter-cart-bg.gif') no-repeat 0 0;
	font-size: 90%;
	height: 40px;
	margin-bottom: 20px;
	padding: 4px 10px 0 0;
	text-align: right;
	text-transform: uppercase;
	width: 154px;
	}

#sidebar #cart a {
	color: #fff;
	text-decoration: none;
	}

#sidebar #cart a:hover {
	color: #fff;
	text-decoration: underline;
	}
	
#sidebar #subnav a {
	display: block;
	height: 44px;
	margin-bottom: 3px;
	text-indent: -25000px;
	width: 164px;
	}

#sidebar #subnav-blog a {
	background: url('../img/subnav-blog.gif') no-repeat 0 0;
	}	
#sidebar #subnav-gallery a {
	background: url('../img/subnav-gallery.gif') no-repeat 0 0;
	}	
#sidebar #subnav-sale a {
	background: url('../img/subnav-sale.gif') no-repeat 0 0;
	}	
#sidebar #subnav-new a {
	background: url('../img/subnav-new.gif') no-repeat 0 0;
	}	
	
#sidebar #subnav a:hover, #sidebar #subnav .selected {
	background-position: 0 -44px;
	}

#sidebar #btn-account a {
	background: url('../img/btn-account.gif') no-repeat 0 0;
	display: block;
	height: 33px;
	margin-top: 20px;
	text-indent: -25000px;
	width: 164px;
	}

#sidebar #btn-account a:hover {
	background-position: 0 -33px;
	}


/* --------------- Primary Content --------------- */

#primary-content {
	background: url('../img/3d-ufo-logo.png') no-repeat bottom right;
	float: left;
	min-height: 470px;
	width: 776px;
	}

#primary-content a {
	color: #3292c3;
	}
	
#primary-content a:hover {
	color: #3292c3;
	text-decoration: none;
	}
		
#primary-content #breadcrumbs {
	color: #3292c3;
	margin: 0 0 0 20px;
	width: 550px;
	}

#primary-content #breadcrumbs span {
	color: #fff;
	}

#primary-content p {
	margin-bottom: 1.25em;
	}
	
#home #primary-content #text {
	margin-left: 20px;
	width: 550px;
	}	

#primary-content #text {
	margin-left: 20px;
	width: 560px;
	}	
	
#products #primary-content #text {
	margin-left: 20px;
	width: 590px;
	}	

#primary-content h2 {
	font-size: 200%;
	margin: 12px 0 12px 20px;
	text-transform: uppercase;
	}
			
#primary-content h2 strong {
	color: #3292c3;
	}
	
#home #primary-content h2 {
	background: url('../img/home-h2-bg.gif') no-repeat 0 0;
	height: 18px;
	margin: 12px 0 12px 20px;
	text-indent: -25000px;
	width: 134px;
	}
				
#primary-content #products {
	padding-left: 10px;
	width: 571px;
	}
	
#primary-content #products li {
	float: left;
	height: 108px;
	margin-bottom: 10px;
	}

#primary-content #buttons {
	height: 344px;
	margin-left: 20px;
	margin-top: 1px;
	width: 565px;
	}
#primary-content #buttons .button {
	float:left;
	height:344px;
	}
#primary-content #buttons .ss_tear {
	display:block;
	height:344px;
	z-index:5;
	}
#primary-content #buttons .ss_tear a {
	display:block;
	height:344px;
	z-index:5;
	}
#hp_ftr1 {
	background:url(../img/button-winter-sports.png);
	width:170px;
}
#hp_ftr1 .ss_tear a {
	background:url(../img/button-winter-sports-tear.png);
	width:170px;
}
#hp_ftr2 {
	background:url(../img/button-mountain-bike.png);
	width:190px;
}
#hp_ftr3 {
	background:url(../img/button-casual-clothing.png);
	width:205px;
}
#hp_ftr3 .ss_tear a {
	background:url(../img/button-casual-clothing-tear.png);
	width:205px;
}


/* --------------- Gallery --------------- */

#primary-content .thumbnail {
	background: url('../img/thumbnail-bg.gif') repeat-x 0 0;
	float: left;
	height: 127px;
	margin: 0 10px 10px 0;
	padding: 3px 0 0 3px;
	width: 127px;
	}
	
#primary-content .next a {
	color: #808080;
	float: right;
	margin-right: 7px;
	padding: 3px 27px 3px 0;
	text-transform: uppercase;
	clear:both;
	}

#primary-content .prev a  {
	color: #808080;
	float: left;
	padding: 3px 0 3px 27px;
	text-transform: uppercase;
	clear:both;
	}

#primary-content .next a {
	background: url('../img/next-page.png') no-repeat top right;
	}

#primary-content .prev a {
	background: url('../img/prev-page.png') no-repeat top left;
	}
	

/* --------------- Product --------------- */

.product {
	background: url('../img/casual-product-bg.png') no-repeat 0 0;
	float: left;
	font-size: 90%;
	height: 174px;
	margin: 0 20px 20px 0;
	width: 173px;
	}

#primary-content .product a {
	color: #fff;
	text-decoration: none;
	}

#primary-content .product a:hover  {
	color: #fff;
	text-decoration: underline;
	}
		
.product .product-photo {
	height: 144px;
	text-align: center;
	width: 173px;
	line-height: 144px; /* Added to vertical align the product image- PR */
	}

.product .product-photo img{ /* Added to vertical align the product image- PR */
	vertical-align: middle;
	}

.product .product-title {
	float: left;
	padding-left: 10px;
	}

.product .product-price {
	float: right;
	font-weight: bold;
	padding-right: 10px;
	}
	
#primary-content .img {
	float: left;
	margin: 0 20px;
	width: 265px;
	}
	
#primary-content .extraimg {
background:white;
float: left;
height: 83px;
margin: 0px 8px 8px 0px;
width: 83px;
}

#product-image {
	background: url('../img/casual-product-image-bg.gif') no-repeat 0 0;
	float: left;
	height: 332px;
	margin: 0 0 8px 0;
	width: 265px;
	}

#product-photo {
	height: 302px;
	text-align: center;
	width: 265px;
	line-height: 302px; /* Added to vertical align the product image- PR */
	}

#product-photo img{
	vertical-align:middle; /* Added to vertical align the product image- PR */
	}

#product-title {
	font-size: 90%;
	padding: 3px 0 0 10px;
	width: 255px;
	}
	
#product-description {
	float: left;
	width: 275px;
	}
	
#product-description .price {
	font-size: 120%;
	}

#product-description .price strong {
	color: #7cbf00;
	}

#product #buy, #product #buy #button {
	margin-top: 1.75em;
	}
	
#product #buy div {
	margin-bottom: 1.25em;
	}

#product #buy label {
	display: block;
	float: left;
	width: 60px;
	}

#product #buy #quantity {
	width: 30px;
	}

#product #buy #btn-back {
	margin-left: 10px;
	}
				
					
/* --------------- Footer --------------- */

#footer {
	background: url('../img/footer-bg.png') no-repeat 0 0;
	color: #000;
	padding: 40px 0 20px 0;
	width: 960px;
	}

#home #footer {
	background: url('../img/home-footer-bg.png') no-repeat 0 0;
	color: #000;
	padding: 40px 0 20px 0;
	width: 960px;
	}
	
#footer a {
	color: #7cbf00;
	text-decoration: none;
	}
	
#footer a:hover {
	text-decoration: underline;
	}

#footer #links {
	float: left;
	width: 500px;
	}
	
#footer ul li {
	background: url('../img/casual-footer-divider.gif') no-repeat 0 50%;
	float: left;
	margin-left: 5px;
	padding-left: 5px;
	}
	
#footer ul li a {
	color: #000;
	}

#footer ul li a:hover {
	color: #39a7de;
	}

#footer .footer-mountain a:hover {
	color: #b05418;
	}
	
#footer ul .first {
	background-image: none;
	margin: 0;
	padding: 0;
	}

#footer .white {
	color: #fff;
	}
						
#footer #copyright {
	float: right;
	text-align: right;
	}
	
#footer .spacer {
	margin-left: 15px;
	}

.blog-date{
	margin-top: 4px;
	margin-left: 20px;
	_margin-left: 10px;
	float:left;
	background: #3292C3;
	color: #fff;
	font-weight: bold;
	font-size: 20px;
	padding: 2px 4px;
	border: 2px solid #1A4D6C;
	width: 25px;
	}
.blog-date .month{
	font-size: 12px;
	width: 100%;
	text-align:center;
	}

.blog-date .date{
	clear:left;
	text-align:center;
	}

.blog-text{
	margin: 0 0 20px 70px;
	width: 500px;
	line-height: 1.5em;
	}

.blog-text .permalink{
	padding-top: 15px;
	}

.blog-text img{
	float:left;
	padding: 3px 5px 3px 0;
	}