body {
    margin: 0;
    padding: 0;
    /*font-family: "trebuchet MS", "Sans Serif";*/
    font-family: Open Sans, Helvetica, sans-serif;
    font-size: 14px;
    color: #1d283f;
    background: #fff;
    font-weight: 600;
}

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

a.next_page,
a.prev_page,
a.last_page,
a:hover {
    text-decoration: none;
}

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

#wrapper {
    margin: 0;
    width: 100%;
    height: 100%;
}
td {
    padding: 6px;
    vertical-align: middle;
}
input {
    min-height: 25px;
    font: inherit;
}
select {
    min-height: 30px;
    font: inherit;
}
.t {
    background: url('/img/border_t.gif') 0 0 repeat-x; 
    width: 90%;
    margin: auto auto 20px auto;
}

.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 0px;
	width: 180px;
	height: 38px
}

#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: 14px;
    text-decoration: none;
    padding: 6px 12px;
    height: 14px;
    cursor: hand;
    float: left;
    border-right: 1px solid #000;
}

#menu li {
    float: left;
}

#menu li.disable {
    color: #ccc;
    font-weight: bold;
    font-size: 14px;
    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: 200px;
    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: 200px;
}

#menu ul li a {
    color: #1d283f;
    font-weight: normal;
    font-size: 14px;
    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%;
}

#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 10px 0 5px;
    background: url('/img/menu_bg.gif') repeat-x top left;
    background-size: contain;
    color: #fff;
    font-size: 14px;
    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;
}

.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: 50%;
    margin: auto auto 20px auto;
    padding: 0 1%;
    text-align: right;
	font-size: 14px;
}
.paging a:not(.next_page):not(.prev_page):not(.last_page):not(.first_page) {
	background: #96b9df;
	color: white;
	padding: 8px 12px;
	text-decoration: none;
	font-size: 14px;
}
.paging a:not(.next_page):not(.prev_page):not(.last_page):not(.first_page):hover {
	background: #496bab;
}
.paging b {
	padding: 7px 10px;
	border: 1px solid #96b9df;
	font-size: 14px;
}
.pageing_info {
    float: left;
}

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

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

#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: 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: #afd4f1 !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:700px;
    /*height:100%;*/
    float:left;
}
#formattingMenuHolder{
    height:30px;
}

#textHolder{
    height:670px;	
}

#menuHolder, #xmlHolder, #tagHolder, #sourceTextAreaIframeHolder{
    height:700px;	
    /*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;
    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, body{
    height:100%;
    width:100%;
}

iframe, iframe body{
    border:none;
}

.disabledinput{
    background:#ccc;
}

.errstr, .error{
    color:red;
}

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

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

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

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

.rule_properties iframe{
    height:500px!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{
    height:80px;
    width:500px;
    border:none;
}

.matchedText{
    width:200px;
}

.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;
}

.hiddenElement{
    display:none;
}
.custom-combobox {
    display: inline-block;
}
.custom-combobox-toggle {
    margin-left: -1px;
    margin-top: -3px;
    padding: 0;
    height: 36px;
}
.detail_edit_form .custom-combobox-toggle {
    margin-top: -5px;
}
.actions_edit_form .custom-combobox-toggle {
    margin-top: -5px;
}
.custom-combobox-input {
    width: 408px;
    margin: 0;
    padding: 5px 10px;
}
.ui-autocomplete {
    max-height: 450px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.th-gridtools {
    background: url("/img/y.gif") no-repeat 10px 7px;
    color: #1d283f;
    font-weight: bold;
    padding-left: 30px;
    padding-right: 5px;
    font-size: 14px;
    height: 26px;
    line-height: 26px;
}
.th-gridtools a {
    color: #1d283f;
    float: right;
}
.headerSortUp {
    background: url("/img/downArrow.png") no-repeat scroll right center content-box, rgba(0, 0, 0, 0) url("/img/menu_bg.gif") repeat-x scroll left top !important;
}
.headerSortDown {
    background: url("/img/upArrow.png") no-repeat scroll right center content-box, rgba(0, 0, 0, 0) url("/img/menu_bg.gif") repeat-x scroll left top !important;
}
th.header {
    cursor: pointer !important;
}
.hidden {
    display: none !important;
}
.subitem {
    padding-left: 35px !important;
}
.has_submenu {
    background: url('/img/add.gif') no-repeat left padding-box;
    cursor: pointer;
    padding-left: 19px;
}
.open {
    background: url('/img/remove.gif') no-repeat left padding-box;
}
.container_edit_form, .detail_edit_form, .actions_edit_form, .sync_form {
    position: fixed;
    padding: 0;
    margin: 0;
    top:25%;
    left:22%;
    background-color: white;
    width: 55%;
}
.sync_form {
    background-color: transparent;
}
.container_edit_form > div {
    margin: 0;
    padding: 0;
}
.detail_edit_form > div {
    margin: 0;
    padding: 0;
}
.actions_edit_form > div {
    margin: 0;
    padding: 0;
}
.container_edit_form .t {
    width: 100%;
}
.detail_edit_form .t {
    width: 100%;
}
.actions_edit_form .t {
    width: 100%;
}
.row_selected {
    background-color: rgba(0,0,128,0.1);
}
th.subitem {
    font-size: 14px;
    opacity: 0.7;
    height: 17px;
}
.loading {
    background: url("/img/loading_small.gif") white center center no-repeat;
    opacity: 0.6;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.subitem > a {
    float: right;
    color: black !important;
}
.tdfix {
    vertical-align: middle;
    width: 60px;
}
.resizeYtxtArea {
    resize: vertical;
    min-height: 75px;
}
#sync_form_handle {
    cursor: move;
}
.sync_form tbody{
    background: #fff;
}
form[name="def1"] .loading {
    height: 110%;
}
.hid {
    display: none;
}