

/* quota info box */
.hidden { display: none }
.visible { display: block } 
#quotaInfo {
    display: block;
    margin: 0px;
    margin-top: 8px;
    overflow: hidden;
    padding: 8px;
}
#quotaInfo.minimized {
    float: right;
    clear: right;
    width: 200px;
    -moz-box-shadow: 8px 8px 8px gray;  
    border: solid 1px gray;
}
#quotaInfo.maximized {
    width: auto;
    clear: both;
    -moz-box-shadow: none;
    background-color: #FFDDDD;  
    border: solid 1px #CB3E3E;
}

#quotaInfo .infoBox {
    background-image: url('img/box_arrow.gif');
    background-repeat: no-repeat;
    background-position: right top;
    background-color: white;
    border-left: 1px solid #CB3E3E;
    padding: 6px 28px 6px 16px;
    text-align: center;
}

#quotaInfo .infoBoxLast { 
    text-align: center;
    background-color: white;
    border: 1px solid #CB3E3E;
    padding: 10px 16px 10px 16px;
    margin-right: 12px;
}

#quotaInfo .active { background-color: #FFFFAA }

#quotaInfo .infoBoxBottom {
    float: right;
    background-image: url('img/box_arrow.gif');
    background-repeat: no-repeat;
    background-position: right top;
    width: 100%;
    height: 1px;
}

#quotaInfo .infoBoxSmall {
    float: left;
    margin: 0px;
    margin-right: 6px;
    padding: 0px;
    text-align: center;
    width: auto;
}

#quotaInfo table { float: left; }

#quotaInfo .textBox {
    float: left;
    display: block;
    margin: 4px;
    min-width: 400px;   
}

#quotaInfo h2 {
    display: block;
    margin: 0px;
    font-size: 18px;
}
#quotaInfo .button {
    float: right;
    border: solid 1px grey;
    padding: 2px 4px 2px 4px;
    -moz-border-radius: 3px;
}
#infoCollapsed { float: left; margin-right: 8px; }

/* layer-based dialog window */
em.balloon {
    cursor: help;
    font-style: normal;
}

em.balloon span {
    position: absolute;
    display: none; 
    padding: 8px; 
    background-color: #FFFFCC; 
    border: 1px solid #CC9933;
    color: #666666;
    -moz-border-radius: 6px;
}

em.balloon:hover span {
    display: block;
}

#dialogWindow tr.warning {
  background-color: #FFE0E0;
}

/*
#dialogCode {
  overflow: auto;
}
*/

/* layer-based dialog window */
#dialogWindow {
    position: absolute;
    margin: 0px;    
    visibility: hidden;
    background-color: white;
    border: solid 1px #666666;
    -moz-box-shadow: 8px 8px 8px gray;

}

#dialogWindow .content {
    float: left;
    display: block;
    margin-left: 16px;
    margin-right: 16px;
}

#dialogWindow .close { 
/*    position: absolute;*/
    float: right;
    display: inline;
    margin-top: 4px;
    margin-left: -32px;
}

#dialogWindow h3 {
   margin-bottom: 4px;
   margin-top: 6px;
   margin-right: 32px;
}

#dialogWindow label>strong {
    color: #666666;
    position: absolute;
    left: 120px;
    height: 40px;
}

.clear { clear: both }

/* tool tip */
em.tooltip {
    color: #000099;
    font-style: normal;
    display: block;
    margin-left: 8px;
    margin-top: 8px;
    float:left;
    clear: right;
    cursor: help;
}

em.tooltip span {
    display: none; 
    padding: 8px; 
    width: 300px;
    margin-left: 0px;
    -moz-box-shadow: 8px 8px 8px #CC9933;
    position: absolute;
    z-index: 10;
    background-color: #FFFFCC; 
    border: 1px solid #CC9933;
    color: #666666;
}

em.tooltip:hover span {
    display: inline;
}

