/*-----------------------------------------------------*\
    Plugin - ACF Font Awesome
\*-----------------------------------------------------*/

.fa-select2.fa5, .fa-select2-drop.fa5 {
    font-family: system-ui;
}

/*-----------------------------------------------------*\
    Plugin - EZ Alert
\*-----------------------------------------------------*/

.ez-alert > h2 {
    margin: 0 0 0.5rem 0;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.5rem;
}
.ez-alert > p b,
.ez-alert > p strong {
    font-weight: 500;
}

/*-----------------------------------------------------*\
    Plugin - Olark
\*-----------------------------------------------------*/

#olark-container .olark-top-bar-text {
    font-family: "Work Sans", sans-serif !important;
    font-weight: 500 !important;
}
#olark-container .olark-top-bar p {
    font-family: "Work Sans", sans-serif !important;
    font-size: 0.95rem !important;
}
#olark-container .olark-survey-form .olark-survey-form-info-message {
    font-family: "Work Sans", sans-serif !important;
}
#olark-container .olark-survey-form .olark-survey-form-item {
    font-family: "Work Sans", sans-serif !important;
}
#olark-container .olark-survey-form .olark-survey-form-label {
    font-size: 0.95rem !important;
    margin-bottom: 6px !important;
}
#olark-wrapper #olark-container .olark-button {
    font-family: "Work Sans", sans-serif !important;
    text-transform: unset !important;
    font-weight: 400 !important;
    font-size: 1.05rem !important;
}
#olark-container .olark-message-block-container {
    font-family: "Work Sans", sans-serif !important;
}
#olark-container .olark-footer-form-container .olark-chat-input {
    font-family: "Work Sans", sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.4rem !important;
    padding: 15px 55px 15px 35px !important;
}
#olark-container .olark-footer-form-container .olark-chat-input:focus {
    height: inherit !important;
}
#olark-container .olark-populated + .olark-chat-input-float-label {
    font-family: "Work Sans", sans-serif !important;
    padding-top: 5px !important;
    margin-left: 35px !important;
}
#olark-container .olark-footer-form-container .olark-upload-file-button {
    height: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
#olark-container.olark-no-branding .olark-footer-form-container .olark-chat-send-button:disabled {
    height: 100% !important;
    top: 0 !important;
}
#olark-container.olark-no-branding .olark-footer-form-container .olark-chat-send-button {
    height: 100% !important;
    top: 0 !important;
}
.olark-launch-button.olark-text-button .olark-button-text {
    font-family: "Work Sans", sans-serif !important;
    font-weight: 500 !important;
}
#olark-container .olark-context-menu-ul {
    font-family: "Work Sans", sans-serif !important;
}
#olark-container .olark-restart-button,
#olark-container .olark-feedback-form-button {
    text-transform: none !important;
}

/*-----------------------------------------------------*\
    Plugin - SimpLy Gallery
\*-----------------------------------------------------*/

/* Change font on caption in lightbox */
.pgc-rev-lb-b-view{
    font-family: "Work Sans", sans-serif;
}

/* Correct captions when overlaid on thumbnails */
.pgcsimplygalleryblock-grid-item .pgcsimplygalleryblock-grid-item-inner .pgcsimplygalleryblock-grid-item-title {
    display: block !important;
    padding: 0 !important;
}
.pgcsimplygalleryblock-grid-item .pgcsimplygalleryblock-grid-item-inner .pgcsimplygalleryblock-grid-title-wrap {
    bottom: 10px !important;
    left: 15px !important;
    right: 15px !important;
    top: unset !important;
}

/*-----------------------------------------------------*\
    Plugin - Gravity Perks -> Nested Forms
\*-----------------------------------------------------*/

/* Nested table */
.gpnf-nested-entries {
    border-collapse: collapse;
    text-align: center;
    margin: 0 0 15px;
}
.lorem table.gpnf-nested-entries thead th {
    font-size: 0.85rem;
    vertical-align: bottom;
}
.lorem table.gpnf-nested-entries tbody td.gpnf-field {
    font-size: 0.95rem;
    line-height: 1.3rem;
    vertical-align: middle;
}
.lorem table.gpnf-nested-entries tbody td.gpnf-row-actions ul li {
    font-size: 0.95rem;
    line-height: 1.3rem;
}

/* Add entry button */
.gpnf-add-entry {
    background: #0077be;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border-radius: 50px;
    font-size: 0.95rem;
    line-height: 1.3rem;
    font-weight: 500;
    padding: 15px 35px;
    transition: all 0.3s ease-in-out;
    border: solid 3px #0077be;
    text-align: center;
}
  .gpnf-add-entry:hover,
  .gpnf-add-entry:focus {
      background: #e5f1f8;
      border-color: #e5f1f8;
      color: #313435;
      text-decoration: underline;
  }

/* Modal header */
.gpnf-modal .gpnf-modal-header {
    background: #0077be !important;
    border-radius: unset !important;
}

/* Modal */
.tingle-modal-box {
    width: 70% !important;
    margin: unset !important;
    border-radius: unset !important;
}
.tingle-modal--overflow {
    padding-top: unset !important;
}

/* Modal close button */
.tingle-modal__close {
    top: 22px !important;
    right: 40px !important;
}

/* Buttons inside modal */
.tingle-btn {
    background: #0077be !important;
    text-decoration: none !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-size: 0.95rem !important;
    line-height: 1.4rem !important;
    font-weight: 500 !important;
    padding: 18px 45px !important;
    transition: all 0.3s ease-in-out !important;
    border: solid 3px #0077be !important;
    text-align: center !important;
}
  .tingle-btn:hover,
  .tingle-btn:focus {
      background: none !important;
      color: #313435 !important;
      text-decoration: underline !important;
  }
.tingle-btn.gpnf-btn-cancel {
    background: #00467f !important;
    border: solid 3px #00467f !important;
}
  .tingle-btn.gpnf-btn-cancel:hover,
  .tingle-btn.gpnf-btn-cancel:focus {
      background: none !important;
  }

@media only screen and (max-width: 959px) {

    .tingle-modal-box {
        width: 100% !important;
    }
    .tingle-modal--overflow {
        overflow-y: unset !important;
    }
    .tingle-modal__close {
        position: absolute !important;
        right: 22px !important;
    }

}
@media only screen and (max-width: 600px) {

    .gpnf-modal .gpnf-modal-header {
        margin-left: -25px !important;
        margin-right: -25px !important;
        padding: 25px !important;
        height: 100px !important;
    }
    .tingle-modal-box__content {
        padding: 25px !important;
    }
    .tingle-modal-box__footer {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-column-gap: 15px !important;
        padding: 25px !important;
    }
    .tingle-modal-box__footer .tingle-btn {
        border-radius: 6px !important;
        margin: 0 !important;
        font-size: 0.9rem !important;
        line-height: 1.3rem !important;
        padding: 15px !important;
    }

}
/* Mobile table support */
@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {

  .gpnf-nested-entries td {
      padding-left: 220px !important;
      text-align: left !important;
  }
  .gpnf-nested-entries td:before {
      content: attr(data-heading);
      position: absolute;
      width: 200px;
      left: 10px;
      white-space: nowrap;
  }

}

/*-----------------------------------------------------*\
    Plugin - Gravity Forms
\*-----------------------------------------------------*/

