body { background: #fff !important; }
img, video { max-width: 100%; height: auto; }

.button.hidden { display: none !important; }

.featurette { position: relative; }

.bf-parallax {
  background-attachment: fixed !important;
}

.bf-screenreader-only {
  position: absolute;
  top: auto;
  left: -10000px;

  width: 1px;
  height: 1px;

  overflow:hidden;
}

.bfcms-loading,
.bfcms-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999998;

  background: rgba(0,0,0,0.3) url('../../loading.svg') no-repeat center center;
}
  .bfcms-overlay {
    background-image: none;
  }
  .bfcms-loading-text {
    display: none;

    position: fixed;
    top: 50%;

    width: 100%;
    margin-top: 50px;

    text-align: center;
  }
    .bfcms-loading-message {
      display: inline-block;
      padding: 15px;

      font-size: 22px;

      color: #fff;
      background: #00467c;
      border-radius: 15px;
    }

.bf-align-left { text-align: left; }
.bf-align-right { text-align: right; }
.bf-align-center { text-align: center; }
  .bf-align-center ul, .bf-align-center ol { list-style-position: inside; }

.bf-text-small { font-size: 0.75em; }
.bf-text-large { font-size: 1.5em; }
.bf-text-xlarge { font-size: 2em; }

.bf-flash-messages {
  margin-top: 2em;
}

  .bf-flash-messages .flash_message_info,
  .bf-flash-messages .flash_message_error {
    padding: 7px 25px;
    margin-bottom: 5px;

    color: #fff;
    background: #f00;
  }
    .bf-flash-messages .flash_message_info {
      color: #000;
      background: #f1f1f1;
    }
    .bf-flash-messages .flash_message_error a { color: #fff; }



.bf-font-selector { cursor: pointer; }
.bf-font-selector.bf-font-small { font-size: 0.75em; }
.bf-font-selector.bf-font-large { font-size: 1.25em; }
.bf-font-selector.bf-font-xlarge { font-size: 1.5em; }

.bf-bg-position-left-top      { background-position: left top !important; }
.bf-bg-position-left-25       { background-position: left 25% !important; }
.bf-bg-position-left-center   { background-position: left center !important; }
.bf-bg-position-left-75       { background-position: left 75% !important; }
.bf-bg-position-left-bottom   { background-position: left bottom !important; }

.bf-bg-position-25-top        { background-position: 25% top !important; }
.bf-bg-position-25-25         { background-position: 25% 25% !important; }
.bf-bg-position-25-center     { background-position: 25% center !important; }
.bf-bg-position-25-75         { background-position: 25% 75% !important; }
.bf-bg-position-25-bottom     { background-position: 25% bottom !important; }

.bf-bg-position-center-top    { background-position: center top !important; }
.bf-bg-position-center-25     { background-position: center 25% !important; }
.bf-bg-position-center-center { background-position: center center !important; }
.bf-bg-position-center-75     { background-position: center 75% !important; }
.bf-bg-position-center-bottom { background-position: center bottom !important; }

.bf-bg-position-75-top        { background-position: 75% top !important; }
.bf-bg-position-75-25         { background-position: 75% 25% !important; }
.bf-bg-position-75-center     { background-position: 75% center !important; }
.bf-bg-position-75-75         { background-position: 75% 75% !important; }
.bf-bg-position-75-bottom     { background-position: 75% bottom !important; }

.bf-bg-position-right-top     { background-position: right top !important; }
.bf-bg-position-right-25      { background-position: right 25% !important; }
.bf-bg-position-right-center  { background-position: right center !important; }
.bf-bg-position-right-75      { background-position: right 75% !important; }
.bf-bg-position-right-bottom  { background-position: right bottom !important; }

.bfcms-ctr-container.bf-full-height, .bfcms-ctr-container.bf-full-height.bf-header .featurette { min-height: 100vh; }
.bfcms-ctr-container.bf-1-4-height, .bfcms-ctr-container.bf-1-4-height.bf-header .featurette { min-height: 25vh; }
.bfcms-ctr-container.bf-1-3-height, .bfcms-ctr-container.bf-1-3-height.bf-header .featurette { min-height: 33.333vh; }
.bfcms-ctr-container.bf-1-2-height, .bfcms-ctr-container.bf-1-2-height.bf-header .featurette { min-height: 50vh; }
.bfcms-ctr-container.bf-2-3-height, .bfcms-ctr-container.bf-2-3-height.bf-header .featurette { min-height: 66.667vh; }
.bfcms-ctr-container.bf-3-4-height, .bfcms-ctr-container.bf-3-4-height.bf-header .featurette { min-height: 75vh; }

.bfcms-ctr-container.bf-4-3-aspect { aspect-ratio: 4/3; height: auto; }
  .bfcms-ctr-container.bf-4-3-aspect > .container, .bfcms-ctr-container.bf-4-3-aspect > .container-fluid, .bfcms-ctr-container.bf-4-3-aspect .row, .bfcms-ctr-container.bf-4-3-aspect .row > div[class^="col"], .bfcms-ctr-container.bf-4-3-aspect .row > div > .featurette { height: 100%; }
.bfcms-ctr-container.bf-16-9-aspect { aspect-ratio: 16/9; height: auto; }
  .bfcms-ctr-container.bf-16-9-aspect > .container, .bfcms-ctr-container.bf-16-9-aspect > .container-fluid, .bfcms-ctr-container.bf-16-9-aspect .row, .bfcms-ctr-container.bf-16-9-aspect .row > div[class^="col"], .bfcms-ctr-container.bf-16-9-aspect .row > div > .featurette { height: 100%; }

.bfcms-ctr-container.bf-has-video-bg {
  position: relative;
  overflow: hidden;
}
  .bfcms-ctr-container.bf-has-video-bg div[class ^= "col"] { z-index: 1; }
  .bfcms-ctr-container.bf-has-video-bg .bf-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;

    min-width: 100%;
  }

  .bfcms-ctr-container > .container .featurette,
  .bfcms-ctr-container > .container-fluid .featurette {
    z-index: 2;
  }

  .bfcms-ctr-container .bf-ctr-underlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
  }

