.overlay-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.5);
	z-index: 100;
	display: block;
}
.overlay-container.ng-hide {
	display: none;
}

.overlay {
	width: 600px;
	height: 500px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: none;
}
.overlay .container {
	height: 100%;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}
.overlay form {
	height: 100%;
	margin-bottom: 0;
}
.overlay form input.readonly {
	color: #828282;
	background-color: #f8f9f9;
	border-color: #b6b6b5;
}
.form-header, .form-body, .form-footer {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 12px 20px;
}
.form-header {
	position: relative;
	height: 55px;
	padding: 0;
	border-bottom: 1px solid #cccccc;
	background: #fff;
}
.form-header:before {
	content: "";
	position: absolute;
	display: block;
	height: 5px;
	top: -5px;
	left: 0;
	width: 100%;
	background-image: url(../img/pattern-gold.jpg);
	background-size: cover;

	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}
.form-header-title {
	color: #A08963;
	font-size: 1.143em;
	margin-bottom: 0;
	line-height: 55px;
	text-indent: 20px;
	color: #4b4b4a;
	font-family: 'Montserrat', sans-serif;
	float: left;
}

.form-footer {
	height: 50px;
	width: 100%;
	border-top: 1px solid #cccccc;

	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;

	background: #fff;
}
.form-body {
	height: 395px;
	background-color: #f8f8f8;
	overflow-y: scroll;
	overflow-x: hidden;
	padding-top: 30px;
}
.form-body.tinymce {
	padding: 0;
}
.form-footer .buttons-container {
	height: 31px;
	float: right;
}
.only-side-padding {
	padding-top: 0;
	padding-bottom: 0;
}

.form-header .close {
	display: block;
	width: 14px;
	height: 14px;
	background-color: transparent;
	border: none;
	background-image: url(../img/admin.png);
	background-position: -10px -58px;
	padding: 0;
	right: 20px;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	outline: none;
	cursor: pointer;
}