/* undo browser inconsistencies */
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input,button
{ margin:0; padding:0; }
h1,h2,h3,h4,h5,h6,pre,code,input,select { font-size:100%; }
ul,ol { list-style:none; padding:0; margin: 0; }
address, caption, cite, code, dfn, em, strong, th, var
{ font-style:normal; font-weight: normal }
table { border-collapse: collapse; border-spacing: 0; }
fieldset,img, button { border:0 }
caption { text-align: left; }
q:before,q:after { content: ''; }

:-moz-any-link:focus, :focus {
outline: none;
}

html 
{
overflow-x: auto;
overflow-y: auto;
}

body {
	background: #b8b8b8;
	color: #000;
	font-size: 76%;
	font-family: Verdana, Arial, sans-serif;
}

.wrapper {
	font-size: 1.0em;
	background: url(/static/img/shared/bg-main.jpg) no-repeat 0 0;
	width: 996px;
	height: 750px;
	margin: 10px auto 0;
	position: relative;
}

.section-padding {
	position: relative;
	z-index: 99;
	padding: 60px 95px;
}

span.sIFR-alternate {
	visibility: hidden;	/* Hide non-sIFR text from IE */
}


/** section specific bg images **/
.page-image {
	position: absolute;
	z-index: 1; 
}

.party-election-broadcast { width: 996px; height: 750px; background: url(/static/img/home/bg-page.png) no-repeat 0 0; }
.policies { width: 996px; height: 750px; background: url(/static/img/policies/bg-page.png) no-repeat 0 0; }
.encourage { width: 996px; height: 750px; background: url(/static/img/encourage/bg-page.png) no-repeat 0 0; }
.policy-matchmaker { width: 996px; height: 750px; background: url(/static/img/policy-matchmaker/bg-page.png) no-repeat 0 0; }


/** generic styles **/
.clearfix:after {
	display: block;
	visibility: hidden;
	clear: both;
	height: 0;
	content: ".";
}
 
.clearfix {
	display: inline-block;
}

button.over {
	background-position: top left;
	background-repeat: no-repeat;
	cursor: pointer;	
}

button.over:hover {
	background-position: bottom left;	
}

button.over span {
	display: none;
}
 
/* Hides from IE-mac \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* End hide from IE-mac */


.column {
	float: left;
	width: 48%;
	margin: 0 2% 0 0;
}

.column-no-margin {
	float: left;
	width: 49%;
	margin: 0;
}

.float-left { float: left; }

.float-right { float: right; }

.inline-block {
	display: -moz-inline-stack; /* ff2 fix */
	display: inline-block;
	zoom: 1; /* trigger ie hasLayout */
	*display: inline; /* target both ie's */	
}

.form-row {
	width: 99%;
	margin: 0 0 10px 0;
}

.bg-input { 
	background: #eaeaea;
	padding: 5px;
}

.input-sml,
.input-med { 
	width: 175px; 
	margin: 0;
	padding: 0;
}

.input-med { width: 250px; }




/** NEW FORM STYLING **/
.form-rows ul li {
	width: 190px;
	background-color: #eaeaea;
	margin: 0 0 10px 0;
}

.form-rows ul li input {
	margin: 5px;	
}

.form-rows ul li label {
	display: block;
	background-color: #f9f9f9;	
}

.form-rows ul.errorlist li {
	margin: 0;
	background-color: #f9f9f9;
}



/** text styling **/
.errorlist {
	color: #990000;
}

a {
	color: #000; 
	text-decoration: underline;
}
a:hover {
	text-decoration: none; 
}

a.arrow,
a.arrow-prev {
	background: url(/static/img/shared/arrow-down-btn-green.png) no-repeat 100% 0;
	color: #fff;
	text-decoration: none;
	height: 30px;
	padding: 3px 15px 0 10px;
}

a.arrow-prev {
	background: url(/static/img/shared/arrow-up-btn-green.png) no-repeat 100% 0;
	padding-top: 13px;
}

.button {
	border: 0;
	background: #618f2b url(/static/img/shared/bg-btn.png) no-repeat 0 0;
	color: #fff;
	cursor: pointer;
	overflow: visible;
	height: 22px;
	padding: 0 12px 2px;
	width: auto;
}

a.button {
	text-decoration: none;
	padding: 3px 12px;
	height: 15px;
}

