/*
Theme Name: NTEU NSW theme
Description: Theme based on Divi for NTEU NSW Division
Author: Vince Caughley
Version: 1.3.5
Template: Divi
*/

/* =========================================================
   01. Design tokens
   ========================================================= */

:root {
  --nteu-purple: #580097;
  --nteu-purple-dark: #3d217d;
  --nteu-purple-new: #692195;
  --nteu-purple-old: #550080;
  --nteu-black: #000000;
  --nteu-white: #ffffff;
  --nteu-light-blue: #b1ccdd;
  --nteu-soft-grey: #f4f4f4;
  --nteu-mid-grey: #efefef;
  --nteu-dark-grey: #2a2f31;
  --nteu-orange: #f25c3d;
  --nteu-yellow: #fed400;
  --nteu-eb9-lavender: #cabfda;

  /* Heading face — consumed by the nteu-elections plugin (ballot, nomination
     form, elections list) as var(--nteu-heading-font), so those UIs follow a
     theme font change automatically. Same for --nteu-purple/-orange/-yellow
     above: the plugin's own token file is only a fallback layer. */
  --nteu-heading-font: "Gilroy Bold", system-ui, sans-serif;
}

/* Campaign colour sets */
.ouof-campaign,
.campaign.ouof-campaign {
  --campaign-primary: #3d217d;
  --campaign-accent: #f25c3d;
  --campaign-accent-text: #ffffff;
  --campaign-soft: #bbb1d7;
}

.eb9-campaign,
.campaign.eb9-campaign {
  --campaign-primary: #3d217d;
  --campaign-accent: #fed400;
  --campaign-accent-text: #000000;
  --campaign-soft: #cabfda;
}

/* =========================================================
   02. Fonts
   ========================================================= */

@font-face {
  font-family: "Gilroy Regular";
  src: url("https://nsw.nteu.au/wp-content/uploads/et-fonts/Radomir-Tinkov-Gilroy-Bold.otf") format("opentype") !important;
  font-weight: 700;
}

@font-face {
  font-family: "Gilroy Heavy";
  src: url("https://nsw.nteu.au/wp-content/uploads/et-fonts/Radomir-Tinkov-Gilroy-Heavy.otf") format("opentype") !important;
  font-weight: 700;
}

p b,
p strong,
li strong,
strong,
li b {
  font-family: "Gilroy Bold", sans-serif;
}

/* =========================================================
   03. Base typography
   ========================================================= */

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  line-height: 1.05em !important;
}

h1 { font-size: 52px; margin-bottom: 10px; }
h2 { font-size: 32px; margin-bottom: 10px; line-height: 1.2em !important; }
h3 { font-size: 28px; margin-top: 36px; margin-bottom: 12px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 18px; }

.sub-head h2,
.sub-head h3 {
  font-size: 20px;
  margin-bottom: 0;
}

li { margin-bottom: 0.7em; }
blockquote { border-color: var(--nteu-light-blue); }

.news-category-heading,
.event-sidebar {
  color: black !important;
  padding-bottom: 0 !important;
  margin-bottom: 10px !important;
  margin-top: 40px !important;
}

.post-sidebar h3,
.post-sidebar h4 {
  font-size: 20px;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.main-intro-text p { line-height: 1.2em; }
.purple-text { color: #4a1669; }

@media (max-width: 980px) {
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .sub-head h2 { font-size: 24px !important; }
  h3 { font-size: 26px; }
  .sub-head h3 { font-size: 24px !important; }
  h4 { font-size: 20px; }
  h5 { font-size: 18px; }
  h6 { font-size: 16px; }
  p { font-size: 18px; }
}

@media (max-width: 767px) {
  .et_pb_text h1 { font-size: 32px; }
  body .et_pb_text h2 { font-size: 40px; line-height: 1.2; }
  .et_pb_text h3 { font-size: 22px; }
  .et_pb_text h4 { font-size: 18px; }
  .et_pb_text h5 { font-size: 16px; }
  .et_pb_text h6 { font-size: 14px; }
}

/* =========================================================
   04. Layout helpers
   ========================================================= */

.rotate-left { transform: rotate(-4deg); }
.rotate-right { transform: rotate(4deg); }

.side-by-side-button-section .et_pb_button_module_wrapper,
.bwbu-inline-buttons .et_pb_button_module_wrapper {
  display: inline-block;
  margin-right: 20px;
}

.full-width-buttons a { width: 100%; }

.two-col-hv-center .et_pb_text_inner,
.two-col-hv-center .vertical-align {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.two-col-hv-center .vertical-align {
  padding-right: 1em;
}

.two-col-hv-center .vertical-align h3 {
  font-size: calc(16px + 1.5vw);
}

.vertical-centre-img .dipi-at-panel-text {
  align-self: flex-start;
}

@media only screen and (min-width: 768px) {
  .explainer-text {
	column-count: 2;
  }
}

@media only screen and (max-width: 980px) {
  .three-columns,
  .four-columns {
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
  }

  .three-columns .et_pb_column { width: 33.33% !important; }
  .four-columns .et_pb_column { width: 25% !important; }
}

/* =========================================================
   05. Divi global fixes
   ========================================================= */

@media only screen and (max-width: 980px) {
  .et_pb_row { width: 90%; }
  .et_pb_row > .et_pb_menu__logo-wrap { max-width: 30% !important; }
}

@media only screen and (max-width: 780px) {
  .et_pb_row { width: 90%; }
  .et_pb_row > .et_pb_menu__logo-wrap { max-width: 40% !important; }
  .brbl-post-tile-excerpt { display: none; }
}

/* Sticky footer: short content → footer at the bottom of the viewport; long content →
   footer flows after it as normal. The min-height on #main-content is the content area's
   floor, so even on a short window the footer never rides up under sparse content. */
#et-main-area {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#main-content {
  flex: 1;
  min-height: 480px;
}

#main-footer,
.et-l--footer,
.site-footer {
  position: relative;
  z-index: 999999;
  isolation: isolate;
}

#main-header,
#main-footer > .container {
  display: none !important;
}

#footer-info {
  font-size: 14px;
  text-align: center;
  float: none;
  line-height: 1.1em;
}

.et_pb_toggle { border: none; }
.et_pb_toggle_open { background-color: var(--nteu-soft-grey) !important; }
.et_pb_toggle_close { height: auto; min-height: 120px !important; background-color: var(--nteu-soft-grey); }

.et_pb_toggle_close .et_pb_toggle_content,
.et_pb_toggle_close .et_pb_toggle_content p {
  margin-left: 0 !important;
  clear: both !important;
}

.et_pb_toggle_0.et_pb_toggle_close .et_pb_toggle_title:before,
.et_pb_toggle_1.et_pb_toggle_close .et_pb_toggle_title:before,
.et_pb_toggle_2.et_pb_toggle_close .et_pb_toggle_title:before,
.et_pb_toggle_3.et_pb_toggle_close .et_pb_toggle_title:before,
.et_pb_toggle_4.et_pb_toggle_close .et_pb_toggle_title:before,
.et_pb_toggle_5.et_pb_toggle_close .et_pb_toggle_title:before,
.et_pb_toggle_6.et_pb_toggle_close .et_pb_toggle_title:before,
.et_pb_toggle_7.et_pb_toggle_close .et_pb_toggle_title:before,
.et_pb_toggle_0.et_pb_toggle_open .et_pb_toggle_title:before,
.et_pb_toggle_1.et_pb_toggle_open .et_pb_toggle_title:before,
.et_pb_toggle_2.et_pb_toggle_open .et_pb_toggle_title:before,
.et_pb_toggle_3.et_pb_toggle_open .et_pb_toggle_title:before,
.et_pb_toggle_4.et_pb_toggle_open .et_pb_toggle_title:before,
.et_pb_toggle_5.et_pb_toggle_open .et_pb_toggle_title:before,
.et_pb_toggle_6.et_pb_toggle_open .et_pb_toggle_title:before,
.et_pb_toggle_7.et_pb_toggle_open .et_pb_toggle_title:before {
  font-size: 36px !important;
}

