/* Custom Form CSS */
/* MERGE - Crystal Pacheco - August 29, 2024 */

/* Load FontAwesome to create a pure CSS checkbox */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css');

/* End Import custom fonts */

/* MARKETO RESET STYLES.*/
.mktoOffset, .mktoGutter, .mktoClear, .mktoAsterix, .mktoFormRow:has(.mktoPlaceholder), .mktoFormRow:has(input[type=hidden]), .mktoFormRow:has(.ready-to-hide) {
    display: none !important; } /* Remove form extras that are creating unneccessary space */ 

/* MARKETO FULL-WIDTH.
 * This makes the form fit whatever contains it. */
.mktoForm {
    padding: 0px !important;
    width:100%!important;  
    max-width:767px!important; /* Maximum form width */
    margin:0 auto!important; /* Center form in container */    
    display: flex;
    flex-direction: column;
    row-gap: 20px;  /* Space after form rows */  
}
.mktoForm .mktoFieldWrap {
    float: none!important;
}

/* MARKETO FORM ROW */
.mktoFormRow {
    display: flex;
    flex-direction: row;
    column-gap:20px; /* Gap between columns */
}
/* MARKETO FORM COLUMNS */
.mktoForm .mktoFormCol {
    width: 100%;
    margin-bottom: 0!important;
}
.mktoForm .mktoRadioList, .mktoForm .mktoCheckboxList, .mktoForm .mktoHtmlText  {
    width:auto!important; 
}
   
/* MARKETO FORM LABEL AND MARKETO FORM RICH TEXT FIELD*/ 
.mktoForm label, .mktoForm .mktoHtmlText.mktoHasWidth {
  	color: #ffffff!important;
	font-size:16px!important;
	margin-bottom:0px!important;
    padding-top:0!important;
	width:100%!important;
	font-family: "AmazonEmberDisplay",Helvetica,"AmazonEmberDisplay",Helvetica,Arial,sans-serif!important;
	font-weight:300!important;
	}

/* MARKETO FORM FIELDSET */
.mktoForm fieldset {
    padding: 0px!important;
    margin: 0!important;
    border: 0; 
}
/* MARKETO FORM FIELDSET LABEL*/
.mktoForm fieldset legend {
    display:none!important; 
}

.mktoForm .mktoHtmlText.mktoHasWidth {
    width:100%!important;
}


/* Space above fields on form */		
.mktoForm input[type=url], .mktoForm input[type=text], .mktoForm input[type=date], .mktoForm input[type=tel], .mktoForm input[type=email], .mktoForm input[type=number], .mktoForm select, .mktoForm textarea.mktoField, .mktoForm input[type=date], .mktoForm input[type="date"] {
	margin:10px 0 0 0!important;
}
.mktoForm input[type=url], .mktoForm input[type=text], .mktoForm input[type=date], .mktoForm input[type=tel], .mktoForm input[type=email], .mktoForm input[type=number], .mktoForm textarea.mktoField, .mktoForm select.mktoField, .mktoForm input[type=date], .mktoForm input[type="date"] {
    height: inherit !important;
    line-height: inherit !important;
    font-size: inherit; }

