/*/ This is AMARPRATISTHAN.COM webpage stylesheet (1) version 1.0 /*/

/*/ Powered by LCTCD 2018. https://lctcbd.com;/*/

        /*/ Design by Tareq /*/

/*/   More Stylesheet  =

        1.responsiveslides.css
        2.responsivebody.css

/*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
@font-face {
  font-family: 'Glyphicons Halflings';

  src: url('../fonts/glyphicons-halflings-regular.eot');
  src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

@font-face {
  font-family: 'AdorshoLipi';
  src: url('AdorshoLipi.ttf') format('truetype');
}



/*.main-body{
    border: 0.5px solid gray;
    border-radius:10px;
}*/
.container-fluid{
    padding: 0;
    margin: 0;
}
.col-12{
    padding: 0;
    margin: 0;
}
.site_name{
	/*margin-top: 5px;
	border-radius:10px;*/
	background-color:#3398ff;
	text-align:center;
	color:#FC0;
	text-shadow:1px 1px #825509;
	font-size:26px;
	padding:7px;
	font-weight:bold;
	min-height: 120px;
    line-height: 1.5;
	/*animation-timing-function:infinite;*/
    width: 100%;
	box-shadow:0 2px 2px rgba(0,0,0, .5);
    background: rgb(23,162,184);
    background: radial-gradient(circle, rgba(23,162,184,1) 0%, rgba(22,114,166,1) 54%, rgba(21,75,151,1) 78%, rgba(20,48,141,1) 100%, rgba(19,1,123,1) 100%);
    display: flex;
    align-items: center; /* Vertically center the content */
}
.image-container {
    flex-shrink: 0; /* Prevent the image from shrinking */
    margin-right: 10px; /* Add spacing between image and text (adjust as needed) */
}

.image-container img {
    max-height: 100px; /* Set a maximum height for the image (adjust as needed) */
}

.text-container {
    flex-grow: 1; /* Allow the text container to grow and take available space */
}

.name_text span{
	color:#CFF;
	text-shadow:1px 1px #DFA643;
	font-size:20px;
}
.site_name img{height:100px;width: 100px; float:left;}
.news_head {
    /*display:inline-block;
    width:100%;
	*/
    padding: 0;
    margin: 0;
    float: left;
    width: 100%;
   	line-height: 40px;
    font-size: 20px;
    height: 40px;
    text-align: center;
    text-shadow:1px 1px #DFA643;
    color: #FFF;
    font-weight: normal;
    margin:0px auto;
    background: linear-gradient(to bottom, rgba(0, 33, 71, 0.5), rgba(0, 33, 71, 0.9));
    /*border-radius: 15px 100px 0px 0px;*/ /*some css3*/
    -moz-border-radius:10px;
}
.news_text
{
	border-radius:10px;
    line-height: 40px;
    font-size: 20px;
    color: #002147;
    font-weight: bold;
    height: 40px;
	cursor: pointer;
}
/*.sub_text_scroller{
    background-image: url('bg1.png');
    background-repeat: repeat; 
    background-attachment: fixed; 
}*/

#scroll-bg{
    /*background: rgba(51, 152, 255, 0.8);
    border-radius: 10px;*/
    background: linear-gradient(to bottom, rgba(19, 1, 123, 0.1), rgba(19, 1, 123, 0.5));
    box-shadow:0 2px 2px rgba(0,0,0, 0.5);
    -moz-box-shadow:0 2px 2px rgba(0,0,0, 0.5);
}
#navbar-bg{
    border-radius: 10px;
    padding: 5px 2px 5px 0px;
}
.navbar{
    padding: 0;
}

.nav-link{
    font-size: 1.1em !important;
}
.dropdown-item{
    font-size: 1em !important;
    border-bottom: 0.4px solid gray;
}
.dropdown-menu a{
    border-bottom: 0.5px solid black;
}
.dropdown-menu{
    background-color: #fff;
    margin-top: 0;
}

#navbarSupportedContent ul li a{
    text-decoration: none;
    list-style-type: none;
    display: inline-block;
    padding: 10px 7px;
    font-size: 1em;
    /*font-family: Arial, Helvetica, sans-serif;*/
    font-weight: bold;
    cursor: pointer;
    color: black;
}

