/* Swindon Festival of Literature 2008 */

/* Markup hint: there must be no space between the closing div of #banner and the preceeding img tag */

@import url(reset.css);

/** {
	margin: 0px;
	padding: 0px;
	}*/

body    {
	font-size: 100%;
	font-family:  "Lucida Grande", "Lucida Sans", Arial, Verdana, Helvetica, sans-serif;
	color: #0a0a0a;
	background-color:#D9D5CC;
	text-align: center;
	}

img {
	border-width: 0px;
	}

img.book-light {
	border:1px #ccc solid;
}

img.book-medium {
	border:1px #666 solid;
}


#container   {
	width: 920px;
	margin: 0 auto 0 auto;
	background: #FBF8ED;
	text-align: left;
	border: 3px #CDC9C1 solid;
	border-top: none;
	}

#banner    {
	clear: right;
	}


/*Right column*/

#right       {
	position: relative;
	width: 190px;
	float: right;
	clear: right;
	}

#right a {
	text-decoration: none;
	}

#right a:link {
	color: #000;
	}

#right a:visited {
	color: #000;
	}

#right a:hover {
	color: #fff;
	text-decoration: underline;
	}

#right a:active {
	color: #fff;
	}
.centredimg {
	text-align: center;
	padding: 6px;
	}

#right .centredimg   {
	margin-top: 10px;
	padding: 0;
	}



/*Navigation*/

#nav          {
	background-color: #27317f; /*#9B0034;*/
	background-image: url(/images/site/rt_bot.png);
	background-repeat: no-repeat;
	background-position: right bottom;
	margin-top: -66px;
	position: relative;
	width: 190px;
	float: left;
	clear:right;
	}

#nav ul     {
	background-color: #27317f;  /*#9B0034*/
	margin-bottom: 12px;
	width: 100%;
	float: right;
	}

#nav li       {
	font-size: 0.8125em;
/*	letter-spacing: 1px;*/
	background-color: #9cf; /*#D9A7B7;*/
	list-style: none;
	margin: 1px 12px 0;
	}



/*IE windows needs height 100%, 5.5. needs -16 margin, 5 needs 1.2em height?.*/

#nav_access { 
	position: absolute; 
	top : -9999px; 
	margin : 0; }


#nav a, #nav a:link, #nav a:visited     {
	color: #000;
	text-decoration: none;
	display: block;
	padding: 4px 2px 4px 8px;
	height: 100%;
	line-height: 1.231em;
	border:none;
	}

#nav a:hover    {
	color: #000;
	text-decoration: none;
	background-color:  #E8E18C; /*#ccf;#EBD2DA*/
	}

#nav a:active  {
	color:#99915C;
	/*background-color:#CEBC7B;*/ }


/* Bottom Images */

.bottomimage, .centreimage {
	text-align:center;
	width:auto;
	clear:both;
	margin-bottom:20px;

}

.bottomimage a:link {border:none;}

.centreimage img {
	vertical-align:top;
	border:1px #ccc solid;
}

/*Adding rounded corners to top and bottom navigation items*/

#welcome  {
	background-image: url(/images/site/nav_top.png);
	background-repeat: no-repeat;
	background-position: left top;
	}

#welcome a:hover  {
	background-image: url(/images/site/nav_top_hov.png);
	background-repeat: no-repeat;
	background-position: left top;
	}

#contact  {
	background-image: url(/images/site/nav_bot.png);
	background-repeat: no-repeat;
	background-position: right bottom;
	}

#contact a:hover  {
	background-image: url(/images/site/nav_bot_hov.png);
	background-repeat: no-repeat;
	background-position: right bottom;
	}


/*Info Box*/
.ticketbox    {
	/*background-color: #E8E18C; #ccf;*/
	margin: 10px auto;
	width: 182px;
	float: left;
	overflow: hidden;
	border: 1px #CFBA7C solid;
	background: #fff;
	}

.ticketbox p   {
	font-size: 0.7em;
	text-align: left;
	margin: 0.6em 0.75em;
	line-height: 1.3em;
	}

.ticketbox h3,
.ticketbox h4 {
	line-height: 1.231em;
	color: #222;
	font-weight: bold;
	text-align: center;
	}

