@charset "utf-8";

/* =====================
   Base / Reset
   ===================== */
body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-size: 1.1em;
  font-weight: 400;
  color: #ECEAE6;
  background-color: #0D0021;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='16' viewBox='0 0 12 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 .99C4 .445 4.444 0 5 0c.552 0 1 .45 1 .99v4.02C6 5.555 5.556 6 5 6c-.552 0-1-.45-1-.99V.99zm6 8c0-.546.444-.99 1-.99.552 0 1 .45 1 .99v4.02c0 .546-.444.99-1 .99-.552 0-1-.45-1-.99V8.99z' fill='%236525cc' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* =====================
   Header
   ===================== */
header {
  background-image: url("../images/flag-bg1.jpg");
  background-size: cover;
  background-position: 50% 50%;
}

.head-title {
  font-family: "trajan-pro-3", serif;
  font-weight: 600;
  font-style: normal;
  color: #0D0021;
  text-align: left;
  text-shadow: 2px 2px 4px #FFFFFF;
  padding: 2em;
}

#officer-title {
  font-size: 2em;
}

#wall-title {
  font-size: 3em;
}

.head-mej-pic {
  max-width: 150px;
  border-radius: 50%;
  border: 0.25em solid #FFFFFF;
  margin: 0.5em 1em;
}

#topbar {
  background-color: #000080;
  height: 1em;
  width: 100%;
}

#boilerplate {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

header h1 {
  text-align: center;
}

#homelink a,
#homelink a:visited {
  text-decoration: none;
  color: #0D0021;
}

.homeicon {
	max-width: 1.75em;
	position: relative;
	top: 9em;
}

.homeicontext {
	font-size: 0.7em;
	position: relative;
	top: 12em;
}

/* =====================
   Navigation & Disciplines
   ===================== */
#nav-btns,
#nav-btns-home,
#disc-btns,
#disc-btns-home {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1em 0;
}

#disc-btns,
#disc-btns-home {
  justify-content: space-around;
}

.nav-btn,
.disc-btn {
  text-align: center;
  padding: 0.75em;
  margin: 0 0.75em;
  border-radius: 1em;
}

.nav-btn {
  background-color: #D4AF37;
}

.disc-btn {
  background-color: #b8860b;
  width: 25%;
  font-size: 1em;
  font-weight: 600;
}

.nav-btn a,
.disc-btn a {
  font-size: 1.2em;
  text-decoration: none;
  color: #ECEAE6;
}

.nav-btn a:hover,
.disc-btn a:hover {
  text-decoration: underline;
  color: #FFFFFF;
}

.nav-btn a:visited,
.disc-btn a:visited {
  color: #FFFFFF;
}

#nav-btns .nav-btn a,
#disc-btns .disc-btn a {
  font-size: 1em;
}
/* =====================
   CSS Button
   ===================== */

.button-3 {
  appearance: none;
  background-color: #b8860b;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 6px;
  box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
/*  font-family: -apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";*/
  font-size: 1em;
  font-weight: 600;
  line-height: 20px;
  padding: 0.75em;
  margin: 0.5em 0.75em;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  white-space: nowrap;
	min-width: 16em;
}

.button-3:focus:not(:focus-visible):not(.focus-visible) {
  box-shadow: none;
  outline: none;
}

.button-3:hover {
  background-color: #003566;
}

.button-3:focus {
  box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
  outline: none;
}

.button-3:disabled {
  background-color: #94d3a2;
  border-color: rgba(27, 31, 35, .1);
  color: rgba(255, 255, 255, .8);
  cursor: default;
}

.button-3:active {
  background-color: #778da9;
  box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
}

.button-3:visited {
	color: #FFF;
}

.btn-agency {
	font-weight: 300;
	font-size: 0.8em;
}

/* =====================
   Main Content
   ===================== */
