/*****************************************************/
/**************** TABLES *****************************/	

/* generic basic table */
table {
	width:100%;
	border:1px solid #ccc !important;
	box-shadow: 3px 3px 3px #ccc; }
table th {
	background-color:#ececec;
	border-bottom:1px solid #ccc; }	
table td {
	border-top:0px solid #ccc;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
	border-left:0px solid #ccc; 
	padding: 2px 2px 2px 2px; 
	text-align:left !important; 
	vertical-align:top !important; }
table td p {
	text-align:left !important;
	vertical-align:top !important; 
	margin:0 !important;
}

/*****************************************************/

/* generic styles for all PI TABLES */
#pi_table { 
	box-shadow: 3px 0px 3px #ccc;
}
#pi_table td{
	border-top: 0px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-left: 0px solid #ccc;
}
#pi_table tr:nth-child(1) td:first-child {  /* highlight first cell in first row (eg table title) */
    color:#000000; 
	text-shadow:1px 1px 1px #CCC;
	font-size:1.2em;
	background-color:#7FA1BF;
}

/*****************************************************/

/* DEMAND IMPACTS table: assigns background images to appropriate table cells*/
.demand_impacts > tbody > tr:nth-child(3) > td:first-child {
	background: url('../img/tables/change-time.gif') top left no-repeat; }
.demand_impacts > tbody > tr:nth-child(4) > td:first-child {
	background: url('../img/tables/change-route.gif') top left no-repeat; }
.demand_impacts > tbody > tr:nth-child(5) > td:first-child {
	background: url('../img/tables/change-dest.gif') top left no-repeat; }
.demand_impacts > tbody > tr:nth-child(6) > td:first-child {
	background: url('../img/tables/reduce-trips.gif') top left no-repeat; }
.demand_impacts > tbody > tr:nth-child(7) > td:first-child {
	background: url('../img/tables/change-mode.gif') top left no-repeat; }
.demand_impacts > tbody > tr:nth-child(8) > td:first-child {
	background: url('../img/tables/sell-car.gif') top left no-repeat; }
.demand_impacts > tbody > tr:nth-child(9) > td:first-child {
	background: url('../img/tables/move-house.gif') top left no-repeat; }
.demand_impacts > tbody > tr:nth-child(n+3) > td:first-child { /* set dimensions for "image" cells */
	width:105px; 
	height:65px; 
}

.demand_impacts_2 > tbody > tr:nth-child(3) > td:first-child {
	background: url('../img/tables/change-time.gif') top left no-repeat; }
.demand_impacts_2 > tbody > tr:nth-child(4) > td:first-child {
	background: url('../img/tables/change-route.gif') top left no-repeat; }
.demand_impacts_2 > tbody > tr:nth-child(5) > td:first-child {
	background: url('../img/tables/change-dest.gif') top left no-repeat; }
.demand_impacts_2 > tbody > tr:nth-child(6) > td:first-child {
	background: url('../img/tables/reduce-trips.gif') top left no-repeat; }
.demand_impacts_2 > tbody > tr:nth-child(7) > td:first-child {
	background: url('../img/tables/change-mode.gif') top left no-repeat; }
.demand_impacts_2 > tbody > tr:nth-child(8) > td:first-child {
	background: url('../img/tables/sell-car.gif') top left no-repeat; }
.demand_impacts_2 > tbody > tr:nth-child(10) > td:first-child {
	background: url('../img/tables/move-house.gif') top left no-repeat; }
.demand_impacts_2 > tbody > tr:nth-child(n+3) > td:first-child { /* set dimensions for "image" cells */
	width:105px; 
	height:65px; 
}

/*****************************************************/

/* DEMAND RESPONSES table(s): assigns background images to appropriate table cells */

.demand_responses > tbody > tr:nth-child(3) > td:first-child {
	background: url('../img/tables/change-time.gif') top left no-repeat; }
.demand_responses > tbody > tr:nth-child(4) > td:first-child {
	background: url('../img/tables/change-route.gif') top left no-repeat; }
.demand_responses > tbody > tr:nth-child(5) > td:first-child {
	background: url('../img/tables/change-dest.gif') top left no-repeat; }
.demand_responses > tbody > tr:nth-child(7) > td:first-child {
	background: url('../img/tables/reduce-trips.gif') top left no-repeat; }
.demand_responses > tbody > tr:nth-child(11) > td:first-child {
	background: url('../img/tables/change-mode.gif') top left no-repeat; }
.demand_responses > tbody > tr:nth-child(14) > td:first-child {
	background: url('../img/tables/sell-car.gif') top left no-repeat; }
.demand_responses > tbody > tr:nth-child(15) > td:first-child {
	background: url('../img/tables/move-house.gif') top left no-repeat; }
