.modal_box_bg {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.8);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 97;
}
.modal_mask * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }
.modal_mask {
    background-color: #fff;
    border: 1px solid #666666;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    height: auto;
    left: 50%;
    margin-left: -40%;
   /* padding: 1.25em; */
    position: fixed;
    top: 50px;
    width: 80%;

/*	Removed by Developers to be controlled by DialogManager
    z-index: 98;
	visibility: hidden; */
}
.modal_mask.modal_mask_cover {
    background-color: transparent;
    border: none;
    box-shadow: none;
}
.modal_mask .column, .modal_mask .columns {
    min-width: 0;
}
.modal_mask > *:first-child {
    margin-top: 0;
}
.modal_mask > *:last-child {
    margin-bottom: 0;
}
.modal_mask .close_modal_mask {
    color: #aaaaaa;
    cursor: pointer;
    font-size: 1.375em;
    font-weight: bold;
    line-height: 1;
    position: absolute;
    right: 0.6875em;
    top: 0.5em;
}


@media only screen and (min-width: 768px) {
	.modal_mask {
		/* padding: 1.875em; */
		top: 6.25em;
	}
	.modal_mask.tiny_box {
		margin-left: -15%;
		width: 30%;
	}
	.modal_mask.small_box {
		margin-left: -20%;
		width: 40%;
	}
	.modal_mask.medium_box {
		margin-left: -30%;
		width: 60%;
	}
	.modal_mask.large_box {
		margin-left: -35%;
		width: 70%;
	}
	.modal_mask.xlarge_box {
		margin-left: -47.5%;
		width: 95%;
		max-width: 960px; 
	}
}

.modal_mask h3 { margin-bottom: 1.25em; }
.modal_mask .close_modal_box { text-decoration: none; font-size: 22px; line-height: .5; position: absolute; top: 8px; right: 11px; color: #aaaaaa; text-shadow: 0 -1px 1px rbga(0,0,0,.6); font-weight: bold; cursor: pointer; } 
.modal_mask form .col-1-1 { padding-right: 0px; }
.modal_mask form label { text-align: left; }
.modal_mask video { margin: 0 auto; }

.close_action {} /* Used to allow an element to close the modal window. This is a flag for the Javascript to attach the close handler to. */