html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font-family);
  color: var(--lightgrey);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 4.5rem;
}

h2 {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 3.125rem;
}

h2 span {
  font-weight: 800;
}

h3 {
  font-size: 2rem;
  font-weight: 500;
}

h4 {
  font-size: 1.5rem;
  font-weight: 700;
}

h5 {
  font-size: 1.25rem;
  font-weight: 600;
}

h6 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--midnight-blue);
  margin-bottom: 0;
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.text-yale-blue {
  color: var(--yale-blue);
}

.text-yale-blue-trans {
  color: var(--yale-blue-trans);
}

.text-midnight-blue {
  color: var(--midnight-blue);
}

.bg-skyblue {
  background-color: var(--skyblue);
}

.bg-skybluelight {
  background-color: var(--skybluelight);
}

.bg-pale-skyblue {
  background-color: var(--pale-skyblue);
}

.bg-yale-blue {
  background-color: var(--yale-blue);
}

.bg-midnight-blue {
  background-color: var(--midnight-blue);
}

.bg-offwhite {
  background-color: var(--offwhite);
}

.bg-offwhite2 {
  background-color: var(--offwhite2);
}

.bg-lightgrey2 {
  background-color: var(--lightgrey2);
}

.border-radius-8 {
  border-radius: 0.5rem;
}

.border-radius-20 {
  border-radius: 1.25rem;
}

.border-radius-32 {
  border-radius: 2rem;
}

.border-radius-40 {
  border-radius: 2.5rem;
}

#overlay_loading {
  position: fixed;
  transition: 1s 0.4s;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  background-image: url("../images/loading.gif");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80px;
  z-index: 10000000;
  filter: alpha(opacity=40);
}

#backToTop {
  position: fixed;
  bottom: 2.5rem;
  right: 1.875rem;
  z-index: 100;
  display: none;
  background-color: var(--yale-blue);
  color: white;
  border: none;
  outline: none;
  padding: 0.625rem 0.938rem;
  border-radius: 50%;
  font-size: 1.125rem;
  cursor: pointer;
  box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease;
}

#backToTop:hover {
  background-color: var(--midnight-blue);
}

.section-padding {
  padding: 3.75rem 0;
}

.btn-type-1 {
  background-color: var(--yale-blue);
  border-color: var(--yale-blue);
  color: var(--white);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
}

.btn-type-1:hover {
  background-color: var(--midnight-blue);
  border-color: var(--midnight-blue);
}

.btn-type-2 {
  background-color: transparent;
  color: var(--yale-blue-trans);
  border-radius: 5rem;
  border: 0.125rem solid var(--yale-blue-trans);
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5rem;
}

.btn-type-2:hover {
  background-color: var(--midnight-blue);
  border-color: var(--midnight-blue);
}

.btn-type-3 {
  background-color: var(--pale-skyblue);
  color: var(--yale-blue-trans);
  border-radius: 0.75rem;
  padding: 1.5rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.75rem;
}

.btn-type-3:hover {
  background: var(--white);
  color: var(--yale-blue-trans);
}

.read-more-type1 {
  color: var(--yale-blue);
  font-weight: 600;
  position: relative;
}

.read-more-type1:hover {
  color: var(--midnight-blue);
}

.read-more-type1::after {
  content: "";
  position: absolute;
  right: -1.375rem;
  top: 0.313rem;
  width: 0.75rem;
  height: 0.75rem;
  background: url(../images/icons/arrow-cross-right.svg) no-repeat center;
}

form .form-control,
form .form-select {
  background-color: var(--form-control-bg);
  border: 0.125rem solid var(--form-control-border);
  border-radius: 0.75rem;
  height: 3.125rem;
}

form textarea.form-control{
  height: 6.25rem;
}

.top-header {
  background-color: var(--yale-blue);
  color: var(--white);
  padding: 1rem 0;
}

.top-header .box {
  display: flex;
  align-items: center;
}

.top-header .box img {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
}

.navbar {
  border-bottom: 0.063rem solid rgba(136, 136, 136, 0.4);
}

.navbar .navbar-nav .nav-link {
  color: var(--black);
  font-weight: 600;
  padding: 0.688rem;
}

.navbar .navbar-nav .nav-link:hover {
  color: var(--yale-blue);
}

.navbar.navbar-light .navbar-toggler {
  border: none;
}
.navbar.navbar-light .navbar-toggler:focus {
  box-shadow: none;
}
.navbar.navbar-light .navbar-toggler-icon {
  background: url(../images/icons/hamburger.svg) no-repeat center;
  width: 3.125rem;
  height: 2.5rem;
}

.navbar .dropdown-menu{
  width: 100%;
  left: 0;
  right: 0;
  background-color: var(--midnight-blue);
  border-radius: 0;
}

.navbar .dropdown-menu .dropdown-item {
  padding: 0.5rem 0;
  color: var(--white);
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus,
.navbar .dropdown-menu .dropdown-item:active{
  background: none;
}

.navbar .dropdown-menu .dropdown-item:hover{
  color: var(--warningyellow);
}

.navbar .dropdown-menu .subhead {
  color: var(--white);
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
  margin-bottom: 0.2rem;
}

.hero-banner .title-category {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--midnight-blue);
}

.hero-banner .banner {
  margin-bottom: 2rem;
}

.hero-banner img {
  border-radius: 0.5rem;
}

.recognized-slider img {
  width: 5rem;
  height: 5rem;
  filter: grayscale(1);
}

.recognized-slider img:hover {
  filter: grayscale(0);
}

.recognized-slider h6 {
  margin: 0 0 0 0.75rem;
}

