/* menu.css: the school menu bar element, taken from header.css (nav + mega-menu + responsive) unchanged */
*, *::before, *::after { box-sizing: border-box; }
@font-face {
  font-family: 'Noto Sans Bengali';
  src: url('NotoSansBengali-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Alkatra';
  src: url('Alkatra-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Noto Serif Bengali';
  src: url('NotoSerifBengali-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Noto Serif Bengali Digit';
  src: url('NotoSerifBengali-Digit.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.topbarcontainer .row { display: flex; flex-wrap: nowrap; }
.topbarcontainer .row.v-center { align-items: center; }
.topbarcontainer ul { margin: 0; padding-left: 0; }
.menu-main { list-style: none; }
#topnavbar {
  position: fixed;
  top: 100px; 
  /* top: 0; */
  left: 0;
  right: 0;
  z-index: 1;
  transition: top 0.3s ease-in-out; 
  height: 50px;
}

.logo {
  display: flex;
  grid-auto-flow: column;
}

#ilogo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

#ilogo > img {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  margin-top: 2px;
  margin-left: 10px;
  border-radius: 50%;
  background-color: honeydew;
  padding: 1px;
}

#ntitle {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50px);
  transition: visibility 0s 0.3s;
  padding-left: 5px;
  align-self: center;
  line-height: 27px;
  font-size: 24px;
  font-family: Noto Serif Bengali;
}

@keyframes slideIn {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

#ntitle.visible {
  opacity: 1;
  visibility: visible;
  animation: slideIn 0.5s ease-out forwards;
}

#ntitle a:focus-visible {
  outline: none;
  border-color: transparent;
}
#ntitle a {
  color: azure !important;
  text-shadow: 0 .1px 0 #CCC, 0 .2px 0 #c9c9c9, 0 .3px 0 #bbb, 0 .4px 0 #b9b9b9, 0 .5px 0 #aaa, 0 .6px 1px rgba(0, 0, 0, .1), 0 0 5px rgba(0, 0, 0, .1), 0 1px 3px rgba(0, 0, 0, .3), 0 3px 5px rgba(0, 0, 0, .2), 0 5px 10px rgba(0, 0, 0, .25), 0 10px 10px rgba(255, 255, 255, 0.2), 0 20px 20px rgba(0, 0, 0, 0.5);
  font-family: Noto Sans Bengali;
  line-height: 0;
  font-size: 15pt;
}

.otitle {
  display: block;
  margin-top: 0px;
  font-size: 14px;
  font-weight: 500;
  font-family: Noto Sans Bengali;
  /* color: rgb(236, 234, 227); */
}

.row > .topbarheader-item.item-left {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  padding: 0;
  margin: 0;  
}

.row > .topbarheader-item.item-center {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
}

