/* This file is intended for pages where we're moving to Bootstrap 5 but have lingering shared elements operating on Bootstrap 3 classes. */
.heading-h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  text-align: left;
}
.body-small {
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
@media print {
  .col-print-1 {
    width: 8%;
    float: left;
  }

  .col-print-2 {
    width: 16% !important;
    float: left;
  }

  .col-print-3 {
    width: 25% !important;
    float: left;
  }

  .col-print-4 {
    width: 33% !important;
    float: left;
  }

  .col-print-5 {
    width: 42% !important;
    float: left;
  }

  .col-print-6 {
    width: 50% !important;
    float: left;
  }

  .col-print-7 {
    width: 58% !important;
    float: left;
  }

  .col-print-8 {
    width: 66% !important;
    float: left;
  }

  .col-print-9 {
    width: 75% !important;
    float: left;
  }

  .col-print-10 {
    width: 83% !important;
    float: left;
  }

  .col-print-11 {
    width: 92% !important;
    float: left;
  }

  .col-print-12 {
    width: 100% !important;
    float: left;
  }

  .col-sm-1,
  .col-sm-2,
  .col-sm-3,
  .col-sm-4,
  .col-sm-5,
  .col-sm-6,
  .col-sm-7,
  .col-sm-8,
  .col-sm-9,
  .col-sm-10,
  .col-sm-11,
  .col-sm-12 {
    float: left;
  }

  .col-sm-12 {
    width: 100%;
  }

  .col-sm-11 {
    width: 91.66666667%;
  }

  .col-sm-10 {
    width: 83.33333333%;
  }

  .col-sm-9 {
    width: 75%;
  }

  .col-sm-8 {
    width: 66.66666667%;
  }

  .col-sm-7 {
    width: 58.33333333%;
  }

  .col-sm-6 {
    width: 50%;
  }

  .col-sm-5 {
    width: 41.66666667%;
  }

  .col-sm-4 {
    width: 33.33333333%;
  }

  .col-sm-3 {
    width: 25%;
  }

  .col-sm-2 {
    width: 16.66666667%;
  }

  .col-sm-1 {
    width: 8.33333333%;
  }

  .col-sm-pull-12 {
    right: 100%;
  }

  .col-sm-pull-11 {
    right: 91.66666667%;
  }

  .col-sm-pull-10 {
    right: 83.33333333%;
  }

  .col-sm-pull-9 {
    right: 75%;
  }

  .col-sm-pull-8 {
    right: 66.66666667%;
  }

  .col-sm-pull-7 {
    right: 58.33333333%;
  }

  .col-sm-pull-6 {
    right: 50%;
  }

  .col-sm-pull-5 {
    right: 41.66666667%;
  }

  .col-sm-pull-4 {
    right: 33.33333333%;
  }

  .col-sm-pull-3 {
    right: 25%;
  }

  .col-sm-pull-2 {
    right: 16.66666667%;
  }

  .col-sm-pull-1 {
    right: 8.33333333%;
  }

  .col-sm-pull-0 {
    right: auto;
  }

  .col-sm-push-12 {
    left: 100%;
  }

  .col-sm-push-11 {
    left: 91.66666667%;
  }

  .col-sm-push-10 {
    left: 83.33333333%;
  }

  .col-sm-push-9 {
    left: 75%;
  }

  .col-sm-push-8 {
    left: 66.66666667%;
  }

  .col-sm-push-7 {
    left: 58.33333333%;
  }

  .col-sm-push-6 {
    left: 50%;
  }

  .col-sm-push-5 {
    left: 41.66666667%;
  }

  .col-sm-push-4 {
    left: 33.33333333%;
  }

  .col-sm-push-3 {
    left: 25%;
  }

  .col-sm-push-2 {
    left: 16.66666667%;
  }

  .col-sm-push-1 {
    left: 8.33333333%;
  }

  .col-sm-push-0 {
    left: auto;
  }

  .col-sm-offset-12 {
    margin-left: 100%;
  }

  .col-sm-offset-11 {
    margin-left: 91.66666667%;
  }

  .col-sm-offset-10 {
    margin-left: 83.33333333%;
  }

  .col-sm-offset-9 {
    margin-left: 75%;
  }

  .col-sm-offset-8 {
    margin-left: 66.66666667%;
  }

  .col-sm-offset-7 {
    margin-left: 58.33333333%;
  }

  .col-sm-offset-6 {
    margin-left: 50%;
  }

  .col-sm-offset-5 {
    margin-left: 41.66666667%;
  }

  .col-sm-offset-4 {
    margin-left: 33.33333333%;
  }

  .col-sm-offset-3 {
    margin-left: 25%;
  }

  .col-sm-offset-2 {
    margin-left: 16.66666667%;
  }

  .col-sm-offset-1 {
    margin-left: 8.33333333%;
  }

  .col-sm-offset-0 {
    margin-left: 0%;
  }
}

.chosen-container .chosen-single {
  height: 2.5rem;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  border-radius: 0.4rem;
}

.chosen-container-single .chosen-single div b {
  display: none;
}

.text-active,
.active > .text,
.active > .auto .text {
  display: none !important;
}

.active > .text-active,
.active > .auto .text-active {
  display: inline-block !important;
}

.text-right {
  text-align: right;
}

.m-b-sm {
  margin-bottom: 10px;
}

.m-t-sm {
  margin-top: 10px;
}

.btn-group input[type="radio"] {
  display: none;
}

.dropfile {
  border: 2px dashed #e0e4e8;
  text-align: center;
  min-height: 20px;
}

.dropfile:hover {
  border-color: #aac3cc;
}

.dropfile small {
  margin: 50px 0;
  display: block;
}

/*bootstrap 5 overriding css for portal pages*/

.dropdown-toggle::after {
  display: none !important;
}

html a * {
  text-decoration: unset;
}

@media only screen and (min-width: 768px) {
  .navbar-toggle.d-inline-flex {
    display: none !important;
  }
}

/* Bootstrap 5 Shim for Bootstrap 3 Header */

@media (max-width: 767px) {
  .navbar-fixed-top-xs {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
    top: 0;
  }
}

/* Adjust the pull-right class for right-aligned elements */
.pull-right {
  float: right;
}

/* Remove border from buttons (b-none) and adjust dropdown */
.btn.b-none,
.dropdown-toggle.b-none {
  border: none;
}

/* Bootstrap 5 uses data-bs-toggle instead of data-toggle */
.dropdown-toggle[data-bs-toggle="dropdown"] {
  cursor: pointer;
}

/* Ensure dropdown menus have the right background and no border */
.dropdown-menu.bg-dark {
  background-color: #343a40;
  border: none;
}

/* Positioning adjustments for dropdown menu items */
.dropdown-menu.show {
  display: block;
}

/* Dropdown placement for languages, correcting for Bootstrap 5 positioning */
.dropdown-menu[data-popper-placement="bottom-start"] {
  transform: translate3d(0, 38px, 0);
}

/* Ensure caret is visible */
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-top: 4px solid \9;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

/* Specific Bootstrap 3 classes that may be needed for older hidden/visible behaviors */
.hidden-xs {
  display: none !important;
}

@media (min-width: 768px) {
  .hidden-xs {
    display: block !important;
  }
}

/* Link and text styles inside the header */
.default-hub-header a {
  color: #fff; /* Ensuring white text color for all states */
}

.default-hub-header a:hover {
  text-decoration: none;
  color: #ccc;
}

/* Ensure dropdown menu has a minimum width and prevent text wrapping */
.dropdown-menu {
  min-width: 160px; /* Adjust as needed to prevent wrapping */
  white-space: nowrap;
}

/* Dropdown item adjustments for single line display */
.dropdown-menu .dropdown-item {
  display: block;
  width: 100%;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap; /* Prevent text from wrapping */
  background-color: transparent;
  border: 0;
}

/* Specific style overrides for right-aligned dropdowns if necessary */
.dropdown-menu.pull-right {
  right: 0;
  left: auto;
}

/* Ensure that the <a> tags fill the entire width of the <li> */
.dropdown-menu li {
  padding: 0; /* Remove padding from <li> to allow <a> to fill the space */
}

.dropdown-menu li a {
  display: block; /* Make the <a> tag fill the <li> tag */
  width: 100%; /* Ensure the <a> tag takes the full width of its parent <li> */
  padding: 0.5rem 1rem; /* Bootstrap 5 padding for dropdown items; adjust as needed */
  clear: both;
  font-weight: normal;
  line-height: 1.42857143; /* Bootstrap 3 line-height for consistent look */
  text-align: left; /* Align text to the left */
  white-space: nowrap; /* Prevent text from wrapping */
  background-color: transparent; /* Transparent background */
  border: 0; /* Remove any borders */
  text-decoration: none; /* No underline on <a> tags */
}

/* Change background color on hover */
.dropdown-menu li a:hover {
  background-color: #e6e6e6; /* Adjust the hover color as needed */
}

/* This ensures the dropdown is as wide as the widest item */
.dropdown-menu {
  min-width: 0; /* Set minimum width to zero */
}

/* Bootstrap 5 uses data-bs-toggle for dropdowns */
.dropdown-toggle[data-bs-toggle="dropdown"]:after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
}

