@font-face {
  font-family: 'SolaimanLipi';
  src: url('../font/SolaimanLipi.ttf') format('truetype');
}

.bengali-text {
  font-family: 'SolaimanLipi';
}

/* global adjustment */
.dropdown-menu {
  z-index: 9999 !important;
}


table thead,
table tfoot {
  background: bisque !important;
}


th.makrs-column {
  min-width: 80px;
}


th.result-marks-box {
  min-width: 65px;
}

#studentEnrollForm input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  font-family: 'SolaimanLipi';
  opacity: 1; /* Firefox */
}


input.form-control,
.form-select {
  background-color: #fdfbcde0;
  color: #000 !important;
}

.input-group-text {
  border-radius: .25rem 0 0 .25rem;
}

.card {
  border-radius: 25px;
  /* overflow: hidden; */
}

.card-header {
  border-radius: 25px 25px 0 0 !important;
}


/* remove number input arrow button */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* remove number input arrow button end*/


.datepicker {
  padding: .375rem .75rem;
}





/* botstrap selectpicker */
.bootstrap-select .dropdown-menu {
  width: 100%;
}

.bootstrap-select .dropdown-menu li {
  white-space: normal;
}

.notify {
  color: #721c24 !important;
  background-color: #f8d7da !important;
  border-color: #f5c6cb !important;
}


/* Ensure all selectpicker dropdowns take full width */
.bootstrap-select {
  width: 100% !important;
}

/* Force the button to NOT expand with content */
.bootstrap-select .dropdown-toggle {
  width: 100% !important;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Ensure selected text inside doesn't wrap and cause growth */
.bootstrap-select .filter-option-inner-inner {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* botstrap selectpicker end */


/* datatable start */
.dropdown-menu li a {
  display: block;
  width: 100%;
  color: #000;
}

.dataTables_processing {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  z-index: 9999 !important;
}


.dataTables_wrapper .dt-buttons,
.dataTables_info {
  float: left;
  width: auto;
  margin-bottom: 10px;
}

table tr {
  vertical-align: middle;
}

/* datatable end */




/* Bootstrap seachable select option  */
.dropdown button {
  background: #fdfbcde0 !important;
  border: 1px solid #ced4da !important;
  color: #212529;
  font-size: 16px;
}

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
  width: 100% !important;
  padding: 0;
  border: none;
}

.sticky-top {
  z-index: 999;
}

.datepicker {
  z-index: 1021 !important;
}

.bacground-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}


#largeImageContainer {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;
}

#largeImage {
  max-width: 100%;
  background-color: #fff;
  padding: 2px;
  border-radius: 10px;
}

/* Bootstrap seachable select option end */
/* global adjustment end */
/* ======================================================================================== */











/* Dashboard */
.dashboard .card {
  border: 0;
  margin-bottom: 30px;
  margin-top: 30px;
  border-radius: 6px;
  color: #333;
  background: #fff;
  width: 100%;
  /* box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12); */
}

.card {
  box-shadow: 0 1px 4px 0 rgba(0,0,0,.14);
}

.card [class*=card-header-] {
  margin: 0 15px;
  padding: 0;
  position: relative;
}

