/* 
 * list of contents
 * to jump to an entry, just search for =# with # being the number of the entry
 *
 * 1 reset and global styles
 * 1.1 forms
 * 2 page wrapper and big background images
 * 3 header
 * 4 navigation
 * 5 footer
 * 6 main content
 * 6.1 news, articles and sections
 * 6.2 comments
 * 7 sidebar (sub-content)
 * 9 individual styles (temp)
 */


/* =1 reset and global styles */

html, body, div, span, h1, h2, h3, h4, h5, h6, p, ul, ol, li, table, th, td, img {
	margin: 0;
	border: 0;
	padding: 0;
}

body {
	font: 10px/16px Verdana, Arial, sans-serif;
	color: #ccc;
	text-shadow: #000 1px 1px 1px;
}

::selection {
	background: #ccc;
	color: #000;
	text-shadow: none;
}

h2, h3, h4, h5, h6, h2 a, h3 a {
	color: #cca;
	font-weight: normal;
}

h2, h3, h4 {
	margin: 15px 0px 5px 0px;
}

h2 {
	font-size: 17px;
}

h3 {
	font-size: 14px;
}

h4 {
	font-size: 12px;
}

h5 {
	font-size: 11px;
}

p {
	margin: 15px 0;
}

a {
	outline: 0;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:active {
	position: relative;
	top: 1px;
}

ol {
	margin-left: 25px;
}

ul {
	list-style: none;
}

ul li:before {
	content: "- ";
}

table {
	border-collapse: collapse;
	border-spacing: 0;
	empty-cells: show;
}

th {
	padding: 1px 3px;
	text-align: left;
	vertical-align: top;
	font-weight: normal;
}

td {
	padding: 1px 3px;
	vertical-align: top;
}


/* =1.1 forms */

form {
	margin: 15px 0;
}

label {
	display: inline-block;
	width: 200px;
	vertical-align: top;
}

input, select, textarea {
	margin: 0;
	padding: 1px;
	border: 1px solid #313131;
	background: #0f1110;
	font: 10px/16px Verdana, Arial, sans-serif;
	color: #ccc;
}

input:focus, select:focus, textarea:focus {
	border-color: #8c7e59;
	background: #10100f;
	-moz-box-shadow: #8c7e59 0 0 2px, #8c7e59 0 0 2px;
	-webkit-box-shadow: #8c7e59 0 0 2px, #8c7e59 0 0 2px;
	-o-box-shadow: #8c7e59 0 0 2px, #8c7e59 0 0 2px;
	box-shadow: #8c7e59 0 0 2px, #8c7e59 0 0 2px;
}

input[type="text"], input[type="password"] {
	width: 300px;
	margin: 2px 0;
}

textarea {
	width: 300px;
	height: 180px;
	margin: 2px 0;
}

input[type="submit"], input[type="button"] {
	margin: 2px 0;
	padding: 0 1px;
	background: #1e2221;
}

input[type="submit"] {
	margin-left: 200px;
}

input[type="submit"]:focus, input[type="button"]:focus {
	background: #20201f;
}

input[type="submit"]:active, input[type="button"]:active {
	position: relative;
	top: 1px;
}

form .captcha {
	margin: 2px 0;
	border: 1px solid #313131;
}

table form {
	margin: 0;
}

table input, table input[type="submit"], table input[type="text"], table input[type="password"],
		table input[type="button"], table textarea, table select {
	width: auto;
	margin: 0;
}


/* =2 page wrapper and big background images */

#content, #maincontent, #maincontent .foot, #maincontent .news, #comments {
	background-image: url(../gfx/content-box.png);
	background-repeat: no-repeat;
}

html {
	min-width: 980px;
	background: black url(../gfx/bg-repeat.jpg) center 878px repeat-y;
}

body {
	min-width: 980px;
	background: url(../gfx/bg-top.jpg) center top no-repeat;
}

body.rightcad {
	min-width: 980px;
	background: url(../gfx/bg-top-sidebarads.jpg) center top no-repeat;
}

