:root > * {
  --md-primary-fg-color: #3b9702;
  --md-primary-fg-color--light: #3b9702;
  --md-primary-fg-color--dark: #3b9702;
  --md-accent-fg-color: #2d7301;
  --md-typeset-a-color: #3b9702;
}

[data-md-color-scheme="slate"] {
  --md-default-fg-color--light: #ffffff;
  --md-typeset-a-color: #3b9702;
  --md-default-bg-color: #333333;
}

.mdl-mega-footer {
  padding: 16px 40px;
  color: #e0e0e0;
  background-color: #424242;
}

.mdl-color-text--grey-700 {
  color: #e0e0e0 !important;
}

section {
  padding-top: 16px;
  margin-bottom: 16px;
}

.footer-payment_line {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: end;
  margin-top: 45px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-right: 67px;
}

.footer-social__item {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: flex-end;
  text-align: right;
}

.icon {
  width: 25px;
  height: 25px;
  transition: 0.3s all;

  @media (max-width: 500px) {
    width: 22px;
    height: 22px;
  }
}

.icon img {
  border-style: none;
  max-height: 100%;
  max-width: 100%;
}

a.footer-social__item:hover {
  .icon {
    transform: scale(1.1);
    opacity: 1;
  }
}

.mdl-mega-footer__drop-down-section {
  display: block;
}

.mdl-mega-footer__heading {
  position: relative;
  width: 100%;
  padding-right: 39.8px;
  margin-bottom: 16px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 23.8px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #e0e0e0;
}

