.letters-carousel .owl-item + .owl-item {
  background: #efefefa6 !important;

  border-radius: 6px;
}
.letters {
  padding: 0 44px;
}
.search-container {
  background: linear-gradient(to right, #374d98, #1976f9);
  border-radius: 7px;
  width: 100%;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 40px;
  margin-top: 40px;
  position: relative;
  border: 1px solid transparent;
  -webkit-box-shadow: 3px 3px 0px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 3px 3px 0px 0 rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 3px 3px 0px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 3px 3px 0px 0 rgba(0, 0, 0, 0.1);
}
.hiddensearchbox {
}
.hiddenboxrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.search-container .form-control {
  border-radius: 7px;
  border: none;
  padding-right: 20px;
  box-shadow: none;
  height: 42px;
  line-height: 42px;
  font-size: 14px;
  margin: 0 5px;
}
.hiddensearchbox .form-control {
  border: 1px solid #ccc;
}
.search-container .btn-search {
  background: #fff;
  color: #2a2ac0;
  font-weight: bold;
  border-radius: 7px;
  padding: 6px 20px;
  border: none;
  margin-left: 10px;
  height: 42px;
  line-height: 28px; /* centers the text & icon */
}
.search-container select {
  border-radius: 25px;
  border: none;
  padding: 6px 20px;
  margin-left: 10px;
}
.search-container .settings-icon {
  color: #fff;
  cursor: pointer;
  font-size: 32px;
  margin-left: auto;
  margin-right: 10px;
}

/* Base Select2 container */
.select2-container--krajee-bs3 {
  margin: 0 5px;
}
.select2-container .select2-selection--single {
  height: 42px; /* same as input */
  border-radius: 7px !important;
  border: none !important;
  padding: 6px 20px;
  box-shadow: none;
  display: flex;
  align-items: center;
}

/* Remove default arrow box look */
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100%;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
}

/* Placeholder/text inside */
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 42px;
  font-size: 14px;
  padding-right: 10px;
  color: #555;
}

/* Focus state (like input focus) */
.select2-container--default.select2-container--open .select2-selection--single {
  border: 1px solid rgba(33, 150, 243, 0.3);
  box-shadow: 0 0 8px rgba(33, 150, 243, 0.3);
}
.select2-container--krajee-bs3
  .select2-selection--single
  .select2-selection__arrow {
  height: 100%;
}

/* Hidden popup box */
.settings-box {
  position: absolute;
  top: 110%;
  left: 0px; /* adjust to place under cog */
  right: 0px;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
  border: 1px solid rgba(33, 150, 243, 0.2);
  display: none; /* hidden by default */
  z-index: 999;
}

.settings-box .select2-container .select2-selection--single {
  border: 1px solid #ccc !important;
}
@media only screen and (min-width: 991px) {
  .searchboxrspnsvemd {
    display: none;
  }
  .searchboxrspnsvelg {
    display: flex;
  }
}
@media only screen and (max-width: 991px) {
  .searchboxrspnsvemd {
    display: flex;
  }
  .searchboxrspnsvemd .hiddenboxrow {
    display: block;
  }
  .searchboxrspnsvelg {
    display: none;
  }
}

@media only screen and (max-width: 440px) {
  .search-container {
    margin-top: 10px;
    padding: 20px 10px;
  }
}
body {
  background: #ebeff1e6;
}
.top-mask {
  position: relative;
}
.top-mask::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 605px;
  inset-inline: 0;
  top: 0;
  z-index: -1;
  background-repeat: repeat;
}
.top-mask::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 605px;
  inset-inline: 0;
  top: 0;
  z-index: -1;
}

.pagination > li > a,
.pagination > li > span,
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > .disabled > a,
.pagination > .disabled > a:focus,
.pagination > .disabled > a:hover,
.pagination > .disabled > span,
.pagination > .disabled > span:focus,
.pagination > .disabled > span:hover {
  background: transparent !important;
  border: 0 !important;
  border-color: transparent;
}
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #6c090c !important;
}
.letters-carousel .owl-item a.letter.single-letter.active {
  color: #fff !important;
  background: #8f1317 !important;
}

.letters-carousel .owl-item + .owl-item‌ {
  border: 0 !important;
}
.select2-container--krajee-bs3[dir="rtl"] .select2-selection--single,
.select2-container--krajee-bs3[dir="ltr"] .select2-selection--single {
  display: flex;
  height: 45px;
  justify-content: center;
  align-items: center;
  background: #fff !important;
}
.intro .form-wrapper button {
  height: 45px;
  background: #8f1317 !important;
}
.intro .form-wrapper button:before {
  border-color: transparent #8f1317 transparent !important;
}