#site {
	width: 980px;
	min-height: 800px;
	margin: 0 auto -4px auto;
	padding-bottom: 128px;
	background: url(../gfx/bg-bottom.jpg) center bottom no-repeat;
}


/* =3 header */

#header {
	height: 228px;
	width: 980px;
	background: url(../gfx/branding.jpg) no-repeat;
}

#logo {
	width: 316px;
	height: 181px;
	margin: 0 auto 0 -13px;
	background: url(../gfx/logo-bwcl.png) left top no-repeat;
	text-indent: -9000px;
}

#timebox {
	float: right;
	margin: 25px 35px 0 0;
	padding: 4px 4px;
	font-size:11px;
	line-height: 11px;
	color: #FEA500;
	background: rgba(20, 22, 22, 0.5);
}


/* =4 navigation */

#topnav {
	float: left;
	height: 38px;
	margin-left: 26px;
	padding: 9px 60px 10px 0;
	background: url(../gfx/nav.png) right bottom no-repeat;
	font: bold 13px/38px Verdana, sans-serif;
	color: #bbc;
}

#topnav > li:before {
	content: "| ";
}

#topnav > li:first-child:before {
	content: "";
}

#topnav > li:after {
	content: "\00A0";
}

#topnav > li:first-child {
	margin-left: 20px;
}

#topnav > li {
	position: relative;
	float: left;
	height: 38px;
	text-transform: uppercase;
}

#topnav > li a {
	top: 0;
	color: #bbc;
}

#topnav li ul {
	display: none;
	position: absolute;
	z-index: 2;
	margin-top: -1px;
	padding: 1px 0;
	width: 120px;
	background: #1e2221;
	background: rgba(30, 34, 33, 0.95);
	border: 1px solid #313131;
	font: normal 12px/16px Helvetica, sans-serif;
	text-transform: none;
}

#ie7 #topnav li ul {
	margin-top: 0;
	top: 37px;
	left: 0;
}

#topnav li:hover ul {
	display: block;
}

#topnav li li:before {
	content: "";
}

#topnav li li {
	padding: 0 1px;
}

#ie7 #topnav li li {
	min-height: 0;
}

#topnav li li a {
	display: block;
	padding: 2px 0 2px 26px;
	background: url(../gfx/nav-bullet.png) 10px center no-repeat;
	font-weight: normal;
	color: #eee;
}

#topnav li li a:hover {
	top: 0;
	background-color: #404443;
	text-decoration: none;
}


/* =5 footer */

#footer {
	clear: both;
	margin: 0 40px -106px 40px;
	text-align: center;
	font-size: 9px;
	line-height: 13px;
	color: #ddd;
}

#footer p {
	margin: 4px 0;
}


/* =6 main content */

#message {
	margin: 26px 120px;
	border: 1px solid #313131;
	background: #1e2221;
	background: rgba(30, 34, 33, 0.9);
	padding: 5px 8px;
}

#message ul {
	margin: 0;
}

#message li:before {
	content: "";
}

#message .error {
	color: #f22;
}

#content {
	margin: 53px 26px 81px 26px;
	background-position: -1968px top;
	background-repeat: repeat-y;
}

#content:after {
	content: ".";
	display: block;
	height: 0;
	clear: left;
	visibility: hidden;
}

#maincontent {
	position: relative;
	float: left;
	width: 555px;
	min-height: 195px;
	margin: -39px 0 0 10px;
	padding: 55px 50px 40px 50px;
	background-position: left top;
}

#maincontent .foot {
	clear: both;
	position: absolute;
	left: 0px;
	bottom: -33px;
	right: 0px;
	height: 74px;
	background-position: -1312px bottom;
}


/* =6.1 news, articles and sections */

#maincontent .news {
	min-height: 147px;
	margin: -10px -50px 0 -50px;
	padding: 73px 50px 0 108px;
	background-position: -656px top;
}

#maincontent .news:first-child {
	margin: 0 -50px;
	padding-top: 0;
	background: none;
}