.dollar .percent-value:before { content: "$"; }
.dollar .percent-value:after { content: "m"; }

.post-meta a[href*="category"],
.brbl-post-tile-categories {
  pointer-events: none;
  text-decoration: none;
  color: inherit;
}

/* =========================================================
   06. Navigation
   ========================================================= */

.et-menu li { padding-right: 0; }
.nav li li { padding: 0; }

#top-menu.nav li ul li.current-menu-item a,
#top-menu.nav li ul a,
.et-menu-nav ul.et-menu ul.sub-menu li a {
  font-family: "Gilroy Regular", Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing: 0 !important;
  color: black !important;
  transition: all 0.2s ease-in-out !important;
  line-height: 1.4em;
}

#top-menu.nav li ul li.current-menu-item a:hover,
#top-menu.nav li ul a:hover,
.et-menu-nav ul.et-menu ul.sub-menu li a:hover {
  color: white !important;
  letter-spacing: 0 !important;
  background: var(--nteu-purple) !important;
  transition: all 0.2s ease-in-out;
}

#top-menu li > li { padding: 0 !important; }

#et_mobile_nav_menu:before {
  content: "MENU";
  position: absolute;
  right: 33px;
  bottom: 30px;
  color: #333;
  font-size: 16px;
}

.mobile_nav.opened .mobile_menu_bar:before { content: "\4d"; }
.et_mobile_menu { border-top: 0; min-width: 100vw; margin-left: -10vw; min-height: 100vh !important; min-height: -webkit-fill-available; padding-top: 50px !important; }
.et_mobile_menu li { text-align: center !important; }
.et_mobile_menu li li,
.et_mobile_menu li ul { padding-left: 0 !important; }
html { height: -webkit-fill-available; }
.mobile_nav.opened .et_mobile_menu { display: block !important; }

.nteu-menu-cta a {
  font-family: "Gilroy Bold", sans-serif!important;
  color: white !important;
  background-color: var(--nteu-purple);
  border-radius: 5px;
  text-align: center;
  line-height: 9px;
  padding: 5px 15px !important;
  display: block;
  border: 0;
  height: 40px;
  max-width: 155px;
}

.et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li > a {
  padding-top: 0;
  padding-bottom: 0;
}

.et_pb_menu .et_pb_menu__menu > nav > ul > li { align-items: center; }

@media (max-width: 980px) {
  .nteu-menu-cta a {
	margin-left: inherit;
	width: 100% !important;
	max-width: 100% !important;
  }

  #mobile_menu1 > li > ul,
  ul.sub-menu.dipi-collapse-opened {
	background-color: transparent !important;
  }

  #mobile_menu1 > li > a:before { font-size: 30px; }

  body.dipi-collapse-submenu-mobile .et-l--header .et_mobile_menu li.menu-item-has-children > a:after,
  body.dipi-collapse-submenu-mobile #main-header .et_mobile_menu li.menu-item-has-children > a:after {
	font-size: 24px !important;
  }
}

@media (min-width: 981px) {
  .nteu-menu-cta a:hover {
	opacity: 1 !important;
	color: white !important;
	background-color: black;
  }

  #menu-main-menu { align-items: center; }
}

/* =========================================================
   07. Buttons
   ========================================================= */

body .et_pb_button.inverse-button,
body .et_pb_button.inverse-button:hover {
  color: var(--nteu-purple) !important;
  background-color: white !important;
  border-color: var(--nteu-purple) !important;
}

a.pb_button {
  background-color: var(--nteu-purple);
  border-color: var(--nteu-purple);
}

a.pb_button:hover {
  background-color: black;
  border-color: black;
}

a.bigblue.big-button {
  background: none !important;
  border-color: white !important;
  color: white !important;
  border-radius: 3px !important;
  border: 2px solid !important;
  float: right;
  padding: 10px 24px !important;
  margin-left: 15px;
}

@media only screen and (max-width: 480px) {
  .et_pb_button {
	line-height: 18px !important;
	padding-top: 14px !important;
	padding-bottom: 14px !important;
    font-size: 16px;
  }
}

/* =========================================================
   08. Forms: Gravity Forms
   ========================================================= */

.et_pb_module .gform_wrapper .gfield select { background-image: none !important; }

body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
body .gform_wrapper textarea.textarea,
body div.form_saved_message div.form_saved_message_emailform form input[type=text],
.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 {
  font-size: 20px;
}

.gform_page_fields fieldset {
  margin-top: 30px !important;
  margin-bottom: 15px !important;
}

.gform_wrapper.gravity-theme .gform_fields { grid-row-gap: 0; }
.gform_wrapper.gravity-theme .gfield_label { font-size: 20px; }
.gform_wrapper.gravity-theme .gfield_required { display: none !important; }
.gform_wrapper.gravity-theme .gf_progressbar_blue { display: none; }

body .gform_wrapper .gform_footer { text-align: left !important; }
body .gform_wrapper .hidden_label .ginput_container > * { margin-top: 0; }
body .gform_wrapper select,
body .gform_wrapper input::placeholder { color: #555; opacity: 1; }
body .gform_wrapper select { border-radius: 0; }

.gform_wrapper ul.gfield_checkbox,
.gform_wrapper ul.gfield_radio { margin: 0 !important; }
.gform_wrapper .gfield_radio li input[type=radio] { display: none; }

.spacer.gfield { display: none; }

body .gform_wrapper .gform_footer input.button:hover,
button.gf-submit-special:hover {
  background-color: black !important;
  color: white;
  border-color: black !important;
  border-radius: 5px !important;
}

button.gf-submit-special:hover { border-radius: 0 !important; }

@media only screen and (max-width: 768px) {
  .gf_left_half { max-width: 95% !important; }

  .gform_wrapper.gform_body.top_label li.gfield.gf_right_half,
  .gform_wrapper.gform_body.top_label li.gfield.gf_left_half {
	float: left;
	clear: left !important;
	width: 99%;
  }
}

.gform_wrapper.top_label li.gfield.gfield_error.gf_left_half,
.gform_wrapper.top_label li.gfield.gfield_error.gf_right_half {
  float: left;
  clear: left !important;
  width: 99% !important;
}

/* =========================================================
   09. Forms: Action Network and campaign embeds
   ========================================================= */

#can_embed_form .email_validation,
#can_embed_form .thank-you-message,
#action-network-petition .can_thank_you-block,
span.international_link-wrap,
#can-form-area-keep-in-touch-with-the-campaign span.international_link-wrap,
#can-form-area-keep-in-touch-with-the-campaign a.international_link,
#action_info,
#can-event-area-job-security a.international_link,
#action-network-event.keep-in-touch #d_sharing,
#action-network-event.keep-in-touch #form-zip_code,
#d_sharing,
.last_line {
  display: none !important;
}

.can_button,
#donate_auto_modal input[type=submit],
#donate_auto_modal .button,
#donate_make_recurring_modal input[type=submit],
#donate_make_recurring_modal .button,
#can_embed_form input[type=submit],
#can_embed_form .button {
  padding: 0.3em 1em !important;
  letter-spacing: 0 !important;
  font-size: 20px !important;
  text-transform: none !important;
  line-height: 24px !important;
  background-color: var(--campaign-accent) !important;
  color: var(--campaign-accent-text)!important;
  border-color: var(--campaign-accent) !important;
  border-radius: 5px !important;
  font-family: "Gilroy Bold", Helvetica, Arial, Lucida, sans-serif !important;
  height: 50px;
}

