body {
	margin: 0;
	padding: 0;
	/*font-family: "trebuchet MS", "Sans Serif";*/
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 10px;
	color: #1d283f;
	background: #fff;
}

a {
	color: #3c578e;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

.frmbutton {
	border:1px solid #1d283f;
	padding: 1px 12px;
	color: #1d283f;
	font-weight: bold;
	font-size: 10px;
	background: #ccc;
	cursor: pointer;
	cursor: hand;
}

#wrapper {
	margin: 0;
	width: 100%;
	height: 100%;
}

.t {
	background: url('/img/border_t.gif') 0 0 repeat-x; 
	width: 100%;
	/*height: 100%;*/
	margin-bottom: 20px;
}

.b {
	background: url('/img/border_b.gif') 0 100% repeat-x;
	height: 100%;
}

.l {
	background: url('/img/border_l.gif') 0 0 repeat-y;
	height: 100%;
}

.r {
	background: url('/img/border_r.gif') 100% 0 repeat-y;
	height: 100%;
}

.bl {
	background: url('/img/border_bl.gif') 0 100% no-repeat;
	height: 100%;
}

.br {
	background: url('/img/border_br.gif') 100% 100% no-repeat;
	height: 100%;
}

.tl {
	background: url('/img/border_tl.gif') 0 0 no-repeat;
	height: 100%;
}

.tr {
	background: url('/img/border_tr.gif') 100% 0 no-repeat; 
	height: 100%;
	padding: 7px;
}

.unfloat {
	float: none !important;
	clear: both !important;
}

#header {
	padding: 10px;
	height: 45px;
	background: url('/img/header_bg.jpg') no-repeat top left;
}

#logo {
	float: right;
	background: url('/img/logo.gif') no-repeat 0px -25px;
	width: 126px;
	height: 44px;
}

#menu {
	list-style: none;
	padding: 0;
	margin: 0;
	background: url('/img/menu_bg.gif') repeat-x top left;
	float: left;
	width: 100%;
	position: relative;
}

#menu a {
	color: #fff;
	font-weight: bold;
	font-size: 12px;
	text-decoration: none;
	padding: 6px 12px;
	height: 14px;
	cursor: pointer;
	cursor: hand;
	float: left;
	border-right: 1px solid #000;
}

#menu li {
	float: left;
}

#menu li.disable {
	color: #ccc;
	font-weight: bold;
	font-size: 12px;
	text-decoration: none;
	padding: 6px 12px;
	height: 14px;
	float: left;
	border-right: 1px solid #000;
}

#menu ul {
	/*display: none;*/
	position: absolute;
	z-index: 100;
	width: 150px;
	border: 2px outset #4f94cd;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #f6f6f6 url('/img/submenu_bg.gif') repeat-y top left;
}

#menu ul li {
	list-style: none;
	padding: 0 4px 0 0;
	float: none;
	width: 150px;
}

#menu ul li a {
	color: #1d283f;
	font-weight: normal;
	font-size: 10px;
	float: none;
	border: none;
	display: block;
	padding: 5px 1px 5px 30px;
	height: auto;
}

#menu ul li a:hover {
	padding: 4px 0 4px 29px;
	background: #fef1b5;
	border: 1px solid #1d283f;
}

#menu ul li a.hassm {
	background: url('/img/marr.gif') no-repeat 98% 50%;
}

#menu ul li a:hover.hassm {
	background: #fef1b5 url('/img/marr.gif') no-repeat 99% 50%;
}

#footer {
	text-align: right;
	font-size: 9px;
	padding: 7px 1%;
	height: 12px;
	background: url('/img/menu_bg.gif') repeat-x top left;
	position: fixed;
	bottom: 0;
	width: 98%;
}

* html #footer { /*IE6 only rule, applied on top of the default above*/
	position: absolute;
	top: expression(document.compatMode == "CSS1Compat" ? (documentElement.scrollTop + (documentElement.clientHeight-this.clientHeight))  + "px" : 
		(document.body.scrollTop + (document.body.clientHeight-this.clientHeight)) + "px");
}

#main {
	margin: 20px 0;
}

.loginform {
	width: 450px;
	margin: 0 auto;
}

.gridtable, .formtable {
	width: 100%;
	border-top: none;
	border-left: 1px solid #929292;
	border-right: 1px solid #929292;
	border-bottom: 1px solid #929292;
}

.gridtable {
	border-top: 1px solid #929292;
}

.gridtable th, .formtable th, .mainTitle {
	height: 26px;
	padding: 0 5px;
	background: url('/img/menu_bg.gif') repeat-x top left;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	text-align: left;
}

.gridtable th a, .formtable th a {
	color: #fff;
}

