body {
	background-color: #82b7ff;
	width: 820px;
	margin: 20px auto;
	/*background: #4076C2;*/
	background-image: url('../img/site/grad_back.png');
	background-repeat: repeat-x;
	background-attachment: fixed;
	background-position: top left;
}

h4 {
	margin: 0;
	padding: 0;
}

#betalogo {
	position: absolute; 	
	width: 10%; 
	top: 0px; 
	left: 110px; 
	z-index:1000;
}

.reglink a {
	color: blue !important;
	text-decoration: underline !important;	
}
.reglink a:hover {
	color: blue !important;
}

.betamnt {
	margin: 0 30px 0 0;
	width: 50px;
}

.first_team {
	/*margin-right: 130px;*/
}
.second_team {
	/*margin-left: 130px;*/
	margin-right: 30px;
}

img {
	border: 0;
}

#wrapper {
	position: relative;
}

#header_elm {
	background-image: url('../img/site/headersliver.png');
	background-repeat: repeat-x;
	background-position: top left;
}
#header_elm img {
	display: inline;
	vertical-align: -10px;
	margin: 0;
}
#header_corner {
	/*width: 820px;
	height: 56px;*/

	background-image: url('../img/site/topcorner.png');
	background-repeat: no-repeat;
	background-position: bottom right;
}
#titlemenu, #loginmenu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline;
	margin: 0 0 0 10px;
}
#loginmenu {
	text-align: right;
	font-size: .8em;
	margin-left: 5px;
}

#titlemenu li , #loginmenu li {
	margin: 0;
	display: inline;
	border-left: white 1px solid;
	padding: 0 20px 0 20px;
}
#loginmenu li {
	border: none;
	padding: 0 10px 0 10px;
}
#titlemenu a, #loginmenu a {
	color: white;
	text-decoration: none;
}

#titlemenu a:hover, #loginmenu a:hover {
	color: red;
}



#border {
	background-image: url('../img/site/leftborder.png');
	background-repeat: repeat-y;
	background-position: top left;
	position: relative;
	width: 824px;
	margin: 0 0 0 -2px;
}
#innborder {
	background-image: url('../img/site/rightborder.png');
	background-repeat: repeat-y;
	background-position: top right;
	position: relative;
}

#bordwrap {
	margin: 0 8px 0 8px;
	background-color: #274775;
	position: relative;
}

#menu {
	width: 135px;
	font-size: .8em;
	margin: 4px 0 0 0;
	float: left;
	display: inline;
	position: relative;
}

#menu a {
	color: black;
	text-decoration: none;
}

#menu .news a:hover {
	color: red;
}

#menu ul {
	margin: 1px 0 0 0;
	padding: 0 15px 0 4px;
	list-style-type: none;
/*	list-style-image: url('img/site/yellowbullet.png');
	list-style-position: inside;*/
}
#menu li {
	background-color: #c2c2c2;
	width: 100%;
	padding: 3px 0 3px 7px;
	margin: 0 0 7px 0;

	border: black thin solid;
	border-top: white thin solid;
}
#menu .sub {
	width: 93%;
	margin-left: 7%;
	font-size: .9em;
}
h4 {
	color: red;
	text-decoration: underline;
	font-size: 13px;
	margin: 0;
	padding: 0;
	margin-bottom: 4px;
}
#menu .news {
	
	margin-top: 100px;

	background-color: white;
	border: none;
	border: 1px solid black;

	font-size: 12px;
}

#content {
	padding: 20px;
	background: white;
	width: 627px;
	min-height: 500px;
	position: relative;
	border: gray thin solid;
	float: left;
	margin: 2px 0 2px 0;
	
	font-size: .9em;

	overflow-x: auto;
}

#footer {
	background-image: url('../img/site/footer_left_corner.png');
	background-repeat: no-repeat;
	background-position: top left;

	margin: 0 0 0 -2px;
}
#footer div {
	width: 824px;
	background-image: url('../img/site/footer_right_corner.png');
	background-repeat: no-repeat;
	background-position: top right;
}	

