.df-header-primary .mobile-login-btn {
    display: none;
}
.df-header-primary .mobile-logged-in {
    display: none;
}
@media (min-width: 1200px) {
    .df-header-primary .df-mobile-mega-menu {
        display: none;
    }
    .sb-header.sticky.df-header-primary .sb-menu > ul > li > a {
        height: 88px;
        line-height: 88px;
    }
    .sb-header.sticky.df-header-primary .sb-menu > ul > li > a.login,
    .sb-header.sticky.df-header-primary .sb-menu > ul > li > a.sign-up {
        height: 50px;
        line-height: 18px;
    }
}
@media (min-width: 320px) and (max-width: 1199.98px) {
/*    //new mobile menu start//*/
   .df-mega-menu-back-btn-box.show ~ .search-bar-box {
    display: none !important;
    }
    .df-mega-menu-child-items > ul > li:last-child {
    margin-bottom: 45px;
  }
   .df-mega-menu-child-items[data-id="df-projects-main"] ul > li{
padding: 16px;
border-radius: 12px;
background: #211440;
    }
    .df-mega-menu-child-items[data-id="df-program"] ul > li{
padding: 16px;
border-radius: 12px;
background: #211440;
    }
     .mega-menu-sub-childs[data-id="df-projects"] ul > li{
      padding: 0px !important;
    }
     .mega-menu-sub-childs[data-id="df-deep-funding"] ul > li{
      padding: 0px !important;
    }
     .df-mega-menu-child-items[data-id="df-projects-main"] ul{
     gap: 24px;
    display: flex;
    flex-direction: column;
    }
    .df-mega-menu-child-items[data-id="df-program"] ul{
     gap: 20px;
    display: flex;
    flex-direction: column;
    }
    .mega-menu-sub-childs[data-id="df-projects"] ul{
      gap: 0px !important;
    }
     .mega-menu-sub-childs[data-id="df-projects"] ul > li:last-child a {
  border-bottom: none !important;
  padding-bottom: 5px !important;
}
.mega-menu-sub-childs[data-id="df-deep-funding"] ul{
      gap: 0px !important;
    }
     .mega-menu-sub-childs[data-id="df-deep-funding"] ul > li:last-child a {
  border-bottom: none !important;
  padding-bottom: 5px !important;
}

    .df-mega-menu-child-items[data-id="df-rounds"] ul > li{
padding: 16px;
border-radius: 12px;
background: #211440;
    }
     .mega-menu-sub-childs[data-id="df-rounds"] ul > li{
      padding: 0px !important;
    }
     .df-mega-menu-child-items[data-id="df-rounds"] ul{
     gap: 20px;
    display: flex;
    flex-direction: column;
    }
    .mega-menu-sub-childs[data-id="df-rounds"] ul{
      gap: 0px !important;
    }
    .mega-menu-sub-childs[data-id="df-rounds"] ul > li:last-child a {
  border-bottom: none !important;
  padding-bottom: 5px !important;
}

     .df-mega-menu-child-items[data-id="df-rfps"] ul > li{
padding: 16px;
border-radius: 12px;
background: #211440;
    }
     .mega-menu-sub-childs[data-id="df-rfps"] ul > li{
      padding: 0px !important;
    }
     .df-mega-menu-child-items[data-id="df-rfps"] ul{
     gap: 20px;
    display: flex;
    flex-direction: column;
    }
    .mega-menu-sub-childs[data-id="df-rfps"] ul{
      gap: 0px !important;
    }
    .mega-menu-sub-childs[data-id="df-rfps"] ul > li:last-child a {
  border-bottom: none !important;
  padding-bottom: 5px !important;
}

 .df-mega-menu-child-items[data-id="df-deep-funding"] ul > li{
padding: 16px;
border-radius: 12px;
background: #211440;
    }
     .mega-menu-sub-childs[data-id="df-deep-funding"] ul > li{
      padding: 0px !important;
    }
     .df-mega-menu-child-items[data-id="df-deep-funding"] ul{
     gap: 20px;
    display: flex;
    flex-direction: column;
    }
    .mega-menu-sub-childs[data-id="df-deep-funding"] ul{
      gap: 0px !important;
    }
    .mega-menu-sub-childs[data-id="df-deep-funding"] ul > li:last-child a {
  border-bottom: none !important;
  padding-bottom: 5px !important;
}

.df-mega-menu-child-items[data-id="df-collaborations"] ul > li{
padding: 16px;
border-radius: 12px;
background: #211440;
    }
     .mega-menu-sub-childs[data-id="df-collaborations"] ul > li{
      padding: 0px !important;
    }
     .df-mega-menu-child-items[data-id="df-collaborations"] ul{
     gap: 20px;
    display: flex;
    flex-direction: column;
    }
    .mega-menu-sub-childs[data-id="df-collaborations"] ul{
      gap: 0px !important;
    }
    .mega-menu-sub-childs[data-id="df-collaborations"] ul > li:last-child a {
  border-bottom: none !important;
  padding-bottom: 5px !important;
}

.df-mega-menu-child-items[data-id="df-singularity"] ul > li{
padding: 16px;
border-radius: 12px;
background: #211440;
    }
     .mega-menu-sub-childs[data-id="df-singularity"] ul > li{
      padding: 0px !important;
    }
     .df-mega-menu-child-items[data-id="df-singularity"] ul{
     gap: 20px;
    display: flex;
    flex-direction: column;
    }
    .mega-menu-sub-childs[data-id="df-singularity"] ul{
      gap: 0px !important;
    }
    .mega-menu-sub-childs[data-id="df-singularity"] ul > li:last-child a {
  border-bottom: none !important;
  padding-bottom: 5px !important;
}

.df-header-primary .df-mega-menu-child-items ul li span{
    padding: 0px !important;
    border-bottom: none !important;
}






/*//new mobile menu end//*/
    .df-header-primary .sb-header-container {
        height: 72px;
    }
    #df-banner ~ .df-header-primary ~ .search-container {
        top: 120px;
    }
    .df-header-primary .sb-menu {
        display: none;
    }
    .df-header-primary .logo {
        text-align: left;
        margin-left: 44px;
        display: inline-block;
        width: 170px;
        padding: 20px 40px 20px 0;
    }
    .df-header-primary .mobile-logged-in {
        display: flex;
        align-items: center;
        height: 72px;
        justify-content: flex-end;
        gap: 24px;
    }
    .df-header-primary .mobile-logged-in .df-user-dropdown {
      height: 72px;
      line-height: 72px;
    }
    .df-header-primary .mobile-logged-in .df-user-dropdown .user-action {
      height: 70px;
      margin-top: -40px;
    }
    .df-header-primary .mobile-logged-in .df-user-dropdown .user-action img {
      top: 20px;
    }
    .df-header-primary .mobile-logged-in .df-notify-icon {
        position: relative;
    }
    .df-header-primary .mobile-logged-in .df-notify-icon svg {
        position: relative;
        top: -2px;
    }
    .df-header-primary .mobile-logged-in .df-notify-icon .notify-count {
        position: absolute;
        top: -5px;
        right: -9px;
        border-radius: 4px;
        background: #FF3B30;
        color: #FFF;
        text-align: center;
        font-family: "DM Sans";
        font-size: 10px;
        font-weight: 700;
        line-height: 15px;
        padding: 0 4px;
    }
    .df-header-primary .mobile-login-btn {
        display: inline-block;
        float: right;
        padding: 5px 16px;
        margin-top: 20px;
    }
    .df-header-primary .burger-menu {
        top: 23px;
        right: unset;
        left: 0;
    }
    .df-header-primary .burger-menu .line-menu.first-line {
        align-self: flex-start;
        width: 55%;
    }
    .df-header-primary .burger-menu .line-menu.last-line {
        align-self: flex-start;
        width: 70%;
    }
    .df-header-primary .burger-menu.menu-open .line-menu.last-line {
        transform: rotate(-90deg) translateX(-5px);
        align-self: flex-end;
        width: 50%;
    }
    .df-header-primary .mobile-login-btn {
        display: inline-block;
        float: right;
        padding: 5px 16px;
        margin-top: 20px;
    }
    .df-header-primary .df-mobile-mega-menu {
        display: none;
        height: 0px;
    }
    .df-header-primary .df-mobile-mega-menu.show {
        display: block;
        width: 100%;
        position: absolute;
        top: 73px;
        padding-top: 16px;
        background-color: #13072D;
        overflow: scroll;
    }
    .df-header-primary .df-mobile-mega-menu.show::before {
        content: "";
        position: absolute;
        top: -1px;
        width: 90%;
        height: 1px;
        border-radius: 1026px;
        background: #FFF;
        filter: blur(20px);
        left: 0;
        right: 0;
        margin: 0 auto;
        opacity: 0.8;
        box-shadow: 0 0 28px 10px rgba(255, 255, 255, 0.3);
    }
    .df-header-primary .df-mega-menu-back-btn-box {
        display: none;
    }
    .df-header-primary .df-mega-menu-back-btn-box.show {
        display: block;
    }
    .df-header-primary .df-mega-menu-back-btn-box button {
        display: inline-flex;
        align-items: center;
        color: #9050E9;
        font-family: "DM Sans";
        font-size: 14px;
        font-weight: 700;
        line-height: 20px;
        padding: 0;
        margin-bottom: 16px;
        background-color: transparent;
        border: 0;
    }
    .df-header-primary .df-mega-menu-back-btn-box button svg {
        margin-right: 4px;
    }
    .df-header-primary .df-mobile-mega-menu .search-bar-box {
        display: block;
        position: relative;
        margin: 0px 0 4px 0;
    }
    .df-header-primary .df-mobile-mega-menu .search-bar-box::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 0;
        right: 0;
        width: 98%;
        height: 1px;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.40) 50%, rgba(255, 255, 255, 0.00) 100%);
    }
    .df-header-primary .df-mobile-mega-menu .search-bar-box input {
        padding: 14px 16px 14px 44px;
        border-radius: 6px;
        border: 1px solid #3C2D61;
        background: #211440; 
        width: 100%;  
        color: #A39EB2;
        font-size: 16px;
        font-weight: 700;
        line-height: 20px;
        height: 48px !important; 
    }
    .df-header-primary .df-mobile-mega-menu .search-bar-box input::placeholder {
        color: #A39EB2;
        opacity: 1;
    }
    .df-header-primary .df-mobile-mega-menu .search-bar-box input:focus-visible {
        outline: none;
    }
    .df-header-primary .df-mobile-mega-menu .search-bar-box svg {
        position: absolute;
        top: 18px;
        left: 16px;
    }
    .df-header-primary .df-mega-menu-parent-items ul li span,
    .df-header-primary .df-mega-menu-parent-items ul li a,
    .df-header-primary .df-mega-menu-child-items ul li span,
    .df-header-primary .df-mega-menu-child-items ul li a,
    .df-header-primary .mega-menu-sub-childs ul li a {
        display: block;
        position: relative;
        padding: 16px 0;
        color: #A39EB2;
        font-family: "DM Sans";
        font-size: 16px;
        font-weight: 700;
        line-height: 24px;
        cursor: pointer;
        text-decoration: none;
        border-bottom: 1px solid #3C2D61;
    }
    .df-header-primary .df-mega-menu-child-items ul li a span.mattermost {
        border-radius: 2px;
        background: #FFBC1F;
        margin-left: 8px;
        transition: 0.3s ease-in-out;
        width: 67px;
        height: 22px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        padding: 0;
    }
    .df-header-primary .df-mega-menu-child-items ul li a span.mattermost.idea {
        border-radius: 2px;
        background: #FFBC1F;
        margin-left: 8px;
        transition: 0.3s ease-in-out;
        width: 105px !important;
        height: 22px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: no-wrap !important;
        padding: 2px 8px !important;
        color:  #010004 !important;
        font-family: "DM Sans";
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: 150%; /* 18px */
        text-transform: uppercase;
    }
    .df-header-primary .df-mega-menu-child-items ul li a span.mattermost::after {
        content: none;
    }
    .df-header-primary .df-mega-menu-child-items ul li a span.mattermost img{
        width: 63px;
        height: 18.059px;
        aspect-ratio: 63.00/18.06;
        vertical-align: middle;
    }
    .df-header-primary .df-mega-menu-child-items ul li a span.mm-text {
        padding: 0;
        margin-top: 4px;
        font-size: 12px;
        border-bottom: 0;
        line-height: 12px;
        flex-basis: 100%;
    }
    .df-header-primary .df-mega-menu-child-items ul li a span.mm-text::after {
        content: none;
    }
    .df-header-primary .df-mega-menu-child-items ul li span.open {
        /*color: #ffff;
        padding-top: 5px;*/
        color: #7D7692;
        font-family: "DM Sans";
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: 150%; /* 18px */
        text-transform: uppercase;
    }
    .df-header-primary .df-mega-menu-child-items ul li.social-icons {
        padding: 8px 0;
    }
    .df-header-primary .df-mega-menu-child-items ul li.social-icons a {
        display: inline-block;
        padding: 12px;
        border-bottom: 0;
    }
    .df-header-primary .df-mega-menu-child-items ul li a.external-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .df-header-primary .df-mega-menu-parent-items ul li span::after,
    .df-header-primary .df-mega-menu-parent-items ul li a::after,
    .df-header-primary .df-mega-menu-child-items ul li span::after,
    .df-header-primary .df-mega-menu-child-items ul li a::after,
    .df-header-primary .mega-menu-sub-childs ul li a::after {
        content: "";
        display: inline-block;
        width: 16px;
        height: 16px;
        background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTIuNjY2NiA2TDcuOTk5OTIgMTBMMy4zMzMyNSA2IiBzdHJva2U9IiNBMzlFQjIiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+");
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        top: 24px;
        right: 0;
        transform: rotate(-90deg);
        transition: 0.3s ease-in-out;
    }
