/* COURSE COLORS */
:root {
  --legacy: #bfd1e5;
  --basic: #004643;
  --intermediate: #29335c;
  --advanced: #552f42;
  --seeker: #1f4227;
  --apprentice: #2b3e67;
  --disciple: #482b3a;
  --leader: #59472c;
  --ODBUyellow: #fab432;
  --ODBUblue: #2279cb;
  --ODBUgreen: #7abc43;
  --ODBUblack: #2e2f2f;
  --ODBUdarkgray: #656565;
  --ODBUpurple: #870058;
}

/* BUTTONS */
button:not(.search-filter-input-button) {
  margin: 0.5em 0;
}

button.full-width {
  width: 100%;
  text-align: center;
}

/* CONTENT */
.center {
  text-align: center;
}

/* SIDEBAR */
.widgettitle,
.widget-title {
  line-height: 1.5rem;
}

.bb-template-v2 .widget label {
  font-size: 1em;
}

.widget label:not(.bps-label) {
  margin-bottom: 0px !important;
  line-height: 25px;
}

.widget .gform_wrapper form #input_2_2 {
  margin-top: -15px;
}

.widget .gform_legacy_markup_wrapper .gfield_checkbox li label {
  max-width: 100%;
}

.gfield_checkbox input[type="checkbox"] + label:before {
  background: var(--bb-content-alternate-background-color);
}

.widget label:not(.bps-label) {
  font-weight: 400 !important;
}

.widget
  .gform_wrapper
  form
  input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not(
    [type="button"]
  ):not([type="image"]):not([type="file"]) {
  margin-top: 0;
}

.max-video {
  max-width: 768px;
  margin: auto !important;
}

/* GRAVITY FORMS */

.gform_wrapper .large {
  line-height: normal;
}

.gf_discount_notification span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: auto;
  background: var(--bb-content-alternate-background-color);
  padding-right: 10px;
  border-radius: var(--bb-block-radius);
  overflow: hidden;
}

.gf_discount_notification span i {
  background: var(--ODBUyellow);
  color: #ffffff;
  min-width: 50px;
  font-size: 1.4em;
  font-weight: 300;
  text-align: center;
  width: 4%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gf_discount_notification span strong {
  margin: 10px 5px;
  padding: 0px 10px;
}

.group-subscription .gfield--input-type-calculation {
  opacity: 0;
  height: 0;
  width: 0;
}

.group-subscription .amount-total,
.gift-certificate .amount-total {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 5px 20px;
  border-radius: var(--bb-block-radius);
  overflow: hidden;
  align-items: center;
  border: 1px solid var(--bb-content-border-color);
  background: var(--bb-content-alternate-background-color);
  margin-bottom: 1em;
  margin-top: 1em;
}

.group-subscription .gfield_label,
.gift-certificate .gfield_label {
  margin-bottom: 0 !important;
}

.group-subscription .amount-total label,
.gift-certificate .amount-total label {
  flex: 1;
  margin-bottom: 0;
}

.group-subscription .amount-total .ginput_container_total,
.gift-certificate .amount-total .ginput_container_total {
  flex: 1;
  text-align: end;
}

.group-subscription .amount-total .ginput_container_total input,
.gift-certificate .amount-total .ginput_container_total input {
  color: var(--ODBUblack);
  text-align: end;
  padding: 0;
}

.group-subscription .amount-total-block {
  padding: 1em;
  border-radius: var(--bb-block-radius);
  border: 1px solid var(--bb-content-border-color);
  background: var(--bb-content-alternate-background-color);
  margin-bottom: 1em;
  margin-top: 1em;
}

.group-subscription .amount-total-block section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bb-content-border-color);
  margin-bottom: 10px;
}

.group-subscription .ginput_container_number .instruction {
  display: none;
}

.gfield--type-section {
  margin-top: 2em;
}

.gfield--type-section h3.gsection_title {
  margin-bottom: 0;
  color: var(--ODBUdarkgray);
  text-transform: uppercase;
}

.gform_wrapper.gravity-theme input[type="password"],
.gform_wrapper.gravity-theme .password_input_container input[type="text"] {
  width: 100%;
}

.gform_wrapper.gravity-theme .gform_show_password {
  margin: auto;
}

.gf_readonly input {
  background: var(--bb-content-alternate-background-color) !important;
  border: 0 !important;
  cursor: not-allowed !important;
}

.gf_readonly input:focus,
.gf_readonly textarea:focus,
.gf_readonly select:focus {
  box-shadow: none !important;
  border-color: transparent !important;
}

