/* Bengali Font Faces */
@font-face {
    font-family: 'Kalpurush';
    src:    url("/static/fonts/Kalpurush.18c60188dd7e.woff2?013cc8380b6a") format('woff2'),
            url("/static/fonts/Kalpurush.16dddcbe1c2f.woff?013cc8380b6a") format('woff'),
            url("/static/fonts/Kalpurush.7051bc058240.ttf?013cc8380b6a") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Optional: improves performance */
}

@font-face {
    font-family: 'SolaimanLipi';
    src: url("/static/fonts/SolaimanLipi.55a395669acd.ttf?013cc8380b6a") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SiyamRupali';
    src: url("/static/fonts/SiyamRupali.988f3419ee58.ttf?013cc8380b6a") format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* Apply to Bengali content */
.bangla-font {
    font-family: 'Kalpurush', 'SolaimanLipi', 'SiyamRupali', Arial, sans-serif;
    font-size: 1.1em;
    line-height: 1.6;
}

.bangla-small-font {
    font-family: 'Kalpurush', 'SolaimanLipi', 'SiyamRupali', Arial, sans-serif;
    font-size: 0.8em;
    line-height: 1.1;
}
/* ###### Info Box ###### */
.infobox {
  background-color: #F9FDFF; 
  border-radius: 5px 5px 5px 5px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  
  height: 100%; /* Fill parent height */
  display: flex;
  flex-direction: column;
}

h5.infoboxtitlegeneral {
  /* color: #343a40; */
  color: #ffffff;
  /* background-color: #F5EAFF;  */
  /* background-color: #74cbdb;  */
  background-color: #2292A4; 
  font-weight: bold; 
  height: 30px; 
  border-radius: 5px 5px 0px 0px;
  padding-top: 25px;
  padding-bottom: 25px;
}

h5.infoboxtitleredish {
  /* color: #343a40; */
  color: #ffffff;
  /* background-color: #F5EAFF;  */
  /* background-color: #74cbdb;  */
  background-color: #b46067; 
  font-weight: bold; 
  height: 30px; 
  border-radius: 5px 5px 0px 0px;
  padding-top: 25px;
  padding-bottom: 25px;
}

.maxreadtitle {
  padding-top: 2px;
}


.madrasahboarddownloadicon {
  text-align: center;
  background-color: #e7e9eb;
  border-color: #2292A4;
}

.madrasahboarddownloadicon:hover {
  background-color: #2292A4;
  background-color: rgb(205, 207, 208);
  text-shadow: 0 0 0 0 rgba(245, 6, 6, 0.7);
}

.iaudownloadicon {
  text-align: center;
  background-color: #e8f1fa;
  border-color: #2292A4;
}

.iaudownloadicon:hover {
  background-color: #2292A4;
  background-color: rgb(205, 207, 208);
  text-shadow: 0 0 0 0 rgba(245, 6, 6, 0.7);
}


.detailsbtn {
  text-align: center;
  background-color: #e7e9eb;
  border: 1px solid #2292A4;
}

.detailsbtn:hover {
  background-color: rgb(205, 207, 208);
  text-shadow: 0 0 0 0 rgba(245, 6, 6, 0.7);
}

#lu-dload-pnl-under-title {
  display: none;
}





/* Bounce To Right */
.hover-bounce-to-right {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
.hover-bounce-to-right:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: #2098D1; */
  background: #F5EFED;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hover-bounce-to-right:hover, .hover-bounce-to-right:focus, .hover-bounce-to-right:active {
  color: white;
}
.hover-bounce-to-right:hover:before, .hover-bounce-to-right:focus:before, .hover-bounce-to-right:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
  transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}




/* Shadow Radial */
.hover-shadow-radial {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
}
.hover-shadow-radial:before, .hover-shadow-radial:after {
  pointer-events: none;
  position: absolute;
  content: '';
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background-repeat: no-repeat;
  height: 5px;
  opacity: 0;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: opacity;
  transition-property: opacity;
}
.hover-shadow-radial:before {
  bottom: 100%;
  background: -webkit-radial-gradient(50% 150%, ellipse, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 80%);
  background: radial-gradient(ellipse at 50% 150%, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 80%);
}
.hover-shadow-radial:after {
  top: 100%;
  background: -webkit-radial-gradient(50% -50%, ellipse, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 80%);
  background: radial-gradient(ellipse at 50% -50%, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 80%);
}
.hover-shadow-radial:hover:before, .hover-shadow-radial:focus:before, .hover-shadow-radial:active:before, .hover-shadow-radial:hover:after, .hover-shadow-radial:focus:after, .hover-shadow-radial:active:after {
  opacity: 1;
}