h1 { 
	font-size: 2.0em; 
	color: #72a533; 
}

h1.page-title {
	text-indent: -9999px; 
	width: 100%; 
	height: 28px; 
	background-repeat: no-repeat;
	background-position: 0 0;
}

h1.page-title.policy-matchmaker { background-image: url(/static/img/policy-matchmaker/pg-title.gif); }
h1.page-title.encourage { background-image: url(/static/img/encourage/pg-title.gif); }
h1.page-title.video-preview { background-image: url(/static/img/encourage/pg-title-video-preview.gif); }
h1.page-title.policies { background-image: url(/static/img/policies/pg-title.gif); }
h1.page-title.party-election-broadcast { background-image: url(/static/img/party-election-broadcast/pg-title.gif); }
h1.page-title.error { background-image: url(/static/img/shared/pg-title-error.gif); }
h1.page-title.send-to-friend { background-image: url(/static/img/send-to-friend/pg-title.gif); margin: 0 0 10px 0; }
h1.page-title.internal-server-error { background-image: url(/static/img/shared/pg-title-internal-server-error.gif); }

h2 {
	color:#72a533;
	font-size:1.7em;
	font-weight: normal;
	margin: 0 0 5px 0;
}

h3 {
	color:#000;
	font-size:1.0em;
	font-weight: bold;
	margin: 0 0 5px 0;
}

h2 + p {
	padding: 0 0 0.6em 0;
}


p {
	line-height: 1.3em;
	padding: 0.4em 0 0.6em 0;
}

/** header **/
header { margin: 0 0 45px 0; }

header a.logo {
	display: block;
	float: left;
	text-indent: -9999px;
	width: 311px;
	height: 84px;
	background: url(/static/img/shared/logo-green-party.png) no-repeat 0 0;
	margin: 0 0 0 -20px;	
}

.follow-container { 
	float: right; 
	margin: 28px 22px 0 0;
}

.follow-green-party,
.follow-feeds { float: left; }

.follow-green-party {
	font-size: 0.8em;
	color: #669933;
	background: url(/static/img/header/bg-follow-green-party.png) no-repeat 0 0;
	width: 129px;
	height: 18px;
	padding: 10px 15px;
}

.follow-feeds {
	background: url(/static/img/header/bg-follow-feeds.png) no-repeat 0 0;
	width: 78px;
	height: 38px;
}

.list-follow-icons { margin: 7px 0 0 5px; }
.list-follow-icons li {
	float: left;
	margin: 0 0 0 4px;
}
.list-follow-icons li a {
	display: block;
	width: 17px;
	height: 17px;
	text-indent: -9999px;
}

.list-follow-icons li a.icon-rss { background: url(/static/img/shared/icon-rss.gif) no-repeat 0 0; }
.list-follow-icons li a.icon-twitter { background: url(/static/img/shared/icon-twitter.gif) no-repeat 0 0; }
.list-follow-icons li a.icon-facebook { background: url(/static/img/shared/icon-facebook.gif) no-repeat 0 0; }


.portal {
	min-height: 470px;
	height: auto !important;
	height: 470px;
	}


/** nav **/
nav { 
	float: left; 
	width: 175px;
	margin: 28px 65px 0 0;
	}

.list-nav {}
.list-nav li { 
	margin: 0 0 10px 0; 
	font-size: 1.1em;
	font-weight: bold;
	font-family: GillSans, Verdana, Arial, sans-serif;
}

.list-nav li a {
	display: table-cell;
	vertical-align: middle;
	background: url(/static/img/nav/bg-nav.png) no-repeat 0 0;
	width: 161px;
	height: 54px;
	text-decoration: none;
	color: #669933;
	padding: 0 4px 0 15px;

	*display: block; /* ie fix */
	*padding: 15px 1px 0 13px;
	*height: 39px;
}

.list-nav li a:hover { 
	background-position: 0 -54px; 
}

.list-nav li.selected a { 
	background-position: 0 -108px; 
	color: #fff; 
}


.list-nav li .list-sub-nav { display: none; }
.list-nav li.selected .list-sub-nav { display: block; }