.can_button:first-letter,
#can_embed_form input[type=submit]:first-letter,
#can_embed_form .button:first-letter,
#can_embed_form input.commit:first-letter {
  text-transform: capitalize !important;
}

.can_button:hover,
#donate_auto_modal input[type=submit]:hover,
#donate_auto_modal .button:hover,
#donate_make_recurring_modal input[type=submit]:hover,
#donate_make_recurring_modal .button:hover,
#can_embed_form input[type=submit]:hover,
#can_embed_form .button:hover {
  background-color: black !important;
  color: white;
  border-color: black !important;
}

#top-bar button.gf-submit-special,
#top-bar button.gf-submit-special:hover {
  border-style: none;
  margin-top: 0.55em;
  width: 100%;
  height: 40px !important;
  border-radius: 0 !important;
  font-size: 22px;
}

#top-bar body .gform_wrapper input,
#top-bar body .gform_wrapper select {
  background-color: white;
  padding: 11px 14px !important;
  height: 40px;
}

#can_embed_form #error_message {
  position: absolute !important;
  top: 0;
}

#can_embed_form #action_welcome_message #action_welcome_message_inner,
#can_embed_form #d_sharing #edit_d_sharing_opts,
#can_embed_form #d_sharing #edit_d_sharing_opts-close {
  background-color: transparent !important;
}

#action_welcome_message_inner a,
#can_embed_form #d_sharing #edit_d_sharing_opts a,
#can_embed_form #d_sharing #edit_d_sharing_opts-close a,
#can_embed_form #d_sharing #edit_d_sharing_opts,
#can_embed_form #d_sharing #edit_d_sharing_opts-close {
  color: white !important;
  text-decoration: underline !important;
}

#can_embed_form .control-group a {
  text-decoration: none !important;
  color: black !important;
}

#d_sharing li { line-height: 1.3em; }

#can-form-area-keep-in-touch-with-the-campaign form li:nth-child(2),
#can-form-area-keep-in-touch-with-the-campaign form li:nth-child(4),
#can-form-area-keep-in-touch-with-the-campaign form li:nth-child(7) {
  width: 47%;
  float: left;
}

#can-form-area-keep-in-touch-with-the-campaign form li:nth-child(3),
#can-form-area-keep-in-touch-with-the-campaign form li:nth-child(5),
#can-form-area-keep-in-touch-with-the-campaign form li:nth-child(9),
#can-form-area-keep-in-touch-with-the-campaign form li:nth-child(10),
#can-form-area-keep-in-touch-with-the-campaign form li:nth-child(11) {
  width: 50%;
  float: right;
}

#can_embed_form #can_thank_you h1 {
  font-family: "Gilroy Light", sans-serif !important;
}

#can_embed_form .floatlabel-wrapper .floatlabel-label-active {
  top: -15px !important;
  color: black !important;
  display: none !important;
}

#can_embed_form .floatlabel-wrapper .floatlabel-label:after { background: transparent !important; }
#can-form-area-keep-in-touch-with-the-campaign form input[type=submit] { height: 44px; }
#can_embed_form .check_radio_field label { font-size: 18px !important; }
#can_embed_form #form_col2 { clear: both; }
#can_embed_form.can_float #form_col1,
#can_embed_form.can_float #form_col2 { width: 80% !important; }
#can_embed_form.can_float #form_col2 { float: left !important; }

#can_thank_you,
#can_thank_you h1,
#can_thank_you h2,
#can_thank_you h3,
#can_thank_you a {
  color: white !important;
  letter-spacing: 0 !important;
}

#can_thank_you a,
#can_embed_form a {
  text-decoration: underline !important;
  color: white !important;
  letter-spacing: 0 !important;
}

#action-network-petition #can_thank_you,
#action-network-petition #can_thank_you h1,
#action-network-petition #can_thank_you h2,
#action-network-petition #can_thank_you h3,
#action-network-petition #can_thank_you a,
#action-network-petition #can_embed_form a {
  color: black !important;
  letter-spacing: 0 !important;
}

#action-network-petition #can_thank_you a,
#action-network-petition #can_embed_form a {
  text-decoration: underline !important;
}

#action-network-event #can_main_col,
#action-network-event .action_sidebar h4,
#action-network-event h4,
#action-network-event h3,
#action-network-event h2,
#action-network-petition h4,
#action-network-petition h3,
#action-network-petition h2,
#nteu-post #can_main_col,
#nteu-post .action_sidebar h4 {
  display: none!important;
}

#action-network-event { color: white; }

#action-network-event input[type=submit],
#action-network-petition input[type=submit],
#nteu-post input[type=submit] { margin-top: 20px; }

#action-network-event.keep-in-touch input[type=submit],
#nteu-post.keep-in-touch input[type=submit] { margin-top: 0; }

.can_embed.letter_delivery input#form-zip_code { display: block !important; }

.action-form-heading.ouof,
.action-form-heading.eb9 {
  font-family: "Gilroy Heavy", Helvetica, Arial, Lucida, sans-serif !important;
  font-size: 2.2vw;
  line-height: 2vw;
  padding: 5px 0 20px 0;
}

.action-form-heading.ouof { color: white; }
.action-form-heading.eb9 { color: black; }

@media (max-width: 780px) {
  .can_button,
  #donate_auto_modal input[type=submit],
  #donate_auto_modal .button,
  #donate_make_recurring_modal input[type=submit],
  #donate_make_recurring_modal .button,
  #can_embed_form input[type=submit],
  #can_embed_form .button {
	font-size: 18px !important;
  }

  .action-form-heading.ouof,
  .action-form-heading.eb9 {
	font-size: 28px !important;
	line-height: 28px !important;
  }
}

/* NSW Member Gate login form */

.nteu-member-gate-login-form,
.nteu-member-gate-login-form * {
  box-sizing: border-box;
}

.nteu-member-gate-login-form {
  max-width: 520px;
  margin-top: 30px;
}

.nteu-member-gate-login-form .gform_fields {
  display: block;
}

.nteu-member-gate-login-form .gfield {
  margin-bottom: 20px;
}

.nteu-member-gate-login-form .gfield_label,
.nteu-member-gate-login-form .nteu-member-gate-label {
  display: block;
  font-family: "Gilroy Bold", Helvetica, Arial, Lucida, sans-serif !important;
  font-size: 20px;
  line-height: 1.2;
  color: black;
  margin-bottom: 8px;
}

.nteu-member-gate-login-form input[type="email"],
.nteu-member-gate-login-form .nteu-member-gate-email-input {
  width: 100% !important;
  max-width: 100% !important;
  background: white;
  color: #1a1a1a;
  font-size: 20px;
  line-height: 1.2;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 3px;
  outline: none;
}

.nteu-member-gate-login-form input[type="email"]:focus,
.nteu-member-gate-login-form .nteu-member-gate-email-input:focus {
  border-color: var(--nteu-purple) !important;
  box-shadow: 0 0 0 4px rgba(88, 0, 151, 0.15);
}