#maincontent .news .head, #maincontent .article .head {
	min-height: 50px;
	margin-bottom: 20px;
}

#maincontent .news .icon {
	float: left;
	margin-left: -64px;
}

#maincontent .news h2 {
	padding: 8px 0 2px 0;
}

#maincontent .headerpic {
	text-align: center;
}

#maincontent .article .author {
	text-align: right;
	font-style: italic;
}

#maincontent .pagenavigation .pages {
	margin: 0 50px;
	text-align: center;
}

#maincontent .pagenavigation a {
	display: inline-block;
	margin: 0 2px;
}

#maincontent .pagenavigation .current {
	display: inline-block;
	margin: 0 2px;
}

#maincontent .pagenavigation .next {
	float: right;
}

#maincontent .pagenavigation .prev {
	float: left;
}

#maincontent .gallerybox .image {
	display: inline-block;
	margin: 5px;
}

#maincontent .subcontent, #maincontent .subsection {
	margin: 16px 0;
	overflow: hidden;
}

#maincontent .subcontent .pic, #maincontent .subsection .pic {
	float: left;
	margin: 0 10px 0px 0;
}

#maincontent .subcontent h3, #maincontent .subsection h3 {
	margin: 0 0 5px 0;
}

#maincontent h2 .editref {
	font-size: 14px;
	color:#555555;
	margin-left: 25px;
}


/* =6.2 comments */

#comments {
	min-height: 147px;
	margin: 0 -50px 0 -50px;
	padding: 63px 50px 0 50px;
	background-position: -656px top;
}

#comments .contentad {
	width: 300px;
	margin: 10px auto;
}

.comment {
	margin: 15px 0;
	overflow: hidden;
}

.comment .title {
	margin-bottom: 5px;
	border: 1px solid #313131;
	padding: 2px;
}

.comment .title img {
	position: relative;
	top: -2px;
}

.comment .title .time {
	float: right;
}

.comment .userinfo {
	float: left;
	width: 150px;
	border: 1px solid #313131;
	padding: 2px;
}

.comment img.avatar {
	display: block;
}

.comment .text {
	margin-left: 161px;
	padding: 2px;
}

.comment .text .edited {
	margin-top: 5px;
	font-size: 9px;
	font-style: italic;
}

.comment .actions {
	clear: left;
}


/* =7 sidebar (sub-content) */

#subcontent {
	float: right;
	width: 250px;
	margin: 4px 12px 48px 0;
}

.contentad.rightcad {
    float:right;
	width:300px;
	margin: -10px -50px 0px 0px;
}

#subcontent.rightcad {
	float: right;
	width: 250px;
	margin: 24px 12px 48px 0px;
}

#subcontent .gadget, #subcontent .gadget .head, #subcontent .gadget .content {
	background-image: url(../gfx/special-box.png);
	background-repeat: no-repeat;
}

#subcontent .gadget {
	margin-bottom: 38px;
	padding: 1px 0;
	background-position: left top;
	background-repeat: repeat-y;
}

#ie7 #subcontent .gadget {
	min-height: 0;
}

#subcontent .gadget .head {
	height: 59px;
	margin: -26px 0 -43px 0;
	padding: 31px 23px 0 23px;
	background-position: -250px top;
}

#subcontent .gadget h3 {
	margin: -3px 0 0 -1px;
	height: 25px;
	background: url(../gfx/special-title.png) no-repeat;
	text-indent: -9000px;
}

#subcontent .gadget.account h3 {
	background-position: -3px 0px;
}

#subcontent .gadget.community h3 {
	background-position: -3px -25px;
}

#subcontent .gadget.forum h3 {
	background-position: -3px -50px;
}

#subcontent .gadget.league h3 {
	background-position: -3px -75px;
}

#subcontent .gadget.casts h3 {
	background-position: -3px -100px;
}

#subcontent .gadget .content {
	margin-bottom: -16px;
	padding: 0 23px 30px 23px;
	background-position: -500px bottom;
}