.list-sub-nav {
	position: relative;
	top: -5px;
	background: url(/static/img/nav/bg-sub-nav.gif) no-repeat 0 100%;
	list-style-type: disc;
	padding: 5px 0 10px 30px;
}
.list-sub-nav li {
	font-size: 0.9em;
	color: #fff;
	padding: 0;
	margin: 0 0 5px 0;	
}

.list-sub-nav li a {
	display: block;
	color: #fff;
	background: none;
	width: auto;
	height: 1em;
	text-decoration: none;
	padding: 0;
	background: none !important;
}
.list-sub-nav li a:hover { 
	background: none;
	text-decoration: none; 
	}
.list-sub-nav li a.active,
.list-sub-nav li.active { 
	color: #e2e2e2; 
	}




/** content **/
.content-container { 
	float: left; 
	width: 537px;
}

.smaller-content {
	float: left; 
	width: 488px;
}


/** footer **/
footer { 
	display: block;
	clear: both;
	margin: 20px 0 0 0; 
	}

.list-footer { margin: 0 0 0 -5px; }
.list-footer li {
	font-size: 0.9em;
	float: left;
	margin: 0 0 0 5px;
}
.list-footer li a {
	color: #000000;
	text-decoration: none;
	background:url(/static/img/footer/bg-footer-lnk.png) no-repeat scroll 100% 0 transparent;
	height: 20px;
	padding: 18px 10px 0 0;
	float: left;
	cursor: pointer;
	white-space: nowrap;
}

.icon-join,
.icon-donate,
.icon-find,
.icon-sign-up,
.icon-members { 
	width: 47px; 
	height: 38px;
	display: block;
	float: left;
	}

.icon-join { background: url(/static/img/footer/icon-join.png) no-repeat 0 0; }
.icon-donate { background: url(/static/img/footer/icon-donate.png) no-repeat 0 0; }
.icon-find { background: url(/static/img/footer/icon-find.png) no-repeat 0 0; }
.icon-sign-up { background: url(/static/img/footer/icon-sign-up.png) no-repeat 0 0; }
.icon-members { background: url(/static/img/footer/icon-members.png) no-repeat 0 0; }

address.legal {
	font-size: 80%;
	text-align: center;
	color: #5a5a5a;
	margin-bottom: 20px;
}


/** Home/Policy videos **/
.video-container {
	width: 488px;
	padding: 4px;
	background: url(/static/img/shared/bg-modal.png) repeat scroll 0 0 transparent;
	border: 1px solid #e8e8e8;
}


/** Policies overlay **/
div.section-all-policies h2 {
	margin-top: 10px;	

}

.list-all-policies {}
.list-all-policies li { margin: 0 0 25px 0; }
.list-all-policies li ul {
	padding: 0 0 0 25px;
	list-style-type: disc;
}
.list-all-policies li ul li { margin: 0 0 5px 0; }




/** Policy videos **/
.list-policies #intro p {
	margin-top: 20px;
}



/** Policy Matchmaker **/
body.js form#form-policy-matchmaker ul .question-answers ul li {
	display: none;
}

.list-policy-matchmaker-questions ul li {
	float: left;
	width: 33%;
	padding: 0;
	margin: 0 0 5px 0;
}

.list-policy-matchmaker-questions {}

.list-policy-matchmaker-questions li .question-number { padding: 0 0 10px 0; }

.list-policy-matchmaker-questions li h2.question,
.list-policy-matchmaker-questions li h2.sIFR-replaced {
	margin: 0 0 10px 0;
}
body.js .list-policy-matchmaker-questions li .question-answers { 
	position: relative;
	padding: 50px 0 0 0; 
	width: 75%;
	margin: 0 auto;
}

.list-policy-matchmaker-questions .mobile {
	padding-top: 25px;	
}

.slider-point-marker { display: none; }

body.js .question-answers .slider-point-marker {
	display: block;
	position: absolute;
	background: url(/static/img/shared/slider-point-marker.png) no-repeat 0 0;
	width: 29px;
	height: 29px;
	z-index: 2;
	bottom: -9px;
}

body.js .question-answers .slider-point-marker span {
	color:#72a533;
	display:block;
	font-size:1.4em;
	margin-top: 30px;
}

body.js .question-answers .slider-point-marker.disagree span { margin-left: -25px; }
body.js .question-answers .slider-point-marker.neutral span { margin-left: -20px; }
body.js .question-answers .slider-point-marker.agree span { margin-left: -10px; }

