/* -- State Of The Nation CSS -- */

* {
	border: none;
	margin: 0;
	padding: 0;
}

.hidden {
	display: none;
}

/* -- -- -- */



/* -- -- -- */

body {
	font: 12px Arial, sans-serif;
	position: absolute;
	height: 100%;
	width: 100%;
	overflow: hidden;
}

#map {
	top: 0px;
	left: 0px;
	bottom: 40px;
	right: 0px;
	position: absolute;
	z-index: 0;
	width: 100%;
	height: 100%;
}

#header {
	background-image: url('../images/header-background2.png');
	position: absolute;
	top: 0px;
	height: 100px;
	left: 0px;
	right: 0px;
	width: 100%;
	z-index: 1000;
}
#header #title {
	position: absolute;
	top: 0px;
	left: 0px;
}
#header #info {
	position: absolute;
	top: 0px;
	left: 280px;
}
#header #question {
	position: absolute;
	background: #111;
	right: 2px;
	top: 2px;
	height: 46px;
	width: 400px;
}
#header #links {
	color: #fff;
	position: absolute;
	top: 5px;
	right: 10px;
}
#header #links a {
	color: #fff;
	font-weight: bold;
}
#header #ad {
	position: absolute;
	right: 5px;
	top: 25px;
}

#footer {
	position: absolute;
	bottom: -188px;
	left: 0px;
	right: 0px;
	height: 238px;
	z-index: 1000;
	width: 100%;
}
#footer #bar {
	background-image: url('../images/footer-background.png');
	background-repeat: repeat-x;
	background-position: top left;
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	height: 50px;
	width: 100%;
}
#footer #bar ul#topics {
	position: absolute;
}
#footer #bar ul#topics li {
	background-image: url('../images/footer-item.png');
	background-position: right 6px;
	background-repeat: no-repeat;
	color: #fff;
	padding: 0px 20px;
	margin: 4px 0px;
	vertical-align: middle;
	height: 48px;
	line-height: 48px;
	float: left;
	list-style: none;
	cursor: pointer;
}
#footer #bar ul#topics li.selected {
	background-image: url('../images/footer-selected.gif');
	background-position: center 0px;
	background-repeat: repeat-x;
	font-weight: bold;
	height: 48px;
	line-height: 48px;
}
#footer #bar a#toggle {
	position: absolute;
	height: 20px;
	width: 20px;
	background: url('../images/footer-toggle.png') no-repeat 0px 0px;
	top: 18px;
	right: 8px;
	text-decoration: none;
}
#footer #bar a#toggle:hover {
	background-position: 0px -20px;
}
#footer #bar a#toggle.up {
	background-position: 0px -40px;
}
#footer #bar a#toggle.up:hover {
	background-position: 0px -60px;
}

#footer #tweets {
	position: absolute;
	top: 50px;
	left: 0px;
	right: 0px;
	height: 188px;
	bottom: 200px;
	background-color: #fff;
	overflow: auto;
}
#footer #tweets ul {
	list-style: none;
	margin: 10px 0px 0px 10px;
	height: 160px;
}
#footer #tweets ul li {
	background-image: url('../images/good-tweet.gif');
	vertical-align: top;
	/*display: inline-block;*/
	float: left;
	width: 230px;
	height: 150px;
	margin: 0px 10px 0px 0px;
	position: relative;
}
#footer #tweets ul li.bad {
	background-image: url('../images/bad-tweet.gif');
}
#footer #tweets ul li .profile {
	position: absolute;
	left: 14px;
	top: 10px;
}
#footer #tweets ul li .profile img {
	width: 48px;
	height: 48px;
}
#footer #tweets ul li .text {
	position: absolute;
	top: 10px;
	left: 68px;
	width: 140px;
	padding: 6px;
	height: 118px;
	overflow: hidden;
}
#footer #tweets ul li .text a {
	color: #333;
}
#footer #tweets ul li .text h3 {
	font-size: 12px;
	padding: 0px 0px 5px 0px;
}
#footer #tweets ul li .text p {
	font-size: 11px;
	color: #333;
}
#footer #tweets ul li .text small {
	font-size: 9px;
	color: #999;
	position: absolute;
	bottom: 6px;
}
#footer #tweets ul li .zoom {
	position: absolute;
	right: 6px;
	top: 8px;
	height: 10px;
	width: 10px;
	background-image: url('../images/tweet-zoom.png');
	background-repeat: no-repeat;
}
/*
#footer #scroll-left {
	position: absolute;
	left: 0px;
	top: 50px;
	height: 170px;
	width: 50px;
	background-color: #f00;
	z-index: 1000;
}
#footer #scroll-right {
	position: absolute;
	right: 0px;
	top: 50px;
	height: 170px;
	width: 50px;
	background-color: #f00;
	z-index: 1000;
}
*/

