/* reset */
body,div,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,fieldset,p,blockquote,th,td,ul,ol,li {
	margin:0;padding:0;
	font-size: 100%;
	/*vertical-align: baseline;*/
}
input,select,textarea { margin: 0 }
table { border-collapse:collapse; border-spacing:0 }
fieldset, img { border:0 }
address, caption, cite, code, dfn, var { font-style:normal; font-weight:normal }
ol, ul, li { list-style:none }
caption, th { text-align:left }
a { outline:none }
a img { border:none }

body {
	background: #e7e7e7;
	color: #000; 
	font: 75% Arial,san-serif;
}

back {
	width:1200px;
	background: url(http://www.ukip.org/images/b1.jpg repeat-x);
}


img {
	border: none;
}

p {
	font-family: Arial, Helvetica, sans-serif;
	margin-bottom: 12px;
}

p.last, p:last-child {
	margin-bottom:0 !important;
}

a:link,a:visited,a:focus,a:active {
	/*-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;*/
	color: #666;
	text-decoration:none;
	outline: none;
}
a:hover {
	color: #c794c7;
}

.float-left {
	float: left;
}
.float-right {
	float: right;
}

.white {
	color: #fff !important;
}

p.error {
	color:#CC0000;
}

/* Layout */


#wrapper {
	margin: 0 auto;
	width: 977px;
}

#header {
	position: relative;
	height: 123px;
}
	#header .logo {
		position: absolute;
		display: block;
		bottom: 4px;
		left: 0;
		width: 512px;
		height: 93px;
	}
	#header .rss {
		position: absolute;
		width: 150px;
		height: 30px;
		right: 0;
		bottom: 8px;
	}
	
		#header-aside {
			position: absolute;
			top: 6px;
			right: 0;
		}
			#header-aside form {
				text-align: right;
			}
				#header-aside input {
					vertical-align:top;
				}
				#header-aside form input.search {
					border: 1px solid #c794c7;
					padding: 2px;
					font-size: 11px;
					box-shadow: 0 1px 2px #999;
					-moz-box-shadow: 0 1px 2px #999;
					-webkit-box-shadow: 0 1px 2px #999;
				}
				
			#header-nav {}
				#header-nav li {
					float: left;
					font-size: 11px;
					text-transform:uppercase;
					margin-top: 4px;
				}
					#header-nav li a:link,#header-nav li a:visited,#header-nav li a:focus,#header-nav li a:active {
						display: block;
						padding: 4px 0 4px 20px;
						color: #000;
					}
#nav {
	position: relative;
	height: 26px;
}
	#nav ul {
		position: absolute;
		top: 0;
		left: -8px;
		width: 965px;
		height: 29px;
		background: url(/images/nav_bg.png) no-repeat;
		padding: 1px 14px;
	}
		#nav li {
			position: relative;
			float: left;
			display: block;
			text-transform: uppercase;
			font-size: 12px;
			background:url(/images/nav_divider_bg.gif) center right no-repeat;
			padding:1px 1px 0 0;
		}
			#nav li a {
				display: block;
				height: 21px;
				line-height: 21px;
				padding: 1px 18px;
				color: #FFF;
			}
			/*.m-latest-news #nav li:nth-child(3) a,*/
			#nav li a:hover,#nav li:hover a {
				background: url(/images/nav_item_bg.gif) repeat-x;
				border-style: solid;
				border-width: 1px;
				border-top-color: #c02fb9;
				border-right-color: #de79db;
				border-bottom-color: #cb53c5;
				border-left-color: #b33fab;
				padding: 0px 17px;
			}
			
			#nav ul ul {
				display: none;
				position:absolute;
				z-index: 10000;
				width: auto;
				height: auto;
				left:0;
				top: 24px;
				background: #FFF url(/images/tab_bg.png) repeat-x;
				border-left: 1px solid #D9D9D9;
				border-right: 1px solid #D9D9D9;
				padding: 0;
				-moz-box-shadow: 1px 1px 10px #999;
				-webkit-box-shadow: 1px 1px 10px #999;
				
			}
			#nav ul #nav2 ul {
				width: 95px;
			}
			#nav ul #nav4 ul {
				width: 105px;
			}
			#nav ul #nav5 ul {
				width: 150px;
			}
			#nav ul #nav7 ul {
				width: 104px;
			}
				
			#nav ul li:hover ul {
				display: block;
			}
				#nav ul ul li {
					float: none;
					width: auto;
					text-transform: none;
					background: none;
					border-bottom: 1px solid #D9D9D9;
					padding: 0;
				}
					#nav ul ul li a,#nav ul li:hover ul a {
						height: auto;
						line-height:normal;
						background: none;
						border: none;
						padding: 4px 8px 4px 12px;
						color: #000;
					}
					
					#nav ul ul li a:hover {
						background: #dbb4d5;
						color: #FFF;
						border: none;
						padding: 4px 8px 4px 12px;
					}