.gfield_consent_description {
  background: var(--bb-content-alternate-background-color);
  border: 0 !important;
  padding: 15px !important;
  margin-bottom: 15px;
}

.email-notice {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: auto;
  background: var(--bb-content-alternate-background-color);
  padding-right: 10px;
  border-radius: var(--bb-block-radius);
  overflow: hidden;
}

.email-notice i {
  background: var(--ODBUblue);
  color: #ffffff;
  min-width: 40px;
  font-size: 1.4em;
  font-weight: 300;
  text-align: center;
  width: 4%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
}

.email-notice p {
  margin: 5px;
  padding: 0px 5px;
}

.email-notice a {
  color: var(--ODBUblue);
}

.gform_wrapper.gf_browser_chrome form select {
  line-height: normal;
}

.populate_course_pdf {
  background: var(--bb-content-alternate-background-color);
  padding: 15px;
  border-radius: var(--bb-block-radius);
}

.populate_course_pdf label.gfield_label_before_complex {
  margin-bottom: 0 !important;
  border-bottom: 1px solid var(--bb-content-border-color);
  width: 100%;
}

.populate_course_pdf .ginput_product_price_wrapper label {
  vertical-align: top;
}

.populate_course_pdf .ginput_product_price_wrapper input {
  height: auto;
  vertical-align: text-top;
  color: var(--ODBUblack) !important;
  min-height: auto !important;
  line-height: normal !important;
}

/* SEARCH BAR */
.header-search-wrap .searchandfilter {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: var(--bb-header-height);
  margin: 0 auto;
  max-width: 500px;
}

.header-search-wrap .searchandfilter label,
.header-search-wrap .searchandfilter ul {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin: 0;
  width: 100%;
  position: relative;
}

.bb-template-v2 .header-search-wrap .sf-input-text,
.bb-template-v2 .header-search-wrap input.sf-input-text {
  border: 1px solid transparent;
  border-radius: var(--bb-input-radius);
}

.bb-template-v2 .header-search-wrap .sf-input-text:focus,
.bb-template-v2 .header-search-wrap input.sf-input-text:focus {
  border-color: var(--bb-primary-color);
}

.header-search-wrap .sf-input-text,
.header-search-wrap input.sf-input-text {
  background-color: var(--bb-header-alternate-background);
  background-size: 16px;
  border: 0;
  border-radius: 30px;
  box-shadow: none;
  color: var(--bb-header-links);
  font-size: 14px;
  font-weight: 400;
  height: initial;
  min-height: initial;
  overflow: hidden;
  outline: 0;
  padding: 10px 15px 10px 35px;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.header-search-wrap .searchandfilter label:before {
  content: "\ef10";
  font-family: bb-icons;
  font-style: normal;
  margin-right: 10px;
  font-size: 1.2em;
  position: absolute;
  top: 7px;
  left: 7px;
  color: #b8b8b8;
}

.header-search-wrap .searchandfilter label:focus-within:before {
  color: var(--bb-primary-color);
}

.searchandfilter label,
.searchandfilter input.sf-input-text {
  width: 100%;
}

button.reset-search-filters {
  background: #fab432;
  color: var(--ODBUblack) !important;
  padding: 5px 10px;
  border-radius: var(--bb-block-radius-inner);
  line-height: normal;
  min-height: auto;
  font-size: .875em;
  border: 0;
  margin-top: 2em;
}

button.reset-search-filters:hover,
button.reset-search-filters:focus {
  background: var(--ODBUblack);
  color: #ffffff !important;
  border: 0;
}

/* BUDDYBOSS PROFILE AND MEMBER AREA */
#invites-personal-li,
#shop-settings-personal-li,
#export-personal-li,
table.profile-fields .field_nickname,
#profile-edit-form .field_nickname,
#certificates-personal-li {
  display: none;
}

.my-courses-empty {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: fit-content;
  background: var(--bb-content-alternate-background-color);
  padding-right: 10px;
  border-radius: var(--bb-block-radius);
  overflow: hidden;
}

.my-courses-empty i {
  background: var(--ODBUblue);
  color: #ffffff;
  min-width: 50px;
  font-size: 1.4em;
  font-weight: 300;
  text-align: center;
  width: 4%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
}

.my-courses-empty p {
  margin: 10px 5px;
  padding: 0px 10px;
}

.my-courses-empty p a {
  color: var(--ODBUblue);
  margin-left: 5px;
}

/* BLOG POSTS */
.single-post .entry-img {
  padding-top: 45%;
}

.post .entry-content li {
  margin-bottom: 7px;
  line-height: 1.7em !important;
}

