.mmd-flex {
  display: flex;
}

.mmd-flex-column {
  flex-direction: column;
}

.mmd-items-center {
  align-items: center;
}

.mmd-cursor {
  cursor: pointer;
}

.mmd-bottom-gray-border {
  border-bottom: 1px solid #e9e9e9;
  padding-bottom: 15px;
}
/*
.mmd-pl-icon {
  padding-left: 25px;
}
*/
/*.mmd-ml-icon {
  margin-left: 25px !important;
}*/

.mmd-ml-auto {
  margin-left: auto;
}

.mmd-mb-8px {
  margin-bottom: 8px;
}

.mmd-anchor {
  position: absolute;
  margin-top: -200px;
}

.mmd-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.mmd-sidebar {
  background-color: #e9e9e9;
  min-width: 300px;
  min-height: 60vh;
}
.mmd-sidebar a {
  display: flex;
  text-decoration: none;
  padding: 12px 16px;
  font-size: 18px;
  line-height: normal;
  font-weight: bold;
  color: #383838;
  position: relative;
}

.mmd-sidebar a.active,
.mmd-sidebar a:hover {
  color: #ff2e08;
  background-color: #1c1c1c;
}

.mmd-sidebar a span {
  margin-right: 30px;
}

.mmd-sidebar a:hover:after,
.mmd-sidebar a.active::after {
  content: "";
    display: inline-block;
    width: 22px;
    height: 19px;
    background-image: url("data:image/svg+xml;utf8,<svg width='22' height='19' viewBox='0 0 22 19' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M20.5312 10.5781L13.0312 18.0781C12.4688 18.6875 11.4844 18.6875 10.9219 18.0781C10.3125 17.5156 10.3125 16.5312 10.9219 15.9688L15.8438 11H1.5C0.65625 11 0 10.3438 0 9.5C0 8.70312 0.65625 8 1.5 8H15.8438L10.9219 3.07812C10.3125 2.51562 10.3125 1.53125 10.9219 0.96875C11.4844 0.359375 12.4688 0.359375 13.0312 0.96875L20.5312 8.46875C21.1406 9.03125 21.1406 10.0156 20.5312 10.5781Z' fill='%23FF2E08'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.mmd-content {
  flex: 1;
}

.mmd-content .title {
  font-size: 28px;
  margin-bottom: 28px;
  padding-top: 12px;
}

.mmd-sidebar .title {
  margin-bottom: 0;
  font-size: 28px;
  padding: 12px 16px;
}

.mobile-title {
  font-size: 28px !important;
  display: none;
}

.mmd-content .description {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 40px;
}

.mmd-download-items + .mmd-download-items {
  margin-top: 32px;
}

.mmd-latest-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mmd-latest-header-left {
  display: flex;
  align-items: center;
}

.mmd-latest-headline {
  color: #ff2e08;
  font-size: 20px !important;
  font-weight: bold;
  line-height: normal !important;
  margin: 0 !important;
}

.mmd-icon.file {
  height: auto;
  width: 15px;
  margin-right: 10px;
}

.mmd-latest-tag {
  padding: 3px 8px;
  background: #ff2e08;
  color: white;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
  line-height: 21px;
}

.mmd-download-controls {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.mmd-date {
  font-size: 14px;
  line-height: normal;
}

.mmd-older-version-title {
  font-size: 14px !important;
  line-height: normal !important;
  font-weight: bold;
  margin-top: 15px !important;
  margin-bottom: 0 !important;
}

.mmd-older-version-item {
  padding: 15px 0;
}

.mmd-version-item-title {
  font-size: 16px;
  line-height: normal;
  font-weight: bold;
  color: #383838;
  margin: 0 0 0 0 !important;
}

.mmd-category-select {
  display: none;
  margin-bottom: 1rem;
}
.mmd-mobile-header {
  display: none;
  cursor: pointer;
  margin-bottom: 32px;
  background: #1c1c1c;
  padding: 16px 12px;
  color: #ff2e08;
  font-weight: bold;
}

.mmd-mobile-header.mmd-opened {
    margin-bottom: 0;
}

#mmd-mobile-categories {
  display: none;
  margin-bottom: 1rem;
}
#mmd-mobile-categories.mmd-open {
  display: flex;
}

.mmd-mobile-header svg {
  transition: transform 0.3s ease;
}

.mmd-mobile-header.mmd-opened svg {
  transform: rotate(180deg);
}

.mmd-download-icon {
  margin-left: 8px;
}

@media (max-width: 1024px) {
  .mmd-sidebar {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .mmd-container {
    flex-direction: column;
  }
  .mmd-sidebar {
    display: none;
  }
  .mmd-category-select {
    display: block;
  }

  .mmd-category-select {
    display: flex;
    flex-direction: column;
    background-color:#e9e9e9;
    margin-bottom: 32px !important;
  }

  .mmd-category-select a {
    padding: 16px 12px;
    font-weight: bold;
    display: block;
  }

  .mmd-mobile-header {
    display: flex;
  }

  .mobile-title {
    display: block;
  }
}

/*Dropdown*/

.mmd-dropdown {
  position: relative;
  width: 80px;
  border-radius: 44px;
  height: 40px;
  padding: 4px 16px;
  background: #e9e9e9;
  cursor: pointer;
  font-size: 18px;
}

.mmd-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.mmd-dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.mmd-dropdown-icon svg {
  transition: transform 0.3s ease;
}

.mmd-dropdown.open .mmd-dropdown-icon svg {
  transform: rotate(180deg);
}

.mmd-dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #1C1C1C;
  display: none;
  margin-top: 4px;
  z-index: 10;
  overflow: hidden;
}

.mmd-dropdown.open .mmd-dropdown-options {
  display: block;
}

.mmd-option {
  padding: 6px 10px;
  font-size: 18px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
}

.mmd-option:hover {
  color: #FF2E08;
}

.mmd-option.selected {
  font-weight: bold;
}

.mmd-option.selected::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.6875 3.3125C15.0938 3.6875 15.0938 4.34375 14.6875 4.71875L6.6875 12.7188C6.3125 13.125 5.65625 13.125 5.28125 12.7188L1.28125 8.71875C0.875 8.34375 0.875 7.6875 1.28125 7.3125C1.65625 6.90625 2.3125 6.90625 2.6875 7.3125L6 10.5938L13.2812 3.3125C13.6562 2.90625 14.3125 2.90625 14.6875 3.3125Z' fill='%23FF2E08'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: auto;
  vertical-align: middle;
}

.mmd-option:last-child {
  border-bottom: none;
}


.mmd-selected {
  font-size: 18px;
}
