form {
  padding: 0 25px;
  margin-bottom: 120px;
}

.form-title h2,
.confirmation-message h2 {
  font-size: 26px;
  line-height: 36px;
  color: #001e61;
  font-weight: bold;
}

.webform-submission-form #edit-enroll {
  margin-bottom: 20px;
}

.confirmation-message h2 {
  margin-bottom: 25px;
}

legend, #edit-label1 {
  color: #001e61;
}

.webform-submission-form > .required-label,
.webform-submission-form .form-group label,
.webform-submission-form .form-item .control-label,
.webform-submission-form .form-item .form-control,
.webform-submission-form .description {
  font-family: 'Ubuntu', sans-serif;
  color: #333;
  font-size: 15px;
  line-height: 22px;
  font-weight: normal;
  font-style: normal;
}

.webform-submission-form > .required-label {
  margin-bottom: 20px;
}

.webform-submission-form .form-group {
  margin-top: 0;
  margin-bottom: 0;
}

.webform-submission-form .form-group label {
  letter-spacing: 0;
  margin-bottom: 10px;
}

.webform-submission-form .form-item {
  position: relative;
  margin-top: 0;
  margin-bottom: 15px;
}

.webform-submission-form .form-item.checkbox {
	margin-bottom: 0;
}

.webform-submission-form .form-item.checkbox label {
  margin-bottom: 30px;
}

.webform-submission-form .form-item.checkbox label.text-terms {
  margin-bottom: 0;
}

.webform-submission-form .form-item .control-label {
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.webform-submission-form .form-item.form-item-date-of-birth .control-label {
  margin-bottom: 0;
  position: absolute;
  top: 14px;
  left: 16px;
}

.webform-submission-form .form-item.checkbox .control-label {
  position: relative;
  top: 0;
  padding-left: 50px;
}

.webform-submission-form .form-item .control-label::after {
  display: none;
}

.webform-submission-form .form-item .control-label.label-title {
  font-size: 15px;
  background-color: #fff;
  top: -9px;
}

.form-composite legend {
  font-size: 15px; /* overwrite body font size for "myInterests" header area */
}

.webform-submission-form .form-item .form-control {
  border-radius: 6px;
  padding: 5px 16px;
  height: 50px;
  background-color: #f5f6f7;
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* change color of placeholder text */
.webform-submission-form .form-item .form-control::placeholder {
  color: #333;
  opacity: 1; /* Firefox */
}

.webform-submission-form .form-item .form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #333;
}

.webform-submission-form .form-item .form-control::-ms-input-placeholder { /* Microsoft Edge */
  color: #333
}
/* end change color of placeholder text */

.webform-submission-form .form-item .form-control:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
  border-color: #ccc;
}

.webform-submission-form .form-item .form-control.error {
  border: 1px solid #d0021b;
}

.webform-submission-form #edit-actions {
  text-align: center;
  margin-right: 0;
  margin-top: 50px;
}

/* custom checkboxes */
form .form-type-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

form .form-type-checkbox .checker-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  border: 3px solid #001e61;
  border-radius: 6px;
}

/* When the checkbox is checked, add a background color */
/* form .form-type-checkbox input:checked ~ .checker-box {
  background-color: #001e61;
} */

/* Create the checkmark/indicator (hidden when not checked) */
.checker-box:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
form .form-type-checkbox input:checked ~ .checker-box:after {
  display: block;
}
  
/* Style the checkmark/indicator */
form .form-type-checkbox input:checked ~ .checker-box:after {
  left: 6px;
  top: 2px;
  width: 7px;
  height: 14px;
  border: solid #f47e4d;
  border-width: 0 4px 4px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* end custom circle checkboxes */

.webform-submission-form #edit-labels {
  margin-bottom: 46px;
}

.webform-submission-form .description {
  color: #d0021b;
}

/* .webform-submission-form .description .error.description-div::after {
  content: '\f06a';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: inline-block;
  font-size: 15px;
  position: absolute;
  top: 15px;
  right: 23px;
} */

.webform-submission-form .select-wrapper + .description .error.description-div::after {
  display: none;
}

/*.webform-submission-form #edit-my-interests .checkbox:last-child {
  display: none;
}*/

form #edit-my-interests--wrapper .fieldset-legend .more-info {
  margin-top: 10px;
  font-weight: normal;
  color: #333;
}

form #edit-my-interests--wrapper {
  margin-bottom: 0;
  margin-top: 50px;
}

form #edit-my-interests--wrapper legend {
  margin-bottom: 30px;
}