.wp-block-columns {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}

.single-post .post-related-posts,
.single-attachment .post-related-posts {
  margin: 30px 0;
  padding: 10px 0;
}

.activity-list li.bbp_reply_create .activity-content .activity-inner {
  max-width: none;
}

/* DISPLAY CHILDPAGES SHORTCODE */

.child-pages {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.child-pages a {
  flex: 25%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  background-color: rgb(158 158 158);
  padding: 10px;
  border: 2px solid #ffffff;
}

.child-pages h4 {
  padding: 5% 2%;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
}

.child-pages img {
  max-width: 70px;
  width: 30%;
  margin-left: auto;
  padding: 5px 10px;
}

.child-pages a:hover {
  background-color: rgb(204 204 204);
}

/* CHILD PAGE NAV */

.child-page-nav {
  background: var(--bb-content-alternate-background-color);
  text-align: center;
  padding: 15px 25px;
  margin-bottom: 25px;
  border-radius: var(--bb-block-radius);
}

.child-page-nav h3 {
  margin-bottom: 5px;
  text-transform: uppercase;
}

.child-page-nav ul {
  list-style-type: none;
  margin: 0;
}

.child-page-nav li {
  display: inline-block;
}

.child-page-nav a {
  background: var(--bb-cover-image-background-color);
  color: #ffffff;
  padding: 2px 15px;
  border-radius: var(--bb-block-radius);
  margin: 3px 0px;
  display: block;
}

.child-page-nav li.current_page_item a,
.child-page-nav li a:hover,
.child-page-nav li a:focus {
  background: var(--ODBUblue);
}

.entry-header h1.entry-title .icon {
  filter: brightness(0);
  width: 30px;
  margin-right: 10px;
  top: -3px;
  position: relative;
}

.page-featured-image img {
  min-width: 100%;
  margin-bottom: 25px;
  border-radius: var(--bb-block-radius-inner);
  max-height: 305px;
  object-fit: cover;
}

/* REF TAGGER */
.rtLight .rtContainer {
  border-radius: var(--bb-block-radius);
  overflow: hidden;
}

.rtTooltipDropShadow .rtContainer {
  -webkit-box-sizing: 0 0 3px 0 #444;
  -moz-box-shadow: 0 0 3px 0 #444;
  box-shadow: 0 0 3px 0 #444;
}

.rtTooltipHeader {
  background: var(--ODBUblue) !important;
  color: #ffffff !important;
}

.rtTooltipFooter {
  padding: 15px;
  text-transform: capitalize;
}

.rtLight .rtTooltipMoreLink:link,
.rtLight .rtTooltipMoreLink:visited {
  color: #ffffff;
  background: var(--ODBUblue);
  padding: 0.5em 1em;
  border-radius: var(--bb-block-radius-inner);
  margin-bottom: 12px;
}

.rtLight .rtTooltipMoreLink:link:hover,
.rtLight .rtTooltipMoreLink:visited:hover {
  background: var(--ODBUblack);
}

.rtTooltipBrandLink a {
  display: none;
}

/* RETURN BUTTON */

.return-button {
  position: absolute;
  right: 0;
  top: -15px;
}

.return-button i {
  font-weight: 300;
  margin-right: 5px;
}

/* MOBILE MENU */

.bb-template-v2
  .bb-mobile-panel-inner
  .side-panel-menu
  .menu-item
  > a
  > .bs-submenu-toggle {
  top: 0;
}

/* LOGIN WIDGET */
.widget.widget_bp_core_login_widget
  label[for="bp-login-widget-user-pass"]
  span.label-switch {
  top: 36px;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ORGANIZATION SHORTCODE */
.affiliate-shortcode .org-logo,
.affiliate-shortcode .org-title {
  text-align: center;
}

.affiliate-shortcode .org-logo {
  margin: 15px auto;
  max-width: 200px;
}

.affiliate-shortcode .org-content {
  background: var(--bb-content-alternate-background-color);
  padding: 15px;
  overflow: hidden;
  margin-bottom: 35px;
}

.affiliate-shortcode .org-content .org-additional {
  margin-top: 15px;
}

/* ACCORDION ELEMENT */

.accordion section.item {
  margin: 5px 0;
  border-radius: 6px;
  overflow: hidden;
}

.accordion section .label {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #5a5a5a;
  font-weight: 400;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  transition: all 0.2s linear;
  background-color: #f2f4f5;
  cursor: pointer;
}

.accordion section .label i {
  float: right;
  margin-top: 0;
  font-size: 1.3em;
  font-weight: 300;
  color: #5a5a5a;
  margin-right: 0;
  top: 0;
}

.bb-sfwd-aside.bb-dark-theme .accordion section .label i {
  color: #a2a2a2;
}

.accordion section .label.active,
.accordion section .label:focus,
.accordion section .label:hover {
  background-color: #647385;
  color: #fff;
}

.accordion section .label.active a,
.accordion section .label:focus a,
.accordion section .label:hover a {
  color: var(--bb-alternate-text-color);
}

.accordion section .content {
  background-color: #f2f4f5;
  display: none;
  padding: 20px;
}

.accordion section .content ol,
.accordion section .content p {
  margin-bottom: 5px;
}

.bb-dark-theme .accordion section .label {
  color: #e3e3e3;
  background-color: #393939;
}

.bb-dark-theme .accordion section .content {
  background-color: #393939;
  color: #e3e3e3;
}

span.small-caps {
  font-variant: small-caps;
  text-transform: lowercase;
}

/* SITE NOTICE */
.site-notice {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -30px;
  margin-right: -30px;
  padding: 5px 30px;
  font-size: 14px;
  line-height: 20px;
}

.site-notice button {
  background: #ffffff;
  display: inline-block;
  padding: 0 15px;
  border-radius: var(--bb-block-radius);
  margin: 0 5px;
  color: var(--ODBUblack);
  border: 0;
  line-height: inherit;
  font-size: inherit;
  vertical-align: top;
}

.site-notice button:hover,
.site-notice button:focus {
  background: var(--ODBUblack);
  color: #ffffff;
}

.site-notice a {
  display: contents;
}

.site-notice i {
  font-size: 20px;
  line-height: inherit;
  color: inherit;
  display: inline;
  vertical-align: top;
}

.notice-close i {
  font-size: 20px;
  line-height: 20px;
  cursor: pointer;
  margin-left: 10px;
}

/* LOGIN WIDGET */
#bp-login-widget-form label[for="bp-login-widget-user-login"],
#bp-login-widget-form label[for="bp-login-widget-user-pass"] {
  position: relative;
  display: block;
  font-size: 0;
  height: 0;
}

#bp-login-widget-form .login-input-wrapper {
  position: relative;
  margin-bottom: 15px;
}

