table.westjet-table {
	margin-bottom: 10px;
	width: 100%;
	max-width: 970px;
}

table.westjet-table td,
table.westjet-table th {
	padding: 0;
	margin: 0;
	width: 125px;
	width: auto;
	height: 40px;
	background-color: #fff;
}

table.westjet-table tbody td {
	padding: 5px 15px;
	width: auto;
	height: 30px;
}

table.westjet-table tbody td.no-pad {
	padding: 0;
	width: auto;
	height: 40px;
}

table tbody td.no-pad {
	width: 125px;
}

table.westjet-table td.center {
	text-align: center;
}

table.westjet-table th {
	text-align: center;
}

table.westjet-table thead td,
table.westjet-table thead th,
table.westjet-table tfoot td,
table.westjet-table tfoot th {
	background: transparent;
	height: auto;
}

table.westjet-table .table-cell-content {
	position: relative;
	width: 100%;
	height: 100%;
	background: url(/img/tables/primary-header-left.gif) no-repeat top left;
}

table.westjet-table .primary-footer .table-cell-content {
	background: url(/img/tables/primary-footer-left.gif) no-repeat top left;
}

table.westjet-table .primary-footer .table-cell-content span.footer {
	display: block;
	height: 100%;
	margin-left: 4px;
	background: url(/img/tables/primary-footer-right.gif) no-repeat top right;
}

html.ie table.westjet-table .table-cell-content {

}

table.westjet-table th.side-heading,
table.westjet-table td.side-heading {
	width: 10px;
	padding: 0;
}

table.westjet-table th.spacer,
table.westjet-table td.spacer {
	width: 2px;
}

table.westjet-table tbody th.row-header,
table.westjet-table tbody td.row-header {
	font-size: 0.98em;
	font-weight: bold;
	text-align: right;
}

/*
	Primary headers
*/

table.westjet-table thead th.primary-heading {
	height: 22px;
	color: #fff;
	font-weight: bold;
}

table.westjet-table thead th.secondary-tall-heading {
	height: 44px;
	color: #fff;
	font-weight: bold;
}

table.westjet-table thead th.primary-heading h1 {
	padding-top: 2px;
	margin: 0 0 0 4px;	
	background: url(/img/tables/primary-header-right.gif) no-repeat top right;
	height: 100%;
	font-size: 1.08em;
}

.ie6 table.westjet-table thead th.primary-heading h1 {
	padding-top: 0;
}

/*
	SECONDARY HEADERS
*/

table.westjet-table tr.secondary-heading-row th {
	height: 19px;
	background: transparent url('/img/tables/secondary-header.jpg') repeat-x top left;
	font-size: 0.93em;
}

table.westjet-table tr.secondary-heading-row th.first-side-heading, table.westjet-table tr.secondary-heading-row td.first-side-heading {
	background: transparent url('/img/tables/side-header-left.jpg') no-repeat top left;
}

table.westjet-table tr.secondary-heading-row th.last-side-heading, table.westjet-table tr.secondary-heading-row td.last-side-heading {
	background: transparent url('/img/tables/side-header-right.jpg') no-repeat top right;
}

table.westjet-table tr.secondary-heading-row th.row-header {
	background: transparent url('/img/tables/secondary-row-header.jpg') repeat-x top left;
}


table.westjet-table tr.two-line-secondary-heading-row th {
	height: 30px;
	background: transparent url('/img/tables/two-line-secondary-header.jpg') repeat-x top left;
	font-size: 0.75em;
}

/* 
	TABLE BODY
*/

table.westjet-table tbody {
	font-size: 1.0em;
}

table.westjet-table tbody td.first-side-heading {
	background: transparent url('/img/tables/table-outside-border-left.jpg') repeat-y top left;
}

table.westjet-table tbody td.last-side-heading {
	background: transparent url('/img/tables/table-outside-border-right.jpg') repeat-y top right;
}

table.westjet-table tbody th.row-header {
	padding-right: 26px;
	width: auto;
}

table.westjet-table tbody tr.row-separator td {
	background: transparent url('/img/tables/table-outside-border.jpg') repeat-x top left;
	font-size: 0px;
	line-height: 0px;
	overflow: hidden;
	height: 1px;
	padding: 0px;
	margin: 0px;
}

table.westjet-table tbody tr.row-separator td.row-header,
table.westjet-table tbody tr.row-separator th.row-header {
	background: transparent url('/img/tables/table-outside-border-left.jpg') repeat-y top left;
}

table.westjet-table tbody .fade-left {
	background: transparent url('/img/tables/cell-background-left.jpg') repeat-y top left;
}

table.westjet-table tbody .fade-right {
	background: transparent url('/img/tables/cell-background-right.jpg') repeat-y top right;
}

table.westjet-table tbody .fade-both {
	background: transparent url('/img/tables/cell-background-124.jpg') repeat-y top center;
}

table.westjet-table tbody .table-cell-text {
	position: relative;
	vertical-align: center;
	z-index: 1;
	display: table-cell;
}


/*
	SECONDARY FOOTER
*/

table.westjet-table tr.secondary-footer-row th, table.westjet-table tr.secondary-footer-row td {
	height: 14px;
	background: transparent url('/img/tables/secondary-footer.jpg') repeat-x top left;
	font-size: 0px;
	overflow: hidden;
}