.row > .topbarheader-item.item-bright {
  display: flex;
  flex-wrap: wrap;  
  width: fit-content;
  padding-left: 0px;
  padding-right: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

.row > .topbarheader-item.item-right {
  display: flex;
  flex-wrap: wrap;
  width: fit-content;
  padding: 0;
  margin: 0;  
}

.row.v-center {
  align-items: center;
}

.topbarcontainer { 
 margin:auto;
}

.topbarcontainer ul {
  margin: 0;
  list-style: none;
  font-family: Noto Sans Bengali;
}

.topbarcontainer a {
  text-decoration: none;
}

.topbarheader {
  display: block;
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0 15px 0 10px;
  background: #0193cc;
  background: #0094cdc7;
  background: #0073b8c7;
  box-shadow: 0 1px 5px 1px rgba(189, 245, 251, 0.29), 0 0 20px 1px rgba(255, 255, 255, 0.5);
  color: white;
  z-index: 999;
}

.topbarheader .logo a {
  color: white;
  text-decoration: none;
  outline: none;
}

.topbarheader .item-left {
  flex: 1 0 10%;
}

.topbarheader .item-center {
  flex: 0 0 auto;
  align-content: center;
}

.topbarheader .item-right {
  display: flex;
  justify-content: flex-end;
}

.topbarheader .item-right a {
  display: inline-block;
  outline: none;
  text-decoration: none;
  font-size: 16px;
  color: white;
  margin-left: 10px;
  transition: color 0.3s ease;
}

.topbarheader .item-right a:hover {
  color: #93f0ff;
  outline: none;
}

.top-row a {
  color: #0e68bc;
  font-size: 17px;
}

.topbarheader .item-bright{
  display: flex;
  /* flex: 1 0 auto; */
  flex: 1 0 10%;
  justify-content: flex-end;
  align-items: center;
}

.topbarheader .item-bright a{ 
  text-decoration: none;
  font-size: 16px;
  color:white;
  display: inline-block;
  margin-left: 10px;
  transition: color 0.3s ease;
  outline: none;
}

.topbarheader .item-bright a:hover{
  color:#93f0ff;
}

.topbarheader .menu > ul > li {
  display: inline-block;
  line-height: 50px;
  margin-left: 10px;
}

.topbarheader .menu > ul > li > a {
  color: white;
  position: relative;
  text-transform: capitalize;
  transition: color 0.3s ease;
  outline: none;
}

.topbarheader .menu > ul > li:hover > a {
  color: #93f0ff;
}

.topbarheader .menu > ul > li .single-column-menu {
  min-width: 220px;
  max-width: 350px;
}

.menu-item-has-children .fas.fa-angle-down {
  font-size: 10pt;
}

.topbarheader .menu > ul > li .sub-menu {
  position: absolute;
  z-index: 500;
  /* background-color: #d5f0f2; */
  background-color: #fbffff;
  box-shadow: -2px 2px 70px -25px rgba(0,0,0,0.3); 
  padding: 20px 30px;
  transition: all 0.5s ease;
  margin-top:25px;
  opacity:0;
  visibility: hidden;
  font-weight: 550;
  border-radius: 8px;
}

.topbarheader .menu > ul > li .sub-menu > ul > li {
  line-height: 1;
}
.topbarheader .menu > ul > li .sub-menu > ul > li > a {
  display: inline-block;
  padding: 10px 5px;
  font-size: 16px;
  color: #132375;
  transition: color 0.3s ease;
  text-decoration: none;
  text-transform: capitalize;
  outline: none;
}

.topbarheader .menu > ul > li .sub-menu.mega-menu { 
  left: 50%;
  transform: translateX(-50%); 
}

.topbarheader .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li {
  line-height: 1;
  display: block; 
}

.topbarheader .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li > a {
  padding:10px 0;
  display: inline-block;
  font-size: 16px;
  color:#132375;
  transition: color 0.3s ease;
  outline: none;
}

.topbarheader .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li > a:hover,
.topbarheader .menu > ul > li .sub-menu > ul > li > a:hover {
  color:#f2640e;
  outline: none;
  font-style: oblique;
}

.topbarheader .menu > ul > li .sub-menu.mega-menu-column-4 {
  max-width: 1170px;
  width: 100%; 
  /* width: fit-content; */
  display: flex;
  flex-wrap: wrap;
  padding:20px 15px;
  min-width: 19%;
  white-space: nowrap;
}

.topbarheader .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item {
  flex:0 0 25%;
  padding:0 15px;
}

.topbarheader .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item .title {
  font-size: 16px;
  color: #e22b81;
  font-weight: 600;
  line-height: 1;
  margin-top: 12px;
}

.topbarheader .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item.text-center .title {
  text-align: center;
}

.topbarheader .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item img {
  max-width: 100%;
  width: 250px;
  vertical-align: middle;
  margin-top: 10px;
  outline: none;
  height: 250px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.list-item.text-center:hover {
  background: #c3cdea38;
  border-radius: 15px;
}

.mobile-menu-head, .mobile-menu-trigger{
  display: none;
}

#search-container {
  display: none;
  position: absolute;
  left: 0;
  height: 48px;
  padding-left: 8px;
  align-items: center;
  padding-bottom: 2px;
}

#search-bar {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 25px;
  padding: 5px;
  background-color: white;
  width: 150px;
  height: 30px;
}