.demand_responses > tbody > tr:nth-child(n+3) > td:first-child { /* set dimensions for "image" cells */
	width:100px; 
	height:65px; 
}

.demand_responses_2 > tbody > tr:nth-child(3) > td:first-child {
	background: url('../img/tables/change-time.gif') top left no-repeat; }
.demand_responses_2 > tbody > tr:nth-child(4) > td:first-child {
	background: url('../img/tables/change-route.gif') top left no-repeat; }
.demand_responses_2 > tbody > tr:nth-child(5) > td:first-child {
	background: url('../img/tables/change-dest.gif') top left no-repeat; }
.demand_responses_2 > tbody > tr:nth-child(7) > td:first-child {
	background: url('../img/tables/reduce-trips.gif') top left no-repeat; }
.demand_responses_2 > tbody > tr:nth-child(8) > td:first-child {
	background: url('../img/tables/change-mode.gif') top left no-repeat; }
.demand_responses_2 > tbody > tr:nth-child(9) > td:first-child {
	background: url('../img/tables/sell-car.gif') top left no-repeat; }
.demand_responses_2 > tbody > tr:nth-child(10) > td:first-child {
	background: url('../img/tables/move-house.gif') top left no-repeat; }
.demand_responses_2 > tbody > tr:nth-child(n+3) > td:first-child { /* set dimensions for "image" cells */
	width:105px; 
	height:65px; 
}

.demand_responses_3 > tbody > tr:nth-child(3) > td:first-child {
	background: url('../img/tables/change-time.gif') top left no-repeat; }
.demand_responses_3 > tbody > tr:nth-child(4) > td:first-child {
	background: url('../img/tables/change-route.gif') top left no-repeat; }
.demand_responses_3 > tbody > tr:nth-child(5) > td:first-child {
	background: url('../img/tables/change-dest.gif') top left no-repeat; }
.demand_responses_3 > tbody > tr:nth-child(6) > td:first-child {
	background: url('../img/tables/reduce-trips.gif') top left no-repeat; }
.demand_responses_3 > tbody > tr:nth-child(7) > td:first-child {
	background: url('../img/tables/change-mode.gif') top left no-repeat; }
.demand_responses_3 > tbody > tr:nth-child(8) > td:first-child {
	background: url('../img/tables/sell-car.gif') top left no-repeat; }
.demand_responses_3 > tbody > tr:nth-child(9) > td:first-child {
	background: url('../img/tables/move-house.gif') top left no-repeat; }
.demand_responses_3 > tbody > tr:nth-child(n+3) > td:first-child { /* set dimensions for "image" cells */
	width:105px; 
	height:65px; 
}

.demand_responses_4 > tbody > tr:nth-child(3) > td:first-child {
	background: url('../img/tables/change-time.gif') top left no-repeat; }
.demand_responses_4 > tbody > tr:nth-child(4) > td:first-child {
	background: url('../img/tables/change-route.gif') top left no-repeat; }
.demand_responses_4 > tbody > tr:nth-child(5) > td:first-child {
	background: url('../img/tables/change-dest.gif') top left no-repeat; }
.demand_responses_4 > tbody > tr:nth-child(6) > td:first-child {
	background: url('../img/tables/reduce-trips.gif') top left no-repeat; }
.demand_responses_4 > tbody > tr:nth-child(10) > td:first-child {
	background: url('../img/tables/change-mode.gif') top left no-repeat; }
.demand_responses_4 > tbody > tr:nth-child(11) > td:first-child {
	background: url('../img/tables/sell-car.gif') top left no-repeat; }
.demand_responses_4 > tbody > tr:nth-child(12) > td:first-child {
	background: url('../img/tables/move-house.gif') top left no-repeat; }
.demand_responses_4 > tbody > tr:nth-child(n+3) > td:first-child { /* set dimensions for "image" cells */
	width:105px; 
	height:65px; 
}

.demand_responses_5 > tbody > tr:nth-child(3) > td:first-child {
	background: url('../img/tables/change-time.gif') top left no-repeat; }
.demand_responses_5 > tbody > tr:nth-child(4) > td:first-child {
	background: url('../img/tables/change-route.gif') top left no-repeat; }
.demand_responses_5 > tbody > tr:nth-child(5) > td:first-child {
	background: url('../img/tables/change-dest.gif') top left no-repeat; }
.demand_responses_5 > tbody > tr:nth-child(8) > td:first-child {
	background: url('../img/tables/reduce-trips.gif') top left no-repeat; }
.demand_responses_5 > tbody > tr:nth-child(12) > td:first-child {
	background: url('../img/tables/change-mode.gif') top left no-repeat; }
.demand_responses_5 > tbody > tr:nth-child(15) > td:first-child {
	background: url('../img/tables/sell-car.gif') top left no-repeat; }