.nteu-member-gate-login-form .gfield_description,
.nteu-member-gate-login-form .nteu-member-gate-description {
  font-size: 16px;
  line-height: 1.2;
  margin-top: 8px;
  color: #555;
}

.nteu-member-gate-login-form .gform_footer,
.nteu-member-gate-login-form .nteu-member-gate-footer {
  margin-top: 20px;
  padding-top: 0;
  text-align: left !important;
}

.nteu-member-gate-login-form input[type="submit"].nteu-member-gate-submit,
.nteu-member-gate-login-form .nteu-member-gate-submit {
  padding: 0.3em 1em !important;
  letter-spacing: 0 !important;
  font-size: 20px !important;
  text-transform: none !important;
  line-height: 24px !important;
  background-color: var(--nteu-purple) !important;
  color: white !important;
  border-color: var(--nteu-purple) !important;
  border-radius: 5px !important;
  font-family: "Gilroy Bold", Helvetica, Arial, Lucida, sans-serif !important;
  height: 50px;
  cursor: pointer;
}

.nteu-member-gate-login-form input[type="submit"].nteu-member-gate-submit:hover,
.nteu-member-gate-login-form .nteu-member-gate-submit:hover {
  background-color: black !important;
  color: white !important;
  border-color: black !important;
}

@media only screen and (max-width: 768px) {
  .nteu-member-gate-login-form {
    max-width: 100%;
  }

  .nteu-member-gate-login-form input[type="submit"].nteu-member-gate-submit {
    width: 100%;
  }
}
/* NSW Member Gate content notice */

.nteu-member-content-notice {
  display: inline-block;
  margin: -10px 0 24px 0;
  padding: 6px 12px;
  background-color: var(--nteu-light-blue);
  color: white;
  border-radius: 5px;
  font-family: "Gilroy Regular", Helvetica, Arial, Lucida, sans-serif !important;
  font-size: 14px;
  line-height: 1.2;
}
h1.entry-title.main_title:has(+ .nteu-member-content-notice) {
  margin-bottom: 0px!important;
}
.nteu-member-content-notice p {
  padding: 0;
  color: black;
  font-size: inherit;
  line-height: inherit;
}

.nteu-member-content-notice a {
  color: white;
  text-decoration: underline;
}

/* =========================================================
   10. Campaign system: OOUF + EB9
   ========================================================= */

.campaign h1,
.ouof-campaign h1,
.eb9-campaign h1,
.campaign .block h1,
.ouof-campaign .block h1,
.eb9-campaign .block h1,
.campaign .et_pb_promo h2,
.ouof-campaign .et_pb_promo h2,
.eb9-campaign .et_pb_promo h2,
.et_pb_promo.campaign h2,
.et_pb_promo.ouof-campaign h2,
.et_pb_promo.eb9-campaign h2 {
  font-family: "Gilroy Heavy", Helvetica, Arial, Lucida, sans-serif !important;
  text-transform: uppercase;
  font-size: clamp(45px, 5vw, 64px)!important; /*clamp(1rem, 5vw, 70px) !important;*/
  line-height: 1.05em !important;
  display: inline-block;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: var(--campaign-primary) !important;
  padding: 5px 10px 0 10px;
  margin-block-end: 0;
}

.campaign .et_pb_promo h2,
.ouof-campaign .et_pb_promo h2,
.eb9-campaign .et_pb_promo h2,
.et_pb_promo.campaign h2,
.et_pb_promo.ouof-campaign h2,
.et_pb_promo.eb9-campaign h2 {
  font-size: clamp(24px, 2vw, 36px) !important;
  margin-bottom: 20px;
}

.campaign.campaign-subhead h1,
.ouof-campaign.ouof-subhead h1,
.eb9-campaign.eb9-subhead h1,
.campaign.campaign-subhead .block h1,
.ouof-campaign.ouof-subhead .block h1,
.eb9-campaign.eb9-subhead .block h1 {
  font-size: 4vw;
}

span.campaign.block,
span.ouof-campaign.block,
span.eb9-campaign.block,
.campaign .block h1,
.campaign .block h2,
.ouof-campaign .block h1,
.ouof-campaign .block h2,
.eb9-campaign .block h1,
.eb9-campaign .block h2,
.campaign h2 span.block,
.ouof-campaign h2 span.block,
.eb9-campaign h2 span.block,
.campaign h2.block,
.ouof-campaign h2.block,
.eb9-campaign h2.block,
.ouof-campaign .et_pb_promo h2.block,
.eb9-campaign .et_pb_promo h2.block {
  color: var(--campaign-accent-text) !important;
  background-color: var(--campaign-accent) !important;
  padding: 5px 10px;
}

span.campaign.block,
span.ouof-campaign.block,
span.eb9-campaign.block,
.campaign h2 span.block,
.ouof-campaign h2 span.block,
.eb9-campaign h2 span.block {
  display: inline-block;
}

.campaign .block p,
.ouof-campaign .block p,
.eb9-campaign .block p {
  display: inline-block;
  background-color: var(--campaign-soft);
  color: var(--campaign-primary);
}

.campaign .campaign-squares .et_pb_column,
.ouof-campaign .ouof-squares .et_pb_column,
.eb9-campaign .eb9-squares .et_pb_column,
.ouof-campaign .campaign-squares .et_pb_column,
.eb9-campaign .campaign-squares .et_pb_column {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1.6vw;
  line-height: 1.6vw;
}

.eb9-campaign .campaign-header,
.eb9-campaign .eb9-header,
.eb9-campaign .et_pb_promo.campaign-header,
.et_pb_promo.eb9-header {
  background-color: var(--nteu-yellow) !important;
  color: black !important;
}

.eb9-campaign .campaign-header h1,
.eb9-campaign .campaign-header h2,
.eb9-campaign .campaign-header h3,
.eb9-campaign .campaign-header p,
.eb9-campaign .eb9-header h1,
.eb9-campaign .eb9-header h2,
.eb9-campaign .eb9-header h3,
.eb9-campaign .eb9-header p,
.et_pb_promo.eb9-header h1,
.et_pb_promo.eb9-header h2,
.et_pb_promo.eb9-header h3,
.et_pb_promo.eb9-header p {
  color: black !important;
}

@media (max-width: 780px) {
  .campaign h1,
  .ouof-campaign h1,
  .eb9-campaign h1 {
	font-size: 45px !important;
  }
}

/* =========================================================
   11. Branch, claims, campaign page sections
   ========================================================= */

#home-panel-stand-action > .et_pb_row > .et_pb_column {
  padding: 8% 6%;
  background-color: var(--nteu-dark-grey);
  width: 50% !important;
}

#home-panel-stand-action > .et_pb_row > .et_pb_column:first-of-type {
  background-color: var(--nteu-light-blue);
}

.branch-claims { padding: 0 !important; }
.branch-claims .et_pb_column_1_2 { margin-right: 0; width: 50%; }
.branch-claims .et_pb_column_1_3 { margin-right: 0; width: 33.33%; }
.branch-claims .et_pb_column_1_4 { margin-right: 0; width: 25%; }

#bwbu-header-text h1,
#bwbu-header-text h2,
#bwbu-header-text-home h1,
#bwbu-header-text-home h2 {
  padding-bottom: 0;
  font-size: min(45px, 3.5vw);
}

#bwbu-header-text-home p {
  margin-bottom: min(0.2vw, 5px) !important;
  font-size: min(30px, 2vw);
}