.navbar-nav .dropdown:hover .dropdown-menu {
    margin-top: 18px; /* Adjust the value as needed */
}


/*/ Scroll to top css style code/*/

#back2Top {
    width: 40px;
    line-height: 40px;
    overflow: hidden;
    z-index: 999;
    display: none;
    cursor: pointer;
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    position: fixed;
    bottom: 50px;
    right: 0;
    background-color: #DDD;
    color: #555;
    text-align: center;
    font-size: 30px;
    text-decoration: none;
}
#back2Top:hover {
    background-color: #DDF;
    color: #000;
}

/*/end scroll to top code/*/

    .b-header1{
        background: linear-gradient(0deg, #13017B, #17a2b8);
        color: white;
        padding: 8px;
        font-size: 20px;
        font-weight: bold;
    }

    .b-header {
        background: linear-gradient(45deg, #13017B, #17a2b8);
        color: white;
        padding: 8px;
        font-size: 20px;
        font-weight: bold;
    }

    /* Responsive styles for mobile view */
    @media (max-width: 575px) {
      .b-header, .b-header1 {
        font-size: 16px;
        padding: 6px;
      }
    }

    /* Responsive styles for tablet view */
    @media (min-width: 576px) and (max-width: 991px) {
      .b-header, .b-header1 {
        font-size: 18px;
        padding: 8px;
      }
    }

.madrasa-info{
    padding: 5px 20px 5px 20px; 
    text-align: justify; 
    color: #D24625; 
    font-family:'SolaimanLipiNormal'; 
    font-size: 1.2em;
    font-weight: bold;
}

#notice_info a{
     text-decoration: none;
}
#notice_info a:hover{
    text-decoration: underline;
}
#notice_info .card{
    border-radius: 0!important;
    background-color: #ECECEC;
}


.navbar {
    padding-top:0!important; /* Adjust the value as needed */
    padding-bottom:0!important; /* Adjust the value as needed */
}

/* Styles for the loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure the overlay appears on top of everything */
}

/* Styles for the loading spinner or animation */
.loader {
    border: 5px solid #3498db; /* Change the color as needed */
    border-top: 5px solid #f1c40f; /* Change the color as needed */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite; /* Animation for the spinner */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




/* Custom css for header */
.font-md {
    font-size: 1.5rem;
}
.font-lg {
    font-size: 1.8rem;
}


/* All @media compress will go here */
.link_name img {
    height: relative;
    max-height: 200px;
    min-height: 200px;
}

@media (max-width: 576px){

    #news_head_box{display: none;}
    .font-lg{
        font-size: 17px!important;
    }
    .font-md{
        font-size: 15px!important;
    }
    .text-small{
        font-size: 15px!important;
    }
}





/* For larger screens */
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 128, 0, 0.4); /* Green background with reduced opacity: Adjust the alpha value (0.7) as needed */
    padding: 15px;
    color: #fff; /* Caption text color */
    border-radius: 5px; /* Adds rounded corners to the caption background */
}

.carousel-caption h5 {
    margin-bottom: 10px;
    font-size: 18px;
    text-transform: uppercase; /* Converts caption title to uppercase */
}

.carousel-caption p {
    font-size: 14px;
    line-height: 1.4;
}

/* For smaller screens (e.g., mobile devices) */
@media (max-width: 767px) {
    .carousel-caption {
        position: relative;
        background-color: rgba(0, 128, 0, 0.7); /* Adjust background color for mobile if needed */
        padding: 10px;
        border-radius: 0; /* Remove border-radius on smaller screens */
    }

    .carousel-caption h5 {
        font-size: 16px; /* Adjust font size for smaller screens */
    }

    .carousel-caption p {
        font-size: 12px; /* Adjust font size for smaller screens */
    }
}
.slider-box {
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: #15802d;
    background-image: url(../images/522.png);
}
/* Custom CSS */
.carousel-item img {
  max-height: 400px; /* Set your desired maximum height */
  min-height: 170px;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .carousel-item img {
    max-height: 400px; /* Adjust the maximum height for larger screens */
    min-height: 400px; /* Adjust the maximum height for larger screens */
  }
}