.bf-video-embed {
  max-width: 100%;
  overflow: hidden;
}


.bfcms-ctr-container.bf-column-bleed,
.bfcms-ctr-container.bf-column-bleed .row > div[class^="col-"] {
  padding-left: 0;
  padding-right: 0;
}
  .bfcms-ctr-container.bf-column-bleed > .container,
  .bfcms-ctr-container.bf-column-bleed > .container-fluid {
    position: relative;
    z-index: 10;
  }

  .bfcms-ctr-container.bf-column-bleed:before,
  .bfcms-ctr-container.bf-column-bleed:after {
    content: ' ';

    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%;
    z-index: 1;
  }
    .bfcms-ctr-container.bf-column-bleed:after { left: 50%; }


.bf-social-links {
  max-height: 120px;
  margin: 2em 0 1em;

  overflow: hidden;
}
  .bf-social-links ul { 
    margin: 0;
    padding: 0;
    list-style: none;
  }
    .bf-social-links li {
      display: inline-block;
    }

.bfcms-lightbox {
  position: fixed !important;
  top: 5% !important;
  left: 5% !important;
  z-index: 999999;

  display: none;

  max-width: 90%;
  max-height: 90%;

  box-shadow: 0 0 10px rgba(0,0,0,0.5);

  overflow: scroll;
}
  .bfcms-lightbox:not(.is-active) {
    display: none !important;
  }
  .bfcms-lightbox .bf-lb-shim {
    max-width: 100%;
    max-height: 100%;
  }

  .bfcms-lightbox .bf-lb-close {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 999;

    width: 40px;
    height: 40px;
    line-height: 40px;

    cursor: pointer;

    opacity: 0.75;
  }
    .bfcms-lightbox .bf-lb-close:hover {
      opacity: 1;
    }

.fb_iframe_widget {
  float: left;
}

.bf-sys-login,
.bf-sys-logout {
  max-width: 100%;
  width: 340px;
  margin: 0 auto;
  padding: 30px;

  text-align: center;
}
  .bf-sys-login .bf-sso-provider { margin-bottom: 8px; }
  .bf-sys-login .bf-sso-provider:last-of-type { margin-bottom: 1em; }

  .bf-sys-login form > div {
    margin-bottom: 8px;
  }
    .bf-sys-login form input[type="text"],
    .bf-sys-login form input[type="email"],
    .bf-sys-login form input[type="submit"],
    .bf-sys-login form input[type="password"] {
      width: 100%;
    }

  .bf-sys-login .bf-sys-register {
    margin-top: 2em;
    padding-top: 1.5em;

    border-top: 1px solid #ccc;
  }

.bf-sys-register {
}
  .bf-sys-register .bf-sys-register-firstname,
  .bf-sys-register .bf-sys-register-lastname {
    float: left;
    width: 47%;
  }
    .bf-sys-register .bf-sys-register-lastname {
      margin-left: 6%;
    }


