body {
	font-size: 15px !important;
	font-family: "Open Sans", "Arial Narrow", Arial, sans-serif !important;
}

.centerWrapper {
  max-width: 540px;
}

.centerWrapper .logo {
	margin-bottom: 15px !important;
}

.centerWrapper .hide-in-frame hr {
	margin-top: unset;
	margin-bottom: 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	 clip: rect(1px, 1px, 1px, 1px);
	 clip-path: polygon(0px 0px, 0px 0px,0px 0px, 0px 0px);
	 position: absolute !important;
	 height: 1px;
	 width: 1px;
	 overflow: hidden;
}

.portlet-body .iframe-container iframe {
	height: 1070px;
}

#iframeContainer {
    margin: auto 85px auto 85px;
}

#iframeContainer.confirmation {
	margin-left: 15px;
	margin-right: 15px;
}

#iframeContainer.confirmation header {
	margin-top: 10px;
  	margin-bottom: 10px;
}

#iframeContainer header {
  height: unset;
}

#iframeContainer header h1 {
    margin: 15px 0 5px 0;
}

#iframeContainer header h2 {
    margin-left: 40px;
}

#iframeContainer header .button {
  top: 12px;
}

#iframeContainer header .button.right {
  margin-right: 0;
}

.alert-box {
  	margin: 15px 0 15px 0;
}

#iframeContainer .alert-box p {
  	margin: 5px 15px 5px 15px !important;
  	padding-right: unset;
}

.alert-box.alert-warn {
  	color: #915d03;
}

p.no-indent {
	margin-left: unset !important;
	margin-bottom: 5px !important;
}

		
.sectionHeader {
	 margin-left: 0 !important;
	 margin-bottom: 5px !important;
}

#iframeContent form hr {
	margin-bottom: unset;
	margin-right: unset !important;
}

#iframeContent {
	margin-left: unset;
	margin-right: unset;
	padding-top: 5px;
}

/*
 * phone links
 */		
.phone-number {
	white-space: nowrap;
}

p a.phone-number.link {
	display: none !important;
}

p span.phone-number.text {
	display: inline !important;
}

/*
 * file attachments
 */
.no-padding {
	padding-left: 0;
	padding-right: 0;
}

div.fileInputWrapper {
	overflow: hidden;
	position: relative;
	cursor: pointer; 
	right: 0;
	background-color: #FF6600;
	border-style: outset;	     
	border-color: #FF6600; 
	border-width: 2px;
	padding: 0 1px;
	color: black;		    		 
	height: 20px; 
	width: 100px; 
}

.fileInput {
	cursor: pointer;
	height: 100%;
	position:absolute;
	top: 0;
	right: 0;
	/*This makes the button huge so that it can be clicked on*/
	font-size:50px;
}

.showFile {
	display : block;
}

.hideFile, .displayNone {
	display : none;
}
	
.show {
	display: block;
}

.hide {
	display: none;
}
		
#attachmentTable {
	width: 100%; 
	margin-left: 170px; 
	margin-top: -18px !important;
}

#attachmentTable tr td {
	width: 12%;
}

.file-attachment {
	padding-bottom: 5px;
}

.uploaded-file {
	float: left; 
	width: 215px;
}

.footerWrapper {
position: unset;
}

#iframeContainer table {
	margin-bottom: unset;
}

/*
 * form
 */
.errorWrapper p, form.styled {
  font-size: 15px;
  line-height: 20px;
  margin: 5px 0 15px 0 !important;
}

.row {
	margin-left: unset;
	padding-left: 0 !important;
}

.form-group {
	margin-bottom: 10px;
}

.form-note {
	margin-top: 10px;
}

.fieldSpacer {
	margin-bottom: 10px;
	margin-left: 40px;
}

fieldset {
	margin-left: 5px;
}

.subFieldDiv {
	margin-left: 0;
}

#submitButton {
	margin-right: unset;
}

/*
 * label
 */
.mail-input-label {
	min-width: 35px !important;
	text-align: left !important;
	width: 100%;
}

div.labelDiv {
	margin-bottom: 8px;
}

#iframeContent label.mail-input-label:not(.clickableLabel):not(.attachment-label):not(.area-label) {
	vertical-align: middle;
}

.required {
	color: #dc3545;
	font-size: 16px;
}

.visually-hidden { 
    border: 0;
    padding: 0;
    margin: 0;
    position: absolute !important;
    height: 1px; 
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 - a 0 height clip, off to the bottom right of the visible 1px box */
    clip: rect(1px, 1px, 1px, 1px); /*maybe deprecated but we need to support legacy browsers */
    clip-path: inset(50%); /*modern browsers, clip-path works inwards from each corner*/
    white-space: nowrap; /* added line to stop words getting smashed together (as they go onto separate lines and some screen readers do not understand line feeds as a space */
}