.breaking-news-ticker{
  display: block;
  width: 100%;
  background: #FFF;
  height: 40px;
  box-sizing: border-box;
  position: relative;
  line-height: 40px;
  overflow: hidden;
  border-radius: 2px;
  text-align: auto;
  /* font-size: 14px; */
}
.breaking-news-ticker *{
  box-sizing: border-box;
}
.breaking-news-ticker.bn-fixed-top{
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
}
.breaking-news-ticker.bn-fixed-bottom{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
}





/*********************************/
/*title styles start**************/
.bn-label{
  left: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  position: absolute;
  background-color: #DC3546!important;
  text-align: center;
  color: #FFF;
  font-weight: bold;
  z-index: 3;
  padding: 0 15px;
  white-space: nowrap;
}
/*title styles end****************/



/*********************************/
/*news item style start **********/
.bn-news{
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  right: 0;
  overflow: hidden;
  border-width: 0px 0px 1px 0px;
  border-style: solid;
  border-color: var(--thm-primary);
}
.bn-news ul{
  display: block;
  height: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  position: absolute;
}
.bn-news ul li{
  white-space: nowrap;
  overflow:hidden !important;
  text-overflow: ellipsis;
  text-decoration: none;
  -webkit-transition: color .2s linear;
  -moz-transition: color .2s linear;
  -o-transition: color .2s linear;
  transition: color .2s linear;
  position: absolute;
  width: 100%;
  display: none;
  color: #333;
}

/*
.bn-news ul li a{
  white-space: nowrap;
  text-overflow: ellipsis;
  text-decoration: none;
  padding: 0 10px;
  color: #333;
  position: relative;
  display: block;
  overflow: hidden;
  background: #f6f6f6;
  font-size: 16px;
}

.bn-news ul li a:hover{
  color: #069;
}
*/

.ticker-content a{

  text-decoration: none;
  padding: 0 10px;
  color: #000;
  position: relative;
  font-size: 19px;

}
@media (max-width: 768px) {
  .ticker-content a {
    font-size: 16px;
  }
}

.ticker-content a:hover{
  color: #069;
}

.bn-loader-text{
  padding: 0 10px;
}
.bn-seperator{
  display: inline-block;
  float: left;
  margin-right: 15px;
  width: 30px;
  height: 40px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
}
.bn-seperator.bn-news-dot{
  margin-right: 0;
}
.bn-seperator.bn-news-dot:after{
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: #333;
  border-radius: 50%;
  top: 50%;
  margin-top: -4px;
  left: 50%;
  margin-left: -4px;
}
.bn-prefix{
  color: #d65d7a;
  margin-right: 15px;
  padding-left: 10px;
}
.bn-positive{
  color: #0b8457;
  font-weight: bold;
}
.bn-negative{
  color: #dc2f2f;
  font-weight: bold;
}
/*news item style end ************/



