/* CSS Document */
#ModalOverlay {
	background-color:#000;
}

#ModalContainer {
	left: 50%;
	top: 15%;
}

.modalClose {
	z-index: 100000;
	cursor: pointer;
	display: block;
	position: absolute;
	height: 20px;
	width: 20px;
	right: 10px;
	top: 10px;
	background: url('close.gif') no-repeat;
}

#ModalLoadingOverlay {
	background: #000;
	cursor: pointer;
}

#ModalLoadingIndicator {
	width: 100px;
	height: 100px;
	margin-left: -50px;
	margin-top: -50px;
	background: url(loading.gif) no-repeat;
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 30001;
}

#ModalContentContainer {
	-webkit-box-shadow: 0 0 30px 4px #777;
	-moz-box-shadow: 0 0 30px 4px #777;
	box-shadow: 0 0 30px 4px #777;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-background-clip: padding-box;
}

#ModalTitle, .ModalTitle {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	background: #f2f4f7;
	color: #313131;
	font-size: 110%;
	font-weight: bold;
	padding: 10px 14px;
	border: 1px solid #606263;
	border-bottom-color: #b8b8b8;
	-webkit-background-clip: padding-box;
	text-align: left;
}

#ModalContent, .ModalContent {
	border: 1px solid #606263;
	border-top-width: 0;
	background: #fff;
	margin: 0;
	text-align: left;
	color: #444;
	padding: 10px;
}

#ModalContent a, .ModalContent a {
    color: #444;
}

.ModalContentWithButtons .ModalContent, .ModalContentWithButtons #ModalContent {
	margin-bottom: 0;
	border-bottom-width: 0;
}

#ModalButtonRow, .ModalButtonRow {
	border: 1px solid #606263;
	border-top-color: #919394;
	background: #e7ebf0;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-background-clip: padding-box;
	text-align: right;
	padding: 4px 8px;
	height: 30px;
	line-height: 30px;
}

#ModalButtonRow input, .ModalButtonRow input {
	text-align: center;
}

#ModalButtonRow input.Submit, .ModalButtonRow input.Submit,
#ModalButtonRow input.SubmitButton, .ModalButtonRow input.SubmitButton {
	font-weight: bold;
}

/*#ModalTopBorder {
	position: absolute;
	height: 11px;
	background: url('border-topbottom.png') repeat-x  0 0;
	top: -9px;
	left: 12px;
	right: 26px;
}

#ModalBottomBorder {
	position: absolute;
	height: 15px;
	background: url('border-topbottom.png') repeat-x 0 -11px;
	bottom: -14px;
	left: 12px;
	right: 26px;
}

#ModalRightBorder {
	position: absolute;
	background: url('border-sides.png') repeat-y 0 scroll;
	right: -20px;
	width: 20px;
	top: 34px;
	bottom: 25px;
}

#ModalLeftBorder {
	position: absolute;
	background: url('border-sides.png') repeat-y -37px scroll;
	left: -20px;
	width: 20px;
	top: 34px;
	bottom: 24px;
}

#ModalBottomLeftCorner {
	position: absolute;
	background: url('border-corners.png') no-repeat 0 -24px;
	bottom:-16px;
	height:40px;
	left:-8px;
	width:20px;
}

#ModalTopRightCorner {
	position: absolute;
	background: url('border-corners.png') no-repeat -22px 0;
	top:-6px;
	height:40px;
	right:-14px;
	width:40px;
}

#ModalTopLeftCorner {
	position: absolute;
	background: url('border-corners.png') no-repeat 0 0;
	top:-6px;
	height:40px;
	left:-8px;
	width:20px;
}

#ModalBottomRightCorner {
	position: absolute;
	background: url('border-corners.png') no-repeat -22px -23px;
	bottom:-15px;
	height:40px;
	right:-14px;
	width:40px;
}*/

/*.ModalContentWithButtons #ModalLeftBorder {
	bottom: 30px;
}

.ModalContentWithButtons #ModalBottomLeftCorner {
	bottom: -10px;
}

.ModalContentWithButtons #ModalBottomBorder {
	bottom: -8px;
}

.ModalContentWithButtons #ModalBottomRightCorner {
	bottom: -9px;
}

.ModalContentWithButtons #ModalRightBorder {
	bottom: 31px;
}


*/