@charset "UTF-8";

/* * * * * * CSS RESET * * * * * */

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}img{display:block;margin:0px;}



/* * * * * * WEBSITE STRUCTURE ELEMENTS * * * * * */

body {

	-webkit-text-size-adjust: none; /* iPhone restrict ability to resize text AUTOMATICALLY ( can still zoom! ) */

    /* BASIC FONT SETTINGS */
	color: #000000;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 18px;

    /* width: 290px; */
}

.hometext{
 color: #000000;
}


.mainwrap {
    margin: 5px auto;
}

/* Header & Menu */

.tpm_menu {
    display: block;
    background: #ffffff;
    height: 43px;
    width: 290px;
    clear: both;
}

	.tpm_menu a img {
		width: 145px;
		height: 43px;
		border: 0px;
		margin: 0px;
		padding: 0px;
		float: left;
	}
       
/* Specific HOMEPAGE version */
.tmp_menu_home  {
    height: 40px;
    border-bottom: solid 3px #009534;
    margin-bottom: 5px;
}

    #tpm_logo {
    	width: 126px;
    	height: 29px;
    	border: 0px;
    }



/* * * * * Content * * * * */

.tpm_content {
    height: 100%;
    /* width: 300px; */
    padding: 0px;
}



/* * * * * Footer * * * * */

div.tpm_footer {
    padding: 20px 0px;
    clear: both; 
    text-align: center;
    font-size: 12px;
}

	div.tpm_footer a {
		color: #000000;
	    text-decoration: underline;
	    padding: 0 10px;
	}
	
	span.copyright {
		padding: 0 10px;
	}

/* * * * * * FONT ELEMENTS * * * * * */

h1 {
	font-size: 18px;
	line-height: 24px;
	margin: 10px 0;
    font-weight: bold;
}

h2 {
    font-size: 16px;
    font-weight: bold;
}

a {
    color: #009534;
    text-decoration: none;
}

a:hover  {
    text-decoration: none;
    color: #009534;
}

p {
	margin: 10px 0;
}

.small {
	font-size: 12px;
	line-height: 16px;
}


.tpm_textalert {
	color: #ff0000;
	display: block;
}

/* * * * * * HOME PAGE * * * * * */

.tpm_homeicon {	
	display: block; 
	float: left;
	width: 90px; 
	padding: 7px 27px; 
	text-align: center;
	font-weight: bold;
	text-decoration: none;	
	color: #000000 !important;
	font-size: 13px;
}

	.tpm_homeicon img {
		width: 69px;
		height: 69px;
		margin: 0 auto;
	}



/* * * * * * HELP MENU * * * * * */

#tpm_help {
	background: #bfe4cc;
	margin: 15px 0;
}

	div#tpm_help ol {
		list-style: decimal;
		list-style-position: outside;
		padding: 0 0 0 20px;
		margin: 0px;
	}
	
		div#tpm_help ol li {
			padding: 0 0 3px 0;
		}

#tpm_helpbutton {
	width: 25px;
	height: 26px;
	border: 0px;
	float: right;
	cursor: pointer;
	margin-right: 17px;
    background-image: url("help.gif");
}



/* * * * * RESULT/FOLD SYSTEM * * * * */

.tpm_row {
	margin-bottom: 3px;
}

/* Heading with green background standard */
.tpm_row_heading {
    height: 34px;
    width: 270px;
	display: block;
	overflow: hidden;

	padding: 0 10px;
    background: #009534; /* Basic default GREEN Transperth */

    color: #ffffff !important;
    font-size: 16px;
    line-height: 34px;
    font-weight: normal;
}

.tpm_row_content {
	background: #BFE4CC;
    width: 270px;
	padding: 10px;
}

.arrow {
	display: none; /* Only show when JAVASCRIPT is active */
	width: 25px; 
	height: 25px; 
	border: 0px; 
	float: right; 
	margin: 5px 8px 0 0; 
	background-image: url('arrows.gif'); 
	background-position: 25px 0px;
}

.arrow_right {
	width: 25px; 
	height: 25px; 
	border: 0px; 
	float: right; 
	margin: 5px 7px 0 0; 
}