.ticketbox h3    {
	font-size: 0.8125em;
	background-color: #CFBD7C; /*#99f;*/
	letter-spacing: 1px;
	padding: 4px;
	}

.ticketbox h4     {
	font-size: 0.76em;
	margin: 0.6em;
	}

.ticketbox ul {
	background-color: #ABE2D6; /*#ccf;*/
	background-image: url(/images/site/today_left_bot.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
	padding-top: 6px;
	padding-bottom: 6px;
	}

.ticketbox li {
	font-size: 0.7em;
	list-style-type: none;
	margin-right: 8px;
	margin-left: 10px;
	padding-bottom: 4px;
	}

.ticketbox a  {
	text-decoration: underline;
	}

.ticketbox a:link    {
	color: #c03;
	text-decoration: underline;
	}

.ticketbox a:visited {
	}

.ticketbox a:hover {
	color: #336;
	text-decoration: underline;
	}

.ticketbox a:active {
	}


/*Today's Events*/

#today  {
   /* background-color: #D77391; #ABE2D6;#ccf;*/
	position: relative;
	top: 0;
	width: 200px;
	float: right;
	}


#today h3      {
	color: #222;
	font-size: 0.75em;
	font-weight: bold;
	letter-spacing: 1px;
	word-spacing: 1px;
	background-color: #CDBF7B; /*#99f;*/
	background-image: url(/images/site/today_right_top.png);
	background-repeat: no-repeat;
	background-position: 180px 0;
	padding: 0.6em 10px;
	}

#today ul  {
	background-color: #E8E18C; /*#ABE2D6;#ccf;*/
	background-image: url(/images/site/today_left_bot.png);
	background-repeat: no-repeat;
	background-position: left bottom;
	padding-top: 1px;
	padding-bottom: 5px;
	}

#today li   {
	font-size: 0.75em;
	list-style-type: none;
	margin: 0.5em 8px 0.5em 10px;
	/*padding-bottom: 4px;*/
	line-height:1.33em;
	}

#today a,
#today a:link,
#today a:visited {
	color: #322;
	text-decoration: none;
	border:none;
	}

#today a:hover {
	color: #322;
	text-decoration: none;
	background: transparent;
	border-bottom:1px #AFA564 solid;
	}

#today a:active {
	}

/* added full stop to .current! */

.current {
	background-color: #f00;
	display: list-item;
	}

/*Left section and page title*/

#left      {
	width: 730px;
	float: left;
	clear: left;
	}

#left h2, #leftcorner h2     {
	font-size: 1.75em;
	font-weight: normal;
	background-repeat: no-repeat;
	margin: 0.7em 10px 0.5em 30px;
	}

/*Use this instead of left when no today box is present.*/

#leftcorner   {
	background-image: url(/images/site/today_right_white.png);
	background-repeat: no-repeat;
	background-position: 710px 0;
	width: 730px;
	float: left;
	clear: left;
	}


/* MAIN COPY LINK STYLES */

.copy a img {
	vertical-align:top;
	border: 0px;
	background: #fff;
	padding: 0px;
}


a, a:link, a:visited
 {
	color: #252A56;
	text-decoration: none;
/*	padding: 1px;*/
	border-bottom: 1px #ccc solid;
	}
	
a:hover {
	color:#CF5E00;
	border-bottom: 1px #efefef solid;
	}

