body {
	background: #fff;
	background-image: url('gbg2.gif'); background-repeat: repeat-x;
	font-family: arial, verdana, sans-serif;
}

.rbtop div { background: url(tl.gif) no-repeat top left; }
.rbtop { background: url(tr.gif) no-repeat top right; }
.rbbot div { background: url(bl.gif) no-repeat bottom left; }
.rbbot { background: url(br.gif) no-repeat bottom right; }
.rbtop div, .rbtop, .rbbot div, .rbbot { height: 5px; }
.rbc { margin: 0 5px 0 5px; }
.rbrb { margin: 5px; }

span.tt {
	position: relative;
}

span.tt span {
	display: none;
}

span.tt:hover span {
	display: block;
	position: absolute;
	top: 0; left: 9em;
	background-color: #ffc;
	color: black;
	min-width: 9em;
	font-size: 90%;
	font-style: italic;
	border: 1px solid gray;
	padding: 5px;
	-moz-opacity: .9;
}

ul {
	list-style: none;
	margin: 0 0 0 5px; 
	padding: 0 0 0 0px;
/*
	display: block;
	white-space: nowrap;
*/
	font-size: 95%;
}

div.cc { padding: 4px; border: 1px solid transparent; }
div.cc:hover { background: white; border: 1px inset black; }

