/**
  Theme Name: Fevered Sleep
  Version: 1
  Author: Playlab Ltd
  Author URI: http://www.playlab.co.uk
  
  Description: Fevered Sleep
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100.01%;
	font-family: inherit;
	}
html {
	height:100%;
}
body {
	line-height: 1;
	color: #fff;
	font-family: georgia,cambria,serif;

	

	}
ol, ul {list-style: none;}
table {
	border-collapse: separate;
	border-spacing: 0;
	}
caption, th, td {
	text-align: left;
	font-weight: 400;
	}
blockquote:before, blockquote:after,
q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}



/* Basic Page Styling *********************************************************/
h1, h2, h3 {
	font-family:Georgia,cambria,serif;
}
a {
	color: #fff;
	text-decoration: underline;
}
a:hover {
/*	color: #ff8600;
*/
	color: blue;

	background-color: transparent; */
}
h1{
	font-size: 22pt;
}
h2{
	font-size: 11pt;
	margin: 20px 0 10px 0;
	font-weight: 900;
}
h3, h4{
	font-size: 12px;
	font-weight: 900;
}

	
p {
	font-size: 11pt;	
	font-family: arial, helvetica, sans-serif;
	margin: 0 0 20px 0;
	line-height: 11pt;
}
strong {
	font-weight: 900;
}

.submit {
	color: #fff;
	background-color: #102332;
	border: 1px solid #ccc;
}

.submit:hover {
	color: #ccc;
	background-color: #102332;
	border: 1px solid #fff;
}

/* Template layout *********************************************************************/
#wrapper {
	margin: 0 auto;
	width: 995px;
	display: block;
	overflow: hidden;
	}
#header{
	margin:0;
	width: 995px;
	height: 130px;
	display: block;
	float: left;
	clear: right;
}

a#logo {
	float: right;
	background: transparent url(http://www.feveredsleep.cp.uk/images/logo_withbutton.png) no-repeat 0 0;
	width:265px;
	height:101px;
	text-indent: -9999px;
}
ul#nav {
	margin: 25px 0 0 25px;
	width: 480px;
	height: 50px;
}
ul#nav li {
	display: inline;
	font-weight: 600;
	font-size: 12px;
	margin: 0 10px 0 0;
	line-height: 1.3em;
}
ul#nav li a {
	text-decoration:none;
	width: 	170px;
	height: 22px;
	display: block;
	float: left;
	padding: 0;
	margin: 0;
}
ul#nav li a:hover {
	color: #2d393f;
	background-color: #fff;
}

/* about */
ul#nav li.item1 a {
	width: 168px;
	text-indent: -999px;
	background: transparent url(images/sprite_nav_withtext_2.png) no-repeat 0 0;
}
ul#nav li.item1 a:hover {
	background: transparent url(images/hi_sprite_nav_withtext_2.png) no-repeat 0 0;
}
ul#nav li.item1.selected a {
	background: transparent url(images/hi_sprite_nav_withtext_2.png) no-repeat 0 0;
}

/* current projects */
ul#nav li.item2 a {
	width: 142px;
	text-indent: -999px;
	background: transparent url(images/sprite_nav_withtext_2.png) no-repeat -168px 0;
}
ul#nav li.item2 a:hover {
	background: transparent url(images/hi_sprite_nav_withtext_2.png) no-repeat -168px 0;
}
ul#nav li.item2.selected a {
	background: transparent url(images/hi_sprite_nav_withtext_2.png) no-repeat -168px 0;
}

/* in development */
ul#nav li.item3 a {
	width: 138px;
	text-indent: -999px;
	background: transparent url(images/sprite_nav_withtext_2.png) no-repeat -310px 0;
}
ul#nav li.item3 a:hover {
	background: transparent url(images/hi_sprite_nav_withtext_2.png) no-repeat -310px 0;
}
ul#nav li.item3.selected a {
	background: transparent url(images/hi_sprite_nav_withtext_2.png) no-repeat -310px 0;
}

/* past projects */
ul#nav li.item4 a {
	width: 110px;
	text-indent: -999px;
	background: transparent url(images/sprite_nav_withtext_2.png) no-repeat 0 -22px;
}
ul#nav li.item4 a:hover {
	background: transparent url(images/hi_sprite_nav_withtext_2.png) no-repeat 0 -22px;
}
ul#nav li.item4.selected a {
	background: transparent url(images/hi_sprite_nav_withtext_2.png) no-repeat 0 -22px;
}