.borderbox a, 
.borderbox a:link, 
.borderbox a:visited {
	text-decoration: none;
	border-bottom: 1px #ccc solid;
	background-color: #ffc;	}

.borderbox a:hover {
	border-bottom: 1px #eee solid;
	color: #9B0034;
	}

.redbox a, 
.redbox a:link, 
.redbox a:visited {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px #bbb solid;
	background: #9B0034;
	}

.redbox a:hover {
	background: #9B0034;
	border-bottom: #ccc;
	color: #9B0034;
	}


/* Event */

.info    {
	margin: 0 auto 0.75em 30px;
	width: 470px;
	padding-top: 0.4em; /* space when jumping to events */
	}

.info h3   {
	color: #9B0034; /*#336;*/
	font-size: 1.125em;
	font-weight: bold;
	margin-top: 0;
	line-height: 1.222em
	}

.info h4   {
	color: #9B0034; /*#336;*/
	font-size: 0.8125em;
	font-weight: bold;
	margin-top: 0.6em;
	padding: 0.4em 0;
	border-style: dashed none;
	border-width: 1px medium;
	border-color: #CFBD7C; /*#C4788D;#336;*/
	line-height: 1.385em;
	}

.copy    {
	margin: 0.75em auto 1.8em 60px;
/*	width: 660px; adds haslayout */
	}

.copy img      {
	margin: 8px 10px 8px 12px;
   /* position: relative;*/
	/*border: solid 1px #336;*/
	}

.copy p       {
	margin: 0.8em 180px 0.8em 0;
	line-height: 1.385em;
	font-size: 0.8125em;
	}

.copy h4 {
	color: #0a0a0a;
	font-size: 0.75em;
	line-height: 1.5em;
	margin: 0.5em 100px 0.5em 0;
	}

.copy h5 {
/*	color:#9B0034;*/
	font-size: 0.9em;
	padding-top:8px;
	margin: 10px 170px 4px 60px;
	border-top: 1px #DAB1C9 solid;}

.copy strong {
	color:#9B0034;
	}

.sidepic {
	float: right;
	clear:right;
	padding-left:10px;
}

.leftpic {
	float: left;
	padding-right:10px;
}


/*Footer*/

#footer      {
	background-color: #27317f;
	margin-top: 10px;
	position: relative;
	width: 920px;
	clear: both;
	}

#footer p   {
	color: #fff;
	font-size: 0.7em;
	text-align: center;
	padding: 6px;
	}

#footer a:link, .bluebox a:link, .redbox a:link  {
	color: #9cf;
	text-decoration: none;
	border:none;
	}

#footer a:visited, .bluebox a:visited, .redbox a:visited {
	}

#footer a:hover, .bluebox a:hover, .redbox a:hover  {
	color: #ABE2D6;
	text-decoration: underline;
	}


#footer a:active, 
.bluebox a:active, 
.redbox a:active {
	}


/*Boxes*/


.borderbox h3, 
.whitebox h3, 
.bluebox h3, 
.redbox h3 {
font-size: 0.935em;
margin: 0.7em auto;
margin-left: 8px;}

.borderbox, 
.whitebox, 
.bluebox, 
.redbox    {
	margin: 25px 60px 25px 10px;
	padding: 7px;
	border: solid 1px #C3DBEE;
	}

.borderbox p, 
.whitebox p, 
.bluebox p, 
.redbox p {
	margin:8px;
	line-height: 1.3em;
	font-size: 0.76em;}


.borderbox img, 
.whitebox img, 
.bluebox img, 
.redbox img   {
	margin: 5px;
	}

.whitebox   {
	background-color: #fff;
	}

.bluebox    {
	color: #fff;
	background-color: #27317f;
	border-width: 0
	}

.redbox     {
	color: #FAE7EE;
	background: #B16C6D;
	border:1px #84002C solid;
	}

.borderbox {
	background: #ffc;
	}

.borderbox strong {
	color:#111;
}

.borderbox ul li {
	font-size: 0.92em;
	font-weight: bold;
	list-style-type: none;
	padding-top: 10px;
	}

#sponsors  {
width:auto;
display:block;
margin: -40px auto 0 auto;
/*	float: left;*/
	clear: both;
	text-align:center;
	}

#sponsors h3 {
	color:#162B74;
	margin:0 auto 1em;
}

/*Specials*/

.doubleticket  {
	height:40px;
	background: #CFBD7C url(/images/site/double.png) right center no-repeat; /*#80C3B4*/
	margin: 1em 0 1em 0;
	width:89%;
	}

#facebox .doubleticket {
	margin-left:-10px;
	margin-top:0;
	width:91.5%;
}

.doubleticket p {
	color: #fff; /*#336;*/
	font-size: 0.7em;
	font-weight: bold;
	line-height: 15px;
	text-align: center;
	word-spacing: 4px;
	letter-spacing: 1px; 
	padding-top: 4px;
}

