* {
	padding: 0;
	margin: 0;
}

body, html {
	color: #fff;
	font-family: Verdana, Arial, Tahoma, sans-serif;
	background-color: #000; 
	text-align: center; 
	height: 100%;
}

body {
	/*font-size:65%;*/
	font-size: 70%;
}

p {
	padding: 7px 0 7px 0;
}

a {
	color: #3a70de;
}

img {
	border: 0;
}

table {
	font-size: 100%;
}

pre {
	text-align: left;
}

a:hover {
	color: #91b5ff;
	text-decoration: none;
}

h1, h2, h3 {
	/*font-weight: bold;*/
	padding-bottom: 5px;
	font-family: Arial;
}

h1 {
	font-size: 20px;
}

h2 {
	font-size: 18px;
	padding-left: 5px;
}

h3 {
	font-size: 16px;
	padding-left: 10px;
}

h1 a {
	color: #fff;
}

.clear {
	overflow: hidden;
	clear: both;
}

#mainContainer {
	width: 990px;
	margin: 0 auto;
	min-height: 100%;
	/*background: #e6dbad; */
	border-left: 1px solid #001e5a;
	border-right: 1px solid #001e5a;
	text-align: left; 
	background-image: url('/images/innerBackground.jpg');
}

* html #mainContainer {
	height: 100%; 
}

/*** Maintenance **/
#maintenanceContainer {
	width: 500px;
	margin: 25px auto;
	border: 1px solid #001e5a;
}

#maintenanceContainer div.message {
	margin-top: 5px;
	background: #101010;
	border-top: 1px solid #001e5a;
	padding: 5px;
}

/*** MA SaS Splash **/
#splashContainer {
	width: 710px;
	margin: 25px auto;
	border: 1px solid #001e5a;
}

#splashContainer p {
	font-style: italic;
	padding: 5px;
}

/***************
	HEADER
***************/
#header {
	background-image: url('/images/sprite1.jpg');
	background-repeat: no-repeat;
	height: 148px;
}

#header .headerIcons {
	margin-top: -130px;
	margin-left: 750px;
}

#header .headerIcons li {
	list-style-type: none;
	float: left;
	margin: 2px;
	text-align: center;
}

#header p.chooselanguage {
	position: absolute;
	margin-left: 780px;
	margin-top: 80px;
	padding: 0 10px 0 0;
	width: 200px;
	/*background: green;*/
	text-align: right;
	font-style: italic;
	font-size: 80%;
}

#header ul.languages {
	padding-right: 10px;
	margin-top: 98px;
}

#header ul.languages li {
	list-style-type: none;
	float: right;
	width: 20px;
	margin: 2px;
	font-size: 70%;
	text-align: center;
}

/*****************
	CONTENT
*****************/
.outer {
	padding-left: 165px;
}

* html .outer {
	padding-right: 120px; 
}

.inner {
	width: 825px; 
	padding-bottom: 30px;
}

* html .inner {
	width: 100%;
}

.float-wrap {
	float: left;
	width: 863px;
	margin-left: -165px; 
	padding: 0;
}

#content {
	margin-top: 5px;
	float: right;
	width: 660px;
	background: #070707;
}

* html #content {
	position: relative; 
}

.contentWrap{
	padding: 5px;
	text-align: justify;
}

.contentWrap ol, .contentWrap ul {
	margin: 3px 0 5px 35px;
}

.contentWrap li {
	padding-bottom: 2px;
}

#content #contentAccountSpace {
	width: 40px;
	height: 263px;
	float: right;
	background: #070707; /* same as #content background */
}

#content div.breadcrumb {
	font-style: italic;
	font-size: 80%;
	/*color: #a90000;*/
}

/************
	LEFT
************/

#left {
	float: left;
	width: 195px;
}

#left .leftTop {
	width: 194px;
	height: 59px;
	background-image: url('/images/sprite1.jpg');
	background-repeat: no-repeat;
	background-position: -990px -1px;
	
}

* html #left {
	position: relative;  
}

#left .menuitem {
	margin: 10px 5px 5px 5px;
	padding: 5px;
	border: 1px solid #001c55;
	/*background-color: #001f4e;*/
}

#left .menuitem ul li {
	
}

#left .menuitem ul li a {
	background: #002763;
	padding: 3px 3px 2px 2px;
	
	border-left: 10px solid #0a2d9d;
	border-top: 1px solid #00299c;
	border-bottom: 1px solid #00207d;
	border-right: 1px solid #00207d;
	/*font-weight: bold;*/
	text-decoration: none;
	text-align: left;
	color: #fff;

	display: block;
	height: 100%; /** IE6 fix **/
}

#left .menuitem ul li a:hover {
	border-left: 10px solid #a00000;
	background: #002c70;
	padding-left: 5px;
}

#left h3 {
	font-size: 110%;
	padding-left: 10px;
}

#left ul {
	list-style: none;
	padding-bottom: 4px;
}

#left ul li {
	padding-bottom: 2px;
}

/**************
	RIGHT
**************/
#right {
	float: right; 
	width: 120px;
}

* html #right {
	position: relative;  
	margin-right: -120px; /* IE fix */
}