/* Form heading */
.gform_wrapper .gform_heading {
    margin: 0 0 35px 0;
}
/* Form description */
.gform_wrapper .gform_heading .gform_description {
    display: block;
    font-size: 1rem;
    line-height: 1.6rem;
}
/* All field wrappers */
.gform_wrapper .gfield,
.gform_wrapper fieldset.gfield {
    margin-top: 7px;
    margin-bottom: 7px;
}
/* Form field labels */
.gform_wrapper.gravity-theme .gfield_label {
    font-size: 1.4rem;
    line-height: 2rem;
    font-weight: 600;
    color: #000;
}
/* Char input counter */
.gform_wrapper.gravity-theme .gfield textarea ~ .charleft.ginput_counter {
    margin-top: 8px;
}
/* Form field descriptions */
.gfield_description.validation_message--hidden-on-empty {
    display: none !important;
}
.gform_wrapper.gravity-theme .field_description_above .description,
.gform_wrapper.gravity-theme .field_description_above .gfield_description,
.gform_wrapper.gravity-theme .field_description_above .gsection_description,
.gform_wrapper.gravity-theme .field_description_above .instruction {
    font-size: 1.1rem;
    line-height: 1.7rem;
    color: rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.04);
    display: inline-block;
    padding: 15px 20px !important;
    border-radius: 6px;
    margin: 5px 0 15px;
}
.gform_wrapper.gravity-theme .field_description_above .description p,
.gform_wrapper.gravity-theme .field_description_above .gfield_description p,
.gform_wrapper.gravity-theme .field_description_above .gsection_description p,
.gform_wrapper.gravity-theme .field_description_above .instruction p {
    font-size: 1.1rem;
    line-height: 1.8rem;
}
.gform_wrapper.gravity-theme .field_description_above .description *:last-child,
.gform_wrapper.gravity-theme .field_description_above .gfield_description *:last-child,
.gform_wrapper.gravity-theme .field_description_above .gsection_description *:last-child,
.gform_wrapper.gravity-theme .field_description_above .instruction *:last-child {
    margin-bottom: 0 !important;
}

/* Tiny labels under some fields (like First and Last) */
.gform_wrapper.gravity-theme .gfield_header_item,
.gform_wrapper.gravity-theme .gform_fileupload_rules,
.gform_wrapper.gravity-theme .ginput_complex label {
  font-size: 1rem;
  padding-top: 8px;
}
/* Description with alert-red class */
.gform_wrapper.gravity-theme .field_description_above.alert-red .gfield_description {
    background: #ffe0e0 !important;
    border: none;
    font-size: 1rem;
    line-height: 1.6rem;
    padding: 25px 30px !important;
}
/* Required indicator */
.gform_wrapper .gfield_required {
    font-size: 0.95rem;
    position: relative;
    bottom: 0.05rem;
    margin: 0 0 0 1px;
}
/* Fieldsets */
.gform_wrapper.gravity-theme fieldset {
    margin-top: 7px;
    margin-bottom: 7px;
}
/* All field inputs */
.gform_wrapper.gravity-theme input[type="color"],
.gform_wrapper.gravity-theme input[type="date"],
.gform_wrapper.gravity-theme input[type="datetime-local"],
.gform_wrapper.gravity-theme input[type="datetime"],
.gform_wrapper.gravity-theme input[type="email"],
.gform_wrapper.gravity-theme input[type="month"],
.gform_wrapper.gravity-theme input[type="number"],
.gform_wrapper.gravity-theme input[type="password"],
.gform_wrapper.gravity-theme input[type="search"],
.gform_wrapper.gravity-theme input[type="tel"],
.gform_wrapper.gravity-theme input[type="text"],
.gform_wrapper.gravity-theme input[type="time"],
.gform_wrapper.gravity-theme input[type="url"],
.gform_wrapper.gravity-theme input[type="week"],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea,
.gform_wrapper.gravity-theme .select2-container--default .select2-selection--single {
    border-radius: 4px;
    border: solid 1px #b0b0b0;
    padding: 12px;
    font-size: 1.2rem;
    line-height: 1.8rem;
}
.gform_wrapper.gravity-theme select { /* Match height of other inputs. Can't apply line-height to a select? */
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Select2 Script within GF Forms */
.gform_wrapper.gravity-theme .select2-container .select2-selection--single {
    height: 49px;
}

.gform_wrapper.gravity-theme .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
}
.gform_wrapper.gravity-theme .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 25px;
}

.gform_wrapper.gravity-theme .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #2a2a2a;
}

.gform_wrapper.gravity-theme .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 45px;
}


/* Sections */
.gform_wrapper .gsection {
    padding: 16px 0 8px;
    margin: 35px 0 20px;
    border-bottom: solid 1px #ccc;
}
.gform_wrapper .gsection h3,
.gform_wrapper .gsection h4,
.gform_wrapper .gsection h5 {
    font-size: 2.1rem;
    line-height: 2.9rem;
    font-weight: 600;
    margin: 0;
    color: #00164d;
}
/* Consent field (single checkbox) */
.gform_wrapper.gravity-theme .ginput_container_consent .gfield_consent_label {
    font-size: 1.2rem;
    line-height: 1.8rem;
}
.gform_wrapper.gravity-theme .ginput_container_consent input {
    margin: 0.2rem 5px 0 0;
}

/* Radio buttons and checkboxes */
.gform_wrapper .gfield_radio .gchoice,
.gform_wrapper .gfield_checkbox .gchoice {
    margin: 6px 0;
    display: flex;
    align-items: flex-start;
}
    .gform_wrapper.gravity-theme .gfield_checkbox label,
    .gform_wrapper.gravity-theme .gfield_radio label {
        font-size: 1.2rem;
        line-height: 1.8rem;
        margin-left: 3px;
    }
  .gform_wrapper .gfield_radio .gchoice input,
  .gform_wrapper .gfield_checkbox .gchoice input {
      margin: 0.3rem 5px 0 0;
  }
  .gform_wrapper.gravity-theme .gfield-choice-input:checked + label {
      font-weight: 500;
  }
/* Consent */
.gform_wrapper.gravity-theme .field_description_below .gfield_consent_description,
.gform_wrapper.gravity-theme .gfield_consent_description {
    max-height: unset;
    overflow-y: unset;
    padding: 10px;
}
/* Multiselect Advanced */
.gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices {
    border-radius: 4px;
    padding: 12px;
}
  .gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices li.search-choice {
      font-size: 1rem;
      line-height: 1.6rem;      display: flex;
      align-items: center;
      justify-content: center;
      padding: 5px 10px;
  }
  .gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices li.search-field {
      line-height: 1.4rem;
  }
    .gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
        position: unset;
        margin: 0 0 0 5px;
    }
    .gform_wrapper.gravity-theme .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
        font-family: Work Sans, sans-serif;
        margin: 0;
        height: unset;
    }
.gform_wrapper.gravity-theme .chosen-container .chosen-results li {
    font-size: 1.1rem;
    line-height: 1.8rem;
    color: #000
}

/* Date Time */
.gform_wrapper.gravity-theme .ginput_container_time {
    min-width: 75px;
    max-width: unset;
}
  .gform_wrapper.gravity-theme .gfield_time_ampm select {
      padding: 13px 10px;
  }
/* Buttons */
.gform_wrapper .button {
    background: #00164d;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border-radius: 50px;
    font-size: 1.1rem;
    line-height: 1.6rem;
    font-weight: 500;
    padding: 22px 45px;
    margin: 15px 0 0 0 !important;
    transition: all 0.3s ease-in-out;
    border: solid 2px #00164d;
    text-align: center;
}
.gform_wrapper .button:hover,
.gform_wrapper .button:focus {
    background: #E7ECF8;
    border-color: #E7ECF8;
    color: #313435;
    text-decoration: underline;
}
  .gform_wrapper .button.gform_previous_button {
      background: #4f4f4f;
      border-color: #4f4f4f;
      color: #fff;
  }
  .gform_wrapper .button.gform_previous_button:hover,
  .gform_wrapper .button.gform_previous_button:focus {
      background: #eee;
      border-color: #eee;
      color: #313435;
  }
  .gform_wrapper.gravity-theme .gform_save_link.button {
      background-color: transparent;
      color: #00164d;
      text-decoration: none;
      -webkit-appearance: none !important;
  }
  .gform_wrapper.gravity-theme .gform_save_link.button:hover,
  .gform_wrapper.gravity-theme .gform_save_link.button:focus {
      background: #e5f1f8;
      border-color: #e5f1f8;
      color: #313435;
      text-decoration: underline;
  }
  .form_saved_message_emailform .gform_fields > input {
      background: #0077be;
      display: inline-block;
      text-decoration: none;
      color: #fff;
      border-radius: 50px;
      font-size: 1rem;
      line-height: 1.5rem;
      font-weight: 500;
      padding: 22px 45px;
      margin: 10px 0 0 0;
      transition: all 0.3s ease-in-out;
      border: solid 3px #0077be;
      text-align: center;
  }
  .form_saved_message_emailform .gform_fields > input:hover,
  .form_saved_message_emailform .gform_fields > input:focus {
        background: #e5f1f8;
        border-color: #e5f1f8;
        color: #313435;
        text-decoration: underline;
  }
  /* Progress/Step Bars */
