/*
Stylesheet for UKIP South West
UK Independence Party Branch Website Template version 4 
Copyright 2006 Alex McKee (http://www.agmckee.co.uk/)

This template is available to UKIP Branches and members for a small fee.
*/

/* Major elements */

* {
margin: 0;
padding: 0;
font-family: sans-serif;}

body {
min-width: 770px;
background: #fff;
font-size: small;
color: #666;
text-align: center; /* Centering the container for IE5 */
}

/* By ID */

#header {
height: 100px;
background: #993366 url(/img/header_alt.png);
color: #ffff00;
border-bottom: 2px solid #444;
}

#header h1 {
float: left;
}

#header img {
float: right;
margin: 1em 2em 0 0;
}

#news {
width: 35%;
float: left;
}

#container {
background: #e6e6e6;
text-align: left;
color: #555;
height: 50px;
width: 100%;
font: normal 11px/19px "Lucida Grande", arial, verdana, helvetica, sans-serif;
}

#container-inner {
position: relative;
width: 95%;
padding: 10px 15px 10px 15px;
margin: 0 auto;
}

#sidebar {
width: 25%;
float: left;
margin: 0 30px 0 0;
background: white;
}

#join {
width: 20%;
min-height: 100px;
background: #fff;
padding: 5px 15px 5px 15px;
margin: 5px 0;
line-height: 16px;
border-top: #d3d7c8 solid 1px;
border-bottom: #d3d7c8 solid 1px;
float: right;
clear: right;
}
	
#welcome {
width: 70%;
min-height: 100px;
background: #fff;
padding: 5px 15px 5px 15px;
margin: 5px 0;
line-height: 16px;
border-top: #d3d7c8 solid 1px;
border-bottom: #d3d7c8 solid 1px;
float: left;
}


#latest ul {
list-style: square;
margin: 0 0 10px 0;
}

#latest {
float: left;
width: 70%;
margin: 0 auto;
clear: right;
font: normal 13px/21px "Lucida Grande", arial, verdana, helvetica, 
}


#main {
float: left;
width: 70%;
margin: 0 auto;
clear: right;
font: normal 13px/21px "Lucida Grande", arial, verdana, helvetica, 
}


#front {
float: left;
width: 500px;
margin: 0 auto;
clear: right;
font: normal 13px/21px "Lucida Grande", arial, verdana, helvetica, 
}

#contact {
font: normal 13px/21px "Lucida Grande", arial, verdana, helvetica, 
}

#previously {
float: right;
}

#footer {
clear: both;
}

#footer p {
float: right;
text-align: right;
}

/* Text formatting */

h1 {
color: #ffff00;
margin: 1em;
font-family: "Lucida Grande", arial, verdana, helvetica, sans-serif;
}

h2 {
font-weight: normal;
font-size: 21px;
line-height: 22px;
color: #4d4f4d;
margin: 0 0 10px 0;
padding: 5px 0 0 0;
letter-spacing: -1px;
}

h3 {
text-align: left;
font-size: 12px;
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;
clear: both;
}

h4 {
font-size: 13px;
line-height: 17px;
color: #4d4f4d;
margin: 0 0 5px 0;
font-weight: normal;
}

p {
margin: .5em 0 .5em 0;
}

/* Forms */

label {
display: block;
text-transform: uppercase;
}

fieldset {
padding: 1em;
border: 1px solid #ccc;
outline: none;
background: #e9ebe3;
}

/* Anchors */

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;
}

h1 a {
color: #ff0;
text-decoration: none;
border: none;
}

h1 a:hover {
background: none;
color: #ff0;
text-decoration: none;
border: none;
}

h3 a {
color: #4d4f4d;
border-bottom: none;
clear: both;
}

/* By class */

.right {
float: right;
}
	
img.right {
border: 1px solid #c8cdba;
padding: .5em;
margin: .5em;
}

.article_image {
float: right;
border: 1px solid #c8cdba;
padding: .5em;
margin: .5em;
}

.article_image_alt {
float: left;
border: 1px solid #c8cdba;
padding: .5em;
margin: .5em;
}

.article_image:after {
content: attr(title);
}

ul.linklist {
list-style: none;
margin: 0 0 10px 0;
}

ul.linklist li {
border-bottom: #d3d7c8 solid 1px;
padding: 0;
margin: 0;
background: none;
}