#right ul {
	list-style: none;
	padding-bottom: 4px;
}

#right li {
	padding-bottom: 2px;
}

#right #account {
	position: relative; /* IE fix */
	margin-top: 10px;
	margin-left: -40px;
	width: 150px;
	height: 250px;
	opacity: 0.85; 
	/*filter: alpha(opacity=85); */
	-moz-opacity: 0.85; 
	background: #030d27;
	border: 1px solid #006cff;
}

#right #account * {
	margin: 0;
}

#right #account p {
	padding: 5px;
}

#right #account p.team {
	font-weight: bold;
}

#right #account p a.logout {
	display: block;
	background: #500e0e;
	border: 1px solid #3e0808;
	padding: 3px;
	text-decoration: none;
	color: #fde9e9;
}

#right #account p a.logout:hover {
	background: #611414;
	border: 1px solid #3e0808;
	text-decoration: underline;
}

#right #account h2 {
	color: red;
	text-align: center;
}

#right #account form {
	padding: 5px;
}

#right #account form ul {
	background: none;
}

#right #account ul {
	list-style: none;
	margin: 3px;
	padding: 0;
}

#right #account ul li {
	margin: 1px;
	font-weight: bold;
	/*background: #08163a;*/
}

#right #account ul li a {
	font-weight: normal;
	width: 135px; /* IE6 fix */
	display: block;
	padding: 3px;
	background: #08163a;
}

#right #account ul li a:hover {
	background: #0e2050;
}

#right #account ul.fields input {
	padding: 2px;
	width: 125px;
	background: #0c2d63;
	border: 1px solid blue;
	color: #fff;
}

#right ul.logos {
	margin-top: 10px;
	text-align: center;
}

#right ul.logos li img {
	border: 1px solid black;
}

/*************
	FOOTER
*************/
#footer {
	width: 990px;
	height: 30px;
	margin: 0 auto;
	margin-top: -30px; /* reference: footer height */
	text-align: center;
	border: 1px solid #001e5a;
	background-color: #000;
}

#footer ul.queries {
	list-style: none;
}

#footer ul.queries li {
	padding: 3px;
	text-align: left;
	margin: 1px;
	background: #0b0b0b;
}

#footer ul.queries li:hover {
	background: #1d1d1d;
}

/***********************************/

/***************
	NEW MARK
***************/
span.new {
	font-size: 80%;
	color: red;
	font-weight: bold;
}

/***************
	PARTNERS
***************/
div.partners {
	margin-top: 20px;
	text-align: center;
}

div.partners h3 {
	font-size: 80%;
}