.gform_wrapper .gf_progressbar_wrapper,
.gform_wrapper.gravity-theme .gf_page_steps {
    margin: 0 0 50px 0;
}
.gform_wrapper.gravity-theme .gf_progressbar_title {
    color: #333;
    font-size: 0.95rem;
    margin: 0 0 10px 0;
}
.gform_wrapper.gravity-theme .gf_step_label {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.55rem;
}
/* Advanced Select with Search */
.gform_wrapper.gravity-theme .chosen-container {
    border-radius: 4px;
}
.gform_wrapper.gravity-theme .chosen-container-single .chosen-single {
    border: solid 1px #b0b0b0;
    padding: 12px;
    font-size: 1.2rem;
    line-height: 1.8rem;
    height: unset;
    background: #fff;
    box-shadow: none;
}
.gform_wrapper.gravity-theme .chosen-container-single .chosen-single span {
    font-size: 1.2rem;
    line-height: 1.8rem;
    color: #000;
}
.gform_wrapper.gravity-theme .chosen-container-single .chosen-single div {
    display: flex;
    align-items: center;
    justify-content: center;
}
.gform_wrapper.gravity-theme .chosen-container-single .chosen-single div b {
    width: 15px;
    height: 16px;
    background-position: unset;
}
/* Validation */
.gform_wrapper.gravity-theme .gform_validation_errors {
    border: none;
    box-shadow: none;
    margin: 25px 0 25px 0;
    padding: 21px 20px 20px 55px;
    position: relative;
    border: solid 1px rgba(136,0,0,0.2);
    border-radius: 0;
}
.gform_wrapper .gform_validation_errors:before {
    content: "\f06a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #b60000;
    position: absolute;
    left: 20px;
    font-size: 1.5rem;
}
.gform_wrapper .validation_error {
    border: none;
    padding: 0;
    margin: 0;
    text-align: unset;
    font-weight: 500;
    color: #b60000;
}
.gform_wrapper .validation_error > p:first-child {
    font-size: 1.2rem;
    line-height: 1.7rem;
}
.gform_wrapper .validation_error *:first-child {
    margin-top: 0;
}
.gform_wrapper .validation_error *:last-child {
    margin-bottom: 0;
}
.gform_wrapper .validation_error ul li {
    position: relative;
    list-style-type: none;
    padding: 0 0 0 27px;
    color: rgba(0,0,0,0.8);
    font-size: 1rem;
    line-height: 1.4rem;
}
.gform_wrapper .validation_error ul li:before {
    content: "\f30b";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    font-size: 1.3rem;
    color: #b60000;
}
.gform_wrapper .gfield_description.validation_message {
    background: #fff9f9 !important;
    font-size: 0.95rem !important;
    line-height: 1.4rem !important;
    margin: 20px 0 !important;
    color: #b60000 !important;
    border: solid 1px rgba(136,0,0,0.2);
}
.gform_wrapper.gravity-theme .gform_validation_errors > h2 {
    color: #c02b0a !important;
    font-size: 1.25rem !important;
    font-weight: 500 !important;
    line-height: 1.8rem !important;
    margin: 0 !important;
  }
  .gform_wrapper.gravity-theme .gform_validation_errors > ol:empty {
    padding: 0 !important;
    margin: 0 !important;
}
.gform_wrapper .gform_validation_errors > h2 .gform-icon {
    display: none !important;
}
.gform_wrapper .gform_validation_errors > h2.hide_summary {
    color: #b60000;
    font-size: 1.3rem;
    line-height: 1.8rem;
}

/* Validation Summary */
.gform_wrapper .gform_validation_errors > h2 {
    margin-top: 5px;
    font-size: 0.95rem;
}
.gform_wrapper .gform_validation_errors > ol {
    margin-bottom: 10px;
}
.gform_wrapper.gravity-theme .gform_validation_errors > ol {
    padding-left: 0 !important;
    margin-bottom: 0;
}
.gform_wrapper .gform_validation_errors > ol li {
    font-size: 1rem;
    line-height: 1.6rem;
    margin: 5px 0;
}
.gform_wrapper.gravity-theme .gform_validation_errors > ol a {
    font-size: 1rem;
    line-height: 1.4rem;
}

/* Confirmation message */
.form-confirmation {
    background: none;
    border-radius: 8px;
    border: solid 2px #00164d;
    padding: 30px 30px 30px 5rem;
    position: relative;
    margin: 35px 0;
  }
.form-confirmation br { display: none; }
.form-confirmation:before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    position: absolute;
    left: 25px;
    top: 22px;
    font-size: 2.1rem;
    color: #83a82e;
}
.form-confirmation h2, .form-confirmation h3, .form-confirmation h4 {
    color: #00164d;
    margin: 0 0 15px;
    font-size: 1.7rem;
    line-height: 2.6rem;
  }
.form-confirmation h5 {
    color: #000;
    margin: 15px 0 12px;
    font-size: 1.4rem;
    line-height: 1.9rem;
}
  .form-confirmation h5:first-child {
      color: #00164f;
      margin-top: 0;
  }
.form-confirmation h6 {
    color: #000;
    margin: 15px 0 5px;
    font-size: 1.2rem;
    line-height: 1.8rem;
}
  .form-confirmation h6:first-child {
      color: #004b29;
      margin-top: 0;
  }
.form-confirmation p,
.form-confirmation li {
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin: 10px 0;
}
.form-confirmation *:last-child {
    margin-bottom: 0;
}

/* Save and Return Later */
.form_saved_message {
    margin: 30px 0;
    border: solid 2px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 25px 30px;
}
.form_saved_message .form_saved_message_emailform .gform_footer {
    padding: 0;
}
.form_saved_message .form_saved_message_emailform .gform_footer input {
    margin: 5px 0 0 0 !important;
    background: #0077be;
    border: solid 2px #0077be;
    border-radius: 50px;
    color: #fff;
    padding: 15px 35px;
    transition: all 0.3s ease-in-out;
}
.form_saved_message .form_saved_message_emailform .gform_footer input:hover,
.form_saved_message .form_saved_message_emailform .gform_footer input:focus {
    background: #E4F1F8;
    border: solid 2px #E4F1F8;
    color: #313435;
}

/* Save and Return Later - Success */
.form_saved_message_sent {
    margin: 30px 0;
    border: solid 2px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 25px 30px;
}
.form_saved_message_sent h2 {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 15px !important;
    font-size: 2.3rem !important;
    line-height: 2.6rem !important;
}
.form_saved_message_sent h2:before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    position: absolute;
    left: 0;
    top: -1px;
    font-size: 1.9rem;
    font-weight: 900;
}
.form_saved_message_sent p {
    margin: 0 !important;
    font-size: 1.05rem;
    line-height: 1.4rem;
}

/* Advanced template: Corporate options styling */
.page-template-featured-page main.lp .wrapper .lorem .gform_wrapper .button,
.page-template-featured-page main.lpfb .lorem .gform_wrapper .button {
    font-weight: 300;
    border-width: 2px;
}

/*-----------------------------------------------------*\
    Plugin - Responsive Lightbox & Gallery (dFactory)
\*-----------------------------------------------------*/

.rl-gallery-container {
    margin: 55px 0 45px;
}

[class^="rl-hover-icon-"] .rl-gallery-link::before, [class*=" rl-hover-icon-"] .rl-gallery-link::before {
    color: rgba(255,255,255,0.9) !important;
    content: '\e801' !important;
    font-size: 2rem !important;
    top: 26% !important;
}
.rl-gallery:not(.rl-hidden-text) .rl-gallery-link:after {
    background-color: rgba(0,0,0,0.5) !important;
}

/*-----------------------------------*\
    The Events Calendar
\*-----------------------------------*/


