modal {
	/* modals are hidden by default */
	display: none;
}
.custom-modal {
	/* modal container fixed across whole screen */
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	/* z-index must be higher than .modal-background */
	z-index: 1000;
	background-color:rgba(0,0,0,.5);

	/* enables scrolling for tall modals */
	overflow: auto;
}

.custom-modal>.modal-background{
	background-color: #FFFFFF;
	margin-left: 30px;
	margin-right: 30px;
}
.modal-body {
	padding: 20px;
	background: #fff;
	/* margin exposes part of the modal background */
	margin: 40px;
	border-radius: 15px;
}

.modal-background {
	/* modal background fixed across whole screen */
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	/* semi-transparent black  */
	background-color: #000;
	opacity: 0.75;

	/* z-index must be below .modal and above everything else  */
	z-index: 900;
}

body.modal-open {
	/* body overflow is hidden to hide main scrollbar when modal window is open */
	overflow: hidden;
}

connect-management-save-client-modal .connect-mgmt-modal-body, connect-management-save-user-modal  .connect-mgmt-modal-body {
	margin: 0;
	padding: 30px;
}

.connect-mgmt-modal-body > form, .connect-mgmt-modal-body > form > .form-group:first-child {
	margin-top: 0;
}

.connect-mgmt-modal-header {
	padding: 15px 30px;
}