/* Welcome page styles */

#welcome a   {
/*background-color: #99f;*/
background-image: url(/images/site/nav_lf_top.gif);
background-repeat: no-repeat;
background-position: left top;
display: block;
}

/*Includes upper right blue corner.*/
#intro   {
background-image: url(/images/site/today_right_white.png);
background-repeat: no-repeat;
background-position: 710px 0;
/*padding-top: 10px;*/
width: 730px;
float: left;
}


/*Use padding to separate columns, else Explorer chucks.*/

#headsleft  {
margin-top:16px;
width: 140px;
float: left;
}

#headsleft p {
margin:0px 10px;
}

#headsright p {
margin:10px 0px;
}

#headsleft p, #headsright p {
color: #777;
font-size: 0.6875em;
font-family: "Lucida Grande", Arial, Verdana, Helvetica, sans-serif;
line-height: 1.091em;
text-align: center;
margin: 10px 0px 8px 0px;
}

#headsright   {
margin-top:16px;
width: 140px;
float: right;
}

#headsleft p img, #headsright p img {
	margin:6px auto -8px auto;
}

#headsleft p a,
#headsright p a {border:none;filter:alpha(opacity=100);}

#headsleft p a:hover,
#headsright p a:hover {border:none;opacity:0.85;-moz-opacity:8.5;}


#introcopy  {
background-repeat: repeat-y;
margin-bottom: 8px;
/*margin-right: 10px;
margin-left: 15px; */  
position: relative;
width: 440px;
float: left;
}

#introcopy p  {
line-height: 1.385em;
margin: 0.846em 0;
font-size: 0.8125em;
}


#introcopy img {
margin: 10px;
border: none;
}

#introcopy h2 {
	font-size: 1.4em;
	font-weight: normal;
	background-repeat: no-repeat;
	margin: 0.8em 10px 0.5em 0;
	line-height:1.6em;
}
 
#introcopy h2 strong {
	color: #20347D;
	font-weight: bold;
}


.sidebox, .soldout {
	float:right;
	margin-right:-180px;
	width:300px;
	position:relative;
}

.sidebox {
	border: 2px #1E3278 solid;
	background: #F6F2DD;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px; 
}

#facebox .sidebox {display:none;}

.sidebox p,
.extrabox p
 {
	padding: 0 10px;
	margin: 10px 0;
	font:  .8125em/1.4em "trebuchet ms", arial, sans-serif;
	color: #163271;
}

div.extrabox {
	width:500px;
	margin: 0 auto;
	/*_margin-left:15%;*/ 
	border: 2px #DBD4C4 solid;
	background: #F6F2DD;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	overflow:auto; text-align:left;
clear:both;   }

.extrabox h3 {
	display:block;
	padding: 0.5em;
	font-size:0.8125em;
	line-height:1.2em;
	text-align:center;
background:#1E3278;
color: #fff;
}

.soldout {
	background: #fff;
	border: #173577;
	border: 2px red solid;
	margin-left:-60px;
}

.soldout p {
	padding: 0.5em 10px;
	font-size: 0.875em;
	line-height:1.4em;
}

.soldout h3 {
	background: red;
	color:#fff;
	text-align:center;
	padding: 0.25em 0;
}

.urgent {color:red;}

/* ONE-OFF BOXES */

.tastebox {
	float: left;
	width: 182px;
	margin-right: 10px;
	background: #8C1232;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;

}

.tastebox p {
	font-family: "Trebuchet MS", arial, sans-serif;
	text-align: center;
	font-size: 0.8125em;
	color: #FEF2F6;
	padding: 0 8px;
	margin: 0.8em 0;
	line-height: 1.2em;
}

.tastebox p strong {
	color:#FFBF16;
}

/* Facebox related */ 

.topclose {
	display: none;
}


/* CLEARFIX */

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/* Home Page Sponsors */

div#homesponsors {
	padding:15px 0;
	background:#fff;
}

div#homesponsors img {
	padding:5px 0;
	vertical-align:top;
}

div#homesponsors a, .centreimage a, a.linkpic {border:none;}