.latestblink {
    /* background: linear-gradient(45deg, #f5efed, #44a08d); */
    /* background: linear-gradient(45deg, #f5efed, #f5efed); */
    /* color: white; */
    /* box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4); */
    /* border-radius: 100px 100px 100px 100px; */
    animation: pulse 1.5s infinite;
    /* box-shadow: 0 0 20px rgba(78, 205, 196, 0.8); */


    height: 21px;
    width: 17px;

    /* background-color: #f8dcdc; */
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    /* vertical-align: middle; */

}

.latestblink:hover {
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 6, 6, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(78, 205, 196, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(78, 205, 196, 0);
    }
}



.hightlightpulse {
    animation: textPulse 1.5s infinite;
    text-align: center;
}

@keyframes textPulse {
    0% {
        text-shadow: 0 0 0 rgba(245, 6, 6, 0.7);
    }
    70% {
        text-shadow: 0 0 10px rgba(245, 6, 6, 0.9), 
                     0 0 20px rgba(245, 6, 6, 0.6);
    }
    100% {
        text-shadow: 0 0 0 rgba(245, 6, 6, 0.182);
    }
}



/* .infobox a {
  width: auto;
  text-decoration: none;
  transition: width 2s;
  transition-timing-function: ease;
  }
  
  .infobox a:hover {
    background: red;
    width: 300px;
    } 
    */
    
    
    
    
    .infobox a {
      /* background-color: red; */
      /* transition: width 2s, height 2s, background-color 2s, transform 2s; */
      /* transition: width .5s, height .5s, background-color .5s, transform .5s; */
      text-decoration: none; 
    }
    
    .infobox a:hover {
      /* background-color: #f5efed;   */
      /* transform: rotate(180deg); */
    }



/* ###### CAROUSEL ###### */

/* Removes white gap between slides */
.carousel {
  background:#444;
}

/* Forces image to be 100% width and not max width of 100% */
.carousel-item .img-fluid {
  width:100%;
  height:auto;
}

/* anchors are inline so you need ot make them block to go full width */
.carousel-item a {
  display: block;
  width:100%;
}





/*====== Click VERSION =====*/
/* .dropdown-toggle.active-dropdown::after {
    transform: rotate(-90deg);
} */






/*====== HOVER VERSION =====*/
/*=-====Bootstrapthemes.co btco-hover-menu=====*/

.navbar-light .navbar-nav .nav-link, .navbar-brand {
    color: rgb(64, 64, 64);
}

.navbar-dark .navbar-nav .nav-link, .navbar-brand {
    color: rgb(0, 0, 0);
    font-weight: bold;
}

.btco-hover-menu a ,  .navbar > li > a {
    text-transform: capitalize;
    padding: 10px 15px;
}
.btco-hover-menu .active a,
.btco-hover-menu .active a:focus,
.btco-hover-menu .active a:hover,
.btco-hover-menu li a:hover,
.btco-hover-menu li a:focus ,
.navbar>.show>a,  .navbar>.show>a:focus,  .navbar>.show>a:hover{
    color: #000;
    background: transparent;
    outline: 0;
}



/*submenu style start from here*/

.dropdown-menu {
    padding: 0px 0; 
    margin: 0 0 0; 
    border: 0px solid transition !important;
    border: 0px solid rgba(0,0,0,.15);	
    border-radius: 0px;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;

}

/*first level*/
.btco-hover-menu .collapse ul > li:hover > a{
    color:black; 
    /* background: #8E7DBE; */
    background: #2292A4;
}
.btco-hover-menu .collapse ul ul > li:hover > a, .navbar .show .dropdown-menu > li > a:focus, .navbar .show .dropdown-menu > li > a:hover{
    /* background: #8E7DBE; */
    background: #2292A4;
    color:rgb(255, 255, 255); 
    font-weight: bold;
    border-left: 5px solid rgb(0, 0, 0);
}

/*second level*/
.btco-hover-menu .collapse ul ul ul > li:hover > a{
    /* background: #8E7DBE; */
    background: #2292A4;
    color:rgb(255, 255, 255); 
    font-weight: bold;
    border-left: 5px solid rgb(0, 0, 0);
}

