/*
Stylesheet for UKIP Dorset North
UK Independence Party Branch Website Template version 5 
Copyright 2008-9 Alex McKee (http://www.agmckee.co.uk/)

This template is available to UKIP Branches and members for a small fee.
*/

* {
margin: 0;
padding: 0;
}

html {
font-size: 62.5%;
}

body {
width: 100%;
font: normal 1.1em/1.9em "Lucida Grande", arial, verdana, helvetica, sans-serif;
color: #666;
}

ul#navigation {
display: block;
min-height: 50px;
width: 80%;
margin: 0 auto;
cursor: pointer;
}

ul#navigation li {
list-style: none;
display: inline;
cursor: pointer;
}

ul#navigation li a {
display: block;
float: right;
padding: 1em;
color: #676767;
text-decoration: none;
border: 0;
cursor: pointer;
}

ul#navigation li a.left {
display: block;
float: left;
padding: 1em;
margin-left: -1em;
}

ul#navigation li a strong {
text-transform: uppercase;
display: block;
margin-bottom: .5em;
padding-bottom: .1em;
border-bottom: 1px solid #ddd;
letter-spacing: .2em;
}

#header {
clear: both;
width: 100%;
height: 200px;
background: #936 url(/img/header.png) repeat-x;
border-bottom: 1px solid #444;
border-top: 1px solid #444;
}

#header_inner {
width: 80%;
margin: 0 auto;
}

#header h1 {
display: inline;
font-size: 4em;
color: #ff0;
font-weight: lighter;
position: relative;
top: .3em;
float: left;
color: #ff0;
padding: .1em 0;
}

#header h1 a {
color: #ff0;
text-decoration: none;
border: 0;
white-space:nowrap;
}

#header h1 a strong {
display: block;
margin-top: .5em;
text-transform: uppercase;
font-size: 100%;
line-height:1;
}

#header h1 a:hover {
color: #ff0;
text-decoration: none;
border: 0;
background: transparent;
}

#footer {
clear: both;
width: 80%;
margin: 0em auto 2em;
}

h2, h3, h4, h5, h6 {
text-align: left;
font-size: 1.1em;
line-height: 14px;
font-weight: normal;
text-transform: uppercase;
color: #4d4f4d;
padding: 10px 0 5px 0;
border-bottom: #c8cdba solid 2px;
margin: 0 0 5px 0;
margin-bottom: .5em;
letter-spacing: 1px;
}

h2 {
font-size: 1.7em;
padding-bottom: .5em;
font-weight: 100;
color: #777;
}

a {
color: #646F93;
text-decoration: none;
padding: 1px 0;
border-bottom: #c8cdba solid 1px;
outline: none;
}

a:hover {
background: #e9ebe3;
color: #4d4f4d;
border-bottom: #4d4f4d solid 1px;
}

#main {
clear: both;
width: 80%;
margin: 0 auto;
}

#headline {
float: left;
background: #fff;
margin-top: -5em;
padding: 1.1em;
padding-bottom: 0;
}

#latest {
width: 100%;
margin: 1em;
}

.content {
clear: both;
margin: 1em;
padding-top: 1em;
}

.img {
margin: 1em;
}

object {
margin: 1em;
margin-top: 0;
}

.left {
float: left;
}

.right {
float: right;
}

p {
margin: .7em 0 .5em 0;
font-size: 1.2em;
}

#main ul li {
list-style: square;
margin-left: 1em;
}

.listsolinks {
clear: both;
padding-top: 1em;
border-top: 1px solid #ddd;
}

.listsolinks ul {
float: left;
width: 30%;
margin: 1.5%;
}

.listsolinks ul li {
list-style: none !important;
border-bottom: #d3d7c8 solid 1px;
padding: 0;
margin: 0 !important;
margin-left: 0;
background: none;
}

.listsolinks ul li a, #listsolinks ul li a:hover {
padding: .5em;
border: 0;
display: block;
}

.listsolinks div {
float: left;
width: 30%;
margin: 1.5%;
}

.listsolinks div ul {
float: left;
width: 100%;
margin: 0;
}

.logo {
margin: 2em 1.5em 0;
}

/* By attribute */

li a[rel=external] {
background: url(/img/external.gif) no-repeat 98% center;
}

li a[rel=external]:hover {
background: #e4e6dd url(/img/external_hover.gif) no-repeat 98% 50%;
}

a[rel=external] {
background: url(/img/external.gif) no-repeat right center;
padding-right: 1em;
}

a[rel=external]:hover {
background: url(/img/external_hover.gif) no-repeat right center;
padding-right: 1em;
}

form fieldset {
border: 0;
margin: 1em;
}

form label {
display: block;
margin-bottom: .3em;
margin-top: 1em;
}

form input {
padding: .3em;
width: 90%;
border: 1px solid #999;
}

form textarea {
padding: .3em;
border: 1px solid #999;
}

