body {
    font-family: Arial, Helvetica, sans-serif;
    background: #81ceff url(../img/body_bg.png) left 392px repeat-x;	
    color: #3e3e3e;
}

#skip_link {
    height: 1px;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: -500px;
    width: 1px;
}

#page {
    background: transparent url(../img/page_bg.png) 0 92px repeat-x;
}

#branding {
    height: 92px;
    background: #82cfff url(../img/branding_bg.png) bottom left repeat-x;   
    margin-bottom: 120px; /* make space for list of parties */
}

#wrapper {
    width: 960px; /* 990 - padding */
    padding: 15px 15px 0 15px;
    margin: 0 auto;
    background: #bae4ff url(../img/frame_bg.png) repeat-x 0 0;
    overflow: hidden;
}

#main_content {
    background: #FFFFFF url(../img/faux_col.gif) right top repeat-y;
    float: left;
    margin-right: -270px;
    width: 630px; /* with padding 690px */
    padding: 40px 305px 20px 25px; /* actual padding 40px 35px 20px 25px*/
    font-family: "Times New Roman", Times, serif;
}

#related_info {
    background: #DFF3FF url(../img/rel_info_shadow.gif) left top no-repeat;
    float: left;
    position: relative;
    width: 240px; /* 270 with padding */
    padding: 15px;
}

img {
    float: left;
}

a {
    color: #1881b7;
}

/* main content */
#parties,
#meta_filtering {
    position: absolute;
    top: 92px;
    padding: 25px 0 0;
}

#parties {
    margin: 0 -40px; /* 25 + 15 = 40 padding wrapper + main_content */
    /*width: 990px;*/
    width: 800px;
}

#meta_filtering {
    margin-left: 760px; /*  parties width (800) - padding of containers (25 + 15) = 760 */
    width: 190px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.795em;
}

#parties li {
    width: 80px;
    height: 80px;
    float: left;
    overflow: hidden;
    background: transparent url(../img/parties_sprite.png) 0 0 no-repeat;
    margin-right: 20px;
}

#parties li a {
    background: transparent url(../img/parties_sprite.png) 0 0 no-repeat;
    display: block;
    width: 80px;
    height: 80px;
    text-indent: -999em;
}

#parties li #ap {
    background-position: 0 -80px;
}

#parties li #v {
    background-position: 0 -400px;
}

#parties li #sv {
    background-position: 0 -320px;
}

#parties li #h {
    background-position: 0 -240px;
}

#parties li #frp {
    background-position: 0 -160px;
}

#parties li #sp {
    background-position: 0 -640px;
}

#parties li #krf {
    background-position: 0 -480px;
}

#parties li #r {
    background-position: 0 -560px;
}

#parties .disabled #ap {
    background-position: -80px -80px;
}

#parties .disabled #v {
    background-position: -80px -400px;
}

#parties .disabled #sv {
    background-position: -80px -320px;
}

#parties .disabled #h {
    background-position: -80px -240px;
}

#parties .disabled #frp {
    background-position: -80px -160px;
}

#parties .disabled #sp {
    background-position: -80px -640px;
}

#parties .disabled #krf {
    background-position: -80px -480px;
}

#parties .disabled #r {
    background-position: -80px -560px;
}

#parties li.disabled,
#parties li.disabled {
    background-position: -80px 0;
}

#clear {
    width: 80px;
    height: auto;
    /*position: absolute;
    top: 200px;
    margin-left: 270px;*/
    background: #fff none;
    border: 3px solid #9ccbe3;
    color: #9ccbe3;
    -moz-border-radius: 5px;
    padding: 5px 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

#meta_filtering ul {
	background-color: #fff;
	margin: 3px 15px 5px 0;
	padding: 5px;
	position: relative;
	z-index: 1;
	border-width: 3px;
	border-bottom: solid #9ccbe3;
	border-left: solid #9ccbe3;
	border-right: solid #9ccbe3;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
}

#meta_filtering li.seperator {
	padding: 5px;
}

#meta_filtering li.disabled {
	background-color: #94c2db;
}

#meta_filtering li #ks,
#meta_filtering li #d {
	background: transparent url(../img/parties_icons_small.gif) left top no-repeat;
	padding: 2px 0 0 30px;
	display: block;
}

#meta_filtering li #ks {
    background-position: 0 -400px;
}

#meta_filtering li #d {
    background-position: 0 -450px;
}

#main_content .header h1 {
    margin: 0;
}

#main_content .header h1 a,
#main_content .header h1 a:visited {
    background: transparent url(../img/header.gif) left top no-repeat; /* without bubble */
    position: absolute;
    top: 0;
    width: 1013px;
    height: 110px;
    overflow: hidden;
    text-indent: -9999px;
    margin-left: -78px; /* diff 1013 - 960 = 53 + 25 = 78 (padding main_content) */  
    outline: none;
}

#main_content .header h2 {
    font-family: Arial,verdana,sans-serif;
    font-size: 0.75em;
    margin-left: 72px;
    position: absolute;
    text-transform: uppercase;
    top: 65px;
    color: #1c86bd;
}

.bubble {
    background: transparent url(../img/bubble_top.png) left top no-repeat;
    font-family: Arial, Helvetica, sans-serif;
    color: #137cb3;
    position: absolute;
    top: 13px;
    margin-left: 680px;
    padding-top: 10px;
    font-size: 0.6875em;
}