/* gallery */
ul#nav li.item5 a {
	width: 73px;
	text-indent: -999px;
	background: transparent url(images/sprite_nav_withtext_2.png) no-repeat -110px -22px;
}
ul#nav li.item5 a:hover {
	background: transparent url(images/hi_sprite_nav_withtext_2.png) no-repeat -110px -22px;
}
ul#nav li.item5.selected a {
	background: transparent url(images/hi_sprite_nav_withtext_2.png) no-repeat -110px -22px;
}

/* calendar */
ul#nav li.item6 a {
	width: 85px;
	text-indent: -999px;
	background: transparent url(images/sprite_nav_withtext_2.png) no-repeat -183px -22px;
}
ul#nav li.item6 a:hover {
	background: transparent url(images/hi_sprite_nav_withtext_2.png) no-repeat -183px -22px;
}
ul#nav li.item6.selected a {
	background: transparent url(images/hi_sprite_nav_withtext_2.png) no-repeat -183px -22px;
}

/* mailing list */
ul#nav li.item7 a {
	width: 101px;
	text-indent: -999px;
	background: transparent url(images/sprite_nav_withtext_2.png) no-repeat -270px -22px;
}
ul#nav li.item7 a:hover {
	background: transparent url(images/hi_sprite_nav_withtext_2.png) no-repeat -270px -22px;
}
ul#nav li.item7.selected a {
	background: transparent url(images/hi_sprite_nav_withtext_2.png) no-repeat -270px -22px;
}

/* contact us */
ul#nav li.item8 a {
	width: 100px;
	text-indent: -999px;
	background: transparent url(images/sprite_nav_withtext_2.png) no-repeat -371px -22px;
}
ul#nav li.item8 a:hover {
	background: transparent url(images/hi_sprite_nav_withtext_2.png) no-repeat -371px -22px;
}
ul#nav li.item8.selected a {
	background: transparent url(images/hi_sprite_nav_withtext_2.png) no-repeat -371px -22px;
}


ul#subnav {
	margin: 0 0 0 30px;
	float: left;
	clear: left;
	height: 70px;
	width: 700px;
	overflow: hidden;
}
ul#subnav li {
	display: inline;
	font-weight: 900;
	font-size: 12px;
	margin: 0 .5em 0 0;
	line-height: 1.3em;
}
ul#subnav li a {
	text-decoration:none;
	padding: 3px 0;
}
	
ul#subnav li.current_page_item a {
	color: #ff8600;
	background-color: transparent;
}

body#project ul#subnav{
	display: none;
}


#content {
	min-height: 490px;
	margin: 0 0 0 30px;
	display: block;
}
body#home #content {
	background: transparent url(images/bg_sprite.png) no-repeat 0 60%;
	border: 1px solid transparent;
	width: 900px;
}
body#current-projects {
	background: transparent url(images/bg_texture_whatshappening.png) no-repeat -80px 200px;
}
body#in-development {
	background: transparent url(images/bg_texture_indev.png) no-repeat 50% 0;
}
body#past-projects{
	background: transparent url(images/bg_texture_archive.png) no-repeat 50% 100px;
}
body#gallery {
	background: transparent url(images/bg_texture_gallery.png) no-repeat 50% 0;
}
body#calendar {
	background: transparent url(images/bg_texture_calendar.png) no-repeat 50% 0;
}
body#about {
	background: transparent url(images/bg_texture_about.png) no-repeat 50% -100px;
}
body#mailing {
	background: transparent url(images/bg_texture_mailing.png) no-repeat 50% 0;
}
body#contact {
	background: transparent url(images/bg_texture_contact.png) no-repeat 50% 0;
}

#content #left {
	padding: 0 0;
	float: left;
	width: 260px;
}
#content #left h2 {
	margin:0 0 20px 0;	
}

#content #left h3.fix-height {
	margin-top: 20px;
}

#content #left h3, #content #left h4 {
	margin:0 0 10px 0;	
}

#content #left h3 a, #content #left h4 a{
	text-decoration: none;
}

#content #left p{
	width: 250px;
	font-family: arial, helvetica, sans-serif;
}

#content #right {
	font-family: arial, helvetica, sans-serif;
	float: left;
	padding: 0 0 0 20px;
	width: 680px;
}

#content #right p{
	margin: 0 0 20px 0;
	width: 500px;
}