/* For assistive technology to pick up placeholder text */
.assistive-tech-only { 
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* 
 * text field
 */
#iframeContent input[type="text"], #iframeContent input[type="tel"] {
	height: unset;
	vertical-align: middle;
	outline: none;
}

.init_field {
	border-radius: 5px;
	border: 1px solid #CCC;
    padding: 10px;
    height: 39px !important;
	width: 100%;
	background-color: white;
}

.readonly_field {
	border-radius: 5px !important;
	border: 1px solid #CCC !important;
    padding: 10px;
    height: 39px !important;
	width: 100%;
	background-color: #EDEDED;
}

.mousein {
	border-radius: 5px !important;
	border: 1px solid #0078CC !important;
    padding: 10px;
    height: 39px !important;
	width: 100% !important;
	background-color: white;
}

.mp-legacy-app .mail-app .init_select {
	color: #4C4C4C;
	border: 1px solid;
}

.mp-legacy-app .mail-app .init_select:not(.credence) {
	border-color: #CCCCCC;
}

.mp-legacy-app .mail-app .init_select.credence {
	border-color: #003B4D;
}

#iframeContent input[type="text"]:focus:not(.err_field), 
#iframeContent input[type="tel"]:focus:not(.err_field), 
#iframeContent textarea:focus:not(.err_field), 
#iframeContent select:focus:not(.err_select) {
	color: #495057;
	background-color: #fff;
	border-color: #80bdff;
	outline: 0;
	box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
}

/* 
 * phone fields
 */
#iframeContent input[type="tel"].credence {
  border-color: #003B4D;
}

/* 
 * text area
 */
#iframeContent textarea {
	margin-left: unset;
	vertical-align: top;
	height: 100px;
	width: 100% !important;
	outline: none;
}

#iframeContent textarea.err_field {
    overflow: hidden;
	padding: 5px calc(1.5em + 0.75rem) 5px 10px !important;
	border-color: #dc3545 !important;
	background-color: #F2DEDE;
}

.err_field {
	border-radius: 5px !important;
    padding: 10px calc(1.5em + 0.75rem) 10px 10px;
	width: 100% !important;
	border-color: #dc3545 !important;
	background-color: #F2DEDE;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right calc(0.375em + 0.1875rem) center;
	background-size: calc(1.0em + 0.375rem) calc(1.75em + 0.375rem);
}

.err_field:focus, .err_select:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.err_field.address {
	border-radius: 5px !important;
    padding: 10px calc(1.5em + 0.75rem) 10px 10px;
    height: 39px !important;
	width: 100% !important;
	resize: none;
}

#iframeContent textarea.address {
	margin-left: unset;
	vertical-align: top;
	height: unset !important;
	width: 100% !important;
	text-transform: unset; 
	resize: none;
}

form.styled textarea {
    margin: unset;
}

.text_area_grey {
	border-radius: 5px;
	border: 0.8px solid grey;
	padding: 5px; 
	width :288px !important;
	background-color: white;
}

.text_area_hvr {
	border-radius: 5px !important;
	border: 0.8px solid #0078CC !important;
	padding: 5px; 
	width :288px !important;
	background-color: white;
}

/* 
 * select
 */
.init_select {
	border-radius: 5px !important;
    padding: 9px;
    height: 39px !important;
	width: 100% !important;
	background-color: white;
}

.mousein_select {
	border-radius: 5px !important;
	border: 1px solid #0078CC !important;
	padding: 9px;
	height: 39px !important;
	width: 100% !important;
	background-color: white;
}

.err_select {
	border-radius: 5px !important;
	border: 1px solid #dc3545 !important;
	background-color: #F2DEDE;
	padding: 9px calc(1.5em + 0.75rem) 9px 9px;
	height: 39px !important;
	width: 100% !important;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right calc(1.1em + 0.1875rem) center;
	background-size: calc(1.0em + 0.375rem) calc(1.75em + 0.375rem);
}

.mp-legacy-app .mail-app .mbr-custom-select {
	margin-right: 5px;
	padding-left: 15px;
	border-width: 1px;
}
  
.mp-legacy-app .mail-app .mbr-custom-select .select-selected {
	padding: 12px 20px;
	height: 39px;
	width: 100%;
	border: 1px solid #CCCCCC;
	font-size: 13px;
	border-radius: 5px;
}
  
.mp-legacy-app .mail-app .mbr-custom-select .select-items {
	margin-right: 0;
	margin-left: 15px;
	padding-left: 10px;
	max-height: 330px;
}
  
.mp-legacy-app .mail-app .mbr-custom-select .select-selected.select_error {
	border: 1px solid #dc3545;
	background-color: #F2DEDE;
}