/* -- Primary Site (2024) --*/
main.primary-site .tribe-events .tribe-common-l-container {
    padding-top: 0 !important;
}
.primary-site #tribe-bar-views-category-select select {
    border-radius: 4px;
    border: solid 1px #8b9298;
    padding: 10px;
    font-family: "Work Sans", sans-serif;
    font-size: 1.1rem;
}
.primary-site #tribe-bar-views-category-select select option {
    font-size: 1rem;
}
.tribe-events-page-template .primary-site .calendar-links .panel {
    margin: 0;
}
.tribe-events-page-template .primary-site .calendar-links .js-accordion {
    margin-top: 15px;
}
.tribe-events-page-template .primary-site .calendar-links .js-accordion button {
    font-size: 1.1rem !important;
    font-weight: 600;
}
.tribe-events-page-template .primary-site .calendar-links .js-accordion ul li {
    margin-top: 8px;
    margin-bottom: 8px;
}
.tribe-events-page-template .primary-site .calendar-links .js-accordion .js-accordion__header i {
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 0.95rem !important;
}
/* --/end-- */

.post-type-archive-tribe_events section.tribe {
    background: #f6f6f6;
    box-shadow: inset 0 9px 15px -12px rgba(0,0,0,0.3), inset 0 -9px 15px -12px rgba(0,0,0,0.3);
    padding: 65px 0 55px;
}
.single-tribe_events section.tribe {
    background: #f6f6f6;
    box-shadow: inset 0 9px 15px -12px rgba(0,0,0,0.3), inset 0 -9px 15px -12px rgba(0,0,0,0.3);
    padding: 65px 0 45px;
}
.post-type-archive-tribe_events section.tribe h2,
.single-tribe_events section.tribe h2 {
    color: #0a0a0a;
    font-size: 2.9rem;
    line-height: 3.3rem;
    font-weight: 500;
}

/* No events scheduled message */
.tribe-common .tribe-common-anchor-thin-alt:active, .tribe-common .tribe-common-anchor-thin-alt:focus,
.tribe-common .tribe-common-anchor-thin-alt:hover {
    border-bottom: 1px solid #0077be;
    color: #0077be;
}
.tribe-common .tribe-common-anchor-thin-alt {
    border-bottom: 1px solid #0077be;
}

/* View selection */
.tribe-events .tribe-events-c-view-selector__list-item-text {
    font-family: Work Sans, sans-serif;
    font-size: 0.95rem;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link:after {
    background-color: #0077be;
    height: 3px;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item-link:hover,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item-link:focus {
    text-decoration: underline;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link {
    text-decoration: none;
}

/* Fix hortizontal scrollbar */
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row {
    margin-left: 0;
    margin-right: 0;
}

/* Set proper styling on single pages */
#tribe-events-pg-template .tribe-events-content h1,
#tribe-events-pg-template .tribe-events-content h2,
#tribe-events-pg-template .tribe-events-content h3 {
    font-size: 1.9rem;
    line-height: 2.35rem;
    margin: 30px 0 15px;
    color: #0077be;
}
#tribe-events-pg-template .tribe-events-content h4 {
    font-size: 1.7rem;
    line-height: 2.1rem;
    color: rgba(0,0,0,0.8);
    margin: 35px auto 15px;
}
#tribe-events-pg-template .tribe-events-content h5 {
    font-size: 1.5rem;
    line-height: 2rem;
    color: rgba(0,0,0,0.8);
    margin: 30px auto 15px;
}
#tribe-events-pg-template .tribe-events-content h6 {
    font-size: 1.4rem;
    line-height: 2rem;
    color: rgba(0,0,0,0.7);
    margin: 30px auto 15px;
}

#tribe-events-pg-template .tribe-events-content ul,
#tribe-events-pg-template .tribe-events-content ol {
    margin: 15px 30px;
}
#tribe-events-pg-template .tribe-events-content ul li,
#tribe-events-pg-template .tribe-events-content ol li {
    font-size: 1.05rem;
    line-height: 1.6rem;
    margin: 5px 0;
}

/* Set proper restrict */
.tribe-common .tribe-common-l-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 80px 20px 125px !important;
}

/* Change font */
.tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn,
.tribe-common .tribe-common-c-btn-border-small, .tribe-common a.tribe-common-c-btn-border-small,
.tribe-common--breakpoint-medium.tribe-common .tribe-common-form-control-text__input,
.tribe-common .tribe-common-form-control-text__input,
.tribe-common .tribe-common-h1,
.tribe-common .tribe-common-h2,
.tribe-common .tribe-common-h3,
.tribe-common .tribe-common-h4,
.tribe-common .tribe-common-h5,
.tribe-common .tribe-common-h6,
.tribe-common .tribe-common-h7,
.tribe-common .tribe-common-h8,
.tribe-common .tribe-common-b1,
.tribe-common .tribe-common-b2,
.tribe-common .tribe-common-b3,
.tribe-common .tribe-common-b4,
.tribe-common .tribe-common-b5,
.tribe-common .tribe-common-b6,
.tribe-common .tribe-common-b7,
.tribe-common .tribe-common-b8,
.tribe-events .tribe-events-calendar-list__event-date-tag-weekday,
.tribe-events .datepicker .datepicker-switch,
.tribe-events .datepicker .day, .tribe-events .datepicker .dow,
.tribe-events-content,
.tribe-events-schedule .recurringinfo,
.tribe-events-schedule h2,
.tribe-related-event-info .recurringinfo,
.tribe-events-cal-links,
.tribe-events-event-meta,
.tribe-events .tribe-events-c-breadcrumbs__list {
    font-family: Work Sans, sans-serif !important;
}

/* Breadcrumbs on category pages */
.tribe-events-header__title-text {
    font-weight: 600 !important;
    color: #00164f;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-breadcrumbs__list {
    font-size: 2rem;
    line-height: 2.5rem;
    font-weight: 600;
    color: #000;
}
.tribe-events-c-breadcrumbs__list-item-link {
    color: #0b499e !important;
}
.tribe-events-c-breadcrumbs__list-item-link:hover,
.tribe-events-c-breadcrumbs__list-item-link:focus {
    text-decoration: none !important;
}

/* Date picker bar */
.tribe-events button.tribe-events-c-top-bar__datepicker-button {
    font-weight: 600;
}

/* Date picker highlight */
.tribe-events .datepicker .day.active, .tribe-events .datepicker .day.active.focused,
.tribe-events .datepicker .day.active:focus, .tribe-events .datepicker .day.active:hover,
.tribe-events .datepicker .month.active, .tribe-events .datepicker .month.active.focused,
.tribe-events .datepicker .month.active:focus, .tribe-events .datepicker .month.active:hover,
.tribe-events .datepicker .year.active, .tribe-events .datepicker .year.active.focused,
.tribe-events .datepicker .year.active:focus, .tribe-events .datepicker .year.active:hover {
    background: #0077be;
}

