
* {
	padding:0px;
	margin:0px;
}
body {
	background:#d2d1d0 url(images/bg.jpg) top repeat-x ;
}
a.link {
	cursor:pointer;
}
small a {
	text-decoration: none;
	color: #CC0000;
}
div#footer {
	background:url(images/footer.jpg) repeat-x;
}

div#top {
	width:985px;
	margin:0px auto;
}
div#header {
	height:63px;
	background:url(images/logo.jpg) left no-repeat;	
}

div#nav {
	height:51px;	
}

h1#top-title {
	clear:both;
	font-family:Verdana, Geneva, sans-serif;
	font-weight:normal;
	padding-top:0px;
	text-shadow:0 1px rgba(255, 255, 255, 0.5);
	height:20px;
	margin-bottom:30px;
}
div#header div#top-box {
	min-height:32px;
	background:#333;
	border-radius:5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	float:right;
	padding:2px 10px 0px 10px;
	margin:12px 10px 0px 0px;
	color:#CCC;
	font-family:Verdana, Geneva, sans-serif;
	border-bottom:1px #666666 solid;
	font-size:12px;
}
div#main {
	width:100%;
	background:url(images/mainbg.jpg) top repeat-x #d2d1d0;
	min-height:315px;
	/* min-height hack for IE browser (assuming IE is a browser) */
	height:auto !important;
	height:315px;
	margin-top:15px;
}
div#main-container {
	width:985px;
	margin:0px auto;
}
.clear {
	clear:both;
}
span.red {
	color:#FF0000;
}
a img {
	border:none;
	text-decoration:none;
}
.error {
	font-family:Verdana, Geneva, sans-serif;
	font-size:10px;
	font-weight:bold;
	color:#F00;
	margin-bottom:10px;
}
.center {
	text-align:center;	
}

/* TOP LOGIN BOX */
form#login-form {
	padding-top:3px;	
}
form#login-form input[type="text"], form#login-form input[type="password"] {
	border:none;
	padding:3px;
	font-family:Tahoma, Geneva, sans-serif;
	border-radius:3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	margin:0px 3px;
}
form#login-form input[type="submit"], form#login-form input[type="button"] {
	border:none;
	padding:3px;
	margin:0px 3px;
	font-family:Tahoma, Geneva, sans-serif;
	border-radius:3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	color:#000;
	background:url(images/topnav_hoverbg.jpg) repeat-x;
	cursor:pointer;
}

/* END TOP LOGIN BOX */
/* PAGE TABS */
#page-tabs-container {
	height:50px;
}
#page-tabs-container ul{
	list-style-type:none;
	list-style-position:outside;
	list-style-image:none;
}
#page-tabs-container ul li {
	display:inline;
	height:28px;
	float:left;
	background:url(images/tab-bg.jpg) repeat-x;
}
#page-tabs-container ul li div {
	float:left;
	height:28px;
}
#page-tabs-container ul li a {
	float:left;
	display:block;
	padding-right:5px;
	padding-left:5px;
	text-decoration:none;
	font-size:11px;
	font-family:Verdana, Geneva, sans-serif;
	color:#333;
	margin-top:7px;
}
#page-tabs-container ul li a {
	color:#666;
}
#page-tabs-container ul li.selected a {
	color:#333;
}
#page-tabs-container ul li a:hover {
	color:#000;
}
#page-tabs-container ul li.selected {
	background:url(images/tab-bg-selected.jpg) repeat-x;
}
#page-tabs-container ul li div:first-child {
	background:url(images/tab-x-nn.jpg) no-repeat;
	width:27px;	
}
#page-tabs-container ul li.selected + li div:first-child {
	background:url(images/tab-x-sn.jpg) no-repeat;
	width:27px;	
}
#page-tabs-container ul li.selected div:first-child {
	background:url(images/tab-x-ns.jpg) no-repeat;
	width:27px;	
}
#page-tabs-container ul li:first-child div:first-child {
	background:url(images/tab-first.jpg) no-repeat;
	width:11px;
}
#page-tabs-container ul li.selected:first-child div:first-child {
	background:url(images/tab-first-selected.jpg) no-repeat;
}
#page-tabs-container ul li div.last {
	background:url(images/tab-last.jpg) no-repeat;
	width:23px;	
}
#page-tabs-container ul li.selected div.last {
	background:url(images/tab-last-selected.jpg) no-repeat;
}
/* END PAGE TABS */

