body {
  background: #f5f5f5 !important;  
}
.tc1 {
  color: RGB(5, 81, 96);
}
.tc2 {
  color: RGB(7, 116, 138);
}
.tc3 {
  color: RGB(10, 162, 192);
}
.snameActive {
  /* background:#055160;  */
  background: white !important;
  /* box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px; */
  color: black !important;
  border-bottom: 1px solid #055160;
}
.navbar-width {
  width: 90% !important;   
}
@media screen and (max-width: 990px) {
  .navbar-width {
    width: 100% !important;   
  } 
}
.cname-active {
  background-color: RGB(8, 121, 144) !important;
  color: white !important;
}

.topicList {
  min-height: 200px;
  overflow: scroll;
  max-height: 100vh;
}

@media screen and (max-width: 767px) {
  .topicList {
    width: 65%;
  }
  .cname {
    border-bottom: 1px solid RGB(8, 121, 144);
  }
}

.topicli {
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis !important; 
  height: 30px !important;
  padding: 1px !important;
}

.topicMenu {
  min-height: 100px;
  position: relative;
  overflow: scroll;
}

.aTopic {
  padding: 1px !important;
  /* background:RGB(10, 162, 192); */
  background: white !important;
  color: black !important;
  border-radius: 3px !important;
}

.aTopicActive, .aTopic:hover,
.cname:hover {
  background: RGB(8, 121, 144) !important;
  color: white !important;
}

.aTopicActive{
  text-align:right;
  border-radius: 5px;  
}

.txt-cyan-700 {
  color: RGB(8, 121, 144) !important;
}

/* Flash Cards */
.flash-card {
  min-width: 200px;
  max-width: 100%;
  height: 250px;
  perspective: 1000px; /* Adding 3D perspective */
  cursor: pointer;
  color: black /*RGB(8, 121, 144)*/;
  background-color: none;
}

.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* Hide backface of the card */
  transition: transform 0.5s;
  padding: 10px 10px 10px 10px;
  text-align: center;
  align-items: center;
  border: 1px solid RGB(7, 116, 138);
  border-radius: 7px;
}

.front {
  background-color: white;
  display: flex;
}

.back {
  background-color: RGB(10, 162, 192);
  display: flex;
  color: white;
  transform: rotateY(180deg); /* Initially hide backside */
}

.flash-card:hover .front {
  transform: rotateY(180deg); /* Rotate the front side when hovered */
}

.flash-card:hover .back {
  transform: rotateY(0); /* Rotate the back side when hovered */
}
/* end Flash Cards */

.txtj {
  text-align: justify;  
}

table,
th,
td {
  border-left: 1px solid RGB(8, 121, 144) !important;
  border-right: 1px solid RGB(8, 121, 144) !important;
  border-bottom: 1px solid RGB(8, 121, 144) !important;
  text-align: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  padding: 3px 3px 3px 3px;
  color: black;
}

.navbar-subject {
  background-color: RGB(8, 121, 144);
  margin-top: 43px;
  height: 43px;
  font-weight: 600;
}

.navbar-course {
  /* background-color:RGB(10, 162, 192); */
  background-color: white;
  height: 31px;
  line-height: 15px;
}
.navbar-course a {
  color: black;
  /* border-right: 1px solid RGB(8, 121, 144); */
  border-right: 1px solid RGB(8, 121, 144);
  font-weight: 600;
}

.navbar-subject a {
  color: white;
  border-right: 1px solid #f5f5f5;
  /* RGB(5, 81, 96); */
}
.navbar-subject .navbar-brand,
.navbar-course .navbar-brand {
  display: none;
}

@media (max-width: 995px) {
  .navbar-subject,
  .navbar-course {
    height: auto;
  }
  .navbar-subject {
    margin-top: 57px;
  }
  .navbar-subject a,
  .navbar-course a {
    border-bottom: 1px solid #f5f5f5;
  }
  .navbar-subject .nav-item,
  .navbar-course .nav-item, .cname{
    border-bottom: 1px solid rgb(207, 205, 205) !important;
    width: 100%;
    text-align: left;
    /* text-align:right; */
  }

  .navbar-subject .navbar-brand,
  .navbar-course .navbar-brand {
    display: block;
  }

  .logodsk {
    display: none !important;
    height: 36px !important;
  }
  .navbar-menu {
    height: auto !important;
  }
}