/* Filter bar - search input and button */
.tribe-common--breakpoint-medium.tribe-common .tribe-common-form-control-text__input {
    font-size: 0.95rem;
    line-height: 1.3rem;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__button {
    margin: 0 10px 0 0 !important;
    background: #0077be !important;
    border: solid 2px #0077be !important;
    transition: all 0.3s ease-in-out !important;
    font-weight: 500 !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__button:hover,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__button:focus {
    background: none !important;
    border: solid 2px #0077be;
    color: #0077be;
}
.tribe-common .tribe-common-c-svgicon {
    color: #0077be;
}

/* Search Bar */
.tribe-common--breakpoint-medium.tribe-events .tribe-events-header__events-bar {
    margin-bottom: 45px;
}

/* Top Bar (Nav / Date Picker) */
.tribe-common--breakpoint-medium.tribe-events .tribe-events-header__top-bar {
    margin-bottom: 55px;
}

/* Today Button */
.tribe-events-c-top-bar__today-button:hover,
.tribe-events-c-top-bar__today-button:focus {
    text-decoration: underline !important;
}

/* Headings */
.tribe-common .tribe-common-h--alt {
    font-weight: 500;
}

/* Day View */
.tribe-events-calendar-day__type-separator-text.tribe-common-h7,
.tribe-common--breakpoint-medium.tribe-common .tribe-common-h6--min-medium {
    font-size: 1.35rem;
    line-height: 1.8rem;
    color: #0077be;
}
.tribe-events .tribe-events-calendar-list__event-datetime-wrapper,
.tribe-events .tribe-events-calendar-list__event-title,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-datetime-wrapper,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-title {
    margin: 0 0 12px;
}
.tribe-events-calendar-day__event-venue-title {
    font-size: 1.05rem;
    line-height: 1.8rem;
}
.tribe-events .tribe-events-calendar-list__event-date-tag-daynum {
    font-size: 2rem !important;
    font-weight: 500;
}

/* List View - Month Heading */
.tribe-common--breakpoint-medium.tribe-common .tribe-common-h6--min-medium.tribe-events-calendar-list__month-separator-text {
    font-size: 1.8rem;
    line-height: 1.9rem;
    color: #0b499e;
    font-weight: 600;
}

/* List View & Day View - Row */
.tribe-events .tribe-events-calendar-list__event-date-tag-weekday {
    font-size: 1rem;
}
.tribe-events-calendar-list__event-datetime,
.tribe-events-calendar-day__event-datetime {
    font-size: 1rem;
    color: rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.05);
    display: inline-block;
    padding: 4px 12px !important;
    border-radius: 3px;
}
.tribe-events-calendar-list__event-title,
.tribe-events-calendar-day__event-title {
    font-size: 1.6rem !important;
    line-height: 2.1rem !important;
    font-weight: 600 !important;
}
.tribe-events-calendar-list__event-title a:hover,
.tribe-events-calendar-list__event-title a:focus {
    border: none !important;
    text-decoration: underline;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-venue {
    font-size: 1.05rem;
    line-height: 1.8rem;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-venue span {
    font-weight: 500;
}
.tribe-events-calendar-list__event-description p,
.tribe-events-calendar-day__event-description p {
    font-size: 1.1rem;
    line-height: 1.7rem;
}
.tribe-events-calendar-list__event-cost span {
    font-size: 1rem !important;
    line-height: 1;
    font-weight: 500 !important;
    color: #00619b !important;
    display: inline-block;
    background: #f1f9fd;
    padding: 10px;
    border-radius: 3px;
}

/* List View - Navigation */
.tribe-events .tribe-events-c-nav__next,
.tribe-events .tribe-events-c-nav__prev {
    background: rgba(0,0,0,0.1);
    border-radius: 50px;
    padding: 18px 35px;
    border: solid 2px transparent;
    transition: background 0.3s ease-in-out;
}
.tribe-events .tribe-events-c-nav__next:hover,
.tribe-events .tribe-events-c-nav__next:focus,
.tribe-events .tribe-events-c-nav__prev:hover,
.tribe-events .tribe-events-c-nav__prev:focus {
    border: solid 2px rgba(0,0,0,0.1);
    background: none;
    text-decoration: underline !important;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev {
    color: #000;
    font-weight: 500;
}
.tribe-events .tribe-events-c-nav__next:disabled,
.tribe-events .tribe-events-c-nav__prev:disabled {
    background-color: transparent;
    color: #d5d5d5;
}

/* List View - Search Button (Mobile) */
.tribe-common-c-btn.tribe-events-c-search__button {
    background: #0077be !important;
}

/* Month View - Day of the week */
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__header-column-title {
    font-size: 0.9rem;
    font-weight: 600 !important;
    color: #0a4a9d;
}
/* Month View - Day number */
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-month__day-date {
    font-weight: 400;
}
/* Month View - Current day */
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date,
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link {
    font-weight: 600;
}
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date .tribe-events-calendar-month__day-date-daynum {
    color: #0077be;
}
/* Month View - Multi-day event bar */
.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner {
    background-color: rgba(0,119,190,0.2);
}
/* Month View Datepicker - The width is set incorrectly by Tribe itself. Corrected. */
.tribe-events .datepicker .month,
.tribe-events .datepicker .year {
    font-family: "Work Sans", sans-serif;
}
.tribe-events-view--month.tribe-events .datepicker .month,
.tribe-events-view--month.tribe-events .datepicker .year {
    height: auto;
    margin: 3px;
    padding: 10px;
    width: 30%;
}
.tribe-events-view--month.tribe-events .datepicker .month,
.tribe-events-view--month.tribe-events .datepicker .year {
    font-size: 0.95rem;
}
.tribe-events-view--month.tribe-events .tribe-events-c-top-bar__datepicker-container {
    width: 225px;
}
/* -> Month View - Pop Up Tooltip */
.tribe-events-calendar-month__calendar-event-tooltip-datetime {
    font-family: "Work Sans", sans-serif !important;
}
.tribe-events-calendar-month__calendar-event-tooltip-title.tribe-common-h7 {
    margin: 7px 0 !important;
}
.tribe-events-calendar-month__calendar-event-tooltip-title.tribe-common-h7 a {
    font-size: 1rem !important;
    line-height: 1.3rem !important;
    font-weight: 500 !important;
}
.tribe-events-calendar-month__calendar-event-tooltip-description p {
    font-size: 0.9rem !important;
    line-height: 1.2rem !important;
}

/* -> Month View - Individual Days */
.tribe-events .tribe-events-calendar-month__calendar-event-datetime {
    color: rgba(0,0,0,0.7);
    font-size: 0.75rem;
    font-family: "Work Sans", sans-serif;
}
h3.tribe-events-calendar-month__calendar-event-title {
    margin: 3px 0 0 0 !important;
    font-size: 0.85rem !important;
}
.tribe-events .tribe-events-calendar-month__calendar-event-title-link,
.tribe-events .tribe-events-calendar-month__calendar-event-tooltip-title-link {
    font-weight: 400;
}

/* Single View */
.tribe-events-event-image {
    display: flex;
    justify-content: center;
    align-self: unset;
}
    .tribe-events-event-image img {
        max-height: 600px;
        max-width: unset;
    }
.tribe_events a.btn {
    border: solid 2px #00164d !important;
}
.tribe_events a.btn:hover,
.tribe_events a.btn:focus {
    border: solid 2px transparent !important;
}
.r.tribe-single {
    padding-top: 60px;
    padding-bottom: 100px;
}
.tribe-events-schedule {
    margin: 0 0 25px 0;
    background: rgba(0,0,0,0.08);
    padding: 15px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}
.tribe-events-schedule h4 {
    font-size: 1.55rem;
    line-height: 1.9rem;
}
.tribe-events-event-image {
    margin: 20px 0 30px;
}
.tribe-events-schedule .tribe-events-cost {
    background: #f1f9fd;
    color: #0077be;
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 500;
    border-radius: 4px;
    padding: 5px;
    margin: 0 0 0 15px;
}
.tribe-events-cal-links {
    margin: 30px 0;
    display: flex;
}
.tribe-events-cal-links .tribe-events-gcal,
.tribe-events-cal-links .tribe-events-ical {
    margin: 0;
    padding: 0;
    display: block;
    background: #f2f9fd;
    border: solid 3px #f2f9fd;
    color: #0077be;
    border-radius: 50px;
    padding: 10px 30px;
    transition: all 0.3s ease-in-out;
}
.tribe-events-cal-links .tribe-events-gcal {
    margin: 0 10px 0 0;
}
.tribe-events-cal-links a:hover,
.tribe-events-cal-links a:focus {
    background: none;
    text-decoration: underline;
}
.tribe-events-event-meta:before,
.tribe-events-event-meta ~ div:not(.tribe-events-event-meta):not(.event-tickets) {
 border: none;
}
.tribe-events-event-meta.primary,
.tribe-events-event-meta.secondary {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100% !important;
    padding: 30px;
    margin: 25px 0 0 0;
    grid-column-gap: 30px;
    background: #f4f4f4 !important;
}
.tribe-events-meta-group {
    width: unset;
    padding: 0;
    margin: 0;
    font-size: 1.05rem;
}
.tribe-events-meta-group .tribe-events-single-section-title {
    font-size: 1.6rem;
    line-height: 1;
    margin: 0 0 25px 0;
    text-transform: unset;
    font-weight: 600;
    letter-spacing: 0;
}
.tribe-events-meta-group .tribe-events-single-section-title i {
    color: #00164f;
}
.tribe-events-event-meta dt {
    font-weight: 600;
    font-size: 1.4rem;
}
.tribe-events-event-meta dd {
    font-size: 1.3rem;
    line-height: 1.8rem;
}
.tribe-events-meta-group p.type-title {
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1.8rem;
    margin: 0 0 3px 0;
}
.tribe-events-meta-group h5 {
    font-weight: 600;
    line-height: 1.62;
    font-size: 1.05rem;
    margin: 16px 0 4px 0;
}
.tribe-events-event-meta .tribe-events-address {
    margin: 0 0 16px 0;
}
.tribe-events-event-meta a,
.tribe-events-event-meta a:visited {
    color: #0077be;
}
.tribe-events-event-meta a:focus, .tribe-events-event-meta a:hover {
    color: #000;
}

/* -> Registration Form (Gravity Form) */
.tribe-events-single-event-description .gform_wrapper {
    background: #f4f4f4;
    padding: 30px;
    margin: 45px 0;
}
.tribe-events-single-event-description .gform_wrapper h2 {
    margin-top: 0;
}
.tribe-events-single-event-description .gform_confirmation_wrapper .form-confirmation p:last-child {
    margin-bottom: 0 !important;
}

/* -> Add to calendar button */
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button {
    color: #373737;
    font-family: "Work Sans", sans-serif;
    font-weight: 500;
}
.tribe-common .tribe-common-c-btn-border,
.tribe-common a.tribe-common-c-btn-border {
  border: 1px solid #d5d5d5;
}
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active,
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus,
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within,
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus-within,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
    background-color: #d5d5d5;
    color: #2d2d2d;
}
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item {
    font-family: "Work Sans", sans-serif;
}

/* Tribe Mobile View - Month View */
.tribe-events .tribe-events-calendar-month__day-cell--selected,
.tribe-events .tribe-events-calendar-month__day-cell--selected:focus,
.tribe-events .tribe-events-calendar-month__day-cell--selected:hover {
    background: #0077be;
}
.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date-daynum {
    color: #fff;
}
.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date .tribe-events-calendar-month__day-date-daynum {
    color: #fff;
}
.tribe-events .tribe-events-calendar-month__mobile-events-icon--event {
  background-color: #0077be;
}

/* Tribe Lorem Fixes for Single */
.tribe-events-content.lorem h2,
.tribe-events-content.lorem h3,
.tribe-events-content.lorem h4,
.tribe-events-content.lorem h5,
.tribe-events-content.lorem h6 {
    font-family: Work Sans, sans-serif;
}
.tribe-events-content.lorem table {
    margin: 30px 0;
    border-bottom: solid 1px #e5e5e5;
    width: 100%;
}
   .tribe-events-content.lorem table thead th {
       background: #e5e5e5;
       padding: 18px 15px 15px;
       font-weight: 500;
       font-size: 1rem;
       line-height: 1.2rem;
   }
   .tribe-events-content.lorem table thead th,
   .tribe-events-content.lorem table tbody td {
       padding: 15px;
       border: solid 1px #e5e5e5;
       vertical-align: top;
       text-align: center;
   }
.tribe-events-content.lorem table thead th,
.tribe-events-content.lorem table tbody th {
    background: #e5e5e5;
    padding: 18px 15px 15px;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2rem;
}
.tribe-events-content.lorem table tbody td,
.tribe-events-content.lorem table tbody td p,
.tribe-events-content.lorem table tbody td li,
.tribe-events-content.lorem tbody address {
    font-size: 1rem;
    line-height: 1.45rem;
}
   .tribe-events-content.lorem table tbody td  > *:first-child {
       margin-top: 0;
   }
   .tribe-events-content.lorem table tbody td > *:last-child {
       margin-bottom: 0;
   }
  .tribe-events-content.lorem table tbody tr:last-child td {
      border-bottom: none;
  }
.tribe-events-content.lorem table tfoot td {
    background: #e5e5e5;
    border: solid 1px #F0F0F0;
    padding: 15px;
    font-size: 0.85rem;
    line-height: 1.3rem;
    font-style: italic;
    text-align: center;
}
.tribe-events-content.lorem figure.wp-block-table figcaption {
    color: rgba(0,0,0,0.8);
    font-size: 0.95rem;;
    line-height: 1.3rem;
    text-align: center;
}
.tribe-events-content a {
    border-bottom: solid 1px #0077be;
}
.tribe-events-content a:active,
.tribe-events-content a:focus,
.tribe-events-content a:hover {
    color: #0077be;
    border-bottom: none;
}
/* --> Widget */
#sidebar .tribe-events-widget-events-list__event-wrapper header.tribe-events-widget-events-list__event-header h5 {
    margin: 3px 0 8px;
    text-transform: none;
    font-weight: 500;
}
#sidebar .tribe-events-widget-events-list__event-date-tag {
    margin: 0 15px 0 0;
}
#sidebar .tribe-events-widget .tribe-events-widget-events-list__event-date-tag-month {
    font-family: "Work Sans", sans-serif;
    font-size: 0.85rem;
    line-height: 1;
    margin: 0 0 2px 0;
}
#sidebar .tribe-events-widget-events-list__event-date-tag-datetime {
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    border-radius: 3px;
    padding: 10px 10px 15px;
    display: block;
    height: unset;
    width: 100%;
}
#sidebar .tribe-events-widget-events-list__event-date-tag-daynum {
    line-height: 1;
    display: block;
}
#sidebar .tribe-events-widget .tribe-events-widget-events-list__event-datetime-wrapper {
    font-size: 0.9rem;
    color: rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.05);
    display: inline-block;
    padding: 4px 8px !important;
    border-radius: 3px;
}
#sidebar a.tribe-events-widget-events-list__view-more-link {
    background: #0077be;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    line-height: 1.1rem;
    font-weight: 500;
    padding: 15px 25px;
    margin: 30px 0 0;
    transition: all 0.3s ease-in-out;
    border: solid 3px #0077be;
    text-align: center;
}
  #sidebar a.tribe-events-widget-events-list__view-more-link:hover,
  #sidebar a.tribe-events-widget-events-list__view-more-link:focus {
      background: #e5f1f8;
      border-color: #e5f1f8;
      color: #313435;
      text-decoration: underline;
  }