/*********************************/
/*controls style start ***********/
.bn-controls{
  width: auto;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  position: absolute;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.bn-controls button{
  width: 30px;
  float: left;
  height: 100%;
  cursor: pointer;
  border:none;
  border-left: solid 1px #EEE;
  text-align: center;
  background-color: #f6f6f6;
  outline: none;
}
.bn-controls button:hover{
  background-color: #EEE;
}

.bn-arrow {
  margin: 0;
  display: inline-block;
  height: 8px;
  position: relative;
  width: 8px;
  top: -2px;
}
.bn-arrow::after {
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-right-style: solid;
  border-right-width: 2px;
  content: '';
  display: inline-block;
  height: 8px;
  left: 0;
  position: absolute;
  top: 0;
  width: 8px;
}
.bn-arrow.bn-next {
  -moz-transform: rotate(315deg);
  -ms-transform: rotate(315deg);
  -webkit-transform: rotate(315deg);
  transform: rotate(315deg);
  left:-3px;
}
.bn-arrow.bn-prev {
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  left: 3px;
}
.bn-arrow::after{
  border-color: #999999;
}
.bn-arrow::before{
  background-color: #999999;
}
.bn-play{
  position: relative;
  background: #999999;
  width: 0;
  height: 12px;
  display: inline-block;
  margin-left: -5px;
}
.bn-play::after {
  left: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(136, 183, 213, 0);
  border-left-color: #999999;
  border-width: 8px;
  margin-top: -8px;
}
.bn-pause{
  position: relative;
  width: 0;
  height: 14px;
  display: inline-block;
  top: 1px;
  left:-1px;
}
.bn-pause::before{
  position: absolute;
  content: "";
  width: 2px;
  height: 100%;
  left: 3px;
  background-color: #999999;
}
.bn-pause::after{
  position: absolute;
  content: "";
  width: 2px;
  height: 100%;
  left: -3px;
  background-color: #999999;
}
/*controls style end *************/
/*********************************/
.bn-direction-rtl{
  direction: rtl;
}
.bn-direction-rtl .bn-label{
  left: auto;
  right: 0;
}
.bn-direction-rtl .bn-controls{
  right: auto;
  left: 0;
}
.bn-direction-rtl .bn-seperator{
  margin-left: 15px;
  margin-right: 0;
  float: right;
}
.bn-direction-rtl .bn-prefix{
  margin-left: 15px;
  margin-right: 0;
  padding-left: 0;
  padding-right: 10px;
}
.bn-direction-rtl .bn-controls button{
  border-left: none;
  border-right: solid 1px #EEE;
}

.bn-effect-scroll .bn-news ul{
  display: block;
  width: 100%;
  position: relative;
}
.bn-effect-scroll .bn-news ul li{
  display: list-item;
  float: left;
  position: relative;
  width: auto;
}
.bn-effect-scroll.bn-direction-rtl .bn-news ul li{
  float: right;
}

/*********************************/


/********* Notice Board style ********/
#news-events-holder h2,
.card-sec h2 {
    color: #673ab7;
    /* text-align: center; */
    /* margin: 0; */
    font-weight: bold;
}
#news-events-holder ul#news-events {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
    margin-top: 30px;
}
#news-events-holder ul#news-events>li {
    display: table-cell;
    width: 50%;
}
#news-events-holder ul#news-events>li>div {
    position: relative;
    display: block;
}
#news-events-holder ul#news-events>li>div>h2,
.card-sec h2 {
    margin-bottom: 30px;
}
#news-events-holder ul#news-events>li>div>h2:after,
.card-sec h2:after {
    content: '';
    position: relative;
    display: block;
    max-width: 100px;
    margin: 10px auto 0;
    border-bottom: 2px solid #e2161e;
}
#news-events-holder ul#news-events>li:first-child>div {
    padding-right: 50px;
}
#news-events-holder ul#news-events>li:last-child>div {
    padding-left: 50px;
}
#news-events-holder ul#news-events>li:first-child>div:after {
    content: "";
    position: absolute;
    height: 100%;
    top: 0px;
    right: 0px;
    border-right: 1px solid #F5F5F5;
}
#news-events-holder ul.news {
    position: relative;
    display: block;
}
#news-events-holder ul.news>li {
    display: block;
    padding: 8px 0px;
    border-bottom: 1px solid #F5F5F5;
}
#news-events-holder ul.news>li:first-child {
    padding-top: 0px;
}

#news-events-holder ul.news>li:last-child {
    border-bottom: none;
}
#news-events-holder ul.news>li>div {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
}
#news-events-holder ul.news>li>div>.date {
    display: table-cell;
    width: 70px;
    vertical-align: top;
}
#news-events-holder ul.news>li>div>.date>div {
    position: relative;
    display: block;
    font-size: 20px;
    line-height: 20px;
    color: #FFF;
    padding: 5px;
    background: #dc3545;
    text-align: center;
}
#news-events-holder ul.news>li>div>.date>div>span {
    display: block;
    font-size: 12px;
    line-height: 18px;
}
#news-events-holder ul.news>li>div>.date>div:before {
    content: "";
    position: absolute;
    height: 100%;
    top: 0px;
    left: 0px;
    border-left: 2px solid #b32936;
}
#news-events-holder ul.news>li>div>.desc {
    display: table-cell;
    padding-left: 20px;
    vertical-align: middle;
}
#news-events-holder ul.news>li>div>.desc>.img {
    position: relative;
    float: left;
    display: block;
    max-width: 85px;
    /*150px*/
    max-height: 85px;
    overflow: hidden;
    border: 1px solid #c7c7c7;
    margin: 0px 10px 10px 0px;
}
#news-events-holder ul.news>li>div>.desc>.img:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border: 5px solid #ebe9e7;
}
#news-events-holder ul.news>li>div>.desc>p {}