/* Adjust for right alignment if necessary */
.pull-right > .dropdown-menu {
  right: 0;
  left: auto;
}

.meeting-tab-content a.list-group-item {
  border: none;
  text-decoration: none;
  font-weight: 400 !important;
  &:hover {
    background-color: #f9fafc;
  }
}

#eventTabs .tab a #eventTabs .tab:hover a,
#eventTabs .tab.active a {
  border-bottom: 3px solid;
  border-color: #038391;
  text-decoration: none;
}

#eventTabs .tab:not(.active):hover {
  background: none;
}

#events-daterange {
  .input-daterange {
    border-collapse: separate;
    input {
      display: table-cell;
    }
    .input-group-addon {
      display: table-cell;
      padding: 4px 12px;
      border-top: 1px solid #ccc;
      border-bottom: 1px solid #ccc;
    }
  }
}

/*Over-writing bootstrap 5 styles for filter box in meeting series and board and commission page. */
.calendar-search-heading {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

.search-hub-input {
  width: 100% !important;
}

.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
  display: none !important;
}

.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block,
.visible-sm-block,
.visible-sm-inline,
.visible-sm-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block {
  display: none !important;
}

@media (max-width: 767px) {
  .visible-xs {
    display: block !important;
  }

  table.visible-xs {
    display: table;
  }

  tr.visible-xs {
    display: table-row !important;
  }

  th.visible-xs,
  td.visible-xs {
    display: table-cell !important;
  }
}

