css:
	.lineup-email {
		font-family: "Helvaetica", sans-serif;
	}
	
	h3 {
		font-family: inherit;
		font-weight: bold;
		color: white;
	}
	
	.title-cell {
		font-weight:bold;
		background-color:#323669;
		color:#fff;
		padding:2px 5px;
	}
	
	.title-cell.out {
		background-color: rgb(244, 199, 195);
		color: black;
	}
	
	.sequence-cell {
		font-weight:bold;
		padding:2px 5px;
	}
	
	.name-cell {
		width:200px;
	}
	
.lineup-email
	table
		thead
			tr
				th.title-cell colSpan=3
					| STARTING LINEUP
		tbody
			- for entry in event_lineup_entries.select{|e| !e[:label].blank? and extract_flags(e)[1].exclude?(PositionLabelFlag::POSITION_ONLY)}
				tr
					td.sequence-cell
						| #{entry[:sequence].to_i+1}
					td.name-cell
						| #{entry[:member][:last_name]}, #{entry[:member][:first_name]} – ##{entry[:member][:jersey_number]}
					td
						| #{entry[:label]}
			tr
				th.title-cell colSpan=3 Starting (Pos. Only)
			- for entry in event_lineup_entries.select{|e| !e[:label].blank? and extract_flags(e)[1].include?(PositionLabelFlag::POSITION_ONLY)}
				tr
					td.sequence-cell
					td.name-cell
						| #{entry[:member][:last_name]}, #{entry[:member][:first_name]} - ##{entry[:member][:jersey_number]}
					td
						| #{extract_flags(entry)[0]}
			tr
				th.title-cell colSpan=3 Subs
			- for entry in event_lineup_entries.select{|e| e[:label].blank? and !(e[:availability_status_code] == "0" or e[:availability_status_code]== "")}
				tr
					td.sequence-cell
						- if entry[:availability_status_code] == "1"
							| YES
						- if entry[:availability_status_code] == "2"
							| MAY
					td.name-cell
						| #{entry[:member][:last_name]}, #{entry[:member][:first_name]} - ##{entry[:member][:jersey_number]}
					td
			tr
				th.title-cell.out colSpan=3 Out
			- for entry in event_lineup_entries.select{|e| e[:label].blank? and (e[:availability_status_code] == "0" or e[:availability_status_code]== "")}
				tr
					td.sequence-cell
						- if entry[:availability_status_code] == "0"
							| NO
						- if entry[:availability_status_code] == ""
							| UNK
					td.name-cell
						| #{entry[:member][:last_name]}, #{entry[:member][:first_name]} - ##{entry[:member][:jersey_number]}
					td



	