footer.enf1 {
  font-family: var(--footer-font-family);
  font-size: var(--footer-font-size);
  line-height: var(--footer-line-height);
  color: var(--footer-font-color);
}

footer.enf1>div.enf-main {
  position: relative;
  z-index: 1;
  background: var(--footer-main-background);
}

footer.enf1>div.enf-main::before {
  content: "";
  position: absolute;
  background: #5c0b16;
  width: 100%;
  height: 1px;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: -1px;
  z-index: 1;
}

footer a:any-link {
  position: relative;
  text-decoration: none;
  line-height: var(--footer-line-height);
  color: var(--footer-font-color);
  font-weight: 600;
  letter-spacing: 0.7px;
  display: inline-grid;
  transition: 0.4s all ease;
  font-size: var(--footer-font-size);
  font-family: var(--footer-font-family);
}

footer .enf1-webste-name {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(22px, 30.6vw/13, 30.6px);
  line-height: clamp(28px, 36vw/13, 36px);
  color: #fff;
  font-weight: 700;
  text-align: left;
  letter-spacing: -0.3px;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 29.5px 0 20px;
  position: relative;
  left: 13px;
}

footer .enf1-webste-name span {
  position: relative;
  color: #ffaa0a;
  font-family: "Kaushan Script", cursive;
  font-weight: 400;
  font-size: clamp(18px, 22vw/12, 22px);
  line-height: clamp(18px, 22vw/12, 22px);
  letter-spacing: 0;
}

footer .enf1-webste-name>span {
  top: -5.5px;
  left: -1px;
}

footer .enf1-webste-name span span {
  left: 4px;
}

footer.enf1 a:any-link:is(:hover, :focus) {
  color: #0d0203;
  text-decoration: underline;
}

footer.enf1>div.enf-main>div.enf-main-inner {
  position: relative;
  width: min(100%, 1200px);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  padding: 0 0 0;
  gap: 20px 50px;
  justify-content: space-between;
}

footer.enf1 div.enf-address a#footer_contact1 {
  margin: 0;
}

footer.enf1 div.enf-address a#footer_contact1 span {
  position: relative;
  left: 7px;
}

footer.enf1 div.enf-address a#footer_contact1 span:nth-child(3) {
  left: 8px;
}

footer.enf1>div.enf-main>div.enf-main>* {
  overflow: hidden;
}

footer.enf1 .enf1-logo-cont {
  position: relative;
  max-width: 181px;
  left: 0;
  margin: 0 0 -37px;
}

footer.enf1 .enf1-logo-cont img {
  position: relative;
}

footer.enf1 .enf1-logo-cont a {
  position: relative;
  margin: 0;
  display: inline-grid;
}

footer.enf1 div.enf-address a {
  padding: 0;
  font-family: var(--address-font-family);
  font-size: var(--address-font-size);
  color: var(--address-font-color) !important;
  font-weight: 400;
  line-height: var(--address-line-height);
  letter-spacing: 0.35px;
  text-align: left;
  display: block;
}

footer .enf-address {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  gap: 6.5px 15px;
  max-width: 175px;
  flex-direction: column;
  width: 100%;
  top: -1px;
  align-items: flex-start;
}

footer.enf1>div.enf-subfooter {
  padding: 0;
  background: var(--subfooter-background);
  position: relative;
}

footer.enf1.enf1logo-2-2 .enf1-logo-cont img {
  max-width: calc(100% - 2px);
  max-height: calc(100% - 2px);
  border: 1px solid var(--logo-border-color);
}

footer.enf1.enf1logo-4-2 .enf1-logo-cont a {
  display: inline-block;
  z-index: 2;
  margin: 0;
}

.enf-subfooter-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  min-height: 41px;
  align-items: center;
  padding: 0;
  flex-wrap: wrap;
  box-sizing: border-box;
  background: var(--subfooter-background);
}

.enf-subfooter-inner a#footer_edunet {
  top: 50%;
  display: inline-grid !important;
  position: absolute;
  left: -3px;
  right: 0;
  margin: -0.5px auto 0;
  text-align: center;
  max-width: 181px;
  transform: translateY(-50%);
  z-index: 1;
  padding: 0;
}

#footer_left {
  position: relative;
  width: 100%;
  max-width: 585px;
  display: flex;
  align-items: flex-start;
  left: -32px;
  gap: 20px;
}

#footer_right {
  position: relative;
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 35.5px;
  padding: 24px 0 15px 0;
}

#footer_right_links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px 48px;
  margin: -5px 0 0;
  padding: 0;
  left: 1px;
}

#footer_right_links a:nth-child(1) {
  top: -1px;
}

#footer_links {
  position: relative;
  background: #ffaa0a;
}

#footer_links .rows-inner {
  display: flex;
  justify-content: space-between;
  gap: 10px 10px;
  box-sizing: border-box;
  min-height: 41px;
  padding: 10px 10px 10px 182px !important;
  align-items: center;
}

