#centerpage {
	width: 1348px;
	margin: 0 auto;
    position: relative;
}

#container {
	width: 1008px;
	margin-left: 170px;
	margin-right: 170px;
}

#advertisement {
	background: #4e565c;
	height: 90px;
	padding: 15px 0;
}
#advertisement > div,
#advertisement > iframe {
	display: block;
	margin: 0 auto;
	width: 728px;
}

#ad_leftsidebar, #ad_rightsidebar {
    position: absolute;
    bottom: 0;
    width: 160px;
}
#ad_leftsidebar {
    top: 0;
	left: 0;
	text-align: right;
}

#ad_rightsidebar {
    top: 130px;
	right: 0;
	width: 160px;
}

#ad_halfpage {
    background: #000;
    overflow: hidden;
    position: relative;
}

#ad_halfpage .close {
    color: #FFF;
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    top: 0;
    right: 3px;
}

#ad_corner_top {
    position: absolute;
    right: 0;
}

#ad_corner_right {
    margin-bottom: 10px;
}

#header {
	background: url(images/header_background.jpg);
	height: 100px;
	margin-top: 10px;
    position: relative;
}

#userpanel {
    position: absolute;
    left: 240px;
    right: 10px;
    top: 10px;
    bottom: 0;
}

#login_box {
	width: 150px;
	height: 80px;
	margin-left: auto;
	padding-left: 15px;
	padding-right: 15px;
	background: url(images/login_box.jpg);
}

#navigation {
	background: #000;
	border: 1px solid #333;
	border-left: 0;
    table-layout: fixed;
    width: 100%;
}

#content {
	width: 808px;
	float: left;
	background: url(images/page_bg.gif) repeat-x #040404;
}

#content .content_background {
	background: black;
	padding: 20px;
	overflow: hidden;
	min-height: 540px;
}

#content .content_background_startpage {
	margin-bottom: 10px;
	overflow: hidden;
	background: black;
}

.content_head {
	width: 100%;
	height: 30px;
	background: url(images/page_bg.gif) repeat-x #040404;
	margin-bottom: 1px;
}

.content_head .content_head_search {
	vertical-align: middle;
	font-weight: bold;
	color: #ff7600;
	width: 16px;
	padding-right: 20px;
}

.content_head .content_head_title {
	vertical-align: middle;
	font-weight: bold;
	color: #FFF;
	padding-left: 20px;
}

.content_head .content_head_menu {
	vertical-align: middle;
	text-align: right;
	padding-right: 5px;
}

#content .content_banner_top {
	width: 468px;
	padding-left: 26px;
	padding-right: 26px;
	margin-bottom: 20px;
}

#content .content_banner_bottom {
	width: 468px;
	padding-left: 26px;
	padding-right: 26px;
	margin-top: 20px;
}

#content_close {
	background: url(images/page_bottom_bg.gif);
	height: 150px;
}

#content_close2 {
	background: url(images/page_bottom_bg.gif) bottom;
	height: 70px;
}

#sidebar {
	background: url(images/page_bg.gif) repeat-x #040404;
	width: 180px;
	padding: 10px;
    padding-bottom: 0;
}

#sidebar .sidebar_usersearch {
	width: 180px;
	text-align: right;
}

#sidebar .sidebar_usersearch input {
	width: 170px;
}

#sidebar .sidebar_calendar {
	width: 180px;
	margin-top: 10px;
}

#sidebar .sidebar-box {
    background: #000;
    border: 2px solid #333;
    overflow: hidden;
    padding: 3px;
    width: 170px;
}

.sidebar-header + .sidebar-box { border-top: 0; }

#sidebar .sidebar-header {
    background: #333;
    height: 18px;
    line-height: 18px;
    margin-top: 10px;
    padding: 0 10px;
    font-size: 11px;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    overflow: hidden;
    width: 160px;
}

#sidebar .sidebar_advertspace {
	margin-top: 10px;
	width: 180px;
	height: 150px;
}

#upcoming-events {
    background: #070707;
    border-right: 1px dotted #333333;
    width: 225px;
}

/* Banner positions */
#partyphoto_ad_right {
	width: 208px;
	float: right;
}
#partyphoto_ad_bottom {
	clear: right;
}
