[ttype="modal"] {
	text-align:center;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 0;
	white-space: nowrap;
}

[ttype="modal"] > .modal-window {
	text-align:left;
	display:inline-block;
	margin:0 auto;
	position:relative;
	z-index:555;
	min-width: 250px;
	vertical-align:middle;
	#zoom: 1;
	#display: inline;
}

[ttype="modal"] > .modal-bar {
	line-height: 100%;
	height: 100%;
	display: inline-block;
	vertical-align: middle;
	width: 0;
}

[ttype="modal"] > .modal-window > .modal-content {
	-moz-box-shadow: 0 0 20px #000000;
	-webkit-box-shadow: 0 0 20px #000000;
	box-shadow: 0 0 20px #000000;
	position: relative;
	z-index: 1;
	vertical-align: baseline;
	white-space: normal;
}

[ttype="modal"] > .modal-window > .modal-content > .modal-body {
	padding: 10px;
	min-height: 20px;
	max-height:450px;
	overflow: auto;
	position: relative;
}

[ttype="modal"].fullscreenModal > .modal-window > .modal-content > .modal-body {
	max-height: 5000px;
}

[ttype="modal"] > .modal-window > .modal-content > .modal-header > div.title {
	background-position: 0 -10px;
	background-repeat: repeat-x;
	padding: 7px 3px 3px 7px;
	font-weight: bold;
}

[ttype="modal"] > .modal-window > .modal-content > .modal-header > div.title > div.title-content {
	position:relative;
	top:-2px;
}

[ttype="modal"] > .modal-window > .modal-content > .modal-header > div.title > div.title-content > .title-value {
	font-size:14px;
	z-index:2;
}

[ttype="modal"] > .modal-window > .modal-content > .modal-header > div.title > .modal-close-button {
	align: right;
	background-image: url(../userinterface/heals/close-button.png);
	width: 17px;
	height: 17px;
	position: absolute;
	right: 6px;
	top: 6px;
	cursor: pointer;
}

[ttype="modal"] > .modal-window > .modal-content > .toolbar {
	border-top-style: solid;
	border-top-width: 1px;
	padding:4px;
	padding-left:10px;
}

.modal-area {
	text-align:center;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1000; /* Valor 1000 por causa do header */
}

.modal-area > .modal-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: #222222;
	opacity: 0.6;
	filter: alpha(opacity=60);
	z-index: 0;
}

.modal-area > .modal-overlay.lightOverlay {
	background-color: #FFFFFF;	
}