#bwbu-header-text-home img {
  width: 9vw !important;
  height: 8.4vw !important;
  margin-left: calc(30px + 1vw);
  margin-bottom: 0;
  max-width: 150px;
  max-height: 140px;
}

#bwbu-header-text img {
  width: 7.5vw !important;
  height: 6.98vw !important;
  margin-left: calc(30px + 1vw);
  margin-bottom: 0;
}

#top-bar-actions,
#bottom-bar-promo { background-color: var(--nteu-purple) !important; }

#contact-buttons .et_pb_button {
  text-align: center;
  font-size: 16px !important;
  line-height: 1em !important;
  padding: 10px 5px !important;
  height: 56px;
  max-height: 56px;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#claim-menu .et_pb_column {
  padding: 10px 5px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 56px;
}

#claim-menu .et_pb_module,
#claim-menu .et_pb_module .et_pb_text_inner p {
  background-color: transparent !important;
}

#claim-menu .et_pb_module .et_pb_text_inner p {
  font-size: 18px !important;
  line-height: 1em !important;
  font-family: "Gilroy Bold", Helvetica, Arial, Lucida, sans-serif !important;
}

#claim-menu .et_pb_module.et_pb_text.atsi-text .et_pb_text_inner p {
  font-size: min(18px, 1.15vw) !important;
}

#claim-menu .et_pb_column .et_pb_module.claim-detail .et_pb_text_inner p,
#claim-menu .et_pb_column .et_pb_module .et_pb_text_inner p {
  color: black;
}

#claim-menu .et_pb_column.secure .et_pb_module .et_pb_text_inner p,
#claim-menu .et_pb_column.professional .et_pb_module .et_pb_text_inner p,
#claim-menu .et_pb_column.atsi .et_pb_module .et_pb_text_inner p,
#claim-menu .et_pb_column.inclusive .et_pb_module .et_pb_text_inner p,
#claim-menu .et_pb_column:hover .et_pb_module .et_pb_text_inner p {
  color: white !important;
}

.et_pb_column.secure:hover,
.et_pb_column.workloads:hover,
.et_pb_column.professional:hover,
.et_pb_column.atsi:hover,
.et_pb_column.inclusive:hover,
.et_pb_column.balance:hover {
  background-color: black !important;
  color: white !important;
}

.claim-header h1 { font-size: min(45px, calc(1.5vw + 20px)); }
#job-security-bars { padding: 20px !important; background-color: #264361; }
.claim-explainer { padding-top: 30px; }
.claim-section li { line-height: 1.1em; margin-bottom: 1.3em; font-size: 18px; }
#bwbu-main-logo-text h1 { font-size: min(5vw, 80px); }
#bwbu-main-logo-text .sub-text h1 { font-size: min(2.5vw, 40px); }
#top-info-cta-text p { font-size: min(2.2vw, 40px) !important; line-height: min(2.25vw, 43px) !important; }

@media (max-width: 980px) {
  #claim-menu .et_pb_module.et_pb_text.atsi-text .et_pb_text_inner p { font-size: 2vw !important; }
  .et_pb_column#slogan-title,
  .et_pb_column#join-button { width: 50%; }
  #bwbu-main-logo-text { margin-top: 0; padding-top: 0; }
  .claim-section { padding-top: 2em !important; }
}

@media (max-width: 780px) {
  #bwbu-header-text-home img { min-width: 80px !important; min-height: 74px !important; margin-left: calc(5px + 1vw); }
  #bwbu-header-text img { min-width: 55px !important; min-height: 50px !important; margin-left: calc(5px + 1vw); }
  #bwbu-main-logo-text h1 { font-size: min(9vw, 80px); }
  #bwbu-main-logo-text .sub-text h1 { font-size: min(5vw, 40px); }
}

@media (max-width: 767px) {
  #claim-menu .et_pb_module.et_pb_text.atsi-text .et_pb_text_inner p { font-size: min(18px, 3.5vw) !important; }
}

/* =========================================================
   12. Blog, grids and listings
   ========================================================= */

.brbl-post-list-content h3 { margin-top: 0; }
.brbl-post-list-thumb img { border-radius: 50%; }

.brbl-post-tile-content,
dipi-grid-item-content {
  background: linear-gradient(0deg, rgba(42, 47, 49, 0.4) 70%, rgba(42, 47, 49, 0.05) 100%);
}

div.brbl_post_list,
ul.brbl-post-list-parent { padding-bottom: 0 !important; }
ul.brbl-post-list-parent li:nth-child(1) { border-top: 1px solid #ddd; padding-top: 15px; }
li.brbl-post-list-child { border-bottom: 1px solid #ddd; }
li.brbl-post-list-child a:hover h3 { text-decoration: underline; }
div.brbl-post-list-date { color: black !important; }

.dipi-filter-bar,
.dipi-filter-bar { margin-bottom: 30px !important; }
.dipi-filtered-posts-item .grid-item { max-height: 300px; }
.dipi-filter-bar-item-desc {
  display: none!important;
}
.dipi_filterable_grid .dipi_filterable_grid_wrapper.layout_grid .grid .img-container img {
  object-fit: cover;
  object-position: center;
  height: 100% !important;
  max-height: 300px !important;
  width: auto !important;
  min-width: 100% !important;
  max-width: none !important;
}

.dipi_filterable_grid .grid > a { display: inline-block; }

.dipi-grid-item-content {
  background: linear-gradient(0deg, rgba(42, 47, 49, 0.6) 70%, rgba(42, 47, 49, 0.05) 100%);
  padding: 10px;
  bottom: 0;
  color: white !important;
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 999;
}

.dipi-grid-item-content h4 { color: white; }
.grid-item { padding-bottom: 90px; }
.dipi-post-meta-separator { display: none; }

body .dipi_filterable_grid_0 span.dipi-grid-item-category,
body .dipi_filterable_grid_1 span.dipi-grid-item-category {
  display: inline-block;
  position: absolute;
  top: 20px;
  right: 20px;
  font-weight: 500 !important;
  font-family: "Gilroy Bold", Helvetica, Arial, Lucida, sans-serif !important;
  color: white;
  background-color: #580797;
  padding: 3px 10px !important;
  border-radius: 6px;
}
body .dipi-loadmore-btn {
  bcolor: white;
  background-color: #580797;
  padding: 3px 10px !important;
  border-radius: 6px;
  font-family: "Gilroy Bold", Helvetica, Arial, Lucida, sans-serif !important;
}
.branch-list .et_pb_promo {
  min-height: 240px;
  background-color: white !important;
  padding: 10% 5%;
  border-radius: 12px;
}

.branch-list .et_pb_promo h2,
.branch-list .et_pb_promo p { color: black !important; }

/* =========================================================
   13. Toggles, FAQs and numbered sections
   ========================================================= */

.circle {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  max-height: 50px;
  padding-top: 12px;
  float: left;
  margin: 20px 20px 0 20px;
  background-color: var(--nteu-purple-new) !important;
  z-index: 57;
}

.circle h2 { height: 50px; }

#numbered-toggle-section h2.et_pb_toggle_title {
  padding-left: 70px;
  padding-right: 25px;
  font-weight: 300 !important;
  color: #555 !important;
  min-height: 50px !important;
  height: 50px !important;
}

#numbered-toggle-section h2.et_pb_toggle_title:before {
  font-size: 36px !important;
  min-height: 50px !important;
}

#special-section-uon h2.et_pb_toggle_title:before {
  content: "" !important;
  display: none !important;
}

.help-questions .et_pb_toggle_title:before {
  font-family: ETmodules !important;
  font-weight: 400;
  font-size: 36px;
  color: black;
}

