/********** Template CSS **********/
:root {
  --primary: #ed1c24;
  --secondary: #ed1c24;
  --light: #f4f6f8;
  --dark: #040f28;
}

.pt-6 {
  padding-top: 90px;
}

.pb-6 {
  padding-bottom: 90px;
}

.py-6 {
  padding-top: 90px;
  padding-bottom: 90px;
}

.btn {
  position: relative;
  font-weight: 600;
  text-transform: uppercase;
  transition: 0.5s;
}

.btn::after {
  position: absolute;
  content: "";
  width: 0;
  height: 5px;
  bottom: -1px;
  left: 50%;
  background: var(--primary);
  transition: 0.5s;
}

.btn.btn-primary::after {
  background: var(--dark);
}

.btn:hover::after,
.btn.active::after {
  width: 50%;
  left: 25%;
}

.btn-primary {
  color: #ffffff;
}

.btn-square {
  width: 36px;
  height: 36px;
}

.btn-sm-square {
  width: 28px;
  height: 28px;
}

.btn-lg-square {
  width: 46px;
  height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.back-to-top {
  position: fixed;
  display: none;
  left: 50%;
  bottom: 0;
  margin-left: -22px;
  border-radius: 0;
  z-index: 99;
}

.bg-light-radial {
  background-image: -webkit-repeating-radial-gradient(
    center center,
    rgba(180, 206, 251, 0.6),
    rgba(180, 206, 251, 0.6) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -moz-repeating-radial-gradient(
    center center,
    rgba(180, 206, 251, 0.6),
    rgba(180, 206, 251, 0.6) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -ms-repeating-radial-gradient(
    center center,
    rgba(180, 206, 251, 0.6),
    rgba(180, 206, 251, 0.6) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -o-repeating-radial-gradient(
    center center,
    rgba(180, 206, 251, 0.6),
    rgba(180, 206, 251, 0.6) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: repeating-radial-gradient(
    center center,
    rgba(180, 206, 251, 0.6),
    rgba(180, 206, 251, 0.6) 1px,
    transparent 1px,
    transparent 100%
  );
  background-size: 3px 3px;
}

.bg-light-radial2 {
  background-image: -webkit-repeating-radial-gradient(
    center center,
    rgba(92, 115, 155, 0.6),
    rgba(92, 115, 155, 0.6) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -moz-repeating-radial-gradient(
    center center,
    rgba(92, 115, 155, 0.6),
    rgba(92, 115, 155, 0.6) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -ms-repeating-radial-gradient(
    center center,
    rgba(92, 115, 155, 0.6),
    rgba(92, 115, 155, 0.6) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -o-repeating-radial-gradient(
    center center,
    rgba(92, 115, 155, 0.6),
    rgba(92, 115, 155, 0.6) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: repeating-radial-gradient(
    center center,
    rgba(92, 115, 155, 0.6),
    rgba(92, 115, 155, 0.6) 1px,
    transparent 1px,
    transparent 100%
  );
  background-size: 3px 3px;
}

.bg-dark-radial {
  background-image: -webkit-repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.3) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -moz-repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.3) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -ms-repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.3) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -o-repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.3) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.3) 1px,
    transparent 1px,
    transparent 100%
  );
  background-size: 3px 3px;
}

.bg-light-radial3 {
  background-image: -webkit-repeating-radial-gradient(
    center center,
    rgba(234, 220, 220, 0.3),
    rgba(234, 220, 220, 0.3) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -moz-repeating-radial-gradient(
    center center,
    rgba(234, 220, 220, 0.3),
    rgba(234, 220, 220, 0.3) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -ms-repeating-radial-gradient(
    center center,
    rgba(234, 220, 220, 0.3),
    rgba(234, 220, 220, 0.3) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -o-repeating-radial-gradient(
    center center,
    rgba(234, 220, 220, 0.3),
    rgba(234, 220, 220, 0.3) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: repeating-radial-gradient(
    center center,
    rgba(234, 220, 220, 0.3),
    rgba(234, 220, 220, 0.3) 1px,
    transparent 1px,
    transparent 100%
  );
  background-size: 3px 3px;
}

.navbar-dark .navbar-nav .nav-link {
  position: relative;
  padding: 35px 15px;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--dark);
  outline: none;
  transition: 0.5s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: rgba(4, 15, 40, .7);*/
  z-index: 1;
}

@media (max-width: 576px) {
  .carousel-caption h4 {
    font-size: 18px;
    font-weight: 500 !important;
  }

  .carousel-caption h1 {
    font-size: 30px;
    font-weight: 600 !important;
  }
  .display-6,
  .display-5 {
    margin-top: 25px !important;
  }
}

.page-header {
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(4, 15, 40, 0.7), rgba(4, 15, 40, 0.7));
  /* center center no-repeat */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-position: top;
  position: relative;
}
.page-header:after {
  content: "";
  background: #040f2875;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}
.display-3 {
  z-index: 9;
}
.cstm-brdcrmp {
  z-index: 9;
}
.service-item .service-icon {
  margin-top: -50px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
}

.service-item .service-icon i {
  transition: 0.2s;
}

.service-item:hover .service-icon i {
  font-size: 60px;
}

.portfolio-item {
  /* margin-bottom: 100px; */
  margin-bottom: 50px;
}

.portfolio-title {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 120px;
  padding: 0 30px;
  right: 30px;
  left: 30px;
  bottom: -60px;
  background: #ffffff;
  z-index: 3;
}

.portfolio-btn {
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  margin-top: -60px;
  margin-left: -60px;
  font-size: 120px;
  line-height: 0;
  transition: 0.1s;
  transition-delay: 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio-item:hover .portfolio-btn {
  opacity: 1;
}

.portfolio-box::before,
.portfolio-box::after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  transition: 0.5s;
  z-index: 1;
  background: rgba(4, 15, 40, 0.7);
}

.portfolio-box::before {
  left: 0;
}

.portfolio-box::after {
  right: 0;
}

.portfolio-item:hover .portfolio-box::before {
  left: 0;
  width: 50%;
}

.portfolio-item:hover .portfolio-box::after {
  right: 0;
  width: 50%;
}

@media (min-width: 992px) {
  .testimonial,
  .contact-form {
    margin-left: -90px;
  }
}

@media (min-width: 992px) {
  .footer::after {
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    background: var(--primary);
  }
}

.footer-shape::before {
  position: absolute;
  content: "";
  width: 80px;
  height: 100%;
  top: 0;
  left: -40px;
  background: var(--primary);
  transform: skew(40deg);
}

/* Announcements  */
.anc-dlf {
  display: flex;
  margin-bottom: 25px;
}
.sec1-a {
  width: 20%;
  padding: 2%;
  text-align: center;
  color: #fff;
  display: block;
  align-content: center;
  border-bottom: 1px solid #ccc;
}
.bg-ann-c {
  background: #ed1c24 !important;
}
.sec1-b {
  width: 80%;
  padding: 1%;
  text-align: left;
  border-bottom: 1px solid #ccc;
  font-size: 14px;
}
.sec1-c {
  width: 20%;
  padding: 1%;
  display: flex;
  text-align: center;
  justify-content: right;
  border-bottom: 1px solid #ccc;
}
.h-38 {
  height: 38px;
}

.ann-date {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 5px;
  display: block;
  font-weight: 600;
}
.ann-date-time {
  font-size: 1rem;
  color: #fff;
}

/* Search Panel  */

#show-search-panel {
  position: fixed;
  width: 100%;
  top: 0;
  background: #00000091;
  z-index: 9999;
  height: 100%;
  display: none;
}

.show-main-sr-panel {
  height: 60px;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.13);
  background: #ed1c24 !important;
}
.fadeclosepanel {
  position: absolute;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
}
.close-icon-srch {
  position: absolute;
  right: 7px;
  top: 0px;
  cursor: pointer;
  font-size: 33px;
  color: #fff;
}
.topnav {
  margin: auto;
  width: 80%;
  padding-bottom: 20px;
}
.topnav input[type="text"] {
  width: 94%;
  padding: 6px 20px;
  border-radius: 20px;
  margin-top: 10px;
  font-size: 17px;
  border: none;
}
.srch-submit {
  background: none;
  color: #fff;
  outline: none;
  border: none;
  font-size: 18px;
}

.cstm-brdcrmp {
}
.cstm-brdcrmp ol {
  display: flex;
  list-style: none;
}
.cstm-brdcrmp ol li {
  text-transform: uppercase !important;
  color: #fff !important;
  font-weight: 600;
  margin-right: 21px;
  position: relative;
}
.cstm-brdcrmp ol li:after {
  content: "/";
  color: #fff !important;
  position: absolute;
  right: -15px;
}
.cstm-brdcrmp ol li:last-child::after {
  content: "";
}
.cstm-brdcrmp ol li a {
  color: #ed1c24 !important;
  text-decoration: none;
}
.faculti-itm {
  display: flex;
  background: #fff;
  padding: 10px 10px;
  box-shadow: 0px 0px 3px 1px #cccccc;
  margin: 30px 0;
  border-radius: 5px;
  overflow: hidden;
}

.faculti-photo {
  width: 150px;
  height: 150px;
  overflow: hidden;
  margin-right: 10px;
}

.faculti-photo img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.faculti-details {
}

.faculti-name {
  margin-bottom: 5px;
  margin-top: 5px;
  font-size: 20px;
}

.faculti-info {
  margin-bottom: 5px;
  font-size: 15px;
}

.faculti-info span {
  font-size: 14px;
  font-weight: 500;
}
@media (min-height: 576px) {
  .faculti-itm {
    display: block;
    padding: 20px;
  }
  .faculti-photo {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-right: 0;
    margin-bottom: 20px;
  }
  .faculti-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