/*----------------------------------------*\
    Registrations for the Events Calendar
\*----------------------------------------*/

.rtec-outer-wrap  {
    margin: 15px 0 25px;
}
#rtec {
  max-width: unset;
}
#rtec .rtec-register-button {
    background: #0077be;
    text-decoration: none;
    color: #fff;
    border-radius: 50px;
    font-size: 1.1rem;
    line-height: 1.4rem;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    border: solid 3px #0077be;
    text-align: center;
    margin: 0;
    padding: 20px 40px;
}
#rtec:not(.rtec-use-modal) .rtec-register-button {
    padding: 20px 55px 20px 40px !important;
}
#rtec .tribe-bar-toggle-arrow {
    top: 18px;
    right: 25px;
}
    #rtec .tribe-bar-toggle-arrow:after {
        border-width: 7px;
    }
.rtec-already-registered-reveal {
    display: block;
    border-top: solid 2px rgba(0,0,0,0.1);
    padding: 15px 0 0 0;
    margin: 20px 0 0 0;
}
#rtec .rtec-form-wrapper {
    margin: 20px 0 0 0;
}
  #rtec .rtec-form-wrapper.rtec-toggle-on-click {
      padding: 45px 30px 30px 30px;
  }
.tribe-events-notices {
    color: #106690;
}
#rtec input[type="text"], #rtec input[type="email"],
#rtec input[type="tel"], #rtec input[type="number"],
#rtec textarea {
    border: solid 1px #ccc;
    border-radius: 4px;
    padding: 8px 10px;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.4rem;
    color: rgba(0,0,0,0.9);
    transition: all 0.3s ease-in-out;
}
#rtec select {
    padding: 8px 10px;
    font-size: 1rem;
    line-height: 1.4rem;
}
#rtec option {
    font-size: 1rem;
    line-height: 1.4rem;
}
#rtec label {
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.5rem;
    margin: 0 0 7px 0;
}
#rtec input[type="submit"] {
    background: #0077be;
    text-decoration: none;
    color: #fff;
    border-radius: 50px;
    font-size: 1rem;
    line-height: 1.3rem;
    padding: 17px 30px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    border: solid 3px #0077be;
    text-align: center;
    margin: 0;
}
#rtec input[type="submit"]:hover,
#rtec input[type="submit"]:focus {
    background: none;
    color: #0077be;
}
#rtec .rtec-error {
    border: 1px solid #b00404 !important;
}
#rtec .rtec-error-message {
    background: #b00404;
    padding: 3px 6px;
}
.rtec-already-registered-options {
    border: 1px solid #ddd;
    background: #eee;
    padding: 30px;
    margin: 15px 0 0 0;
}
.rtec-already-registered-options p {
    margin: 0 0 12px 0;
}
#rtec .rtec-success-message {
    font-size: 1.1rem;
    line-height: 1.5rem;
    padding: 20px;
    background: #e6fff2;
    border: solid 1px #b6ead0;
    color: #004924;
}