.bf-table {
  position: relative;
}
  .bf-chart-collapse,
  .bf-table-collapse {
    padding: 0.5rem 1rem;
    background-color: #f2f2f2;

    cursor: pointer;
  }
    .bf-chart-collapse.show .bf-chart-collapse-icon,
    .bf-table-collapse.show .bf-table-collapse-icon {
      transform: rotate(90deg);
    }
  .bf-chart.collapsed,
  .bf-table.collapsed {
    display: none;
  }
  .bf-table-wait {
    display: none;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;

    background: rgba( 0, 0, 0, 0.25 );
    background-image: url('/res/js/bfc_common/loading.svg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
  }

  .bf-table .bf-table-scroll {
    position: absolute;
    right: 0;
    z-index: 100;

    display: flex;
  }
    .bf-table .bf-table-scroll > div {
      display: flex;
      align-items: center;
      justify-content: center;

      min-width: 23px;

      background-color: #ddd;
      border-left: 1px solid #ccc;

      cursor: pointer;
    }
  .bf-table .bf-table-body {
    max-width: 100%;
    overflow-x: scroll;
  }

  .bf-table .bf-table-filter {
    margin: 1em 0;
    text-align: center;
  }
    .bf-table .bf-table-filter-toggle {
      display: block;
      width: 100%;
    }

    .bf-table .bf-table-filter-ctr {
      display: none;

      text-align: left;

      background: #fff;
    }
    .bf-table .bf-table-filter-ctr .row > div {
      margin-top: 0.5em;
      margin-bottom: 0.5em;
    }

  .bf-table .bf-table-search {
    margin: 1em 0;
  }

  .bf-table-row {
    display: table-row;
    clear: left;

    border-bottom: 1px solid #f6f6f6;
  }
    .bf-table-heading {
      font-weight: bold;
      font-size: 0.9em;
      line-height: 1.4em;
      text-transform: uppercase;

      background: #eee;
    }

    .bf-table-row:not(.bf-table-heading) {
      font-size: 0.8em;
      line-height: 1.4em;
    }
      .bfcms_pane_content .bf-table-heading { font-size: 1.15em; }
      .bfcms_pane_content .bf-table-row:not(.bf-table-heading) { font-size: 1.1em; }

    .bf-table-row > .bf-table-col-sm,
    .bf-table-row > .bf-table-col-md,
    .bf-table-row > .bf-table-col-lg,
    .bf-table-row > .bf-table-col-xlg {
      display: table-cell;

      min-width: 100px;
      padding: 8px 15px;

      border-bottom: 1px solid #ddd;
    }
    .bf-table-row > .bf-table-col-md { min-width: 150px; }
    .bf-table-row > .bf-table-col-lg { min-width: 250px; }
    .bf-table-row > .bf-table-col-xlg { min-width: 450px; }

  .bf-table-row:not(.bf-table-heading):hover {
    background: #f6f6f6;
    cursor: pointer;
  }

  .bf-table-totals .row > div {
    margin: 1em 0;
  }

  .bf-table-totals {
    padding: 10px 20px;

    text-align: center;

    color: #fff;
    background: #aaa;
  }
    .bf-table-totals h4 {
      font-weight: 300;
      text-transform: uppercase;
    }

  .bf-table-export {
    margin: 1em 0 2em;
    text-align: center;
  }

  .bf-table-pagination a.pag_next,
  .bf-table-pagination a.pag_previous {
    display: none;
  }


.bf-ctable {
  overflow-x: auto;
}
  .bf-ctable table { margin: 2em 0; }
    .bf-ctable th, .bf-ctable td { padding: 8px 15px; }
    .bf-ctable thead th {
      font-weight: 700;
      background: #f1f1f1;
    }
    .bf-ctable tbody td {
      background: #fff;
      border-bottom: 1px solid #f1f1f1;
    }
      .bf-ctable tbody > tr:hover td { background: #f1f1f1; }

    .bf-ctable tbody > tr:nth-child(2n) td { background: #f8f8f8; }
      .bf-ctable tbody > tr:nth-child(2n):hover td { background: #f1f1f1; }


.bf-form-row {
  padding-right: 1%;
  clear: left;
}
.bf-form-row.bf-form-field-size-1-2,
.bf-form-row.bf-form-field-size-1-3,
.bf-form-row.bf-form-field-size-2-3 {
  float: left;
  clear: none;
}
  .bf-form-row.bf-form-field-size-1-2 { width: 50%; }
  .bf-form-row.bf-form-field-size-1-3 { width: 33.33333%; }
  .bf-form-row.bf-form-field-size-2-3 { width: 66.66666%; }

  .bf-form-row input[type="text"],
  .bf-form-row input[type="email"],
  .bf-form-row textarea,
  .bf-form-row select {
    width: 100%;
  }


.bf-photo {
}
  .bf-photo .bf-photo-credit {
    margin: 5px 0 1em;

    font-size: 0.75em;
    text-align: center;
    text-transform: uppercase;
  }


.bf-cache-updating {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;

  background-color: rgba( 255, 255, 255, 0.75 );
  background-image: url('/res/js/bfc_common/loading.svg');
  background-repeat: no-repeat;
  background-position: center center;
}


.bfcms-ctr-container.bf-header.full-width {
  padding: 0;
}
  .bfcms-ctr-container.bf-header.full-width .bfcms-listing {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 0;
  }
    .bfcms-ctr-container.bf-header.full-width .bfcms-listing .bf-listing-row > .col-xs-12 { padding: 0; }
    .bfcms-ctr-container.bf-header .bf-textoverlay-background {
      height: 100%;

      background-size: cover;
      background-position: center center;
    }

.bf-user-icon {
  display: inline-block;
  width: 30px;
  height: 30px;

  font-size: 16px;
  line-height: 30px;
  font-weight: bold;
  text-align: center;
  letter-spacing: -1px;
  font-family: 'Open Sans',sans-serif;

  color: #fff;
  background: #00aeef;
  border-radius: 15px;
}


.bf-listing-sort { margin-bottom: 12px; }
  .bf-listing-sort .bf-listing-sort-asc:before {
    content: '\f0d8';

    float: left;
    margin-right: 10px;

    font-family: "Font Awesome 5 Pro";
    font-size: 18px;
    font-weight: bold;
  }
  .bf-listing-sort .bf-listing-sort-desc:before {
    content: '\f0d7';

    float: left;
    margin-right: 10px;

    font-family: "Font Awesome 5 Pro";
    font-size: 18px;
    font-weight: bold;
  }


.bf-comment-form > fieldset > div {
  display: flex;
  gap: 0.5rem;
  flex-grow: 1;

  margin-bottom: 0.5rem;
}
  .bf-comment-form-name > div { flex-grow: 1; }
  .bf-comment-form-comment textarea { height: 8rem; }

  .bf-comment-form > fieldset > div input,
  .bf-comment-form > fieldset > div textarea {
    flex-grow: 1;
    width: 100%;
  }

  .bf-comment-form h5 {
    display: flex;
    align-items: center;
  }
    .bf-comment-form h5 .replying-to {
      font-size: 1rem;
      margin-left: 1rem;
    }
  .bf-comment-form h5, .bf-comment-form h5:active, .bf-comment-form h5:focus, .bf-comment-form h5:hover { margin-top: 2rem; }
    .bf-comment-form fieldset h5:first-child { margin-top: 0; }


ul.bf-comments {
  margin: 0;
  padding: 0;
  list-style: none;
}
  ul.bf-comment-children {
    margin: 2rem 0 0;
    padding: 0 0 0 3rem;
    list-style: none;
    border-left: 1px solid #555;
  }

  li.bf-comment {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #ccc;
  }
    li.bf-comment:last-child { border-bottom: 0; }

  .bf-comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 0.5rem;
  }
    .bf-comment-author {
      font-weight: bold;
      font-size: 1.2em;
    }
    .bf-comment-date {
      font-weight: 300;
    }
    .bf-comment-meta > div {
      display: flex;
      gap: 1rem;
    }
    .bf-comment-reply {
      cursor: pointer;
    }

  .bf-comment-content {
    white-space: pre-wrap;
  }

form.bf-comment-editor {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
  form.bf-comment-editor textarea {
    width: 100%;
    height: 8rem;
  }

@media (min-width: 768px ) and (pointer:fine) {
/*
  .bf-parallax {
    background-color: transparent !important;
    background-image: none !important;
  }
*/
}

@media (min-width: 768px ) { 

  .bf-table .bf-table-search {
    text-align: right;
  }

  .bf-table .bf-table-filter {
    text-align: left;
  }
    .bf-table .bf-table-filter-toggle {
      display: inline-block;
      width: auto;
    }

    .bf-table .bf-table-filter-ctr .row > div {
      margin-top: 0.5em;
      margin-bottom: 0.5em;
    }

  .bf-table-totals .row > div {
    margin: 0;
  }

  .bf-table-pagination a.pag_next,
  .bf-table-pagination a.pag_previous {
    display: inline-block;
  }

  .bf-sys-login,
  .bf-sys-logout {
    width: 450px;
    margin-top: 100px !important;
  }

  .bfcms-lightbox {
    top: 50% !important;
    left: 50% !important;

    overflow: hidden;
  }
}