.recognized-slider h6 span {
  display: block;
  font-weight: 400;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.card {
  border-radius: 1rem;
  padding: 1.875rem;
}

a.card {
  text-decoration: none;
  color: var(--lightgrey);
}

.academic-expertise .card img {
  width: 5rem;
  height: 5rem;
}

.academic-expertise .card .card-body {
  padding: 1rem 0rem;
}

.academic-expertise .card .card-title i{
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--textitalic);
}

.training-future .card img {
  width: 5rem;
  height: 5rem;
}

.training-future .card {
  background-color: var(--yale-blue-trans);
  border: 0.063rem solid var(--lightborder);
}

.latest-events-slider img {
  width: 100%;
  border-radius: 0.5rem;
}

.latest-events-slider .slick-slide {
  margin: 0 10px;
}

.latest-events-slider .slick-track {
  display: flex;
  align-items: center;
}

.latest-events-slider .slick-dots {
  bottom: -60px;
}

.latest-events-cards{
  padding: 0rem 0 3.75rem 0;;
}

.latest-events-cards .category {
  background: var(--lightborder);
  color: var(--yale-blue);
  display: inline-block;
  padding: 0.313rem 0.625rem;
  border-radius: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5rem;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 7.5rem;
  height: 7.5rem;
  cursor: pointer;
}

.home-about .features img {
  width: 3.5rem;
  height: 3.5rem;
}

.home-about .banner {
  border-radius: 1.5rem;
}

.event-highlighter-slider-1 img,
.event-highlighter-slider-2 img {
  width: 100%;
  border-radius: 1.25rem;
}

.event-highlighter-slider-1 .slick-slide,
.event-highlighter-slider-2 .slick-slide {
  margin: 0 50px 50px 0;
}

.testimonial-slider .slick-dots {
  bottom: -70px;
  left: 0;
}
.testimonial-slider .slick-dots li button:before {
  font-size: 14px;
}
.testimonial-slider .slick-dots li.slick-active button:before {
  color: var(--yale-blue);
  opacity: 1;
}

footer {
  padding: 5rem 0 0 0;
}
footer .text {
  color: var(--footer-link);
}
.footer-links {
  padding: 0;
}
.footer-links li {
  list-style-type: none;
  padding-bottom: 1rem;
}
.footer-links li a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
}

.footer-links li a:hover {
  opacity: 1;
}

footer .address ul li,
.contact-box .address ul li{
  list-style-type: none;
  display: flex;
  align-items: flex-start;
  padding-bottom: 1.5rem;
}

footer .address ul li img,
.contact-box .address ul li img{
  padding-right: 1rem; 
}

footer .address p,
footer .address p a,
.contact-box .address p,
.contact-box .address p a{
  color: var(--white);
  font-size: 1rem;
  font-weight: 400;
  margin-top: -0.313rem;
}

footer .address p a,
.contact-box .address p a{
  text-decoration: none;
}

.bottom-footer {
  background: var(--yale-blue-trans);
  padding: 1.2rem 0;
  color: var(--white);
  font-weight: 400;
}

.bottom-footer .author a {
  text-decoration: none;
  color: var(--warningyellow);
}

.bottom-footer .author a:hover {
  color: var(--white);
  text-decoration: underline;
}

.top-footer{
  padding: 2.5rem 0;
  background: var(--pale-skyblue);
}


/*about*/

.transforming-education .card img {
  width: 6rem;
  height: 6rem;
}

.transforming-education .card {
  background: none;
  border: none;
}

.list-courses li a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2.25rem;
  margin-bottom: 1.5rem;
  display: block;
}

.list-courses li a:hover {
  opacity: 0.95;
  text-decoration: underline;
}

.list-courses2 li a {
  color: var(--midnight-blue2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1rem;
  margin-bottom: 1rem;
  display: block;
}

.list-courses2 li a:hover {
  opacity: 0.95;
}

.paper-list li a{
  text-decoration: underline;
  color: var(--yale-blue);
}
.paper-list li::marker {
  color: var(--yale-blue);
}

.paper-list li a:hover {
  opacity: 0.95;
  text-decoration: none;
}

.our-team .card{
  background-color: var(--yale-blue);
  color: var(--white);
}

.about-gallery h5{
  position: absolute;
  width: 100%;
  bottom: 0px;
  padding: 0.8rem 1.2rem;
  background: rgba(0,0,0,0.7);
  color: var(--white);
}

.labs-facilities .thumb {
  border: 0.625rem solid var(--yale-blue);
}
  
.labs-facilities-list .card img {
  width: 5rem;
  height: 5rem;
}

.academic-cover {
  background: url(../images/bsc/cover.jpg) no-repeat center center;
  background-size: cover;
  height: 37.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-apply-strip {
  position: absolute;
  left: auto;
  right: auto;
  bottom: -3rem;
  width: 100%;
}

.course-apply-strip {
  display: flex;
  justify-content:space-around;
  align-items: center;
  flex-wrap: wrap;
}

.nursing-depts .card {
  background-color: var(--yale-blue-trans);
  border:none;
}

.academic-programs .card {
  border-left: 50px solid var(--yale-blue);
  border-radius: 0;
} 

.sidebar-requirements {
  position: sticky;
  top:20px;
}

.sidebar-sticky{
  position: sticky;
  top: 20px;
}

#applyAdmission,
#contactForm{
  box-shadow: 0px 0px 15px #ddd;
  border-radius: 0.5rem;
  background: var(--white);
}

.faq-section .accordion-item .accordion-button{
  font-size: 1rem;
  font-weight: 600;
  color: var(--midnight-blue);
  padding: 0.2rem 1.25rem;
  background: var(--pale-skyblue);
}

.faq-section .accordion-item .accordion-button.collapsed{
  background: var(--offwhite);
}

.faq-section .accordion-item .accordion-button:focus{
  box-shadow: none;
}
