.block {
	position:relative;
	width:auto;
	background-color:#fff;
	border:1px solid #999;
	border:1px solid rgba(0,0,0,0.3);
	*border:1px solid #999;
/* IE6-7 */
	-webkit-border-radius:6px;
	-moz-border-radius:6px;
	border-radius:6px;
	-webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);
	-moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);
	box-shadow:0 3px 7px rgba(0,0,0,0.3);
	-webkit-background-clip:padding-box;
	-moz-background-clip:padding-box;
	background-clip:padding-box;
}

.block.fade {
	-webkit-transition:opacity .3s linear,top .3s ease-out;
	-moz-transition:opacity .3s linear,top .3s ease-out;
	-ms-transition:opacity .3s linear,top .3s ease-out;
	-o-transition:opacity .3s linear,top .3s ease-out;
	transition:opacity .3s linear,top .3s ease-out;
	top:-25%;
}

.block.fade.in {
	top:50%;
}

.block-header {
	padding:6px 12px;
	border-bottom:1px solid #eee;
}

.block-header .close {
	margin-top:2px;
}

.block-body {
	overflow-y:auto;
	padding:4px;
}

.block-form {
	margin-bottom:0;
}

.block-footer {
	padding:14px 15px 15px;
	margin-bottom:0;
	text-align:right;
	background-color:#f5f5f5;
	border-top:1px solid #ddd;
	-webkit-border-radius:0 0 6px 6px;
	-moz-border-radius:0 0 6px 6px;
	border-radius:0 0 6px 6px;
	-webkit-box-shadow:inset 0 1px 0 #fff;
	-moz-box-shadow:inset 0 1px 0 #fff;
	box-shadow:inset 0 1px 0 #fff;
	*zoom:1;
}

.block-footer:before,.block-footer:after {
	display:table;
	content:"";
}

.block-footer:after {
	clear:both;
}

.block-footer .btn + .btn {
	margin-left:5px;
	margin-bottom:0;
}

.block-footer .btn-group .btn + .btn {
	margin-left:-1px;
}


h4 { margin: 0 0 10px 0 !important; }
