/* THIS CODE IS ADDED INTO MARKETO : FORM THEME CUSTOM CSS  */


/* SO AS NOT TO CHANGE main.css */
.form-wrapper {
    padding-bottom: 75px;
}

/* REVERT SOME DE-STYLING BACK */
.mktoForm .mktoAsterix {
	display: none;
}
.mktoForm .mktoRequiredField .mktoAsterix {
	display: inline;
}

/* Add your custom CSS below */
.mktoForm,
.mktoForm .mktoFormCol {
	width: 100% !important;
}
.mktoForm .mktoFieldWrap {
	width: calc(100% - 10px) !important;
    min-height: 90px;
}
.mktoForm * {

}

form.mktoForm {
    .clearfix;
}
.mktoForm a {
  	font-size: inherit;
    color: #23527c;
    text-decoration: underline;
}
.mktoForm .mktoFormRow {
    clear: none;
    width: 50%;
    float: left;
}
.mktoForm .mktoFormRow:nth-of-type(7) {
    clear: left !important;
}
.mktoForm .mktoFormRow:nth-of-type(1n+10) {
    width: 100% !important;
}
.mktoForm .mktoFormRow:nth-of-type(1n+10) .mktoFieldWrap {
	width: auto !important;
    min-height: 50px;
}
.mktoForm .mktoFormRow:nth-of-type(10) {
    min-height: 50px;
}
.mktoForm .mktoFormRow:nth-of-type(10) h2 {
    margin: 0;
    font-size: 16px;
    color: #000;
}
.mktoForm .mktoFormRow:nth-of-type(1n+12) {

}
.mktoForm .mktoFormRow:nth-of-type(11) .mktoFieldWrap {}

.mktoForm .mktoFormRow:nth-of-type(1n+11) .mktoFieldWrap {
    display: flex;
    flex-direction: row-reverse;
}
.mktoForm .mktoFormRow:nth-of-type(1n+11) .mktoFieldWrap .mktoCheckboxList {
    margin-right: 12px;
}

.mktoForm .mktoFormRow:nth-of-type(11) .mktoFieldWrap #LbltBSingleOptin,
.mktoForm .mktoFormRow:nth-of-type(12) .mktoFieldWrap #LblTB_Opt_In__c {
    /* padding-left: 10px;
    text-indent: -10px; */
}

.mktoForm .mktoFormRow:nth-of-type(13) .mktoFieldWrap #LblprivacyPolicyAcceptance,
.mktoForm .mktoFormRow:nth-of-type(14) .mktoFieldWrap .mktoHtmlText {
    flex-grow: 1;
}


/* .mktoForm .mktoFormRow:nth-of-type(13) .mktoFieldWrap {
    display: flex;
    flex-direction: row;
} */

.mktoForm .mktoFormRow:after {
    content: '';
    display: block;
    clear: both;
}

.mktoForm .mktoFieldDescriptor {
    margin-bottom: 10px !important;
}

.mktoForm .mktoLabel {
    float: none;
    display: block !important;
  	margin-bottom: 0;
    padding-top: 0;

    font-size: 16px;
    font-weight: normal;
	line-height: 1.3;
    color: #000;

    width: auto !important;
}
/* .mktoForm .mktoLabel .reqd {
    color: #da032c !important;
    font-weight: bold !important;
    vertical-align: super !important;
} */
.mktoForm .mktoLabel + .mktoGutter {
	width: 0 !important;
}
.mktoForm .mktoOffset {
    /* height: 0.75em !important; */
}

.mktoForm .mktoRequiredField label.mktoLabel {

}

.mktoForm .mktoTextField,
.mktoForm .mktoTelField,
.mktoForm .mktoEmailField,
.mktoForm textarea.mktoField,
.mktoForm select.mktoField {
    display: block;
    width: 100% !important;
    padding: 9px 15px !important;

    font-size: 14px;
    line-height: 1.5;

    background-color: #fff;
    border: 1px solid #D0D0D0;

    -webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    -o-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}

.mktoForm select.mktoField {
    height: 41px;
    padding: 9px 15px 9px !important;
}

.mktoForm .mktoTextField:focus,
.mktoForm .mktoTelField:focus,
.mktoForm .mktoEmailField:focus,
.mktoForm textarea.mktoField:focus,
.mktoForm select.mktoField:focus,
.mktoForm input[type=checkbox]:focus {
	color: #495057;
    background-color: #fff;
    border-color: #a4a4a4;
    outline: 0;
}

.mktoForm input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: transparent !important;
  opacity: 1 !important; /* Firefox */
}

.mktoForm input:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: transparent !important;
}

.mktoForm input::-ms-input-placeholder { /* Microsoft Edge */
  color: transparent !important;
}

.mktoCheckboxList {
	width: 27px !important;
}

.mktoForm .mktoButtonRow {
	width: 100% !important;
}
.mktoForm span.mktoButtonWrap {
	margin-left: 0 !important;
  	float: right !important;
}

