/*Footer Styles*/

.ast-site-footer {
  padding: 0;
}

footer p {
  margin: 0;
}

footer .disable-link {
  pointer-events: none;
}

/*Footer Top*/

.footer-top-section {
  background-color: var(--blue-3);
  padding: 50px 0;
}

.footer-top-section ul,
.footer-top-section .navbar-nav .nav-link {
  margin: 0;
  padding: 0;
}

.footer-top-section .region-footer-top {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}

.footer-top-section .navbar-nav .nav-item .nav-link {
  font-family: var(--primary-font);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--white);
  padding-bottom: 4px;
}

.footer-top-section .navbar-nav>.nav-item>.nav-link {
  font-family: var(--secondary-font);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--white);
  position: relative;
  padding-bottom: 4px;
  display: inline-block;
  width: fit-content;
}

.footer-top-section .navbar-nav>.nav-item>.nav-link::before {
  content: '';
  display: inline-block;
  /* Ensures it behaves like a block-level element */
  width: 100%;
  /* Adjust to desired width relative to the link itself */
  height: 1px;
  background-color: var(--border-color-1);
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  margin-bottom: 4px;
}

.footer-top-section .nav-link.dropdown-toggle::after {
  display: none;
}

.footer-top-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/**/

/*Footer Middle*/

.footer-middle-section {
  background-color: var(--blue-1);
  padding: 30px 0;
}

.footer-middle-section .region-footer-middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-middle-section .region-footer-middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-middle-section .region-footer-middle .footer-middle-block {
  width: 33.3%;
}

.footer-middle-section .info,
.footer-middle-section .info a {
  font-family: var(--primary-font);
  font-weight: 400;
  font-size: .875rem;
  line-height: 1.375rem;
  color: var(--white-6);
}

.footer-middle-section .info a {
  text-decoration: none;
}

.footer-middle-section .info a:hover {
  text-decoration: underline;
}

.footer-middle-section .info .title {
  font-family: var(--primary-font);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.875rem;
  color: var(--white);
}

.footer-logo {
  display: flex;
  justify-content: center;
}

.footer-logo img {
  width: 144px;
  height: 80px;
}

/*Social Media*/

.footer-follow-us .title {
  font-family: var(--primary-font);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1875rem;
  color: var(--white);
  text-align: right;
  margin-bottom: 10px;
}

.footer-follow-us ul {
  display: flex;
  align-items: center;
  flex-direction: row;
  padding: 0;
  margin: 0;
  justify-content: flex-end;
}

.footer-follow-us li {
  font-size: 0;
}

.footer-follow-us a {
  width: 30px;
  height: 30px;
  font-size: 0;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 30px;
}

.footer-follow-us li:not(:last-child) {
  margin-right: 15px;
}

.ast-site-footer .linkedin a {
  background-image: url("/themes/custom/uneg/components/components/footer/img/Linkedin.svg");
}

.ast-site-footer .linkedin a:hover {
  background-image: url("/themes/custom/uneg/components/components/footer/img/linkedIn-Hover.svg");
}

.ast-site-footer .twitter a {
  background-image: url("/themes/custom/uneg/components/components/footer/img/X.svg");
}

.ast-site-footer .twitter a:hover {
  background-image: url(/themes/custom/uneg/components/components/footer/img/x-Hover.svg);
}

.ast-site-footer .youtube a {
  background-image: url("/themes/custom/uneg/components/components/footer/img/Youtube.svg");
}

.ast-site-footer .youtube a:hover {
  background-image: url("/themes/custom/uneg/components/components/footer/img/youtube-Hover.svg");
}

/**/

/*Footer bottom*/

.footer-bottom-section {
  background-color: var(--blue-2);
  height: 34px;
  font-family: var(--primary-font);
  font-weight: 400;
  font-size: .75rem;
  line-height: .875rem;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/**/

.footer-top-section .navbar-nav .nav-item .nav-link:hover {
  text-decoration: underline;
}

.footer-top-section .navbar-nav>.nav-item>.nav-link:hover {
  text-decoration: none !important;
}

footer ul.navbar-nav>li:first-child {
  margin-bottom: 26px;
}

/*Footer Menu Contrast issue correction*/

footer h5 {
  color: #b8b8b8;
}

/*hidden*/

a.faq-nav-link.nav-link,
a.evaluation-nav-link.nav-link,
.footer-top-section .navbar-nav>.nav-item>.faq-nav-link.nav-link::before {
  display: none !important;
}

.user-logged-in a.faq-nav-link.nav-link,
.user-logged-in a.evaluation-nav-link.nav-link,
.user-logged-in .footer-top-section .navbar-nav>.nav-item>.faq-nav-link.nav-link::before {
  display: block !important;
}
