/* ecare next modal dialogs */

#overlay {
    display: none;
    position: fixed;
    z-index:100;
    top: 0px;
    left: 0px;
    height:100%;
    width:100%;
    background: #000;
    opacity: 0.50;
    filter: alpha(opacity = 50);
}

.modal {
	display: none;
	position: fixed;
	overflow: auto;
	color: #202020;
	background: #fff;
	font-size: 13px;
	padding: 15px;
	border-radius: 5px;
	box-shadow: 0 0 16px rgba(0, 0, 0, 0.7);
}

.modal-header {
	color: #fff;
	background: #c4a25f;
	font-weight: bold;
	height: 18px;
	line-height: 18px;
	padding: 5px 10px;
	border: 1px solid #977D3D;
	border-radius: 3px 3px 0px 0px;
	margin: -12px -12px 15px -12px;
}

.modal.center-hdr .modal-header {
	text-align: center;
	font-size: 15px;
	padding: 8px;
}

.modal.scrollable .modal-header {
	margin-bottom: 0px;
}

.modal.scrollable .modal-body {
	margin: 0 -14px -14px -14px;
	overflow-y: scroll;
}

.modal-x {
	float: right;
	margin: 0 0 0 18px;
	width: 18px;
	height: 18px;
	background: url(images/modal-close.png) no-repeat top;
	cursor: pointer;
}

.modal-x:hover {
	background-position: bottom;
}

.modal .hdr-btns {
	padding: 0 0 15px 0;
}

.modal .ftr-btns {
	padding: 15px 0 0 0;
	text-align: right;
}

.modal .form-btns {
	border: none !important;
}

.modal.dynamic {
	padding-bottom: 55px;
}

.modal.dynamic .form-btns {
	position: absolute;
	bottom: 15px;
	width: 100%;
	box-sizing: border-box;
}