/* -------------------BISCUIT-RECIPES.CO.UK-----------------

Style Sheet ONE for Biscuit-Recipes.co.uk
Created by Pui-Ling Lau

------Table of Contents-------

- Defaults
- Structure
- Classes
- Header & Branding
- Navigation
- Footer-navigation
- Typography-settings
	- general
	- lists
	- links
- Accessibility

--------------------------------------------------------------*/

/*---------------------- DEFAULTS ---------------------*/
* {
	margin: 0;
	padding: 0;
	}
html {
	font-size: 100%; /*this is for IE*/
	}
html, body {
	height: 100%;
	}

/*---------------------- STRUCTURE ---------------------*/	
body {
	background-color: #e9e9e9;
	width: 100%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 62.5%; /*Most browsers have default font size of 16px, using % and ems means users can resize text when they can't if use px*/
	}
#global-wrapper {
	width: 980px;
	margin: 0 auto;
	padding-bottom: 15px;
	margin-top: 20px;
	margin-bottom: 20px;
	border: 2px dashed #e9e9e9;
}
#header-banner {
	width: 100%;
	height: 210px;
}
#header-searchbar {
	float: right;
	margin-top: -20px;
	padding: 10px 30px;
	width: 240px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.3em;
	color: #fff;
	background-color: #CFDE68;
	border: solid #fff 3px;
	outline: 1px solid #ddd;
	background: url(../current-images/polka-dot-green.jpg) no-repeat;
}
#wrapper {
	margin: 0 auto;
	width: 880px;
}
#content-container {
	position: relative;
	top: -2px;
	width: 880px;
	background-color: #fff;
	z-index: 1;
	background: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0.3, rgb(207,222,104)),
		color-stop(0.65, rgb(238,242,234))
	);
	background: -moz-linear-gradient(
		center bottom,
		rgb(207,222,104) 30%,
		rgb(238,242,234) 65%
	);
		border-top-right-radius: 15px;
		border-bottom-right-radius: 15px;
		border-bottom-left-radius: 15px;
		-moz-border-radius-topright: 15px;
		-moz-border-radius-bottomright: 15px;
		-moz-border-radius-bottomleft: 15px;
	}
#content {
	padding: 30px;
	width: 800px;
	padding-top: 35px;
}
#content-text {
	width: 570px;
	float: left;
	margin-right: 40px;
	padding-right: 30px;
	margin-bottom: 20px;
	border-right: 1px solid #999999;
}
#content-intro {
	width: 820px;
	float: left;
	border-bottom: 2px solid #000;
	margin-bottom: 20px;
}
#footer {
	position: relative;
	top: -3px;
	width: 880px;
	padding: 30px 0;
	margin: 0 auto;
	text-align: center;
	background: url(../current-images/footer-arrow.png) no-repeat 50% 0;
}
/*---------------------- BODY COLOUR ---------------------*/
#body-home #global-wrapper {
	background-color: #77C5AC;
}
#body-home #header-banner {
	background-color: #77C5AC;