#footer_links a::before {
  content: "";
  position: absolute;
  background: url(/pics/footer_links_icon.png) no-repeat left top;
  width: 21px;
  height: 13px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: -1px 0 0;
}

#footer_links a:is(:hover, :focus):before {
  left: -1px;
  background-position: left bottom;
}

#footer_links a {
  padding: 0 0 0 29px;
}

#footer_top {
  background: #0d0203;
  position: relative;
}

#footer_links .rows-inner a:nth-child(3) {
  left: -59px;
}

#footer_links .rows-inner a:nth-child(2) {
  left: -28px;
}

/* links */
section#links {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

#footer_top h2 a {
  position: relative;
  font-family: "Space Grotesk", sans-serif;
  color: #fff;
  font-size: clamp(28px, 46vw/12, 46px);
  line-height: clamp(28px, 46vw/12, 46px);
  font-weight: 500;
  text-decoration: none;
  display: inline-grid;
  letter-spacing: -0.5px;
}

#footer_top h2 {
  position: relative;
  margin: 0;
  padding: 33px 0 0;
  left: -2.5px;
}

#links .HPLinks tbody {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: 925px;
  margin: 0;
  align-items: center;
  width: 100%;
}

section#links table.HPLinks tr {
  width: 154px;
  box-sizing: border-box;
  margin: 0;
  position: relative;
  border-left: 1px solid #5c0b16;
  border-bottom: 1px solid #5c0b16;
}

section#links table.HPLinks tr:nth-last-child(2).en-acc-readable-item, section#links table.HPLinks tr:nth-child(6n) {
  border-right: 1px solid #5c0b16;
}

section#links table.HPLinks #l,
section#links table.HPLinks .tableLeft {
  display: none;
}

section#links .container>div {
  width: 100%;
  background: #0d0203;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

section#links table.HPLinks #r,
section#links table.HPLinks .tableRight {
  display: flex;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  padding: 0;
  min-height: 147px;
}

section#links table.HPLinks a {
  position: relative;
  z-index: 9;
  color: #fff;
  font-size: clamp(16px, 18vw/11, 18px);
  font-weight: 500;
  font-family: "Space Grotesk", sans-serif;
  line-height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 34px 20px 35px 19px;
  box-sizing: border-box;
  transition: 0.3s all ease;
  letter-spacing: 0.2px;
  text-align: center;
  text-decoration: none;
  min-height: 147px;
  background: #0d0203;
}

section#links table.HPLinks a:is(:hover, :focus) {
  color: #fff;
  background: #2b050a;
}

section#links table.HPLinks #showAll-hplinks {
  width: fit-content;
  min-height: auto;
  position: absolute;
  left: -0.5px;
  margin: 0;
  top: 92px;
  border: 0;
}

#showAll-hplinks .tableRight {
  min-height: auto !important;
}

section#links table.HPLinks #showAll-hplinks .tableRight a {
  position: relative;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(13px, 14vw/12, 14px);
  line-height: 20px;
  color: #fff;
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  box-sizing: border-box;
  letter-spacing: 0.3px;
  padding: 0 42px 0 0;
  transition: 0.4s all ease;
  box-sizing: border-box;
  border-radius: 0;
  min-height: auto;
  box-shadow: none;
  border: 0;
  z-index: 1;
  background: transparent;
}

section#links table.HPLinks #showAll-hplinks .tableRight a:is(:hover, :focus) {
  color: #0d0203;
  padding: 0 0 0 36.5px;
}

section#links table.HPLinks #showAll-hplinks .tableRight a::before {
  content: "";
  position: absolute;
  background: url(/pics/linkshowall_icon.png) no-repeat left top;
  width: 35px;
  height: 36px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  margin: -2px 0 0;
  transition: .4s all ease;
}

section#links table.HPLinks #showAll-hplinks .tableRight a:is(:hover, :focus):before {
  right: auto;
  left: 0;
  margin: -2px 0 0;
  background-position: right bottom;
}

section#links table.HPLinks #showAll-hplinks .tableRight a::after {
  content: "";
  position: absolute;
  background: #ffaa0a;
  width: 0;
  height: 100%;
  left: 0;
  z-index: -1;
  transition: .4s all ease;
  right: auto;
  bottom: unset;
}

section#links table.HPLinks #showAll-hplinks .tableRight a:is(:hover, :focus):after {
  width: 100%;
  left: 10px;
}

section#links table.HPLinks {
  padding: 0;
  margin: 0;
}

section#links .container {
  width: 100%;
  max-width: 925px;
  margin: 0 0.28px 0 0;
}

section#links table.HPLinks a::after {
  content: "";
  position: absolute;
  background: url(/pics/linkshover_icon.png) no-repeat right bottom;
  width: 12px;
  height: 12px;
  right: 15px;
  bottom: 14px;
  opacity: 0;
  transition: .4s all ease;
}