#search-bar i {
  color: #888;
  margin-right: 5px;
}

#search-bar input {
  border: none;
  outline: none;
  width: 100%;
  height: 24px;
  color: black;
  padding-bottom: 2px;
}

.dhome > a {
  text-decoration: none;
  outline: none;
  color: white;
  font-weight: 700;
}

.dhome:hover > a {
  color: #93f0ff;
}

.dhome .fas.fa-home {
  font-size: 16px;
  line-height: unset;
}

.skin .fa.fa-moon {
  font-size: 19px;
}

.lang-icon-desk .fas.fa-language {
  font-size: 19px;
  font-weight: 550;
  margin-left: 1px;
}

.lang-icon-mobi {
  display: none;
}

.iuser {
  position: relative;
  align-content: center;
}

.iuser .fas.fa-user {
  font-size: 16px;
  margin-bottom: 5px;
}

#luser {
  position: relative;
  align-content: center;
  margin-top: 1px;
}

#luser .fa-2x {
  font-size: 1.6em;
}

#luser > a :hover {
  color: #93f0ff;
}

.bmore {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -18px;
  margin-bottom: -6px;
}

.bmore > a {
  color: #e22b81;
  font-weight: bold;
  font-size: 16px;
}

.bmore > a:hover {
  color: red;
}



/* responsive --------------------------------------------------------------- */

@media(min-width: 992px) {

#t_Footer_topButton {
  max-width: 34px;
  max-height: 34px;
  margin-bottom: 3px;
  margin-right: 3px;
}

.top-column.top-five-rows {
  display: unset;
} 

.topbarheader .menu > ul > li > a {
  font-size: 16px;
  padding-left: 5px;
  padding-top: 3px;
  padding-right: 5px;
  /* padding-bottom: 3px; */
}

.topbarheader .menu > ul > li:hover > a {
  color: darkblue;
  border-radius: 5px;
  background: aliceblue;
}  

.topbarheader .menu > ul > li .sub-menu > ul > li > a {
  padding: 7.2pt 10pt;
}

.topbarheader .menu > ul > li.menu-item-has-children:hover .sub-menu{
  margin-top: 0;
  visibility: visible;
  opacity: 1;
  background: azure;
  padding: 10pt;
  margin-left: -25px;
}

.topbarheader .menu > ul > li .sub-menu.mega-menu-column-4 {
  margin-left: 0px !important;
}

.topbarheader .item-right {
  padding-bottom: 0;
}

.lang-icon-desk {
  display: unset;
  margin-right: 12px;
}

.fas.fa-language {
  position: relative;
  align-content: center;
}

.skin {
  position: relative;
  align-content: center;
}

} /* Media min-width: 992px end */



@media(max-width: 991px) {

.ilogo {
  background-size: cover;
  background-position: center;
  height: 48px;
  width: 48px;
  display: block;
  margin-top: 0px !important;
  margin-right: 2px;
}

.ilogo > img {
  position: fixed;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  margin-top: 2px;
  margin-left: 5px;
}

#ntitle {
  padding-left: 4px;
  /* padding-top: 4px; */
}

.stitle {
  /* display: none; */
  font-size: 12px;
  text-shadow:0 .1px 0 #CCC, 0 .2px 0 #c9c9c9, 0 .3px 0 #bbb, 0 .4px 0 #b9b9b9, 0 .5px 0 #aaa, 0 .6px 1px rgba(0, 0, 0, .1), 0 0 5px rgba(0, 0, 0, .1), 0 1px 3px rgba(0, 0, 0, .3), 0 3px 5px rgba(0, 0, 0, .2), 0 5px 10px rgba(0, 0, 0, .25), 0 10px 10px rgba(255, 255, 255, 0.2), 0 20px 20px rgba(0, 0, 0, 0.5)
}

.row.v-center {
  justify-content: space-between;
}

.top-column.top-five-rows {
  display: none;
}

.topbarheader .item-center {
  order:3;
  flex:0 0 auto;
}

