*,
*::after,
*::before {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html {
  font-size: 62.5%;
}

body {
  font-family: Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  box-sizing: border-box;
  font-size: 16px;
  color: #333;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}


/*----- start header -----*/
.header .top-bar {
  background-color: #2E3094;
  color: #fff;
  height: 4rem;
}
.header .top-bar .top-bar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.header .top-bar__left i {
  margin-right: .5rem;
}
.header .top-bar__right {
  display: flex;
  align-items: center;
}
.header .top-bar__right a {
  margin-right: 2rem;
  padding: .5rem 1rem;
  border-radius: 2rem;
}
.header .top-bar__right a:hover {
  background-color: #fff;
  color: #2E3094;
}
.header .top-bar__right input {
  outline: none;
  border: none;
  border-radius: 1.5rem;
  padding: .2rem 1rem;
  margin-left: .5rem;
}
.header .top-bar__right input:focus {
  outline: none;
  border: none;
  box-shadow: none;
}
.header .top-bar__right .search-btn {
  background-color: #fff;
  border-top-right-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
}
.header .top-bar__right .search-btn button:focus {
  box-shadow: none;
}
.header .navbar-brand__img {
  height: 4.5rem;
}
.header .navigation {
  box-shadow: 0px 2px 6px rgba(0, 0, 0, .3);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.header .navigation .nav-item {
  margin-right: 2rem;
}
.header .navigation .dropdown-menu {
  top: 4.15rem;
}
.header .navigation .dropdown .dropdown-item {
  font-size: 1.4rem;
}
.header .navigation .nav-link {
  color: #333 !important;
  font-weight: bold;
}
/*----- end header -----*/


/*----- start hero section -----*/
.hero {
  position: relative;
}
.hero img {
  width: 100%;
  min-height: 20rem;
}
.hero .search {
  color: #fff;
  box-shadow: 0 1.5px 3px 0 rgb(0 0 0 / 16%);
  position: absolute;
  bottom: -10rem;
  left: 50%;
  transform: translateX(-50%);
  height: 21.5rem;
}
.hero .left-search {
  background-color: rgba(46, 48, 148, .65);
  padding: 3rem 5rem;
  height: 100%;
}
.hero .left-search .tab-list {
  background-color: #787bf9;
  justify-content: space-between;
  border-radius: 3px;
}
.hero .left-search .tab-list li button {
  color: #fff;
  width: 100%;
  height: 100%;
}
.hero .left-search .form-select,
.hero .left-search .form-control,
.hero .left-search .btn {
  font-size: 1.4rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.hero .left-search .btn {
  background-color: #333;
  border: none;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}
.hero .left-search .advance-search {
  font-weight: bold;
  text-align: center;
  margin-bottom: 0;
}
.hero .right-search {
  background-image: linear-gradient(to right, rgba(46, 48, 148, 0.77), #17184a);
  padding: 3rem 5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}
/*----- end hero section -----*/


/*----- start section container -----*/
.section-container {
  margin-top: 15rem;
}
.database-container {
  margin-top: 2rem;
}
.database-container .carousel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}
.database-container .carousel .carousel-indicators {
  position: unset;
}
.database-container .carousel .carousel-indicators button {
  border: 2px solid #787bf9;
  border-radius: .5rem;
  height: unset;
  padding: 3px 5px;
  text-indent: unset;
}
.database-container .carousel .carousel-indicators button.active {
  background-color: #787bf9;
  background: #787bf9;
  color: #fff;
}
.database-container .carousel .carousel-inner {
  min-height: 24.4rem;
  width: 53%;
  margin-bottom: 2rem;
}
.database-container .carousel .carousel-inner .card {
  min-height: 38.5rem;
  width: 100%;
  padding: 2rem;
}
.database-container .carousel .carousel-inner .card ul {
  padding: 0;
}
.database-container .carousel .carousel-control-prev,
.database-container .carousel .carousel-control-next {
  cursor: unset;
}
.database-container .carousel-item.active {
  display: flex;
  justify-content: center;
}
.database-container .carousel-item ul {
  list-style: none;
}
.database {
    background: #eff8ff;
}

.news-container {
  margin-top: 2rem;
}
.news-container .news {
  margin-top: 1.5rem;
}
.news-container .news:not(:last-child) {
  margin-bottom: 3rem;
}
.news-container .news .short-desc {
  font-size: 1.2rem;
}
.news-container .news .publish {
  background-color: #787bf9;
  border-radius: .5rem;
  color: #fff;
  padding: .5rem;
}
.library-news {
    background: #eff8ff;
}
/*----- end section container -----*/


/*---- start ebook -----*/
.ebook-container {
  margin-top: 10rem;
}
.ebook-container .title {
  text-align: center;
  margin-bottom: 5rem;
}
.ebook-container .carousel {
  display: flex;
  justify-content: center;
}
.ebook-container .carousel .carousel-inner {
  width: 75%;
}
.ebook-container .carousel-inner ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 0 3px;
}
.ebook-container .carousel-inner ul li {
  width: 10.5rem;
  height: 15rem;
  padding: .3rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.ebook-container .carousel-inner ul li img {
  width: 100%;
  height: 100%;
}
.ebook-container .carousel-control-prev-icon,
.ebook-container .carousel-control-next-icon {
  background-color: #787bf9;
}
/*---- end ebook -----*/

/*---- start resource container ----*/
.resource-container {
  margin-top: 10rem;
}
.resource-container .left {
  background: url('./images/resource.jpg');
  height: 59.5rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 0;
  display: flex;
  justify-content: space-between;
}
.resource-container .left .resources,
.resource-container .left .services {
  background-image: linear-gradient(
    329deg,
    rgba(46, 48, 148, 0.8),
    #17184a 94%
  );
  height: 100%;
  color: white;
  padding: 2.5rem;
}
.resource-container .left .resources ul,
.resource-container .left .services ul {
  list-style: none;
  padding-left: 0;
}
.resource-container .left .resources ul li,
.resource-container .left .services ul li {
  border: 1px solid #787bf9;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  cursor: pointer;
}
.resource-container .right {
  background-color: #2E3094;
  height: 59.5rem;
  padding: 2.5rem;
  color: white;
  position: relative;
}
.resource-container .right .right-content__wrapper {
  position: absolute;
  z-index: 999;
  /*right: 25px;*/
}
.resource-container .right .custom-badge {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%, 50% 62%, 0 100%);
  background-color: #787bf9;
  width: 4rem;
  height: 6rem;
  position: absolute;
  left: 2.5rem;
  top: -2.5rem;
}
.resource-container .right .title {
  margin-top: 3.5rem;
}
.resource-container .right .alarm-clock {
  position: absolute;
  width: 20rem;
  left: 10rem;
  top: 3rem;
  transform: rotate(-15deg);
  opacity: .3;
}
.resource-container .right .schedule:not(:last-child) {
  margin-top: 3rem;
  margin-bottom: 4rem;
}
.resource-container .right .schedule p {
  font-size: 2.3rem;
  font-weight: 500;
}
.resource-container .right .schedule .schedule-title {
  font-size: 1.8rem;
  font-weight: normal;
  margin-bottom: 0;
}
.resource-container .right .schedule .day {
  margin-bottom: 0;
}
/*---- end resource container ----*/


/*----- start about us -----*/
.about-us {
  margin-top: 10rem;
  /*background-image: url('./images/about_us_original.jpg');*/
  height: 45rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.about-us .container {
  height: 100%;
}
.about-us .right {
  position: relative;
}
.about-us .right .heading {
  margin-bottom: 1.5rem;
}
.about-us .right .description {
  font-size: 1.8rem;
    line-height: 1.8;
}
.about-us .right .right-overlay {
  opacity: 0.8;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgb(0, 0, 0) 0%,
    rgba(0, 0, 0, 0.27) 92%,
    rgba(0, 0, 0, 0)
  );
  width: 100%;
  height: 100%;
  position: absolute;
}
.about-us .left {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-us .left .video-icon-container {
  opacity: 0.8;
  box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.16);
  background-color: #fff;
  width: 14rem;
  height: 14rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
}
.about-us .left .video-icon-container .video-icon {
  clip-path: polygon(100% 50%, 0 0, 0 100%);
  height: 45%;
  width: 40%;
  margin-left: 1.3rem;
  background-color: #f14450;
}
.about-us .right .right-content {
  color: white;
  position: absolute;
  padding: 2rem;
  font-weight:600;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#aboutUsModal .modal-body {
  padding: 0;
  height: 50rem;
}
/*----- end about us -----*/

/*----- start calendar & library hour -----*/
.resource-container .right .contact-icon {
  position: absolute;
  font-size: 8rem;
  left: 16rem;
  top: 3rem;
  transform: rotate(-15deg);
  opacity: .3;
}
.resource-container .calendar-container img {
  width: 100%;
  height: 59.5rem;
}
.resource-container .right .contacts:not(:last-child) {
  margin-top: 3rem;
  margin-bottom: 4rem;
}
.resource-container .right .contacts .contacts-title {
  font-weight: 500;
  font-size: 1.8rem;
}
.calendar-heading {
  margin-bottom: 5rem;
}
.calendar-container{
    padding-left:0px;
}
/*----- end calendar & library hour -----*/

.footer {
  margin-top: 10rem;
  background-color: #232323;
  min-height: 30rem;
  color: white;
  display: flex;
}
.title-top {
    margin-top: 8rem;
}

.bottom-border {
  width: 4.5rem;
  height: .3rem;
  background-color: #787bf9;
}

.cursor-pointer {
  cursor: pointer;
}

.carousel-control-icon-container {
  align-items: center;
  background-color: #787bf9;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  height: 3.5rem;
  justify-content: center;
  padding: 1rem;
  width: 3.5rem;
}
.resource-container-form{
    margin-top: 5rem;
}
.form-group {
    margin-bottom: 1rem;
}
.form-control {
    padding: .75rem .75rem;
}
/* phone-md, phone-lg, tab-port */
/*------------ Menu -------------*/
.dropdown-item {
    padding: 0.75rem 1rem;
}
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; // remove the gap so it doesn't close
}
.nav-link{
    padding:1rem;
}
/* hr--------*/
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
.copy-right{
    text-align:center;
    padding:10px;
}
.font-design{
    font-family: 'Righteous', cursive;
}
.quick-height {
    height: 54rem!important;
}
/*------------ Bottom Menu ----------------------*/
.bottom-title {
    margin-bottom: 20px;
    font-size: 24px;
}
.bottom-menu{
    padding-left:2px;
}
.bottom-menu li {
    list-style:none;
    padding: 5px 0;
}
ul.bottom-menu li a {
    margin-left: 5px;
}
.bottom-menu li a:hover {
    color: #ffffff;
}


@media screen and (min-width: 0) and (max-width: 991px) {
  body {
    font-size: 12px;
  }

  .header .navigation .dropdown .dropdown-item {
    font-size: 12px;
  }

  .ebook-container {
    margin-top: 5rem;
  }

  .resource-container {
    margin-top: 5rem;
  }
  .resource-container .calendar-container {
    margin-bottom: 7.6rem;
  }
  .resource-container .left {
    margin-bottom: 7.6rem;
    height: unset;
  }
  .resource-container .left .resources,
  .resource-container .left .services {
    width: 45%;
  }

  .database {
    margin-bottom: 5rem;
  }
  .database-container .carousel .carousel-inner {
    width: 65%;
  }
  .database .heading,
  .library-news .heading {
    text-align: center;
  }

  .hero .left-search {
    padding: 2rem 3rem;
  }
  .hero .right-search {
    display: none;
  }

  .about-us {
    height: 39rem;
    margin-top: 5rem;
  }
  .about-us .about-us__container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }
  .about-us .right .right-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .about-us .left .video-icon-container {
    width: 9rem;
    height: 9rem;
  }
  .about-us .left .video-icon-container .video-icon {
    height: 40%;
    width: 35%;
  }

  .ebook-container .title {
    margin-bottom: 2rem;
  }

  .bottom-border {
    display: none;
  }

  .calendar-heading {
    margin-bottom: 2rem;
  }
}
@media screen and (min-width: 0) and (max-width: 767px) {
  .mdevice-off {
    display: none;
  }
  #aboutUsModal .modal-body {
    height: 40rem;
  }
}
@media screen and (min-width: 768px) {
  .mdevice-on {
    display: none !important;
  }
}
@media screen and (min-width: 0) and (max-width: 600px) {
  .header .top-bar .top-bar__container {
    justify-content: flex-end;
  }
  .header .top-bar__left {
    display: none;
  }
  #aboutUsModal .modal-body {
    height: 30rem;
  }
}
@media screen and (min-width: 1400px) {
    .calender-bg{
        background-image: url("../../template/images/Calender_Activity2.jpg");
    }
}
@media screen and (max-width: 1399px) {
    .calender-bg{
        background-image: url("../../template/images/Calender_Activity.jpg");
    }
}