.sticking-point .et_pb_toggle_content { font-size: 18px; }
.sticking-point.et_pb_toggle_close { height: auto; min-height: 60px !important; background-color: white !important; }
.sticking-point.et_pb_toggle_open { background-color: white !important; }
#special-section-uon .sticking-point.et_pb_toggle_item.et_pb_toggle > h4.et_pb_toggle_title { color: var(--nteu-purple-old) !important; }

.highlight-row .et_pb_column { background-color: var(--nteu-soft-grey); padding: 15px; }
.highlight-row .et_pb_column_empty { background: none !important; }
.highlight-row .blurb-highlight h4 { text-align: center; color: var(--nteu-purple-old) !important; }
.highlight-row .blurb-highlight .et_pb_blurb_description { font-size: 16px !important; line-height: 20px; text-align: center; }

.explain-title .et_pb_toggle_title:before { display: none !important; }
.sticking-point .et_pb_toggle_title:before { color: black !important; font-size: 36px !important; }
.sticking-point.toc.purple .et_pb_toggle_title:before,
.sticking-point.toc.purple h5.et_pb_toggle_title { color: white !important; }
.sticking-point.toc.blue.et_pb_toggle_open,
.sticking-point.toc.blue.et_pb_toggle_close { background-color: #00ccf8 !important; }
.sticking-point.toc.purple.et_pb_toggle_open,
.sticking-point.toc.purple.et_pb_toggle_close { background-color: #550097 !important; }
.sticking-point.toc .et_pb_toggle_content,
.sticking-point.toc .et_pb_toggle_content a { color: white !important; font-size: 14px; }
.toc { padding-left: 30px !important; }
.toc ul,
.toc ol { list-style-position: outside; }
.toc a,
.toc li a { line-height: 1em !important; margin-bottom: 10px !important; }

.toggle-faq .et_pb_toggle { margin-bottom: 10px !important; }
.toggle-faq .et_pb_toggle_close { min-height: 0 !important; }
.toggle-faq .et_pb_toggle_open { background-color: white !important; }
.toggle-faq .et_pb_toggle_content { transition: max-height 0.2s ease-in-out !important; }

@media only screen and (max-width: 480px) {
  h2.et_pb_toggle_title { font-size: 20px !important; }
  #numbered-toggle-section h2.et_pb_toggle_title { padding-right: 30px; }
  #numbered-toggle-section .et_pb_row { padding-bottom: 0 !important; }
}

/* =========================================================
   14. Sliders and timeline modules
   ========================================================= */

.et_pb_slides .et_pb_slider_container_inner {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  align-items: flex-start;
}

.et_pb_slide_image {
  position: inherit !important;
  bottom: auto !important;
  margin-top: 0 !important;
  margin-left: auto;
  margin-right: auto;
}

.et_pb_slide_image img { max-height: 400px !important; }
.et_pb_slide_with_image .et_pb_slide_description .et_pb_slide_title { font-size: 35px !important; text-align: center; }
.et_pb_slide_with_image .et_pb_slide_content,
.et_pb_best_value { font-size: 18px !important; line-height: 1.2em; text-align: center; }
.et_pb_slide_description { background-color: none; border-radius: 50px; padding: 5% !important; margin-right: 0; }
.et_pb_slide_with_image .et_pb_slide_description { width: 65%; }

.dtlp-vt-title h4 { font-family: "Gilroy Semibold", Helvetica, Arial, sans-serif; }
.dtlp_vertical_timeline_child:nth-child(even) .dtlp-vt-circle { background-color: #00ccf8 !important; }
.dtlp_vertical_timeline_child:nth-child(even) .dtlp-vt-content-inner,
.dtlp_vertical_timeline_child:nth-child(even) .dtlp-vt-content-inner:before { background-color: var(--nteu-purple) !important; }
.dtlp_vertical_timeline_child:nth-child(odd) .dtlp-vt-content-inner { border: 3px solid var(--nteu-purple) !important; background-color: white !important; }
.dtlp_vertical_timeline_child:nth-child(odd) .dtlp-vt-content-inner:before { background-color: var(--nteu-purple) !important; position: absolute; z-index: -1; }
.dtlp_vertical_timeline_child.dtlp_vertical_timeline_child_9 .dtlp-vt-content-inner,
.dtlp_vertical_timeline_child.dtlp_vertical_timeline_child_9 .dtlp-vt-content-inner:before,
.dtlp_vertical_timeline_child.dtlp_vertical_timeline_child_9 .dtlp-vt-circle { background-color: #ed010c !important; }
.dtlp_vertical_timeline_child:nth-child(even) .dtlp-vt-content-inner .dtlp-vt-desc,
.dtlp_vertical_timeline_child:nth-child(even) .dtlp-vt-content-inner .dtlp-vt-title h4,
.dtlp_vertical_timeline_child:nth-child(even) .dtlp-vt-content-inner .dtlp-vt-date,
.dtlp_vertical_timeline_child.dtlp_vertical_timeline_child_9 .dtlp-vt-content-inner .dtlp-vt-desc,
.dtlp_vertical_timeline_child.dtlp_vertical_timeline_child_9 .dtlp-vt-content-inner .dtlp-vt-title h4,
.dtlp_vertical_timeline_child.dtlp_vertical_timeline_child_9 .dtlp-vt-content-inner .dtlp-vt-date { color: white !important; }
#toc .divi_table_of_contents li div span:hover,
#toc .divi_table_of_contents li a:hover { color: #ed010c !important; }

.dp-timeline .dp-timeline-item.active .dp-timeline-icon,
.dipi_timeline_item .ribbon-icon.ribbon-icon-circle.active,
.et-db #et-boc .et-l .dipi_timeline_item .ribbon-icon.ribbon-icon-circle.active {
  background-color: var(--nteu-orange) !important;
  border-color: var(--nteu-orange) !important;
}

div.et-pb-controllers,
.et-pb-slider-arrows .et-pb-arrow-prev,
.et-pb-slider-arrows .et-pb-arrow-next {
  background-color: var(--nteu-light-blue);
  color: white;
}

.et-pb-slider-arrows .et-pb-arrow-prev,
.et-pb-slider-arrows .et-pb-arrow-next { border-radius: 50%; }

/* =========================================================
   15. Page/module-specific forms and special cases
   ========================================================= */

#nteu-post-sidebar .et_pb_module:not(.et_pb_button),
#nteu-post .can_embed {
  background-color: var(--nteu-mid-grey);
  border-left: none!important; /*var(--nteu-purple) 4px solid !important;*/
  border-top-color: var(--nteu-mid-grey);
  border-bottom-color: var(--nteu-mid-grey);
  border-right-color: var(--nteu-mid-grey);
  border-radius: 12px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

#nteu-post-sidebar .post-sidebar.optional-text { border-top-right-radius: 0; }
#nteu-post-sidebar .post-sidebar.featured-image { border-top-right-radius: 12px; border-bottom-left-radius: 0; }

#nteu-post .can_embed {
  color: black;
  padding: 60px 40px;
  margin-top: 40px;
  margin-bottom: 40px;
}

#nteu-post .can_thank_you_wrap > h1,
#nteu-post .can_thank_you_wrap > p { color: black !important; }

#nteu-post h4 {
  display: block;
  text-transform: lowercase !important;
  text-align: left !important;
  font-family: "Gilroy Bold";
  letter-spacing: normal !important;
  font-size: 24px !important;
}

#nteu-post h4::first-letter { text-transform: uppercase !important; }
#nteu-post h4:after { display: none !important; }

#nteu-post .can-embed .can_button,
#nteu-post #can_embed_form input[type=submit],
#nteu-post #can_embed_form .button {
  background-color: var(--nteu-purple) !important;
  text-transform: capitalize !important;
}