.topbarheader .item-bright {
  display: flex;
  flex-direction: column;
  flex:0 0 auto;  
  flex: unset;
  flex-direction: row-reverse;
}

.bmore {
  padding-top: 20px;
  margin-bottom: 60px;
}

.dhome {
  display: none;
}

.skin {
  position: relative;
  left: 5px;
}

.skin .fa.fa-moon {
  font-size: 18px;
}

.iuser .fas.fa-user {
  margin-bottom: 4px;
}

#luser {
  position: relative;
  padding-top: 4px;
}

@keyframes slideLeft {
 0% {
  opacity: 0;
  transform: translateX(100%);
 }
 100% {
  opacity:1;
  transform: translateX(0%); 
 }
}

@keyframes slideRight {
 0% {
  opacity: 1;
  transform: translateX(0%);
 }
 100% {
  opacity: 0;
  transform: translateX(100%); 
 }
}

.topbarheader .mobile-menu-trigger {
  display: flex;
  height: 24px;
  width: 24px;
  margin-left: 15px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  background-color: white;
  padding: 4px;
}

.topbarheader .mobile-menu-trigger span {
  display: block;
  height: 2px;
  background-color: #333333;
  width: 24px;
  position: relative;
}

.topbarheader .mobile-menu-trigger span:before,
.topbarheader .mobile-menu-trigger span:after {
  content: '';
  position: absolute;
  left:0;
  width: 100%;
  height: 100%;
  background-color: #333333;
}

.topbarheader .mobile-menu-trigger span:before {
  top:-6px;
}

.topbarheader .mobile-menu-trigger span:after {
  top:6px;
}

.topbarheader .item-right {
  flex-direction: column;
  flex:0 0 5%;
  align-items: center;
  padding-bottom: 2px !important;  
}

.topbarheader .menu {
  position: fixed;
  width: 275px;
  background-color: transparent;
  left: 0;
  margin-top: 26px;
  height: calc(100vh - 40px);
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform 0.25s ease-out, background 0.25s ease, backdrop-filter 0.25s ease;
  z-index: 1099;
}

.topbarheader .menu.active {
  transform: translateX(0%);
  /* background: #0193cc; */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0 10px 0 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  /* Sticky Footer 
  height: calc(100vh - 92px);
  */
}

.menu-overlay {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.4); /* slightly softer overlay */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1098;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease-out, visibility 0s linear 0.25s; /* fade out delay for visibility */
}

.menu-overlay.active {
  visibility: visible;
  transition: opacity 0.25s ease-out; /* override to show immediately */
}

.topbarheader .menu > ul > li {
  line-height: 1;
  margin:0;
  display: block;
}

.topbarheader .menu > ul > li:hover > a {
  color: #5cffd9;
}

.topbarheader .menu > ul > li > a {
  line-height: 50px;
  height: 50px;
  padding:0 50px 0 15px;
  display: block;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  outline: none;
  color: white;
}

.topbarheader .menu > ul > li > a i {
  position: absolute;
  height: 50px;
  width: 50px;
  top:0;
  right: 0;
  text-align: center;
  line-height: 50px;
  transform: rotate(-90deg);
  outline: none;
}

.topbarheader .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item img {
  margin-top:0;
}

 .topbarheader .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item.text-center .title {
  margin-bottom: 20px;
}

.topbarheader .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item.text-center:last-child .title {
  margin-bottom:0px;
  /* Top height */
  padding-bottom: 58px;
}

.topbarheader .menu > ul > li .sub-menu > ul > li > a,
.topbarheader .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li > a {
  display: block;
  outline: none;
}

.topbarheader .menu > ul > li .sub-menu.mega-menu > .list-item > ul {
  margin-bottom: 15px;
  padding-left: 5px;
}

.topbarheader .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item .title{
  padding-left: 5px;
}

.topbarheader .menu .mobile-menu-head {
  display: flex;
  height: 50px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 501;
  position: sticky;
  /* background-color: #eafafb; */
  top:0;
  background:rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius:0 10px 0 0;
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1);
  /* background-color: #0193cc; */
  background-color: #1385b1a8;
}