.card.bg-warning, .card .card-header-warning .card-icon, .card .card-header-warning .card-text, .card .card-header-warning:not(.card-header-icon):not(.card-header-text), .card.card-rotate.bg-warning .back, .card.card-rotate.bg-warning .front {
  background: linear-gradient(60deg,#ffa726,#fb8c00);
}

.card .card-header-warning .card-icon, .card .card-header-warning .card-text, .card .card-header-warning:not(.card-header-icon):not(.card-header-text) {
  box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(255,152,0,.4);
}

.card.bg-warning, .card .card-header-warning .card-chart,.card .card-header-warning .card-text, .card .card-header-warning:not(.card-header-icon):not(.card-header-text), .card.card-rotate.bg-warning .back, .card.card-rotate.bg-warning .front {
  background: linear-gradient(60deg,#ffa726,#fb8c00);
}

.card .card-header-warning .card-chart, .card .card-header-warning .card-text, .card .card-header-warning:not(.card-header-icon):not(.card-header-text) {
  box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(255,152,0,.4);
}

.card.bg-success, .card .card-header-success .card-icon, .card .card-header-success .card-text, .card .card-header-success:not(.card-header-icon):not(.card-header-text), .card.card-rotate.bg-success .back, .card.card-rotate.bg-success .front {
  background: linear-gradient(60deg,#66bb6a,#43a047);
}

.card .card-header-success .card-icon, .card .card-header-success .card-text, .card .card-header-success:not(.card-header-icon):not(.card-header-text) {
  box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(76,175,80,.4);
}

.card.bg-success, .card .card-header-success .card-chart, .card .card-header-success .card-text, .card .card-header-success:not(.card-header-icon):not(.card-header-text), .card.card-rotate.bg-success .back, .card.card-rotate.bg-success .front {
  background: linear-gradient(60deg,#66bb6a,#43a047);
}

.card .card-header-success .card-chart, .card .card-header-success .card-text, .card .card-header-success:not(.card-header-icon):not(.card-header-text) {
  box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(76,175,80,.4);
}

.card .card-header-danger .card-icon, .card .card-header-danger .card-text, .card .card-header-danger:not(.card-header-icon):not(.card-header-text) {
  box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(244,67,54,.4);
}
.card.bg-danger, .card .card-header-danger .card-icon, .card .card-header-danger .card-text, .card .card-header-danger:not(.card-header-icon):not(.card-header-text), .card.card-rotate.bg-danger .back, .card.card-rotate.bg-danger .front {
  background: linear-gradient(60deg,#ef5350,#e53935);
}

.card .card-header-danger .card-chart, .card .card-header-danger .card-text, .card .card-header-danger:not(.card-header-icon):not(.card-header-text) {
  box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(244,67,54,.4);
}
.card.bg-danger, .card .card-header-danger .card-chart, .card .card-header-danger .card-text, .card .card-header-danger:not(.card-header-icon):not(.card-header-text), .card.card-rotate.bg-danger .back, .card.card-rotate.bg-danger .front {
  background: linear-gradient(60deg,#ef5350,#e53935);
}

.card .card-header-info .card-icon, .card .card-header-info .card-text, .card .card-header-info:not(.card-header-icon):not(.card-header-text) {
  box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(0,188,212,.4);
}
.card.bg-info, .card .card-header-info .card-icon, .card .card-header-info .card-text, .card .card-header-info:not(.card-header-icon):not(.card-header-text), .card.card-rotate.bg-info .back, .card.card-rotate.bg-info .front {
  background: linear-gradient(60deg,#26c6da,#00acc1);
}


.card .card-header-info .card-chart, .card .card-header-info .card-text, .card .card-header-info:not(.card-header-icon):not(.card-header-text) {
  box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(0,188,212,.4);
}
.card.bg-info, .card .card-header-info .card-chart, .card .card-header-info .card-text, .card .card-header-info:not(.card-header-icon):not(.card-header-text), .card.card-rotate.bg-info .back, .card.card-rotate.bg-info .front {
  background: linear-gradient(60deg,#26c6da,#00acc1);
}


.card-stats .card-header.card-header-icon, .card-stats .card-header.card-header-text {
  text-align: right;
  background: transparent;
  border: none;
}

.card [class*=card-header-] .card-icon, 
.card [class*=card-header-] .card-text {
  background-color: #999;
  /* padding: 15px; */
  padding: 0px;
  margin-top: 0px;
  margin-left: -16px;
  float: left;
  border-radius: 50%;
}

.card [class*=card-header-] .card-chart {
  border-radius: 3px;
  padding: 15px;
  margin-top: -20px;
  float: left;
  width: 100%;
}

.card-stats {
  padding: 10px;
}

.card-stats .card-header.card-header-icon i {
  font-size: 18px;
  line-height: 56px;
  width: 56px;
  height: 56px;
  text-align: center;
  color: #fff;
}

.card-stats .card-header .card-category:not([class*=text-]) {
  color: #999;
  font-size: 14px;
}

.card-stats .card-header .card-icon+.card-category, .card-stats .card-header .card-icon+.card-title {
  padding-top: 10px;
}

.card .card-header.card-header-icon .card-title, .card .card-header.card-header-text .card-title {
  margin-top: 15px;
  color: #3c4858;
  font-size: 20px;
}

.card-stats .card-header+.card-footer {
  border-top: 1px solid #eee;
  margin-top: 20px;
}

.card .card-body+.card-footer, .card .card-footer {
  padding: 0;
  padding-top: 10px;
  margin: 0 15px 10px;
  border-radius: 0;
  justify-content: space-between;
  align-items: center;
}

.card .card-footer {
  display: flex;
  align-items: center;
  background-color: transparent;
  border: 0;
}

.card .card-body+.card-footer .stats, .card .card-footer .stats {
  color: #999;
  font-size: 12px;
  line-height: 22px;
}

.card .card-footer .author, .card .card-footer .stats {
  display: inline-flex;
}


.card-stats .card-header p span {
width: 85%;
padding: 0;
overflow: hidden;
position: relative;
display: inline-block;
text-decoration: none;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 14px !important;
font-weight: bold;
color: #949494;
}

/* End Dahsboard */
















/* navbar */
.nav {
  overflow: auto;
  flex-wrap: nowrap;
  height: calc(100% - 145px);
}

.main-nav {
  width: 230px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: -9999px;
  z-index: 9999;
}

.main-nav.active {
  /* opacity: 1 !important; */
  left: 0 !important;
}

a.nav-link.disabled {
  color: #616161 !important;
  cursor: not-allowed;
}

.nav-footer {
  position: absolute;
  bottom: 0px;
  left: 18px;
}

.show-sidebar {
  position: fixed;
  left: 0;
  top: 20px;
  border-radius: 0 4px 4px 0px;
  width: 41px;
  transition-delay: 0.3s;
  z-index: 9999;
  cursor: pointer;
  padding: 5px;
}


.show-sidebar,
.main-nav,
#app {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}



/* width */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
  display: none;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #686868;
  border-radius: 10px;
}


.nav a i,
.nav-footer i,
.app-name i {
    width: 20px !important;
}

/* Handle on hover */
/* ::-webkit-scrollbar-thumb:hover {
    background: #919191;
    border-radius: 10px;
} */

/* navbar end*/

/* main */
#app.pad-left {
  padding-left: 230px;
}

/* main end*/


.card {
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .14);
}




/* hsc module */
.section-modules-group button.active {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.department-group button.active {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}



.department-module-group button.active {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.grading-interval th,
.grading-interval td {
  padding: 0 5px !important;
  /* font-size: 13px; */
}

/* hsc module end */

.a4 {
  width: 793px !important;
  /* height:1122px !important;  */
  margin: 0 auto;
  border: 2px solid #000 !important;
  border-radius: 13px !important;
  margin-top: 20px;
  /* page-break-after: always; */
  page-break-inside: avoid;
  position: relative;
}


.a4-landscape {
  /* width:1122px !important;  */
  width:1085px !important; 
  margin: 0 auto;
  margin-top: 20px;
  page-break-inside: avoid;
  position: relative;
}

.a4.transcript {
  font-size: 14px !important;
  font-family: sans-serif;
}

p.id-with-grade {
  width: 130px;
  margin: 0;
}


.modal {
  z-index: 9999;
}

/* Adjust the z-index of the datepicker */
.datepicker {
  z-index: 100000 !important; /* Adjust this value as needed */
}


/* Header fixed to the top of the modal */

.modal-header {
  /* position: sticky;
  top: 0;
  background-color: inherit;
  z-index: 55; */
}




/* Footer fixed to the bottom of the modal */
.modal-footer {
  position: sticky;
  bottom: 0;
  background-color: inherit;
  z-index: 55; /* [2] */
}



/* id card section start */

.id-card {
  font-size: 13px !important;
}

.id-card .student-info {
  font-size: 11px;
}

.id-card .student-info .psersonal-info p{
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis; /* Adds ellipsis if the text overflows */
}

.id-card .student-info span {
  font-weight: bold;
}
/* id card section end */



/* admit section start */

.subject-list {
  white-space: nowrap;
}

.subject-list li {
  text-overflow: ellipsis;
  overflow: hidden;
  list-style: inside;
}
/* admit section end */



/* attendace sheet start */
#attendanceSheetTable tbody tr:nth-child(even) td:nth-child(n+1) {
  background-color: #e8e8e8 !important;
}
/* attendance sheet end */






/* checkbox start*/
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input.default:checked + .slider {
  background-color: #444;
}
input.primary:checked + .slider {
  background-color: #2196F3;
}
input.success:checked + .slider {
  background-color: #8bc34a;
}
input.info:checked + .slider {
  background-color: #3de0f5;
}
input.warning:checked + .slider {
  background-color: #FFC107;
}
input.danger:checked + .slider {
  background-color: #f44336;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* checkbox end */


/* PRINT CSS START */
@media print {
  @page {
    /* size: A4 portrait; */
    size: portrait;
    /* size: landscape; */
  }

  .a4 {
    /* page-break-before: always; */
    width: 21cm;
    height: 29.7cm;
    margin: 0;
    padding: 0;
  }

  html,
  body {
    height: auto !important
  }

  body {
    font-family: 'grInter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif, Arial;
    -webkit-print-color-adjust: exact;
    background-color: #fff !important;
    margin: 0;
    padding: 0;

  }

  .message-holder {
    display: none !important;
  }

  .watermark {
    display: block !important;
  }

  .no-print,
  .no-print * {
    display: none !important;
  }

  .card-body {
    padding: 0 !important;
  }

  .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.12);
  }


  /* Room label Process Page */
  .no-border {
    border: none !important;
  }

  .table {
    border-color: #000 !important;
  }


  .card {
    box-shadow: none !important;
  }

  .watermark {
    display: block;
  }
}

/* PRINT CSS END */