/*third level*/
.btco-hover-menu .collapse ul ul, .btco-hover-menu .collapse ul ul.dropdown-menu{background:#f5f5f5;}
.btco-hover-menu .collapse ul ul ul, .btco-hover-menu .collapse ul ul ul.dropdown-menu{background:#f5f5f5}
.btco-hover-menu .collapse ul ul ul ul, .btco-hover-menu .collapse ul ul ul ul.dropdown-menu{background:#f5f5f5}

/*Drop-down menu work on hover*/
.btco-hover-menu{background: none;margin: 0;padding: 0;min-height:20px}

@media only screen and (max-width: 991px) {
    .btco-hover-menu .show > .dropdown-toggle::after{
        transform: rotate(-90deg);
    }
}
@media only screen and (min-width: 991px) {

    .btco-hover-menu .collapse ul li{position:relative;}
    .btco-hover-menu .collapse ul li:hover> ul{display:block}
    .btco-hover-menu .collapse ul ul{position:absolute;top:100%;left:0;min-width:250px;display:none}
    /*******/
    .btco-hover-menu .collapse ul ul li{position:relative}
    .btco-hover-menu .collapse ul ul li:hover> ul{display:block}
    .btco-hover-menu .collapse ul ul ul{position:absolute;top:0;left:100%;min-width:250px;display:none}
    /*******/
    .btco-hover-menu .collapse ul ul ul li{position:relative}
    .btco-hover-menu .collapse ul ul ul li:hover ul{display:block}
    .btco-hover-menu .collapse ul ul ul ul{position:absolute;top:0;left:-100%;min-width:250px;display:none;z-index:1}

}


/*Added later */

.dropdown-item {
    background-color: #e8edf9;
}


.navbar-brand {
    color: black !important; /* Default color */
}

.navbar-brand:hover,
.navbar-brand:focus {
    color: white !important; /* Hover/focus color */
}



/* Custom styles for visible items on small screens */
.nav-visible-sm {
    display: none;
}
  /* If the screen size is 400px wide or less */
  @media screen and (max-width: 575px) {

    /* ###### Header ###### */
    .headertitle1 {
        font-size: 26px;
    }
    .headertitle2 {
        display: none;
    }



    /* ###### Left Panel ###### */
    /* Latest Update */
    .maxreadtitle, div.maxreadbody, .latestupdatestitle, div.latestupdatesbody  {
      display: none;
    }
        
    /* 1st, 2nd, 3rd, 4th and 5th items of Latest Update */
    .latestupdatesbody .latestupdatesingleitem:nth-child(1),
    .latestupdatesbody .latestupdatesingleitem:nth-child(2),
    .latestupdatesbody .latestupdatesingleitem:nth-child(3),
    .latestupdatesbody .latestupdatesingleitem:nth-child(4),
    .latestupdatesbody .latestupdatesingleitem:nth-child(5) {
        display: none;
    }


    /* Latest Update - Only for Homepage*/
    .homepage .latestupdatestitle, .homepage div.latestupdatesbody   {
      display: block;
    }
        
    /* 1st, 2nd, 3rd items of Latest Update - Only for Homepage*/
    .homepage .latestupdatesbody .latestupdatesingleitem:nth-child(1),
    .homepage .latestupdatesbody .latestupdatesingleitem:nth-child(2),
    .homepage .latestupdatesbody .latestupdatesingleitem:nth-child(3) {
        display: block;
    }


    #lu-dload-pnl-under-title {
      display: block;
    }
    
    #lu-dload-pnl-independent-column {
      display: none;
    }

  }


  /* If the screen size is 500px wide or less */
  @media screen and (max-width: 500px) {
    
    /* ###### Top Panel ###### */
    #toppanel img{
      width: 50px !important;
      height: 50px !important;
    }

  }



  /* If the screen size is 575px wide or less */
  @media screen and (max-width: 575px) {

      .nav-visible-sm {
        display: flex;
        flex-direction: row;
        padding: 10px 0;
        border-top: 1px solid rgba(255,255,255,0.2);
        /* background-color: aqua; */
    }
    
    .nav-visible-sm .nav-link {
        padding: 8px 15px;
        color: #000000 !important;
        text-align: center;
    }
    
    .nav-visible-sm .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
    }
  }
.share-panel {
            display: flex;
            gap: 10px;
            padding: 8px;
            border: 1px solid #ddd;
            width: fit-content;
            border-radius: 5px;
            background: #f9f9f9;
}
.share-panel a {
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 20px;
    color: white;
    text-decoration: none;
}
.facebook   { background: #1877F2; }
.twitter    { background: #1DA1F2; }
.linkedin   { background: #0077B5; }
.whatsapp   { background: #25D366; }
.messenger  { background: #1877F2; }
.telegram   { background: #0088cc; }
.pinterest  { background: #E60023; }
.reddit     { background: #FF5700; }
.email      { background: #3f3f3f; }