main {
  max-width: 90%;
  margin: 0 auto;
  padding: 0.75em;
  border-top: 0.25em solid #000080;
  border-bottom: 0.25em solid #D4AF37;
  color: #ECEAE6;
  border-radius: 1em;
}

main a {
  color: #ECEAE6;
}

main a:hover {
  color: #FFFFFF;
}

main a:visited {
  color: #c2c2c2;
}

.page-title {
  text-align: center;
  color: #e0e1dd;
}

.herolist th,
.herolist td {
  padding: 0.25em 0.25em 0.5em 0.25em;
  text-align: center;
}

.herolist .agency {
  font-size: 0.85em;
}

#homecover {
	text-align: center;
}

#homecover img {
	max-width: 80%;
}

#mj-container {
  padding: 2em;
  display: flex;
  flex-wrap: wrap;
  margin: 2em 6em;
  background-color: #000080;
  border: 0.25em solid #FFFFFF;
  border-radius: 1em;
}

.mj-text {
  width: 50%;
  padding-top: 3em;
  text-align: justify;
  color: #ECEAE6;
}

.mj-image {
  width: 50%;
  text-align: center;
}

.head-img {
  width: 250px;
  margin: 0.5em;
  border-radius: 50%;
  border: 0.25em solid #FFFFFF;
}

#hero-container {
  display: flex;
}

.picture-box,
.info-box {
  padding: 2em;
}

.picture-box {
  text-align: center;
}

.picture-box img {
  max-width: 300px;
}

.three-column-list {
  columns: 3;
  column-gap: 2rem;
  list-style: none;
  padding: 0 0 2em 0;
}

.three-column-list li {
  break-inside: avoid;
  padding-bottom: 0.5em;
  text-align: center;
}

.two-column-list {
  columns: 2;
  column-gap: 2rem;
  list-style: none;
  padding: 0 0 2em 0;
}

.two-column-list li {
  break-inside: avoid;
  padding-bottom: 0.5em;
  text-align: center;
}

.two-column-tables {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.two-column-tables .herolist {
  flex: 1;
}

#disc-list {
  list-style: none;
}

footer {
  text-align: center;
  font-size: 0.9em;
  max-width: 1024px;
  margin: 1em auto;
}

footer a {
  color: #FFF;
}


/* =====================
   Responsive — Tablet
   ===================== */
@media screen and (max-width: 768px) {
  .three-column-list {
    columns: 2;

  }
}

/* =====================
   Responsive — Mobile
   ===================== */
@media screen and (max-width: 480px) {
  body {
    font-size: 1em;
  }

  table, thead, tbody, th, td, tr {
    display: block;
	margin: 0 auto;
	width: 100%;
  }

  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  tr {
    margin-bottom: 20px;
    border: 1px solid #DDD;
  }

  td {
    border: none;
    position: relative;
    padding-left: 50%;
	text-align: center;
  }

  td:before {
    position: absolute;
    left: 6px;
    content: attr(data-label);
    font-weight: bold;
  }

  .head-img,
  .head-title img {
    max-width: 90%;
    width: auto;
  }

.head-mej-pic {
  max-width: 250px;
  margin: 1em;
}

  .mj-text {
    width: 100%;
    padding-top: 1em;
  }

  .mj-image {
    width: 100%;
  }

  #mj-container {
    padding: 1em;
    margin: 0 auto;
  }

  .picture-box img {
    max-width: 100%;
  }

  #hero-container {
    flex-wrap: wrap;
  }

  .nav-btn,
  .disc-btn {
    width: 90%;
    margin: 0.5em auto;
  }

  .three-column-list {
    columns: 1;
    text-align: center;
  }

  .two-column-tables {
    flex-direction: column;
  }
	
  .button-3 {
	min-width: 1em;
	width: 85%;
	}

	#disc-list {
		padding-left: 0;
		text-align: center;
	}
	
  #disc-list li {
	margin-bottom: 0.75em;	
	}
}