.sname:hover {
  background-color: RGB(5, 81, 96);
  color: white;
}

.navbar-menu {
  background-color: white;
  height: 47px;
}
.logodsk {
  display: block !important;
  width: 170px;
  height: 43px;
}

/* Home Page */

#homeIntro {
  height: 100vh;
}
.homeIntroContainer {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100vh;
}

#homeSubjects {
  width: 90%;
}

#homeFlashCards .cstFlashCard {
  background: white;
  border-radius: 3px;
  box-shadow: 0px 1px 8px 1px black;
}

#homeFlashCards .cstFlashCard .header {
  height: 105px;
}

#homeSubjects .cstsubjectCard {
  width: 160px;
  height: 290px;
  margin-top: 9px;
  background: white;
  border-radius: 3px;
}
#homeCourses .cstCourseCard {
  width: 150px;
  height: 120px;
  margin-top: 5px;
  background: white;
  border-radius: 3px;
  font-weight: 400;
  font-size: 1.1em;
}
#homeCourses .cstCourseCard .title {
  text-shadow: 1px 1px 3px #dee2e6;
  height: 50px;
}

#homeSubjects .header {
  height: 50px;
}
#homeSubjects .header h5 {
  font-size: 17px;
  font-weight: 500;
}
#homeSubjects .footer {
  margin-top: 0px;
  height: 20px;
}
#homeSubjects .description {
  margin-top: 50px;
  height: 135px;
  overflow: hidden;
  font-size: 13px;
}
#homeSubjects .description p {
  padding-top: 7px;
}

.cstsubjectCard {
  width: 160px;
  height: 290px;
  margin-top: 12px;
  background: white;
}

.cstCard {
  width: 150px;
  border: 2px solid white;
  border-radius: 5px;
  box-shadow: 0 1px 22px 1px wheat;
  background-color: rgba(0, 0, 0, 0.5);
}

.display-4 {
  text-shadow: 1px 1px 3px wheat;
}

@media screen and (max-width: 1637px) {
  #homeSubjects {
    width: 80%;
  }
}

/* Desktop */
@media screen and (min-width: 767px) {
  #homeIntro {
    background-image: url("/static/images/home/library.jpg");
  }
  #homeFlashCards {
    background-image: url("/static/images/home/fcard.jpg");
  }
  .navbar-width {
    width: 90%;   
  }
  .practice-dsk {
    display: block;
  }
  .practice-mbl {
    display: none;
  }
  #homeCourses {
    max-height: 700px;
    overflow: scroll;
  }
}

/* mobile */
@media screen and (max-width: 767px) {
  .card4,
  .card5 {
    display: none;
  }
  .extraline {
    display: none;
  }
  #homeIntro {
    background-image: url("/static/images/home/library-sm.jpg");
    height: 100vh;
    overflow: hidden;
  }

  #homeFlashCards {
    background-image: url("/static/images/home/fcard-sm.jpg");
  }
  #homeSubjects {
    width: 100%;
  }
  .navbar-width {
    width: 100%;    
  }
  .practice-dsk {
    display: none;
  }
  .practice-mbl {
    display: block;
  }
  #homeCourses {
    height: 600px;
    overflow: scroll;
  }
}

@keyframes bootomline {
  from {
    border-bottom: 5px solid white;
  }
  to {
    border-bottom: 5px solid RGB(5, 81, 96);
  }
}
/* End Home Page */

/* Progress Bar on top */
.progress-header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: #f1f1f1;
}
.progress-header h2 {
  text-align: center;
}
.progress-container {
  width: 100%;
  height: 5px;
  background: #f5f5f5;
}
.progress-bar {
  height: 5px;
  background: RGB(8, 121, 144) !important;
  width: 0%;
}
.progress-body-content {
  padding: 100px 0;
  margin: 50px auto 0 auto;
  width: 80%;
}

/* End Progress Bar on top */