/* --> Latest past events (only shows if no new events */
.tribe-events-calendar-latest-past h2.tribe-common-h5 {
    font-weight: 600;
}
.tribe-events .tribe-events-calendar-latest-past__event-date-tag-daynum {
    font-size: 1.6rem !important;
}
.tribe-events .tribe-events-calendar-latest-past__event-date-tag-month,
.tribe-events .tribe-events-calendar-latest-past__event-date-tag-year {
    font-family: "Work Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
}
.tribe-events .tribe-events-calendar-latest-past__event-datetime-wrapper {
    font-size: 1rem !important;
    margin-bottom: 8px !important;
}
.tribe-events .tribe-events-calendar-latest-past__event-title-link {
    font-weight: 600;
    color: #0b499e !important;
}

/*---------------------------------------------*\
    Mega Menu - Primary Site Main Menu Theme
\*---------------------------------------------*/

#mega-menu-wrap-primary-site-menu #mega-menu-primary-site-menu > li.mega-menu-item > a.mega-menu-link {
    font-weight: 600 !important;
}
#mega-menu-wrap-primary-site-menu #mega-menu-primary-site-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-primary-site-menu #mega-menu-primary-site-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
    font-weight: 600 !important;
}
#mega-menu-wrap-primary-site-menu #mega-menu-primary-site-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item.mega-disable-link > a.mega-menu-link:hover,
#mega-menu-wrap-primary-site-menu #mega-menu-primary-site-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item.mega-disable-link > a.mega-menu-link:focus,
#mega-menu-wrap-primary-site-menu #mega-menu-primary-site-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item.mega-disable-link > a.mega-menu-link:hover,
#mega-menu-wrap-primary-site-menu #mega-menu-primary-site-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item.mega-disable-link > a.mega-menu-link:focus {
    color: #000;
    text-decoration: none;
}
#mega-menu-primary-site-menu .mega-program-widget h2 {
    font-size: 19px;
    line-height: 1.7;
    font-weight: 600;
    margin: 0 0 12px;
    padding: 0 0 0 2.9rem;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 2.25rem;
}
#mega-menu-primary-site-menu .mega-program-widget h2 a {
    text-decoration: none;
    color: #00164f;
}
#mega-menu-primary-site-menu .mega-program-widget h2:before {
    font-family: "Font Awesome 6 Free";
    position: absolute;
    left: 0;
    font-size: 0.95rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #00164f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
#mega-menu-primary-site-menu .mega-program-widget h2.search:before {
    content: "\f002";
}
#mega-menu-primary-site-menu .mega-program-widget h2.recruitment:before {
    content: "\f4ad";
}
#mega-menu-primary-site-menu .mega-program-widget h2.mync:before {
    content: "\f023";
    font-size: 0.85rem;
}
#mega-menu-primary-site-menu .mega-program-widget h2.awards:before {
    content: "\24";
}
#mega-menu-primary-site-menu .mega-program-widget p {
    margin: 0 !important;
    font-size: 0.85rem;
    line-height: 1.3rem;
}
#mega-menu-primary-site-menu .mega-program-widget a.btn {
    margin: 18px 0 0 0;
    padding: 11px 16px;
    font-size: 0.85rem;
    line-height: 1;
}
#mega-menu-primary-site-menu .mega-program-widget a.btn i {
    margin: 0 0 0 5px;
}
@media only screen and (max-width: 1240px) { /* mobile breakpoint */

    /* --> Tweak "Explore" and "Visit" so the column with no header gap is not obvious on mobile */
    #mega-menu-primary-site-menu li.mega-empty > a {
        display: none !important;
    }
    #mega-menu-item-57087,
    #mega-menu-item-57103 {
        padding-bottom: 0 !important;
    }
    #mega-menu-item-57093,
    #mega-menu-item-57104 {
        padding-top: 1px !important;
    }
    /* --> Make menu item text larger in mobile view */
    #mega-menu-wrap-primary-site-menu #mega-menu-primary-site-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
    #mega-menu-wrap-primary-site-menu #mega-menu-primary-site-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
        font-size: 20px;
    }
    #mega-menu-wrap-primary-site-menu #mega-menu-primary-site-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link,
    #mega-menu-wrap-primary-site-menu #mega-menu-primary-site-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link {
        font-size: 18px;
        padding: 4px 0;
    }
    /* Make widget features larger in mobile view */
    #mega-menu-primary-site-menu .mega-program-widget h2 {
        font-size: 21px;
        padding-left: 3.2rem;
        margin-bottom: 15px;
    }
    #mega-menu-primary-site-menu .mega-program-widget h2:before {
        width: 2.5rem;
        height: 2.5rem;
    }
    #mega-menu-primary-site-menu .mega-program-widget p {
        font-size: 1rem;
        line-height: 1.7rem;
    }
    #mega-menu-primary-site-menu .mega-program-widget a.btn {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
}

/* -> Top Bar (Mobile) */
header.primary-site .top-bar .bar-links .mega-menu-toggle {
    padding: unset;
    min-width: 175px;
}
header.primary-site #mega-menu-wrap-top-bar-menu .mega-menu-toggle .mega-toggle-block-1:after {
    font-size: 18px;
}
header.primary-site #mega-menu-wrap-top-bar-menu .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-label,
header.primary-site #mega-menu-wrap-top-bar-menu .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-label .mega-toggle-label-closed,
header.primary site #mega-menu-wrap-top-bar-menu .mega-menu-toggle.mega-menu-open .mega-toggle-block-1 .mega-toggle-label-open {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
}

/* -> Main Bar (Mobile) */
#mega-menu-wrap-primary-site-menu .mega-menu-toggle {
    padding: unset;
    margin: 0 0 0 20px;
    font-weight: 600;
}
#mega-menu-wrap-primary-site-menu .mega-menu-toggle .mega-toggle-blocks-left .mega-toggle-block {
    margin: 0;
}
@media only screen and (max-width: 1240px) {
    
    #mega-menu-wrap-primary-site-menu #mega-menu-primary-site-menu > li.mega-menu-item > a.mega-menu-link {
        padding: 0 20px;
        font-weight: 500 !important;
    }
    #mega-menu-wrap-primary-site-menu #mega-menu-primary-site-menu > li.mega-menu-megamenu > ul.mega-sub-menu {
        padding: 5px;
    }
    
}

/*---------------------------------------------*\
    Mega Menu - Corporate Theme
\*---------------------------------------------*/

/* Don't allow set pixel height on menu items */
#mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu > li.mega-menu-item > a.mega-menu-link {
    height: unset;
}
/* Don't use line height to define height of sub menu items */
#mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    line-height: 1.6rem;
}
/* Remove extra space beside drop down indicator on menu items with children */
#mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
    margin: 0;
}
/* Fix image heights */
#mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu input,
#mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu img {
    max-width: 100%;
    height: auto;
}
/* Child indicator arrow (top level - all) */
#mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f107";
    font-size: 0.85rem;
    margin: 0 0 0 5px;
}
/* Child indicator arrow (flyout - secondary level desktop) */
@media only screen and (min-width: 1201px) {
    #mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu li.mega-menu-flyout li.mega-menu-item a.mega-menu-link > span.mega-indicator::after {
      content: "\f105";
    }
  }
/* Child indicator arrow (secondary level - mobile - on drawer open) */
@media only screen and (max-width: 1200px) {
    #mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu li.mega-menu-item-has-children.mega-toggle-on > a.mega-menu-link > span.mega-indicator::after {
        content: "\f106";

    }
}
/* Sub-Menu Type: Mega Menu - Widget */
#mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu li.mega-menu-item.mega-menu-item-type-widget p.simple-image {
    margin-bottom: 15px;
}
#mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu li.mega-menu-item.mega-menu-item-type-widget p {
    font-weight: 400;
    line-height: 1.2rem;
    margin-bottom: 15px;
}
#mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu li.mega-menu-item.mega-menu-item-type-widget p.more {
    margin: 0;
}
#mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu li.mega-menu-item.mega-menu-item-type-widget p.more a {
    color: #292929;
    font-size: 1rem;
}
/* Sub-Menu Type: Mega Menu */
/* -> Second level menu items */
#mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
    line-height: 1.75rem;
}
/* -> Third level menu items */
#mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link {
    line-height: 1.6rem;
}

