/* 2025g.css */

body {
	max-width:1024px;
	margin-left: auto;
	margin-right: auto;
	font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size:16px;
	line-height:1.43;
}

a {
  color: #0000E6;
}
a:hover, a:focus {
  color: #c62828; /* deep red */
  text-decoration: underline;
}
:focus {
  outline: 0;
}
a.info {
  position: relative;
  z-index: 24;
  color: #00f;
  text-decoration: underline;
}
a.info:hover, a.info:focus, a.info:active {
  z-index: 25;
  background-color: #ff0;
}
a.info span {position: absolute;
  left: -9000px;
  width: 0;
  overflow: hidden;
}
a.info:hover span, a.info:focus span, a.info:active span {
  display: block;
  position: absolute;
  top: 1em;
  left: 1em;
  width: 12em;
  border: 1px solid #0cf;
  background-color: #cff;
  color: #00b;
  text-align: center;
}

/* Definition list styling */
dt {
  margin-top: 1em; /* Adds space before each term */
  font-weight: bold; /* Makes the term stand out */
}

dd {
  margin-bottom: 1em; /* Adds space after each description */
  margin-left: 1em; /* Indents the description */
}

/* For the first dt in the list, remove the top margin to avoid extra space at the beginning */
dl > dt:first-of-type {
  margin-top: 0;
}

h1 {
    color: white;
    text-align: center;
	font-size: 40px;
    padding: 6px;
    text-decoration: none;
    overflow: hidden;
	line-height:1.50;
}

h3 {
  color: black;
  font-size: 16px;
  text-decoration: underline;
}

h4 {
  font-size: 16px;
  color: #444;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid #ccc;
}

h4.indent {
  margin-left: 5px;
  margin-right: 5px;
}

hr {
  margin-left: 10px;
  margin-right: 10px;
  border-top: medium double #000;
}

hr.blue {
  border-top: medium double #00F;
}

hr.esm {
  border-top: medium double #FF791D;
}

hr.footer {
  border-top: medium double #333;
}

p.indent {
  margin-left: 50px;
  margin-right: 50px;
  text-align: justify;
  text-justify: inter-word;
}

#example, #action {
  margin-left: 50px;
  margin-right: 50px;
  text-align: justify;
  text-justify: inter-word;
}

#action {
  border: medium double #FF791D;
  padding: 20px;
}

#aside {
	float:right; margin-left:20px; margin-bottom:10px;
}

.case-study {
  display: none;
  background-color: #DCEEF8; /* Pale blue */
  padding: 10px;
  line-height: normal;
  text-align: justify;
  text-justify: inter-word;
  border-radius: 8px;
}

.case-study.active {
  display: block;
}

/* Centering Helpers */
.text-center {
  text-align: center;
}

.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-center {
  display: grid;
  place-items: center;
}

.nav-center {
  display: flex;
  justify-content: center;
}

.svg {
  display: block;
  max-width: 480px;
  width: auto;
  height: auto;
}

.2columns p {
  margin-left: 10px;
  margin-right: 10px;
  font-weight: bold;
}

.column1 {
  margin-left: 10px;
}

.footer {
  margin-left: 10px;
  margin-right: 10px;
}

.spacer {
  height: 3px;
  background-color: #336699;
  width: 85%;
}

.clear {
  clear: both;
  height: 0;
  line-height: 0;
}

quote {
  color: Navy;
}

/* Make all navbar links cobalt blue */
.navbar-default .navbar-nav > li > a {
  color: #0047AB !important;
}

figure iframe {
  border: none;           /* replaces frameborder="0" */
  /* optionally also remove any default outline */
  outline: none;
}

figcaption{
  text-align: center;
}

@media print {
  img {
    max-width: 50%;
    page-break-inside: avoid;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  
  footer, .footer {
    font-size: 14px;
    line-height: 1.6;
    padding: 10px 5px;
  }

  h1 {
    font-size: 28px;
    padding: 12px;
    line-height: 1.3;
  }

  h4 {
    font-size: 14px;
    text-align: left;
    margin-left: 2px;
    margin-right: 2px;
    color: #777;
  }
  
	figure img {
		width: 50%;
		height: auto;
	}
}


@media (max-width: 580px) {
	body {
		margin-left: 2px;
	}
  
	figure img {
		width: 50%;
		height: auto;
	}
}

/* added for 2025g.css */
/* Bootstrap 5 compatibility for legacy sr-only classes */
.sr-only {
  position: absolute !important;
  width: 1px; 
  height: 1px;
  padding: 0; 
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

/* Show when focused (old sr-only-focusable behaviour) */
.sr-only-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px; 
  height: 1px;
  padding: 0; 
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}
