/* max width of pages */
.main-container {
    max-width: 1920px !important;
}

.main-container {
    flex-direction: column;
    align-items: flex-start;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    background-color: #fff;
    overflow: hidden;
    transition: max-width 0.3s ease;
}

/* Sidebar */
.first-column a {
    /* padding-left: 25px; */
}

.custom-one-column-width {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    background: #dbe2e6 !important;
}

.custom-9-column-width {
    flex: 0 0 auto;
    width: 98%;
    max-width: 98%;
    padding: 18px;
}

.custom-3-column-width {
    flex: 0 0 auto;
    width: 40%;
    max-width: 40%;
    padding: 18px 10px;
}
.custom-3-column-width-2 {
    flex: 0 0 auto;
    width: 60%;
    max-width: 60%;
    padding: 18px 25px 18px 10px;
}
.mobile-menu-dropdown {
    display: none;
}
@media (max-width: 1650px) {
  .dashboard-page .custom-2nd-column-width {
    width: 50%;
    max-width: 50%;
  }
  .dashboard-page .custom-3rd-column-width {
    width: 50%;
    max-width: 50%;
  }
}
@media (max-width: 1200px) {
  .dashboard-page .custom-3-column-width {
    width: 100%;
    max-width: 100%;
  }
  .dashboard-page .custom-3-column-width-2 {
    width: 100%;
    max-width: 100%;
  }
  .custom-1st-column-width {
    width: 13.5% !important;
  }
}
@media (max-width: 991px) {
  .dashboard-page .colum-scroll {
    overflow-y: hidden;
    height: initial;
  }
  .dashboard-page .custom-2nd-column-width {
    width: 100%;
    max-width: 100%;
    height: initial !important;
  }
  .dashboard-page .custom-3rd-column-width {
    width: 100%;
    max-width: 100%;
    height: initial !important;
  }
}
/* ✅ Bootstrap Default Hamburger Icon */
  .navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: var(--bs-navbar-toggler-icon-bg); /* ✅ Restored Bootstrap Icon */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
  }

  /* 🔹 Dropdown Menu */
  .mobile-menu-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 5px 0;
    min-width: 150px;
  }

  .mobile-menu-dropdown-item {
    padding: 0px 15px;
    display: block;
    color: #333;
    font-size: 13px;
    text-decoration: none;
  }

  .mobile-menu-dropdown-item:hover {
    background: #f1f1f1;
  }


@media (max-width: 767px) {
  .mobile-menu-dropdown {
    display: block;
  }
  footer .footer-top {
    text-align: center;
  }
  .page-menu {
    display: none;
  }
  .header-search {
    display: none !important;
  }
  .navbar-toggler-icon {
    background-color: darkturquoise;
  }
  .custom-1st-column-width {
    display: none;
  }
  .custom-col-lg-11.dashboard-page {
    width: 100%;
    max-width: 100%;
  }
}

.page-menu ul li a span.interact-btn {
    margin-right: 10px !important;
}
.main-menu-container nav a.main-nav-link {
    text-decoration: none;
}
.main-menu-container nav a.main-nav-link:hover,
.main-menu-container nav ul li.custom-nav-list-item a.custom-nav-link-community:hover{
    width: 100% !important;
    color: #2a77ca !important;
    /* border-right: 4px solid #2a77ca; */
    background: #fff;
}


.custom-nav-link-community {
    font-size: 14px !important;
    color: #fff !important;
    padding: 0px !important; 
    margin-bottom: -10px !important;
    padding-left: 1px !important;
}

/* Custom column width */
.custom-2nd-column-width {
    flex: 0 0 auto;
    width: 40%;
    max-width: 40%;
    border-right: 1px solid #a9a3a3;
    border-top: 1px solid #a9a3a3;
    padding: 18px;
    background: #ECEFF4 !important; 
}

.colum-scroll {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto; /* Changed from 'scroll' */
  min-height: 0;      /* The magic fix! Replaces height: 100% */
  padding: 10px;
  box-sizing: border-box;
  border-bottom: 1px solid #e5e5e5;

  /* --- PERFORMANCE ADDITIONS --- */

  /* For momentum-based scrolling on touch devices (iOS) */
  -webkit-overflow-scrolling: touch;

  /* Tells the browser that the transform property will change,
     allowing it to optimize by moving this element to a separate layer.
     Use this if scrolling is still janky. */
  will-change: transform;

  /* An advanced property that can significantly boost performance.
     It tells the browser that this element's content is self-contained
     and won't affect the layout of the rest of the page. */
  contain: content;

    /*flex: 1;*/
    /*overflow-x: hidden;*/
    /*overflow-y: scroll;*/
    /*height: 100%;*/
    /*padding: 10px;*/
    /*box-sizing: border-box;*/
    /*border-bottom: 1px solid #e5e5e5;*/
}

.custom-1st-column-width {
    flex: 0 0 auto;
    width: 11%;
    max-width: 11%;
    border-right: 1px solid #a9a3a3;
}

/* .custom-3rd-column-width {
    flex: 0 0 auto;
    width: 60%;
    max-width: 60%;
    border-top: 1px solid #a9a3a3;
    border-right: 1px solid #a9a3a3;
    background: #F2FAFF !important;
} */

.custom-col-lg-11 {
    flex: 0 0 auto;
    width: 88.5%;
    max-width: 88.5%;
    /*
    width: 96.525%;
    max-width: 96.525%;
    */
    padding-left: 0px;
    padding-right: 0px;
    /* margin-left: -1%; */
}
.main-container-discussions {
    margin-left: 0px;
    margin-right: 0px;
}

/* end Custom column width */

/* Nav */

.community-navbar {
    box-shadow: none;
}
.community-navbar {
    top: 0;
    left: 0;
    right: 0;
    max-width: 100% !important;
    z-index: 500;
    transition: transform 0.3s ease-in-out;
    background: #2D3E50;
    height: 65px !important;
}

.page-menu ul li a span, .page-menu ul li a {
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
}

.page-menu ul li div a {
    color: #000 !important;
}

.contentNavColor, #admin-ico-link i {
    color: #fff !important;
}

.headerProfileDiscussions img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.headerProfileDiscussions {
    position: relative;
    display: inline-block;
    width: 59px;
    height: 56px;
    overflow: hidden;
}
/* End Nav */

.font-color-dashboard{
    color: #1481ff !important;
    font-size: 15px !important;
}

.members-community-3 {
    flex: 0 0 auto;
    width: 29.333333%;
  }

@media (max-width: 767px) {
  .main-container .custom-col-lg-11 {
    width: 100%;
    max-width: 100%;
  }
}