/*-----------------------------------------------------*\
    Plugin - Max Mega Menu
\*-----------------------------------------------------*/

#mega-menu-wrap-school-menu #mega-menu-school-menu > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
    background: #f1f1f1;
    color: #232323;
}
#mega-menu-wrap-school-menu #mega-menu-school-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.5rem;
}

/* -- Custom Icons - School of English Language Studies * -- */
#mega-menu-wrap-school-menu #mega-menu-school-menu li.mega-menu-item.mega-home-icon a.mega-menu-link:before {
    content: "\f015";
    top: -1px;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    font: "Font Awesome 6 Free";
    position: relative;
    font-size: 0.9rem;
}
#mega-menu-wrap-school-menu #mega-menu-school-menu li.mega-menu-item.mega-programs-icon a.mega-menu-link:before {
    content: "\f14a";
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    font: "Font Awesome 6 Free";
    position: relative;
    font-size: 1.05rem;
    margin-right: 9px;
}
#mega-menu-wrap-school-menu #mega-menu-school-menu li.mega-menu-item.mega-faculty-icon a.mega-menu-link:before {
    content: "\f51c";
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    font: "Font Awesome 6 Free";
    position: relative;
    font-size: 1.05rem;
    margin-right: 9px;
}
#mega-menu-wrap-school-menu #mega-menu-school-menu li.mega-menu-item.mega-tour-icon a.mega-menu-link:before {
    content: "\f21d";
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    font: "Font Awesome 6 Free";
    position: relative;
    font-size: 1.1rem;
    margin-right: 7px;
    bottom: -1px;
}
#mega-menu-wrap-school-menu #mega-menu-school-menu li.mega-menu-item.mega-contact-icon a.mega-menu-link:before {
    content: "\f086";
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    font: "Font Awesome 6 Free";
    position: relative;
    font-size: 1.05rem;
    margin-right: 7px;
}

/*-----------------------------------------------------*\
    Plugin - EZ MS Alerts
\*-----------------------------------------------------*/

/* bar must display at the bottom because all the top bars are fixed */
.ez-alert-bar {
    position: fixed;
    bottom: 0;
    z-index: 9999;
    width: 100%;
}
.ez-alert-bar > .ez-alert {
    padding-right: 200px;
}

/* accommodate chat button */
@media screen and (max-width: 959px) {
    .ez-alert-bar > .ez-alert {
        padding-top: 25px;
        padding-right: 25px;
        padding-bottom: 95px;
    }
    .ez-alert h1, .ez-alert h2, .ez-alert h3, .ez-alert h4, .ez-alert h6 {
        font-size: 1.15rem;
        line-height: 1.55rem;
        margin: 0 0 10px 0;
    }
}

/*-----------------------------------------------------*\
    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 - Gravity Forms
\*-----------------------------------------------------*/

/* Form heading */
.gform_wrapper .gform_heading {
    margin: 0 0 35px 0;
}
/* 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.25rem;
    line-height: 1.75rem;
    font-weight: 600;
}
/* Form field descriptions */
.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: 0.95rem;
    line-height: 1.4rem;
    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;
}
/* Required indicator */
.gform_wrapper .gfield_required {
    font-size: 0.95rem;
    position: relative;
    bottom: 0.05rem;
    margin: 0 0 0 1px;
}
/* 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 {
    border-radius: 4px;
    border: solid 1px #b0b0b0;
    padding: 12px;
    font-size: 1rem;
    line-height: 1.4rem;
}
/* File Upload */
.gform_fileupload_rules {
    margin-top: 15px !important;
}
/* Fieldsets */
.gform_wrapper.gravity-theme fieldset {
    margin-top: 7px !important;
    margin-bottom: 7px !important;
}
/* 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: 1.65rem;
    line-height: 1.9rem;
    font-weight: 500;
    margin: 0;
    color: rgba(0,0,0,0.8);
}
/* Consent field (single checkbox) */
.gform_wrapper.gravity-theme .ginput_container_consent .gfield_consent_label {
    margin: 0 0 0 5px;
}
/* Radio buttons and checkboxes */
.gform_wrapper .gfield_radio .gchoice,
.gform_wrapper .gfield_checkbox .gchoice {
    margin: 3px 0;
}
  .gform_wrapper.gravity-theme .gfield_checkbox label,
  .gform_wrapper.gravity-theme .gfield_radio label {
      font-size: 1rem;
      line-height: 1.6rem;
      margin-left: 3px;
  }
  .gform_wrapper.gravity-theme .gfield-choice-input:checked + label {
      font-weight: 500;
  }