background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.25, rgb(119,197,172)),
    color-stop(0.93, rgb(178,222,207))
);
background: -moz-linear-gradient(
    center bottom,
    rgb(119,197,172) 25%,
    rgb(178,222,207) 93%
);
}
#body-shop #header-banner {
background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.25, #529CE1),
    color-stop(0.93, #85C6FF)
);
background: -moz-linear-gradient(
    center bottom,
    #529CE1 25%,
    #85C6FF 93%
);
}
#body-shop #global-wrapper {
	background-color: #529CE1;
}
#body-tips  #header-banner {
background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.25, #593E8A),
    color-stop(0.93, #926BDB)
);
background: -moz-linear-gradient(
    center bottom,
    #593E8A 25%,
    #926BDB 93%
);
}
#body-tips  #global-wrapper {
	background-color: #593E8A;
}
#body-links #header-banner {
background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.25, #D93F2E),
    color-stop(0.93, #F75F51)
);
background: -moz-linear-gradient(
    center bottom,
    #D93F2E 25%,
    #F75F51 93%
);
}
#body-links #global-wrapper {
	background-color: #D93F2E;
}
#body-forum #header-banner{
background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.25, #D96C0C),
    color-stop(0.93, #FF8E2B)
);
background: -moz-linear-gradient(
    center bottom,
    #D96C0C 25%,
    #FF8E2B 93%
);
}
#body-forum  #global-wrapper {
	background-color: #D96C0C;
}
#body-blog #header-banner {
background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.25, #F4C82B),
    color-stop(0.93, #FFDB63)
);
background: -moz-linear-gradient(
    center bottom,
    #F4C82B 25%,
    #FFDB63 93%
);
}
#body-blog  #global-wrapper {
	background-color: #F4C82B;
}
#body-az #header-banner {
background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.25, #F144A6),
    color-stop(0.93, #FF69BE)
);
background: -moz-linear-gradient(
    center bottom,
    #F144A6 25%,
    #FF69BE 93%
);
}
#body-az #global-wrapper {
	background-color: #F144A6;
}
#body-contact #header-banner {
background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.25, #8ECA28),
    color-stop(0.93, #B6F052)
);
background: -moz-linear-gradient(
    center bottom,
    #8ECA28 25%,
    #B6F052 93%
);
}
#body-contact #global-wrapper {
	background-color: #8ECA28;
}
/*---------------------- CLASSES ---------------------*/
.clearfix:after {
   content: ".";
   display: block;
   clear: both;
   visibility: hidden;
   line-height: 0;
   height: 0;
}
/*---------------------- HEADER & BRANDING ---------------------*/
#header {
	margin: 0 auto;
	padding-top: 70px;
	width: 880px;
}
#branding {
	float: left;
	margin-top: -42px;
	width: 520px;
}
#rss-feed {
	float: left;
	margin-top: -35px;
	width: 880px;
}
#rss-feed img {
	padding-right: 7px;
	position: relative;
	top: 7px;
}
#search {
	float: left;
	padding-top: 11px;
	width: 240px;
	margin-top: -4px;
}
#search_button {
	margin-top: -35px;
	border: none;
	float: right;
	background-color: #fff;
	padding: 2.5px 10px;
}
.searchbg {
	width: 240px;
	height: 35px;
	display:block;
	border: 0;
}
/*---------------------- NAVIGATION ---------------------*/	
#navigation-container {
	height: 35px;
	margin-top: 40px;
}
#nav {
	list-style-type: none;
	height: 33px;
	width: 960px;
	margin: 0 auto;
} 
#nav li {
	margin: 0;
	padding: 0;
}
#nav a {
	float: left;
	width: 105px;
	height: 33px;
	display: block;
	background-image: url(nav-sprite.png);
	background-repeat: no-repeat;
	text-align: center;
	line-height: 2;
}
#nav-home a {
	background-position: -105px 0;
}
#nav-shop a {
	background-position: -210px 0;
}
#nav-tips a {
	background-position: -315px 0; 	 
}
#nav-links a {
	background-position: -420px 0; 	
}
#nav-forum a {
	background-position: -525px 0; 	
}
#nav-blog a {
	background-position: -630px 0; 	
}
#nav-contact a {
	background-position: -735px 0; 	
}
#nav-az a {
	background-position: -840px 0; 		
}
#nav a:hover {
	background-position: 0 0;
	color: #000;
}
a#here {
	background-position: 0 0;
}
/*---------------------- FOOTER NAVIGATION ---------------------*/
#footer-nav  li{
	float: left;
	border-right: solid #fff 1px;
}
#footer-social {
	float: right;
	width: 240px;
	position: relative;
	top: -55px;
	padding-bottom: 30px;
	text-align: left;
}
#footer li {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.6em;
	list-style-type: none;
	padding: 0 10px;
	color: #000000;
	display: inline;
}
#footer a:link, #footer a:visited {
	color: #fff;
	text-decoration: none;
	}
#footer a:hover {
	color: #000;
	}
/*---------------------- TYPOGRAPHY & SETTINGS ---------------------*/	
/*	- general
	- lists
	- links 
	- images */