#nteu-post .can-embed .can_button:hover,
#nteu-post #can_embed_form input[type=submit]:hover,
#nteu-post #can_embed_form .button:hover { background-color: black !important; }

/* AN embeds in the post sidebar sit on the grey card — dark text, purple button */
#nteu-post-sidebar #action-network-event { color: black; }

#nteu-post-sidebar #can_thank_you,
#nteu-post-sidebar #can_thank_you h1,
#nteu-post-sidebar #can_thank_you h2,
#nteu-post-sidebar #can_thank_you h3,
#nteu-post-sidebar #can_thank_you a,
#nteu-post-sidebar #can_embed_form a {
  color: black !important;
}

#nteu-post-sidebar .can_button,
#nteu-post-sidebar #can_embed_form input[type=submit],
#nteu-post-sidebar #can_embed_form .button {
  background-color: var(--nteu-purple) !important;
  border-color: var(--nteu-purple) !important;
  color: white !important;
  text-transform: capitalize !important;
}

.action-count {
  font-size: 20px;
  font-weight: bold;
  padding: 10px;
  background-color: var(--nteu-orange);
}

/* Strike fund */
#strike-fund-app h3.gsection_title { margin-bottom: 0 !important; color: var(--nteu-purple) !important; font-size: 28px; }
#strike-fund-app .gform_wrapper.gravity-theme .gsection { padding-bottom: 0; border-bottom: 1px solid var(--nteu-purple); }
#strike-fund-app .gfield_description { line-height: 1.1em !important; margin-top: 10px; }
#strike-fund-app .gform_body.gform-body { font-size: 120% !important; }
#strike-fund-app .gform_wrapper.gravity-theme .gfield_checkbox label,
#strike-fund-app .gform_wrapper.gravity-theme .gfield_radio label { font-size: 18px !important; }
#strike-fund-app .gfield { margin-top: 40px !important; }

/* Donations */
.credit-card-square { margin-top: 30px !important; }

body #donations .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
body #donations .gform_wrapper textarea.textarea,
body #donations div.form_saved_message div.form_saved_message_emailform form input[type=text],
#donations .gform_wrapper.gravity-theme input[type=color],
#donations .gform_wrapper.gravity-theme input[type=date],
#donations .gform_wrapper.gravity-theme input[type=datetime-local],
#donations .gform_wrapper.gravity-theme input[type=datetime],
#donations .gform_wrapper.gravity-theme input[type=email],
#donations .gform_wrapper.gravity-theme input[type=month],
#donations .gform_wrapper.gravity-theme input[type=number],
#donations .gform_wrapper.gravity-theme input[type=password],
#donations .gform_wrapper.gravity-theme input[type=search],
#donations .gform_wrapper.gravity-theme input[type=tel],
#donations .gform_wrapper.gravity-theme input[type=text],
#donations .gform_wrapper.gravity-theme input[type=time],
#donations .gform_wrapper.gravity-theme input[type=url],
#donations .gform_wrapper.gravity-theme input[type=week],
#donations .gform_wrapper.gravity-theme select,
#donations .gform_wrapper.gravity-theme textarea {
  font-size: 16px !important;
}

#donations input[type=radio] { visibility: hidden; }

#donations .gform_wrapper .gfield.gf_list_inline .gfield_checkbox .gchoice label,
#donations .gform_wrapper .gfield.gf_list_inline .gfield_radio .gchoice label {
  background-color: #ebebeb;
  padding: 10px 20px;
  width: 100px;
  max-width: 100px;
  text-align: center;
  color: black;
  font-size: 20px;
  border: 1px solid #ebebeb;
  border-radius: 5px;
  margin-bottom: 10px;
}

#donations .gfield_radio { margin-left: -20px; }

#donations .gform_wrapper .gfield.gf_list_inline .gfield_radio .gchoice {
  padding-right: 0;
  max-width: 140px;
  float: left;
}

#donations input:checked + label {
  background-color: var(--nteu-purple-old) !important;
  color: white !important;
}

body #donations .gform_wrapper .gform_footer input.button,
body #donations .gform_wrapper .gform_page_footer input.button,
body #donations div.form_saved_message div.form_saved_message_emailform form input[type=submit],
body #donations .gform_wrapper .gform_page_footer input.gform_next_button:hover,
body #donations .gform_wrapper .gform_page_footer input.gform_button:hover {
  width: 130px;
  padding: 5px 20px !important;
  height: auto;
  color: var(--nteu-purple-old);
}

body #donations .gform_wrapper .gform_page_footer input.gform_next_button,
body #donations .gform_wrapper .gform_page_footer input.gform_button {
  color: white;
}

#donations .gform_wrapper.gravity-theme .gsection { border: none; }
#donations .gform_wrapper.gravity-theme .gsection h3 { color: var(--nteu-purple-old); }
#donations .gform_wrapper.gravity-theme textarea { font-size: 14px; }
#survey form h3 { color: var(--nteu-purple) !important; margin-top: 60px; }
#action-options .et_pb_column:hover { background-color: rgba(38, 67, 97, 0.2); }

/* NTEU form wrapper */
.nteu-form,
.nteu-form * { box-sizing: border-box; }

.nteu-form {
  background: #5a2a82;
  padding: 20px;
  border-radius: 12px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.nteu-form li {
  list-style: none;
  margin: 0 0 14px 0;
  padding: 0;
}

.nteu-form label,
.nteu-form .floatlabel-label,
.nteu-form .control-label,
.nteu-form .js-fb-selectbasic {
  color: black !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 6px;
  display: block;
}

.nteu-form #can_embed_form .control-label {
  font-family: "Gilroy Regular", Helvetica, Arial, Lucida, sans-serif;
  color: black !important;
  font-size: 16px !important;
  font-weight: normal !important;
  line-height: 1.1 !important;
  margin-bottom: 6px;
  margin-top: 16px;
  text-transform: none !important;
  letter-spacing: 0 !important;
  display: block;
}

.nteu-form input[type="text"],
.nteu-form input[type="email"],
.nteu-form input[type="tel"],
.nteu-form input[type="number"],
.nteu-form select,
.nteu-form textarea,
.nteu-form .select2-container,
.nteu-form .iti {
  width: 100% !important;
  max-width: 100% !important;
}

.nteu-form input[type="text"],
.nteu-form input[type="email"],
.nteu-form input[type="tel"],
.nteu-form input[type="number"],
.nteu-form input[type="checkbox"],
.nteu-form select,
.nteu-form textarea,
.nteu-form .select2-choice {
  background: white;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.2;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  outline: none;
}

.nteu-form #can_embed_form .check_radio_field label.checkbox {
  font-family: "Gilroy Regular", sans-serif;
  font-size: 16px !important;
}

.nteu-form .floatlabel-wrapper { position: relative; }
.nteu-form .floatlabel-label { margin-bottom: 6px; }
.nteu-form textarea { min-height: 120px; resize: vertical; }

.nteu-form input:focus,
.nteu-form select:focus,
.nteu-form textarea:focus,
.nteu-form .select2-container-active .select2-choice,
.nteu-form .iti input:focus {
  border-color: var(--nteu-purple) !important;
  box-shadow: 0 0 0 4px rgba(255, 213, 74, 0.35);
}

