.dataTables_wrapper {
  margin: 50px;
}


.ERX_Box_Close {
	position: absolute;
	top: -11px;
	right: -11px;
	width: 22px;
	height: 22px;
	border: 2px solid white;
	background-color: black;
	text-align: center;
	border-radius: 15px;
	cursor: pointer;
	z-index: 12;
	box-shadow: 2px 2px 6px #111
}

.ERX_Box_Close:after {
	content: '\00d7';
	color: white;
	font-weight: bold;
	font-size: 18px;
	line-height: 22px;
	font-family: 'Courier New', Courier, monospace;
	padding-left: 1px;
}

.ERX_Box_Close:hover {
	background-color: #092079;
	box-shadow: 2px 2px 9px #111
}

.ERX_Box_Close:hover:after {
	color: red
}

.ERX_Box_Background {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.7);
	background: -ms-radial-gradient(center, ellipse farthest-corner, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
	background: -moz-radial-gradient(center, ellipse farthest-corner, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
	background: -o-radial-gradient(center, ellipse farthest-corner, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
	background: -webkit-gradient(radial, center center, 0, center center, 497, color-stop(0, rgba(0,0,0,0.3)), color-stop(1, rgba(0,0,0,0.7)));
	background: -webkit-radial-gradient(center, ellipse farthest-corner, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
	background: radial-gradient(ellipse farthest-corner at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
	z-index: 10
}

.ERX_Box_Content {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 780px;
	z-index: 11;
	transform: translate(-50%,-50%);
	box-shadow: 0 12px 30px 0 rgba(0,0,0,0.5)
}

.ERX_Box_Header {
	position: relative;
	top: 0;
	left: 0;
	height: 52px;
	width: 100%;
	background-color: #e8e9eb;
	border-bottom: 1px solid rgba(0,0,0,0.15);
	padding: 16px 10px 2px 16px;
	font-size: 1.3em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px
}

.ERX_Form_Error {
	float: left;
	padding: 5px;
	display: none;
	color: #b11f1f
}

.ERX_Box_Body {
	height: auto;
	position: relative;
	min-height: 52px;
	width: 100%;
	background: #fcfcfc
}

.ERX_Body_Content {
	height: auto;
	width: 100%;
	padding: 5px;
	box-sizing: border-box;
}

.ERX_Box_Footer {
	position: relative;
	bottom: 0;
	left: 0;
	height: 52px;
	width: 100%;
	background-color: #e8e9eb;
	border-top: 1px solid rgba(0,0,0,0.15);
	padding: 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px
}

.ERX_Field {
	position: relative;
	zoom: 1;
	clear: both;
	padding: 5px 15%;
	border: 1px solid transparent
}

.ERX_Field:hover {
	background-color: #f2f2f2;
	border: 1px solid #f0f0f0
}

.ERX_Field_Hidden{
	display: none;
}

.ERX_Label_Required:before {
	content: "* "
}

.ERX_Label {
	float: left;
	width: 30%;
	padding-top: 6px
}

.ERX_Field_Input {
	border-radius: 4px;
    width: 60%;
}

.ERX_Field_Input:invalid {
    color: red;
}

.ERX_Field_Input_TextArea{
    Height:150px;
}

.ERX_Field_Input_Image{
    height: 90%;
    width: 90%;
}

@media only screen and (max-width: 768px) {
	.ERX_Field {
		padding: 5px 10%
	}
}

@media only screen and (max-width: 640px) {
	.ERX_Field {
		padding: 5px 0
	}
}

@media only screen and (max-width: 580px) {
	.ERX_Field {
		position: relative;
		zoom: 1;
		clear: both;
		padding: 5px 0
	}

	.ERX_Label {
		float: none;
		width: auto;
		padding-top: 0
	}

	.ERX_Field_Input {
		float: none;
		width: auto
	}
}

@media only screen and (max-width: 780px) {
	.ERX_Box_Content {
		width: 100%;
		margin-left: 0;
	}
}

@media only screen and (max-width: 805px) {
	.ERX_Box_Close {
		right: 0px;
	}
}

.ERX_Box_Button {
	position: relative;
	text-align: center;
	display: block;
	margin-top: 0;
	padding: 0.5em 1em;
	cursor: pointer;
	float: right;
	margin-left: 0.75em;
	color: inherit;
	font-size: 14px;
	border: 1px solid #999;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-ms-border-radius: 2px;
	-o-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: 1px 1px 3px #ccc;
	-moz-box-shadow: 1px 1px 3px #ccc;
	box-shadow: 1px 1px 3px #ccc;
	background-color: #dcdcdc;
	background-image: -webkit-linear-gradient(top, #fff 0%, #dcdcdc 100%);
	background-image: -moz-linear-gradient(top, #fff 0%, #dcdcdc 100%);
	background-image: -ms-linear-gradient(top, #fff 0%, #dcdcdc 100%);
	background-image: -o-linear-gradient(top, #fff 0%, #dcdcdc 100%);
	background-image: linear-gradient(to bottom, #fff 0%, #dcdcdc 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#ffffff', EndColorStr='#dcdcdc')
}

.ERX_Box_Button:hover {
	border: 1px solid #426c9e;
	text-shadow: 0 1px 0 #c4def1;
	background-color: #79ace9;
	background-image: -webkit-linear-gradient(top, #bddef4 0%, #79ace9 100%);
	background-image: -moz-linear-gradient(top, #bddef4 0%, #79ace9 100%);
	background-image: -ms-linear-gradient(top, #bddef4 0%, #79ace9 100%);
	background-image: -o-linear-gradient(top, #bddef4 0%, #79ace9 100%);
	background-image: linear-gradient(to bottom, #bddef4 0%, #79ace9 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#bddef4', EndColorStr='#79ace9');
	outline: none
}

body.ERX_Box_Mobile .ERX_Box_Background {
	height: 0
}

body.ERX_Box_Mobile .ERX_Box_Content {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	width: auto;
	height: auto;
	margin-left: 0;
	-webkit-overflow-scrolling: touch;
	transform: initial;
}

body.ERX_Box_Mobile .ERX_Box_Close {
	top: 11px;
	right: 15px
}