/* BOX */
.shadowed {
	border:1px #BBB solid;
	margin:5px;
}
.shadowed-h {
	padding-bottom:2px;
}
.shadowed .inner-box {
	margin:-2px 0px 0px -2px;
	border:1px #BBB solid;
	/*width:inherit;
	height:inherit;*/
	background-color:#F4F4F4;
}
.shadowed .inner-box .content {
	background-color:#F4F4F4;
	height:inherit;
	border:1px #FFF solid;
	font-family:Verdana, Geneva, sans-serif;
	font-size:13px;
	padding:10px;
	/*text-shadow:0 1px rgba(255, 255, 255, 0.5); /*@@@@@@@*/
}
.shadowed .inner-box .content h3 {
	font-family:Verdana, Geneva, sans-serif;
	font-size:20px;
	display:block;
	font-weight:normal;
	margin-bottom:5px;
	text-shadow:0 1px rgba(255, 255, 255, 0.5);
}
.shadowed .inner-box .content h3 a {
	text-decoration:none;
	color:#333333;	
}
.shadowed .inner-box .content p, .shadowed .inner-box .content ul, .shadowed .inner-box .content ol {
	color:#555;
	font-size:12px;
	font-family:Verdana, Geneva, sans-serif;
	padding:5px 0px;
}
.shadowed .inner-box .content ul, .shadowed .inner-box .content ol {
	padding-left: 20px;
}
.shadowed .inner-box .content p a {
	text-decoration:none;
	color:#CC0000;
}
.shadowed .inner-box .content p.all-link a {
	text-decoration:none;
	color:#555;
}
.shadowed .inner-box .content p.all-link a:hover {
	color:#555;
}
.shadowed .inner-box .content ul {
	list-style-position:inside;
	list-style-type:square;
	padding-left:20px;
}
/* END BOX */

/* NAV MENU */
#nav {
	margin-bottom:20px;
}
#nav > ul > li {
	list-style:none none outside;
	display:inline-block;
	float:left;
	padding:12px 5px 0px 5px;
}
#nav ul li a {
	text-decoration:none;
	color:#C5C5C5;
	font-size:11px;
	font-family:Verdana, Geneva, sans-serif;
	display:inline-block;
	padding:7px 15px 8px 15px;
	text-shadow:0 1px rgba(29, 29, 29, 0.2);
	border-radius:2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
#nav > ul > li > a:hover {
	color:#FFFFFF;
	background:url(images/topnav_hoverbg.jpg) repeat-x;
}
#nav > ul > li:hover > a {
	color:#FFFFFF;
	background:url(images/topnav_hoverbg.jpg) repeat-x;
}
#nav > ul > li > div.submenu {
	display:none;
	position:absolute;
	min-width:150px;
	width:auto !important; /* min-height hack for IE browser (assuming IE is a browser) */
	width:150px;
	padding:5px 3px;
	background:#FFF;
	border-bottom:1px solid rgba(35, 35, 35, 0.2);
	box-shadow:4px 4px 0 0 rgba(35, 35, 35, 0.1);
	border-radius:2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
#nav > ul > li > div.submenu > ul {
	list-style:none none outside;
}
#nav > ul > li > div.submenu > ul > li {
	background:#FFF;
	display:list-item;
	padding:2px 2px 2px 5px;
	list-style:none none outside;
}
#nav > ul > li > div.submenu > ul > li > a {
	width:78%;
	margin:0px;
	color:#7E7E7E;
	text-shadow:none;
}
#nav > ul > li > div.submenu > ul > li > a:hover {
	color:#232323;
	background:none;
}
/* END NAV MENU */

/* PAGING */

#paging {
	padding:5px;
	font-family:Verdana, Geneva, sans-serif;
	font-size:10px;
	margin-bottom:20px;
	float:left;
}
#paging span {
	display:block;
	float:left;
	margin-right:10px;
	text-transform:uppercase;
}
#paging ul {
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	display:block;
	float:left;
}

#paging ul li {
	display:inline;
	color:#333333;
}
#paging ul li.selected {
	font-weight:bold;
	padding:5px;
	border:1px #b4b4b4 solid;	
}

#paging ul li a {
	text-decoration:none;
	padding:5px;
	color:#333333;
	background:#f0f0f0 url(images/paging_bg.jpg) repeat-x;
	border:1px #b4b4b4 solid;
}
#paging ul li a:hover {
	text-decoration:underline;
}
/* END PAGING */