#footer div div {
	height: 32px;
	width: 758px;
	text-align: center;
	margin: 0 0 0 33px;
	padding: .7em 0 0 0;
	font-size: .8em;
	background-image: url('../img/site/footer_sliver.png');
	background-repeat: repeat-x;
	background-position: top left;
}	

#searchbox {
	border: 1px black solid;
	margin: 0 auto;
	width: 30em;
}

#searchbox ul {
	list-style-type: none;
	float: left;
}

#searchlines ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	clear: both !important;
}
#searchlines li {
	margin: 0 0 0 20px;
	padding: 0;
	clear: both;
}
.clickable {
	cursor: hand;
	cursor: pointer;
}
ul.plus {
/*	list-style-image: url('img/plus.gif');*/
	list-style: none;
	margin: 0;
	padding: 0;
}
.plus ul li {
	margin: 0 !important;
	padding: 0;
}
.listbets div {
	display: none;
}
.listbets ul {
	list-style-image: none;
	margin: 0;
}
.betslist ul li {
	padding: 0 15px 0 5px !important;
	border-left: black thin solid;
	clear: none !important;
	background-color: #f5faff;
	width: 12em;
	float: left;
	margin: 0;
}
.middleli {
	width: 8em !important;
}

table.list {
	border-width: 1px 1px 1px 1px;
	border-spacing: 0px;
	border-style: none none none none;
	border-color: gray gray gray gray;
	border-collapse: collapse;
	background-color: rgb(255, 245, 238);
	
	font-size: .8em;	
}
table.list th {
	border-width: 1px 1px 1px 1px;
	padding: 4px 4px 4px 4px;
	border-style: dotted dotted dotted dotted;
	border-color: gray gray gray gray;
	background-color: white;
}
table.list td {
	border-width: 1px 1px 1px 1px;
	padding: 3px 3px 3px 3px;
	border-style: dotted dotted dotted dotted;
	border-color: gray gray gray gray;
	background-color: #FFF5EE;
}

form#inputform, form.dform {
	font-size: .9em;
	background-color: #cfe3ff;
	padding: 15px 25px 15px 15px;
	border: 1px gray solid;
}
form#inputform ul {
	list-style-type: none;
	padding: 0;
}
form#inputform fieldset, form.dform fieldset {
	margin-bottom: 1em;
	border: none;
}
form#inputform legend, form.dform legend {
	font-size: 1.5em;
	width: 90%;
	border-bottom: 1px gray dashed;
}
form#inputform ul li {
	clear: both;
	padding: 2px;
	margin: 4px 0 4px 0;
	position: relative;
	border-bottom: 1px black solid;
}
form#inputform label, form.dform dt {
	float: left;
	width: 250px;
	margin-right: 20px;
	margin-top: 3px;
}
form.dform dt.longdt {
	width: 400px;
}
form.dform dt {
	clear: left;
}
form#inputform input {
	width: 21em;
}
form#inputform input.date {
	width: 3em;
}
form#inputform span input, #inputform legend input, form#inputform .regular {
	width: auto !important;
}
form#inputform ul li span {
	float: left;
	width: 270px;
	background-color: white;
	border: 1px black inset;
	padding: .2em;
}
#public {
	/*float: left;*/
	position: relative;
	width: 500px;
	height: 110px;
	background-color: #cfe3ff;
	/*margin: 20px 60px;*/
	text-align: center;
}
#public div {
	margin:  15px 10px 15px 15px;
}
#public code ,pre{
	background-color: white;
	padding: 5px 10px 5px 10px;
	border: gray 1px solid;
	color: green;
	font-size: 14px;
	overflow-y: auto;
}
.noback {
	text-align: center;
}
.clr {
	clear: both;
}
.positive {
	color: green;
}
.negative {
	color: red;
}
h1 {
	border-bottom: #274775 2px solid;
}
div#avatar {
	width: 150px;
	margin-left: 2px;
	padding-top: 15px;
	padding-left: 4px;
	height: 235px;
	float: right;
	border-left: 4px #274775 solid;
	/*border-top: 6px #274775 solid;*/
	/*background-color: #cfe3ff;*/
	position: relative;
}
div#graphimg {
	width: 430px;
	float: left;
	clear: left;
}
div#record {
	width: 580px;
	height: 75px;
	margin-left: 25px;
	float: left;
	font-size: 1.5em;
}
div#record ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
div#record li {
	margin: 0;
	padding: 0;
	float: left;
	width: 190px;
}
div#pending {
	width: 175px;
	height: 200px;
	border: black solid thin;
	overflow: auto;
	font-size: .85em;
	float: left;
	margin-right: 25px;
	overflow:auto;
}
#pending ul, #pending li {
	margin: 0;
	padding: 0;
	list-style: none;
}
#pending li {
	padding-bottom: 5px;
	padding-top: 5px;
	border-bottom: 1px solid gray;
}
div#data {
	width: 405px;
	height: 200px;
	float: left;
	overflow: auto;
}
div#data ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
div#data li {
	padding: 0;
	margin: 0;
}
h2 {
	color: #c54418;
	font-size: 1.2em;
}
.error {
	color: red;
}
#moredetails {
	/*border: black 1px solid;*/
	width: 90%;
	position: relative;
}
#moredetails a {
	text-decoration: none;
	color: black;
}
#moredetails a:hover {
	color: white;
}
#moredetails ul, #moredetails li {
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: 12px;
}
#moredetails li {
	float: left;
	width: 170px;
	height: 15px;
	padding: 4px;
	background-color: #cfe3ff;
	text-align: center;
	border: 1px black solid;
}
#moredetails table {
	border: #274775 solid 1px;
	width: 580px;
}
#moredetails tr {
	border-bottom: #274775 1px solid; 
}
#moredetails td {
	width: 196px;
	padding: 3px;
	border-bottom: #274775 1px solid; 
}
#moredetails .l {
	width: 400px;
}
.neg {
	color: red;
}
#takerisks li {
	margin: 0 0 7px 0;
}

