
/* Static recovery layer for the historic Association ECHO site.
   Original page styling is kept, but fixed-position desktop rules are neutralized. */

html {
  -webkit-text-size-adjust: 100%;
  background: #d8dde0;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  background: #d8dde0 !important;
  background-image: none !important;
  color: #333;
  font-family: Arial, Helvetica, sans-serif !important;
  line-height: 1.55;
  overflow-x: hidden;
}

.Section1 {
  width: min(1120px, calc(100% - 28px));
  margin: 24px auto 48px;
}

#masthead {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 105px;
  padding: 24px 28px;
  box-sizing: border-box;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(135deg, #234f68, #183848);
  color: #fff;
}

#masthead h1 {
  color: #fff !important;
  line-height: 1.15;
}

#pagecell1 {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  background: #fff;
  box-sizing: border-box;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0,0,0,.10);
}

#pageName {
  position: relative !important;
  padding: 18px 24px !important;
  margin: 0 !important;
  min-height: 62px;
  box-sizing: border-box;
  border-bottom: 1px solid #ccd2d2 !important;
}

#pageName img {
  max-width: 42%;
  height: auto;
}

#col2 {
  margin-left: 205px !important;
  padding: 22px 28px 34px !important;
  min-height: 520px;
  border-left: 1px solid #ccd2d2 !important;
  box-sizing: border-box;
}

#pageNav {
  position: absolute !important;
  top: 116px !important;
  left: 0 !important;
  width: 205px !important;
  max-width: 205px !important;
  font-size: 13px !important;
  box-sizing: border-box;
  background: #f5f7f7 !important;
}

#pageNav a,
#sectionLinks a {
  overflow-wrap: anywhere;
}

#siteInfo {
  clear: both;
  padding: 16px 24px !important;
}

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

embed, object, iframe {
  max-width: 100%;
}

table {
  max-width: 100%;
}

.archive-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Word-generated inline styles frequently force a white background. */
#col2 p,
#col2 div,
#col2 span {
  max-width: 100%;
}

.archive-unavailable {
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid #d9dfe2;
  background: #f7f9fa;
  color: #5e686e;
  font-size: 14px;
}

@media (max-width: 760px) {
  .Section1 {
    width: min(100% - 16px, 1120px);
    margin-top: 8px;
  }

  #masthead {
    padding: 20px 16px;
    text-align: center;
    border-radius: 10px 10px 0 0;
  }

  #masthead h1,
  #masthead h1 span {
    font-size: 20px !important;
  }

  #pageName {
    padding: 16px !important;
  }

  #pageName img {
    position: static !important;
    display: block;
    max-width: 100%;
    margin-top: 10px;
  }

  #pageNav {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
  }

  #col2 {
    margin-left: 0 !important;
    padding: 18px 16px 26px !important;
    border-left: 0 !important;
  }

  #pageNav a {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  table {
    min-width: 520px;
  }
}