.intro .form-wrapper input {
  text-align: center;
  display: flex;
  height: 45px;
  justify-content: center;
  align-items: center;
  background: #fff;
}
.intro .form-wrapper .select2-selection__arrow {
  background: #8f1317 !important;
  height: 45px;
}
.letters-carousel .owl-item a {
  line-height: 35px !important;
  color: #000;
}
.letters-carousel .owl-item {
  border: 0 !important;
  background: #fff !important;
  transition: all 150ms linear;
}
.letters-carousel .owl-item:hover {
  background: #8f1317 !important;
  cursor: pointer;
}
.letters-carousel .owl-item:hover a {
  color: #fff !important;
}

.letters-carousel .owl-nav .owl-prev {
  left: auto;
  right: -54px;
  border-radius: 10px !important;
  height: 100%;
  padding-top: 0px !important;
}
.letters-carousel .owl-nav .owl-next {
  right: auto;
  left: -51px;
  border-radius: 10px !important;
  height: 100%;
  padding-top: 0px !important;
}
.letters-carousel .owl-item {
  border: 1px solid #fff;
  border-right: 1px solid #fff !important;
  border-radius: 10px;
  overflow: hidden;
}
.counter-number {
  font-size: 3.2rem;
  font-weight: bold;
  margin: 0;
}
.counter-title {
  margin: 0.9rem 0 1rem 0;
}
.statistics .facultycounterinfo:first-child‌ {
  padding-right: 0;
}
.statistics .facultycounterinfo:last-child {
  padding-left: 0;
}
.facultycounterinfo .fcounterholder {
  background: rgba(255, 255, 255, 0.97) !important;
  border-radius: 19px !important;
  border-bottom: 3px solid;
}
.intro {
  padding: 40px 0;
  display: none;
  height: 100vh;
  padding-bottom: 200px;
  background-color: rgba(0, 0, 0, 0.12) !important;
}
.intro .form-wrapper {
  border-radius: 5px;
  max-width: 80%;
  margin: 0 auto;
}
#faculties .sortable-header a {
  position: relative;
  padding-right: 15px;
  color: #fff !important;
}

#faculties .sortable-header a:after {
  content: "\f0dc"; /* Default Font Awesome sort icon */
  font-family: "FontAwesome";
  font-weight: 900;
  position: absolute;
  right: 5px;
  color: #fff;
}

#faculties .sortable-header a.asc:after {
  content: "\f062"; /* Up arrow */
  color: green;
}

#faculties .sortable-header a.desc:after {
  content: "\f063"; /* Down arrow */
  color: red;
}
.facultycounterinfo {
  padding: 0rem;
  transform: scale(0.8);
}
.facultycounterinfo .fcounterholder {
  padding: 0;
}
.counter-number {
  font-size: 2.5rem;
}
.counter-title {
  margin: 0rem 0 1.3rem 0;
}
@media only screen and (max-width: 768px) {
  .searchmodel-departmentid {
    margin-top: 1rem;
  }
}
.table > tbody > tr > td {
  border-top: none !important;
}
#faculties table {
  border-collapse: separate !important;
  border-spacing: 0 20px !important;
  background: transparent;
}
#faculties table {
  box-shadow: 0;
  background: transparent;
  border-radius: 16px;
  border: 0px;
  overflow-y: hidden;
}
#faculties table thead {
  box-shadow: 0 3px 15px rgba(19, 47, 99, 0.09);
  background: rgba(37, 52, 102, 1);
}
#faculties table tbody tr {
  background: #fff !important;
  border-radius: 16px;
}

tr .empty {
  height: 100vh;
  text-align: center;
  /* width: 62vw; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.fliter-queries {
  display: flex;
  width: 100%;
  gap: 1rem;
}

.filter-label {
    display: inline-flex;
    align-items: center;
    color: white !important;
    gap: 4px;
    text-decoration: none;
}

#faculties table tbody {
  background: #fff !important;
  border-radius: 16px;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th‌ {
  vertical-align: middle;
  border-top: 25px solid transparent !important;
  text-align: center;
}

#faculties table > tbody > tr:nth-of-type(odd)‌,
#faculties table > tbody > tr:nth-of-type(even)‌ {
  background: #fff !important;
}
#faculties table tbody {
  position: relative;
  top: 2rem;
}
#faculties table th {
  background-color: transparent;
  border-bottom: 0;
  color: #fff;
  vertical-align: middle;
  text-align: center;
  padding: 10px 0;
}
#faculties table tr.filters {
  display: none;
}
#faculties .group.list-group-image.faculty-image img {
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  transform: scale(0.8);
}
a {
  color: rgba(37, 52, 102, 1) !important;
}
#faculties i.fa {
}
.label-info {
  background-color: #8f1317;
}
#faculties .graytext {
  color: #888;
}
#faculties .faculty-semat-label {
  margin-bottom: 5px;
  font-weight: normal;
}
.faculty-top-bar {
  background: transparent;
  padding: 15px;
  margin-top: 2rem;
  box-shadow: none !important;
  margin-bottom: 15px;
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
  .intro {
    height: auto;
    padding-bottom: 20px;
  }
  .album-carousel,
  .album-carousel .owl-carousel,
  .album-carousel .owl-carousel .owl-item,
  .album-carousel .owl-carousel .owl-item img {
    height: 110vh;
  }
  .facultycounterinfo .fcounterholder h3 span {
    font-size: 20px;
  }
}
/* Tablets (≥ 768px) */
@media (min-width: 769px) {
}

/* Desktops (≥ 1024px) */
@media (min-width: 1024px) {
  .counter-wrapper-box {
    max-width: 80%;
    margin: 0 auto;
  }
}

.intro .form-wrapper input {
  height: 34px !important;
}

.tfshadow {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.tfshadow:hover {
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4); /* hover glow (like right box) */
  border: 1px solid rgba(33, 150, 243, 0.3);
}

.profile-card {
  width: 100%;
  background: #fff;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 30px auto;
  max-width: 600px;
  position: relative;
}

.profile-banner {
  background-repeat: repeat;
  height: 90px;
  position: relative;
}

.profile-avatar {
  overflow: hidden;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #fff;
  position: absolute;
  bottom: -50px; /* overlaps banner and box */
  right: 20px; /* align to right */
  object-fit: cover;
  background: #fff;
  -webkit-box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
}
.profile-avatar img {
  width: 100%;
}
.profile-body {
  padding: 60px 20px 20px 20px; /* space for avatar */
  text-align: right;
}

.profile-body h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
  color: #222;
}