/*------------ general ----------*/	
@font-face {
	font-family: 'TuffyRegular';
	src: url('Tuffy-webfont.eot');
	src: local('?'), url('Tuffy-webfont.woff') format('woff'), url('Tuffy-webfont.ttf') format('truetype'), url('Tuffy-webfont.svg#webfontmvIlLqd0') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'TuffyItalic';
	src: url('Tuffy_Italic-webfont.eot');
	src: local('?'), url('Tuffy_Italic-webfont.woff') format('woff'), url('Tuffy_Italic-webfont.ttf') format('truetype'), url('Tuffy_Italic-webfont.svg#webfontG9KLGHP5') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'TuffyBold';
	src: url('Tuffy_Bold-webfont.eot');
	src: local('?'), url('Tuffy_Bold-webfont.woff') format('woff'), url('Tuffy_Bold-webfont.ttf') format('truetype'), url('Tuffy_Bold-webfont.svg#webfontRBPEAfOG') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'TuffyBoldItalic';
	src: url('Tuffy_Bold_Italic-webfont.eot');
	src: local('?'), url('Tuffy_Bold_Italic-webfont.woff') format('woff'), url('Tuffy_Bold_Italic-webfont.ttf') format('truetype'), url('Tuffy_Bold_Italic-webfont.svg#webfontnRZzVXAD') format('svg');
	font-weight: normal;
	font-style: normal;
}
h1.fontface {
	font-family: 'TuffyRegular', Arial, sans-serif;
	padding-bottom: 30px;
	font-size: 2.2em;
}
h2,h3,h4,h5,h6 {
	font-family: 'TuffyRegular', Arial, sans-serif;
	padding-bottom: 30px;
	font-size: 1.9em;
	color: #903;
}
h2 {
	padding-bottom: 5px;	
}
h3 {
	padding-bottom: 10px;	
}
p {
	font-size: 1.4em;	
	margin-bottom: 10px;
	line-height: 28px;
}
#header-searchbar  p {
	float: right;
	width: 240px;
	font-size: 1.3em;
	color: #000;
	padding-top: 5px;
}
/*------------ lists ----------*/
#biscuit-content-main {
	float: left;
	padding-bottom: 20px;
	margin: 0 auto;
	padding-top: 10px;
	width: 820px;
	border-bottom: 2px solid #000;
	margin-bottom: 20px;
}
#biscuit-links-main  li {
	list-style-type: none;
	margin-right: 10px;	
	float: left;
	border: solid #fff 3px;
	outline: 1px solid #ddd;
	width: 120px;
}
#biscuit-content {
	float: left;
	margin: 0 auto;
	padding-top: 10px;
	padding-bottom: 20px;
	width: 820px;
	border-bottom: 2px solid #000;
	margin-bottom: 20px;
}
#biscuit-links li {
	list-style-type: none;
	margin-right: 23px;
	float: left;
	border: solid #fff 3px;
	outline: 1px solid #ddd;
	width: 178px;
}
#az-index {
	width: 820px;
	padding: 10px 30px;
}
#big-index {
	width: 880px;
	padding-top: 20px;
}
#big-index li{
	width: 190px;
	float: left;
	list-style-type: none;
	padding-right: 20px;
}
.index ul {
	float: left;
	height: 100px;
}
.index li {
	float: left;
	width: 105px;
}
.index .longer-biscuit-list {
	height: 160px;	
}
.index .lastlist {
	height: 20px;
}
/*------------ links ----------*/
a {
	outline: none;
}
a:link, a:visited {
	font-size: 1em;	
	text-decoration: none;
	color: #903;
}
a:hover {
	color: #4071ff;
}
#rss-feed a {
	font-family: Verdana, Geneva, sans-serif;
	color: #000;
	font-size: 1.6em;
	text-decoration: none;
}
#rss-feed a:hover {
	color: #fff;
}
#navigation-container a {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 1.7em;
	color: #000;
}
#navigation-container a#here {
	color: #000;
}
#navigation-container #nav-home a {
	color: #fff;
}
#navigation-container #nav-home a:hover {
	color: #000;
}
#navigation-container #nav-home a#here {
	color: #000;
}
#biscuit-links-main a, #biscuit-links a {
	font-size: 1.4em;
	line-height: 25px;
	margin-bottom: 10px;	
}
/*------------ images ----------*/	
img {
	border: none;	
}
#advert img {
	float: left;
	border: solid #fff 3px;
	outline: 1px solid #ddd;
}
#hover-image, #hover-image1, #hover-image2, #hover-image3, #hover-image4, #hover-image5, #hover-image6  { /*this is for hover over link image*/
	position:absolute;
	left: 150px;
	visibility:hidden;
	border: solid #fff 3px;
	outline: 1px solid #ddd;
}
#biscuit-links li.lastimage, #biscuit-links-main li.lastimage {
	margin-right: 0;
}
img.icons {
	position: relative;
	top: 6px;
	border: none;
	padding-right: 10px;
}
/*---------------------- ACCESSIBILIYY ---------------------*/
#skiplink {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	position: relative;
	top: 10px;
	right: 40px;
	float: right;
	text-decoration: none;
	z-index: 2;
	}
#skiplink a:link, #skiplink a:visited {
	color: #fff;
	display: block;
	}
#skiplink a:hover, #skiplink a:focus {
	color: #000;
	text-decoration: none;
	}
#skiplink a:active {
	color: #000;
	}
#back-top-footer {
	font-family: Verdana, Arial, Helvetica, sans-serif;	
	font-size: 1.3em;
	position: relative;
	top: -30px;
}
#back-top-footer a:link, #back-top-footer a:visited {
	color: #790000;
	display: block;
	width: 141px;
	margin: 0 auto;
}
#back-top-footer a:hover {
	color: #2f5086;
}