.gridtable th.gridtools {
	background: #fff url('/img/y.gif') no-repeat 10px 7px;
	font-weight: bold;
	color: #1d283f;
	vertical-align: middle;
	padding-left: 30px;
	min-width: 150px;
}

.gridtable th.gridtools a, .gridtools_sep {
	float: right;
	color: #1d283f;
	margin-left: 5px;
}

.formtable th.formtools {
	background: #fff;
	font-weight: bold;
	color: #1d283f;
	vertical-align: middle;
	padding-left: 30px;
	border-top: 1px solid #929292;
}

.formtable th.formtools a, .formtools_sep {
	float: right;
	color: #1d283f;
	margin-left: 5px;
}

.coolinp {
	border: 1px solid #1d283f;
	width: 100%;
	color: #1d283f;
}

.err {
	color: #ff0000;
}

.paging {
	width: 98%;
	padding: 0 1%;
	text-align: right;
	margin-bottom:20px;
}

.pageing_info {
	float: left;
}

.changelog {
	background: #9fb6cd;
	margin: 0;
	border: 2px groove #1d283f;
}

.changelog legend {
	font-weight: bold;
	font-size: 12px;
}

#framesholder iframe {
	height: 150px;
	width: 100%;
	margin-bottom: 20px;
	border: none;
}

.noMarginMain {
	margin: 0 !important;
}

/* za calendar-a */
#calidfrm {
	position: absolute;
	display: none;
	width: 150px;
	height: 200px;
}

#calid {
	position: absolute;
	display: none;
	background-color: #f8f8f8;
	border: 1px solid Black;
	width: 150px;
	height: 100px;
	padding: 3px;
}
.cal td {
	font-size : 11px;
	font-family : Arial, Helvetica, sans-serif;
	background-color: #f0f0f0;
	cursor: pointer;
	cursor: hand;
}
.cal th {
	font-size : 11px;
	font-family : Arial, Helvetica, sans-serif;
	font-weight: bold;
	background-color: #e0e0e0;
}
.cal a {
	font-family : Arial, Helvetica, sans-serif ;
	text-decoration: none;
	color: Black;
	font-size: 11px;
}
.cal a:hover {
	font-family : Arial, Helvetica, sans-serif ;
	text-decoration: none;
	color: #990000;
	font-size: 11px;
}

.white_row {
	background: #ffffff !important;
}

.color_row {
	background: #96b9df !important;
}

.menudelim{
	margin-top:4px;
	*margin-top:0px;
	margin-bottom:5px;
	height:1px; 
	font-size:1px!important;
	border-bottom:1px solid black; 
	padding:0px!important;
	width: 114px!important;
	margin-left:30px;
}

.hiddenElm {
	display: none;
}

.visibleElm {
	display: block;
}


.contentTextArea{
	height:400px;
}

.menuHolder, .textHolder, .xmlHolder, .tagHolder{
	height:1000px;
	/*height:100%;*/
	float:left;
}
#formattingMenuHolder{
	height:30px;
}

#textHolder{
	height:970px;
}

#menuHolder, #xmlHolder, #tagHolder, #sourceTextAreaIframeHolder{
	height:1000px;
	/*height:100%;*/
}

#formattingMenuHolder{
	text-align:center;
}

#formattingMenuHolder a{
	padding:0px 10px;	
	font-size:15px;
	text-decoration:none;
	cursor:pointer;
	color:#000;
}

#formattingMenuHolder a.menuButtonB{
	font-weight:bold;
}

#formattingMenuHolder a.menuButtonI{
	font-style:italic;
}

#formattingMenuHolder a.menuButtonU{
	text-decoration:underline;
}


.menuHolder, .tagHolder{
	/*width:100px;*/
	width:10%;
}

.textHolder{
	/*margin-left:20px;
	margin-right:10px;
	*/
}

.textHolder, .xmlHolder{
	width:40%;
}

.sourceModeTextHolder{
	width:90%!important;
}

.sourceModeTextHolder textarea{
	width:100%;
	padding:0px;
	margin:0px;
	border:1px solid #000;
	height:698px;
}

.textHolder .t, .textHolder .b, .textHolder .l, .textHolder .r, .textHolder .bl, .textHolder .br, .textHolder .tl, .textHolder .tr{
	/*height:100%;*/
}

#textHolder, #xmlHolder, #sourceTextAreaIframeHolder{
	/*width:500px;*/
	
	position:relative;
}

.menuHolder a, .rightClickMenu a{
	display:block;
	padding:10px 5px;
	cursor:pointer;
}

.rightClickMenu, .hiddenPopup{
	display:none;
	position:absolute;
}

.rightClickMenu{
	z-index:1000;
}

.autotagRightClickMenu{
	z-index:10003!important;
}