/* "Please enter additional information below:" */
#edit-helping-with-insurance-pragraph { /* yes I know paragraph is not spelled correctly */
  margin-bottom: 15px;
  margin-top: 20px;
}

/* FINE PRINT */
.myauthorization {
  margin-top: 20px;
}

.myauth-space {
  height: 15px;
}

form h1 {
  font-size: 15px;
  line-height: 25px;
  font-weight: bold;
  color: #001e61;
  margin-bottom: 20px;
}

.webform-submission-form .clr_light-navy,
.webform-submission-form .clr_steel {
  font-family: 'Ubuntu', sans-serif;
  color: #333;
  font-size: 12px;
  line-height: 17px;
  margin-bottom: 20px;
}

/* opt out email address */
.webform-submission-form .clr_light-navy a {
  color: #333;
  text-decoration: underline;
  white-space: nowrap;
}

.webform-submission-form .form-item.form-type-webform-markup {
  margin-bottom: 0;
}

/* SIGNATURE BOX */
#edit-sign-here {
  margin-top: 50px;
}

/* SUBMIT BUTTON */
.webform-submission-form #edit-actions {
  text-align: left;
}

.webform-submission-form #edit-actions .btn {
  margin-right: 0;
  background-color: transparent;
  border: 3px solid #f47e4d;
  border-radius: 33px;
  font-size: 17px;
  line-height: 1;
  font-weight: bold;
  height: 55px;
  padding: 15px 47px;
  color: #f47e4d;
}

.webform-submission-form #edit-actions .btn:focus {
  text-decoration: none;
}

.webform-submission-form #edit-actions .btn:hover,
.webform-submission-form #edit-actions .btn:active,
.webform-submission-form #edit-actions .btn:active:focus {
  text-decoration: none;
  color: #fff;
  background-color: #f47e4d;
}

/* 
 *
 * CUSTOM DROPDOWN MENU STYLES
 *
 *
 */
/* The container must be positioned relative: */
.select-wrapper {
  /* position: relative; */
}

.select-wrapper select {
  display: none; /*hide original SELECT element: */
}

.webform-submission-form .form-item .form-control.select-selected,
.select-items div {
  padding: 0 16px;
  line-height: 50px;
}

.select-selected .my,
#edit-my-interests--wrapper legend .my,
.myauthorization .my {
  color: #f47e4d !important;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  right: 25px;
  color: #001e61;
  font-weight: bold;
  font-size: 25px;
  transition: all .5s;
}

.select-wrapper::after {
  display: none !important;
}

.select-arrow-active {
  border-bottom: 4px solid #f47e4d !important;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  transform: rotate(180deg);
  transition: all .5s;
}

/* style the items (options), including the selected item: */
.select-items div, .select-selected {
  cursor: pointer;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: #f5f6f7;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  max-height: 352px;
  font-family: 'Ubuntu', sans-serif;
  color: #333;
  font-size: 15px;
  line-height: 22px;
  overflow-y: auto;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 6px 6px -6px #e6e6e6;
  border-bottom: 4px solid #001e61;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

.select-items div {
  height: 50px;
}

.select-items div:hover {
  background-color: #f5d8cd;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div .my {
  color: #f47e4d;
}

.same-as-selected {
  font-weight: 700;
}
/* END CUSTOM DROPDOWN MENU STYLES */






/* Media queries run small to large. */
@media only screen and (min-width: 400px) {
  .webform-options-display-two-columns {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
  }

  .webform-options-display-two-columns div.form-item {
    margin-bottom: 30px;
  }
}


@media only screen and (min-width: 576px) {

}

/* The smallest tablet width that QA tests at is 728px and the largest is 1024px (in portrait mode). */
/********** TABLET **********/
@media only screen and (min-width: 768px) {

}

/********** DESKTOP **********/
@media only screen and (min-width: 992px) {
  form {
    width: 80%;
    margin: 0 auto;
    max-width: 1000px;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 120px;
  }

  .webform-options-display-two-columns {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    margin-top: 0;
    display: block;
  }
}

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

}

/* this is the width at which the content reaches 1000px and stays there */
@media only screen and (min-width: 1250px) {

}
.form-inline .form-control
{
    display:block;
    width:100%;
}

/* Calendar highlight color */
.ui-state-highlight, .ui-widget-content .ui-state-highlight {
	border: 1px solid #f6d8cc;
	background: #f6d8cc;
}

/* Visually hidden fix for Form page */
.webform-submission-form .visually-hidden {
	position: fixed !important;
	z-index: -99999;
	top: 0;
	left: 0;
}