.bubble span {
    background: transparent url(../img/bubble_bottom.png) left bottom no-repeat;
    padding: 0 20px 10px 40px;
    display: block;
    width: 200px;
    min-height: 45px;
}

/* tweets */
.tweets li {
    position: relative;
    background: #fff url(../img/tweet_divider.gif) center bottom no-repeat;

    
    padding-bottom: 50px;
    
    width: 550px;
    padding-right: 80px;
}

.tweets h3 {
    font-family: Georgia, serif;
    font-size: 1.125em;
    margin-bottom: 0;
}

.tweets a,
.tweets a:visited {
    text-decoration: none;
}

.tweets a:hover {
    text-decoration: underline;
}

.tweets p {
    margin-bottom: 0;
    font-size: 0.875em;
}

.tweets h3,
.tweets span,
.tweets p {
    margin-left: 60px;
}

.tweets img {
    position: relative;
    top: -20px;
}

.tweets span {
    display: block;
    float: right;
}

.tweets .date {
    font-family: "Bookman Old Style", serif;
    font-size: 0.6875em;
    color: #767676;
    font-style: italic;
    float: none;
}

.tweets span.ap,
.tweets span.h,
.tweets span.v,
.tweets span.sv,
.tweets span.frp,
.tweets span.sp,
.tweets span.krf,
.tweets span.r,
.tweets span.ks,
.tweets span.d {
    height: 65px;
    width: 37px;
    overflow: hidden;
    text-indent: -999em;
    background: #fff url(../img/parties_icon_sprite.gif) left top no-repeat;
    position: absolute;
    right: 10px;
    top: 0;
}

.tweets span.ap {
    background-position: 0 0;
}
.tweets span.h {
    background-position: 0 -65px;
}
.tweets span.v {
    background-position: 0 -130px;
}
.tweets span.sv {
    background-position: 0 -195px;
}
.tweets span.frp {
    background-position: 0 -260px;
}
.tweets span.sp {
    background-position: 0 -325px;
}
.tweets span.krf {
    background-position: 0 -390px;
}
.tweets span.r {
    background-position: 0 -455px;
}
.tweets span.ks {
    background-position: 0 -520px;
}
.tweets span.d {
    background-position: 0 -585px;
}

#show_more {
    border-bottom: 1px solid #b2b2b2;
}

#show_more a,
#show_more a:visited {
    border: 1px solid #d3d3d3;
    display: block;
    width: 608px;
    text-decoration: none;
    padding: 7px 10px;
    text-align: center;
    font-weight: bold;
    color: #dc150f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.875em;
    background: #fff url(../img/light_grad.png) left bottom repeat-x;
}

#related_info .persons li ul li {
    margin-left: 40px;
    width: 185px;
}

.persons li img {
    margin-top: 3px;
    margin-right: -200px;
}

/* related_info */
#related_info {
    font-size: 0.75em;
}

#related_info ul ul li {
    padding-left: 15px;
    position: relative;
    width: 145px;
}

#related_info ul ul li strong {
    position: absolute;
    display: block;
    text-align: right;
    top: 0;
    right: 0;
}

#related_info h3 {
    margin-bottom: 0;
    font-size: 1em;
}

#related_info a,
#related_info a:visited {
    color: #dc150f;
    text-decoration: none;
}
#related_info a:hover {
    text-decoration: underline;
}

#related_info .button,
#lightbox .button {
    background: transparent url(../img/register_btn.png) left 0 no-repeat;
    height: 57px;
    margin: 0 -5px 10px;
}

#related_info .button a,
#related_info .button a:visited,
#lightbox .button input {
    background: transparent url(../img/register_btn.png) right -57px no-repeat;
    display: block;
    padding: 17px 7px;
    height: 23px;
    font-size: 1.25em; /* 15px */
    color: #fff;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

#about {
    background: transparent url(../img/rel_info_horiz_shadow.png) -20px 0 no-repeat;
    padding-top: 50px;
    margin-top: 20px;
}

#about li {
    clear: left;
}

#about li img {
    margin: 0 20px 15px -15px;
}

#about .partner li img {
    margin: 5px 0 0 0;
}


/* Lightbox */
#overlay {
    /*background: transparent url(../img/overlay.png) left top repeat;*/
    background: #000;
    opacity: 0.4;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    
    display: none;
}

#lightbox {
    width: 100%;
    position: absolute;
    text-align: center;
    top: 100px;
    
    display: none;
}

#lightbox .content {
    width: 457px;
    height: 251px;
    background: transparent url(../img/lightbox_bg.png) left top no-repeat;
    position: relative;
    margin: 0 auto;
    padding: 25px 50px 35px;
    color: #004163;
    text-align: left;
}

label {
    display: block;
    padding: 5px 0 3px;
}

label span {
    font-size: 0.8em;
}

input {
    border: 2px solid #176086;
    font-size: 1.4em;
    padding: 5px;
    width: 443px;
}

#lightbox h1 {
    margin-bottom: 0.2em;
}

#lightbox .button {
    float: left;
    clear: both;
    margin: 15px 10px 0 -3px;
}

#lightbox .button input {
    border: none;
    float: left;
    display: inline-block;
    height: 57px;
    width: auto;
    overflow: visible;
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0 25px;
    
}

#lightbox .cancel {
    margin: 35px 0 0;
    float: left;
}

#related_info .info,
#related_info .error {
    background: #ffffcc;
    width: 230px;
    padding: 5px;
    margin-bottom: 5px;
    font-weight: bold;
}

#related_info .error {
    background-color: #dc150f;
    color: #fff;
}
