.sub-nav-section {
  margin-top: 4rem;
  box-shadow: 0px 5px 10px -2px black;
}

@media only screen and (max-width:992px) {
  .sub-nav-section {
    margin-top: 4.5rem;
  }
}

.sub-nav-section .top-box {
  background-color: rgb(0, 43, 0);
  height: 60px;
}

.sub-nav-section div {
  padding: 0.3rem 1rem;
}

.sub-nav-section .box2 {
  display: flex;
  align-items: center;
}

.sub-nav-section .box2 a:nth-child(1) {
  color: rgb(255, 125, 147);
}

.sub-nav-section .box2 a {
  font-weight: 600;
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
  color: black;
}

.sub-nav-section .box2 a span {
  font-size: 1.3rem;
  margin-left: 0.5rem;
  color: black;
}

.sub-nav-section .content-box {
  background-color: rgba(128, 128, 128, 20%);
}

.sub-nav-section .content-box h2 {
  font-size: 2rem;
  font-weight: 600;
  color: black;
}

.sub-nav-section .content-box p {
  font-size: 0.9rem;
  line-height: 1.3rem;
  background-color: white;
  padding: 0.2rem;
  margin-bottom: 0rem;
}

.bg-gary {
  background-color: gray;
}

.sub-nav-section .nav-div nav {
  margin-top: 0.5rem;
  box-shadow: 0px 2px 10px -5px rgba(0, 0, 0, 100%);
  padding: 0.3rem 0.5rem;
}

.sub-nav-section .nav-div nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  overflow-x: auto;
  gap: 1rem;
  white-space: nowrap;
  user-select: none;
  margin-bottom: 0px;
  padding-left: 0px;
  /* cursor: grab; */
}

/* .sub-nav-section .nav-div nav ul::-webkit-scrollbar {
    display: none;
}

.sub-nav-section .nav-div nav ul.active {
    cursor: grabbing;
} */


.sub-nav-section .nav-div nav ul li {
  list-style-type: none;
  margin-right: 1rem;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
}

.sub-nav-section .nav-div nav ul li a {
  color: gray;
  font-weight: 600;
}

.sub-nav-section .nav-div nav ul li {
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-radius: 5px;
}

.sub-nav-section .nav-div nav ul li.active {
  border-top: 1px solid rgba(0, 92, 41, 20%);
  border-left: 1px solid rgba(0, 92, 41, 20%);
  border-right: 1px solid rgba(0, 92, 41, 20%);
  color: rgb(0, 92, 41);
  position: relative;
}

.sub-nav-section .nav-div nav ul li {
  position: relative;
}

.sub-nav-section .nav-div nav ul li:hover a {
  color: rgb(214, 25, 0);
}

.sub-nav-section .nav-div nav ul li:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgb(214, 25, 0);
  animation: move 0.5s ease-in-out;
}

.sub-nav-section .nav-div nav ul li.active a {
  color: rgb(0, 92, 41);
}

.sub-nav-section .nav-div nav ul li.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgb(0, 92, 41);
  box-shadow: 0px 2px 3px 0px rgba(0, 92, 41, 50%);
  animation: move 0.5s ease-in-out;
}

@keyframes move {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0%);
  }
}

h2 {
  margin-bottom: 30px !important;
}

p {
  text-align: justify;
}

.schaolarship-s1 .right-box {
  background-color: rgba(128, 128, 128, 20%);
  height: 100%;
  position: sticky;
  top: 0px;
}

.schaolarship-s2 .table-div table {
  border: 4px double rgba(128, 128, 128, 50%);
  border-radius: 20px;
  background-color: #FEFFC4;
}

.schaolarship-s2 .table-div table tr,
td,
th {
  border: 4px double rgba(128, 128, 128, 50%);
}

.schaolarship-s2 .table-div table tr th {
  width: 170px;
  padding: 0.5rem;
  background-color: rgba(128, 128, 128, 20%);
}

.schaolarship-s2 .table-div table tr td {
  padding: 0.5rem;
  font-size: 0.9rem;
}

.schaolarship-s2 .table-div table tr td span {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media only screen and (max-width:450px) {
  .schaolarship-s2 .table-div table tr th {
    width: fit-content;
  }
}

.schaolarship-s3 .boxes ul {
  list-style-type: none;
}

.schaolarship-s3 .boxes ul li {
  position: relative;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.schaolarship-s3 .boxes ul li::before {
  content: "";
  position: absolute;
  background-image: url(../../image/footer-pages/phd-scholarships/correct.png);
  height: 20px;
  width: 20px;
  background-position: center;
  background-size: cover;
  left: -25px;
}

.schaolarship-s3 .govt-div ul li strong {
  margin-right: 0.5rem;
}

.schaolarship-s3 .boxes h3 {
  /* position: relative; */
  width: fit-content;
  line-height: 2rem;
}

.schaolarship-s3 .boxes h3 span {
  position: relative;
}

.schaolarship-s3 .boxes h3 span::after {
  content: "";
  position: absolute;
  background-image: url(../../image/footer-pages/phd-scholarships/phd-cap.png);
  background-position: center;
  background-size: cover;
  height: 30px;
  width: 30px;
  top: -10px;
  rotate: 15deg;
  right: -25px;
}

.schaolarship-sections .boxes {
  padding: 1rem;
  border-radius: 0.5rem;
  /* margin-bottom: 4rem; */
  transition: box-shadow 0.2s ease-in-out;
}

.schaolarship-sections .boxes ul {
  list-style-type: none;
  /* padding-left: 0px;
    margin-bottom: 0px; */
}

.schaolarship-sections .boxes ul li {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #19183B;
  text-align: justify;
  position: relative;
}

.schaolarship-sections .boxes ul li::before {
  content: "";
  position: absolute;
  background-image: url(../../image/footer-pages/phd-scholarships/correct.png);
  height: 20px;
  width: 20px;
  background-position: center;
  background-size: cover;
  left: -25px;
}

.schaolarship-sections .boxes ul li span {
  margin-right: 0.5rem;
  font-weight: 600;
}

.schaolarship-s7 .boxes h3 {
  position: relative;
  width: fit-content;
}

.schaolarship-s7 .boxes .one::before {
  content: "1.";
  position: relative;
  left: -10px;
}

.schaolarship-s7 .boxes .two::before {
  content: "2.";
  position: relative;
  left: -10px;
}

.schaolarship-s7 .boxes h3 {
  line-height: 2rem;
}

.schaolarship-s7 .boxes h3 span {
  position: relative;
}

.schaolarship-s7 .boxes h3 span::after {
  content: "";
  position: absolute;
  background-image: url(../../image/footer-pages/phd-scholarships/mistake.png);
  height: 30px;
  width: 30px;
  background-position: center;
  background-size: cover;
  right: -30px;
  top: -10px;
}

h2 {
  overflow: hidden;
}

.text-underline {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}