<script>
window.dataLayer=window.dataLayer || [];
</script>

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
 })(window,document,'script','dataLayer','GTM-M3WKTDDM');</script>
<!-- End Google Tag Manager -->

<style>

  /* remove title field during conversation creation in messenger */
  #bx-messenger-talk-title { display:none; }
  
  /* remove profile swithcer button in left menu */
  #bx-page-block-720 .bx-base-text-unit-text .bx-base-text-unit-text { display:none; }
  
  /* align top left hamburger with left menu items icons */

  .bx-main > nav { padding-left:1.1rem; } 

  /* align logo with left menu items text */

  html #toggleSidebar { margin-right: 0.625rem; }
  
  /* hide icons form in subitem in left panel menu */
#bx-menu-panel ul.bx-menu-pf-subitems .bx-menu-item-icon img.sys-icon-image { visibility: hidden; }

  /* change letters case for root menu items in left panel menu */
  #bx-menu-panel .bx-menu-item-link .bx-menu-item-title.uppercase {
	  text-transform: capitalize;
  }
  
  /* match left sidebar width with homepage column width */
  @media (min-width: 1280px) {
  	html #sidebar.xl\:w-64:not(.bx-mc-narrowed) { width:25%; }
    html #sidebar.w-64:not(.bx-mc-narrowed) { width:25%; }
  	html #main-content.xl\:ml-64 { margin-left:25%; }
  }
  
  /* hide old hamburger icon until new hamburger is replaced with JS */
  #toggleSidebar svg { visibility:hidden; }
  
  /* hide long description for groups/events */
  .bx-base-profile-entity-content {
    position:relative;
   	max-height:400px; 
    overflow:hidden;
  }
  .bx-base-profile-entity-content.k12-overflow-fade:before {
    content:'';
    width:100%;
    height:100%;    
    position:absolute;
    left:0;
    top:0;
    background:linear-gradient(transparent 150px, white);
  }  
  
  /* proportional covers */
  .bx-page-view-persons-profile .bx-base-pofile-cover-image,
  .bx-page-view-event-profile .bx-base-pofile-cover-image,
  .bx-page-view-group-profile .bx-base-pofile-cover-image {
  	aspect-ratio: 36 / 9; 
    height:auto !important;
  }
  
  .bx-page-view-persons-profile .bx-base-pofile-ci-cnt.-mt-24 {
    margin-top: -2rem;
  }  
  @media (min-width: 1024px) {
    .bx-page-view-persons-profile .bx-base-pofile-ci-cnt.lg\:-mt-16 {
        margin-top: -4rem;
    }
  }
  
  /* disable hamburger menu in top-left corner and search in mobile mode for unauthenticated users*/
  .bx-user-unauthorized #bx-menu-toolbar-item-main-menu {
  	display:none;
  }
  .bx-user-unauthorized #bx-toolbar-content .bx-toolbar-item.bx-ti-search {
   	display:none;
  }
  
  /* privacy icon in footeer */
  .optanon-toggle-display {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.25rem;
    align-items: baseline;
  }
  .optanon-toggle-display img {
    height:0.6875rem; 
  }
</style>