#content .post{
	clear: left;
	margin: 15px 0 0 0;
}
/* Home    ********************************************************************/
body#home a#logo {
	background: transparent url(images/logo.png) no-repeat 0 0;
}
/* Gallery  *******************************************************************/
p.small {
margin: 0;
padding: 0;
font-size: .6em;
}
.ngg-left {
	float:left;
	clear: left;
}
.ngg-singlepic {
	margin: 0 15px 15px 0;
}
#right .ngg-left {
	float:left;
	clear: none;
}

.ngg-gallery-thumbnail-box {

}
.ngg-gallery-thumbnail {
}
.ngg-gallery-thumbnail img {
	float:left;
	display:block;
	margin: 0 15px 15px 0;
	position:relative;

}
#right .ngg-gallery-thumbnail img {
	
}

.ngg-galleryoverview {
	clear:both;
	display:block;
	overflow:hidden;
	/* margin:0 0 15px 0; */

}
.ngg-clear{
	/* clear:both; */
}

/* override defaults from fancy.css *************************************/
div#fancy_title {
	display: none;
	visibility: hidden;
}
div#fancy_title td#fancy_title_left, div#fancy_title td#fancy_title_right, div#fancy_title td#fancy_title_main  {
	background-image: none;
	background-color: #2d393f;
}
div#fancy_title div {
	color:#FFFFFF;
	font-family:inherit;
	font-size:inherit;
	font-size-adjust:none;
	font-stretch:inherit;
	font-style:inherit;
	font-variant:inherit;
	font-weight:inherit;
	line-height:inherit;
	padding-bottom:2px;
}

/* Calendar **************************************************************/
#wp-calendar {
}

#wp-calendar table {
	width: 300px;
	float: left;
	margin: 0 15px 40px 0;
	border-left: 2px solid #fff;
	padding: 0 0 0 5px;
}

#wp-calendar table td.ec3_postday {
	background: transparent url(images/bg_calendar_cell.png) no-repeat 0 0;
}
#wp-calendar table td {
	width: 35px;
	height: 25px;
	margin: 0;
	padding: 5px;
	font-family: arial, helvetica, sans-serif;
	font-size: 11pt;
	font-weight: 900;	
	text-align: center;
}

#wp-calendar table td.ec3_postday a {
	color: #2D393F;
	text-decoration: none;
	padding: 0 7px 5px 0;
}

#wp-calendar table td.ec3_postday a:hover {
	background-color: transparent;
}

#wp-calendar table.nav {
	margin: 0;
	width: 970px;
	padding: 0;
	display: block;
	overflow: hidden;
	border: none;
}

#wp-calendar table.nav td {
	width: 300px;
}
#wp-calendar table.nav td#prev a {
	text-indent: -9999px;
	background: transparent url(images/btn_previous.png) no-repeat 0 0;
	display: block;
	width: 110px;
	height: 25px;
}
#wp-calendar table.nav td#next a {
	text-indent: -9999px;
	background: transparent url(images/btn_next.png) no-repeat 0 0;
	display: block;
	width: 70px;
	height: 25px;
}

#wp-calendar table.nav td#prev a {
	float: left;
	margin: 0 0 0 -10px;
}

#wp-calendar table.nav td#next a {
	float: right;
	margin: 0 -10px 0 0;
}

#wp-calendar table.nav td#prev, #wp-calendar table.nav td#next {
	font-weight: 900;
}

#wp-calendar table.nav td #ec3_publish {
	display: none;
}

#wp-calendar table caption {
	font-weight: 900;
	font-size: 1.2em;
	border-left: 2px solid #fff;
	padding: 0 0 10px 5px;
}
#wp-calendar table caption a{
	text-decoration:none;
}

/* Mail form *****************************************************************/
#mailform td {
	padding: 1em 1em 0 0;

}


/* Footer *********************************************************************/
/*
#footer {
	position: fixed;
	bottom: 0;
	margin: 0;
	padding: 5px 25px;
	clear: both;
	background-color: #2d393f; 
	width: 100%;
	}
#footer p {
	width: 100%;
	font-size: 0.69em;
	}
*/
/* Misc **********************************************************************/
div.clear, br.clear {clear: both;}

/* about us ******************/

#ace {
	position: relative;
	float: right;
	bottom: 0;
}



/** normally hidden but will appear when css disabled */
.skip,
.noCss {
  position: absolute;
  left: -9999px;
}

/**
  theme requirements as per 
  http://codex.wordpress.org/CSS
*/
.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
   float: left;
}

.alignright {
   float: right;
}