.go-back {
  padding: 16px;
}

.topbarheader .menu .mobile-menu-head .go-back {
/*  height: 50px; */
  width: 50px;
  border-right: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  line-height: 50px;
  text-align: center;
  color: white;
  font-size: 16px;
  display: none;
}

.topbarheader .menu .mobile-menu-head.active .go-back {
  display: block;
}

.topbarheader .menu .mobile-menu-head .current-menu-title {
  font-size: 15px;
  font-weight: 500;
  color: white;
  margin-left: auto;
  margin-right: auto;
  font-weight: 700;
  padding-left: 10px;
}

.topbarheader .menu .mobile-menu-head .mobile-menu-close {
  height: 50px;
  width: 50px;
  border-left: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  line-height: 50px;
  text-align: center;
  color:white; 
  font-size: 25px;
}

.topbarheader .menu .menu-main {
  position: relative;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  /* background-color: #eafafb; */
  width: 275px;
  margin: 0px;
  /* background: rgba(255, 255, 255, 0.1); */
  background: rgba(13, 95, 145, 0.47);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0 0 0 10px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.topbarheader .menu > ul > li .sub-menu.mega-menu,
.topbarheader .menu > ul > li .sub-menu {
  visibility: visible;
  opacity: 1;
  position: absolute;
  box-shadow: none;
  margin:0;
  padding:4px;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  padding-bottom: 100px;
  max-width: none;
  min-width: auto;
  display: none;
  transform: translateX(0%);
  overflow-y: auto;
}

.topbarheader .menu > ul > li .sub-menu.active {
  display: block;
}

.topbarheader .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item {
  flex: 0 0 100%;
  padding:2px;
}

.mhome > a {
  color: white;
}

} /* Media max-width: 991px end */



@media (max-width: 639px) {

#ilogo > img {
  margin-left: 4px;
}

} /* Media max-width: 639px end */

@media(max-width: 365px) {

 .ntitle {
  max-width: 200px;
 }
 
} /* Media max-width: 365px end */

/* keep the fixed header above section libraries (Swiper/nanogallery2 stacking) */
#nav-container-top { z-index: 1001; }
#topnavbar { z-index: 1000; }