/* post message window */
#messageBox {
    position: absolute;
    top: 200px;
    left: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
    visibility: hidden;
}
#messageBox .container {
    width: 600px;
    margin: auto;
    padding: 8px;
    background-color: white;
    border: solid 1px #000066;
    -moz-box-shadow: 8px 8px 8px gray;  
}
#messageBox textarea {
    width: 580px;
    height: 80px;
    border: solid 1px #6666CC;
    font-family: Arial, Verdana, sans-serif;
}
#messageBox label {
    display: block;
    width: 100%;
    padding: 6px;
    text-align: left;
}



/* action buttons */
#bigButton, #actionBtn {  
    float: left;
    display: block;
    border: solid 1px #999999;
    background-color: #F0F0F0;
    padding: 6px 12px 6px 12px;
    margin: 2px;
    -moz-border-radius: 3px;
}

#bigButton:hover, #actionBtn:hover { 
    background-color: #FFCCCC; 
}


#actionBtn.disabled, #bigButton.disabled {
    background-color: #ddd;
    color: #bbb;
}

#bigButton.highlighted, #actionBtn.highlighted {
    background-color: #CCFFCC;
}

#actionBtn {
    padding: 0px 8px 0px 8px;
}

#actionBtn.match, #actionBtn.no-match { 
    background-image: url('img/match.gif');
    background-repeat: no-repeat;
    background-position: right center; 
    padding-right: 12px;
}
#actionBtn.no-match { 
    background-image:url('img/no-match.gif');
}


/* tabs */
#navigationMenu {
    background-image:url('img/unfccc_logo.gif');
    background-repeat: no-repeat;
    background-position: left center;
    position: relative;
    clear: both;
    background-color: #F9F9F9;
    border-bottom: solid 1px #999999;
    height: 40px;
    padding-right: 16px;
    padding-left: 16px;
}

#selectionTabs .activeTab, #selectionTabs .inactiveTab {
    float: left;
    position: relative;
    top: 8px;
    width: 139px;
    height: 21px;
    background-color: white;
    margin-right: 1px;
    padding-top: 10px;
    padding-bottom: 3px;
    margin-bottom: 20px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #999999;
    border-bottom: 1px solid white;
}
#selectionTabs .inactiveTab {
    background-color: #EBEBEB;
    color: #666666;
    border-bottom: solid 1px #999999;
}
#selectionTabs .inactiveTab:hover {
    background-color: #CB3A3A;
    color: white;
}

#navigationMenu .activeTab, #navigationMenu .inactiveTab {
    float: right;
    position: relative;
    top: 8px;
    width: 139px;
    height: 21px;
    background-color: white;
    margin-right: 1px;
    padding-top: 10px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #999999;
    border-bottom: 1px solid white;
}
#navigationMenu .inactiveTab {
    background-color: #EBEBEB;
    color: #666666;
    border-bottom: solid 1px #999999;
}
#navigationMenu .inactiveTab:hover {
    background-color: #CB3A3A;
    color: white;
}
/* navigation menu drop-down */
#navigationMenu ul { 
    display: block;
    position: absolute;
    left: -2px;
    width: 141px;
    list-style: none;
    padding: 0px;
    margin: 0px;
    padding-left: 1px;
    padding-right: 1px;
    z-index: 100;
}
#navigationMenu ul .top { margin-bottom: 6px; }
#navigationMenu ul:hover .item { display: block; }
#navigationMenu ul .item { 
    display: none; 
    border: solid 1px #996666;
    border-top: hidden;
    padding: 4px 0px 4px 0px;
}
#navigationMenu .inactiveTab ul .item {  background-color: #FFCCCC; }
#navigationMenu .activeTab ul .item {  background-color: white; }