ul.linklist li a, ul.linklist li a:hover {
padding: 3px 0;
border: 0;
display: block;
}

ul.linklist li a:hover {
background: #e4e6dd;
}

.linklist li a[rel=external] {
background: url(/img/external.gif) no-repeat 98% center;
}

.linklist li a[rel=external]:hover {
background: #e4e6dd url(/img/external_hover.gif) no-repeat 98% 50%;
}

/* By attribute */

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;
}

/* 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;
font-size: 2.2em;
margin-top: 1.2em;
margin-left: 1em;
}

.election_thumb {
float: left;
border: 1px solid #c8cdba;
padding: .5em;
margin: .5em;
}

#main a[rel=external], #latest a[rel=external] {
margin-right: .2em;
}

a[href $='.pdf'], a[rel=document_pdf] { 
padding-right: 20px;
background: transparent url(/img/pdf.gif) no-repeat center right;
margin-right: .2em;
}

.election_results {
width: 100%;
margin-bottom: 3em;
}

.election_results_elected {
font-weight: bold;
}

.election_results_candidate {
width: 200px;
max-width: 200px;
}

.election_results_performance {
width: 150px;
max-width: 150px;
}

.comment {
padding: 1em;
border: 1px solid #ccc;
background: #e9ebe3;
margin-bottom: 1em;
}

.comment h5 {
float: left;
margin: 1em;
font-size: larger;
font-style: italic;
}

.comment_by_line {
font-size: smaller;
float: right;
}

.breakclear {
border: none;
clear: both;
margin: -1em 0;
padding: 0;
}

.response_comment {
padding: 1em;
border: 1px solid #936;
background: #e9ebe3;
margin-bottom: 1em;
}

.response_comment h5 {
float: left;
margin: 1em;
font-size: larger;
font-style: italic;
color: #936;
}

#txpCommentInputForm {
clear: both;
}

.comment_form_left {
width: 30%;
float: left;
margin-right: 1em;
}

.comment_form_right {
width: 50%;
float: left;
}

.nobreak {
clear: none;
}

/* Event Calendars */

table.zem_event_calendar {
width: 100%;
}

table.zem_event_calendar ul li {
list-style-type: none;
}

.Sun, .Mon, .Tue, .Wed, .Thu, .Fri, .Sat {
width: 190px;
}

tr.number td {
border: 1px solid #ccc;
border-bottom: 0;
padding: 5px;
padding-bottom: 0;
}

tr.day td {
border: 1px solid #ccc;
border-top: 0;
padding: 5px;
padding-top: 0;
}

.event li {
list-style-type: none;
}

.linklist h3 {
margin-top: 2em;
}

h3:first-child {
margin-top: 0;
}

#swmap {
width: 550px;
height: 400px;
float: left;
}

#branch_search {
width: 500px;
height: 200px;
margin-top: 50px;
margin-right: 50px;
float: left;
}

#branch_search input {
padding: .2em;
}

input.cleardefault {
color: #888;
width: 250px;
}

input.cleardefault:hover, input.cleardefault:active, input.cleardefault:focus {
color: #000;
}

#contact {
width: 220px;
float: left;
margin-top: 50px;
}

address span {
display: block;
white-space: pre;
}

.note {
padding: 1em;
border: 1px solid #ccc;
background: #e4e6dd;
}

.vcard h3 {
background: url(http://www.ukipsw.org.uk/img/vcard.gif) no-repeat;
background-position: 100% 60%;
}

.phone {
clear: both;
}

.geo span {
font-size: small;
color: #888;
font-variant: small-caps;
}

.geo {
width: 25%;
float: right;
background: url(http://www.ukipsw.org.uk/img/search.gif) no-repeat;
background-position: 0% 50%;
padding-left: 1.5em;
margin-top: -3em;
text-align: right;
}

.tool-tip {
color: #fff;
width: 139px;
z-index: 13000;
}
 
.tool-title {
font-weight: bold;
font-size: 11px;
margin: 0;
color: #9FD4FF;
padding: 8px 8px 4px;
background: url(bubble.png) top left;
}
 
.tool-text {
font-size: 11px;
padding: 4px 8px 8px;
background: url(bubble.png) bottom right;
}

#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;
margin-left: 0;
background: none;
}

#listsolinks ul li a, #listsolinks ul li a:hover {
padding: .5em;
border: 0;
display: block;
}

p span {
font-weight: bold;
}

span.type {
font-weight: normal;
}