/* flow mode (not fixed to the top of the page): the bar sits in the page like the theme bar at the top of the home page */
.topbarheader.mb-flow{position:relative;top:auto;width:100%;max-width:1920px;margin:0 auto;height:50px}
.iuser a{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.mb-sit{font-size:15px;font-family:"Noto Sans Bengali",system-ui,sans-serif}.iuser .fas.fa-user{margin-bottom:0}
@media(max-width:991px){.mb-sit{display:none}}
/* menu text */
.topbarheader .menu>ul>li>a{color:white;font-size:16px}

/* flow mode: the brand (logo + name) is hidden here anyway (the banner above carries them), and a long school name must not stretch the bar and push the search box and icons out of it */
.topbarheader.mb-flow .item-left .logo { display: none; }
.topbarheader.mb-flow .topbarcontainer .row { min-height: 50px; }

/* the shared banner / menu keep the page as wide as the screen: content that is too wide for a phone is clipped, it never makes the page (and the pinned bar with its menu button) wider than the screen (banner.js adds .sb-guard) */
html.sb-guard, html.sb-guard body { overflow-x: clip; max-width: 100%; }

/* pinned to the top once the banner has scrolled away (banner.js): the logo icon only, no school name */
.topbarheader.mb-flow.mb-stuck{position:fixed;top:0;left:0;right:0;z-index:1000}
.topbarheader.mb-flow.mb-compact .item-left .logo{display:flex;align-items:center}
.topbarheader.mb-flow.mb-compact #ntitle{display:none!important}
.topbarheader.mb-flow.mb-compact #ilogo{visibility:visible!important;display:flex;align-items:center;margin:0 8px 0 0!important}
.topbarheader.mb-flow.mb-compact{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.topbarheader.mb-flow.mb-compact #ilogo{width:auto;height:auto}
.topbarheader.mb-flow.mb-compact #ilogo>img{position:static;height:42px;width:42px;margin:0;padding:0;object-fit:contain}
.topbarheader.mb-flow.mb-compact .item-left{flex-wrap:nowrap;align-items:center;padding-left:0;margin-left:-6px} /* the logo is 4px from the left edge, as from the top and bottom */
.topbarheader.mb-flow.mb-compact #search-container{left:50px}
/* very narrow phone, pinned bar: the search box shrinks to its magnifier icon; a tap opens a full-width floating input right under the bar (banner.js toggles .mb-search-open) */
@media (max-width: 400px) {
  .topbarheader.mb-flow.mb-compact #search-bar{width:32px;height:32px;padding:0;justify-content:center;cursor:pointer;background:transparent;border:0}
  .topbarheader.mb-flow.mb-compact #search-bar input{display:none}
  .topbarheader.mb-flow.mb-compact #search-bar i{font-size:19px;color:#fff}
  .topbarheader.mb-flow.mb-compact.mb-search-open #search-bar{background:#fff;border:1px solid #ccc}
  .topbarheader.mb-flow.mb-compact.mb-search-open #search-bar i{font-size:15px;color:#888}
  .topbarheader.mb-flow.mb-compact .mb-info{margin-left:2px}
  .topbarheader.mb-flow.mb-compact.mb-search-open #search-bar{position:fixed;top:56px;left:8px;right:8px;width:auto;height:42px;padding:6px 14px;justify-content:flex-start;cursor:text;box-shadow:0 6px 20px rgba(0,0,0,.28);z-index:1002}
  .topbarheader.mb-flow.mb-compact.mb-search-open #search-bar input{display:block;flex:1;min-width:0;height:28px;font-size:15px}
}
/* phone: the pinned bar is as tall as on a desktop, so the logo icon can be bigger; the search box sits clear of it */
@media (max-width: 991px) {
  .topbarheader.mb-flow.mb-compact, .topbarheader.mb-flow.mb-compact #topnavbar { height: 50px; }
  .topbarheader.mb-flow.mb-compact .topbarcontainer .row { min-height: 50px; }
  .topbarheader.mb-flow.mb-compact #ilogo>img{height:42px;width:42px}
  .topbarheader.mb-flow.mb-compact .item-left{padding-left:0;margin-left:-6px} /* the logo is 4px from the left edge, as from the top and bottom */
  .topbarheader.mb-flow.mb-compact #search-container{left:52px;height:50px}
}

/* phone: a lower bar with smaller icons and search box */
@media (max-width: 991px) {
  .topbarheader, .topbarheader.mb-flow, #topnavbar { height: 38px; }
  .topbarheader .topbarcontainer .row, .topbarheader.mb-flow .topbarcontainer .row { min-height: 38px; }
  .topbarheader #search-container { height: 38px; padding-left: 6px; padding-bottom: 0; }
  .topbarheader #search-bar { height: 26px; width: 128px; padding: 3px 7px; }
  .topbarheader #search-bar input { height: 20px; font-size: 13px; }
  .topbarheader #search-bar i { font-size: 12px; }
  .topbarheader .skin .fa.fa-moon { font-size: 14px; }
  .topbarheader .lang-icon-desk .fas.fa-language { font-size: 15px; }
  .topbarheader .iuser .fas.fa-user { font-size: 13px; margin-bottom: 0; }
  .topbarheader .mobile-menu-trigger { transform: scale(.72); }
}

/* the white "i" after the search box (phone, and only when the page has a school banner: banner.js marks the page with .has-sb); it opens the banner's info card */
.mb-info { display: none; margin-left: 8px; width: 26px; height: 26px; padding: 0; border: 0; background: none; color: #fff; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.mb-info svg { width: 22px; height: 22px; }
@media (max-width: 991px) { html.has-sb .mb-info { display: inline-flex; } html.has-sb .topbarheader.mb-compact .mb-info { display: none; } }

/* phone: the slide-in menu must never flash while the page loads (it used to show open for a moment, then slide away): hidden, and without its slide, until banner.js marks the page ready (a safety timer shows it anyway) */
@media (max-width: 991px) {
  html:not(.mb-ready) .topbarheader .menu:not(.active), html:not(.mb-ready) .menu-overlay:not(.active) { visibility: hidden; transition: none; animation: mbMenuOk 0s 2.5s forwards; }
}
@keyframes mbMenuOk { to { visibility: visible; } }

/* language switch like the app's: the translate icon and the other language's own name */
.site-lang { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; line-height: 1; white-space: nowrap; text-decoration: none; }
.site-lang .lang-svg { flex: 0 0 auto; }
html[lang=bn] .site-lang { font-family: "NSB Digit", "Noto Serif Bengali Digit", "Noto Serif Bengali", serif; }
/* keep icon and name on one centre line (the menu's own link rules made the link inline-block) */
.topbarheader .site-lang { display: inline-flex !important; align-items: center; gap: 6px; height: 22px; line-height: 1 !important; font-size: 14px !important; vertical-align: middle; }
.topbarheader .site-lang .lang-svg { display: block; width: 17px; height: 17px; margin: 0; }
.topbarheader .site-lang span { display: block; line-height: 1 !important; height: 1em; padding-top: 1px; }
/* the home link: icon followed by the word */
.topbarheader .dhome > a { display: inline-flex; align-items: center; gap: 6px; }
.topbarheader .dhome .dhome-t { font-size: 14px; line-height: 1; }
html[lang=bn] .topbarheader .dhome .dhome-t { font-family: "NSB Digit", "Noto Serif Bengali Digit", "Noto Serif Bengali", serif; }
.topbarheader .dhome .dhome-svg { display: block; flex: 0 0 auto; width: 17px; height: 17px; margin: 0; }
.topbarheader .dhome > a { height: 22px; }
.topbarheader .dhome .dhome-t { display: block; height: 1em; padding-top: 1px; }
.topbarheader .dhome .dhome-t { font-weight: 400 !important; }
/* "Home" matches the other menu items: same size and font */
.topbarheader .dhome .dhome-t { font-size: 16px !important; font-family: inherit !important; height: auto; padding-top: 0; }
.topbarheader .dhome .dhome-svg { width: 18px; height: 18px; }
.topbarheader .dhome > a { height: auto; min-height: 22px; }
.topbarheader .dhome > a { position: relative; top: -1.5px; }
/* one centre line for every item of the bar: the home link and the language switch use the menu's own font and the bar's full height, like the other items */
.topbarheader .dhome > a { position: static; top: 0; display: inline-flex; align-items: center; height: 50px; min-height: 0; line-height: 1; }
.topbarheader .dhome .dhome-t { display: block; height: auto; padding: 0; line-height: 1; }
.topbarheader .site-lang { height: 50px; font-family: "Noto Sans Bengali", Arial, sans-serif !important; font-size: 15px !important; font-weight: 400; }
.topbarheader .site-lang span { height: auto; padding: 0; line-height: 1 !important; }
html[lang=bn] .topbarheader .site-lang { font-family: "Noto Sans Bengali", Arial, sans-serif !important; }
/* the icons sit on the text's baseline: 16px, lifted so their drawn part spans the capital letters, not below them */
.topbarheader .dhome .dhome-svg { width: 16px; height: 16px; transform: translateY(-1px); }
.topbarheader .site-lang .lang-svg { width: 16px; height: 16px; transform: translateY(-1.5px); }
/* phone / tablet: the bar is only as tall as its content while the banner shows (38px), so the 50px height the desktop items use pushed the search, icons and language text below the middle */
@media (max-width: 991px) {
  .topbarheader .site-lang { height: auto; }
  .topbarheader .site-lang span { height: auto; }
}
/* phone / tablet: the language switch is the icon only, like the sign-in icon (the name stays on desktop) */
@media (max-width: 991px) {
  .topbarheader .site-lang span { display: none; }
  .topbarheader .site-lang { gap: 0; }
}