#ie7 #subcontent .gadget .content {
	min-height: 0;
}

#subcontent p, #subcontent ul, #subcontent form {
	margin: 10px 0;
}

#subcontent label {
	display: inline-block;
	width: 40px;
}

#subcontent input[type="text"], input[type="password"] {
	margin: 1px 0;
	width: 157px;
}

#subcontent input[type="submit"] {
	margin: 1px 1px 0 40px;
	cursor: pointer;
}

#subcontent form a {
	margin-left: 1px;
	border: 1px solid #313131;
	padding: 1px 1px;
	background: #1e2221;
	color: #ccc;
	text-decoration: none;
	text-shadow: none;
}

#subcontent form a:focus {
	border-color: #8c7e59;
	background: #20201f;
	-moz-box-shadow: #8c7e59 0 0 2px;
	-webkit-box-shadow: #8c7e59 0 0 2px;
	-o-box-shadow: #8c7e59 0 0 2px;
	box-shadow: #8c7e59 0 0 2px;
}


/* =9 individual styles (temp) */

span.notfinal a {
	color:#aaaaaa;
}

p.smallinfo {
	font-size:7pt;
}

div.contentseperator {
	clear:both;
	padding-top:20px;
}

table.propertytable {
	border-spacing:5px;
}

table.waitinglist {
	width: 100%;
	border-spacing:3px;
}

table.waitinglist th {
	text-align:left;
}

table#blacklist {
	width:100%;
}

table#blacklist th, table#blacklist td {
	padding:2px;
}

table.memberList {
	width: 100%;
	border-spacing: 5px;
}

.memberList tr:nth-child(odd) {
	background: rgba(255, 255, 255, 0.06);
}

.memberList td.status {
	width: 80px;
}

.memberList td.right {
	width: 150px;
}

.imageframe {
    float:right;
	padding:10px;
	border:1px solid #000000;
	background:url(../gfx/buttonbg.png);
	vertical-align:middle;
	text-align:center;
	margin-left:10px;
}

#clanSquadBox .clanSquadList li:before {
	content: none;
}

#clanSquadBox .clanSquadList li {
	margin-top: 6px;
}

#clanSquadBox .editref {
	float:right;
	color:#555555;
}

textarea.playdayinfo {
 	width:370px;
	height:80px;
}

.blizztext {
	color:#00C0FF;
}

.bigtext {
	font-size:10pt;
}

/** Divisionstabelle **/

table.divisiontable {
	background-color:#0F0F0F;
}

table.divisiontable tr td {
    background:url(http://sc2.de/sc2cl/gfx/tabkante.png) bottom repeat-x;
    padding-bottom:3px;
	border:1px solid #000000;
}

table.divisiontable tr th {
    background:url(http://sc2.de/sc2cl/gfx/buttonbg.png) repeat;
	padding-top:5px;
	padding-bottom:5px;
	color:#FEA500;
}

table.divisiontable tr.up {
	background-color:#001000;
}

table.divisiontable tr.down {
	background-color:#100000;
}

/** Buttons **/

.rightmenu {
	text-align:right;
}

.contentbutton {
    font-size:10pt;
    padding:10px;
	border:1px solid #000000;
	background: url(../gfx/buttonbg.png) repeat;
}



/** Zend Userlib Stuff */

.zend_form, .convert_notice {
  width: 80%;
  margin: 0px auto;
  margin-top: 25px;
  font-size: 16px;
}

.new_kid_in_the_house {
    display: block;
    margin-top:30px;
}

.zend_form dd {
  margin: 0px 0px 15px 0px;
}

.zend_form dt {
  margin: 5px 0px;
}

.zend_form .description {
  margin: 100px 0px 0px 43px !important;
}

.zend_form input[type="text"], .zend_form input[type="password"] {
  width: 100%;
  padding: 5px;
  font-size:20px;
}

#newsletter-label, #terms-label {
  float: right;
  width: 90%;
  font-size: 14px;
}

#newsletter-input, #terms-input {
  float: left;
  padding-top: 5px;
}