/* bg gradient cruft */
#content div.content-inner {
	position: relative;
	background: url(/images/content_bg.jpg) repeat-x;
}
.c-index #content div.content-inner {
	background: none;
}

.content {
	background-color: #FFF;
	padding: 5px;
	border-bottom: 1px solid #d9d9d9
}

.content:last-child {
	border-bottom: none;
}
	.content .section {
		float: left;
		width: 707px;
	}
	.c-index .content .section {
		height: auto;
	}
	.c-page .content .section {
		width: 100%;
	}
	.content #promo-aside {
		float: right;
		width: 255px;
	}
		#promo-aside p {
			background-image: url(/images/promo_sprite_bar.jpg?100724);
			height: 85px;
			margin: 0;
		}
		#promo-aside p.promo-1 {
			background-position: 0 0px;
		}
		#promo-aside p.promo-2 {
			background-position: 0 -85px;
		}
		#promo-aside p.promo-3 {
			background-position: 0 -170px;
		}
		#promo-aside p.promo-4 {
			background-position: 0 -255px;
		}
		#promo-aside p.promo-5 {
			background-position: 0 -340px;
		}
		#promo-aside p.promo-6 {
			background-position: 0 -425px;
		}
		#promo-aside p.promo-7 {
			background-position: 0 -510px;
		}
		#promo-aside p.promo-8 {
			background-position: 0 -595px;
		}
		#promo-aside p.promo-9 {
			background-position: 0 -680px;
		}
		
			#promo-aside a {
				display: block;
				padding: 34px 0 0 108px;
				width: 130px;
				font-size:12px;			
			}

/* COMMON ================= */

h1 {
	font-size: 35px;
	font-weight: bold;
	color: #a54396;
	text-transform: uppercase;
	padding-top: 42px;
	margin: 0 0 14px 14px;
}
	h1 a:link, h1 a:active, h1 a:focus, h1 a:visited {
		color: #a54396;
	}

/* Region / Branch site layout */
#header h1 {
	position: absolute;
	display: block;
	bottom: 4px;
	left: 0;
 	background: url(/images/logo_badge.png) no-repeat;
	padding-top: 0;
	margin: 0;
	height: 93px;
}
	#header h1 a {
		display: block;
		padding-left: 106px;
		line-height: 93px;
	}

h2 {
	font-size: 20px;
	line-height: 20px;
	color:#dbb4d5;
	text-transform:uppercase;
	margin-bottom: 12px;
}
	h2 a:link, h2 a:active, h2 a:focus, h2 a:visited {
		color:#dbb4d5;
	}

.sitemap,.footer {
	padding: 12px 0 0 10px;
}

	.sitemap h2 {
		text-indent: -10000px;
		background: url(/images/title_sitemap.gif) no-repeat;
		width: 95px;
		height: 16px;
		margin-bottom: 16px;
	}
	
	.sitemap div {
		float: left;
		width: 191px;
	}
		.sitemap p {
			
			font-weight: bold;
			margin-bottom: 8px;
		}
			.sitemap p a  {
				text-transform: uppercase;
				color: #000;
			}
		.sitemap ul {
			margin-bottom: 24px;
			margin-left: 5px;
		}
			.sitemap li {
				margin-bottom: 5px;
			}
			.sitemap li:last-child {
				margin-bottom: 0;
			}
				.sitemap li a {
					color: #666
				}

#footer {
	font-size: 11px;
}
	#footer p {
		margin-bottom: 10px;
	}
	#footer p:last-child {
		margin-top:24px;
		padding-bottom:24px;
	}
	
	#footer span {
		padding: 0 5px;
	}
	
	#footer .social-media {
		float: right;
	}
	#footer .social-media a {
		margin-right: 24px;
	}

#aside {
	float: left;
	width: 150px;
}
	#aside ul {
		margin-bottom: 16px
	}

	#aside li {
		border-top: 1px solid #d9d9d9;
		padding: 1px 0;
	}
	#aside li:last-child {
		border-bottom: 1px solid #d9d9d9;
	}
		#aside li a {
			display: block;
			padding: 4px 14px;
			color: #000;
			text-transform: uppercase;
		}
		#aside li a:hover {
			background-color: #e4c6df;
		}
	
	#aside p {
		padding-left: 14px;
	}
		
#narrow-content {
	float: right;
	width: 525px;
	padding-right: 10px;
}
	#narrow-content .inner-left {
		float:left;
		width:255px;
		margin-bottom:24px;
	}
	#narrow-content .inner-right {
		float:right;
		width:255px;
		margin-bottom:24px;
	}
