/*
	graph portal: tables styles
	date created: 11-MAR-2010
*/

/** simple table **/
div.b-outer { position:relative; margin-bottom:1em; width:700px;}
div.b-inner { height:300px; overflow:auto; width:700px; margin-left:-1px;}
div.b-inner.no-scroll {height:auto; overflow:visible; }
div.b-inner.no-scroll table.b-tbl{ width:700px;}
div.b-inner.no-scroll td.address{ width:203px;}

div.b-inner-short { height:150px; overflow:auto; width:700px; margin-left:-1px;}
div.b-inner-short.no-scroll {height:auto; overflow:visible; }


	table.b-header {width:700px;}
		table.b-header td {padding:5px 8px 4px 8px; font-weight:bold; vertical-align:middle; background-color:#e2ebf0;}
		table.b-header td.m-header-alert {background:#fefeaf;}

	table.b-header-immitation  {width:700px;}
	table.b-header-immitation td {padding:5px 8px 4px 8px; font-weight:bold; vertical-align:middle; background-color:#e2ebf0;}

	table.b-tbl {width:682px; margin-left:1px;}
		table.b-tbl tr.last-child td {border-bottom:0px none;}
		table.b-tbl tr.first-child td {border-top:0px none;}
			table.b-tbl td {vertical-align:middle; padding:5px 8px 4px 8px; word-wrap: break-word}

div.b-outer.m-noscroll div.b-inner {overflow:visible; height:auto;}
	div.b-outer.m-noscroll table.b-tbl {width:700px;}
		div.b-outer.m-noscroll table.b-tbl .td5 {width:200px;}

.b-table-bbord {border-bottom:1px solid #C2C2C2; margin-bottom:1em; position:relative; width:700px;}

div.b-outer .b-table-bbord.view-large table td.col1{width:183px;}
div.b-outer .b-table-bbord.view-large table td.col2{width:82px;}
div.b-outer .b-table-bbord.view-large table td.col3{width:123px;}
div.b-outer .b-table-bbord.view-large table td.col4{width:186px;}
div.b-outer .b-table-bbord.view-large table td.col5{width:41px;}
div.b-outer .b-table-bbord.view-large table.b-tbl td.col5{width:23px;}




/* simple table in large window */
div.b-outer.large{width:964px;}
  div.b-outer.large .b-table-bbord{width:960px;}
  div.b-outer.large table.b-header-immitation{width:960px;}
  div.b-outer.large table.b-tbl{width:960px; margin-left:0;}

  
  div.b-outer.large div.b-table-bbord table td.col1{width:262px;}
  div.b-outer.large div.b-table-bbord table td.col2{width:119px;}
  div.b-outer.large div.b-table-bbord table td.col3{width:167px;}
  div.b-outer.large div.b-table-bbord table td.col4{width:267px;}
  div.b-outer.large div.b-table-bbord table td.col5{display:none; width:40px;}
  
div.b-outer.large  div.b-inner{height:auto; width:960px; margin-left:0;}
 


/* no-scoll */
div.b-outer.no-scroll div.b-table-bbord.view-large div.b-inner td.invited-org {width:41px;}
div.b-outer.no-scroll div.b-table-bbord.view-large div.b-inner {height:auto; overflow:visible;}
div.b-outer.no-scroll div.b-table-bbord.view-large div.b-inner-short {height:auto; overflow:visible;}
div.b-outer.no-scroll div.b-table-bbord.view-large div.b-inner .b-tbl,
div.b-outer.no-scroll div.b-table-bbord.view-large div.b-inner-short .b-tbl,
div.b-outer.no-scroll div.b-table-bbord.view-large{width:700px;}

/* simple table in-expandable form */
.b-outer.in-expandable-form{width:665px; background-color:transparent}
	.b-table-bbord.in-expandable-form {width:647px;}
		table.b-alert.in-expandable-form td.m-header-alert {background:#fefeaf; width:647px; border-bottom:0 none;}
			div.b-inner.in-expandable-form {height:150px; width:665px; }
				table.b-header-immitation.in-expandable-form {width:665px;}
					table.b-tbl.in-expandable-form {width:647px;}
					 

/* table in-expandable form no scroll */
.no-scroll .b-inner td.invited-org-a  {width:38px;}
.m-noscroll .b-inner td.invited-org-a {width:41px !important;}
.no-scroll .b-inner.in-expandable-form {height:auto; overflow:visible;}
.no-scroll .b-inner.in-expandable-form .b-tbl,
.no-scroll .b-table-bbord.in-expandable-form{width:665px;}

/* simple short table */
.b-outer.short-tbl{background-color:transparent}
		table.b-alert.short-tbl td.m-header-alert{background:#fefeaf; width:698px; border-bottom:0 none;}
			div.b-inner.short-tbl {height:150px;}
				table.b-tbl.short-tbl tr.first-child td {border-top:0px none;}
				table.b-tbl.short-tbl tr.last-child td {border-bottom:0px none;}

/* simple long table */
div.b-outer.long-tbl { position:relative; margin-bottom:1em; width:960px;}
div.b-inner.long-tbl { height:300px; overflow:auto; width:960px; margin-left:-1px;}

	table.b-header.long-tbl {width:960px;}
		table.b-header.long-tbl td {padding:5px 8px 4px 8px; font-weight:bold; vertical-align:middle; background-color:#e2ebf0;}
		table.b-header.long-tbl td.m-header-alert {background:#fefeaf;}
	table.b-header-immitation.long-tbl {width:960px;}

	table.b-tbl.long-tbl {width:942px; margin-left:1px; table-layout:fixed;}
		table.b-tbl.long-tbl tr.last-child td {border-bottom:0px none;}
		table.b-tbl.long-tbl tr.first-child td {border-top:0px none;}
			table.b-tbl.long-tbl td {vertical-align:middle; padding:5px 8px 4px 8px;}
	.b-table-bbord.long-tbl {width:942px;}

/* long table - no scroll */
.no-scroll .b-inner.long-tbl {height:auto}
.no-scroll .b-inner.long-tbl table.b-tbl.long-tbl,
.no-scroll .b-table-bbord.long-tbl{width:960px}
.no-scroll .b-inner.long-tbl{overflow:visible;}
.no-scroll .long-tbl td.staff-search-apps{width:47px}
.no-scroll .long-tbl td.search-orgs-and-contacts{width:147px}
.no-scroll .long-tbl td.search-orgs-and-contact {width:236px;}

/* no scroll -  simple table */
table.no-scroll .b-header td {padding:5px 8px 4px 8px; font-weight:bold; vertical-align:middle; background-color:#e2ebf0;}
table.no-scroll .b-header td.m-header-alert {background:#fefeaf;}
table.no-scroll tbody td {vertical-align:middle;}


/* registration - find org table */

div.b-reg-find-org-outer { position:relative; margin-bottom:1em; width:700px; /*background:#fff; */}
	div.b-reg-find-org-inner { height:300px; overflow:auto; width:700px; margin-left:-1px;}

	table.b-header-reg-find-org-tbl {width:700px;}
		table.b-header-reg-find-org-tbl td {padding:5px 8px 4px 8px; font-weight:bold; vertical-align:middle; background-color:#e2ebf0;}
		table.b-header-reg-find-org-tbl td.m-header-alert {background:#fefeaf;}
		table.b-header-reg-find-org-tbl .td1 {width:22px;}
		table.b-header-reg-find-org-tbl .td2 {width:183px;}
		table.b-header-reg-find-org-tbl .td3 {width:82px;}
		table.b-header-reg-find-org-tbl .td4 {width:123px;}
		table.b-header-reg-find-org-tbl .td5 {width:204px;}

table.b-reg-find-org-tbl tr.first-child td {border-top:0px none;}
table.b-reg-find-org-tbl tr.last-child td{border-bottom:0px none;}
	table.b-reg-find-org-tbl {width:682px; margin-left:1px;}
		table.b-reg-find-org-tbl td {vertical-align:middle; padding:5px 8px 4px 8px;}
		table.b-reg-find-org-tbl .td1 {width:22px;}
		table.b-reg-find-org-tbl .td2 {width:183px;}
		table.b-reg-find-org-tbl .td3 {width:82px;}
		table.b-reg-find-org-tbl .td4 {width:123px;}
		table.b-reg-find-org-tbl .td5 {width:186px;}

div.b-reg-find-org-outer.m-noscroll div.b-reg-find-org-inner {overflow:visible; height:auto;}
	div.b-reg-find-org-outer.m-noscroll table.b-reg-find-org-tbl {width:700px;}
		div.b-reg-find-org-outer.m-noscroll table.b-reg-find-org-tbl .td5 {width:200px;}

.m-noscroll .b-table-bbord {width:auto;}
.m-noscroll table.b-header-reg-find-org-tbl .td5{width:200px}


/* staff - lightbox - find org to merge */
div.b-merge-find-org-outer { position:relative; margin-bottom:1em; width:700px; background:#fff; }
	div.b-merge-find-org-inner { height:180px; overflow:auto; width:700px; margin-left:-1px;}

	table.b-header-merge-find-org-tbl {width:700px;}
		table.b-header-merge-find-org-tbl td {padding:5px 8px 4px; font-weight:bold; vertical-align:middle; background-color:#e2ebf0;}
		table.b-header-merge-find-org-tbl td.m-header-alert {background:#fefeaf;}
		table.b-header-merge-find-org-tbl .td1 {width:20px;}
		table.b-header-merge-find-org-tbl .td2 {width:60px;}
		table.b-header-merge-find-org-tbl .td3 {width:135px;}
		table.b-header-merge-find-org-tbl .td4 {width:75px;}
		table.b-header-merge-find-org-tbl .td5 {width:110px;}
		table.b-header-merge-find-org-tbl .td6 {width:197px;}

table.b-merge-find-org-tbl tr.first-child td {border-top:0px none;}
table.b-merge-find-org-tbl tr.last-child td{border-bottom:0px none;}
	table.b-merge-find-org-tbl {width:682px; margin-left:1px;}
		table.b-merge-find-org-tbl td {vertical-align:middle;}
		table.b-merge-find-org-tbl .td1 {width:20px;}
		table.b-merge-find-org-tbl .td2 {width:60px;}
		table.b-merge-find-org-tbl .td3 {width:135px;}
		table.b-merge-find-org-tbl .td4 {width:75px;}
		table.b-merge-find-org-tbl .td5 {width:110px;}
		table.b-merge-find-org-tbl .td6 {width:179px;}

div.b-merge-find-org-outer.m-noscroll div.b-merge-find-org-inner {overflow:visible; height:auto;}
	div.b-merge-find-org-outer.m-noscroll table.b-merge-find-org-tbl {width:700px;}
		div.b-merge-find-org-outer.m-noscroll table.b-merge-find-org-tbl .td5 {width:200px;}

/* staff - lightbox - find contact to merge */

div.b-merge-find-contact-outer { position:relative; margin-bottom:1em; width:700px; background:#fff; }
	div.b-merge-find-contact-inner { height:180px; overflow:auto; width:700px; margin-left:-1px;}

	table.b-header-merge-find-contact-tbl {width:700px;}
		table.b-header-merge-find-contact-tbl td {padding:5px 8px 4px; font-weight:bold; vertical-align:middle; background-color:#e2ebf0;}
		table.b-header-merge-find-contact-tbl td.m-header-alert {background:#fefeaf;}
		table.b-header-merge-find-contact-tbl .td1 {width:30px;}
		table.b-header-merge-find-contact-tbl .td2 {width:85px;}
		table.b-header-merge-find-contact-tbl .td3 {width:140px;}
		table.b-header-merge-find-contact-tbl .td4 {width:130px;}

		table.b-header-merge-find-contact-tbl .td6 {width:230px;}

table.b-merge-find-contact-tbl tr.first-child td {border-top:0px none;}
table.b-merge-find-contact-tbl tr.last-child td{border-bottom:0px none;}
	table.b-merge-find-contact-tbl {width:682px; margin-left:1px;}
		table.b-merge-find-contact-tbl td {vertical-align:middle;}
		table.b-merge-find-contact-tbl .td1 {width:30px;}
		table.b-merge-find-contact-tbl .td2 {width:85px;}
		table.b-merge-find-contact-tbl .td3 {width:140px;}
		table.b-merge-find-contact-tbl .td4 {width:130px;}
		table.b-merge-find-contact-tbl .td6 {width:212px;}

div.b-merge-find-contact-outer.m-noscroll div.b-merge-find-contact-inner {overflow:visible; height:auto;}
	div.b-merge-find-contact-outer.m-noscroll table.b-merge-find-contact-tbl {width:700px;}
		div.b-merge-find-contact-outer.m-noscroll table.b-merge-find-contact-tbl .td6 {width:230px;}

/* staff - search apps table */

div.b-staff-find-apps-outer { position:relative; margin-bottom:1em; width:1000px; background:#fff; }
	div.b-staff-find-apps-inner { height:300px; overflow:auto; width:1000px; margin-left:-1px;}

	table.b-header-staff-find-apps-tbl {width:1000px;}
		table.b-header-staff-find-apps-tbl td {padding:0.5em 0.8em 0.4em; font-weight:bold; vertical-align:middle; background-color:#e2ebf0;}
		table.b-header-staff-find-apps-tbl td.m-header-alert {background:#fefeaf;}
		table.b-header-staff-find-apps-tbl .td1 {width:300px;}
		table.b-header-staff-find-apps-tbl .td2 {width:100px;}
		table.b-header-staff-find-apps-tbl .td3 {width:150px;}
		table.b-header-staff-find-apps-tbl .td4 {width:150px;}
		table.b-header-staff-find-apps-tbl .td5 {width:100px;}
		table.b-header-staff-find-apps-tbl .td6 {width:100px;}
		table.b-header-staff-find-apps-tbl .td7 {width:100px;}

	table.b-staff-find-apps-tbl {width:1000px; margin-left:1px;}
		table.b-staff-find-apps-tbl td {vertical-align:middle;}
		table.b-staff-find-apps-tbl .td1 {width:300px;}
		table.b-staff-find-apps-tbl .td2 {width:100px;}
		table.b-staff-find-apps-tbl .td3 {width:150px;}
		table.b-staff-find-apps-tbl .td4 {width:150px;}
		table.b-staff-find-apps-tbl .td5 {width:100px;}
		table.b-staff-find-apps-tbl .td6 {width:100px;}
		table.b-staff-find-apps-tbl .td7 {width:100px;}

div.b-staff-find-apps-outer.m-noscroll div.b-staff-find-apps-inner {overflow:visible; height:auto;}
	div.b-staff-find-apps-outer.m-noscroll table.b-staff-find-apps-tbl {width:1000px;}
		div.b-staff-find-apps-outer.m-noscroll table.b-staff-find-apps-tbl .td7 {width:100px;}

/*  board member info table */
table.board-member-info {width:720px;}
table.board-member-info.static-tbl {width:713px;}
	table.board-member-info	td input[type="text"] {width:207px; vertical-align:baseline}
	table.board-member-info	td select {width:207px;}
	table.board-member-info	td span.icon {position:absolute;}
	table.board-member-info	td input.trash-icon {width:17px; position:relative; top:-17px; vertical-align:bottom;}
	                           input.add-icon { vertical-align:middle; position:relative;}
	table.board-member-info th {background-color:#E2EBF0; border:1px solid #C2C2C2;}

table.board-member-info	td.footer {padding:6px 8px;}
	table.board-member-info	td.footer a{font-size:12px;}

/* organization profile table */
.org-profile-2tbl {width:720px;}
.org-profile-2tbl.static-tbl {width:713px;}

table.org-profile {width:720px; border:1px solid #C2C2C2;}
table.org-profile.static-tbl {width:713px;}

	table.org-profile thead th {padding:4px 8px; font-weight:bold; font-size:90%; text-align:center; border:0 none; background-color:#fff;}
	div.b-expander-body table.org-profile thead th {border-bottom:1px solid #C2C2C2;}

	table.org-profile tbody th {background:url("../i/bg/table-title-bg.gif") repeat-x scroll 0 100% transparent; border-bottom:1px solid #C4D3DA; color:#333333; font-size:98%; padding:0.6em 0.5em;}
	table.org-profile tbody td{font-size:90%; border-right:0px none; border-left:0px none; text-align:center;}
	table.org-profile tbody td.b-title{text-align:left;}
	table.org-profile tbody td.m-align-right {text-align:right}
		table.org-profile tbody td input[type="text"] { vertical-align:baseline;}
		table.org-profile .last-child {border-right:1px solid #C2C2C2;}


table.org-profile tbody .immitation-header th {text-align:center; border-left:0 none; border-right:0 none;  font-size:90%}
table.org-profile tbody .immitation-header th.b-title {text-align:left; font-size:100%}
table.org-profile tbody .immitation-header th.last-child {border-right:1px solid #C2C2C2;}
	table.org-profile tbody .immitation-header th input[type="text"] { vertical-align:baseline;}

/* organization profile short table */
table.org-profile.m-short {width:320px; }
table.org-profile.static-tbl.m-short,
table.static-tbl.m-short  {width:320px;}
	table.org-profile.m-short tr th{border:0px none; border-bottom:1px solid #C4D3DA;}
	table.org-profile.m-short textarea {width:297px; margin:4px 0}

/* organization profile department table */
table.org-profile-depart {width:340px; text-align:left; border:1px solid #C2C2C2;}
	table.org-profile-depart tbody th {background:url("../i/bg/table-title-bg.gif") repeat-x scroll 0 100% transparent; border-bottom:1px solid #C4D3DA; color:#333333; font-size:98%; padding:0.6em 0.5em;}
	table.org-profile-depart .b-head td{vertical-align:bottom; font-weight:bold; font-style:italic; text-align:left; font-size:90%; padding-bottom:10px;}

	table.org-profile-depart td {padding:4px 20px 4px 8px; border:0px none;}
	table.org-profile-depart td.msg {border-bottom: 1px solid #C2C2C2; font-size:90%; padding:5px 8px; }
	table.org-profile-depart td.m-center{text-align:left; padding-left:35px;}

/* project budget table */
table.project-budget {width:720px; border:1px solid #C2C2C2;}
	table.project-budget  td, table.project-budget  th {padding:4px;}
table.project-budget.static-tbl {width:713px;}
table.project-budget .m-left {text-align:left}

	table.project-budget thead th {padding:4px; font-weight:bold; font-size:90%; text-align:center; border:0 none; background-color:#fff; border-bottom:1px solid #C2C2C2;}
		table.project-budget thead th h3{font-weight:bold; font-size:120%; text-align:left; vertical-align:middle; margin:0}
	table.project-budget thead .date th{ border-bottom:1px solid #C2C2C2; padding:15px 8px 20px 240px; font-weight:normal;}
		table.project-budget thead .date th input {vertical-align:top; padding:1px 5px 0 3px;}

	table.project-budget tbody th {background:url("../i/bg/table-title-bg.gif") repeat-x scroll 0 100% transparent; border-bottom:1px solid #C4D3DA; color:#333333; font-size:98%; padding:0.6em 4px;}
	table.project-budget tbody .immitation-header th{font-size:90%; font-weight:normal; text-align:right}
		table.project-budget tbody .immitation-header th.b-title{font-size:98%; font-weight:bold; text-align:left}

	table.project-budget tbody td {text-align:right; font-size:90%;}
	table.project-budget tbody td.b-title{font-weight:bold; padding-left:15px; font-size:90%; text-align:left}
	table.project-budget tbody td.b-subtitle {padding-left:25px; font-size:90%; text-align:left}
		table.project-budget tbody td.b-subtitle input[type="text"],
		table.project-budget tbody td.b-title input[type="text"] { vertical-align:baseline; text-align:left;}

/* project-budget  subtotal/total */
		table.project-budget tbody .b-subtotal td {text-align:right; padding:8px 5px 8px 4px; font-weight:bold;}
		table.project-budget tbody .b-subtotal td.b-subtotal-title {padding-left:8px; font-size:90%; text-align:left; font-style:italic; font-weight:normal}
		table.project-budget tbody .b-subtotal td.b-sub-subtotal-title{padding-left:15px; font-size:90%; text-align:left; font-style:italic; font-weight:normal}
			table.project-budget tbody td input[type="text"],
			table.project-budget tbody th input[type="text"]{vertical-align:baseline; text-align:right;}

		table.project-budget tbody .b-total td{font-size:110%; font-weight:bold; text-align:right;  padding:8px 5px 8px 4px;}
		table.project-budget tbody .b-total td.b-total-title {padding-left:8px; font-size:110%; text-align:left; font-style:italic; font-weight:bold;}

/* project-budget  icon holder */
		table.project-budget tbody td.b-icon-holder,
		table.project-budget tbody th.b-icon-holder {text-align:right; font-weight:bold; padding-right:25px;}
		table.project-budget tbody td.m-radio-label-box label{font-size:100%; font-weight:normal; margin-right:10px;}
		table.project-budget tbody td.b-icon-holder .icons{position:absolute; left:680px; width:35px;margin-top:-8px; }
			table.project-budget tbody td input[type="image"],
			table.project-budget tbody td input.trash-icon {}
			table.project-budget tbody td input.add-icon { top:-1px;}


table.project-budget.static-tbl td,
table.project-budget.static-tbl td.b-icon-holder,
table.project-budget.static-tbl .immitation-header th  {padding:8px 4px; text-align:right;}


/* modificator - capital budget main table */
table.m-capital-main-tbl tbody tr td input[type="image"], table.org-profile tbody tr td input[type="image"]{vertical-align:middle; margin:-2px 2px 0 2px; left:0; top:0px; //top:2px;}
table.m-capital-main-tbl tr.b-total td.b-total-title {border-right:1px solid #C2C2C2 }
table.m-capital-main-tbl tr td.b-title,
table.m-capital-main-tbl tr.b-total td.b-total-title {text-align:right; padding:8px;}
	table.m-capital-main-tbl tr td p {text-align:left; padding:8px 8px 4px 8px;}

/* modificator - capital budget secondary tables */
table.m-capital-tbl tbody td.b-icon-holder .icons{left:636px; margin-top:-10px;  text-align:center; width:52px;}
	table.m-capital-tbl tbody td.b-icon-holder .icons input.trash-icon {margin-right:10px;}

/* funding sources */
table.funding-sources {width:720px; border:1px solid #C2C2C2;}
	table.funding-sources td, table.funding-sources th {padding:4px}
table.funding-sources.static-tbl {width:713px;}
	table.funding-sources thead th {padding:4px; font-weight:bold; font-size:90%; text-align:center; border:0 none; background-color:#fff; border-bottom:1px solid #C2C2C2;}

table.funding-sources tbody th {background:url("../i/bg/table-title-bg.gif") repeat-x scroll 0 100% transparent; border-bottom:1px solid #C4D3DA; color:#333333; font-size:98%; padding:0.6em 4px;}
table.funding-sources tbody td {text-align:right; font-size:90%;}
	table.funding-sources tbody td.b-title{font-weight:bold; padding-left:15px; font-size:90%; text-align:left}
	table.funding-sources tbody td.b-subtitle {padding-left:25px; font-size:90%; text-align:left}
	table.funding-sources tbody td.m-center {text-align:center;}
		table.funding-sources tbody td input[type="text"]{vertical-align:baseline;}

	table.funding-sources tbody .b-total td {font-weight:bold; font-size:110%; padding:8px 4px; text-align:right;}
	table.funding-sources tbody .b-total td.b-total-title {text-align:left; font-style:italic;}

table.funding-sources tbody td input[type="image"]{vertical-align:middle; margin:-2px 0 0 2px;}

/* table in expander */
.b-expander-body table th {border-top:1px solid #c2c2c2;}
.b-expander-body table {margin-bottom:15px;}

/* table simple
table.m-w100.simple tbody tr td br, table.b-tbl.long-tbl tbody tr td br{ display:block; margin-bottom:5px;} */

/* only safari fixes */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	.no-scroll .b-table-bbord.long-tbl,
	.no-scroll .b-tbl.long-tbl{width:961px}
	.no-scroll table.b-header.long-tbl{width:959px}
	table.board-member-info	td input.trash-icon { top:-2px;}
	table.m-capital-tbl tbody td.b-icon-holder .icons {margin-top:5px;}
	table.b-tbl.long-tbl { table-layout:auto;}
}

.disabled-row{  background-color: #EEF3F9; color:Gray }

