/*
  1. Add this to the <head><title></title><meta name="ROBOTS" content="INDEX,FOLLOW"><meta name="keywords" content=""><meta name="description" content=""> of any contact us form to style it.
  <link rel="stylesheet" type="text/css" href="https://mcrp6tl67vypnqsv1739snkkwg4q.pub.sfmc-content.com/4axns14w1yv">
  
  2. Add the "styled-form" id to the <html> element.
  <html id=“styled-form”>
  
  3. Use this markup to label required inputs. This should replace any existing <label class="small-label" style="font-size: 12px;"> - Required</label> labels.
  <span class="required-label">*</span>
    
  4. Add this markup immediately after any select elements.
  <div class="drop-down-arrow"></div>
*/
    
html {
  background: white;
}
    
body {
  margin-left: 0;
}

/* Title */
#styled-form h2 {
  font-family: "Neue Helvetica W01", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
  
/* Form Block Wrapper */
#styled-form .smartcapture-content-wrapper {
  background-color: transparent;
  width: 100%;
  max-width: 658px;
  margin-left: 0;
  color: black;
  font-family: "Neue Helvetica W01", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media (min-width: 641px) {
  #styled-form .smartcapture-content-wrapper {
    padding: 0 21px;
  }
}

/* Field Wrapper */
#styled-form .smartcapture-content-wrapper .smartcapture-controls {
  position: relative;
  display: block;
  margin-bottom: 3rem;
  width: 100%;
}

/* Label Styles */
#styled-form .smartcapture-content-wrapper .smartcapture-controls .sc-formfield-label,
#styled-form .smartcapture-content-wrapper .smartcapture-controls label {
  font-size: 18px;
  font-weight: bold;
}
  
#styled-form .smartcapture-content-wrapper .smartcapture-controls .required-label {
  color: #d0021b;
  margin-left: 0.25rem;
}

/* Input Styles */
#styled-form .smartcapture-content-wrapper input[type=text],
#styled-form .smartcapture-content-wrapper input[type=email],
#styled-form .smartcapture-content-wrapper select,
#styled-form .smartcapture-content-wrapper textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  border: none;
  border-bottom: 1px solid #757575;
  border-radius: 0;
  min-height: 2.375rem;
  font-size: 18px;
  line-height: 1.25;
  padding: 0.5rem 0;
  width: 100%;
}

#styled-form .smartcapture-content-wrapper input[type=text]:focus,
#styled-form .smartcapture-content-wrapper input[type=email]:focus,
#styled-form .smartcapture-content-wrapper select:focus,
#styled-form .smartcapture-content-wrapper textarea:focus {
  outline: none;
}
  
#styled-form .smartcapture-content-wrapper textarea {
  resize: vertical;
  width: 100% !important;
}
    
#styled-form .smartcapture-content-wrapper textarea::placeholder {
  font-size: 12px;
}

/* Submit Button */
#styled-form .smartcapture-content-wrapper button {
  background-color: #005c9c;
  border-radius: 4px;
  border: 1px solid #005c9c;
  font-size: 16px;
  color: white;
  float: left;
  font-weight: 600;
  min-width: 280px;
  padding: 0.65em 1em 0.85em;
  transition: all 0.15s ease-out;
}

#styled-form .smartcapture-content-wrapper button:hover {
  background-color: #004d83;
}

/* Validation Message */
#styled-form .smartcapture-content-wrapper .popover {
  position: static !important;
}

#styled-form .smartcapture-content-wrapper .popover-content {
  color: #d0021b;
  display: block;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 0.25rem;
}
  
/* Policy Label */
#styled-form .smartcapture-content-wrapper .smartcapture-controls .policy-label {
  font-size: 12px;
  font-weight: normal;
}
    
/* Result Message */
#styled-form .smartcapture-content-wrapper.submitting {
  position: fixed;
  bottom: 4rem;
  border: 1px solid #ddd;
  margin: 3rem 0;
  padding: 22px 1rem;
}

/* Select Dropdown */
#styled-form .smartcapture-content-wrapper select + .drop-down-arrow {
  position: absolute;
  bottom: 26px;
  right: 14px;
  border: solid black;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 5px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* Radio & Checkbox Buttons */
#styled-form .smartcapture-content-wrapper input[type="radio"],
#styled-form .smartcapture-content-wrapper input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #cacece;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
  padding: 1rem;
  border-radius: 3px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

#styled-form .smartcapture-content-wrapper input[type="radio"] {
  border-radius: 100%;
}

#styled-form .smartcapture-content-wrapper input[type="radio"]:checked::after,
#styled-form .smartcapture-content-wrapper input[type="checkbox"]:checked::after {
  display: block;
  color: white;
  background: #005c9c;
  text-align: center;
  font-size: 24px;
  line-height: 2rem;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}


#styled-form .smartcapture-content-wrapper input[type="radio"]:checked::after {
  content: "\2713";
  border-radius: 100%;
}

#styled-form .smartcapture-content-wrapper input[type="checkbox"]:checked::after {
  content: "\2713";
}
