body {
    height: 100px;
    width: 100%;
    margin: 5px auto;
    overflow: visible;
    padding: 10px;
    font-family: arial, helvetica, sans-serif;
    font-size: 14px;
}

#container {
	max-width: 800px;
}

.bticinoPanel {
	font-size: 18px;	
}

.bticinoPanel img {
	height: 48px;
	width: 48px;	
}


/*
 * Context buttons
 */
table.context {
	color: white;
	border-collapse: separate !important;
	border-spacing: 20px 0px;	
 	font-size: 12px;
 	font-weight: bold;
}

table.context td {
	border: none;
	background: url(../img/backgrounds/context_1.png) center center no-repeat;		
}

table.context td.selected {
	color: black;				
}

.context td div {
	width: auto;
	min-width: 96px;
}


/*
 * Group of buttons
 */
div.group {
	background-color: #FFF;
	border: 1px solid;	
	margin: 15px auto;
	padding: 5px 20px;
	width: 400px;
	background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(200,200,200,0.1)), to(rgba(255,255,255,0.25)));
	background-image: -moz-linear-gradient(to bottom,rgba(200,200,200,0.1),rgba(255,255,255,0.25));
	box-shadow:rgba(0,0,0,0.5) 0px 0px 24px; 
	border-radius:12px;
	cursor: pointer;
	font-weight: bold;
}
	 
div.group table {
	margin: 15px auto 5px;	
	position: relative;
	top: -15px;
}

div.group p {
	position: relative;
	margin: 0;	
	width: auto;
	padding: 0 10px;
	background-color: transparent;
	display: inline;
	top: 0px;
}
	
div.group p.invisible {
	visibility: hidden;
}

/*
 * Components with small buttons
 */
table.small {
	table-layout: fixed;
	border-collapse: collapse;
	horizontal-align: center;
	background-color: #444;
}

.small div {
	height: 49px;	
	width: 49px;
	text-align: center;
	line-height: 49px;
}

.small td {
	border: 1px solid black;
	margin: 0px;
	vertical-align: top;
}

/*
 * Components with small buttons
 */
table.large {
	table-layout: fixed;
	border-collapse: collapse;
	horizontal-align: center;
	margin: 25px auto;
}

.large div {
	height: 51px;	
	width: 130px;
	text-align: center;
	line-height: 51px;
}

.large td {
	border: 1px solid black;
	margin: 0px;
	vertical-align: top;
}

/*
 * Onoff buttons
 */
table.onoff {
	background-color: transparent;
}

table.onoff td {
	border: none;
}

table.onoff_1 {
	background: url(../img/backgrounds/onoff_1.png) 0 0 no-repeat;				
}

table.onoff_2 {
	background: url(../img/backgrounds/onoff_2.png) 0 0 no-repeat;				
}

/*
 * Volume buttons
 */
table.volume {
	background-color: transparent;
}

table.volume td {
	border: none;
}

.volume_2 {
	background: url(../img/backgrounds/volume_2.png) 0 0 no-repeat;				
}

.volume_3 {
	background: url(../img/backgrounds/volume_3.png) 0 0 no-repeat;				
}

/*
 * Navigation components
 */
table.navigation {
	background-color: transparent;				
}

table.navigation td {
	border: none;				
}

.navigation .n_left {
	background: url(../img/n_left_32.png) center center no-repeat;
}

.navigation .n_right {
	background: url(../img/n_right_32.png) center center no-repeat;
}

.navigation .n_up {
	background: url(../img/n_up_32.png) center center no-repeat;
}

.navigation .n_down {
	background: url(../img/n_down_32.png) center center no-repeat;
}

.navigation_4 {
	background: url(../img/backgrounds/navigation_4.png) center center no-repeat;			
}

.navigation_5 {
	background: url(../img/backgrounds/navigation_5.png) center center no-repeat;			
}

.navigation_5_vol_ch {
	background: url(../img/backgrounds/navigation_5_vol_ch.png) 0 0 no-repeat;			
}

.navigation_5_vol_ch_home {
	background: url(../img/backgrounds/navigation_5_vol_ch_home.png) 0 0 no-repeat;			
}

.ntext {
	color: #FFF;
	font-weight: bold;
	font-size: 12px;				
}

td.n_up {
	background: url(../img/icons/up.png) center center no-repeat;
}

td.n_down {
	background: url(../img/icons/down.png) center center no-repeat;
}

td.n_left {
	background: url(../img/icons/left.png) center center no-repeat;
}

td.n_right {
	background: url(../img/icons/right.png) center center no-repeat;
}

td.n_ok {
	background: url(../img/icons/ok.png) center center no-repeat;
}

td.n_home {
	background: url(../img/icons/home.png) center center no-repeat;
}

/*
 * Keypad components
 */