ul.partners {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.partners li {
	text-align: center;
}



/* AJAX */
p.loading {
	border: 1px solid #420000;
	background: #1d0000;
	width: 100%;
	padding: 7px;
	margin: 0;
}

p.loading img {
	margin-right: 5px;
}

/* Error */
div.error {
	background-image: url('../images/icons/failed.gif');
	background-repeat: no-repeat;
	background-position: 3px 3px;
	background-color: #3e2626;
	position: relative;
	margin-top: 20px;
	margin-bottom: 20px;
	max-width: 555px;
	min-height: 37px;
	border: 1px solid #c90202;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-right: 5px;
	padding-left: 50px;
	width: 100%;
}

/* Success */
div.success {
	background-image: url('../images/icons/success.gif');
	background-repeat: no-repeat;
	background-position: 3px 3px;
	background-color: #263e26;
	position: relative;
	margin-top: 20px;
	margin-bottom: 20px;
	max-width: 555px;
	min-height: 37px;
	border: 1px solid #15c902;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-right: 5px;
	padding-left: 50px;
	width: 100%;
}

/* Warning */
div.warning {
	background-image: url('../images/icons/exclamation.gif');
	background-repeat: no-repeat;
	background-position: 3px 3px;
	background-color: #3e3e26;
	position: relative;
	margin-top: 20px;
	margin-bottom: 20px;
	max-width: 555px;
	min-height: 37px;
	border: 1px solid #c9ab02;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-right: 5px;
	padding-left: 50px;
	width: 100%;
}

p.faq_question {
	padding: 5px;
	background: #191919;
	/*border: 1px solid #242424;*/
	margin: 2px;
}

div.faq_answer p {
	padding: 5px;
}

form.postform label {
	text-align: right;
	width: 130px;
	padding-right: 10px;
}

form.postform label, form.postform input, form.postform select, form.postform textarea {
	display: block;
	float: left;
	margin-bottom: 5px;
}

form.postform textarea {
	width: 360px;
	height: 300px;
}

form.postform br {
	clear: left;
}

form.postform .submit {
	/*
	margin-left: 130px;
	padding: 0;
	*/
}

form.postform p.obligatory {
	clear: both;
	margin-left: 140px;
	font-style: italic;
}

/*************
  DOWNLOADS
*************/
div.customdownloads {
	clear: left;
	margin-top: 15px;
}

div.customdownload {
	margin: 0 0 5px 0;
	padding: 3px;
}

div.customdownload:hover {
	background: #131417;
}

div.customdownload img {
	float: left;
	margin-right: 5px;
}

div.customdownload a.button {
}

div.customdownload span.description {
	font-style: italic;
	color: #fffcdb;
}

div.customdownload a.link {
	font-family: sans-serif;
	font-size: 130%;
	font-weight: bold;
	/*width: 400px; /* IE6 fix */
	display: block;
	padding: 3px;
	text-decoration: none;
}

div.customdownload a.link:hover {
	color: white;
}

hr.homeseperation {
	margin: 10px 0 10px 0;
	border: 0;
	color: red;
	background-color: red;
	height: 1px;
	clear: both;
}

div.xmas {
	background-image: url('../images/gradients/back01.jpg');
	background-repeat: repeat-x;
	margin-bottom: 20px;
	height: 100%; /* IE6 fix */
	min-height: 170px;
}

div.xmas h1 {
	color: red;
	margin: 3px 0 0 3px;
}

div.welcome {
	background-image: url('../images/gradients/back01.jpg');
	background-repeat: repeat-x;
	margin-bottom: 20px;
	height: 100%; /* IE6 fix */
	min-height: 170px;
}

div.welcome h1 {
	margin: 3px 0 0 3px;
}

div.welcome h2 {
	color: #ac0707;
	padding: 3px;
	font-size: 16px;
	font-style: italic;
}

div.welcome ul {
	list-style-type: decimal;
}

div.welcome ul li {
	margin: 5px;
}

.deadline2 {
	color: red;
}/****************
	HEADLINES
****************/
div.headlines {
}

div.headlines table {
	/*border: 1px solid green;*/
}

div.headlines table thead tr th {
	padding: 4px;
	background: #590000;
	text-align: left;
}

div.headlines table tbody tr td {
	margin: 1px;
	background: #0b0b0b;
}

div.headlines table tbody tr td * {
	display: block;
	padding: 3px;
}

div.headlines table tbody tr td a:hover {
	background: #151515;
}

div.headlines table tr td.posted {
	width: 95px;
	font-size: 9px;
}

div.headlines table tr td.subject {
	width: 508px;
}

/******************
	LATEST NEWS
******************/
div.latestnews {
	margin-left: 5px;
}

div.latestnews h2 {
	font-size: 110%;
	margin: 0 0 0 0;
	padding: 3px;
	background: #590000;
}

div.latestnews h3 {
	font-size: 120%;
	margin: 0;
	padding: 5px 0 0 0;
	clear: left;
}

div.latestnews h3 a {
	text-decoration: none;
}

div.latestnews p {
	margin: 0;
	padding: 0 5px 5px 0;
}

div.latestnews hr {
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom: 1px dotted #a50b0b;
}

div.latestnews p img.thumb {
	float: left;
	padding-right: 5px;
	border: 0;
}

div.latestnews span.date {
	font-size: 80%;
	color: #a50b0b;
}

/****************
	NEWS ITEM
****************/
div.newsitem {
	background-image: url('../images/gradients/back01.jpg');
	background-repeat: repeat-x;
	margin-bottom: 20px;
	height: 100%; /* IE6 fix */
	min-height: 170px;
}

div.newsitem h1 {
	/*font-size: 120%;*/
	margin: 3px 0 0 3px;
	font-size: 18px;
}

div.newsitem h2 {
	color: #ac0707;
	padding: 3px;
	font-size: 16px;
	font-style: italic;
}

div.newsitem p {
	padding: 5px;
}

div.newsitem p.posted {
	font-size: 9px;
	font-style: italic;
}/******************
	TOURNAMENTS
******************/
div.tournament {
	background-image: url('../images/gradients/back01.jpg');
	background-repeat: repeat-x;
	margin-bottom: 20px;
	height: 100%; /* IE6 fix */
	min-height: 200px;
}

div.tournament h1 {
	/*font-size: 120%;*/
	margin: 3px 0 0 3px;
	font-size: 18px;
}

div.tournament h2, div.tournament h2 a {
	text-decoration: none;
	color: #ac0707;
	padding: 3px;
}

div.tournament h2 {

}

div.tournament h2 a:hover {
	color: #f70000;
}

div.tournament p {
	padding: 5px 3px 5px 3px;
}

div.tournament p img.thumbnail {
	margin-right: 5px;
	margin-bottom: 5px;
	float: left;
}

/*****************\
 Extra information
\*****************/
div.tournament div.extra {
	float: right;
	margin: 0 5px 0 5px;
	font-size: 85%;
	color: #fffabf;
	width: 150px;
}

div.tournament div.extraontournament {
	float: left;
	margin: 0 5px 5px 5px;
	font-size: 85%;
	color: #fffabf;
	width: 140px;
}

div.tournament div.extra ul, div.tournament div.extraontournament ul {
	margin: 5px 0 0 0;
	padding: 0;
	border: 1px solid #560000;
	background: #200000;
}

div.tournament div.extra ul li, div.tournament div.extraontournament ul li {
	margin: 0;
	padding: 2px;
	list-style-type: none;
	text-align: center;
}

div.tournament div.extra ul li.title, div.tournament div.extraontournament ul li.title {
	color: #ac0707;
	font-weight: bold;
}

div.tournament div.extraontournament ul li img.flag {
	width: 15px;
	height: 10px;
}

/****************\
 More info button
\****************/
div.tournament div.extra ul.morebutton li, div.tournament div.extraontournament ul.morebutton li {
	background: #850000;
	padding: 0;
}

div.tournament div.extra ul.morebutton li a, div.tournament div.extraontournament ul.morebutton li a {
	margin: 0;
	padding: 3px;
	display: block;
	text-decoration: none;
	color: #fffabf;
	height: 100%; /* IE fix */
}

div.tournament div.extra ul.morebutton li a:hover, div.tournament div.extraontournament ul.morebutton li a:hover {
	background: #b20000;
	text-decoration: underline;
}

/****************\
 Subscribe button
\****************/
/* Subscribe */
div.tournament div.extra ul.subscribebutton, div.tournament div.extraontournament ul.subscribebutton {
	border: 1px solid #563700;
}

div.tournament div.extra ul.subscribebutton li, div.tournament div.extraontournament ul.subscribebutton li {
	background: #854b00;
	padding: 0;
}

div.tournament div.extra ul.subscribebutton li *, div.tournament div.extraontournament ul.subscribebutton li * {
	margin: 0;
	padding: 3px;
	display: block;
	height: 100%; /* IE fix */
}

div.tournament div.extra ul.subscribebutton li a, div.tournament div.extraontournament ul.subscribebutton li a {
	text-decoration: none;
	color: #fffabf;
}

div.tournament div.extra ul.subscribebutton li a:hover, div.tournament div.extraontournament ul.subscribebutton li a:hover {
	background: #b26900;
	text-decoration: underline;
}

/* Subscribed */
div.tournament div.extra ul.subscribedbutton, div.tournament div.extraontournament ul.subscribedbutton {
	border: 1px solid #005604;
}

div.tournament div.extra ul.subscribedbutton li, div.tournament div.extraontournament ul.subscribedbutton li {
	background: #068500;
	padding: 0;
}

div.tournament div.extra ul.subscribedbutton li *, div.tournament div.extraontournament ul.subscribedbutton li * {
	margin: 0;
	padding: 3px;
	display: block;
	height: 100%; /* IE fix */
}

div.tournament div.extra ul.subscribedbutton li a, div.tournament div.extraontournament ul.subscribedbutton li a {
	text-decoration: none;
	color: #c2ffbf;
}

div.tournament div.extra ul.subscribedbutton li a:hover, div.tournament div.extraontournament ul.subscribedbutton li a:hover {
	background: #11b200;
	text-decoration: underline;
}

/* Subscription rejected */
div.tournament div.extra ul.subscriberejectedbutton, div.tournament div.extraontournament ul.subscriberejectedbutton {
	border: 1px solid #560000;
}

div.tournament div.extra ul.subscriberejectedbutton li, div.tournament div.extraontournament ul.subscriberejectedbutton li {
	background: #850000;
	padding: 0;
}

div.tournament div.extra ul.subscriberejectedbutton li *, div.tournament div.extraontournament ul.subscriberejectedbutton li * {
	margin: 0;
	padding: 3px;
	display: block;
	height: 100%; /* IE fix */
}

div.tournament div.extra ul.subscriberejectedbutton li a, div.tournament div.extraontournament ul.subscriberejectedbutton li a {
	text-decoration: none;
	color: #ffbfbf;
}

div.tournament div.extra ul.subscriberejectedbutton li a:hover, div.tournament div.extraontournament ul.subscriberejectedbutton li a:hover {
	background: #b20000;
	text-decoration: underline;
}

/* Subscription waiting approval */
div.tournament div.extra ul.subscribependingbutton, div.tournament div.extraontournament ul.subscribependingbutton {
	border: 1px solid #4d5600;
}

div.tournament div.extra ul.subscribependingbutton li, div.tournament div.extraontournament ul.subscribependingbutton li {
	background: #808500;
	padding: 0;
}

div.tournament div.extra ul.subscribependingbutton li *, div.tournament div.extraontournament ul.subscribependingbutton li * {
	margin: 0;
	padding: 3px;
	display: block;
	height: 100%; /* IE fix */
}

div.tournament div.extra ul.subscribependingbutton li a, div.tournament div.extraontournament ul.subscribependingbutton li a {
	text-decoration: none;
	color: #faffbf;
}

div.tournament div.extra ul.subscribependingbutton li a:hover, div.tournament div.extraontournament ul.subscribependingbutton li a:hover {
	background: #8e9400;
	text-decoration: underline;
}
/*********\
 Downloads
\*********/
/*
div.downloads {
	height: 100%; /* IE6 fix *\/
	margin: 5px 0 5px 0;
	font-size: 85%;
	color: #fffabf;
	width: 150px;
}

div.downloads ul {
	margin: 5px 0 0 0;
	padding: 0;
	border: 1px solid #560000;
	background: #200000;
}

div.downloads ul li {
	margin: 0;
	padding: 3px;
	list-style-type: none;
	text-align: center;
}

div.downloads ul li.title {
	color: #ac0707;
	font-weight: bold;
}
*/
div.tournamentdownloads {
	clear: both;
	background-image: url('../images/gradients/back01.jpg');
	background-repeat: repeat-x;
	margin-bottom: 20px;
	height: 100%; /* IE6 fix */
}

div.tournamentdownloads h3 {
	text-decoration: none;
	/*color: #ac0707;*/
	padding: 3px;
}

/***********\
 Competitors
\***********/
div.tournamentcompetitorsfilter {
	clear: both;
}
	
div.tournamentcompetitors {
	clear: both;
	background-image: url('../images/gradients/back01.jpg');
	background-repeat: repeat-x;
	margin-bottom: 20px;
	height: 100%; /* IE6 fix */
	min-height: 170px;
}

div.tournamentcompetitors h3, div.tournamentcompetitors h3 a {
	text-decoration: none;
	/*color: #ac0707;*/
	padding: 3px;
}

div.tournamentcompetitors h3 a:hover {
	color: #f70000;
}

div.tournamentcompetitors table {
	min-width: 650px;
}

div.tournamentcompetitors table thead tr th {
	background: #590000;
	text-align: left;
}

div.tournamentcompetitors table thead tr th a {
	padding: 4px;
	color: #fff;
	display: block;
	text-decoration: none;
}

div.tournamentcompetitors table thead tr th a:hover {
	background: #750000;
	text-decoration: underline;
}

div.tournamentcompetitors table tr td.noinformation {
	font-style: italic;
	padding: 5px;
}

div.tournamentcompetitors table tr td.weightclass {
	border-top: 1px solid #131313;
	padding: 3px;
	/*font-style: italic;*/
	font-weight: bold;
	color: #d21818;
	background: none;
}

div.tournamentcompetitors table tr td.weightclass a {
	font-weight: bold;
	color: #d21818;
	text-decoration: none;
}

div.tournamentcompetitors table tr td.class {
	padding: 3px 3px 3px 5px;
	font-style: italic;
	font-weight: bold;
	color: #f2ff86;
	background: none;
	font-size: 90%;
}

div.tournamentcompetitors table tbody tr td {
	margin: 1px;
	/*background: #0b0b0b;*/
}

div.tournamentcompetitors table tbody tr td * {
	display: block;
	padding: 5px;
}

div.tournamentcompetitors table tbody tr td a:hover {
	background: #151515;
	display: block;
	padding: 5px;
}

div.tournamentcompetitors table tbody tr td.competitor {
	width: 240px;
}

div.tournamentcompetitors table tbody tr td.country {
	width: auto;
	/*width: 150px;*/
}

div.tournamentcompetitors table tbody tr td.gender {
	padding: 3px;
}
/*
div.tournamentcompetitors table tbody tr td.class {
	padding: 3px;
}
*/

div.tournamentcompetitors table tbody tr td.flag {
	width: 30px;
}

div.tournamentcompetitors table tfoot tr td {
	height: 20px;
}

/***************************
	ARCHIVED TOURNAMENTS
***************************/
div.tournamentsarchive {
}

div.tournamentsarchive table thead tr th {
	padding: 4px;
	background: #590000;
	text-align: left;
}

div.tournamentsarchive table tr td {
	margin: 1px;
	background: #0b0b0b;
}

div.tournamentsarchive table tr td * {
	display: block;
	padding: 7px;
}

div.tournamentsarchive table tr td img {
	padding: 0 5px 0 0;
	float: left;
}

div.tournamentsarchive table tr td a:hover {
	background: #151515;
	display: block;
	padding: 7px;
}

div.tournamentsarchive table tr td a.tournament {
	width: 460px;
}

div.tournamentsarchive table tr td.dates {
	width: 150px;
}

/******************
	COMPETITORS
******************/

div.tournamentswithcompetitors {
}

div.tournamentswithcompetitors table {
	min-width: 610px;
}

div.tournamentswithcompetitors table thead tr th {
	padding: 4px;
	background: #590000;
	text-align: left;
}

div.tournamentswithcompetitors table tbody tr td {
	margin: 1px;
	background: #0b0b0b;
}

div.tournamentswithcompetitors table tbody tr td * {
	display: block;
	padding: 7px;
}

div.tournamentswithcompetitors table tbody tr td img {
	padding: 0 5px 0 0;
	float: left;
}

div.tournamentswithcompetitors table tbody tr td a:hover {
	display: block;
	background: #151515;
	padding: 7px;
}

div.tournamentswithcompetitors table tbody tr td.tournament {
	width: 300px;
}

div.tournamentswithcompetitors table tbody tr td.competitors {
	width: 120px;
	padding: 5px;
}

div.tournamentswithcompetitors table tbody tr td.moreinfo {
	width: 170px;
}

/*****************************
	TOURNAMETS ON HOMEPAGE
*****************************/

div.tournamentheadlines {
}

div.tournamentheadlines table {
	margin-bottom: 10px;
}

div.tournamentheadlines table thead tr th {
	padding: 4px;
	background: #590000;
	text-align: left;
}

div.tournamentheadlines table tbody tr td {
	margin: 1px;
	background: #0b0b0b;
}

div.tournamentheadlines table tbody tr td * {
	display: block;
	padding: 7px;
}

div.tournamentheadlines table tbody tr td img {
	padding: 0 5px 0 0;
	float: left;
}

div.tournamentheadlines table tbody tr td a:hover {
	display: block;
	background: #151515;
}

div.tournamentheadlines table tbody tr td.tournament {
	width: 340px;
}

div.tournamentheadlines table tbody tr.highlighted td {
	border-top: 1px solid red;
	border-bottom: 1px solid red;
}

div.tournamentheadlines table tbody tr.highlighted td.tournament {
	border-left: 1px solid red;
}

div.tournamentheadlines table tbody tr.highlighted td.deadline {
	border-right: 1px solid red;
}

div.tournamentheadlines table tbody tr td.tournament span.subinfo {
	font-style: italic;
	font-size: 12px;
	margin-left: 24px;
}

div.tournamentheadlines table tbody tr td.tournament span.subinfo img {
	padding-bottom: 5px;
}

div.tournamentheadlines table tbody tr td.dates {
	width: 140px;
}

div.tournamentheadlines table tbody tr td.deadline {
	width: 120px;
}

/*
div.tournamentheadlines {
	margin-left: 5px;
}

div.tournamentheadlines h2 {
	font-size: 110%;
	margin: 5px 0 0 0;
	padding: 3px;
	background: #590000;
}

div.tournamentheadlines h3 {
	font-size: 120%;
	margin: 0;
	padding: 5px 0 0 0;
	clear: left;
}

div.tournamentheadlines h3 a {
	text-decoration: none;
	color: #ac0707;
}

div.tournamentheadlines h3 a:hover {
	color: #f70000;
}

div.tournamentheadlines hr {
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom: 1px dotted #a50b0b;
}
*/

/*************************
	TOURNAMENT RESULTS
*************************/	

div.tournamentresults {
}

div.tournamentresults table {
	min-width: 610px;
}

div.tournamentresults table thead tr th {
	padding: 4px;
	background: #590000;
	text-align: left;
}

div.tournamentresults table tbody tr td {
	margin: 1px;
	background: #0b0b0b;
}

div.tournamentresults table tbody tr td * {
	display: block;
	padding: 7px;
}

div.tournamentresults table tbody tr td img {
	padding: 0 5px 0 0;
	float: left;
}

div.tournamentresults table tbody tr td a:hover {
	display: block;
	background: #151515;
	padding: 7px;
}

div.tournamentresults table tbody tr td.tournament {
	width: 300px;
}

div.tournamentresults table tbody tr td.result {
	width: 190px;
	padding: 5px;
}

div.tournamentresults table tbody tr td.download {
	width: 100px;
}/***************
	REGISTER
***************/
div.register {
}

div.register form input.text {
	width: 250px;
	font-size: 95%;
	margin: 2px 0 2px 0;
	padding: 1px;
}

div.register form input.checkbox {
	font-size: 95%;
/*	margin: 2px 0 2px 0;*/
	padding: 1px;
	height: 15px;
}

div.register form select {
	width: 250px;
	font-size: 95%;
	margin: 2px 0 2px 0;
	padding: 1px;
}

/********************
	SUBSCRIPTIONS
********************/
div.subscriptions {
}

div.subscriptions table thead tr th {
	padding: 4px;
	background: #590000;
	text-align: left;
}

div.subscriptions table tr td {
	margin: 1px;
	background: #0b0b0b;
}

div.subscriptions table tr td * {
	display: block;
	padding: 5px;
}

div.subscriptions table tr td a:hover {
	background: #151515;
	display: block;
	padding: 5px;
}

div.subscriptions table tr td a.tournament {
	width: 410px;
}

div.subscriptions table tr td.shortcuts {
	margin: 0;
	padding: 0;
}

div.subscriptions table tr td.shortcuts ul {
	list-style: none;
	padding: 0;
	margin: 0 0 0 10px;
}

div.subscriptions table tr td.shortcuts ul li {
	padding: 0;
	margin: 0;
	font-style: italic;
	font-size: 90%;
}

div.subscriptions table tr td.shortcuts ul li a {
	color: #608eea;
}

div.subscriptions table tr td.shortcuts ul li a:hover {
	color: #8fb2fb;
}

/****************\
 Subscribe button
\****************/
div.subscriptions table tr td.subscribe, div.subscriptions table tr td.subscribed, div.subscriptions table tr td.subscriberejected, div.subscriptions table tr td.subscribepending {
	width: 190px;
	font-size: 90%;
}

div.subscriptions table tr td.subscribe a {
	text-decoration: none;
	color: #fffabf;
	background: #854b00;
	border: 1px solid #563700;
}

div.subscriptions table tr td.subscribe a:hover {
	text-decoration: underline;
	color: #fffabf;
	background: #b26900;
	border: 1px solid #563700;
}

div.subscriptions table tr td.subscribed {
	font-style: italic;
	color: #c2ffbf;
	background: #068500;
	border: 1px solid #005604;
}

div.subscriptions table tr td.subscriberejected {
	font-style: italic;
	color: #ffbfbf;
	background: #850000;
	border: 1px solid #560000;
}

div.subscriptions table tr td.subscribepending {
	font-style: italic;
	color: #faffbf;
	background: #808500;
	border: 1px solid #4d5600;
}

/********************
	TEAM DATABASE
********************/
div.teamdatabase {
}

div.teamdatabase table {
	min-width: 610px;
}

div.teamdatabase table thead tr th {
	background: #590000;
	text-align: left;
}

div.teamdatabase table thead tr th a {
	padding: 4px;
	color: #fff;
	display: block;
	text-decoration: none;
}

div.teamdatabase table thead tr th a:hover {
	background: #750000;
	text-decoration: underline;
}

div.teamdatabase table tbody tr td {
	margin: 1px;
	background: #0b0b0b;
}

div.teamdatabase table tbody tr td * {
	display: block;
	padding: 5px;
}

div.teamdatabase table tbody tr td img {
	max-width: 350px;
	max-height: 350px;
}

div.teamdatabase table tbody tr td a:hover {
	background: #151515;
	display: block;
	padding: 5px;
}

div.teamdatabase table tbody tr td.competitor {
	width: auto;
}

div.teamdatabase table tbody tr td.class {
	padding: 3px;
	white-space: nowrap;
}

div.teamdatabase table tbody tr td.birthdate {
	padding: 3px;
	white-space: nowrap;
}

div.teamdatabase table tbody tr td.weight {
	padding: 3px;
	white-space: nowrap;
}

div.teamdatabase table tbody tr td.graduation {
	padding: 3px;
	white-space: nowrap;
}

div.teamdatabase table tbody tr td.check {
	/*width: 50px;*/
	text-align: right;
	padding: 3px;
}

div.teamdatabase table tbody tr td.edit, div.competitors table tbody tr td.delete {
	font-size: 80%;
}

div.teamdatabase table tfoot tr td {
	height: 20px;
}

div.teamdatabase p.add {
	margin: 5px;
}

div.teamdatabase table thead th.add {
	font-style: italic;
}

div.teamdatabase p.add a {
	border: 1px solid #563700;
	background: #854b00;
	padding: 5px;
	text-decoration: none;
	color: #fffabf;
}

div.teamdatabase p.add a:hover {
	background: #b26900;
}

div.teamdatabase .photonote3 {
	text-decoration: underline;
}

div.teamdatabase .birthdate_note {
	/*margin-bottom: 5px;*/
}

div.teamdatabase form input.text {
	width: 250px;
	font-size: 95%;
	margin: 2px 0 2px 0;
	padding: 1px;
}

div.teamdatabase form input.checkbox {
	font-size: 95%;
	padding: 1px;
	height: 15px;
}

div.teamdatabase table tbody tr td.tournamentcomment {
	text-align: right;
	padding-right: 5px;
}

div.teamdatabase form select.tournament {
	width: 200px;
	height: 20px;
	font-size: 95%;
	/*
	margin: 2px 0 2px 0;
	padding: 1px;
	*/
	margin: 0;
	padding: 0;
}

div.teamdatabase form input.date_day {
	width: 25px;
}

div.teamdatabase form select.date_month {
	margin: 0 5px 0 5px;
	width: 165px;
}

div.teamdatabase form input.date_year {
	width: 40px;
}

div.teamdatabase form input.submit {
	padding: 0px;
}

div.teamdatabase form label {
	display: inline;
}


div.teamdatabase table tbody tr td.failure {
	padding: 4px;
	background: red;
}

div.teamdatabase table tbody tr td.success {
	padding: 4px;
	background: green;
}

/****************
	OFFICIALS
****************/
div.officials {
}

div.officials table {
	min-width: 610px;
}

div.officials table thead tr th {
	background: #590000;
	text-align: left;
}

div.officials table thead tr th a {
	padding: 4px;
	color: #fff;
	display: block;
	text-decoration: none;
}

div.officials table thead tr th a:hover {
	background: #750000;
	text-decoration: underline;
}

div.officials table tbody tr td {
	margin: 1px;
	background: #0b0b0b;
}

div.officials table tbody tr td * {
	display: block;
	padding: 5px;
}

div.officials table tbody tr td img {
	max-width: 350px;
	max-height: 350px;
}

div.officials table tbody tr td a:hover {
	background: #151515;
	display: block;
	padding: 5px;
}

div.officials table tbody tr td.official {
	width: 200px;
}

div.officials table tbody tr td.country {
	width: auto;
	/*width: 150px;*/
}

div.officials table tbody tr td.function {
	padding: 3px;
	width: 100px;
}

div.officials table tbody tr td.flag {
	width: 30px;
}

div.officials table tbody tr td.edit, div.officials table tbody tr td.delete {
	font-size: 80%;
}

div.officials table tfoot tr td {
	height: 20px;
}

div.officials p.add {
	margin: 5px;
}

div.officials table thead th.add {
	font-style: italic;
}

div.officials p.add a {
	border: 1px solid #563700;
	background: #854b00;
	padding: 5px;
	text-decoration: none;
	color: #fffabf;
}

div.officials p.add a:hover {
	background: #b26900;
}

div.officials .photonote3 {
	text-decoration: underline;
}

div.officials form input.text {
	width: 250px;
	font-size: 95%;
	margin: 2px 0 2px 0;
	padding: 1px;
}

div.officials form input.checkbox {
	font-size: 95%;
/*	margin: 2px 0 2px 0;*/
	padding: 1px;
	height: 15px;
}

div.officials form select {
	width: 250px;
	font-size: 95%;
	margin: 2px 0 2px 0;
	padding: 1px;
}

/******************
	COMPETITORS
******************/
div.competitors {
}

div.competitors table {
	min-width: 610px;
}

div.competitors table thead tr th {
	background: #590000;
	text-align: left;
}

div.competitors table thead tr th a {
	padding: 4px;
	color: #fff;
	display: block;
	text-decoration: none;
}

div.competitors table thead tr th a:hover {
	background: #750000;
	text-decoration: underline;
}

div.competitors table tbody tr td {
	margin: 1px;
	background: #0b0b0b;
}

div.competitors table tbody tr td * {
	display: block;
	padding: 5px;
}

div.competitors table tbody tr td img {
	max-width: 350px;
	max-height: 350px;
}

div.competitors table tbody tr td a:hover {
	background: #151515;
	display: block;
	padding: 5px;
}

div.competitors table tbody tr td.competitor {
	width: 200px;
}

div.competitors table tbody tr td.country {
	width: auto;
	/*width: 150px;*/
}

div.competitors table tbody tr td.gender {
	padding: 3px;
}

div.competitors table tbody tr td.class {
	padding: 3px;
}

div.competitors table tbody tr td.weightclass {
	padding: 3px;
}

div.competitors table tbody tr td.flag {
	width: 30px;
}

div.competitors table tbody tr td.edit, div.competitors table tbody tr td.delete {
	font-size: 80%;
}

div.competitors table tfoot tr td {
	height: 20px;
}

div.competitors p.add {
	margin: 5px;
}

div.competitors table thead th.add {
	font-style: italic;
}

div.competitors p.add a {
	border: 1px solid #563700;
	background: #854b00;
	padding: 5px;
	text-decoration: none;
	color: #fffabf;
}

div.competitors p.add a:hover {
	background: #b26900;
}

div.competitors .photonote3 {
	text-decoration: underline;
}

div.competitors .birthdate_note {
	/*margin-bottom: 5px;*/
}

div.competitors form input.text {
	width: 250px;
	font-size: 95%;
	margin: 2px 0 2px 0;
	padding: 1px;
}

div.competitors form input.checkbox {
	font-size: 95%;
	padding: 1px;
	height: 15px;
}

div.competitors form select {
	width: 250px;
	font-size: 95%;
	margin: 2px 0 2px 0;
	padding: 1px;
}

div.competitors form input.date_day {
	width: 25px;
}

div.competitors form select.date_month {
	margin: 0 5px 0 5px;
	width: 165px;
}

div.competitors form input.date_year {
	width: 40px;
}

div.competitors form input.submit {
	/*display: none;*/
}


/************************
	PRINTABLE REPORTS
************************/
div.reports {
}

div.reports div.reportsform {
	height: 60px;
}

div.reports table {
	min-width: 610px;
}

div.reports table thead tr th {
	background: #590000;
	text-align: left;
}

div.reports table thead tr th a {
	padding: 4px;
	color: #fff;
	display: block;
	text-decoration: none;
}

div.reports table thead tr th a:hover {
	background: #750000;
	text-decoration: underline;
}

div.reports table tbody tr td {
	margin: 1px;
	background: #0b0b0b;
}

div.reports table tbody tr td * {
	display: block;
	padding: 5px;
}

div.reports table tbody tr td a:hover {
	background: #151515;
	display: block;
	padding: 5px;
}

div.reports table tbody tr td.report {
	width: 300px;
}

div.reports table tbody tr td.flag {
	width: 30px;
}

div.reports table tbody tr td.language {
	width: 150px;
}

div.reports table tbody tr td.size {
	padding: 3px;
}

div.reports table tbody tr td.delete {
	font-size: 80%;
}

div.reports table tfoot tr td {
	height: 20px;
}

/**********************
	FORGOT PASSWORD
**********************/
div.forgotpassword {
}

div.forgotpassword p {
	margin-left: 135px;
}

div.forgotpassword div.form1 {
	height: 60px;
}

div.forgotpassword div.form1 input.text {
	width: 250px;
}

div.forgotpassword div.form2 input.text {
	width: 120px;
}

div.forgotpassword div.form2 {
	height: 60px;
}div.contact {
	
}

div.contact form input.text {
	width: 250px;
	font-size: 95%;
	padding: 1px;
}

div.contact form input.checkbox {
	font-size: 95%;
	padding: 1px;
	height: 15px;
}

div.contact form select {
	width: 250px;
	font-size: 95%;
	margin: 2px 0 2px 0;
	padding: 1px;
}div.media {
}

div.media table thead tr th {
	background: #590000;
	text-align: left;
}

div.media table thead tr th a {
	padding: 4px;
	color: #fff;
	display: block;
	text-decoration: none;
}

div.media table thead tr th a:hover {
	background: #750000;
	text-decoration: underline;
}

div.media table tbody tr td {
	margin: 1px;
	background: #0b0b0b;
}

div.media table tbody tr td * {
	display: block;
	padding: 5px;
}

div.media table tbody tr td a:hover {
	background: #151515;
	display: block;
	padding: 5px;
}

div.media table tfoot tr td {
	height: 20px;
}