/*
Stylesheet for UKIP West Dorset
UK Independence Party Branch Website Template version 5 
Copyright 2008 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: 4.2em;
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;
}

#header h1 a strong {
display: block;
margin-top: .6em;
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: 0 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;
}

.img {
margin: 1em;
}

.left {
float: left;
}

.right {
float: right;
}

p {
margin: .7em 0 .5em 0;
font-size: 1.2em;
}

#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;
border-bottom: #d3d7c8 solid 1px;
padding: 0;
margin: 0;
background: none;
}

#listsolinks ul li a, #listsolinks ul li a:hover {
padding: .5em;
border: 0;
display: block;
}

.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;
}

/* 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;
}