/*    //icons remove start//*/
    .df-mega-menu-child-items .mega-menu-sub-childs ul li a::after {
  background-image: none !important;
}
.df-header-primary .df-mega-menu-child-items ul li span::after{
    background-image: none !important;
}
.df-mega-menu-parent-items .underline-animated::after, .df-mega-menu-parent-items .mobile-explore-nav span::after{
    background-image: none !important;
}
/*explore menu icons remove*/
.df-mega-menu-child-items .df-feed-link::after {
  background-image: none !important;
}
.df-mega-menu-child-items .df-news-link::after {
  background-image: none !important;
}
.df-mega-menu-child-items .df-proposal-video-link::after {
  background-image: none !important;
}
.df-mega-menu-child-items .df-governance-update::after {
  background-image: none !important;
}
/*    //icons remove end//*/
    .df-header-primary .df-mega-menu-child-items ul li a:has(.mattermost) {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    .df-header-primary .df-mega-menu-child-items ul li a:has(.mattermost)::after {
        top: 50%;
        right: 0%;
        transform: translate(0%, -50%) rotate(-90deg);
    }
    .df-header-primary .df-mega-menu-child-items ul li span::after {
        transform: rotate(0deg);
    }
    .df-header-primary .df-mega-menu-child-items ul li.social-icons a::after,
    .df-header-primary .df-mega-menu-child-items ul li a.external-link::after {
        content: none;
    }
    .df-header-primary .df-mega-menu-child-items ul li span.open::after {
        transform: rotate(180deg);
        background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTIuNjY2NiA2TDcuOTk5OTIgMTBMMy4zMzMyNSA2IiBzdHJva2U9IiNGRkZGRkYiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+");
    }
    .df-header-primary .df-mega-menu-child-items {
        display: none;
    }
    .df-header-primary .df-mega-menu-child-items.show {
        display: block;
    }

    .df-header-primary .mega-menu-sub-childs {
        display: none;
    }
    .df-header-primary .mega-menu-sub-childs.show {
        display: block;
/*        margin-left: 16px;*/
    }
    .df-notification-toggle .df-notification-toggle-menu {
        top: 54px !important;
    }
}
@media (min-width: 320px) and (max-width: 767.98px) {
    .df-header-primary .sb-header-container {
        height: 72px;
    }
    .df-header-primary:has(.burger-menu.menu-open)::before {
        top: 72px;
    }
    .df-header-primary .logo {
        text-align: left;
        margin-left: 44px;
        display: inline-block;
        width: 170px;
        padding: 20px 40px 20px 0;
    }
    .df-header-primary .mobile-login-btn {
        display: inline-block;
        float: right;
        padding: 5px 16px;
        margin-top: 20px;
    }
    .df-header-primary .mobile-logged-in {
        display: inline-flex;
        width: calc(100% - 219px);
    }
    .df-header-primary .mobile-logged-in .df-user-dropdown {
        position: unset;
    }
    .df-header-primary .df-user-dropdown-menu {
        width: 100% !important;
        inset: unset !important;
        top: 72px !important;
        left: 0 !important;
        transform: unset !important;
        max-width: unset !important;
        height: calc(100vh - 72px);
        padding: 16px 0;
        overflow: hidden;
        background: #13072D !important;
        border-radius: 0px 0px 8px 8px;
        backdrop-filter: blur(37px);
    }
    .df-header-primary .df-user-dropdown .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -1px;
        width: 70%;
        height: 1px;
        border-radius: 1026px;
        background: #FFF;
        filter: blur(20px);
        left: 0;
        right: 0;
        margin: 0 auto;
        opacity: 0.8;
        box-shadow: 0 0 28px 10px rgba(255, 255, 255, 0.3);
    }
    .df-header-primary .df-user-dropdown-menu[data-bs-popper] {
      top: calc(100% + 6px);
      left: unset;
      right: 0;
      background-color: #fafafa;
      padding: 0;
      box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
        0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    }
    .df-header-primary .df-user-dropdown .dropdown-toggle::after {
      content: none;
    }
    .df-header-primary .df-user-dropdown-menu .dropdown-item {
      display: flex;
      align-items: center;
      gap: 12px;
      color: #777;
      padding: 20px 0;
      line-height: 21px;
      font-family: "DM Sans";
      text-transform: capitalize;
      border-bottom: 1px solid #201142;
    }
    .df-header-primary .df-user-dropdown-menu .dropdown-item:hover,
    .df-header-primary .df-user-dropdown-menu .dropdown-item:active {
      background-color: transparent;
    }
    .df-header-primary .df-user-dropdown-menu .dropdown-item span {
      font-size: 16px;
      font-weight: 700;
      line-height: 24px;
      color: #A39EB2;
    }
    .df-header-primary .df-user-dropdown-menu .dropdown-item:last-child {
      border-top: 0;
    }
    .df-header-primary .df-user-dropdown .user-profile-box {
      padding: 0px 0px 6px 0px;
      display: flex;
      align-items: flex-start;
      border-bottom: 1px solid #201142;
    }
    .df-header-primary .df-user-dropdown .user-profile-box .user-img-box {
      margin-right: 12px;
      width: 40px;
      height: 40px;
      position: relative;
    }
    .df-header-primary .df-user-dropdown .user-profile-box .user-img-box a {
      padding: 0;
    }
    .df-header-primary .df-user-dropdown .user-profile-box .user-img-box img {
      width: 100%;
      border-radius: 50%;
      border: 2px solid #FFF;
    }
    .df-header-primary .df-user-dropdown .user-profile-box .user-detail-box {
      width: calc(100% - 52px);
      display: flex;
      flex-direction: column;
    }
    .df-header-primary .df-user-dropdown .user-profile-box .user-detail-box h6 {
      font-size: 16px;
      line-height: 24px;
      font-weight: 700;
      font-family: "DM Sans";
      color: #E9E7EC;
      margin-bottom: 2px;
      margin-top: -2px;
    }
    .df-header-primary .df-user-dropdown .user-profile-box .user-detail-box p {
      font-size: 14px;
      font-weight: 400;
      line-height: 21px;
      color: #A39EB2;
      margin-bottom: 2px;
      word-break: break-all;
    }
    .df-header-primary .df-user-dropdown .user-profile-box .user-detail-box a {
      font-size: 14px;
      font-weight: 700;
      font-family: "DM Sans";
      line-height: 21px;
      color: #9050E9;
      padding: 0;
      text-decoration: none;
    }
    .df-header-primary .burger-menu {
        top: 23px;
        right: unset;
        left: 0;
    }
    .df-header-primary .burger-menu .line-menu.first-line {
        align-self: flex-start;
        width: 55%;
    }
    .df-header-primary .burger-menu .line-menu.last-line {
        align-self: flex-start;
        width: 70%;
    }
    .df-header-primary .burger-menu.menu-open .line-menu.last-line {
        transform: rotate(-90deg) translateX(-5px);
        align-self: flex-end;
        width: 50%;
    }
    .df-notification-toggle .df-notification-toggle-menu {
        top: 45px !important;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .df-header-primary .df-user-dropdown .dropdown-menu {
        left: unset !important;
        right: 0 !important;
        height: auto;
        width: auto !important;
        background: rgba(19, 7, 45, 0.80) !important;
    }
    .df-header-primary .df-user-dropdown .dropdown-menu::before {
        content: none;
    }
    .df-header-primary .df-user-dropdown-menu .dropdown-item {
        border-bottom: 0;
    }
    .df-header-primary .df-user-dropdown-menu .dropdown-item:last-child {
        border-top: 1px solid #201142;
    }
}
@media (max-width: 420px) {
    .df-header-primary .logo {
        margin-left: 38px;
        width: 130px;
        padding: 20px 0px 20px 0;
    }
    .df-header-primary .mobile-logged-in {
        width: calc(100% - 173px);
        gap: 16px;
    }
    .df-notification-toggle .df-notification-toggle-menu {
        right: -52px !important;
    }
}



/* author page mobile layout  */

.df-profile-page .df-user-detail-tabs .nav-mobile-layout {
    display: none !important;    
}

@media screen and (max-width: 580px) {

    .df-profile-page .df-user-detail-tabs .nav-mobile-layout {
        display: flex !important;    
    }
    .df-profile-page .df-user-detail-tabs .df-custom-navtabs.desktop-layout {
        display: none !important;
    }

}

/*@media screen and (max-width: 767px) {

    .df-profile-page .df-user-detail-tabs .nav-mobile-layout {
        display: flex;    
    }
    .df-profile-page .df-user-detail-tabs .df-custom-navtabs.desktop-layout {
        display: none !important;
    }

}*/




.container-heatmap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch; /* smooth on iOS */
  width: 100%;
}

/* #df-heatmap {
  min-width: 800px; 
} */