#bp-login-widget-form .login-input-wrapper::before {
  font-family: "bb-icons";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 16px;
  z-index: 1;
}

#bp-login-widget-form .email-wrapper::before {
  content: "\ef52";
  color: var(--bb-body-text-color);
}

#bp-login-widget-form .password-wrapper::before {
  content: "\eebf";
  font-size: 20px;
}

#bp-login-widget-form input {
  margin-bottom: 0;
}

#bp-login-widget-form input[type="text"],
#bp-login-widget-form input[type="password"] {
  width: 100%;
  padding: 10px 10px 10px 40px;
  background-color: var(--bb-content-background-color);
  border: 1px solid var(--bb-content-border-color);
  box-shadow: none;
  border-radius: var(--bb-input-radius);
}

#bp-login-widget-form input[type="text"]:focus,
#bp-login-widget-form input[type="password"]:focus {
  border-color: var(--bb-input-focus-border-color);
  box-shadow: var(--bb-input-focus-shadow);
}

#bp-login-widget-form input::placeholder {
  color: var(--bb-alternate-text-color);
}

.widget.widget_bp_core_login_widget label[for="bp-login-widget-user-pass"] span.label-switch {
  z-index: 999;
  top: 10px;
  background: #ffffff;
}

#bp-login-widget-form div.bbp-submit-wrapper {
  float: right;
}

/* MEDIA QUERIES
@media (max-width: 768px) {
  .widget_block {
    display: none;
  }
} */

@media (max-width: 768px) {
  .child-pages a {
    flex: 50%;
  }
  .return-button {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
  }
  :where(.wp-block-columns.is-layout-flex) {
    gap: 0;
  }
}

@media (max-width: 500px) {
  .child-pages a {
    flex: 100%;
    border-width: 10px;
  }
  .child-pages h4 {
    padding: 2%;
  }
  .child-page-nav li {
    display: block;
  }
  .child-page-nav a {
    padding: 0;
    margin: 5px 0px;
  }
  .site-notice {
    display: block;
    text-align: center;
    padding-bottom: 15px;
    padding-top: 13px;
  }
  .site-notice #notice-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .site-notice #hide-on-mobile {
    display: none;
  }
  .site-notice button {
    width: 90%;
    margin: 10px auto;
    padding: 6px;
  }
  .site-notice .notice-close i {
    margin-left: 0;
    margin-top: 15px;
  }
}
