#modalOverlay {
	width:100%;
	height:100%;
	z-index:2; /* places the modal overlay between the main page and the modal dialog*/
	background-color: rgba(75, 40, 109, 0.8);
	position:fixed;
	top:0;
	left:0;
	display:none;
	margin:0;
	padding:0;
}

#modal form label {
	font-size: 20px;
	line-height: 23px;
	font-weight: 300;
}

.modal {
	position:fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	    -ms-transform: translate(-50%, -50%);
	        transform: translate(-50%, -50%);

	width: 30em;
	max-width: 100%;
	max-height: 100%;

	font-size: 20px;
	padding: 40px;
	border: thin #000 solid;
	background-color:#fff;
	overflow-y: auto;
	z-index:300;
}
.modal h1 {
	color: #4b286d;
	font-family: "Helvetica Neue Light", helvetica, sans-serif;
	font-size: 36px;
	font-weight: 300;
	line-height: 43px;
	max-width: 50%
}

.modal p {
	font-size: 20px;
	line-height: 23px;
	font-weight: 300;
}

.modal .btn-primary {
	margin-top: 20px;
	background-color: #66cc00;
	background-image: none;
	box-shadow: none;
	font-size: 20px;
	line-height: 23px;
	padding: 15px 25px;
}

.modalCloseButton {
	float:right;
	position:absolute;
	top:-140px;
	right:10px;
	height:25px;
	padding: 0;
	background-color: #FFFFFF;
}

.screen-reader-offscreen {
	position:absolute;
	left:-999px;
	width:1px;
	height:1px;
	top:auto;
}

.modal input,
.modal select {
	display: block;
	width: 100%;
	padding: 5px;
	max-width: 100%;
	padding: 0.5em;
	font-family: "Helvetica Neue Light", helvetica, sans-serif;
	border: 1px solid #d2d2d2;
	border-radius: 2px;
	margin-bottom: 1em;
	box-sizing: border-box;
}

.modal button {
	border: none;
}

.modal label {
	font-weight: 700;
}

.modal-guts

.modal-guts {

  /* other stuff we already covered */

  /* cover the modal */
/*
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
*/

  /* spacing as needed */
  padding: 20px 50px 20px 20px;

  /* let it scroll */
  overflow: auto;

}
.modal.hidden,
.modal .hidden {
	display: none;
	visibility: visible;
}

.modal .submit-message {
	background: #eee;

	border-radius: 4px;
	padding: .5em 1em;
}

.modal .submit-message.success,
.modal .submit-message.error {
	display: block;
}

.model .submit-message.error {
	background: #fde9ed;
}

.modal .submit-message.error::before {
    font-family: 'TelusDings';
    content: 'X ';
}