.submit {
display: block;
width: auto;
margin-top: .3em;
cursor: pointer;
background: #efefef;
color: #000;
border: 1px solid #666;
border-right: 2px solid #666;
border-bottom: 2px solid #666;
}

.tags {
text-indent: -1000em;
margin: 0;
padding: 0;
}

/* Contact form styling */

#contact {
width: 100%;
margin: 1em;
clear: both;
}

#contact fieldset {
padding: 1em 0;
}

#contact .left {
float: left;
width: 30%;
}

#contact .right {
float: left;
width: 50%;
}

#contact #message {
width: 100%;
min-height: 150px;
}

.newer {
float: left;
}

.older {
float: right;
}

.newer a, .older a {
display: block;
padding: .8em;
margin: .5em;
}

.caps {
font-variant: small-caps;
}

.files {
width: 40%;
}

#main dl {
width: 60%;
clear: both;
}

#main dl dt {
width: 40%;
display: block;
font-weight: bold;
float: left;
}

#main dl dd {
width: 60%;
display: block;
float: right;
}


/* Twitter */

.listsolinks div ul li.tweet {
padding: 1em 0;
}

.listsolinks div ul li.tweet a {
display: inline;
padding: 0;
margin: 0;
}

.listsolinks div ul li.tweet a:hover {
display: inline;
padding: 0;
margin: 0;
}

.tweet_text {
display: block;
font-size: 120%;
}

.conversation {
color: green;
}

.hashtag {
cursor: help;
}

/* Election results */

table.election_results {
width: 80%;
padding: 0;
margin: 1em;
border-collapse: collapse;
}

table.election_results_vertical {
width: 80%;
padding: 0;
margin: 1em;
}

table.election_results_vertical tbody {
padding-top: 1em;
}

table.election_results caption, table.election_results_vertical caption {
padding: 0;
width: 80%;	 
font: italic 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
text-align: right;
}

table.election_results td {
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
background: #fff;
padding: 6px 6px 6px 12px;
color: #4f6b72;
}

table.election_results_vertical td {
background: #fff;
padding: 6px 6px 6px 12px;
color: #4f6b72
}

table.election_results_vertical th {
letter-spacing: 2px;
text-transform: uppercase;
text-align: left;
padding-left: 1em;
}


thead th {
font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #4f6b72;
border: 1px solid #ccc;
border-left: 0;
letter-spacing: 2px;
text-transform: uppercase;
text-align: left;
padding: 6px 6px 6px 12px;
}

table.election_results_vertical thead th {
font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #4f6b72;
border: 1px solid #ccc;
letter-spacing: 2px;
text-transform: uppercase;
text-align: left;
padding: 6px 6px 6px 12px;
}

th.nobg {
border-top: 0;
border-left: 0;
border-right: 1px solid #C1DAD7;
background: none;
}

table.election_results_vertical th.nobg {
border: 0;
background: none;
}


table.election_results tbody th {
font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #4f6b72;
border: 1px solid #ccc;
letter-spacing: 2px;
text-transform: uppercase;
text-align: left;
padding: 6px 6px 6px 12px;
}

.ukip {
background: #936 url(/img/bg_header.png) repeat-x;
color: #ff0;
text-transform: uppercase;
}

.lab {
background: #C90A0D url(/img/bg_header.png) repeat-x;
color: #fff;
text-transform: uppercase;
}

.con {
background: #0092CF url(/img/bg_header.png) repeat-x;
color: #fff;
text-transform: uppercase;
}

.lib_dem {
background: #FFCC33 url(/img/bg_header.png) repeat-x;
color: #000;
text-transform: uppercase;
}

.lib {
background: #F57804 url(/img/bg_header.png) repeat-x;
color: #fff;
text-transform: uppercase;
}

.green {
background: #73A434 url(/img/bg_header.png) repeat-x;
color: #fff;
text-transform: uppercase;
}

.major {
padding: 1em;

}

.ukip .increase {
background: #936 url(/img/bg_header.png) repeat-x;
}

.initialism {
border: 0;
cursor: help;
}

.listsolinks div ul {
margin-bottom: 3.5em;
}

.entry-navigation {
margin: 1em 0;
min-height: 3em;
}

.next {
margin: 1em 0;
width: 40%;
float: right;
text-align: right;
}

.previous {
margin: 1em 0;
width: 40%;
float: left;
}

blockquote {
padding-left: 2em;
border-left: 2px solid #993366;
}

/* sIFR */

.sIFR-flash {
visibility: visible !important;
margin: 0;
}

.sIFR-replaced {
visibility: visible !important;
}

span.sIFR-alternate {
position: absolute;
left: 0;
top: 0px;
width: 0;
height: 0;
display: block;
overflow: hidden;
}

.sIFR-flash + div[adblocktab=true] {
display: none !important;
}


.sIFR-hasFlash h1 {
visibility: hidden;
}