/* TOOLBOX */

#tool-box {
	background: #F4F4F4;
	border-bottom-right-radius: 3px;
	border-top-right-radius: 3px;
	border-color: #BEBEBE;
	border-style: solid solid solid none;
	border-width: 1px 1px 1px medium;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
	display: block !important;
	font: 13px/17px Helvetica,Arial,sans-serif;
	height: 99px;
	left: 0;
	position: fixed;
	top: 240px;
	width: 24px;
	z-index: 5;
}

.tb-box {
	left: 23px;
	padding-left: 22px;
	position: absolute;
	top: 0px;
	z-index: 900;
}

.tb-box span.arrow {
	left: 18px;
	top: 15px;
	background: url("images/arrow.gif") no-repeat scroll left top transparent;
    display: block;
    height: 8px;
    position: absolute;
    width: 5px;
    z-index: 910;
}
.tb-box-content {
    background: none repeat scroll 0 0 #F4F4F4;
    border: 1px solid #BEBEBE;
    border-radius: 3px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 900;
}
.tb-box-content span.description {
    background: #F4F4F4;
    font-size:11px;
	font-family:Verdana, Geneva, sans-serif;
    color: #000000;
    display: block;
    padding: 8px 10px;
    text-shadow: 0 1px 0 #F4F4F4;
}
.tb-box-content span.title {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #EEEEEE;
    border-color: #F4F4F4 #F4F4F4 #FEFEFE;
    border-style: solid;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-width: 1px;
    color: #000000;
    display: block;
    padding: 8px 10px;
    text-shadow: 0 1px 0 #F4F4F4;
	font-weight:bold;
	text-align:center;
}

.tb-box-content ul {
	float: left;
	left: 0;
	list-style: none outside none;
}
.tb-box-content ul li:hover{
	background: #EEE;
}
.tb-box-content ul li{
	border-bottom: 1px solid #FEFEFE;
    display: block;
    padding: 1px;
	list-style: none outside none;
    width: 300px;
}
.tb-box-content ul li a:hover {
	color:#000;
}

.tb-box-content ul li a {
	background: none;
	color: #555555;
	display: block;
	padding: 8px 10px;
	text-decoration: none;
	font-family: Tahoma;
	font-size:11px;
}
.tb-box-content ul li a span.info {
	width: 16px;
	height: 16px;
	background: url("icons/information.png") no-repeat;
	margin-right:3px;
	display: block;
	float:left;
	position: relative;
	top:1px;
}
.tb-scroll {
	height:300px;
	overflow:auto;
}
.tb-box-content div.loading {
	width:200px;
	margin:10px auto;
	text-align: center;
	font-family: Tahoma;
	font-size:11px;
	color: #A0A0A0;
}
#tool-box a.tb-icon:hover {
	background-color: #EAEAEA;
}
#tool-box a.tb-icon {
	display: block;
	cursor: pointer;
	float:left;
	height:31px;
	width:23px;
	border-bottom: 1px solid #FEFEFE;
    border-top: 1px solid #E4E4E4;
	background-position: 4px 7px;
	background-repeat: no-repeat;
}

#tool-box div.badge{
	font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
	font-size:10px;
	background:#FF3434;
	color:black;
	width:12px;
	height:12px;
	margin:17px 0px 0px 10px;
	font-weight:bold;
	border-radius:4px;
	text-align:center;
}
#tool-box div.badge span{
	position: relative;
	right:1px;
}
#tool-box div.counter {
	float: right;
	font-weight: bold;
	border-radius: 4px;
    padding: 1px 3px 2px;
	background-color: #d1d1d1;
	color: #000;
    font-size: 10px;
    font-weight: bold;
    line-height: 14px;
    text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
    vertical-align: baseline;
    white-space: nowrap;
}
#tool-box label{
    font-size:11px;
	font-family:Verdana, Geneva, sans-serif;
}
#tool-box div.badge span{
	position:relative;
	top:-3px;
}

#tool-box #tb-icon-notifications {
	background-image: url(icons/world.png);
	border-top:0px none;
}
#tool-box #tb-icon-searchbox {
	background-image: url(icons/magnifier.png)
}
#tool-box #tb-icon-bugreport {
	background-image: url(icons/bug.png);
	border-bottom: 0px none;
}