/* drop-down menu */
#menu { 
    position:absolute; 
    left: 0;
    cursor: pointer;        
}
#menu ul { 
    float: left;
    display: block;
    width: 160px;
    list-style: none;
    margin: 0px;
    padding: 0px;
    text-align: left;
    border: solid 1px #666666;
    background-image: url('img/menu_arrow.gif');
    background-repeat: no-repeat;
    background-position: right top; 
    background-color: white;
}
#menu ul .top {
    overflow: hidden;
    padding-right: 15px;
    padding-left: 6px;
    padding-top: 2px;
    height: 15px;
}
#menu ul:hover .top {
    background-image:url('img/menu_arrow.gif');
    background-repeat:no-repeat;
    background-position:right top; 
    background-color: white;
    color: #333333;
}
#menu ul .item{ 
    display: none; 
    padding-left: 6px;
    padding-top: 3px;
    padding-bottom: 3px;
}
#menu ul:hover .item { 
    display: block;
}
#menu li:hover {
    background-color: #000066;
    color: white;
}
/* lop order */
#orderBox {
    width: 50px;
    height: 18px;
    margin: 0px; 
    padding: 1px;
    border: solid 1px #999999;
    background-color: white;
    overflow: visible;
    text-align: left;
}
#orderBox input[type="text"] {
    float: left;
    text-align: center;
    margin: 0px;
    padding: 0px;
    width: 50px;
    border-style: hidden;
    border-width: 0px;
}

#orderBox input[type="button"] {
    float: left;
    left: 0px;
    display: none;
    width: 16px;
    height: 18px;
    margin: 0px;
    padding: 0px;
    font-size: 10px;
    background-image:url('img/btn_set.gif');
    background-repeat: no-repeat;
    background-position: center center;
}


#dataTableContainer {
    width:760px; 
    overflow:auto; 
    clear:both;
}

/* scrolling table */
#dataTable, .dataTable {
    clear: both;
    border-right: solid 1px #CCCCCC;
    border-bottom: solid 1px #999999;
    border-spacing: 0px;
    margin-bottom: 8px;
}

#dataTable tr.source, .dataTable tr.source {
  background-color: #FFFFDD;
  font-weight: bold;
}
#dataTable tr.source td, .dataTable tr.source td {
  border-bottom: 2px solid #CB3E3E;
}

#dataTable td, #dataTable th, .dataTable td, .dataTable th {
    border: solid 1px #999999;
    padding: 4px 8px 4px 8px;
    border-right-style: hidden;
    border-bottom-style: hidden;
    border-left-color: #CCCCCC;
}
#dataTable th, .dataTable th { 
    background-color: #FFFFDD; 
}
#dataTable tr.even td, .dataTable tr.even td { 
    background-color: white; 
}
#dataTable tr.odd td, .dataTable tr.odd td { 
    background-color: #F0F0F0; 
}

#dataTable tr.locked td, .dataTable tr.locked td { 
    background-color: #FFC0C0; 
}


#dataTable li, .dataTable li { 
    margin-left: 12px; 
}

/* pop-under system messages */
#systemMessage {
    margin: 4px;
    padding: 4px;
    clear: both;
    background-color: #ffffff;
    border: solid 1px #CBCBCB;
    font-size: 14px;
    width: 400xp;
}

#systemMessage {
    z-index: 1000;
    position: absolute;
    padding-top:8pt;
}

#systemMessage .text, .inlineInfoMsg .text {
    position: relative;
    float: left;
}
#systemMessage .timestamp, .inlineInfoMsg .timestamp {
    float: right;
    clear: right;
    text-align: right;
    min-width: 200px;
}

#systemMessage .info, #systemMessage .warning, #systemMessage .error, .inlineInfoMsg {
    overflow: hidden;
    padding: 4px;
    padding-left: 32px;
    margin: 8px;
    background-repeat: no-repeat;
    background-position: 4px 4px; 
}

#systemMessage .info, .inlineInfoMsg { 
    background-color: #DDFFDD;
    border: solid 1px #BDDFBD;
    background-image:url('img/msg_info.gif'); 
}

#systemMessage .warning { 
    background-color: #FFFFDD;
    border: solid 1px #DFDFBD;
    background-image:url('img/msg_warning.gif'); 
}
#systemMessage .error { 
    background-color: #FFDDDD;
    border: solid 1px #DFBDBD;
    background-image:url('img/msg_error.gif'); 
}


/* generic stuff */
form { overflow: hidden; padding: 0px; margin: 0px; }

p.required { 
    color: #CB3E3E; 
    font-weight: bold;
    margin: 0px; }

body {
    margin: 0px;
    min-width: 900px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #666666;

   

  

}

