﻿:root {
  --mm-primary: #0f8f48;
  --mm-primary-ink: #ffffff;
  --mm-accent: #ff8a00;
  --mm-bg: #f3f6fb;
  --mm-surface: #ffffff;
  --mm-ink: #1f2a37;
  --mm-muted: #64748b;
  --mm-border: #dbe2ea;
  --mm-shadow: 0 10px 28px rgba(8, 30, 52, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--mm-ink);
  background: radial-gradient(circle at 20% -20%, #ffffff, var(--mm-bg) 55%);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

a {
  color: #0b66c2;
}

a:hover {
  color: #084a8f;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

.mm-shell,
.wrapper,
.wrapper-max,
.container_01auto,
.top_hadaut,
.ft_lgauto,
#leftrightcontainer {
  width: min(100%, 1000px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(8px, 2vw, 16px);
  padding-right: clamp(8px, 2vw, 16px);
}

.container_01,
.top_had01,
.top_had02,
.ft_lg {
  width: 100% !important;
}

.mm-alert {
  width: min(100%, 1100px);
  margin: 12px auto;
  padding: 12px 14px;
  border: 1px solid #f3d98e;
  border-left: 4px solid var(--mm-accent);
  background: #fff9e8;
  color: #694800;
  border-radius: 10px;
  font-weight: 600;
}

.mm-topbar {
  background: linear-gradient(90deg, #0a6b35, var(--mm-primary));
  color: var(--mm-primary-ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mm-topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 6px;
  padding-bottom: 6px;
}

.mm-top-links,
.mm-user-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
}

.mm-top-links a,
.mm-user-meta a {
  color: var(--mm-primary-ink);
  text-decoration: none;
}

.mm-top-links a:hover,
.mm-user-meta a:hover {
  text-decoration: underline;
}

.mm-user-pill {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 600;
}

.mm-nav-shell {
  background: var(--mm-surface);
  border-bottom: 1px solid var(--mm-border);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  position: sticky;
  top: 0;
  z-index: 1200;
}

.mm-nav-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mm-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.mm-brand img {
  width: 168px;
  max-width: 34vw;
  height: auto;
  border-radius: 8px;
}

.mm-nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--mm-border);
  background: #fff;
  color: #0f172a;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.mm-main-nav {
  margin-left: auto;
}

.mm-main-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

.mm-main-list > li {
  position: relative;
}

.mm-main-list > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
}

.mm-main-list > li > a:hover {
  background: #f1f5f9;
}

.mm-has-sub {
  display: flex;
  align-items: center;
}

.mm-sub-toggle {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #334155;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

.mm-sub-toggle:hover {
  background: #e8eef7;
}

.mm-sub-list {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  margin: 6px 0 0 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--mm-border);
  border-radius: 12px;
  box-shadow: var(--mm-shadow);
  display: none;
}

.mm-sub-list li a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #0f172a;
  text-decoration: none;
  font-size: 14px;
}

.mm-sub-list li a:hover {
  background: #eef4fb;
}

.mm-has-sub:hover > .mm-sub-list,
.mm-has-sub.is-open > .mm-sub-list {
  display: block;
}

.mm-footer {
  margin-top: 28px;
  border-top: 1px solid var(--mm-border);
  background: #ffffff;
}

.mm-footer .mm-shell {
  padding-top: 24px;
  padding-bottom: 22px;
}

.mm-footer-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--mm-muted);
}

.mm-footer-ribbon strong {
  color: #111827;
}

.mm-footer-ribbon a {
  text-decoration: none;
}

.mm-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mm-footer-col {
  background: #f9fbff;
  border: 1px solid var(--mm-border);
  border-radius: 12px;
  padding: 12px;
}

.mm-footer-col h4 {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #0f172a;
}

.mm-footer-col a {
  display: block;
  margin: 3px 0;
  font-size: 13px;
  text-decoration: none;
}

.mm-footer-copy {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--mm-border);
  color: var(--mm-muted);
  font-size: 12px;
  text-align: center;
}

/* improve legacy blocks on medium screens */
@media (max-width: 1024px) {
  .mconp_02,
  .mconp_03,
  .mconp_03lt,
  .mconp_03rt,
  .mconp_03lt1,
  .mconp_03lt2,
  .mconp_02lt,
  .mconp_02rt,
  .serv_01,
  .serv_02,
  .fleft,
  .fright {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .mconp_02rt,
  .mconp_03rt,
  .mconp_03lt1,
  .mconp_03lt2 {
    margin-top: 12px !important;
  }

  .wrapper .bdr.bot-shadow {
    width: 100% !important;
    margin: 0 !important;
  }
}

@media (max-width: 900px) {
  .mm-nav-inner {
    min-height: 62px;
  }

  .mm-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mm-main-nav {
    width: 100%;
    display: none;
    margin-left: 0;
    padding-bottom: 10px;
  }

  .mm-main-nav.is-open {
    display: block;
  }

  .mm-main-list {
    display: block;
    border-top: 1px solid var(--mm-border);
    padding-top: 8px;
  }

  .mm-main-list > li > a {
    width: calc(100% - 4px);
    padding: 10px;
  }

  .mm-has-sub {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .mm-sub-list {
    position: static;
    min-width: 0;
    margin: 0 8px 8px 8px;
    box-shadow: none;
    border-radius: 10px;
  }

  .mm-has-sub:hover > .mm-sub-list {
    display: none;
  }

  .mm-has-sub.is-open > .mm-sub-list {
    display: block;
  }

  .mm-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .mm-topbar-inner {
    gap: 8px;
  }

  .mm-user-pill {
    width: 100%;
    border-radius: 10px;
  }

  .mm-footer-grid {
    grid-template-columns: 1fr;
  }

  table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
    white-space: nowrap;
  }

  iframe,
  .translucent_cover {
    max-width: 100%;
  }
}
