.content-wrapper h1,
.content-wrapper h2 {
  font-weight: 700;
  margin: 25px 0px 10px 0px;
  font-size: 24px;
}
.btn-info {
  background-color: #248aaa !important;
  color: #e5e9f2 !important;
}
.content-wrapper p {
  font-size: 16px;
  line-height: normal;
  color: #000;
}
.content-sec {
    background: #e5e9f2;
}
.content {
  background: #ffffff;
  padding-bottom: 15px;
  margin-top: .6rem;
  height: 100%;
  margin-bottom: .8rem;
}
.list-group-item {
  position: relative;
  display: block;
  padding: 0.65rem 1.1em;
  margin-bottom: -1px;
  background-color: #ecfcff;
  border: 1px solid #a8f1ff;
  margin: 6px;
  border-radius: 9px;
}
.text-light {
  color: #1a0dab !important;
}
.list-group-item.active {
  z-index: 2;
  color: #333;
  background-color: #f9eccd;
  border-color: #f9eccd;
}
.sidebar-po-fix {
  top: 0.6rem !important;
  position: sticky !important;
  max-width: 100%;
  background-color: #ffffff !important;
  height: calc(100vh - 75px) !important;
  box-shadow: 0px 8px 56px rgb(15 80 100 / 0%) !important;
  transition: all ease-out 0.3s;
  overflow-y: unset !important;
  scrollbar-width: none;
}
.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgb(0 0 0 / 0%);
  border-radius: 0.25rem;
}
.list-group::-webkit-scrollbar {
  width: 0px !important;
}
a:hover {
  text-decoration: none;
}
a.text-light:focus,
a.text-light:hover {
  color: #1a0dab !important;
}
.list-group-item:focus,
.list-group-item:hover {
  z-index: 1;
  text-decoration: none;
  background: #eee;
  border-color: #eee;
}
.card:hover,
.card:focus {
  box-shadow: none;
  border: 1px solid rgb(0 0 0 / 0%);
  transition: all 0.3s ease-out;
}
.title-main {
  font-size: 30px;
  line-height: normal;
  margin-bottom: 4px;
  font-weight: 900;
  padding-bottom: 8px;
  position: relative;
  color: #101c5f;
  /* margin-top: 35px; */
}
.cards {
  min-width: 300px;
  min-height: 300px;
  border-radius: 9px;
  padding-inline: 0 !important;
  padding-block: 0 !important;
}
.cards span {
  padding: 12px;
}
.cards a {
  background-image: linear-gradient(
      to right,
      rgb(171 241 255 / 54%),
      rgb(168 241 255 / 0%)
    ),
    url(/images/icar/decimal.png);
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center, right bottom;
  background-repeat: no-repeat, no-repeat;
  border-radius: 9px;
  transition: all ease-in-out 0.8s;
}
.cards a:hover {
  background-image: linear-gradient(
      to right,
      rgba(109, 179, 242, 0.6),
      rgba(109, 179, 242, 0.6)
    ),
    url(/images/icar/decimal.png);
}
table {
  display: inline-table !important;
}
.row .col-lg-9 .card.p-2 div {
  padding-inline: 0rem;
  padding-block: 0.5rem;
}
.exam-single-content {
  background: #f7fcfd;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  width: 100%;
  max-height: 100vh;
  overflow: auto;
  scrollbar-width: none;
}
.exam-single-content h5,
h4,
h3 {
  margin-top: 0;
}
.exam-single-content p a {
  font-size: 14px;
}
.list-group-item a {
  color: #1a0dab !important;
}
.mobile-tabs-wrapper {
  position: relative;
  width: 100%;
}
.scroll-arrow {
  display: none;
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: rgb(118 178 189);
  color: white;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 9;
}
.left-arrow {
  left: 12px;
}
.right-arrow {
  right: 12px;
}
/* ====== table ====== */
table {
  border-radius: 0.1rem;
  background: #e5e9f2;
  border: 1px solid #c0ccda;
  padding: 0.1rem;
  margin: 2rem 0rem;
  width: 100%;
  display: block;
  overflow-x: auto;

}

table tr {
  height: 40px !important;
}


table th,
td {
  padding: 0.5rem;
  border-left: 1px solid #8392a5;
  border-bottom: 1px solid #8392a5;
}

table thead tr {
  background: #248aaa;
  color: #e5e9f2;
}


tbody tr:nth-child(odd) {
  background-color: #e5e9f2;
}
/* ====== don't apply css to tables inside gist ====== */
.gist table {
  border-radius: unset;
  background: unset;
  border: unset;
  padding: unset;
}

.gist table tr {
  height: unset !important;
}

.gist table th,
td {
  /* padding: unset; */
  /* border-left: unset; */
  border-bottom: unset;
}

.gist table thead tr {
  background: unset;
  color: unset;
}

.gist tbody tr:nth-child(odd) {
  background-color: unset;
}

.gist tbody tr:hover {
  background: unset;
}

.gist table td,
.gist table tc {
  border-right: 1px solid #eee;
}

figure {
  border: 1px solid #c0ccda;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  align-self: center;
  margin: auto;
}

.scroll-style{
  max-height: 100vh;
  overflow: auto;
  scrollbar-width: none;
}

@media only screen and (min-width: 1023px) {
  .mobile-tabs-container {
    display: none;
  }
}
@media only screen and (max-width: 1025px) {
  .exam-single-content p a {
    font-size: 10px;
  }
  .list-group-item {
    position: relative;
    display: block;
    padding: 0.4rem 1.25rem;
    margin-bottom: -1px;
    background-color: #ecfcff;
    border: 1px solid #a8f1ff;
    margin: 6px;
    border-radius: 6px;
    font-size: 14px;
  }
  .mobile-tabs-container {
    display: block;
    width: 87%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    padding: 10px 35px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: auto;
  }
  .mobile-tabs-container::-webkit-scrollbar {
    display: none; 
  }
  .mobile-tabs-container .list-group-item {
    display: inline-block;
    float: none;
    margin-right: 8px;
    margin-bottom: 0;
  }
  .set-sidebar {
    display: none !important;
  }
  .scroll-arrow {
    display: block;
  }
  .mobile-tabs-wrapper:not(.is-scrollable) .scroll-arrow {
    display: none;
  }
}
@media (max-width: 768px) {

  .sidebar-po-fix {
    top: 71px !important;
    position: sticky !important;
    max-width: 100%;
    background-color: #ffffff !important;
    height: calc(100vh - 75px) !important;
    box-shadow: 0px 8px 56px rgb(15 80 100 / 0%) !important;
    transition: all ease-out 0.3s;
    overflow-y: unset !important;
    scrollbar-width: none;
  }
}
@media only screen and (max-width: 540px) {
  .sidebar-po-fix {
    box-shadow: 0px 8px 56px rgb(15 80 100 / 0%) !important;
    overflow-y: unset !important;
  }

}