a, a:hover, a:visited { 
    text-decoration: none; 
    color: #CB3E3E;
}
h2 { 
    font-size: 18px;
    clear: left; 
    margin: 16px 0px 6px 0px;
}
h3 { 
    font-size: 16px;
    clear: left; 
    margin: 16px 0px 0px 0px;
}
#spacer {
    display: block;
    margin: 0px;
    padding: 0px;
    clear: both;
    width: 100%;
    height: 16px;
}

/* pages */
#pages {
    width: 100%;
    text-align: center;
    float: left;
    clear: left;
    margin-bottom: 8px;
}
#pages a {
    display: block;
    float: left;
    width: 20px;
    text-align: center;
    padding: 2px 0px 2px 0px;
    margin: 1px;
    border: solid 1px #CCCCCC;
}
#pages .selected {
    color: white;
    background-color: #CB3E3E;
}
#pages span {
    padding-top: 4px;
    padding-right: 4px;
    display: block;
    float: left;
}

/* forms */
label {
    display: block;
    font-size: 12px;
    color: #333333;
}

label.even{ 
    background-color: white; 
}

label.odd{ 
    background-color: #F0F0F0; 
}

#fieldBox {
    float: left;
    min-height: 50px;
    margin: 0px;
    padding: 0px;
    margin-right: 8px;
}
#fieldBox label {
    float: left;
    clear: both;
}
#fieldBox input, #fieldBox select {
    float: left;
    clear: left;
    margin: 0px;
    left: 0px;
}

a.history, a.clear {
    display: none;
}


#form p {
    float: left;
    display: block;
    width: 100%;
    clear: both;
    margin: 0px;
}

#form p.error {
    width: 99%;
    margin-top: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    background-color: #FFCCCC;
    border: dashed 1px #CB3E3E;
}

#form p.error strong {
    color: #CC0000;
    clear: both;
    font-size: 12px;
    display: block;
    margin-left: 180px;
    padding-top: 8px;
    padding-bottom: 8px;
}
#form img { margin-top: 8px; margin-left: 8px; }
#form .captcha {
    margin-left: 180px;
}

#form input, #form select { float: left; margin: 8px 0px 0px 8px; }

input[type="submit"], input[type="button"] {
    font-size: 12px;
    background-color: #F0F0F0;
    border: solid 1px #999999;
    padding: 2px 12px 2px 12px;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-right: 4px;
    cursor: pointer;        
}

input[type="submit"].compact, input[type="button"].compact {
    padding: 2px;
}

input:hover[type="submit"], input:hover[type="button"] {
    background-color: #FFE0E0;
}

#form input[type="submit"]  {
    display: block;
    float: left;
    margin-left: 180px;
}

#fieldBox input.red {
    border: 1px solid #660000;
    color: #660000;
    background-color: #FFCCCC;
}

#form label {
    width: 160px;
    float: left;
    clear: left;
    text-align: right;
    padding-right: 9px;
    margin-right: 3px;
    margin-top: 10px;
}

#form label.mandatory {
    background-image:url('img/asterisk_bold.gif');
    background-repeat:no-repeat;
    background-position:right top; 
}

#form label.required {
    background-image:url('img/asterisk.gif');
    background-repeat:no-repeat;
    background-position:right top; 
}

#form label.radio, #form label.checkbox, #form label.no-last-name  {
    position: relative;
    width: 100%;
    margin-top: 0px;
    left: 170px;
    text-align: left;
}

#form label.no-last-name  {
    width: 245px;
    clear: right;
    position: inherit;
}

#form label.radio input, #form label.checkbox input {
    margin-right: 8px;
    margin-top: 0px;
}

#form label.radio:last-child {
  margin-bottom: 8px;
}

#form textarea {
    margin-left: 8px;
    margin-top: 4px;
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px;
    border: solid 1px #999999;
    padding: 2px;
    float: left;
    width: 240px;
}

input[type="text"], input[type="password"] {
    height: 18px;
    font-size: 12px;
    border: solid 1px #999999;
    padding: 2px;
}
#form input[type="text"], #form input[type="password"] {
    float: left;
    width: 240px;
}