.demand_responses_5 > tbody > tr:nth-child(16) > td:first-child {
	background: url('../img/tables/move-house.gif') top left no-repeat; }
.demand_responses_5 > tbody > tr:nth-child(n+3) > td:first-child { /* set dimensions for "image" cells */
	width:105px; 
	height:65px; 
}

.demand_responses_6 > tbody > tr:nth-child(3) > td:first-child {
	background: url('../img/tables/change-time.gif') top left no-repeat; }
.demand_responses_6 > tbody > tr:nth-child(4) > td:first-child {
	background: url('../img/tables/change-route.gif') top left no-repeat; }
.demand_responses_6 > tbody > tr:nth-child(5) > td:first-child {
	background: url('../img/tables/change-dest.gif') top left no-repeat; }
.demand_responses_6 > tbody > tr:nth-child(6) > td:first-child {
	background: url('../img/tables/reduce-trips.gif') top left no-repeat; }
.demand_responses_6 > tbody > tr:nth-child(7) > td:first-child {
	background: url('../img/tables/change-mode.gif') top left no-repeat; }
.demand_responses_6 > tbody > tr:nth-child(10) > td:first-child {
	background: url('../img/tables/sell-car.gif') top left no-repeat; }
.demand_responses_6 > tbody > tr:nth-child(11) > td:first-child {
	background: url('../img/tables/move-house.gif') top left no-repeat; }
.demand_responses_6 > tbody > tr:nth-child(n+3) > td:first-child { /* set dimensions for "image" cells */
	width:105px; 
	height:65px; 
}

.demand_responses_7 > tbody > tr:nth-child(3) > td:first-child {
	background: url('../img/tables/change-time.gif') top left no-repeat; }
.demand_responses_7 > tbody > tr:nth-child(4) > td:first-child {
	background: url('../img/tables/change-route.gif') top left no-repeat; }
.demand_responses_7 > tbody > tr:nth-child(5) > td:first-child {
	background: url('../img/tables/change-dest.gif') top left no-repeat; }
.demand_responses_7 > tbody > tr:nth-child(7) > td:first-child {
	background: url('../img/tables/reduce-trips.gif') top left no-repeat; }
.demand_responses_7 > tbody > tr:nth-child(8) > td:first-child {
	background: url('../img/tables/change-mode.gif') top left no-repeat; }
.demand_responses_7 > tbody > tr:nth-child(11) > td:first-child {
	background: url('../img/tables/sell-car.gif') top left no-repeat; }
.demand_responses_7 > tbody > tr:nth-child(12) > td:first-child {
	background: url('../img/tables/move-house.gif') top left no-repeat; }
.demand_responses_7 > tbody > tr:nth-child(n+3) > td:first-child { /* set dimensions for "image" cells */
	width:105px; 
	height:65px; 
}

/*****************************************************/


/* CONTRIBUTION TO OBJECTIVES table: assigns background images to appropriate table cells */
.contrib_obj > tbody > tr:nth-child(3) > td:first-child {
	background: url('../img/tables/efficiency.gif') top left no-repeat; }
.contrib_obj > tbody > tr:nth-child(4) > td:first-child {
	background: url('../img/tables/liveable.gif') top left no-repeat; }
.contrib_obj > tbody > tr:nth-child(5) > td:first-child {
	background: url('../img/tables/protection.gif') top left no-repeat; }
.contrib_obj > tbody > tr:nth-child(6) > td:first-child {
	background: url('../img/tables/equity.gif') top left no-repeat; }
.contrib_obj > tbody > tr:nth-child(7) > td:first-child {
	background: url('../img/tables/safety.gif') top left no-repeat; }
.contrib_obj > tbody > tr:nth-child(8) > td:first-child {
	background: url('../img/tables/econ-growth.gif') top left no-repeat; }
.contrib_obj > tbody > tr:nth-child(9) > td:first-child {
	background: url('../img/tables/finance.gif') top left no-repeat; }
.contrib_obj > tbody > tr:nth-child(n+3) > td:first-child { /* set dimensions for "image" cells */
	width:110px; 
	height:65px; 
}

/* CONTRIBUTION TO OBJECTIVES table #2 (has 8th row - Practicability): assigns background images to appropriate table cells */
.contrib_obj_2 > tbody > tr:nth-child(3) > td:first-child {
	background: url('../img/tables/efficiency.gif') top left no-repeat; }
.contrib_obj_2 > tbody > tr:nth-child(4) > td:first-child {
	background: url('../img/tables/liveable.gif') top left no-repeat; }
.contrib_obj_2 > tbody > tr:nth-child(5) > td:first-child {
	background: url('../img/tables/protection.gif') top left no-repeat; }