@media (max-width: 767px) {
  .visible-xs-block {
    display: block !important;
  }
}

.dropdown-toggle.no-caret:after {
  display: none;
}

.fc-toolbar-chunk {
  max-width: 40%;
  display: flex;
}

.fc .fc-button-group {
  max-height: 40px;
  align-self: center;
}

div.comment-entry-actions.row {
  margin: 0 -10px;
}

.navbar-brand a {
  text-decoration: none;
  color: inherit;
}

.hide {
  visibility: hidden;
}

.manage-profile-outer {
  margin-top: 30px;
}

.breadcrumb li:first-child {
  padding-right: 15px;
}

.breadcrumb a {
  text-decoration: unset;
}

/**/

#subscriptionSlide.panel {
  background: #fff !important;
}
.panel.panel-default.card {
  box-shadow: none !important;
  border-radius: 24px !important;
  overflow: hidden;
  background-color: #f5f8fa;
  border: none !important;
}
.panel-default > .panel-heading {
  background-color: inherit !important;
}
.project-topic-parent .topic-name {
  font-family: Montserrat;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  text-align: left;
  padding: 0 15px;
}
.subscription-expand-container > a.subscription-expand {
  border: none !important;
  box-shadow: none;
  border-radius: 8px 8px 0 0;
  border: none !important;
  background: none !important;
  background-color: none;
  color: #0394ff !important;
}
.subscription-expand-container > a.subscription-expand.active {
  background: inherit !important;
}
.subscription-expand-container > a.btn.btn-default.subscription-expand:hover,
.subscription-expand-container > a.btn.btn-default.subscription-expand:focus {
  color: #0394ff !important;
  box-shadow: none;
}
.panel .table td,
.panel .table th {
  background: inherit !important;
  margin: 0;
  padding: 24px;
  border: none;
  display: table-cell;
  vertical-align: middle;
  text-align: center !important;
}
.panel .table thead > tr > th {
  border: none !important;
}
.subscribe-row:nth-child(even) {
  background: inherit !important;
}
.topic-name {
  font-family: Libre Franklin;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  margin: 0 !important;
}
.subscribe-hub-icons {
  text-align: center !important;
}
.panel.panel-default.customer-subscriptions .checkbox {
  margin: 0;
}
.panel.panel-default.customer-subscriptions .checkbox.i-checks {
  margin: 0 !important;
}
.panel.panel-default.customer-subscriptions .checkbox.i-checks i {
  width: 24px;
  height: 24px;
  border: 2px solid #8997a1;
  margin: 0;
}
.panel.panel-default.customer-subscriptions
  .checkbox.i-checks
  input[type="checkbox"]:checked
  ~ i:before {
  font-size: 18px;
}