input[type="text"]:disabled {
    background-color: #E0E0E0;
}
select {
    width: 245px;
    margin-top: 4px;
    font-size: 12px;
    border: solid 1px #999999;
    padding: 2px;
}



#bodySubstrate {
  background-color: black;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 100;

  opacity: 0.3;
  -moz-opacity: 0.3;
  -khtml-opacity: 0.3;

  filter: alpha(opacity=30);

  display: none;

}

/* body container */
#bodyContainer {
    clear: both;
    padding-left: 16px;
    padding-right: 16px;
}


/* top bar */        
#topBar {
    position: relative;
    z-index: 99;
    clear: both;
    width: 100%;
    height: 23px;
    background-color: white;
    border-bottom: 1px solid #CB3A3A;
}

#loginDetails {
    position: relative;
    float: left;
    width: 350px;
    padding-top: 5px;
    padding-left: 16px;
}

#userDefaults {
    position: relative;
    float: right;
    clear: right;
    text-align: right;
    padding-top: 0px;
    padding-right: 16px;
}

#menuLabel {
    position: relative;
    float: right;
    text-align: right;
    min-width: 80px;
    padding-top: 4px;
    padding-right: 6px;
}
#menuBox {
    position: relative;
    float: right;
    min-width: 162px; 
    padding-top: 2px;
}


/* no javascript warning */
.no_js_warning {
    width: 100%;
    padding: 16px;
    background-color: #CC0000;
    font-size: 24px;
    color: #FFFFFF;
    text-align: center;
}

/* communications area */
div.msg_board {
    overflow: auto; 
    overflow-x: hidden;
    position: relative;
}

/* live search */
div.as_container {
    position: absolute;
    display: block;
    margin: 0px;
    width: 300px;
    overflow: auto;
    overflow-x: hidden;
    border: solid 1px black;
    background-color: white;
}


div.as_element, div.as_selected, div.as_warning {
    color:  #000000;
    padding: 0px;
    margin: 0px;
    text-align: left;
    display: block;
    padding: 3px 6px;
    cursor: pointer;
    border: none;
    border-bottom: 1px dotted #999999;
}

div.as_selected {
    background-color: #000066;
    color: #FFFFFF;
}

div.as_warning {
    text-align: center;
    cursor: default;
}

span.as_info {
    font-size:9px;
}

div.as_element em, div.as_selected em {
    color: red; 
}

div.create_participant_tooltip {
    display: block;
    margin: 0px;
    margin-top: 8px;
    overflow: hidden;
    padding: 8px;
    float: right;
    clear: right;
    width: 200px;
    -moz-box-shadow: 8px 8px 8px gray;  
    border: solid 1px gray;
    width: auto;
    clear: both;
    -moz-box-shadow: none;
    background-color: #FFDDDD;  
    border: solid 1px #CB3E3E;
}

.activeTab abbr, .inactiveTab abbr{
    font-weight: bold;
    font-size: 11px;
    content: "\2605";
    color: green;
}

.error {
    color: #CC0000;
    clear: both;
    display: block;
}

.timeline {
	margin: 0;
	padding: 5px;
	font-family: Verdana, sans-serif;
	font-size: 11pt;
	color: black;
	/* background: white; */
}

.timeline .original {
	background-color: orange;
}

.timeline .current_donor, .timeline .current_donee {
	background-color: darkgrey !important;
}

.timeline .pending {
	background: yellow !important;
}

.timeline .new_donor {
	background: yellow !important;
}

.timeline .new_donee {
	background: yellow !important;
}

.timeline .requested {
	background-color: lightblue !important;
}

.timeline .approved {
	background-color: lightgreen !important;
}

.timeline .donee_clash {
	background-color: red !important;
}

.timeline .rejected {
	background-color: red !important;
}


.timeline .past {
	color: darkred !important;
}

.timeline .processed {
	opacity: 0.3;
}

.timeline li {
	display: table-cell;
	width: 25px;
	height: 25px;
	text-align: center;
	vertical-align: middle;
	border: 1px solid lightgrey;
}

*, ::after, ::before {
      box-sizing: content-box;
}
