
/*Added when iframe was implemented*/
.demoform-control-container {
    position: absolute;
    z-index:100;
    /*margin-top: -25%;*/
    top: 80px;
    border: 1px solid;
    padding: 20px;
    pointer-events: all;
}
.demoform-control-container.demoform-container .student-message {
    position: relative;
	
	padding: 8px 17px;
	font-family: "Montserrat", Helvetica, sans-serif;
	font-weight: 300;
	font-size: 18px;
	color: #FFFFFF;
	letter-spacing: 0;
	line-height: 22px;

    display:none;
}
.demoform-control-container.demoform-container .student-message.show {
    display:block;
}

.demoform-container input, select, textarea {
	padding-left: 10px;
	font-size: 14px;
}
.demoform-container select option:first-child {
	font-size: 14px;
	color: #AAA;
}
.demoform-container textarea {
	padding-top: 4px;
	resize: vertical;
}
.demoform-container {
	font-size: 14px;
	color: #fff;
	width: 475px;
}
.demoform-container.dark {
	font-size: 14px;
	color: #000;
}
.demoform-container:not(.demoform-control-container) {
	position: relative;
	height: auto;
}
.demoform-container .inner-demoform {
	width:500px;	
}
.demoform-container select {
	width: 484px;
	height: 38px;
}
.demoform-container select.list {
	height: 100px;
}
.demoform-container select.list option:first-child {
	color: #000;
}
.demoform-container input, .demoform-container textarea {
	border-radius: 7px;
    border-style: solid;
    background-color: #fff;
    border-color: rgba(0, 0, 0, .7);
    border-width: 1px;
    background-image: none;
}

/*radio*/
.demoform-container input[type="radio"] {
    vertical-align: middle;
    margin-top: -3px;
	margin-left: 28px;
}
.demoform-container input[type="radio"]:first-of-type {
    margin-left: 36px;
}
/*
.demoform-container input[type="radio"] + label {
    margin-left: 28px;
}
.demoform-container input[type="radio"]:first-of-type + label {
    margin-left: 36px;
}
*/
.demoform-container .radiorow {
    text-align: left;
    padding-bottom: 0px;
}
.demoform-container .radiorow-alignment {
    padding-left: 8px;
	padding-right: 8px;
    font-size:18px;
	
	text-align: center;
	font-size: 16px;
	color: #FFFFFF;
	letter-spacing: 0;
	font-family: "Montserrat", Helvetica, sans-serif;
	font-weight: 500;
	text-transform: uppercase;
}
/* hide the regular radio button */
/*.demoform-container input[type="radio"] {
  opacity: 0;
  position: absolute;
}*/
 
/* position the label */
/*#pardot-form .pd-radio input, .pd-radio label {
  display: inline-block;
  vertical-align: middle;
  margin: 0px 0 1px;
  cursor: pointer;
}
#pardot-form .pd-radio label {
  position: relative;
}*/
 
/* style the unchecked radio button */
/*.demoform-container input[type="radio"]+label:before {
  content: '';
  background: transparent;
  border: 1px solid #fff;
  display: inline-block;
  vertical-align: inherit;
  width: 13px;
  height: 13px;
  padding: 0px;
  margin-right: 5px;
  text-align: center;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
}
.demoform-container input[type="radio"]+label:before {
  border-radius: 50%;
}
*/ 
/* style the selected radio button */
/*.demoform-container input[type="radio"]:checked+label:before {
  content: "\25CF";
	background: #FFF;
	color: #EF9331;
	border-color: #FFF;
	font-size: inherit;
}*/




.demoform-container .student-message {
    padding-left: 8px;
    position:absolute;
}

.demoform-control-container + iframe {
	width:550px;
}

.demoform-container .student-message,
.demoform-container .inner-demoform.hide,
.demoform-container .btn-container.hide,
.demoform-control-container + iframe,
.demoform-control-container.hide {
    opacity: 0.0;
    
    visibility: hidden;

    -webkit-transition: visibility 150ms ease-in-out, opacity 150ms ease-in-out;
    -o-transition: visibility 150ms ease-in-out, opacity 150ms ease-in-out;
    -moz-transition: visibility 150ms ease-in-out, opacity 150ms ease-in-out;
    transition: visibility 150ms ease-in-out, opacity 150ms ease-in-out;
    
    pointer-events:none;
}

.demoform-container .inner-demoform,
.demoform-container .btn-container,
.demoform-container .student-message.show,
.demoform-control-container + iframe.show {
    opacity: 1.0;
    
    visibility: visible;

    -webkit-transition: visibility 150ms ease-in-out, opacity 150ms ease-in-out;
    -o-transition: visibility 150ms ease-in-out, opacity 150ms ease-in-out;
    -moz-transition: visibility 150ms ease-in-out, opacity 150ms ease-in-out;
    transition: visibility 150ms ease-in-out, opacity 150ms ease-in-out;
}
.demoform-container form.hide {
    opacity:0.0;
    visibility: hidden;
}

/*custom select*/
 select {
	padding: 1px 0px 0px 10px;
	background: #fff;
	color: #000;
	border: 1px solid rgba(0, 0, 0, .7);
	border-radius: 7px;
	display: inline-block;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	outline: none;
}
label.dropdown select:-moz-focusring {
	color: transparent;
}
label.dropdown select::-ms-expand {
	display: none;
}
/*label.dropdown:before {
	content: '';
	right: 5px;
	top: -7px;
	width: 30px;
	height: 33px;
	background: #f8f8f8;
	position: absolute;
	pointer-events: none;
	display: block;
}
label.dropdown { position: relative; }
label.dropdown:after {
	content: '>';
	font: 16px Consolas, monospace;
	color: #444;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
	right: 2px;
	top: -3px;
	border-bottom: 1px solid #aaa;
	position: absolute;
	pointer-events: none;
	width: 35px;
	padding: 0 0 5px 0;
	text-indent: 14px;
}
@media screen\0 {
	label.dropdown:after {
		width: 38px;
		text-indent: 15px;
		right: 0;
	}
}
@media screen and (min--moz-device-pixel-ratio:0) {
	label.dropdown select { padding-right: 40px; }
	label.dropdown:before { right: 6px; }
	label.dropdown:after {
		text-indent: 14px;
		right: 6px;
		top: -5px;
		width: 36px;
	}
}
*/