.c-page #narrow-content {
	float: right;
	width:775px;
	padding-bottom: 20px;
	padding-right: 30px;
}
#standard-content {
	float: right;
	width:795px;
	padding-bottom: 20px;
}

	#content-list {
		margin-left: -5px;
	}
	
		#content-list div {
			float: left;
			width: 265px;
			height: 265px;
			margin-left: 5px;
			margin-bottom: 30px;
			overflow: hidden;
		}
			#content-list img {
				width: 265px;
				height: 150px;
				margin-bottom: 12px;
			}
			#content-list a {
				display: block;
				color: #000;
				text-transform: uppercase
			}
			#content-list p.date {
				margin: 6px 0;
				color: #666;
			}
	
.bg-gradient {
	background: url(/images/bg_gradient.jpg);
	width: 255px;
	height: 85px;
}

/* misc */

img.thumb {
	float: left;
	margin: 2px 8px 0 0;
}

.leader-box {
	padding: 5px
}
	.leader-box img {
		margin-bottom: 4px;
	}
	.leader-box p {
		color: #666;
		margin: 0;
		text-align: center;
	}

img.float-left {
	float: left;
	margin-right: 10px;
}
img.float-right {
	float: right;
	margin-left: 10px;
}



/* HOME =================== */

.home-silo {
	width: 707px;
	height: 300px;
	overflow: hidden;
}

.home-silo .image-cycle {
	width: 707px;
	height: 288px;
	overflow: hidden;
}

.home-col {
	width: 351px;
}
	.home-col ul.tabs {
		border-bottom: 1px solid #d9d9d9;
		height: 24px;
	}
		ul.tabs li {
			float: left;
			background-image: url(/images/tab_inactive_bg.gif);
			background-position: left bottom;
			background-repeat: repeat-x;
			border-top: 1px solid #d9d9d9;
			border-right: 1px solid #d9d9d9;
			border-bottom: 1px solid #d9d9d9;
			font-size: 13px;
			line-height: 23px;
			
		}
		ul.tabs li:first-child {
			border-left: 1px solid #d9d9d9;
		}
		ul.tabs li.ui-state-active {
			background-image: none;
			border-bottom: 1px solid #FFF;
		}
			ul.tabs li a {
				display: block;
				height:23px;
				padding: 0 12px;
				color: #000;
			}
	.home-col div {
		width: 313px; /*349*/
		height: 318px; /*354*/
		padding: 18px;
		border-right: 1px solid #d9d9d9;
		border-bottom: 1px solid #d9d9d9;
		border-left: 1px solid #d9d9d9;
		background: url(/images/tab_bg.png) repeat-x;
	}
	
/* SHOP ============================== */

#shop-aside {
	float: right;
	width: 200px;
	margin: 0 16px;
}

#shop-basket {
	position: absolute;
	top: 0;
	right: 0;
	width: 216px;
} 
	#shop-basket h2 {
		padding: 8px 0 0 8px;
	}	
	#shop-basket p {
		padding-left: 8px;
		margin-bottom: 4px;
	}
	
.purple {
	color: #7e276e;
}


.ItemPic {
	float: left;
	border: 1px solid #C6A0C2;
	margin-right: 10px;
}

#listedSmallItems_1Col{ /*with grey divider*/
	margin-top: 0px;
	padding-left: 0px;
	padding-top: 5px;
	padding-bottom: 5px;
	float: left;
	width: 100%;
	background-image: url(/images/divider_grey.gif);
	background-repeat: repeat-x;
	background-position: bottom;
}

#listedSmallItems_2Col{
	margin-top: 0px;
	padding-left: 0px;
	padding-top: 5px;
	padding-bottom: 3px;
	float: left;
	width: 50%;
}

#listedSmallItems_1Col p, #listedSmallItems_2Col p, #listedSmallItems_2ColGrey p {
	margin-top: 2px;
}
#listedSmallItems_2Col p, #listedSmallItems_2ColGrey p {
	padding-right: 12px;
}

#listedSmallItems_2ColGrey{ /*with grey divider*/
	min-height: 81px; /* expandable height */
	height: auto !important;
  	height: 81px;
	margin-top: 5px;
	margin-bottom: 3px;
	float: left;
	width: 50%;
	background-image: url(/images/divider_grey.gif);
	background-repeat: repeat-x;
	background-position: bottom;
}

.listedLargeItems {
	margin-top: 0px;
	width: 102px;
	float: left;
	padding-top: 10px;
	padding-right: 10px;
}
.nopaddingright {
	padding-right: 0 !important;
}

/* product view */