#popup {
	position: relative;
	width: 240px;
	height: 150px;
	background-image: url('../images/good-popup.gif');
}
#popup.bad {
	background-image: url('../images/bad-popup.gif');
}
#popup .profile img {
	position: absolute;
	height: 48px;
	width: 48px;
	top: 10px;
	left: 20px;
}
#popup .text {
	position: absolute;
	top: 10px;
	left: 78px;
	width: 140px;
	padding: 6px;
	height: 118px;
	color: #333;
}
#popup .text h3 {
	font-size: 12px;
	padding: 0px 0px 5px 0px;
}
#popup .text h3 a {
	color: #333;
}
#popup .text p {
	font-size: 11px;
}
#popup .text small {
	color: #999;
	position: absolute;
	bottom: 6px;
	font-size: 9px;
}
#popup .close {
	position: absolute;
	right: 6px;
	top: 8px;
	height: 10px;
	width: 10px;
	background-image: url('../images/popup-close.png');
	background-repeat: no-repeat;
}

/* -- -- -- */

#modal {
	background-image: url('../images/modal-background.png');
	bottom: 0px;
	display: none;
	height: 100%;
	left: 0px;
	position: absolute;
	right: 0px;
	top: 0px;
	width: 100%;
	z-index: 2000;
}

.panel {
	/* background-image: url('../images/modal-background.png');*/
	background: #fff;
	color: #333;
	display: none;
	position: absolute;
	z-index: 3000;
	width: 600px;
	border: 2px solid #717171;
}
.panel .header {
	background-image: url('../images/panel-header-background.png');
	color: #fff;
	height: 20px;
	padding: 10px 20px;
	line-height: 20px;
	vertical-align: middle;
	font-weight: bold;
}
.panel .header h2 {
	font-size: 14px;
}
.panel .close {
	background-image: url('../images/panel-button-close.png');
	position: absolute;
	right: 10px;
	top: 10px;
	height: 20px;
	width: 20px;
	cursor: pointer;
}
.panel .content {
	padding: 20px;
}
.panel .content h1 {
	font-size: 18px;
	padding: 0px 0px 10px 0px;
}
.panel .content h2 {
	color: #ec0b8d;
	font-size: 16px;
	font-weight: bold;
	padding: 0px 0px 10px 0px;
}
.panel .content h3 {
	color: #ec0b8d;
	font-size: 14px;
	font-weight: bold;
	padding: 5px 0px 5px 0px;
}
.panel .content p {
	padding: 0px 0px 5px 0px;
	
	line-height: 17px;
}
.panel .content p.example {
	background-color: #ec0b8d;
	color: #fff;
	font-weight: bold;
	font-size: 13px;
	padding: 10px;
}
.panel .content hr {
	background-color: #ccc;
	height: 1px;
	margin: 10px 0px;
}
.panel .content .pinkEG {
	background-color: #ec0b8d;
	color: #fff;
	font-weight: bold;
	padding: 3px 6px;
}
.panel .content .greyEG {
	background: #717171;
	color: #fff;
	font-weight: bold;
	padding: 3px 6px;
}
.panel .content .pinkEG a,
.panel .content .greyEG a {
	color: #fff;
	text-decoration: none;
}
.panel .content ul {
	padding: 0px 0px 5px 15px;
}
.panel .content a {
	color: #ec0b8d;
}
.panel .fixed-height {
	height: 350px;
	overflow: auto;
	padding-right: 10px;
}

/* -- -- -- */

.pink {
	color: #ec0b8d;
}
.pinkBG {
	background-color: #ec0b8d;
}