.mktoForm .mktoButton[type=submit] {
	display: inline-block;
    min-width: 170px;
    padding: 16px 21px !important;
    background-color: #006ab0;
    transition: all 400ms;


    font-family: 'Open Sans Condensed',sans-serif !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;

    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
    border: none;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.mktoForm .mktoButton[type=submit]:hover {
    background-color: #014878 !important;
}
.mktoForm .mktoButton[type=submit]:focus{
  	outline: none;
    background-color: #014878 !important;
}

.mktoForm select.mktoField {
    background-position: 99%!important;
}

.mktoForm .mktoAsterix {
    /* display: inline; */
    padding-right: 5px;

    color: #da032c !important;
    font-size: 14px !important;
    font-weight: bold !important;
  	line-height: 1.2 !important;
}
/* .mktoForm .mktoRequired[aria-describedby] {
  border: #da032c 1px solid !important;
} */

.mktoForm .mktoError {
    position: relative !important;
    z-index: 99 !important;
    pointer-events: none !important;
    right: inherit !important;
    bottom: inherit !important;
    padding-top: 5px !important;
    float: left !important;
}
.mktoForm .mktoError .mktoErrorArrowWrap {
  	display: none !important;
}
.mktoForm .mktoError .mktoErrorMsg {
    display: inline !important;
	max-width: inherit !important;
  	margin-top: 7px !important;
   	padding: 0 !important;

  	background-color: inherit !important;
    background-image: inherit !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-size: 11px !important;
    color: #da032c !important;
    text-shadow: none !important;
}
.mktoForm .mktoError .mktoErrorMsg .mktoErrorDetail {
	display: inline !important;
  	font-size: .8rem !important;
    color: #da032c !important;
}

/* CHECKBOX */
form input[type=checkbox] {
    opacity: 1;
    visibility: visible;
    width: 20px;
    height: 20px;
    border-radius: 0 !important;
    border-color: #ccc !important;

    appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    -webkit-appearance: checkbox !important;
}
form .has-checkbox input[type=checkbox]+label:before {
    display: none !important;
}
form .has-checkbox:not(.has-many-checkboxes)>.mktoFieldWrap>.mktoLabel {
    pointer-events: none !important;
}
.mktoForm .mktoCheckboxList.mktoRequired[aria-describedby] {
    border: 0 !important;
}


.mktoForm label[for="TB_Opt_In__c"],
.mktoForm label[for="tBSingleOptin"],
.mktoForm label[for=privacyPolicyAcceptance] {
    /* float: right!important;
    width: auto !important;
    padding-left: 10px;
    font-size: 14px!important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; */
}

.mktoForm label[for=privacyPolicyAcceptance] ~ .mktoError {
    /* position: absolute !important;
    left: 40px !important;
    top: 18px !important; */

}

.mktoForm label[for="tBSingleOptin"] span {
    font-family: Arial!important;
    font-size: 14px!important;
    line-height: 1.2em !important;
    color: #333 !important;
}

@media only screen and (max-width: 768px) {
    .mktoForm .mktoFieldWrap {
        width: 100% !important;
        height: auto;
    }
    .mktoForm .mktoFormRow {
        clear: left !important;
        float: none !important;
        width: 100% !important;
    }

    .mktoForm .mktoTextField,
    .mktoForm .mktoTelField,
    .mktoForm .mktoEmailField,
    .mktoForm textarea.mktoField,
    .mktoForm select.mktoField {
        width: 100% !important;
    }

    .contact-container .contact-us-form .mktoForm .mktoLabel {
        width: auto !important;
    }
}

@media only screen and (max-width: 480px) {
    .mktoForm {
        padding: 0 !important;
    }

	.mktoForm .mktoTextField,
    .mktoForm .mktoTelField,
    .mktoForm .mktoEmailField,
    .mktoForm textarea.mktoField,
  	.mktoForm select.mktoField {
        height: 34px !important;
      	line-height: 1.2em !important;
      	font-size: 12px !important;
  	}


    .mktoForm .mktoOffset {
      display: block !important;
      float: none !important;
    }

    .mktoForm .mktoFormRow:nth-of-type(1n+8) .mktoFieldWrap {
        width: 100% !important;
    }
    .mktoForm .mktoFormRow:nth-of-type(1n+8) .mktoFieldWrap a {
        padding: 0 !important;
    }

    .contact-container .contact-us-form .mktoForm .mktoLabel {
        width: calc(100% - 27px) !important;
    }

    .mktoForm label[for=privacyPolicyAcceptance] ~ .mktoError {
        left: 50px !important;
        top: 25px !important;
    }

    .mktoForm .mktoButtonRow {
        text-align: center;
    }

    .mktoForm span.mktoButtonWrap {
        float: none !important;
    }

}

@media only screen and (max-width: 406px) {
    .mktoForm label[for=privacyPolicyAcceptance] ~ .mktoError {
        left: 35px !important;
        top: 50px !important;
    }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    form select {
        background: none !important;
    }
}