.left-column {
	float: left;
	width: 156px;
	margin-right: 11px;
}

.right-column {
	float: left;
	width: 369px;
}


.product-images {
	width: 147px;
	height: 200px;
	overflow: hidden;
	border: 1px solid #C6A0C2;

}
.image-xs {
	float: left;
	margin-right: 3px;
	margin-bottom: 3px;
}
.image-xs:hover {
	cursor: pointer;
}

.detail-list {
	background-image: url(/images/divider_grey.gif);
	background-repeat: repeat-x;
	background-position: bottom;
	margin-top:0;
}

table.basket {
	width:100%;
	margin-bottom: 12px;
	border-collapse: collapse;
	font: 11px Verdana,Arial,Helvetica,sans-serif
}
	table.basket th {
		text-align: left;
		border-bottom: 1px solid #84347b;
		padding: 5px;
	}
	table.basket td {
		text-align: left;
		border-bottom: 1px dotted #84347b;
		padding: 5px;
	}
	table.basket td.right {
		text-align: right;
		float: none;
	}
	table.basket td.center, table.basket th.center {
		text-align: center;
	}
	table.basket tfoot td {
		border-bottom: none;
		background-color: #f1f1f1;
	}
	
	table.basket img {
		border: none;
	}

/* General form styling */

div.form-divider {
	padding-bottom: 20px;
	margin-bottom:20px;
	border-bottom: 1px dotted #CCC;
}

table.form {
	width: 100%;
	border-collapse: collapse;
	font-size: 11px;
	margin-bottom: 12px;
}
	table.form th {
		text-align: left;
		width: 140px;
		font-weight: normal;
	}
	table.form td, table.form th {
		padding: 3px;
	}

/* Region / Branch host sites */

div.branch-articles {
	margin: 20px 0 20px 10px;
}

	div.branch-articles .article {
		width: 49%;
		float: left;
		margin-bottom:16px;
	}
		div.branch-articles .article-content {
			width: 232px;
			padding-right: 20px;
			float: left;
		}
			div.branch-articles .article-content p.title {
				font-size: 12px;
			}
			div.branch-articles .article-content p {
				margin-top:0;
				margin-bottom: 4px;
			}
			
			
div.branch-news {
	border-top: 1px solid #CCC;
	padding-top: 20px;
	margin: 0 0 20px 10px;
}
	div.branch-news .news-item p.title {
		font-size: 12px;
		margin: 0 0 8px 0;
	}
	
/* Election 2010 */

table.election-results {
	width: 80%;
}

	table.election-results th {
		padding: 4px 8px;
		font-size: 14px;
		background-color: #DBB4D5;
		color: #333333;
	}
	
	table.election-results td {
		padding: 4px 8px;
		border-top: 1px solid #edd9ea;
	}
	
	
/* Tabs */

.ui-tabs .ui-tabs-hide {
     display: none;
}

/* Notification dialog */

.dialog { z-index:1000; position:fixed; top:0px; left:0px; width:100%; height:100%;  }
.popup { background: #FFF url(/images/content_bg.jpg) repeat-x; width:258px; height:138px; margin:250px auto; padding:60px 30px 0; font-size:14px; text-align:center; border: 1px solid #afb287;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px; box-shadow: 1px 1px 10px #999;
-moz-box-shadow: 1px 1px 10px #999;
-webkit-box-shadow: 1px 1px 10px #999; }
.popup a.close { background:#FFF no-repeat scroll; width:72px; height:32px; display:block; margin:30px auto; /*text-indent:-9999px;*/ }
.popup { position:absolute; top:50%; left:50%; margin:-69px 0 0 -129px; }

/* Promotion display */

.promo_icon {
	display: block;
	width: 255px;
	height: 85px;
	background-image: url(/images/promo_sprite_0111b.jpg);
	background-repeat: no-repeat;
}
.promo1im {
	background-position: 0 0px;
}
.promo2im {
	background-position: 0 -85px;
}
.promo3im {
	background-position: 0 -170px;
}
.promo4im {
	background-position: 0 -255px;
}
.promo5im {
	background-position: 0 -340px;
}
.promo6im {
	background-position: 0 -425px;
}
.promo7im {
	background-position: 0 -510px;
}
.promo8im {
	background-position: 0 -595px;
}
.promo9im {
	background-position: 0 -680px;
}

/* Clear Fix */

.clearboth {
	clear:both;
}

.clearer {
	height: 1px;
	overflow: hidden;
	margin-bottom: -1px;
	clear: both
}

.clear:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clear {display: inline-block;}

/* Hides from IE-mac \*/
* html .clear {height: 1%;}
.clear {display: block;}
/* End hide from IE-mac */	
		
