
/* General layout style */

* {
	margin:0;
	padding:0;
}

body {
	background-image:url(../images/bg.png);
	background-repeat:repeat-x;
	background-color:#33a5e0;
	margin:0;
	font-family: Arial, Helvetica, sans-serif;
}

.clear {
	clear:both;
}

a:visited {
	color: blue;
}

#wrapper {
	width: 950px;
	margin: 0 auto;
}

#header {
	width:950px;
	height:130px;
	padding-top:5px;
}

#topad {
	float: right;
	width: 470px;
	height: 62px;
	margin-right: 6px;
	margin-top: 34px;
}

#logo {
	background-image:url(../images/logo.png);
	background-repeat:no-repeat;
	width:439px;
	height:120px;
	line-height:115px;
	float:left;
}

#logo a {
	display: block;
	margin-top: 30px;
	margin-left: 20px;
	width:400px;
	height:70px;
}

#logo a span {
	display: none;
}

#menu {
	height:44px;
	line-height:44px;
	background-image:url(../images/menubg.png);
	overflow:hidden;
	padding-left:8px;
}

#menu ul {
	margin:0;
	list-style-type:none;
	padding:0;
}

#menu li {
	float:left;
}

#menu li a {
	color:#ffffff;
	text-decoration:none;
	font-weight:bold;
	font-size:0.85em;
	padding:15px;
}

#menu a:hover {
	color: #eda21a;	
}

#menu li.active a {
	color: #eda21a;
}

#menu #search {
	float:right;
	margin-right:20px;
}

#menu .searchfield {
	background-image:url(../images/searchfield.png);
	background-repeat:no-repeat;
	border:0 none;
	float:left;
	height:22px;
	margin-top:9px;
	padding-left:6px;
	padding-right:4px;
	padding-top:2px;
	width:122px;
}

#menu .searchbutton {
	background-image:url(../images/searchbutton.png);
	background-repeat:no-repeat;
	border:0 none;
	cursor:pointer;
	float:left;
	height:24px;
	margin-top:9px;
	width:27px;
}

#leftcolumn {
	float: left;
	margin-top: 12px;
	margin-bottom: 24px;
}

#rightcolumn {
	float: left;
	margin-top: 12px;
	margin-bottom: 24px;
}

#content {
	float: left;
	margin-top: 12px;
	margin-left: 7px;
	margin-right: 7px;
	margin-bottom: 24px;
	width: 590px;
}

#content #contentmiddle {
	background-color: #ffffff;
	padding-left: 14px;
	padding-top: 4px;
	padding-right: 14px;
	padding-bottom: 16px;
	overflow: hidden;
}

#content #contenttop {
	background-image: url(../images/contenttop.gif);
	height: 8px;
	line-height: 8px;
	overflow: hidden;
	width: 590px;
}

#content #contentbottom {
	background-image: url(../images/contentbottom.gif);
	height: 8px;
	line-height: 8px;
	overflow: hidden;
	width: 590px;
}

.sidebox {
	width: 173px;
	background-repeat:no-repeat;
	background-image: url(../images/boxbottom.gif);
	background-position: bottom;
	margin-bottom: 10px;
	padding-bottom: 8px;
}

.sidebox .sideboxrow {
	background-color: #127190;
	border-bottom: 1px solid #1482a6;
}

.sidebox .sideboxrow.last {
	border-bottom: 0px;
}

.sidebox .sideboxrow a {
	padding-left: 16px;
	font-size: 0.75em;
	display: block;
	height: 26px;
	line-height: 26px;
	color: #ffffff;
	text-decoration: none;
}

.sidebox .sideboxrow a:hover {
	display: block;
	background-color: #1588ad;
}

.sidebox .sideboxhead {
	background-image: url(../images/boxtop.gif);
	padding-left: 12px;
	height: 29px;
	line-height: 29px;
	color: #ffffff;
	font-weight: bold;
	font-size: 0.75em;
}

.sidebox .sideboxcontent {
	background-color: #127190;
	color: #ffffff;
	padding-left: 6px;
	padding-top: 4px;
	font-size: 0.75em;
}

#footer {
	width:950px;
	clear:both;
}

#footer #sitemap {
	background-color: #0d5167;
}

#footer #sitemap ul {
	list-style: none;
	margin: 0;
	padding: 0;
	float:left;
	margin-left: 30px;
	margin-top: 10px;
	margin-bottom: 10px;
}

#footer #sitemap li {
	color:#f0f0f0;
	font-size: 0.8em;
	line-height: 18px;
}

#footer #sitemap li a {
	margin-left: 3px;
	font-size: 0.9em;
	color:#f0f0f0;
	text-decoration:none;
}

#footer #sitemap li a:hover {
	color:#f0f0f0;
	text-decoration:underline;
}

#footer #sitemap #sitemaptop {
	height: 8px;
	line-height: 8px;
	overflow: hidden;
	width: 950px;
	background-image: url(../images/footertop.png);
}