/* Subscription redesign */
.card .card-body .card-text .subscribe-hub-icons {
  min-width: 45px !important;
  width: 45px !important;
}
.topic-name {
  font-family: Libre Franklin;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
}
.subscribe-hub-icons {
  text-align: center !important;
}
.default-hub-header .pull-right {
  float: right;
}
@media (min-width: 768px) {
  .navbar > .container .navbar-brand,
  .navbar > .container-fluid .navbar-brand {
    margin-left: 0px;
  }
}
#UserDisplayName {
  display: block;
  padding: 15px;
}

#UserDisplayName.dropdown-toggle::after {
  content: unset;
}

#UserDisplayName + .dropdown-menu {
  position: absolute;
  right: 0;
  top: unset;
  left: unset;
  width: unset;
}

/* Bootstrap 3 to Bootstrap 5 Accordion Compatibility */
/* Map Bootstrap 3 panel-group to Bootstrap 5 accordion */
.panel-group {
  /* Allow both classes to coexist during migration */
}

/* Map Bootstrap 3 panel classes to Bootstrap 5 accordion-item */
.panel.panel-default {
  /* Allow both classes to coexist during migration */
}

/* Ensure collapse class maintains Bootstrap 3 behavior with Bootstrap 5 */
.collapse.in {
  display: block;
}

/* Bootstrap 3 panel-heading compatibility */
.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

/* Maintain Bootstrap 3 data-toggle behavior alongside data-bs-toggle */
[data-toggle="collapse"] {
  cursor: pointer;
}

/* Bootstrap 3 to Bootstrap 5 Input Group Compatibility */
/* Map Bootstrap 3 input-group-btn to Bootstrap 5 structure */
.input-group-btn {
  /* Maintain existing layout for any remaining Bootstrap 3 input groups */
  position: relative;
  font-size: 0;
  white-space: nowrap;
}

.input-group-btn > .btn {
  position: relative;
}

/* Ensure form controls work properly in Bootstrap 5 input groups */
.input-group > .form-control {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}