@media only screen and (max-width: 1200px) { /* Menu breaks to mobile at this size */
    
    #nav.lp .r,
    #nav.lpfb .r {
        padding: 0;
    }
    /* Match font sizes to desktop version */
    #mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu > li.mega-menu-item > a.mega-menu-link,
    #mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
        line-height: 1.6rem;
        height: unset;
        padding: 15px 20px;
    }
    /* Make the hamburger menu lines thinner */
    #mega-menu-wrap-corporate-subsite-menu .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner,
    #mega-menu-wrap-corporate-subsite-menu .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::before,
    #mega-menu-wrap-corporate-subsite-menu .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-inner::after {
        height: 2px;
    }
    /* Add a visible "Menu" label to the toggle */
    #mega-menu-wrap-corporate-subsite-menu .mega-menu-toggle .mega-toggle-blocks-left .mega-toggle-block {
        position: relative;
    }
        #mega-menu-wrap-corporate-subsite-menu .mega-menu-toggle .mega-toggle-blocks-left .mega-toggle-block:after {
            content: "Menu";
            position: absolute;
            color: #fff;
            top: 0;
            left: 50px;
            height: 100%;
            display: flex;
            align-items: center;
            font-size: 1rem;
            line-height: 1;
            font-weight: 300;
        }
    
}

/*---------------------------------------------*\
    Mega Menu - Headings and No-Headings Theme
    = Stuff that can't be set in Mega Menu =
\*---------------------------------------------*/


/* Flyout */
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    padding: 6px 5px;
    line-height: 23px;
}

/* Current Item */
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu li.mega-menu-item.mega-current_page_item > a.mega-menu-link {
    font-weight: 500 !important;
    color: #0a4a9d !important;
}
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-item.mega-current_page_item > a.mega-menu-link {
    background: #0b499e;
    color: #fff !important;
}

/* Toggle Bar */
#mega-menu-wrap-subsite-menu .mega-menu-toggle {
    background: #0F3072;
}

/* Flyout Arrow */
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
    margin-left: 1px; 
}
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after {
    margin: 0 0 0 1px;
}

/* Flyout Submenu */
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-flyout ul.mega-sub-menu {
    padding: 10px;
}

/* -- Corporate Theme */
#mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title,
#mega-menu-wrap-corporate-subsite-menu #mega-menu-corporate-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title {
    font-weight: 500;
    line-height: 1.6rem;
}

/* -- Headings Theme -- */

/* --> Mega Menu Headings - 1st Level */
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
    font-weight: 600 !important;
    line-height: 25px;
}
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:focus {
    font-weight: 600;
}
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item.mega-disable-link > a.mega-menu-link:hover,
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item.mega-disable-link > a.mega-menu-link:focus,
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-item-type-custom.mega-menu-item-has-children > ul.mega-sub-menu > li.mega-menu-item-type-custom > a.mega-menu-link:hover,
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-item-type-custom.mega-menu-item-has-children > ul.mega-sub-menu > li.mega-menu-item-type-custom > a.mega-menu-link:focus {
  color: #1f1f1f;
  text-decoration: none;
  font-weight: 600;
}

/* -> Mega Menu Headings - 2nd Level */
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link {
    line-height: 23px;
}

/* Mobile */
.mega-menu-toggle { /* toggle bar */
    padding: 30px 10px;
}
#mega-menu-wrap-subsite-menu .mega-menu-toggle .mega-toggle-block-1:before { /* icon */
    color: #fff;
    margin: 0 12px 0 0;
}
/* add label */
#mega-menu-wrap-subsite-menu .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-box {
    display: flex;
    align-items: center;
}
  #mega-menu-wrap-subsite-menu .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-box:after {
      content: "Menu";
      color: #fff;
      position: absolute;
      left: 55px;
      font-size: 1.3rem;
      font-weight: 500;
  }

/* Mega Menu with Headings - Heading */
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title,
#mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title {
    line-height: 20px;
}

/* Large mobile breakpoint */
@media only screen and (max-width: 959px) {

  /* Tribe Events */
  .tribe-events-event-meta.primary, .tribe-events-event-meta.secondary {
     grid-template-columns: 1fr 1fr;
     grid-row-gap: 35px;
  }

  /* Mega Menu Mobile */
  #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-flyout ul.mega-sub-menu {
     float: none; /* correct Mega Menu error - unfloat flyout items when in mobile mode */
  }
  /* Adjust so long lines don't go over dropdown indicator */
  #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-item.mega-menu-item-has-children > a.mega-menu-link {
     padding-right: 55px;
     position: relative;
  }
  /* Dropdown indicator larger */
  #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
     position: absolute;
     right: 20px;
     top: 14px;
     font-size: 1.2rem;
   }
   /* --- Mega Menu - Mega Menu Flyouts --- */
   /* Remove the padding around the menu itself */
   #mega-menu-wrap-subsite-menu .mega-menu-toggle + #mega-menu-subsite-menu {
       padding: 0;
   }
   /* Top level items */
   #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-item > a.mega-menu-link {
       font-size: 1rem;
       line-height: 1.4rem;
       height: unset;
       padding: 15px 20px;
   }
   /* 2nd level submenu wrapper */
   #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu {
       padding: 10px 15px;
       background: #e8e8e8;
   }
   #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link,
   #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
        font-size: 1rem;
        line-height: 1.4rem;
        padding: 12px 20px;
    }
   /* 3rd level items */
   #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link,
   #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link {
       font-size: 1rem;
       line-height: 1.4rem;
       padding: 12px 0;
   }
   #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
   #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
       padding: 0;
   }
   /* Submenu with Headings Wrapper */
   #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item,
   #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
       padding: 15px 20px;
   }
   #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > ul.mega-sub-menu > li:last-child > a {
       padding-bottom: 0 !important;
   }

   /* --- Mega Menu Mobile - Regular Flyouts --- */
   #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-flyout ul.mega-sub-menu {
       padding: 10px 15px;
       background: #e8e8e8;
   }
   #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
       background: none;
       padding: 10px;
       font-size: 1rem;
       line-height: 1.4rem;
   }
   #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover,
   #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus {
       background: none;
   }

   /* Current item */
   #mega-menu-wrap-subsite-menu #mega-menu-subsite-menu > li.mega-menu-item.mega-current_page_item > a.mega-menu-link {
       background: #F5F5F5;
       color: #0077be !important;
   }

}

/* The Events Calendar breakpoint */
@media only screen and (max-width: 783px) {

    .tribe-events-calendar-list__month-separator .tribe-common-h7 {
        font-size: 1.3rem;
        color: #0077be;
    }
    .tribe-events-calendar-list__event-header .tribe-common-b2 {
        font-size: 1.05rem;
        line-height: 1.8rem;
    }
    .tribe-common .tribe-common-g-row--gutters {
        margin-left: 0;
        margin-right: 0;
    }

}

@media only screen and (max-width: 641px) {

  .gform_wrapper.gf_browser_chrome .chosen-container-single .chosen-single, .gform_wrapper.gf_browser_gecko .chosen-container-single .chosen-single, .gform_wrapper.gf_browser_safari .chosen-container-single .chosen-single {
      line-height: inherit !important;
  }
  .gform_wrapper .gform_page_footer {
      display: grid;
  }
    .gform_wrapper .gform_page_footer .gform_previous_button {
        order: 2;
    }
    .gform_wrapper .gform_page_footer .gform_next_button {
        order: 1;
    }

}

/* Small mobile breakpoint */
@media only screen and (max-width: 650px) {

  /* Tribe Events */
  .tribe-events-schedule {
      display: block;
  }
  .tribe-events-schedule .tribe-events-cost {
      margin: 12px 0 0 0;
      display: inline-block;
  }
  .tribe-events-event-meta.primary, .tribe-events-event-meta.secondary {
      grid-template-columns: 1fr;
  }

}
