/*
Responsive Group Responsiveness
*/
@media (max-width: 781px) {
  .responsive_group.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 25% !important;
  }
}
@media (max-width: 406px) {
  .responsive_group.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 33% !important;
  }
}
/*
    Stacks row children on mobile
*/
@media (max-width: 781px) {
  .stack_row.wp-block-group {
    flex-wrap: wrap;
  }
}
/*
 Recenter elements on mobile
*/
@media (max-width: 781px) {
  .float_none_mobile {
    float: none !important;
    margin: 0 auto;
    margin-inline-start: auto !important;
    margin-inline-end: auto !important;
  }
}
/*
This will switch columns on mobile, works if there are two columns
*/
@media (max-width: 781px) {
  .switch_columns_on_mobile > .wp-block-column:first-child {
    order: 2;
  }
}
/*
Force remove border radius
*/
.no_radius, .no_radius img {
  border-radius: 0 !important;
}
/*
Fix mobile menu text color
*/
.has-modal-open .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
  color: var(--wp--preset--color--base);
}
/*
 Proper sticky header
*/
.sticky_header {
  top: calc(0px + var(--wp-admin--admin-bar--position-offset, 0px));
  position: sticky;
  z-index: 10;
}
.sticky_header > div {
  transition: padding 0.3s ease;
}
.sticky_header.fixed {
  position: fixed;
  width: 100%;
}
.sticky_header.absolute {
  position: absolute;
  width: 100%;
}
body.scrolled .sticky_header > div {
  padding-top: calc(var(--wp--preset--spacing--medium) / 2) !important;
  padding-bottom: calc(var(--wp--preset--spacing--medium) / 2) !important;
}
/*
 Adjust GF Form CSS
*/
.gform_button.button {
  background-color: var(--wp--preset--color--primary);
  border-radius: 5px;
  border-width: 0;
  color: var(--wp--preset--color--base);
  font-family: inherit;
  font-size: var(--wp--preset--font-size--base);
  font-style: normal;
  font-weight: 500;
  line-height: inherit;
  padding-top: 0.5em;
  padding-right: 1em;
  padding-bottom: 0.5em;
  padding-left: 1em;
  text-decoration: none;
  cursor: pointer;
}
.gform_wrapper.gravity-theme .gfield_required_asterisk {
  color: white;
}
input:not([type="submit"]), select, textarea, .wp-block-post-comments-form input:not([type="submit"]):not([type="checkbox"]), .wp-block-post-comments-form textarea {
  outline: none;
  color: black;
}
.gform_wrapper.gravity-theme .ginput_counter {
  color: white;
}
/*
    Nav menu active styles
*/
.wp-block-navigation.wp-block-navigation.wp-block-navigation .current-menu-item a {
  color: inherit;
  background-color: inherit;
  font-size: 100%;
  font-weight: normal;
  padding: inherit;
  border-radius: 0;
  text-decoration: underline;
}
.gform_button.button {
  background-color: var(--wp--preset--color--primary-accent);
  border-radius: 5px;
  color: var(--wp--preset--color--secondary);
}
.gform_button.button:hover {
  background-color: var(--wp--preset--color--main);
}
