.button {
    padding: 5px 10px;
    display: inline;
//    background: #777 url(button.png) repeat-x bottom;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-shadow: 0px 0px #666;
    }
.button:hover {
    background-position: 0 -48px;
	background-color: #E0E0E0;
    }
.button:active {
    background-position: 0 top;
    position: relative;
    top: 1px;
    padding: 6px 10px 4px;
    }
.button.blue { background-color: #2C6DA0; }
.button.black { background-color: #333; }
.button.grey { background-color: #E0E0E0; }
.button.white { background-color: #FFF; color: #000; text-shadow: 1px 1px #FFF; }
.button.small { font-size: 75%; padding: 3px 7px; }
.button.small:hover { background-position: 0 -50px; 	background-color: #F0F0F0; }
.button.small:active { padding: 4px 7px 2px; background-position: 0 top; }
.button.large { font-size: 125%; padding: 7px 12px; }
.button.large:hover { background-position: 0 -35px; }
.button.large:active { padding: 8px 12px 6px; background-position: 0 top; }

#dialogoverlay{
	display: none;
	opacity: .8;
	position: fixed;
	top: 0px;
	left: 0px;
	background: #FFF;
	width: 100%;
	z-index: 10;
}
#dialogbox{
	display: none;
	position: fixed;
	background: #2C6DA0;
	border-radius:4px; 
	width:250px;
	z-index: 10;
}
#dialogbox > div{ background:#FFF; margin:4px; }
#dialogbox > div > #dialogboxhead{ background: #E7E3E7; font-family:"Arial"; font-size:12px; font-weight:bold; padding:10px; color:#2C6DA0; word-wrap:break-word; }
#dialogbox > div > #dialogboxbody{ background:#F7F3F7; font-family:"Arial"; font-size:12px; padding:20px; color:#202020; word-wrap:break-word; }
#dialogbox > div > #dialogboxfoot{ background: #E7E3E7; padding:10px; text-align:right; }

.menuitem {
	width: 180px;
	cursor: pointer;
	padding: 3px; 
	margin: 5px;
	text-align: center;
	background-color: #B4D0E0;
}

.menuitem:hover {
	background-color: #D2E0F0;
}

.back {
	background-color:#FFF; 
	color:#444; 
	border:1px solid #CCC; 
	border-radius: 4px;
	font-family:Arial, sans-serif;
	margin-top:10px; 
	height:24px; 
	padding:4px 6px 4px 6px; 
	font-size:12px; 
	box-shadow:none;
	cursor:pointer;
}
.back:hover {
	background-color:#E6E6E6;
}