/* Form fields style */	
 .mktoForm input[type="text"],  .mktoForm input[type="email"], .mktoForm input[type="tel"], .mktoForm input[type="number"], .mktoForm select.mktoField,.mktoForm input[type=tel], .mktoForm input[type=date], .mktoForm input[type="date"]{
    box-shadow: none!important;
    font-family:"AmazonEmberDisplay",Helvetica,Arial,sans-serif!important;
    display: block;
    width: 100%!important;
    height:44px !important;
    -webkit-appearance: none;
    border-radius: 0;
    border:solid 1px #212529!important;	
    background-color:#fff;
    color:#212529;
    font-size:14px;
    font-weight:normal;
    padding:2px 10px!important;	 
}
.mktoForm textarea.mktoField{
    box-shadow: none!important;
    font-family:"AmazonEmberDisplay",Helvetica,Arial,sans-serif!important;
    display: block;
    width: 100%!important;
    min-height:44px !important;
    -webkit-appearance: none;
    border-radius: 0;
    border:solid 1px #212529!important;	
    background-color:#fff;
    color:#212529;
    font-size:14px;
    font-weight:normal;
    padding:2px 10px!important;	 
}
/* Inside Form fields text color */		
 .mktoForm *::-webkit-input-placeholder {
	color:#212529; }

 .mktoForm *::-moz-placeholder {
  color:#212529; }

 .mktoForm *:-ms-input-placeholder {
  color:#212529; }

 .mktoForm *::placeholder {
  color:#212529; }

/* Container around the select element */
.mktoForm .mktoFieldWrap:has(select){
    display: inline-block;
    width: 100%; 
}

/* Style the select element */
.mktoForm select {
    width: 100%!important;
    padding-right: 30px!important; /* Space for the custom arrow */
    background-color: #fff!important;
    appearance: none!important; /* Hide the default arrow */
    -webkit-appearance: none!important;
    -moz-appearance: none!important;
    border: 1px solid #212529!important; /* Custom border */
    height: 40px!important; /* Adjust height as needed */
    line-height: 1.5!important;
    align-items:center;
    vertical-align:middle;
}


/* Select field with Font Awesome arrow using a pseudo-element */
.mktoForm .mktoFieldWrap:has(select):after {
    content: "\f078"!important; /* Font Awesome arrow-down icon */
    font-family: "Font Awesome 6 Free"!important;
    font-style: normal!important;
    font-weight: 900!important;
    position: absolute!important;
    top: 50%!important;
    right: 10px!important; /* Position it to the far right */
    transform: translateY(30%)!important; /* Center vertically */
    color: #212529!important; /* Arrow color */
    pointer-events: none!important; /* Make sure the arrow doesn't block clicks */
    font-size: 12px!important; /* Adjust icon size */
}

/* Multi Select styles */	
.mktoForm select option {
    -webkit-appearance: none;
    background-color:#fff;
	color:#212529;
	font-family: "AmazonEmberDisplay",Helvetica,"AmazonEmberDisplay",Helvetica,Arial,sans-serif!important;
    font-weight:normal;
}		

.mktoForm select option:hover {
    -webkit-appearance: none;
    background-color:#212529;
	color:#fff;
}

/* Browser Default Checkbox or Radio button that we are masking with custom Checkbox / Radio button */			  
.mktoForm .mktoRadioList > input, .mktoForm .mktoCheckboxList > input {
    visibility: hidden;
    opacity: 0;
    position: absolute;   
}

/* Radio button and or checkbox label text styling */		  
.mktoForm .mktoRadioList > label, .mktoForm .mktoCheckboxList > label {
    padding-left:30px;
    margin-bottom:10px!important;
    line-height: 26px!important;
    display:block;
    color: #ffffff!important;
    font-family:"AmazonEmberDisplay",Helvetica,Arial,sans-serif!important;
    font-size: 14px;
	font-weight:300;
    min-height: unset!important;
    margin-left:0!important;
    position: relative;
}

.mktoForm .mktoRadioList input,.mktoCheckboxList input, .mktoCheckboxList label, .mktoRadioList label {
    display: inline-block;
    vertical-align: middle;
    margin: 5px;
    cursor: pointer;
}

/* Checkbox style before it's checked */	
.mktoCheckboxList input + label:before, .mktoForm input[type=checkbox] + label:before {
    content: '';
    background: #fff!important;
    border:1px solid #212529!important;
    display: inline-block!important;
    vertical-align: middle!important;
    width: 22px!important;
    height: 22px!important;
    line-height:22px!important;
    padding:0px!important;
    margin-right: 10px!important;
    text-align: center!important;
  	position:absolute!important;
 	left:0!important;
    box-shadow: none!important;
    margin-left:0!important;
}
	
/* Radio button style before it's checked */			
.mktoRadioList input + label:before, .mktoForm input[type=radio] + label:before  {
    content: '';
    background: #fff!important;
    border:1px solid #212529!important;
    display: inline-block!important;
    vertical-align: middle!important;
    width:22px!important;
    height:22px!important;
    line-height:22px!important;
    padding:0px!important;
    margin-right: 10px!important;
    text-align: center!important;
  	position:absolute!important;
 	left:0!important;
    -webkit-border-radius:50%!important;
	-moz-border-radius:50%!important;
	border-radius:50%!important;
}

/* Checkbox style after it's checked */
.mktoCheckboxList input:checked + label:before, .mktoForm input[type=checkbox]:checked + label:before  {
    font-family:"Font Awesome 6 Free"!important;
    font-style:normal;
    font-weight:900!important;
    content:"\f00c"!important;
    color:#fff;
    background:#0578ff!important;
    border-color:#0578ff!important;
}

/* Radio button after it's checked */		
.mktoRadioList input:checked + label:before, .mktoForm input[type=radio]:checked + label:before {
    font-family:"Font Awesome 6 Free"!important;
    font-style:normal;
    font-weight:900!important;
    content:"\f00c"!important;
    color:#fff;
    background:#0578ff!important;
    border-color:#0578ff!important;
	-webkit-border-radius:50%!important;
	-moz-border-radius:50%!important;
	border-radius:50%!important;
}

/* Radio button and or Checkbox label with link style*/
.mktoForm .mktoRadioList > label a, .mktoForm .mktoCheckboxList > label a {
    color:#0578ff;
    text-decoration:underline;
    padding:0;
}

/* Container holding the button */
.mktoButtonWrap { 
	padding:0!important;
    margin:0!important;
}

/* Button Row */
.mktoButtonRow {
    position:relative!important;
    width:100%!important;
    text-align: center!important;	
    margin:0!important; /* Space above and below button */
}

/* Button Style */
.mktoButtonWrap button[type="submit"], .mktoButton {
    border:0!important;
    background-image:none!important;
    background-color:#0578ff!important;
    box-shadow: 0 1px 2px 0 rgba(2, 8, 14, .16);
    border-radius:4px!important;
    color:#ffffff!important;    
    font-size: 16px!important; 
    line-height: 18px!important; 
    font-weight: 400!important; 
    font-family: 'AmazonEmberDisplay', Helvetica, Arial, sans-serif!important;
    font-style: normal!important;
    font-weight:bold!important;
    padding:0 10px!important;
    margin: 0!important;
    display: inline-block!important;
    position: relative;
    margin-bottom:0!important;
    outline: 0 none;
    text-align: center;
    transition: all .2s;
    text-decoration: none;
    text-transform: none !important;
    text-shadow: none!important;
    width: auto!important;
    min-width: 178px;
    min-height: 40px;
}

/* Button Hover Style */		
.mktoButtonWrap button[type="submit"]:hover, .mktoButton:hover {
    background:#0578ff!important;
    border:0!important;
    color:#ffffff!important;
    font-family: 'AmazonEmberDisplay', Helvetica, Arial, sans-serif!important;  
    box-shadow: 0 1px 2px 0 rgba(2, 8, 14, .16);
}

/* Marketo form error message */
.mktoForm .mktoError {
    left:0!important;
}


@media only screen and (max-width: 1200px){
}

@media only screen and (max-width: 991px){
}

@media only screen and (max-width: 767px){
    .mktoFormRow {
        clear: both;
        display: flex;
        flex-direction: column;
        row-gap: 20px;
        column-gap: unset;
    }
    .mktoForm .mktoFormCol {
        margin-bottom: 0!important;
    }
   
}

/* Start of mobile styling*/		
@media only screen and (max-width: 480px) {
    
   .mktoForm select option{
        padding:2px 5px!important;
    }
     .mktoForm input[type="text"], .mktoForm input[type="email"], .mktoForm input[type="tel"], .mktoForm input[type="number"], .mktoForm input[type="submit"], .mktoButton, .mktoForm select.mktoField, .mktoForm input[type=date], .mktoForm input[type="date"] {
        margin-bottom: 20px !important; 
      } 
     .mktoForm input[type=url], .mktoForm input[type=text], .mktoForm input[type=date], .mktoForm input[type=tel], .mktoForm input[type=email], .mktoForm input[type=number], .mktoForm select.mktoField {
        width: 100%;
        height: 1.5em;
        line-height: 1.5em;
        font-size: 14px!important;
        padding:0 10px!important;
     }
    .mktoForm textarea.mktoField{
        width: 100%;
        min-height: 1.5em!important;
        line-height: 1.5em;
        font-size: 14px!important;
        padding:0 10px!important;
     }
}