.footer-body {
  font-family: "Roboto", "Helvetica", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.footer-block {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 16px;
  margin-bottom: 20px;
}

@media screen and (max-width: 1350px) {
  .footer-main {
    margin-bottom: 20px;
  }
}

.footer-main ul:not(.select-language__dropDownList) {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-main img {
  max-width: 100%;
  max-height: 100%;
}

.footer-main__block {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-main__info {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-main__group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-main__group ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-main__link {
  font-size: 14px;
  letter-spacing: 0;
  transition: all 0.3s;
  color: #e0e0e0;
}

.footer-main__title-link {
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.3s;
  line-height: 1.5;
  color: #3b9702;
}

.footer-main__link:hover {
  color: var(--md-accent-fg-color);
}

.footer-main__group-links {
  display: flex;
  flex-direction: column;
  gap: 15px 30px;
  flex-wrap: wrap;
  justify-content: flex-end;
  height: fit-content;
  max-width: 480px;
  width: 100%;
}

@media screen and (max-width: 650px) {
  .footer-main__group-links {
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    justify-content: initial;
    flex-wrap: nowrap;
  }
}

@media screen and (max-width: 450px) {
  .footer-main__info {
    flex-direction: column;
    justify-content: flex-start;
    margin: 0 auto 45px;
  }
}

.footer-main__nav-link {
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: 0.3s color;
  line-height: 1.5;
}

.footer-main__nav-link:not(.footer-main__nav-link--no-hover):hover {
  color: #3b9702;
}

.footer-main__nav-link:not(.footer-main__nav-link--no-hover):hover {
  fill: #3b9702;
}

.footer-main__group-links-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-main__group-links-language {
  width: 100%;
  height: fit-content;
  flex-shrink: 1;
}

.footer-main__group-links-item:not(:last-child) {
  margin-bottom: 15px;
}

.footer-main__group-links-item:not(
    .footer-main__group-links-item--noHover
  ):hover {
  color: #3b9702;
}

.footer-main__group-links-item:hover .footer-main__icon {
  transform: scale(1.1);
  opacity: 1;
}

.footer-main__icon {
  width: 30px;
  height: 30px;
  transition: 0.3s all;
  opacity: 0.9;
}

.footer-copyright-rest {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

.footer-copyright-rest__logo {
  width: 75px;
  height: 75px;
  min-width: 75px;
}

.footer-copyright-rest__logo img {
  max-height: 100%;
  max-width: 100%;
}

.footer-copyright-rest__text {
  flex-direction: column;
  display: flex;
  gap: 5px;
}

.mb-30 {
  margin-bottom: 30px;
}

@media screen and (max-width: 1100px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    margin-bottom: 45px;
  }

  .footer-main__info {
    margin-bottom: 45px;
    gap: 45px;
    justify-content: center;
  }

  .footer-copyright-rest {
    flex-direction: column;
  }

  .mdl-mega-footer__bottom-section {
    flex-direction: column;
    text-align: center;
  }

  .footer-payment_line span:last-child {
    padding-right: 0;
  }

  .footer-social {
    margin-right: 0;
  }
}

.mdl-mega-footer__bottom-section {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

@media screen and (max-width: 500px) {
  .footer-payment_line {
    padding: 0 30px;
    justify-content: center;
  }

  .footer-block {
    flex-direction: column;
    align-items: center;
  }

  .mdl-mega-footer__bottom-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .footer-payment_line {
    text-align: center;
  }
}

.mdl-mega-footer__left-section {
  float: left;
  margin-bottom: 16px;
}

.mdl-mega-footer__middle-section {
  display: block;
}

.mdl-mega-footer__right-section {
  display: inline-block;
  line-height: 36px;
  vertical-align: middle;
  font-weight: 500;
}

img {
  vertical-align: middle;
}

img.framed {
  border: 2px solid #bababa;
  border-radius: 5px;
  padding: 0px;
  box-shadow: 2px 2px 10px rgba(34, 70, 36, 0.6);
}

iframe.framed {
  border: 3px solid #bababa;
  border-radius: 7px;
  box-shadow: 2px 2px 10px rgba(34, 70, 36, 0.6);
  display: block;
}

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

iframe.framed {
  border: 3px solid #bababa;
  border-radius: 7px;
  box-shadow: 2px 2px 10px rgba(34, 70, 36, 0.6);
  display: block;
}

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

.sg-footer {
  background-color: #1a1a1a;
}

:root {
  --md-admonition-icon--success: url("https://upload.wikimedia.org/wikipedia/commons/c/c3/Python-logo-notext.svg");
  --md-admonition-icon--ratelimiter-example: url("https://api.iconify.design/noto/lizard.svg");
  --md-admonition-icon--green-note: url("https://img.icons8.com/?size=1x&id=jCmEz2kpksC4&format=png");
  --md-admonition-icon--warning: url("https://img.icons8.com/?size=100&id=83164&format=png&color=FF6600");
  --md-admonition-icon--question: url("https://img.icons8.com/?size=100&id=84097&format=png&color=3B9702");
}

.md-typeset .admonition.warning,
.md-typeset details.warning {
  border-color: #ff6600;
}

.md-typeset .admonition,
.md-typeset details.success {
  border-width: 0;
  border-left-width: 4px;
}

.md-typeset .warning > .admonition-title::before,
.md-typeset .warning > summary::before {
  background-color: #ff6600;
  mask-image: var(--md-admonition-icon--warning);
  -webkit-mask-image: var(--md-admonition-icon--warning);
}

.md-typeset .warning > .admonition-title,
.md-typeset .warning > summary {
  background-color: rgba(255, 102, 0, 0.048);
}

.md-typeset .admonition.question,
.md-typeset details.question {
  border-color: #3b9702;
}

.md-typeset .question > .admonition-title,
.md-typeset .question > summary {
  background-color: rgb(59, 151, 2, 0.1);
}

.md-typeset .question > .admonition-title::before,
.md-typeset .question > summary::before {
  background-color: #3b9702;
  mask-image: var(--md-admonition-icon--question);
  -webkit-mask-image: var(--md-admonition-icon--question);
}

.md-typeset .admonition.ratelimiter-example,
.md-typeset details.ratelimiter-example {
  border-color: #3b9702;
}

.md-typeset .ratelimiter-example > .admonition-title,
.md-typeset .ratelimiter-example > summary {
  background-color: rgb(59, 151, 2, 0.1);
}

.md-typeset .ratelimiter-example > .admonition-title::before,
.md-typeset .ratelimiter-example > summary::before {
  background-color: #3b9702;
  mask-image: var(--md-admonition-icon--ratelimiter-example);
  -webkit-mask-image: var(--md-admonition-icon--ratelimiter-example);
}

.md-typeset .admonition.success,
.md-typeset details.success {
  border-color: #3b9702;
}

.md-typeset .success > .admonition-title,
.md-typeset .success > summary {
  background-color: rgb(59, 151, 2, 0.1);
}

.md-typeset .success > .admonition-title::before,
.md-typeset .success > summary::before {
  background-color: #3b9702;
  mask-image: var(--md-admonition-icon--success);
  -webkit-mask-image: var(--md-admonition-icon--success);
}

.md-typeset .admonition.green-note,
.md-typeset details.green-note {
  border-color: #3b9702;
}

.md-typeset .green-note > .admonition-title,
.md-typeset .green-note > summary {
  background-color: rgb(59, 151, 2, 0.1);
}

.md-typeset .green-note > .admonition-title::before,
.md-typeset .green-note > summary::before {
  background-color: #3b9702;
  mask-image: var(--md-admonition-icon--green-note);
  -webkit-mask-image: var(--md-admonition-icon--green-note);
}

.md-typeset__table {
  width: 100%;
}

.md-typeset table:not([class]) {
  display: table;
}

.md-button--primary.link-border {
  border-radius: 6px;
  font-size: 0.8rem;
}

.md-button--primary.link-border:hover {
  background-color: #3b9702;
  border-color: #3b9702;
  color: #ffffff;
}

.md-button--primary.link-border:focus {
  background-color: #3b9702;
  border-color: #3b9702;
  color: #ffffff;
}

.md-postman--primary.link-border {
  border-radius: 6px;
  font-size: 0.8rem;
  color: #ffffff;
  background-color: #ff6600;
  border-color: #ff6600;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.md-postman--primary.link-border:hover {
  background-color: #ff6600;
  border-color: #ff6600;
  color: #ffffff;
}

.md-postman--primary.link-border:focus {
  background-color: #ff6600;
  border-color: #ff6600;
  color: #ffffff;
}

.method-header {
  display: flex;
  column-gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.md-content__button {
  display: none;
}

.mobile-apps-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: end;
  flex-direction: column;
  gap: 15px;
}

.mobile-apps-wrapper a {
  width: fit-content;
}

.select-language__label {
  cursor: pointer;
}

.select-language__label svg path,
.select-language__label svg circle {
  transition: 0.3s all;
}

.select-language__label:hover {
  color: #3b9702;
}

.select-language__label:hover svg path:not(:last-child),
.select-language__label:hover svg circle {
  stroke: #3b9702;
}

.select-language__label:hover svg path:last-child {
  fill: #3b9702;
}

.select-language__flagLabel {
  display: none;
}

.select-language__desktopContent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.select-language__list {
  width: max-content;
  min-width: 180px;
}

.position-relative {
  position: relative;
}

.select-language__dropDownList {
  position: absolute;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: 0.5s all;
  top: calc(100% + 10px);
  right: -10px;
  background: #ffffff;
  padding: 10px;
  text-align: center;
  border-radius: 8px;
  transform: scaleY(0.8);
  transform-origin: top center;
  box-shadow: 0 2px 12px 2px rgba(0, 0, 0, 0.25);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.select-language__dropDownList--active {
  opacity: 1;
  transform: scaleY(1);
  pointer-events: initial;
}

.select-language__icon {
  width: 25px;
  font-size: 16px;
  height: 25px;
}

.select-language__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
}

.select-language__link {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
  align-items: center;
  color: #4b4b4b;
}

@media screen and (max-width: 700px) {
  .select-language__flagLabel {
    display: block;
  }

  .select-language__desktopContent {
    /*display: none;*/
  }
}

.plaque {
  display: inline-block;
  padding: 9px 15px;
  color: #000000;
  font-size: 16px;
  border-radius: 2px;
  background-color: #f5f5f5;
}

.plaque-large {
  display: inline-block;
  padding: 14px 15px;
  color: #000000;
  font-size: 16px;
  border-radius: 2px;
  background-color: #f5f5f5;
}

.breadcrumb {
  margin: 0 auto;
  max-width: 61rem;
  width: 100%;
  padding: 0.5rem 0.5rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: end;
  font-size: 14px;
}

.breadcrumb li {
  color: var(--md-default-fg-color--light);
  transition: color 125ms;
  display: inline-block;
}

.breadcrumb li:not(:last-child):hover {
  color: var(--md-accent-fg-color);
}

.breadcrumb li:not(:last-child)::after {
  display: inline-block;
  margin: 0 0.25rem;
  content: "/";
}

.breadcrumb li:last-child {
  color: var(--md-typeset-a-color);
}

@media screen and (max-width: 750px) {
  .breadcrumb li {
    display: none;
  }

  .breadcrumb li:nth-child(-n + 2),
  .breadcrumb li:last-child {
    display: inline-block;
  }

  .breadcrumb
  li:not(:first-child):not(:last-child):not(:nth-last-child(2)):after {
    content: "...";
  }
}

.astana-hub {
  display: flex;
  flex-direction: column;
  align-self: end;
  min-height: 100px;
  max-width: 310px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 105px;
  z-index: 10;
  opacity: 0;
  transition: all ease-in-out 0.4s;
  background-color: var(--md-default-bg-color);
  width: 180px;
  border-radius: 2px;
  border: 1px solid rgba(224, 224, 224, 1);

  @media screen and (max-width: 1100px) {
    right: 10px;
  }
}

.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  animation: slideIn 0.4s forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.dropdown-list {
  list-style: none;
  padding-inline: 0;
  font-size: 14px;
  padding-block: 9.5px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: start;
}

.list-item {
  padding-block: 4px;
  padding-left: 10px;
  transition: all ease-in-out 0.2s;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  text-align: start;
  color: var(--md-primary-fg-color);

  &:hover {
    background-color: rgba(245, 246, 246, 1);
  }
}

.label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
  transition: opacity ease-in-out 0.2s;
}

.label:hover {
  opacity: 1;
}

.md-tabs__list {
  contain: unset;
}