body.js .question-answers .slider-point-marker.disagree { left: -14px; }
body.js .question-answers .slider-point-marker.neutral { left: 50%; margin-left: -14px; }
body.js .question-answers .slider-point-marker.agree { right: -14px; }

.score-cube { margin: 10px 0 0 0; }
.section-policy-matchmaker-results .column-left { width: 199px;	margin: 0 15px 0 0;}
.section-policy-matchmaker-results .column-right { width: 318px; }

.table-results { 
	width: 100%; 
	border-collapse: separate;
	border-spacing: 0 3px;
	margin: 0 0 20px 0;
}

.table-results td { padding: 0; }
.table-results td.policy { 
	width: 120px;
}
.table-results td.policy a {
	color: #669933;
	text-decoration: none;
	display: block;
	padding: 5px 5px;
	height: 12px;
	background: url(/static/img/policy-matchmaker/bg-policy.gif) no-repeat 100% 0;
}
.table-results td.policy a span { display: block; }
.table-results td.policy a span.view-policy { display:none; }

.table-results td.policy a:hover { 
	border:0; /* our trigger for IE5.x and IE6 */
	background: url(/static/img/policy-matchmaker/bg-policy.gif) no-repeat 100% 100%;
} 
.table-results td.policy a:hover span.policy-name { display:none; }
.table-results td.policy a:hover span.view-policy { display:block; color: #000; }

.table-results td.policy-result {
	background: url(/static/img/policy-matchmaker/bg-policy-percent.gif) no-repeat 100% 0;
	display: block;
	width: 166px;
	height: 100%;
}

.policy-result-container {
	position: relative;
}

.policy-result-score-marker {
	background: url(/static/img/policy-matchmaker/bg-policy-result-score.gif) repeat-x 0 0;
	height: 22px;
}
.policy-result-score {
	position: absolute;
	top: 4px; 
	right: 5px;
	font-weight: bold;
}

.list-share-encourage { margin: 0 0 0 -10px; }
.list-share-encourage li {
	margin: 0 0 5px 10px;
}

/** Encourage **/
div.concerns ul {}
div.concerns ul li {
	float: left;
	width: 50%;
	margin: 0 0 5px 0;
}

#video-preview-modal {
	top: 230px;
	margin-left: -173px;
	overflow: hidden;
	width: 568px;
	height: 295px;
}

#video-preview {
	float: left;
	width: 528px;
}


/** Send to a friend **/
.section-send-to-friend .column {
	float: left;
	width: 31%;
	margin: 0 2% 0 0;
}

.section-send-to-friend .column-no-margin {
	float: left;
	width: 33%;
	margin: 0;
}

.section-send-to-friend div#modal-facebook-share-content {
	padding-top: 14px;	
}



/** In-page pagination **/
.pagination-container {
	height: 330px;
	overflow: hidden;
	position: relative;
	margin-top: 30px;
}

.pagination-container-large {
	margin-top: 0 !important;		
}

.pagination-container-large,
.pagination-container-large .pagination-item {
	height: 425px !important;
}

.pagination-item {
	height: 330px;
	overflow: hidden;
	position: relative;
}

.next-prev {
	position: absolute;
	bottom: 0;
	left: 0;
}

.like {
	float: left;
	margin-top: 4px;	
}

.policy-links, #create-policy {
	float: right;
	margin: 4px 0 4px 0;
}

.policy-links li {
	float: left;
	margin: 0 0 0 10px;	
}

.list-next-prev { margin: 0 0 0 -10px; }

.list-next-prev li { 
	float: left !important;
	width: auto !important;
	margin: 0 0 0 10px !important;
}

.list-next-prev li.prev { 
	margin-top: -9px !important; 
}


/** Post to Facebook overlay **/
div#facebook-friend-list-modal li {
	width: 47%;
	margin: 0 0 4px 0;
}

div#facebook-friend-list-modal li.odd {
	float: left;
}

div#facebook-friend-list-modal li.even {
	float: right;	
}

div#facebook-friend-list-modal .name {
	display:block;
	float:left;
	position:relative;
	top:15px;
	width:35%;
}

button.post-to-facebook-wall {
float:right;
margin:12px 0 0 0;
}