#footer #sitemap #sitemapbottom {
	clear: both;
	height: 8px;
	line-height: 8px;
	overflow: hidden;
	width: 950px;
	background-image: url(../images/footerbottom.png);
}

#copy {
	clear: both;
	font-size:0.7em;
	text-align:center;
	margin-top: 8px;
	margin-bottom:10px;
	color: #ffffff;
}


/* Contentstyle */

.sidebox .fb-icon {
	background-image: url(../images/fb_icon.jpg);
	background-repeat: no-repeat;
	width: 70px;
	height: 72px;
	margin-left: 5px;
	margin-top: 2px;
	float: left;
}

.sidebox .fb-icon a {
	display: block;
	width: 70px;
	height: 72px;
}

.sidebox .fb-icon a span {
	display: none;
}

.sidebox .feed-icon {
	background-image: url(../images/feed_icon.jpg);
	background-repeat: no-repeat;
	width: 70px;
	height: 71px;
	margin-left: 10px;
	margin-top: 2px;
	float: left;
}

.sidebox .feed-icon a {
	display: block;
	width: 70px;
	height: 71px;
}

.sidebox .feed-icon a span {
	display: none;
}

#content h2 {
	font-size: 1.15em;
	margin-bottom: 6px;
}

#content h1 {
	font-size: 1.15em;
	margin-bottom: 6px;
}

#content p {
	font-size: 0.85em;
	line-height: 22px;
	margin-left: 4px;
	margin-bottom: 10px;
}

.form {
	margin-left: 4px;
	margin-top: 20px;
}

.form .submit {
	background-image: url(../images/submitbutton.png);
	border: 0px;
	width: 71px;
	height: 29px;
	line-height: 29px;
	color: #ffffff;
	font-weight: bold;
	font-size: 0.8em;
	margin-top: 10px;
}

.form .inputwrapper {
	margin-bottom: 8px;
	margin-top: 8px;
	
}

.form .inputwrapper label {
	font-size: 0.85em;
	width: 120px;
	float: left;
}