.mp-legacy-app .mail-app .mbr-custom-select .select-selected::after {
	border: solid black;
	border-width: 0 2px 2px 0;
	padding: 2.5px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	margin-right: -8px;
}
  
.mp-legacy-app .mail-app .mbr-custom-select .select-selected.select-arrow-active::after {
	margin-top: 15px;
}

/*
 * button
 */
.button-row {
	margin-top: 30px;
}

.button {
	border-radius: 4px;
}	

/*
 * image button
 */
#fileAddButtonDiv {
	margin-top: 5px;
}

span.img-btn {
	cursor: pointer;
	width: 25px;
	height: 25px;
}

.mp-icon-add-circle {
	background: url('/mp-images/svg-icons/add-circle.svg');
	background-size: cover;
	padding: 5px;
	display: inline-block;
}

.add-file-btn-label {
	position: relative;
	bottom: 7px;
	left: 10px;
	font-weight: 700;
}

.mp-icon-circle-close {
	background: url('/mp-images/svg-icons/circle-close.svg');
	background-size: cover;
	padding: 5px;
	display: inline-block;
}

/*
 * error message
 */
.mp-legacy-app .mail-app .err_msg_font {
	color: #dc3545;
	font-size: 13px;
    line-height: 20px
}

span.err_msg_font.err_required:not(.form-helper-err) {
	display: none;
	margin-top: 5px;
}

span.err_msg_font.err_required {
	display: none;
}

span.err_msg_font.err_hint {
	display: none;
	margin-top: -3px;
}

div.err_server:not(.err_hint) {
  	margin-top: 3px;
}

div.err_server.err_hint {
	margin-top: -3px;
}
  
/*
 * form helpers
 */
span.form-helper {
	margin-top: 0.25rem;
	font-size: 80%;
	font-style: unset;
}

/*
 * validation spinner
 */
#validationSpinner {
	width: 48px;
	height: 48px;
	position: fixed;
	z-index: 2;
	top: 28%;
	left: 48%;
	padding: 2px;
}

#validationSpinner img {
	width: 100%;
	height: 100%;
}

#validationSpinner span {
	margin-left: -10px; 
	color: #004e87;
}

.disable-form {
   	background-color: gray;
   	opacity:0.5;
   	pointer-events:none;
}
 
/*
 * media types
 */
@media screen and (max-width: 634px) {
	#iframeContainer.confirmation {
	  margin-left: 35px;
	  margin-right: 35px;
	}

	.fieldSpacer {
		margin-left: unset;
	}
	
	.form-group {
	  	margin-bottom: 0;
	}
	
	#iframeContainer div.alert-box p {
	    margin: 5px 15px 5px 15px !important;
    }
    
  	#iframeContainer p, form.styled {
  		font-size: unset;
  	}
  	
  	#iframeContainer form.styled div[class^="col-"] {
		margin-left: -8px;
  	}
	
	/*
	 * label
	 */
	#iframeContainer label.clickableLabel {
    	margin-bottom: unset;
	}
	
	/*
	 * text field		
	 */
	#iframeContent input[type="text"], #iframeContent input[type="tel"], #iframeContent textarea, 
	#iframeContent select {
	  	margin-bottom: 0;
	}
	
	/* 
	 * text area
	 */		
	#iframeContent textarea {
		margin-left: unset;
	}
	
	/*
	 * select	
	 */
	.mp-legacy-app .mail-app .mbr-custom-select .select-items {
	  	width: 100%;
	  	margin-left: 15px;
	}
	
	.mp-legacy-app .mail-app .mbr-custom-select .select-selected {
	  	font-size: 16px;
	}
	
	.mp-legacy-app .mail-app .mbr-custom-select .select-selected::after {
	  	top: 45%;
	  	left: 100%;
	}
	
	.mp-legacy-app .mail-app .mbr-custom-select .select-selected.select-arrow-active::after {
	  	top: 17%;
	}

	/*
	 * button
	 */
	#iframeContainer div.button-xs input.button, #iframeContainer div.button-xs a.button #addNew {
		float:  none;
	}
	
	#iframeContent div.button-xs.visible-xs {
		padding-top: 10px;
	}
		
	/*
	 * form helpers and hints	
	 */
	span.form-helper {
		font-size: 13px;
		margin-top: 10px;
	}
	
	/*
	 * attachments
	 */
	.file-attachment {
		padding-top: 10px;
		margin-left: 8px;
	}
	
	.mp-icon-circle-close {
		padding-top: 8px;
	}
}

@media screen and (max-width: 767px) {
  	/*
  	 * phone links
  	 */
	p a.phone-number.link {
		display: inline !important;
	}
	
	p span.phone-number.text {
		display: none !important;
	}
}