.demoform-container input[type=text], .demoform-container textarea {
	width: 483px;
	height: 38px
}
.demoform-container input[type=checkbox]:not(.cstm) {
	width: 17px;
	height: 16px
}

/*checkbox with custom graphic*/
.demoform-container input[type=checkbox].cstm {
	/*original*/
	/*position:absolute; z-index:-1000; top:-1000px; overflow: hidden; clip: rect(0 0 0 0); height:1px; width:1px; margin:-1px; padding:0; border:0;*/
	
	position: absolute; 
    overflow: hidden; 
    clip: rect(0 0 0 0); 
    height:1px; 
    width:1px; 
    margin:-1px; 
    padding:0;
    border:0;
}
.demoform-container input[type=checkbox].cstm + label {
	/*is not required for custom image. This is used simply for cosmetics*/
	margin:5px 0 10px 13px;

	
	padding-left:20px;
	height:15px; 
	display:inline-block;
	line-height:15px;
	background-repeat:no-repeat;
	background-position: 0 0;
	font-size:15px;
	vertical-align:middle;
	cursor:pointer;
}

.demoform-container input[type=checkbox].cstm:checked + label {
	background-position: 0 -15px;
}
.demoform-container input[type=checkbox].cstm + label {
	background-image:url(../png/lite-green-check.png);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}



.demoform-container textarea {
	height: 130px;
	overflow: auto;
}
.demoform-container input.short[type=text] {
	width: 234px;
}
.demoform-container table td {
	padding-bottom: 5px;
}
.demoform-container table td.dblleft {
	padding-right: 8px;
}
.demoform-container table td.dblright {
	padding-left: 8px;
}
.demoform-container input.required[type=text] {
	border: 1px solid #ef4023;
}
/*input, select, textarea {
	font-family: ProximaNova, proxima-nova, Arial, Helvetica, sans-serif
}*/
.demoform-container .btn-container {
	text-align: center;
	padding-top: 20px;
	cursor: pointer;
	position: relative;
	width: 100%;
}
.absbusybkg {
	position:absolute;
	width:100%;
	background:url(../gif/busy-loader-360-mini-light-x25.gif) no-repeat center center;
	z-index:100;	
	top:0;
	left:0;
}

@media screen and (max-width: 980px) {

	.demoform-container table,
	.demoform-container table tbody,
	.demoform-containertable tbody tr,
	.demoform-container table tbody tr td
	 {
		display: block;
		width: 500px;
		margin: 0 auto;
	}
	.demoform-container table td.dblleft {
		padding-right: 0px;
	}
	.demoform-container table td.dblright {
		padding-left: 0px;
	}
	.demoform-container input[type="text"], 
	.demoform-container textarea,
	.demoform-container input.short[type="text"],
	.demoform-container select {
		width: 100% !important;
		margin-bottom: 4px;
	}
	.demoform-container textarea {
		height: 110px;
	}
	.demoform-container form {
		margin-left: 4px;
		margin-right: 10px;
	}
}
@media screen and (max-width:768px) {
    .demoform-control-container + iframe {
        z-index:5000;
        margin-top: 42px;
    }
    #commonHiddenPopupOverlay .xboxclosehidden {
        z-index: 5000;        
    }
}
@media screen and (max-width: 600px) {
	/*.demoform-container form {
		margin-left: auto;
		margin-right: auto;
		width: 300px;
	}*/
	.demoform-container table,
	.demoform-container table tbody,
	.demoform-containertable tbody tr,
	.demoform-container table tbody tr td
	 {
		display: block;
		width: 300px;
	}
}
@media screen and (max-width: 550px) {

	.demoform-container {
		width:auto;
		padding: 20px 0;
	}
	
    .demoform-control-container + iframe {
        width:100%;
    }
	.demoform-control-container.demoform-container .student-message {
		text-align:center;
	}
	.demoform-container input[type="text"], 
	.form textarea {
		margin: 0 0 4px;
		background-size:100% 38px;
	}
	
	.demoform-container input[type="text"]:focus {
		outline: none;
		background-size:100% 38px;
	}
	.demoform-container .inner-demoform {
		width:100%;	
	}
	.demoform-container form {
		margin-left: 0;
		margin-right: 0;
	}
	/*override dynamic settings*/
	#commonHiddenPopup {
		/*margin: 0 !important;
		position: absolute !important;*/
		/*top: 34px !important;*/ /*keep from top edge where menu and X are located*/
		/*left: 0 !important;
		width: 100% !important;
		height: 100% !important;*/ /*must be 100% to allow inside form to scroll*/
		/*overflow: auto;*/ /*required*/
		/*margin-left: 0;
		margin-top: 0;*/
		
		bottom: auto !important;
		right: 0 !important;
	
	}
	#commonHiddenPopup.translate {
		position: fixed;
		width: auto !important;
		height: 100% !important;
		margin: 0 !important;
		top: 34px;
		left: 0;
		overflow: auto; /*required*/
		transform: translate(0, 0);
	}
	/*we need to give a definite height to our popup form so that it scrolls*/
    /*this isn't the frame so not sure why I added this*/
	/*#commonHiddenPopup .demoform-container {
		height: 870px;
	}*/


}
