div.screen-row div,
div.screen-row-half-sized div {
	border: 2px solid #666666;
	background-color: #FFFFFF;
	float: left;
	text-align: center;
	padding-top: 0px;
}

div.screen-row div {
	padding-top: 0px;
}

div.screen-row-half-sized div {
	padding-top: 0px;
}


div.landscape {
	width: 137px;
	height: 77px;
}

div.portrait {
	width: 77px;
	height: 137px;	
}

div.screen-row-half-sized div.landscape {
	width: 68px;
	height: 40px;	
}

div.screen-row-half-sized div.portrait {
	width: 36px;
	height: 78px;
}

div.screen-row-quater-sized div.landscape {
	width: 34px;
	height: 20px;	
}

div.screen-row-quater-sized div.portrait {
	width: 20px;
	height: 34px;
}


div.screen-row {
	clear: both;
	width: 600px;
}

div.screen-row-half-sized {
	clear: both;
	width: 600px;
	height: 25px;
	font-size: 9pt;	
}

table.middle,
table.middle tr,
table.middle tr td {
	text-align: center;
	vertical-align: middle;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}

div.screen:hover,
div.screen:active {
	background-color: #EEEEEE;	
}

.screen-selected {
	background-color: #CCCCCC !important;	
}

.disabled {
	background-color: #999999 !important;	
}

div.small-matrix {
	margin: 0px auto 0px auto;
}

div.small-matrix div.landscape {
	width: 19px;
	height: 11px;
}

div.small-matrix div.portrait {
	width: 11px;
	height: 19px;	
}

div.small-matrix div.selected {
	background-color: #CCCCCC !important;	
}

div.small-matrix div.screen-row {
	
}

div.small-matrix div.screen-row div {
	border: 1px solid #666666;
	background-color: #FFFFFF;
	float: left;
	text-align: center;
	padding-top: 0px;
}


div.medium-matrix {
	margin: 0px auto 0px auto;
}

div.medium-matrix div.landscape {
	width: 28px;
	height: 17px;
}

div.medium-matrix div.portrait {
	width: 17px;
	height: 28px;	
}

div.medium-matrix div.selected {
	background-color: #CCCCCC !important;	
}

div.medium-matrix div.screen-row {

}

div.medium-matrix div.screen-row div {
	border: 1px solid #666666;
	background-color: #FFFFFF;
	float: left;
	text-align: center;
	padding-top: 0px;
}


div.large-matrix {
	margin: 0px auto 0px auto;
}

div.large-matrix div.landscape {
	width: 38px;
	height: 22px;
}

div.large-matrix div.portrait {
	width: 22px;
	height: 38px;	
}

div.large-matrix div.selected {
	background-color: #CCCCCC !important;	
}

div.large-matrix div.screen-row {

}

div.large-matrix div.screen-row div {
	border: 1px solid #666666;
	background-color: #FFFFFF;
	float: left;
	text-align: center;
	padding-top: 0px;
}