a { color: #04a; text-decoration: none; }
a:hover { color: #444; text-decoration: underline; }


a.c { color: #000; text-decoration: none; }
a.c:hover { color: #04a; text-decoration: underline; }

textarea { width: 100%; border: 1px solid gray; }

h1 { font-size: 2em; }
h2 { font-size: 1.25em; margin: 0px; font-weight: normal; }
h3 { font-size: 1.10em; margin: 0px; }

td.o { margin: 0; padding: 0 0 5px 0; }
a.o { color: #ddd; font-size: 70%; font-weight: bold; background: #63697b; padding: 5px; margin: 0; height: 100%;}
a.o:hover { background: #73798b; text-decoration: none; color: #fff; }

a.ou { color: #666;  background: #e0e0e0; padding: 2px 5px 2px 5px; margin: 0; height: 100%; text-decoration: none; border-bottom: 1px solid gray; border-right: 1px solid gray; border-top: 1px solid white; border-left: 1px solid white; }
a.os { padding: 2px 5px 2px 5px; margin: 0; height: 100%; background: #a3a9bb; text-decoration: none; color: #fff; border-top: 1px solid black; border-left: 1px solid black; border-bottom: 1px solid white; border-right: 1px solid white; }
a.ou:hover, a:os:hover { text-decoration: none; }

a.plus { margin-right: 2px; -moz-outline: 0px; }

a.button, span.button, del.button {
	display:-moz-inline-box;
	display:inline-block;
	background: url('btn1.gif') no-repeat;
	height:23px;
	text-decoration:none;
	color:#222;
	font-style:normal;
	margin:0 6px 0px 0;
	padding:0 10px 0 0;	
	vertical-align:middle;
	_position:relative;
	_width:10px;	
	_overflow-y:hidden;
}

a.button span, span.button button, span.button input, del.button span {
	font-weight:normal;	
	white-space:nowrap;

	display:-moz-inline-box;
	display:inline-block;

	font-size:11px;
	background: url('btn1.gif') 100% 0 no-repeat;
	height:19px;
	padding:4px 10px 0 0;
	margin:0 -16px 0 10px;
	vertical-align:text-top;
	
	_position:relative;
	_padding-right:12px;
	_margin-right:-10px;	
	_display:block;
	_top:0;
	_right:-5px;
	
}

del.button {
	cursor:not-allowed;	
	background-position:0 -120px;
	color:#888;
}

del.button span {
	cursor:default;
	background-position:100% -120px;
}


span.button button, span.button input {
	padding-top:0px;
	line-height:2.5;
}

a.button:hover, span.button:hover, span.button-behavior-hover {
	cursor: pointer;
	background-position:0 -23px;
	color:#222;
	text-decoration:none;
}

a.button:hover span, span.button:hover button, span.button-behavior-hover button, span.button-behavior-hover input {
	background-position:100% -23px;
}

a.button:active, a.button:focus span {
	color:#3366FF;
}

del.button-behavior-hover, del.button:hover {
	cursor: pointer;
	background-position:0 -180px;
	cursor:not-allowed;
}

del.button-behavior-hover span, del.button:hover span {
	cursor: pointer;
	background-position:100% -180px;
	cursor:not-allowed;
}

tr.l:hover {
	background: #ffffdf;
}

input.hidden {
	position: absolute;
	left: -1000px;
}

td.f {
	font-size: 12px;
}

textarea.f, select.f, input.f {
	border: 1px solid gray;
	width: 90%;
}

select.f {
	font-size: 80%;
}


label.bf {
	display: block;
	min-height: 40px;
	vertical-align: middle;
}

p.bf {
	background: #ddd;
	border: 2px outset #fff;
	margin: 10px;
	padding: 5px;
}

p.bf:hover {
	background: #eee;
}

p.bf:active {
	border: 2px inset #ccc;
	background: #bbb;
}

input.bf { position: fixed; left: -1000px; }

/* para IE */
form {
	margin: 0;
	padding: 0;
}


a.menusel {
	font-weight: bold;
}

li {
	white-space: nowrap;
}

p.c {
	margin: 10px;
}

a.opt { color: #000; background: #e0e0e0; padding: 2px 5px 2px 5px; margin: 0; height: 100%; text-decoration: none; border-bottom: 1px solid gray; border-right: 1px solid gray; border-top: 1px solid white; border-left: 1px solid white; display: block; margin: 10px; min-height: 50px; }
a.opt:hover { text-decoration: none; background: #fff; color: #000; }
a.opt:active { background: #a3a9bb; text-decoration: none; color: #fff; border-top: 1px solid black; border-left: 1px solid black; border-bottom: 1px solid white; border-right: 1px solid white; }

td.log {
	font-size: 80%;
	border-bottom: 1px solid white;
	padding: 4px;
}

tr.log:hover {
	background: #dfdfdf;
}


td.r {
	font-size: 80%;
	border-bottom: 1px solid white;
	border-right: 1px solid white;
	padding: 4px;
}

tr.r {
	border-left: 1px solid white;
}

td.rt {
	font-size: 80%;
	padding: 4px;
	background: #c0cfd7;
	border-right: 1px solid white;
	border-top: 1px solid white;
}

tr.r:hover {
	background: #dfdfdf;
}


/* menu */

ul.menu {
	color: #ddd;
	font-size: 80%;
	font-weight: bold;
	background: #63697b;
	margin: 0;
	padding: 0;
	margin-right: 10px;
	z-index: 1000;
}
ul.menu li {
	list-style-type: none;
  position: relative;
	margin: 0;
	padding: 0;
}
ul.menu ul.menu {
	display: none;
	margin: 0;
	padding: 0;
	border: 1px solid white;
}
ul.menu li:hover > ul.menu {
	display: block;
	position: absolute;
	top: -1px;
	right: 100%;
}
ul.menu li a {
	display: block;
	text-decoration: none;
	background: #63697b;
	color: #eee;
	text-align: left;
	padding: 5px;
	min-width: 6em;
}
ul.menu#topmenu li a:hover {
  background: #b3b9ab;
	color: #000;
}
li.sub > a {
	font-weight: bold;
  background: #73798b;
}

ul.menu#topmenu {
	max-width: 6em;
}
ul.menu#topmenu > li:hover > ul.menu {
	top: 2em;
	right: -3px;
}

/* calendario */

table.cal {
	border-top: 1px solid black;
	border-left: 1px solid black;
}

table.cal th {
	background-color: #c0cfd7; 
	font-weight: bold;
	border-bottom: 1px solid black;
	border-right:1px solid black;
	font-size: 80%;
	color: #000;
	padding: 4px; 0 4px 0;
}

table.cal td {
	border-bottom: 1px solid black;
	border-right:1px solid black;
	width: 14%;
	padding: 5px;
	/* background-color: #e7eaef; */
	background-color: #eee;
	font-size: 90%;
}

table.cal td div.s {
	min-height: 50px;
}

table.cal td div.b {
	min-height: 80px;
}


table.cal td.d:hover {
	background-color: #ffc77e;
}

table.cal td.d div.new {
	display: none;
}
table.cal td.d:hover div.new {
	display: block;
	margin: 0; padding: 0;
}

a.v {
	color: black;
	text-decoration: none;
	padding: 1px 2px 1px 2px;
	font-size: 90%;
}

a.v:hover {
	background: white;
	border: 1px outset gray;
	text-decoration: none;
}


table.cal td.d span.hh {
	color: black;
	padding: 4px;
}
table.cal td.d span.hh:hover {
	background: #ace;
}

table.cal td.d div.h {
	position: relative;
}

table.cal td.d span.ht {
	display:none;
}
table.cal td.d div.h:hover span.ht {
	z-index: 1000;
	display: block;
	position: absolute;
		top: -4px;
		left: 34px;
	padding: 10px;
	border: 1px solid gray;
	background: #fed;
	color: black;
	-moz-opacity: .9;
}




table.cal td.d:hover div.new a {
	color: black;
	text-decoration: none;
}
table.cal td.d:hover div.new a:hover {
	text-decoration: underline;
}

/* tabs */

#tabs {
	text-align: center;
	float: right;
}
#tabs ul {
	text-decoration: none;
	margin: 0;
	padding: 0;
	list-style:none;	
}
#tabs li {
	display: inline;
	background: url('tabrightH.gif') repeat-x;
	text-align: center;
	padding: 0;
	margin-right: 4px;	
	float: left;
}
#tabs li:hover {
	background-position: 100% -42px;
}
#tabs a {
	color: #663300;
	color: white;
	background: url('tableftH.gif') no-repeat left top;
	float: left;
	margin:	0;
	padding-left:7px;
	text-decoration: none;
}

#tabs a:hover {
	background-position: 0 -42px;
}

/*
#tabs a span {
	background: url('tabrightH.gif') no-repeat right top;
	display: block;
	padding:7px 13px 4px 5px;
}
#tabs a span {
	float: none;
}
*/
#tabs span:hover {
	background-position: 0 -42px;
}



/* tabs */

a.tab, span.tab, del.tab {
	display:-moz-inline-box;
	display:inline-block;
	background: url('tab1.gif') no-repeat;
	height:20px;
	text-decoration:none;
	color:#fff;
	font-style:normal;
	margin:0 6px 0px 0;
	padding:0 8px 0 0;	
	vertical-align:middle;
	_position:relative;
	_width:10px;	
	_overflow-y:hidden;
	text-shadow: 1px 1px black;
}

a.tab span, span.tab tab, span.tab input, del.tab span {
	font-weight: normal;
	white-space: nowrap;

	display:-moz-inline-box;
	display:inline-block;

	font-size:11px;
	background: url('tab1.gif') 100% 0 no-repeat;
	height:16px;
	padding:4px 10px 0 0;
	margin:0 -16px 0 10px;
	vertical-align:text-top;
	
	_position:relative;
	_padding-right:12px;
	_margin-right:-10px;	
	_display:block;
	_top:0;
	_right:-5px;
	
}

del.tab {
	cursor:not-allowed;	
	background-position:0 -120px;
	color:#888;
}

del.tab span {
	cursor:default;
	background-position:100% -120px;
}


span.tab tab, span.tab input {
	padding-top:0px;
	line-height:2.5;
}

a.tab:hover, span.tab:hover, span.tab-behavior-hover {
	cursor: pointer;
	background-position:0 -20px;
	text-decoration:none;
	color:#000;
}

a.tab:hover span, span.tab:hover tab, span.tab-behavior-hover tab, span.tab-behavior-hover input {
	background-position:100% -20px;
	text-shadow: 1px 1px white;
}
/*
a.tab:active, a.tab:focus span {
	color:#3366FF;
}
*/




table.l {
	border-top: 1px solid black;
	border-left: 1px solid black;
}

table.l th {
	background-color: #c0cfd7; 
	font-weight: bold;
	border-bottom: 1px solid black;
	border-right:1px solid black;
	font-size: 80%;
	color: #000;
	padding: 4px; 0 4px 0;
}
table.l tr {
	background-color: #c0cfd7; 
	font-weight: normal;
	border-bottom: 1px solid black;
	border-right:1px solid black;
	font-size: 80%;
	color: #000;
	padding: 4px; 0 4px 0;
}
table.l tr:hover td {
	background-color: #fff; 
}

table.l td {
	border-bottom: 1px solid black;
	border-right:1px solid black;
	padding: 5px;
	background-color: #eee;
	font-size: 90%;
}

table.n td {
	padding: 5px;
	font-size: 90%;
	vertical-align: top;
}
table.n th {
	padding: 5px;
	font-size: 90%;
	vertical-align: top;
	font-weight: bold;
	text-align: left;
}