#faq dt {
	margin-bottom: 1em;
	margin-top: 1em;
	font-weight: bold;
}

#vperiods td {
	
	padding-right: 1em;
}

#link { 
	width: 400px;
	height: 70px;
}

/**SS2**/
#sports_types {
	width: 520px;
	margin: 10px auto;
	border: 1px solid black;	
}
#sports_types ul {
	list-style: none;
	margin: 0;
	padding: 10px;
}
#sports {
	float: left;
	width: 250px;
}
#types {
	float: right;
	width: 250px;
}
#lines {
	width: 550px;
	padding: 10px;
	margin: 0 auto;
}
#lines ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#lines span {
	float: left;
}
#lines .teamHome {
	text-align: right;
	width: 230px;
	float: left;
}
#lines .teamVisitor {
	text-align: left;
	width: 230px;
	float: left;
}
#lines .gameHeader {
	cursor: pointer;
	margin: 2px 3px;
	padding: 0 7px;
	background-color: white;
	clear: both;
}
#lines .gameHeader.hover {
	color: red;
}
#lines .gameHeader img {
	float: left;
	margin-top: -3px;
	margin-right: 5px;
}
#lines table {
	margin: 0 auto;
	margin-left: 30px;
	padding: 0;
	/*height: 500px;*/
	width: 520px;
	color: black;
}
.floatLeft {
	float: left;
}
.floatRight {
	float: right;
	text-align: right;
}
div.modal {
	background-color: black;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
}
div.modalContent {
	position: absolute;
	top: 0;
	margin: 100px 270px;
	width: 400px;
	height: 200px;
	background-color: white;
	border: 1px solid black;
	z-index: 200;
}
div.modalContent .content {
	margin-top: 21px;
}
div.modalContent .title {
	position: absolute;
	top: 0;
	left: 0;
	width: 394px;
	height: 15px;
	padding: 3px;
	background-color: #82b7ff;
	color: black;
	font-size: 12px;
}
#editbets {
	padding: 15px;
}
.centered {
	width: 100%;
	text-align: center;
}
#undobox {
	text-align: center;
}
#undobox p {
	background-color: #fff1a8;
	margin: 0 auto;
	width: 60%;
}
#undobox a {
	color: blue;
	text-decoration: underline;
	cursor: pointer;
}
#undobox a:hover {
	color: red;
}