#news-events-holder ul.news>li>div>.desc>a,
.notice-btn {
    color: #e2161e;
    text-align: right;
    font-size: 16px;
    line-height: 0px;
    font-weight: bold;
    float: left;
    text-transform: capitalize;
}
#news-events-holder ul.news>li>div>.desc>a:hover {
    color: #000;
}




/* Custom CSS for coloring the icons with borders */
.pdf-icon {
    color: #FF0000;
}
.word-icon {
    color: #2B579A;
}
.excel-icon {
    color: #107C41;
}


.card-title {
    color: #DC3546;
    font-weight: bolder;
}
.table tr td{
    border-bottom: 0;
}





/* Optional: Adjust the container's style */
.data-container {
  width: 80%;
  margin: 20px auto;
}

/* Optional: Adjust the card's style */
.data-card {
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
/* Custom CSS for positioning close button */
.btn-close-custom {
    position: absolute!important;
    bottom: 10px;
    left: 10px;
}




.owl-carousel .item {
  background-size: cover;
  background-position: center;
  height: 200px;
}




/* bmeb notice call area */
#notice-board-ticker  li{
    list-style-type: circle;
}
#notice-board-ticker  li a{
    font-size: 16px;
}
#notice-board-ticker a.right{
    float: right;
}
#notice-board-ticker a.right {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 0.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}
#notice-board-ticker a.right:hover,
#notice-board-ticker a.right:focus {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}
#notice-board-ticker a.right:active {
    color: #fff;
    background-color: #bd2130;
    border-color: #b21f2d;
}




/* Statistics Section style */
#statistics {
    width: 100%;
    height: auto;
    padding-top: 50px;
    padding-bottom: 50px;
    background: #9e9e9e47;
}
#statistics h1{
    font-family: 'poppins', sans-serif!important;
}
#statistics .col-md-3 h1 {
    font-size: 32px;
    font-weight: 800;
    margin-top: 10px;
    margin-bottom: 5px;
}
#statistics .col-md-3 i {
    font-size: 40px;
    color: #DC3546;
}
#statistics .col-md-12 {
    background: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}
#statistics .col-md-3 h4 {
    font-size: 17px;
    font-weight: 600!important;
    text-transform: uppercase;
}



/* footer area icon border redius */
.social li a, .footer-area .address-list li i{
    border-radius: 50%;
}
.footer-area li .fa{
    color: var(--thm-secondary-text);
}





/* style for accordion */
.our-faq-wrapper {
    padding: 90px 0 60px;
    background:#fff;  
}
.accordion .card {
    border: none;
    margin-bottom: 30px;
}
.our-faq-wrapper .btn-link {
    display: block;
    width: 100%;
    text-align: left;
    position: relative;
    background-color: var(--thm-primary);
    color: #fff;
    border-radius: 0;
    padding: 13px 15px 13px;
    font-size: 16px;
    overflow: hidden;
    border: none;
    font-weight:600;  
}
.our-faq-wrapper .btn-link:hover, .our-faq-wrapper .btn-link:focus {
    text-decoration: none;
}
.our-faq-wrapper .btn-link:after {
    position: absolute;
    content: '\f068';
    right: 15px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-family: fontawesome;
}
.our-faq-wrapper .btn-link.collapsed:after {
    content: '\f067';
}
.our-faq-wrapper .btn-link:before {
    position: absolute;
    content: '';
    background: #DC3546;
    -webkit-transform: skew(-35deg);
    transform: skew(-35deg);
    height: 100%;
    width: 50%;
    left: 90%;
    top: 0;
}
.card-header {
    padding: 0;
    background: transparent;
    border-bottom: none;
}