/* * * * * * Station List * * * * * */

.station_list {
	background: #ffffff !important;	/* Offset train specific backgrounds */
	margin: 0 0 10px 0;
}

.station_list tr {
	border-bottom: solid 3px #ffffff;
}

.station_list td {
    height: 34px;
    width: 270px;
    padding: 0px 10px;

	/* Default green Transperth background */
    background: #009534;
    color: #ffffff;
    line-height: 34px;
}

	/* Each TRAIN LINE has a different background color */
	tr.Armadale, td.Armadale, table.Armadale td {
	    background: #FFC700;
	    color: #000000;
	}
	tr.Fremantle, td.Fremantle, table.Fremantle td {
	    background: #006FAC;
	    color: #ffffff;
	}
	tr.Joondalup, td.Joondalup, table.Joondalup td {
	    background: #B7B60E;
	    color: #000000;
	}
	tr.Mandurah, td.Mandurah, table.Mandurah td {
	    background: #EE8219;
	    color: #ffffff;
	}
	tr.Midland, td.Midland, table.Midland td {
	    background: #BF1B67;
	    color: #ffffff;
	}
	tr.Thornlie, td.Thornlie, table.Thornlie td {
	    background: #ffc700;
	    color: #4a4a4a;
	}

/* * * * * TRAIN HEALTH * * * * */

.train_health {
	width: 100%;
}

	.train_health tr {
		border-bottom: solid 3px #ffffff;
	}
	
	.train_health th {
		text-align: left;
		font-weight: normal;
		padding-left: 10px;
	}

	.train_health td {
		height: 32px;
		line-height: 32px;
	}

.tpm_radio_wrap {
	display: inline;
	margin-right: 10px;
	line-height: 34px;
}


/* * * * * * JOURNEY PLANNER * * * * * */

.journey_planner_form {
	width: 100%;
}

	.journey_planner_form th {
		width: 35%;
		text-align: left;
		font-weight: bold;
		padding: 5px 0;
	}
	
	.journey_planner_form td {
		text-align: right;
		padding: 5px 0;
	}

.journey_planner_select {
	width: 100%;
}

	.journey_planner_select td {
		text-align: left;
		width: 50%;
		padding: 5px 0;
	}
	
.journey_planner_results {
	width: 100%;
	margin-bottom: 10px;
	
}	
	.journey_planner_results th {
		font-weight: bold;
		text-align: left;
		padding: 5px 0;
	}

	.journey_planner_results td {
		width: 70%;
		text-align: left;
		padding: 5px 0;
	}
	
.journey_planner_leg {
	width: 100%;
}
	.journey_planner_leg tr {
		border-bottom: solid 1px #009534;
	}

	.journey_planner_leg th {
		vertical-align: middle;
		text-align: center;
		padding: 0 20px 0 10px;
	}	
	
.legend {
	width: 100%;
	margin: 10px 0;
}

	.legend td {
		padding: 5px 0;
	}

/* * * * * * STANDARD FORM INPUT * * * * * */

input.tpm_show_times {
	background: url('show_times.gif');
	border: 0px;
	width: 115px;
	height: 37px;
	margin: 0 5px;
	color: #ffffff;
	font-size: 0;
	line-height: 0;
}

input.tpm_reverse {
	background: url('reverse.gif');
	border: 0px;
	width: 115px;
	height: 37px;
	margin: 0 5px;
	color: #ffffff;
	font-size: 0;
	line-height: 0;
}

input.tpm_reset {
	background: url('reset.gif');
	border: 0px;
	width: 115px;
	height: 37px;
	margin: 0 5px;
	color: #ffffff;
	font-size: 0;
	line-height: 0;
}

input.tpm_show_balance {
	background: url('show_balance.gif');
	border: 0px;
	width: 115px;
	height: 37px;
	margin: 0 5px;
	color: #ffffff;
	font-size: 0;
	line-height: 0;
}

input.tpm_send_feedback {
	background: url('send_feedback.gif');
	border: 0px;
	width: 139px;
	height: 37px;
	margin: 0 5px;
	color: #ffffff;
	font-size: 0;
	line-height: 0;
}