.contrib_obj_2 > tbody > tr:nth-child(6) > td:first-child {
	background: url('../img/tables/equity.gif') top left no-repeat; }
.contrib_obj_2 > tbody > tr:nth-child(7) > td:first-child {
	background: url('../img/tables/safety.gif') top left no-repeat; }
.contrib_obj_2 > tbody > tr:nth-child(8) > td:first-child {
	background: url('../img/tables/econ-growth.gif') top left no-repeat; }
.contrib_obj_2 > tbody > tr:nth-child(9) > td:first-child {
	background: url('../img/tables/finance.gif') top left no-repeat; }
.contrib_obj_2 > tbody > tr:nth-child(10) > td:first-child {
	background: url('../img/tables/practicability1.gif') top left no-repeat; }
.contrib_obj_2 > tbody > tr:nth-child(n+3) > td:first-child { /* set dimensions for "image" cells */
	width:110px; 
	height:65px; 
}

/* CONTRIBUTION TO OBJECTIVES table #3: assigns background images to appropriate table cells */
.contrib_obj_3 > tbody > tr:nth-child(4) > td:first-child {
	background: url('../img/tables/efficiency.gif') top left no-repeat; }
.contrib_obj_3 > tbody > tr:nth-child(5) > td:first-child {
	background: url('../img/tables/liveable.gif') top left no-repeat; }
.contrib_obj_3 > tbody > tr:nth-child(6) > td:first-child {
	background: url('../img/tables/protection.gif') top left no-repeat; }
.contrib_obj_3 > tbody > tr:nth-child(7) > td:first-child {
	background: url('../img/tables/equity.gif') top left no-repeat; }
.contrib_obj_3 > tbody > tr:nth-child(8) > td:first-child {
	background: url('../img/tables/safety.gif') top left no-repeat; }
.contrib_obj_3 > tbody > tr:nth-child(9) > td:first-child {
	background: url('../img/tables/econ-growth.gif') top left no-repeat; }
.contrib_obj_3 > tbody > tr:nth-child(10) > td:first-child {
	background: url('../img/tables/finance.gif') top left no-repeat; }
.contrib_obj_3 > tbody > tr:nth-child(n+3) > td:first-child { /* set dimensions for "image" cells */
	width:66px; 
	height:65px; 
}
/*****************************************************/


/*****************************************************/
/* KEY TABLES */
#key_table {
	box-shadow: 3px 3px 3px #ccc;
}
#key_table img {
	margin:0 !important;
	float:right !important;
}
#key_table span {
	height: 16px !important;
	width: 77px !important;
}
#key_table td {
	font-size: 0.95em !important;
	border-top: 0px solid #ccc;
	border-right: 0px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-left: 0px solid #ccc;
}


/*****************************************************/
/* span classes for ticks/crosses */
.t0  {background: url('../img/tables/0tick.png') left no-repeat; width:93px; height:20px; display:block; } /* NOTE: height was 56px */
.t1 {background: url('../img/tables/1tick.png') left no-repeat;  width:93px; height:20px; display:block; }
.t2 {background: url('../img/tables/2tick.png') left no-repeat;  width:93px; height:20px; display:block; }
.t3 {background: url('../img/tables/3tick.png') left no-repeat;  width:93px; height:20px; display:block; }
.t4 {background: url('../img/tables/4tick.png') left no-repeat;  width:93px; height:20px; display:block; }
.t5 {background: url('../img/tables/5tick.png') left no-repeat;  width:93px; height:20px; display:block; }
.c1 {background: url('../img/tables/1cross.png') left no-repeat; width:93px; height:20px; display:block; }
.c2 {background: url('../img/tables/2cross.png') left no-repeat; width:93px; height:20px; display:block; }
.c3 {background: url('../img/tables/3cross.png') left no-repeat; width:93px; height:20px; display:block; }
.c4 {background: url('../img/tables/4cross.png') left no-repeat; width:93px; height:20px; display:block; }
.c5 {background: url('../img/tables/5cross.png') left no-repeat; width:93px; height:20px; display:block; }
.qm {background: url('../img/tables/question-mark.png') left no-repeat; width:93px; height:20px; display:block; }

.systems span {width: 75px !important;}
/*****************************************************/


/****************************************************************************************/
/**************** TABLES/FORMS for Measure Option Generator *****************************/	
.mog_table{
	width: 100%;
	border: 0px !important;
	box-shadow: none;
}
.mog_table td{
	border: 0px !important;
}
.mog_table td p {
	text-align: left !important;
	vertical-align: top !important;
	margin: 10px 0px !important;
}
.mog_table th {
	background-color: #ececec;
	border-bottom: 1px solid #ccc;
	padding: 0px 6px 0px 2px;
}

.w50 { width: 50% !important; }
.borders { border: 1px groove !important}