#rightClickMenu, #sourceRightClickMenu, #autotagRightClickMenu, #rightClickSubMenu, #sourceModeRightClickMenu{
	width:180px;
	padding:10px;
	z-index:1000;
	background:white;
}

#autotagRightClickMenu{
	height:auto;
}

#rightClickMenu, #sourceRightClickMenu{
	height:380px;
}

.hiddenPopup{	
	z-index: 10002;	
	/*border: 5px solid #D1D3D4;
	padding:10px;*/
	background: transparent;
	
	text-align: center;
	height: auto !important;
}

#hiddenPopup{
	background:#fff;
	padding:10px;
}

#layerbg {
	position: absolute;
	display:none;
	z-index: 10001;
	width: 10px;
	height: 10px;
	background: #ccc !important;
	opacity: 0.5;
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5;
	filter: alpha(opacity=50);
	top: 0;
	left: 0;
}

.waitingBackground{
	background:#ccc url('/img/loading.gif') no-repeat center center !important;
}

.hiddenPopup .label{
	font-size:12px;
	font-weight:bold;	
	padding:5px 0px 20px;
}

.hiddenPopup .buttonHolder{
	padding:30px 0px 10px;
}

.buttonHolder .leftInput{
	margin:0px 10px 0px 0px;
}

#hiddenPopup table{
	width:100%;
}

#hiddenPopup table td{
	padding:0px 3px;
	text-align:left;
}

#hiddenPopup table td select{
	width:155px;
}

#hiddenPopup table td input{
	width:150px;
}

.xmlWrapper{
	width:100%;
	height:100%;
}

html, mhtml, body{
	height:100%;
	width:100%;
}

iframe, iframe body{
	border:none;
}

.disabledinput{
	background:#ccc;
}

.errstr, .error{
	color:red;
}

.textAlignRight{
	/*text-align:right!important;*/
}

.replacementTd{
	padding:0px 5px!important;
	text-align:center!important;
}

.replacementTd input{
	width:280px!important;
}

.errReplacement{
	border:1px solid red!important;
}

.rule_properties iframe{
	height:760px!important;
}

.tagNameCheckbox, .tagNameColorBox, .tagNameLabel{
	float:left;
}

.tagNameColorBox{
	width:10px;
	height:10px;
	margin:5px 10px;
}

#tagHolder{
	overflow:auto;
}

.taxonLinks a{
	display:block;
	padding:5px 0px;
}

.externalDetailsInnerWrapper{
	width:700px;
	margin:10px auto;
}

.replacementTextArea{
	min-height:70px;
	width:100%;
	border:none;
}

.matchedText{
	width:500px;
}

.matchesTable td{
	border:1px solid black;
}

.referenceCitationText{
	text-align:left;
	vertical-align:middle;
	width:400px;
}

.referenceCitationId, .referenceCitationCount{
	text-align:center!important;
	vertical-align:middle;
	width:50px;
}

.match_part_0{
	font-weight:bold;
}

#finalize_form{
	position:absolute;
	top: 50%;
	left: 50%;
	margin-top: -100px;
	margin-left: -250px;
	z-index:10;
	background:white;
	width:600px;
}

#bg_shadow{
	position:absolute;
	width:100%;
	height:100%;
	display:none;
	z-index:5;
	top:0px;
	left:0px;
	opacity:0.4;
	filter:alpha(opacity=40);
	background:#ccc;
}

#loading_shadow{
	position:absolute;
	width:100%;
	height:100%;
	display:none;
	z-index:5;
	top:0px;
	left:0px;
	opacity:0.8;
	filter:alpha(opacity=80);
	background:url("/img/loading_large.gif") white center center no-repeat;	
}
	
	
.export_not_generated{
	color:red;
}

.export_uploaded_with_errors{
	color:blue;
}

.export_uploaded_without_errors{
	color:green;
}

.export_generated_without_results{
	color:grey;
}

.export_generated_with_results{
	color:orange;
}

.exportLinks{
	margin-top:10px;
	color:#000;
}

.exportLinks .disabledCtrlLink{
	color:#ccc!important;
	font-weight:normal!important;
}

.exportLinks a{
	display:block;
	margin-top:3px;
	color:#000!important;
}

.exportLinksTable th{
	vertical-align:top;
	padding-top:5px;
}

.matchesTable tr td:last-child {
	width: 120px;
}

.matchesTable tr td.textAlignRight{
	width: 60px;
	text-align: center !important;
}
#hiddenPopup table td input{
	width: auto;
}

td.rule {
	width: 100px;
}
td.num {
	width: 20px;
}

#hiddenPopupHolder{
	width: 96%;
}

.rules-label-td{
	text-align: center!important;
}

.rules-label-td select {
	margin-left: 10px;
	width:255px!important;
}