.form .inputwrapper .textareaerr {
	color: #FF0000;
	background-image: url(../images/error.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 20px;
	margin-top: 4px;
}

.form .inputwrapper .inputerr {
	color: #FF0000;
	background-image: url(../images/error.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 20px;
	margin-top: 4px;
}

.form .formsuccess {
	color: #33d200;
	background-image: url(../images/success.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 20px;
	margin-top: 4px;
}

.jokebox {
	float: left;
	margin-left: 4px;
	margin-top: 5px;
	margin-bottom: 5px;
	width: 554px;
}

.jokebox .jokeboxmiddle {
	background-color: #f2f2f2;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 4px;
	padding-bottom: 14px;
	overflow: hidden;
}

.jokebox .jokeboxtop {
	background-image: url(../images/jokeboxtop.png);
	height: 7px;
	line-height: 7px;
	overflow: hidden;
	width: 554px;
}

.jokebox .jokeboxbottom {
	background-image: url(../images/jokeboxbottom.png);
	height: 7px;
	line-height: 7px;
	overflow: hidden;
	width: 554px;
}

.jokebox .jokeboxmiddle .jokeinfo {
	font-size: 0.8em;
	margin-bottom: 10px;
}

.jokebox .jokeboxmiddle .jokeinfo a {
	color: #000000;
	text-decoration: none;
}

.jokebox .jokeboxmiddle .jokeinfo a:hover {
	text-decoration: underline;
}

.jokebox .jokeboxmiddle .stars {
	margin: 0 auto;
	width:80px;
	margin-top: 16px;
}

.jokebox .jokeboxmiddle .link {
	text-align: center;
	margin-top: 14px;
}

.jokebox .jokeboxmiddle .link a {
	color: #000000;
}

.jokebox .jokeboxmiddle .link a:hover {
	color: #777777;
}

.jokebox .jokeboxmiddle .share {
	text-align: center;
	width: 265px;
	margin: 0 auto;
	margin-top: 10px;
	font-size: 0.85em;
}

.jokebox .jokeboxmiddle .share span {
	float: left;
}

.jokebox .jokeboxmiddle .share .addthis_toolbox {
	float: left;
}

.jokebox .jokeboxmiddle .share .addthis_toolbox a {
	color: #000000;
	text-decoration: none;
}

.jokebox .jokeboxmiddle .share .addthis_toolbox a:hover {
	color: #777777;
	text-decoration: underline;
}

.jokebox .jokeboxmiddle .randomjoke {
	width: 108px;
	height: 29px;
	margin: 0 auto;
	margin-top: 14px;
}

/* Compressed version */

.jokebox-compressed {
	float: left;
	margin-left: 4px;
	margin-top: 5px;
	margin-bottom: 5px;
	width: 554px;
}

.jokebox-compressed .jokeboxmiddle {
	background-color: #f2f2f2;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 4px;
	padding-bottom: 14px;
	overflow: hidden;
}

.jokebox-compressed .jokeboxtop {
	background-image: url(../images/jokeboxtop.png);
	height: 7px;
	line-height: 7px;
	overflow: hidden;
	width: 554px;
}

.jokebox-compressed .jokeboxbottom {
	background-image: url(../images/jokeboxbottom.png);
	height: 7px;
	line-height: 7px;
	overflow: hidden;
	width: 554px;
}

.jokebox-compressed .jokeboxmiddle .jokeinfo {
	font-size: 0.8em;
	margin-bottom: 14px;
	float: left;
}

.jokebox-compressed .jokeboxmiddle .jokeinfo a {
	color: #000000;
	text-decoration: none;
}

.jokebox-compressed .jokeboxmiddle .jokeinfo a:hover {
	text-decoration: underline;
}

.jokebox-compressed .jokeboxmiddle .stars {
	float: right;
	width:80px;
}

.jokebox-compressed .jokeboxmiddle .link {
	text-align: center;
	margin-top: 14px;
}

.jokebox-compressed .jokeboxmiddle .link a {
	color: #000000;
}

.jokebox-compressed .jokeboxmiddle .link a:hover {
	color: #777777;
}

.jokebox-compressed .jokeboxmiddle .share {
	text-align: center;
	width: 265px;
	margin: 0 auto;
	margin-top: 10px;
	font-size: 0.85em;
}

.jokebox-compressed .jokeboxmiddle .share span {
	float: left;
}

.jokebox-compressed .jokeboxmiddle .share .addthis_toolbox {
	float: left;
}

.jokebox-compressed .jokeboxmiddle .share .addthis_toolbox a {
	color: #000000;
	text-decoration: none;
}

.jokebox-compressed .jokeboxmiddle .share .addthis_toolbox a:hover {
	color: #777777;
	text-decoration: underline;
}

.jokebox-compressed p {
	clear: both;
}

.jokebox-compressed .teaserjoke {
	clear: both;
}

.jokebox-compressed .fulljoke {
	width: 534px;
	display: none;
	clear: both;
}

.jokebox-compressed .toplistjokewrapper .fulljoke {
	width: 462px;
}

.jokebox-compressed .readlink {
	float: right;
}

.jokebox-compressed .readlink a {
	color: #000000;
}

.jokebox-compressed .readlink a:hover {
	color: #777777;
}


/*Just for toplist*/
.jokebox-compressed .toplistjokewrapper {
	float: left;
	width: 467px;
}

.jokebox-compressed .toplistpos {
	width: 53px;
	height: 53px;
	line-height: 53px;
	text-align: center;
	color: #ffffff;
	background-image: url(../images/toplistposbg.png);
	float: left;
	font-size: 1.7em;
	margin-right: 14px;
}


/* Paging system */

.pages {
	clear:both;
	margin-top: 10px;
	margin-bottom: 10px;
}

.pages span.nextlinks {
	margin-left: 4px;
}

.pages span.prevlinks {
	margin-right: 4px;
}

.pages span.prevlinks a {
	margin-left: 0px;
	margin-right: 2px;
}

.pages span.nextlinks a {
	margin-left: 2px;
	margin-right: 0px;
}

.pages a {
	margin-left: 2px;
	margin-right: 2px;
	text-decoration:none;
	color: #000000;
}

.pages a:hover {
	text-decoration: underline;
}

.pages span.currentpage {
	margin-left: 2px;
	margin-right: 2px;
}


/* Rating */

.star-rating,
.star-rating a:hover,
.star-rating a:active,
.star-rating a:focus,
.star-rating .current-rating{
	background: url(../images/star.gif) left -1000px repeat-x;
}
.star-rating{
	position:relative;
	width:80px;
	height:16px;
	overflow:hidden;
	list-style:none;
	margin:0;
	padding:0;
	background-position: left top;
}
.star-rating li{
	display: inline;
}
.star-rating a, 
.star-rating .current-rating{
	position:absolute;
	top:0;
	left:0;
	text-indent:-1000em;
	line-height: 16px;
	height: 16px;
	outline:none;
	overflow:hidden;
	border: none;
}
.star-rating a:hover,
.star-rating a:active,
.star-rating a:focus{
	background-position: left bottom;
}
.star-rating a.one-star{
	width:20%;
	z-index:6;
}
.star-rating a.two-stars{
	width:40%;
	z-index:5;
}
.star-rating a.three-stars{
	width:60%;
	z-index:4;
}
.star-rating a.four-stars{
	width:80%;
	z-index:3;
}
.star-rating a.five-stars{
	width:100%;
	z-index:2;
}
.star-rating .current-rating{
	z-index:1;
	background-position: left center;
}

/* AddThis Flash */
#atffc {
  display:none;
}