#facebook-friend-list ul li .fb_profile_pic_rendered, .fb_profile_pic_rendered[facebook-logo="true"], 
#facebook-friend-list ul li .fb_profile_pic_rendered[facebook-logo="true"] {
background-image:none;
display:block;
float:left;
height:auto;
margin:0 5px 0 0;
width:auto;
}


/** Modal overlay **/
/* jqModal base Styling courtesy of;
	Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
	the Window's z-index value will be set to 3000 by default (via jqModal.js). */

.modal-only { display: none; }

.jqmWindow .modal-only { display: block; }
	
.jqmWindow {
    display: none;
    
    position: fixed;
    top: 7%;
    left: 50%;
    
    margin-left: -300px;
    width: 640px;
    
    background-color: #f9f9f9;
    color: #333;
    
    max-height: 500px;
    padding: 10px;
    
    background: url(/static/img/shared/bg-modal.png) repeat 0 0;
}

#facebook-friend-list-modal,
#facebook-friend-list-modal .modal-container {
	min-height: 500px;
	height: auto !important;
	height: 500px;
}

.modal-container {
	background: #f9f9f9;
	height: auto !important;
	height: 500px;
}

.modal-close {
	padding: 12px 12px 0 12px;
	position: relative;
}

.modal-close a { 
	position: absolute;
	right: 12px;
	top: 9px;
	
}

.modal-scroll {
	overflow-x: auto;
	overflow-y: auto;
    max-height: 425px;
	height: auto !important;
	height: 425px;
    padding: 0 12px 12px 12px;
	position: relative;
}

.jqmOverlay { background-color: #000; }

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

.jqmClose {
	background: url(/static/img/shared/btn-close.png) no-repeat 0 0;
	width: 28px;
	height: 27px;
	text-indent: -9999px;
	float: right;
}

.jqmClose:hover {
	background: url(/static/img/shared/btn-close.png) no-repeat 0 100%;
}


/** Autocomplete **/
.ac_results {
	padding: 0px;
	border: 1px solid black;
	background-color: white;
	overflow: hidden;
	z-index: 99999;
}

.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results li {
	margin: 0px;
	padding: 2px 5px;
	cursor: default;
	display: block;
	/* 
	if width will be 100% horizontal scrollbar will apear 
	when scroll mode will be used
	*/
	/*width: 100%;*/
	font: menu;
	font-size: 12px;
	/* 
	it is very important, if line-height not setted or setted 
	in relative units scroll will be broken in firefox
	*/
	line-height: 16px;
	overflow: hidden;
}

.ac_odd {
	background-color: #eee;
}

.ac_over {
	background-color: #0A246A;
	color: white;
}



/** sliders **/
.ui-corner-all  {
	-moz-border-radius:4px 4px 4px 4px;
}

.ui-widget-content {
	background:url(/static/img/shared/bg-slider-unfilled.png) repeat-x 50% 50% #fff; /** bg for un-filled colour of slider **/
	border:1px solid #cecece;
	color:#000;
}

.ui-widget-header {
	background:url(/static/img/shared/bg-slider-filled.png) repeat-x 50% 50% #8bc156; /** bg for filled colour of slider **/
	border:1px solid #cecece;
	color:#000;
	font-weight:bold;
}

.ui-widget {
	font-size:1.1em;
}

.ui-slider-horizontal {
	height:0.8em;
}

.ui-slider {
	position:relative;
	text-align:left;
}

.ui-slider-horizontal .ui-slider-range-min {
	left:0;
}

.ui-slider-horizontal .ui-slider-range {
	height:100%;
	top:0;
}

.ui-slider .ui-slider-range {
	background-position:0 0;
	border:0 none;
	display:block;
	font-size:0.7em;
	position:absolute;
	z-index:1;
}

.ui-state-default, .ui-widget-content .ui-state-default {
	background:url(/static/img/shared/bg-slider-handle.png) repeat-x 50% 50%; /** bg of slider handle **/
	color:#000;
	font-weight:normal;
}

.ui-slider-horizontal .ui-slider-handle {
	margin-left: -14px;
	top: -50px;
}

.ui-slider .ui-slider-handle {
	cursor: pointer;
	height: 42px;
	position: absolute;
	width: 28px;
	z-index: 99;
}

.ui-widget-content a {
	color:#000;
}

.ui-corner-all {
	-moz-border-radius:4px 4px 4px 4px;
}