.nteu-form .error input,
.nteu-form .error select,
.nteu-form .error textarea {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.25);
}

.nteu-form .international_link-wrap a,
.nteu-form .international_link {
  color: white !important;
  text-decoration: underline;
  font-size: 14px;
}

.nteu-form #can_embed_form input[type=submit] {
  width: 100% !important;
  padding: 14px 16px;
  border-radius: 12px;
  border: 0;
  background: var(--nteu-purple) !important;
  color: white;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.nteu-form #can_embed_form input,
.nteu-form #can_embed_form textarea,
.nteu-form #can_embed_form select,
.nteu-form #can_embed_form label {
  font-family: "Gilroy Regular", Helvetica, Arial, Lucida, sans-serif !important;
}

.nteu-form input[type="submit"]:hover { filter: brightness(0.98); }
.nteu-form input[type="submit"]:focus { box-shadow: 0 0 0 4px rgba(255, 213, 74, 0.35); }
.nteu-form #d_sharing label { font-weight: 500; font-size: 14px; }
.nteu-form #d_sharing input[type="checkbox"] { transform: translateY(1px); }

.nteu-form #form_col1,
.nteu-form #form_col2 {
  float: none !important;
  width: 100% !important;
}

.nteu-form .can_embed h4,
.nteu-form .can_embed h3,
.nteu-form .can_embed h2 {
  display: none !important;
}

.nteu-form .can_embed input,
.nteu-form .can_embed textarea,
.nteu-form .can_embed select {
  border-radius: 3px !important;
}

.nteu-form label.checkbox {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 10px !important;
}

.nteu-form #can_embed_form .check_radio_field label input {
  top: 7px;
}

.nteu-form input[type="checkbox"] {
  appearance: none;
  width: 1.15em;
  height: 1.15em;
  border: 1px solid #111 !important;
  border-radius: 0.25em !important;
  display: inline-grid;
  place-content: center;
  margin-top: 2px;
  background: white !important;
}

.nteu-form input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  transform: scale(0);
  transition: transform 120ms ease-in-out;
  background: #111;
  clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 24%, 86% 10%, 38% 72%);
}

.nteu-form input[type="checkbox"]:checked {
  background: var(--nteu-purple) !important;
}

.nteu-form input[type="checkbox"]:checked::before {
  transform: scale(1);
  background: white !important;
}

.nteu-form input[type="checkbox"]:focus {
  outline: 3px solid rgba(0, 0, 0, 0.25);
  outline-offset: 2px;
}

/* =========================================================
   16. Document Library Pro and other one-off fixes
   ========================================================= */

.single-dlp_document #sidebar .widget { display: none; }
.single-dlp_document #left-area { width: 100%; }
.single-dlp_document #sidebar { display: none; }
.single-dlp_document #main-content .container:before { display: none; }
.single-dlp_document #main-content .dlp-document-info-image > img { border: 1px solid #666; }

#form-zip_code,
.discussion-board {
  display: none !important;
}

.noclick2022 .gchoice_6_15_2,
.noclick2022 .gchoice_6_15_3,
.noclick2022 .gchoice_6_15_4,
.noclick2022 .gchoice_6_15_5,
.noclick2022 .gchoice_6_15_6,
.noclick2022 .gchoice_6_15_7 {
  display: none !important;
}

.raffle-items .et_pb_column:has(.et_pb_text) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 30px;
  background-image: url(https://betteruniversities.work/wp-content/uploads/2022/10/star.png);
  background-size: contain;
}

.raffle-items .et_pb_column:empty { background: none !important; }

.raffle-items .et_pb_column .et_pb_text {
  margin: auto;
  background-color: rgba(0, 0, 0, 0);
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.raffle-items .et_pb_column .et_pb_text_inner {
  font-size: 18px;
  line-height: 20px;
  color: black;
  font-weight: bold;
}

.pa-full-height-image-column,
.pa-full-height-image-column .et_pb_image_wrap {
  height: 100%;
}

.pa-full-height-image-column img {
  object-fit: cover;
  height: 100%;
}

.ic-icon-box .image-choices-field.image-choices-show-labels .image-choices-choice-text {
  display: block;
  font-size: 20px !important;
  letter-spacing: -0.17px;
  text-align: left;
  font-weight: normal;
  margin-top: 30px;
  font-family: "Gilroy Regular" !important;
}

.gform_wrapper.gravity-theme #gf_progressbar_wrapper_1 .gf_progressbar_title {
  color: white !important;
  font-size: 20px !important;
}

#gform_1 .image-choices-choice-text {
  color: white;
  font-size: 20px;
}

#gform_1 .image-choices-choice-selected.image-choices-choice-text {
  color: red;
  font-size: 20px;
}

body #podcast-player.nteu-pod div.pp-podcast input,
body #podcast-player.nteu-pod div.pp-podcast .episode-list__load-more,
body #podcast-player.nteu-pod div.pp-podcast .pp-modal-window,
body #podcast-player.nteu-pod div.pp-podcast .pp-modal-window input,
body #podcast-player.nteu-pod div.pp-podcast .pp-modal-window .episode-list__load-more,
body #podcast-player.nteu-pod div.pp-podcast {
  font-family: "Gilroy Bold" !important;
}

div.episode-single__description {
  font-family: "Gilroy Regular" !important;
}



/* =========================================================
   Divi Options CSS migration fixes
   These rules were present in Divi Theme Options CSS
   but missing or changed in the child theme stylesheet.
   ========================================================= */

/* Utility / legacy heading helpers */

h2.line {
  letter-spacing: 0 !important;
}

h4.mt15 span {
  font-weight: bold;
  text-transform: none;
  letter-spacing: 0;
}

/* Top action bar layout */

.top-action-bar .et_pb_text_inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Top bar Gravity Forms submit button */

#top-bar body .gform_wrapper .gform_footer input.button,
#top-bar button.gf-submit-special {
  background-color: var(--nteu-orange) !important;
  color: white;
  border-color: var(--nteu-orange) !important;
  border-radius: 5px !important;
  font-size: 20px;
  font-family: "Gilroy Bold", Helvetica, Arial, Lucida, sans-serif !important;
  height: 50px;
  padding: 0 1rem;
}

/* Desktop column helper prefixes retained from old Divi Options CSS */

@media only screen and (min-width: 768px) {
  .explainer-text {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }
}

/* DIPI filter grid image sizing from old Divi Options CSS.
   Keep this if the current object-fit version is not behaving correctly. */

.dipi_filterable_grid .grid.hide_lightbox .grid-item > a > .img-container {
  overflow-x: hidden;
  min-height: 200px;
  max-height: 300px;
  height: 20vw;
}

.dipi_filterable_grid .grid.hide_lightbox .grid-item > a > .img-container img {
  min-height: 100%;
  min-width: 100%;
  height: auto;
  width: auto;
}


/* DIPI category badges from old Divi Options CSS.
   Only keep this if you want the older light-blue/black styling rather than the newer purple/white styling. */

/*
body .dipi_filterable_grid_0 span.dipi-grid-item-category {
  color: black;
  background-color: var(--nteu-light-blue);
}
*/

/* Blog tile gradient from old Divi Options CSS.
   Your current theme CSS uses a softer opacity gradient. Uncomment this if you want the old stronger version. */

/*
.brbl-post-tile-content {
  background: linear-gradient(0deg, rgba(42, 47, 49, 1) 70%, rgba(42, 47, 49, 0.4) 100%);
}
*/
/* This is the end */ 
	