section#links table.HPLinks a:is(:hover, :focus):after {
  opacity: 1;
}

@media only screen and (max-width: 1280px) {
  footer.enf1>div.enf-main>div.enf-main-inner {
    width: auto;
    gap: 20px;
    padding-inline: 10px;
  }

  .enf-subfooter-inner {
    margin-inline: 10px;
  }

  #footer_left, #footer_top h2 {
    left: 0;
  }

  #footer_right_links {
    left: 0;
  }

  section#links {
    padding-inline: 10px;
    box-sizing: border-box;
  }

  section#links table.HPLinks #showAll-hplinks {
    left: 12px;
  }

  #footer_right_links a:nth-child(1) {
    top: 0;
  }

  footer .enf1-webste-name {
    left: 0;
  }

  #footer_links .rows-inner {
    padding: 10px 10px 10px 212px !important;
    max-width: 100%;
  }

  #footer_links a {
    left: 0 !important;
  }
}

@media only screen and (max-width: 1200px) {
  section#links table.HPLinks tr {
    width: 16.5%;
  }
}

@media only screen and (max-width: 1099px) {
  #footer_right_links {
    gap: 10px 20px;
    margin: 0;
    justify-content: flex-end;
  }

  #footer_right_links a img {
    width: 100%;
  }

  #footer_right_links a {
    width: 100%;
  }

  footer .enf-address {
    width: auto;
    top: 0;
  }

  section#links table.HPLinks a {
    padding-inline: 10px;
    font-size: clamp(14px, 18vw/11, 18px);
  }

  section#links table.HPLinks a::after {
    right: 9px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1099px) {
  #footer_links a {
    font-size: 13px;
  }
}

@media only screen and (max-width:991px) {
  footer.enf1 .enf1-logo-cont {
    margin: 0;
  }

  footer .enf1-webste-name {
    padding: 0;
  }

  #footer_right {
    padding: 0;
  }

  #footer_links .rows-inner {
    padding-inline: 10px !important;
  }
}

@media only screen and (min-width: 769px) and (max-width: 991px) {
  footer.enf1 .enf1-logo-cont img {
    width: clamp(115px, 181vw/11, 181px);
  }

  footer.enf1>div.enf-main>div.enf-main-inner {
    padding-block: 15px;
    align-items: center;
  }

  footer .enf1-webste-name {
    width: auto;
    font-size: clamp(18px, 30.6vw/13, 30.6px);
    line-height: clamp(22px, 36vw/13, 36px);
  }

  #footer_right {
    gap: 10px 20px;
    flex-wrap: nowrap;
  }

  #footer_right_links {
    width: 50%;
  }

  #footer_left {
    align-items: center;
  }

  #footer_links a {
    font-size: 12.5px;
  }
}

@media only screen and (max-width: 768px) {
  footer.enf1>div.enf-main>div.enf-main-inner {
    flex-direction: column;
    align-items: center;
    padding: 15px 10px 30px;
  }

  footer .enf1-webste-name {
    text-align: center;
    font-size: clamp(20px, 30vw/9, 30px);
    line-height: clamp(23px, 36vw/9, 36px);
    justify-content: center;
    margin: 0;
  }

  #footer_left, #footer_right {
    flex-direction: column;
    align-items: center;
  }

  footer .enf-address {
    max-width: 100%;
    flex-direction: row;
  }

  #footer_right_links {
    justify-content: center;
    width: 100%;
    max-width: 200px;
  }

  #footer_right {
    gap: 25px;
  }

  footer.enf1 .enf1-logo-cont img {
    width: clamp(110px, 181vw/9, 181px);
  }

  #footer_links .rows-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 285px;
  }

  footer .enf1-webste-name span {
    font-size: clamp(14px, 22vw/9, 22px);
    line-height: clamp(14px, 22vw/9, 22px);
  }

  #footer_right_links a {
    max-width: 32%;
  }

  section#links {
    flex-direction: column;
    align-items: center;
    padding: 35px 10px 95px;
  }

  section#links table.HPLinks {
    position: relative;
  }

  #footer_top h2 {
    left: 0;
    padding: 0;
  }

  section#links table.HPLinks #showAll-hplinks {
    left: 0;
    right: 0;
    margin: 0 auto;
    top: auto;
    bottom: -55px;
  }

  section#links table.HPLinks tr {
    width: 33%;
    border: 1px solid #5c0b16;
  }

  section#links table.HPLinks a {
    font-size: clamp(15px, 18vw/11, 18px);
  }

  section#links table.HPLinks a, section#links table.HPLinks #r, section#links table.HPLinks .tableRight {
    min-height: 90px;
  }
}

@media only screen and (max-width: 450px) {
  section#links table.HPLinks tr {
    width: 49%;
  }
}