.profile-body p {
  margin: 5px 0;
  color: #555;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.profile-header-sub,
.profile-header {
  position: absolute;
  bottom: 5px; /* sits on the border line */
  right: 130px; /* leave space for avatar */
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-header-sub {
  bottom: -30px;
  z-index: 2;
}
.profile-header h3 {
  margin: 0;
  /* font-size: 18px; */
  font-weight: bold;
  color: #222;
  display: inline-block;
}

.profile-header h3 a {
  display: inline-block;
  white-space: nowrap;
  transition: transform 0s;
  will-change: transform;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-role {
  display: inline-block;
  background: #b71c1c;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  margin-left: 5px;
}

.profile-header::after {
  content: "";
  flex: 0 0 40px; /* width of fade */
  height: 100%;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
  margin-right: -40px; /* overlap fade inside container */
}
.profile-header-sub::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 2;
  width: 50px;
  height: 100%;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
}

.profile-body i,
.profile-body .glyphicon {
  color: #777; /* gray icons */
  margin: 0 6px !important; /* spacing between icon & text */
  font-size: 14px; /* same as text size */
  vertical-align: middle;
}
.topbaritems {
  border-radius: 13px;
  background: #f9faff;
  -webkit-box-shadow: 0 15px 15px 0 rgba(0, 0, 0, 0.05);
  box-shadow: 0 15px 15px 0 rgba(0, 0, 0, 0.05);
}

/* Override Bootstrap 3 container widths for modern layouts */
.container {
  max-width: 1320px; /* Today’s standard (~Bootstrap 5) */
  width: 100%;
}

@media (min-width: 768px) {
  .container {
    width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1140px; /* Bootstrap 4/5 md-xl size */
  }
}

@media (min-width: 1400px) {
  .container {
    width: 1320px; /* New "xxl" breakpoint */
  }
}

.topbaritems.equal-height {
  display: flex;
  flex-wrap: wrap;
}
.topbaritems.equal-height > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.topbaritems.equal-height .profile-card {
  flex: 1; /* stretch cards equally */
}

.stats-section {
}

.stat-box{
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.stat-line {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.stat-line:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.stat-left {
  text-align: left;
  flex: 2;
  padding-left: 15px;
}
.stat-right {
  text-align: right; /* RTL-friendly */
  flex: 1;
  padding-right: 10px;
}
.stat-number {
  font-size: 26px;
  font-weight: bold;
  color: #333;
  line-height: 1.2;
}

.stat-label {
  font-size: 15px;
  color: #666;
  margin-top: 5px;
}

.stat-right img {
  width: 60px;
  height: auto;
  opacity: 0.85;
}
.stat-line:hover .stat-right img {
  opacity: 1;
}

@media (max-width: 1400px) {
  .stat-right img {
    width: 100%;
    height: auto;
    opacity: 0.85;
  }
  .stat-line {
    padding: 5px;
  }
  
}

@media (max-width: 500px) {
  .stat-right img {
    width: 100%;
    height: auto;
    opacity: 0.85;
  }
  .stat-line {
    padding: 5px;
  }
  .stat-number {
    font-size: 18px;
  }
  .stat-label {
    font-size: 10px;
  }
}
.profilecover:after {
  position: absolute;
  width: 100%;
  height: 10rem;
  content: "";
  background: linear-gradient(to top, rgb(255, 255, 255) 19%, transparent);
  z-index: 1;
}
.profile-body {
  z-index: 10;
  position: relative;
}
.profile-header,
.profile-avatar {
  z-index: 20;
}