/* TOOL BOX BOXES */

#tool-box div#tb-box-notifications ul#notifications li{
	padding-left:2px;
}
#tool-box div#tb-box-notifications ul#notifications li.new{
	border-left:2px #999 solid;
	padding-left:0px;
}
#tool-box div#tb-box-searchbox {
	width: 300px;
	top: 32px;
}
#tool-box div#tb-box-bugreport {
	width: 370px;
	top: 64px;
}
#tool-box #tb-box-bugreport form#tb-bugreport #bug-message {
	width: 97%;
	height:100px;
	resize: vertical;
}
#tool-box #tb-box-bugreport form#tb-bugreport input[type="submit"] {
	width: 100px;
	margin: 10px auto;
	display: block;
	cursor: pointer;
	height:30px;
}
#tool-box #tb-box-bugreport form#tb-bugreport {
	padding: 10px;
}

#tool-box div#tb-box-searchbox form#tb-searchform {
	padding:20px;
}
#tool-box div#tb-box-searchbox form#tb-searchform input[type="text"]{
	width:74%;
}
#tool-box form input, #tool-box form textarea{
	border:1px #888 solid;
	padding:3px;
	font-family:Tahoma, Geneva, sans-serif;
	font-size:12px;
	border-radius:2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
a#random_problem_btn {
	text-decoration: none;
	display: block;
	width:93%;
	margin-top: 7px;
	padding: 5px;
	text-align: center;
	border:1px #888 solid;
	color:#333333;
	border-radius:3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background:url(images/submit_bg.jpg) repeat-x top;
}
/* END TOOLBOX */


/* PAGE CONTROL AND FOLLOW UNFOLLOW*/
.page-controls {
	float:right;
	text-align:right;
	width:30%;
	padding-right:8px;
}
.page-controls div.button {
	border-radius:3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	display: block;
	width: 100px;
	float:right;
	padding: 5px 0px 5px 15px;
	border:1px #999 solid;
	font-family:Verdana, Geneva, sans-serif;	
	font-size:11px;
	text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25);
	text-align: center;
	cursor: pointer;
}
.page-controls #follow-btn {
	background: url("icons/disconnect.png") no-repeat 3px 3px #E5E5E5;
}

.page-controls #unfollow-btn {
	background: url("icons/connect.png") no-repeat 3px 3px #E5E5E5;
}

/* PROBLEM SEARCH CONTAINER */

#problem-search-container {
	float:right;
	text-align:right;
	width:30%;
	padding-right:8px;
}
#problem-search-container form input[type="text"] {
	border:1px #888 solid;
	padding:3px;
	font-family:Tahoma, Geneva, sans-serif;
	border-radius:2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
#problem-search-container form input[type="submit"] {
	border:1px #888 solid;
	padding:2px 2px 2px 2px;
	margin:0px 1px;
	font-family:Tahoma, Geneva, sans-serif;
	color:#000;
	background:url(images/btn_bg.jpg) repeat-x;
	cursor:pointer;
	border-radius:2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
/* END */

.file-wrapper {
	cursor: pointer;
	display: inline-block;
	overflow: hidden;
	position: relative;
}
.file-wrapper input {
	cursor: pointer;
	font-size: 100px;
	height: 100%;
	filter: alpha(opacity=1);
	-moz-opacity: 0.01;
	opacity: 0.01;
	position: absolute;
	right: 0;
	top: 0;
}
.file-wrapper .button {
	text-decoration: none;
	display: inline-block;
	margin: 20px auto 5px auto;
	padding: 10px;
	text-align: center;
	border:1px #888 solid;
	color:#333333;
	border-radius:3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background:url(images/submit_bg.jpg) repeat-x top;
}

/* FOOTER STICKY HACK */
html, body {
	height: 100%;
}

#wrap {
	min-height: 100%;
}

#main {
	overflow:auto;
	padding-bottom: 125px; /* must be same height as the footer */
} 

#footer {
	position: relative;
	margin-top: -125px; /* negative value of footer height */
	height: 125px;
	clear:both;
} 

/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;/
}
/* END FOOTER STICKY HACK */

.nos {
	display:none;
}
.red{
color:#F00;
}
span.big {
	font-size:24px;
	font-family:Verdana, Geneva, sans-serif;
	text-shadow:0 1px rgba(255, 255, 255, 0.5);
}