table.keypad {
 	color: #FFF;
 	background-color: transparent;
 	font-weight: bold;
}

table.keypad td {
	border: none;				
}

.keypad td.k_text {
 	text-align: center;
	vertical-align: bottom;
} 
 
.keypad td.k_text span {
 	display: block;
}
 
table.k_text {
 	margin: 0 auto !important;
 	font-size: 12px;
 	font-weight: bold;
 	color: black;
}
 
table.k_text div {
 	width: 96px;
 	text-align: center;
}
 
.keypad10 {
 	background: url(../img/backgrounds/keypad_10.png) center center no-repeat;
}
 
.keypad12 {
 	background: url(../img/backgrounds/keypad_12.png) center center no-repeat;
}
 
/*
 * Play buttons
 */
table.play {
 	color: #FFF;
 	background-color: transparent;
}
 
table.play td {
	border: none;				
}

.play_small_4 {
 	background: url(../img/backgrounds/play_small_4.png) 0	0 no-repeat;
}
 
.play_small_5 {
 	background: url(../img/backgrounds/play_small_5.png) 0	0 no-repeat;
}
 
.play_small_6 {
 	background: url(../img/backgrounds/play_small_6.png) 0	0 no-repeat;
}
 
.play_small_7 {
 	background: url(../img/backgrounds/play_small_7.png) 0	0 no-repeat;
}

td.p_rewind {
	background: url(../img/icons/rewind.png) center	center no-repeat;
}

td.p_forward {
	background: url(../img/icons/forward.png) center center no-repeat;
}

td.p_play {
	background: url(../img/icons/play.png) center center no-repeat;
}

td.p_pause {
	background: url(../img/icons/pause.png) center center no-repeat;
}

td.p_record {
	background: url(../img/icons/record.png) center center no-repeat;
}

td.p_stop {
	background: url(../img/icons/stop.png) center center no-repeat;
}

td.p_skipback {
	background: url(../img/icons/skipback.png) center center no-repeat;
}

td.p_skipfwd {
	background: url(../img/icons/skipfwd.png) center center no-repeat;
}

/*
 * Color buttons
 */
table.color {
 	border-collapse: separate;
 	border-spacing: 16px;
 	background-color: transparent !important;
}
 
.color div {
 	height: 16px !important;
}
 
.color .red {
 	background-color: #F00;
}
 
.color .green {
 	background-color: #0F0;
}
 
.color .yellow {
 	background-color: #FF0;
}
 
.color .blue {
 	background-color: #00F;
}
 
/*
 * Menu buttons
 */
table.menu {
	border-collapse: separate;
	border-spacing: 20px 0px;	
	background-color: transparent;
 	font-size: 12px;
 	font-weight: bold;
}

table.menu td {
	border: none;				
}


.menu td div {
	width: auto;
	min-width: 96px;
}

.menu td.upper {
	min-width: 16px;
}

.menu td.lower {
	min-width: 32px;
}

.menu_1 {
	background: url(../img/backgrounds/menu_1.png) center center no-repeat;		
}

.menu_2 {
	background: url(../img/backgrounds/menu_2.png) center center no-repeat;		
}

.menu_3 {
	background: url(../img/backgrounds/menu_3.png) center center no-repeat;		
}

.menu_1_home {
	background: url(../img/backgrounds/menu_1_home.png) center center no-repeat;		
}

.menu_2_home {
	background: url(../img/backgrounds/menu_2_home.png) center center no-repeat;		
}

.menu_3_home {
	background: url(../img/backgrounds/menu_3_home.png) center center no-repeat;		
}

td.m_home {
	color: white;
}

/*
 * Info buttons
 */
table.info {
	color: #444;
 	background-color: transparent;				
}

.info_3 {
	background: url(../img/backgrounds/info_3.png) center center no-repeat !important;
}

.info_4 {
	background: url(../img/backgrounds/info_6.png) center center no-repeat;
}

.info_5 {
	background: url(../img/backgrounds/info_6.png) center center no-repeat;
}

.info_6 {
	background: url(../img/backgrounds/info_6.png) center center no-repeat;
}

table.info td {
	border: none;				
}

/*
 * Room buttons
 */ 
table.room td.active {
	color: #0F0;				
}

/*
 * Source buttons
 */
table.source div {
	width: 64px;
	height: 51px;
}

table.source {
	text-align: center;
}

table.source td.active {
	color: #0F0;
}

table.source tr.button td.invisible {
	background: none;				
}

table.source tr.text td {
	line-height: 48px;
	font-size: 12px;
	font-weight: bold;	
	background: url(../img/backgrounds/source.png) center center no-repeat;			
}

table.source tr.button td {
	line-height: 48px;
	font-size: 12px;
	font-weight: bold;	
	background: url(../img/backgrounds/onoff_1.png) center center no-repeat;			
}