table.westjet-table tr.secondary-footer-row th.first-side-heading, table.westjet-table tr.secondary-footer-row td.first-side-heading {
	background: transparent url('/img/tables/side-header-bottom-left.jpg') no-repeat top left;
}

table.westjet-table tr.secondary-footer-row th.last-side-heading, table.westjet-table tr.secondary-footer-row td.last-side-heading {
	background: transparent url('/img/tables/side-header-bottom-right.jpg') no-repeat top right;
}

table.westjet-table tr.secondary-footer-row th.row-header {
	background: transparent url('/img/tables/secondary-row-footer.jpg') repeat-x top left;
}


/*
	PRIMARY FOOTER
*/

table.westjet-table tfoot tr.primary-footer-row th, table.westjet-table tfoot tr.primary-footer-row td {
	height: 8px;
	font-size: 0px;
	overflow: hidden;
}

/*
	STATUS HIGHLIGHTS
*/
.status-highlights {
	border: solid 1px #F5A900;
	height: 38px;
	position: relative;
	display: block;
	width: 98%;
}

.status-highlights .highlight-text {
	position: relative;
	top: 12px;
	line-height: 100%;
}

.status-highlights .two-line-highlight-text {
	position: relative;
	top: 5px;
}

.status-highlights .two-line-highlight-text-with-description {
	position: relative;
	top: 2px;
}

.status-highlights .highlights-desc {
	position: absolute;
	bottom: 0px;
	left: 0px;
	text-align: center;
	background: #F5A900;
	font-size: 0.80em;
	color: #ffffff;
	line-height: 1em;
	padding: 1px 0px 0px 0px;
	margin: 0;
	text-transform: uppercase;
	width: 100%;
	height: 9px;
	overflow: hidden;
}


/*
	ROW HIGHLIGHTS - PRIMARY
*/

tr.primary-highlight td,
tr.primary-highlight th {
	background-color: #f5a900;
}

table.westjet-table tbody tr.primary-highlight td.first-side-heading {
	background: transparent url('/img/tables/table-outside-border-left-highlight-primary.jpg') repeat-y top left;
}

table.westjet-table tbody tr.primary-highlight td.last-side-heading {
	background: transparent url('/img/tables/table-outside-border-right-highlight-primary.jpg') repeat-y top right;
}

table.westjet-table tbody tr.primary-highlight .fade-left {
	background: transparent url('/img/tables/cell-background-left-highlight-primary.jpg') repeat-y top left;
}

table.westjet-table tbody tr.primary-highlight .fade-right {
	background: transparent url('/img/tables/cell-background-right-highlight-primary.jpg') repeat-y top right;
}

table.westjet-table tbody tr.primary-highlight .fade-both {
	background: transparent url('/img/tables/cell-background-124-highlight-primary.jpg') repeat-y top center;
}


/*
	ROW HIGHLIGHTS - SECONDARY
*/

tr.secondary-highlight td,
tr.secondary-highlight th {
	background-color: #009ad6;
}

table.westjet-table tbody tr.secondary-highlight td.first-side-heading {
	background: transparent url('/img/tables/table-outside-border-left-highlight-secondary.jpg') repeat-y top left;
}

table.westjet-table tbody tr.secondary-highlight td.last-side-heading {
	background: transparent url('/img/tables/table-outside-border-right-highlight-secondary.jpg') repeat-y top right;
}

table.westjet-table tbody tr.secondary-highlight .fade-left {
	background: transparent url('/img/tables/cell-background-left-highlight-secondary.jpg') repeat-y top left;
}

table.westjet-table tbody tr.secondary-highlight .fade-right {
	background: transparent url('/img/tables/cell-background-right-highlight-secondary.jpg') repeat-y top right;
}

table.westjet-table tbody tr.secondary-highlight .fade-both {
	background: transparent url('/img/tables/cell-background-124-highlight-secondary.jpg') repeat-y top center;
}


/*
	Table for forms
*/

#form-table tbody th,
#form-table tbody td {
	padding-top: 3px !important;
	padding-bottom: 3px !important;
	height: 20px !important;
	vertical-align: top !important;
}

#form-table tbody tr.row-separator td {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	height: 1px !important;
}

#form-table tr.secondary-heading-row th {
	background:url("/img/tables/form-table-secondary-header.jpg") repeat-x scroll left top transparent;
}

#form-table tr.secondary-heading-row th.first-side-heading {
	background: transparent url('/img/tables/side-header-left.jpg') no-repeat top left;
}

#form-table tr.secondary-heading-row th.last-side-heading {
	background: transparent url('/img/tables/side-header-right.jpg') no-repeat top right;
}

#form-table tr.secondary-footer-row th {
	background: transparent url('/img/tables/form-table-secondary-footer.jpg') repeat-x top left;
}

#form-table tr.secondary-footer-row th.first-side-heading {
	background: transparent url('/img/tables/side-header-bottom-left.jpg') no-repeat top left;
}

#form-table tr.secondary-footer-row th.last-side-heading {
	background: transparent url('/img/tables/side-header-bottom-right.jpg') no-repeat top right;
}