/* 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;
    }
/* 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: #0a4a9d;
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border-radius: 50px;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
    padding: 14px 35px;
    margin: 25px 0;
    transition: all 0.3s ease-in-out;
    border: solid 2px #0a4a9d;
    text-align: center;
}
  .gform_wrapper .button:hover,
  .gform_wrapper .button:focus {
      background: unset;
      border-color: #0a4a9d !important;
      color: #0a4a9d !important;
  }
    .gform_wrapper.gravity-theme .gform_previous_button.button {
        background: #3e3e3e;
        color: #fff;
        border-color: #3e3e3e;
    }
    .gform_wrapper.gravity-theme .gform_previous_button.button:hover,
    .gform_wrapper.gravity-theme .gform_previous_button.button:focus {
        background: #fff;
        color: #3e3e3e !important;
        border-color: #3e3e3e !important;
    }

/* 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: 600;
    padding-left: 8px;
    font-size: 1rem;
}
.gform_wrapper.gravity-theme .gf_step_active .gf_step_number {
    border-color: #0077be;
    background: none;
    color: #0077be;
    font-weight: 800;
}
.gform_wrapper.gravity-theme .gf_step_completed .gf_step_number:before {
    background: #018a51 !important;
    border-color: #018a51 !important;
}
/* Other Options (radio buttons) */
.gform_wrapper.gravity-theme .gfield_checkbox button,
.gform_wrapper.gravity-theme .gfield_checkbox input[type="text"],
.gform_wrapper.gravity-theme .gfield_radio button,
.gform_wrapper.gravity-theme .gfield_radio input[type="text"] {
  margin-top: 12px;
}
/* Advanced Select with Search */
.gform_wrapper.gravity-theme .chosen-container {
    border-radius: 4px;
}
.gform_wrapper.gravity-theme .chosen-container .chosen-results li {
    font-size: 1rem;
    line-height: 1.4rem;
}
.gform_wrapper.gravity-theme .chosen-container-single .chosen-single {
    border: solid 1px #b0b0b0;
    padding: 12px;
    font-size: 1rem;
    line-height: 1.4rem;
    height: unset;
    background: #fff;
    box-shadow: none;
}
.gform_wrapper.gravity-theme .chosen-container-single .chosen-single span {
    font-size: 1rem;
    line-height: 1.4rem;
}
.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;
}
/* Consent field */
.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;
}
/* Validation */
.gform_wrapper .gform_validation_errors {
    border: none;
    box-shadow: none;
    margin: 0 0 25px 0;
    padding: 21px 20px 20px 55px;
    position: relative;
}
.gform_wrapper .gform_validation_errors:before {
    content: "\f06a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #b60000;
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 1.5rem;
}
.gform_wrapper .validation_error {
    border: none;
    padding: 0;
    margin: 0;
    text-align: unset;
    font-weight: 500;
    color: #b60000;
}
.gform-icon--circle-error:before { /* disable default */
    display: none;
}
.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 .validation_message--hidden-on-empty:empty {
    display: none;
}
.gform_wrapper .gform_validation_errors > h2 .gform-icon {
    display: none;
}
.gform_wrapper .gform_validation_errors > h2.hide_summary {
    color: #b60000;
    font-size: 1.3rem;
    line-height: 1.8rem;
}
