@font-face {
  font-family: "G.I. 400";
  src: url("../fonts/G.I.-400.ttf") format(ttf),
    url("../fonts/G.I.-400.ttf") format(otf),
    url("../fonts/G.I.-400.woff") format(woff),
    url("../fonts/G.I.-400.woff2") format(woff2),
    url("../fonts/G.I.-400Italic.ttf") format(ttf),
    url("../fonts/G.I.-400Italic.ttf") format(otf),
    url("../fonts/G.I.-400Italic.woff") format(woff),
    url("../fonts/G.I.-400Italic.woff2") format(woff2);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "G.I. 530";
  src: url("../fonts/G.I.-530.ttf") format(ttf),
    url("../fonts/G.I.-530.ttf") format(otf),
    url("../fonts/G.I.-530.woff") format(woff),
    url("../fonts/G.I.-530.woff2") format(woff2),
    url("../fonts/G.I.-530Italic.ttf") format(ttf),
    url("../fonts/G.I.-530Italic.ttf") format(otf),
    url("../fonts/G.I.-530Italic.woff") format(woff),
    url("../fonts/G.I.-530Italic.woff2") format(woff2);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "G.I. 750";
  src: url("../fonts/G.I.-750.ttf") format(ttf),
    url("../fonts/G.I.-750.ttf") format(otf),
    url("../fonts/G.I.-750.woff") format(woff),
    url("../fonts/G.I.-750.woff2") format(woff2),
    url("../fonts/G.I.-750Italic.ttf") format(ttf),
    url("../fonts/G.I.-750Italic.ttf") format(otf),
    url("../fonts/G.I.-750Italic.woff") format(woff),
    url("../fonts/G.I.-750Italic.woff2") format(woff2);
  font-weight: normal;
  font-style: normal;
}

html {
  margin: 0;
  padding: 0;
  flex: 1;
  height: 100%;
  /* min-height: 500vh; */
}

body {
  /* block-size: fit-content; */
  width: 100%;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  background-color: #221f20;
  /* justify-content: center; */
  display: flex;
  /* height: 100vh; */
  flex-direction: column;
}

/* Horizontal Army logo container */
.topBanner {
  height: 40px;
  background-size: 150px;
  background-color: #221f20;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  background-origin: content-box;
  background-image: url("../images/horizontalArmy.png");
  padding: 10px;
  border-bottom: solid 6px #ffcc01;
  position: sticky;
  z-index: 999;
  top: 0;
}

.headerclass-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 8rem;
  /* padding: 0 2.4rem; */
  background-image: url("../images/Landformationbanner-2.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: inherit;
  background-position: center;
  background-color: #221f20;
  border-bottom: solid 6px #ffcc01;
  image-rendering: auto;
  /* opacity: 80%; */
  width: 100%;
} 

.headerclass {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 10%;
  background-color: #221f20;
  border-bottom: solid 6px #ffcc01;
  width: 100%;
}

.locationBanner {
  width: 100%;
  object-fit: fill;
}

.StarDate {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: small;
  margin-right: 0;
}

.date {
  display: flex;
  height: 23px;
  align-self: center;
  margin: 0 2em;
  text-shadow: 0px 1px 0px #6abe46 !important;
  padding-bottom: 10px;
  /* -webkit-text-stroke: black .5px; */
  /* padding-right: 15px; */
  /*	float: right;*/
  /*width: 400px;*/
  /*	padding-top: 110px;*/
  /*	padding-right: 10px;*/
}

.date p {
  /*	color: #09360Cc;*/
  color: white;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  text-decoration: none;
  font-weight: bolder;
  /*	text-align:left;*/
  /*	padding-left: 40px;*/
  margin: 0px;
}

.logo {
  height: 6rem;
  width: auto;
  display: block;
  justify-self: center;
  padding: 3vw;
  /* font-family:"G.I.-530"; */
}

.AMSO_HeaderText {
  font-size: 3em;
  max-height: 3em;
  font-family: "G.I. 750";
  /* font-style: italic; */
  color: #f4c701;
  /* text-shadow: 4px 4px 5px black; */
  -webkit-text-stroke: 3px black;
  /* text-decoration-line: underline; */
  text-align: center;
  text-decoration-color: #f4c701;

  /*	background-color: goldenrod;
/*	height: 80px;*/
  /*	padding-top: 50px;*/
}

.ArmyStarclass {
  width: 6.4rem;
  display: flex;
  justify-content: center;
  /* padding-left: 1.5vw; */
  margin-right: 0;
}

#top_menu {
  background-color: #d5d5d7;
  border-bottom: solid 3px #565557;
  width: 100%;
  height: 40px;
  /* max-height: 35px; */
  margin: 0px;
  padding: 0px;
  display: flex;
  justify-content: center;
  text-align: center;
}

#top_menu ul {
  list-style: none;
  /* margin: 10px; */
  /* height: 20px; */
  /*	float:left;*/
  padding-top: 0px !important;
  margin: 0;
  /* padding-top: 3px; */
  /* width: 70%; */

  /* max-width: 100%; */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.top_link {
  background-color: #d5d5d7;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-items: center;
  padding: 0px;
  margin: 0;
  height: 33px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* .span.top_link {
	width: max-content;
} */

/* li.top ul.sub1 li a {
	display: flex;
	flex-direction: column;
	margin-right: 3vw !important;
	font-size: .9em;
	width: .1rem;
} */

ul {
  padding: 0;
}

#nav {
  width: 100%;
  background-color: #d5d5d7;
}

ul #nav {
  padding-left: 0px !important;
  background-color: #d5d5d7;
}

#main_content {
  /* width: 100%; */
  background-color: #d5d5d7;
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  align-content: center;
  font-family: "G.I. 400";
}

.building {
  padding-top: 40px;
}

#footer {
  position: static;
  bottom: 0;
  right: 0;
  width: 100%;
  height: auto;
  background-color: #221f20;
  padding-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30vw, 1fr));
  columns: 3;
}

#footer ul {
  margin: 0;
  padding-top: 8px !important;
  padding-top: 11px;
  display: flex;
  flex-direction: column;
  grid-column-start: 1;
  /* grid-column-end: 3; */
  line-height: 2em;
  width: 33vw;
}

#footer li,
#footer li a {
  display: inline;
  list-style: none;
  list-style-image: none;
  color: #ffffff;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 15px;
  text-decoration: none;
  line-height: 2em;
  padding-left: 10px; /* 10px to 3px- changed 2013-09-10, ass Section 580*/
}

#footer li {
  padding-left: 10%;
}

#socialbar-container {
  display: inline-block;
  width: 23vw;
  margin-top: 8px;
  margin-left: 15%;
  margin-bottom: 10px;
  line-height: 2em;
}

#socialbar {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: inherit;
  height: inherit;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  color: #fff;
}

#socialbar a {
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 15px;
  max-width: 2em;
  margin-left: 5px;
}

#container {
  /* width: 900px; */
  margin: auto;
}

/* --------------------------------------------Nav Bar ------------------------------------------------------------------ */

#nav {
  /* padding-left: 5px; */
  margin: 0;
  list-style: none;
  height: 35px;
  background-color: #d5d5d7;
  /* background:#fff url(../images/three_0.gif) repeat-x; */
  position: relative;
  z-index: 500;
  font-family: arial, verdana, sans-serif;
  display: flex;
  justify-content: center;
  background-size: cover;
}
#nav li.top {
  /*	display:block;*/
  display: inline-flex;
  /*	float:left;*/
  justify-content: center;
  height: 33px;
}
#nav li a.top_link {
  /*	display:block; 
	float:left; */
  height: 35px;
  line-height: 33px;
  /* color: #333333;  */
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  /* padding:0 0 0 12px;  */
  cursor: pointer;
  background-color: #d5d5d7;
  width: auto;
  /* background: url(../images/three_0.gif); */
}
#nav li a.top_link span {
  float: left;
  display: block;
  padding: 0 24px 0 24px;
  height: 33px;
  color: #000000;
  background-color: #d5d5d7;
  /* background: url(../images/three_0.gif) right top no-repeat; */
  overflow: visible;
}
#nav li a.top_link span.down {
  float: left;
  display: block;
  padding: 0 24px 0 24px;
  height: 33px;
  background-color: #d5d5d7;
  text-align: center;
  width: auto;
  /* background: url(../images/three_0a.gif) no-repeat right top; */
}

#nav li.top {
  /*	display:block;*/
  display: inline-flex;
  /*	float:left;*/
  justify-content: center;
  height: 33px;
}

#nav li:hover a.top_link {
  color: rgb(0, 0, 0);
  /* background: url(../images/three_1.gif) no-repeat; */
  height: 40px;
  /* width: auto; */
  border-bottom: solid #ffcc01 5px;
  /* background-color: rgba(178, 162, 162, 0.277); */
}
#nav li:hover a.top_link span {
  /* background:url(../images/three_1.gif) no-repeat right top; */
  height: 40px !important;
  height: 33px;
  /* background-color: rgba(178, 162, 162, 0.277); */
}
#nav li:hover a.top_link span.down {
  /* background:url(../images/three_1a.gif) no-repeat right top; */
  height: 34px;
  height: 33px;
  /* background-color: rgba(178, 162, 162, 0.277); */
  /* padding: 0; */
}

/* Default list styling */

#nav li ul.sub1 {
  position: relative;
  /* display: none; */
  visibility: hidden;
  top: 100%;
  opacity: 0;
  /* left: 0; */
  padding: 0;
  margin: 0;
  transition: transform 1s ease, opacity 1s ease-in;
  transform: translateY(20px);
  height: 0;
}

#nav li:hover {
  position: relative;
  z-index: 200;
}

/* sub1 is for drop list with the widest width */
#nav li:hover ul.sub1 {
  left: 0;
  display: flex;
  top: 100%;
  /*background: #d3d3d3; 
	padding:3px; */
  position: absolute;
  visibility: visible;
  /* display: block; */
  white-space: nowrap;
  width: 290px;
  height: auto;
  z-index: 300;
  opacity: 1;
  transition: transform 0.5s ease, opacity 0.5s ease-in;
  transform: translateY(0);
}
#nav li:hover ul.sub1 li {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  height: 19px;
  position: relative;
  float: left;
  width: 290px;
  font-weight: normal;
  /* background: url(../images/drop_nohover2.jpg) repeat-x; */
  text-align: justify;
  z-index: 1000;
  max-width: 576px;
}

#nav li ul.sub1 li a {
  display: none;
}

#nav li:hover ul.sub1 li a {
  display: block;
  font-size: 11px;
  font-weight: bold;
  height: 19px;
  width: 290px;
  line-height: 18px;
  text-indent: 5px;
  color: #000000;
  background-color: #d5d5d7;
  text-decoration: none;
  text-align: justify;
  border: #565557 solid 0.03px;
}

/* ---------------------------------------------------------------------------------NAVBAR MEDIA QUERIES--------------------
---------------------------------------------------------------------------------NAVBAR MEDIA QUERIES--------------------
---------------------------------------------------------------------------------NAVBAR MEDIA QUERIES--------------------
---------------------------------------------------------------------------------NAVBAR MEDIA QUERIES--------------------
---------------------------------------------------------------------------------NAVBAR MEDIA QUERIES--------------------
---------------------------------------------------------------------------------NAVBAR MEDIA QUERIES--------------------
---------------------------------------------------------------------------------NAVBAR MEDIA QUERIES--------------------
---------------------------------------------------------------------------------NAVBAR MEDIA QUERIES-------------------- */

@media screen and (min-width: 769px) {
  #nav {
    /* padding-left:5px;  */
    margin: 0;
    list-style: none;
    height: 35px;
    /* background-color: #d5d5d7; */
    /* background:#fff url(../images/three_0.gif) repeat-x;  */
    position: relative;
    z-index: 500;
    font-family: arial, verdana, sans-serif;
    display: flex;
    justify-content: center;
    background-size: cover;
  }
  #nav li.top {
    /*	display:block;*/
    display: inline-flex;
    /*	float:left;*/
    justify-content: center;
    height: 33px;
  }

  #nav li#dropnav {
    height: 40px;
  }
  #nav li a.top_link {
    /*	display:block; 
    float:left; */
    /* height: inherit; */
    line-height: 33px;
    /* color: #333333;  */
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    /* padding:0 0 0 12px;  */
    cursor: pointer;
    background-color: #d5d5d7;
    width: auto;
    /* background: url(../images/three_0.gif); */
  }
  #nav li a.top_link span {
    float: left;
    display: block;
    padding: 0 24px 0 24px;
    height: 35px;
    color: #000000;
    background-color: #d5d5d7;
    /* background: url(../images/three_0.gif) right top no-repeat; */
    overflow: visible;
  }
  #nav li a.top_link span.down {
    float: left;
    display: block;
    padding: 0 24px 0 24px;
    height: 33px;
    background-color: #d5d5d7;
    text-align: center;
    width: auto;
    /* background: url(../images/three_0a.gif) no-repeat right top; */
  }

  #nav li:hover a.top_link {
    color: rgb(0, 0, 0);
    /* background: url(../images/three_1.gif) no-repeat; */
    height: 40px !important;
    /* width: auto; */
    border-bottom: solid #ffcc01 5px;
    /* background-color: rgba(178, 162, 162, 0.277); */
  }
  #nav li:hover a.top_link span {
    /* background:url(../images/three_1.gif) no-repeat right top; */
    height: 40px !important;
    height: 33px;
    /* background-color: rgba(178, 162, 162, 0.277); */
  }
  #nav li:hover a.top_link span.down {
    /* background:url(../images/three_1a.gif) no-repeat right top; */
    height: 35px !important;
    height: 33px;
    /* background-color: rgba(178, 162, 162, 0.277); */
    /* padding: 0; */
  }

  /* Default list styling */

  #nav li ul.sub1 {
    position: relative;
    /* display: none; */
    visibility: hidden;
    top: 100%;
    opacity: 0;
    /* left: 0; */
    padding: 0;
    margin: 0;
    transition: transform 1s ease, opacity 1s ease-in;
    transform: translateY(20px);
    height: 0;
  }

  #nav li:hover {
    position: relative;
    z-index: 200;
  }

  /* sub1 is for drop list with the widest width */
  #nav li:hover ul.sub1 {
    left: 0;
    display: flex;
    top: 100%;
    /*background: #d3d3d3; 
    padding:3px; */
    position: absolute;
    visibility: visible;
    /* display: block; */
    white-space: nowrap;
    width: 290px;
    height: auto;
    z-index: 300;
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.5s ease-in;
    transform: translateY(0);
  }
  #nav li:hover ul.sub1 li {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    height: 19px;
    position: relative;
    float: left;
    width: 290px;
    font-weight: normal;
    /* background: url(../images/drop_nohover2.jpg) repeat-x; */
    text-align: justify;
    z-index: 1000;
    max-width: 576px;
  }

  #nav li ul.sub1 li a {
    display: none;
  }

  #nav li:hover ul.sub1 li a {
    display: block;
    font-size: 11px;
    font-weight: bold;
    height: 19px;
    width: 290px;
    line-height: 18px;
    text-indent: 5px;
    color: #000000;
    background-color: #d5d5d7;
    text-decoration: none;
    text-align: justify;
    border: #565557 solid 0.03px;
  }

  #nav li:hover ul.sub1 li:hover a {
    background-color: #b9b9b9;
    display: block;
  }

  #current_page {
    border-bottom: solid 5px #ffcc01;
  }
}

@media screen and (min-width: 769px) {
  #nav li#dropnav #current_page {
    border-bottom: solid #ffcc01 5px;
    height: 40px;
  }

  #nav li a.top_link span {
    width: auto;
    max-width: 768px;
    overflow: hidden;
  }

  #nav li ul.sub1#bottom {
    display: flex;
    position: absolute;
    right: 0;
    width: inherit;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }

  #nav li a.top_link span.down {
    /* width: 100%; */
    max-width: 768px;
    /* overflow: hidden; */
  }

  #nav li#dropnav {
    width: auto;
    max-width: 768px;
    /* border: solid 1px black; */
    /* overflow: hidden; */
  }
}
/* 
@media (hover:none) and (max-width: 767px) {
  #nav li#dropnav, #nav li a.top_link span.down, #nav li#dropnav {
    pointer-events: none;
  }
} */

/* 4K monitors */
@media screen and (max-width: 2560px) {
  .locationBanner {
    object-fit: cover;
    max-height: 12rem;  /* 120% */
    margin-top: 3px;
  }

  .headerclass {
    margin-bottom: 0px;
  }
}

/* Desktop monitors */
@media screen and (max-width: 1440px) {
  .locationBanner {
    object-fit: cover;
    max-height: 10rem;
    margin-top: 0px;
  }
}

/* Small desktop and laptop monitors */
@media screen and (max-width: 1024px) {
  .locationBanner {
    max-height: 8rem;
  }
}

/* Tablets */
@media screen and (max-width: 768px) {

  html {
    height: 100%;
  }

  body {
    max-width: 768px;
    margin-right: 50px;
  }

  .topBanner {
    padding: 32px;
  }

  .locationBanner {
    object-fit: fill;
    max-height: 5rem;
  }

  /*
  .headerclass {
    width: fit-content; 
    display: flex;
    flex-direction: column-reverse;
    background-image: url("../images/AMSO Location Banner.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 1500px;
    background-position: -28vh -25vw;
    justify-content: center;
    max-height: 15rem;
  } */

  .logo {
    /* display: none; */
    /* width: 7em; */
    height: 7em;
    width: auto;
  }

  .AMSO_HeaderText {
    display: flex;
    font-size: 1rem;
    -webkit-text-stroke-width: 0;
    padding-top: 1em;
  }

  #nav {
    display: flex;
    flex-direction: column;
  }

  #top_menu {
    /* flex-direction: column; */
    display: inline-table;
    flex-direction: column;
    width: 100%;
    max-width: 768px;
    border-bottom: none;
  }

  #top_menu ul {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  #top_menu #nav {
    display: inline-table;
    /* position: relative; */
    flex-direction: column;
    height: fit-content;
    width: 100%;
    max-width: 768px;
  }

  #main_content {
    max-width: auto;
    padding-right: 10px;
  }

  #nav li a.top_link span {
    /* padding: 10px; */
    background-color: #221f20;
    color: white;
  }

  #nav li a.top_link {
    width: 100%;
  }
  #nav li #home span {
    /* width: 100%; */
    height: 45px;
    display: contents;
  }
  #nav li #home span.down {
    width: 100%;
    height: 45px;
  }

  #nav li a.top_link,
  #nav li a.top_link span.down {
    /* padding: 10px; */
    background-color: #221f20;
    color: white;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #nav li:hover a.top_link {
    height: 50px;
    border-bottom: none;
  }

  #nav li a.top#homelink {
    background-color: #221f20;
  }

  #nav li#homelink {
    border-bottom: solid 2px #ffcc01;
    width: 100%;
    max-width: 768px;
    text-align: center;
    height: auto;
    padding: 0;
    background-color: #221f20;
  }

  #nav li#dropnav {
    display: block;
    height: auto;
    flex-direction: column;
    position: relative;
    border-bottom: solid 2px #ffcc01;
    padding: 0;
    background-color: #221f20;
    /* margin-bottom: 7rem; */
  }

  #nav li#dropnav:hover {
    align-content: space-around;
    transition: all 0.5s ease;
  }

  #nav li#dropnav.top ul.sub1 {
    position: static;
    /* height: 3em; */
    /* flex-direction: column; */
    /* margin-bottom: 7rem; */
  }

  #nav li ul.sub1 {
    visibility: hidden;
  }

  #nav li:hover ul.sub1 {
    background-color: #d5d5d7;
    width: 100%;
    height: auto;
    visibility: visible;
    left: 0;
    padding: 0;
  }

  #nav li:hover ul.sub1 li {
    padding: 0;
    margin: 0;
    display: flex;
    height: 40px;
    position: relative;
    float: left;
    display: block;
    top: 0;
    right: 0;
    font-weight: normal;
    text-align: center;
    z-index: 1000;
    width: 100%;
    max-width: 100%;
    background-color: #aaaaab;
    border: #565557 solid 0.03px;
    align-content: space-around;
    transition: all 0.5s ease;
    flex-direction: row;
  }
  #nav li:hover ul.sub1 li a {
    display: block;
    font-size: 11px;
    font-weight: bold;
    /* height: 19px; */
    width: 100%;
    line-height: 18px;
    text-indent: 5px;
    color: #000000;
    background-color: inherit;
    border: none;
    text-decoration: none;
    text-align: center;
    transition: all 0.5s ease;
  }
}

/* Mobile */
@media screen and (max-width: 576px) {
  html {
    max-width: 576px;
    height: auto;
    width: 100%;
  }

  body {
    max-width: 576px;
    display: flex;
    flex-direction: column;
    height: 100vh;
  }

  #main_content {
    max-width: 576px;
    margin: 0;
    padding: 0 10px;
    height: fit-content;
  }

  /* #nav {
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #d5d5d7;
    position: relative;
    z-index: 500;
    font-family: arial, verdana, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover;
  } */

  #nav li.top#dropnav {
    /* background-color: #d5d5d7; */
    width: 100%;
    position: relative;
    display: block;
    height: 50px;
    margin: auto;
    padding: 0;
  }
  #nav li.top#dropnav:hover {
    height: auto;
  }
  /* #nav li.top#dropnav.expanded {
    height: 150px;
    transition: transform 1s ease, opacity 1s ease-in;
    transform: translateY(0);
  } */

  #nav li#homelink {
    border-bottom: solid 2px #ffcc01;
    width: 100%;
    max-width: 576px;
    text-align: center;
    height: 50px;
    padding: 0;
  }

  #nav li a.top_link {
    background-color: #221f20;
    border-bottom: solid 2px #ffcc01;
    color: white;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  #nav li a.top_link span {
    float: left;
    display: block;
    height: 33px;
    color: #ffffff;
    background-color: #221f20;
    overflow: visible;
    width: 100%;
    text-align: center;
    padding-left: 0;
    margin-left: 0;
  }
  #nav li a.top_link span.down {
    background-color: #221f20;
    color: white;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #nav li ul.sub1 {
    position: relative;
    /* display: none; */
    visibility: hidden;
    top: 100%;
    opacity: 0;
    /* left: 0; */
    padding: 0;
    margin: 0;
    transition: transform 1s ease, opacity 1s ease-in;
    transform: translateY(-20px);
    height: 0;
    left: 0;
    width: 100%;
  }

  /* #nav li#dropnav:active ul.sub1.expanded {
    height:200px;
    transition: transform 1s ease, opacity 1s ease-in;
    transition: max-height 0.5 linear;
    transform: translateY(0);
    display: block;
  } */

  #nav li:active ul.sub1 {
    /* display: flex; */
    visibility: visible;
    position: absolute;
    height: auto;
    opacity: 1;
    transition: transform 1s ease, opacity 1s ease-in;
    transition: max-height 0.5 linear;
    transform: translateY(0);
    width: 100%;
    /* height: 200px; */
    z-index: 300;
    top: 100%;
    /* left: 0; */
  }
  #nav li:hover ul.sub1 li {
    display: block;
    height: 50px;
    position: relative;
    float: left;
    width: 100%;
    font-weight: normal;
    text-align: justify;
    z-index: 1000;
    top: 0;
    right: 0;
  }
  #nav li:hover ul.sub1 li a {
    display: block;
    font-size: 11px;
    font-weight: bold;
    height: 19px;
    width: 100%;
    line-height: 18px;
    text-indent: 5px;
    color: #000000;
    text-decoration: none;
    text-align: center;
  }

  #socialbar-container {
    width: 30vw;
    margin-top: 30px;
    margin-left: 0%;
    margin-right: 5%;
  }

  #socialbar {
    justify-content: flex-end;
    height: inherit;
  }
}

@media screen and (max-width: 576px) {
  html {
    max-width: 576px;
    height: 100%;
    width: 100vw;
  }
  body {
    max-width: 576px;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .topBanner {
    padding: 0;
  }

  #main_content {
    height: fit-content;
    /* margin-top: auto; */
    padding-top: 0;
  }

  .headerclass {
    justify-content: center;
    align-items: center;
    background-color: #0B120C;
    max-height: 4rem;
  }

  .logo {
    /* display: none; */
    width: auto;
    height: 7em;
  }

  .AMSO_HeaderText {
    display: flex;
    font-size: 1rem;
    -webkit-text-stroke-width: 0;
  }
  .ArmyStarclass,
  .date {
    width: 7em;
    display: none;
  }

  #top_menu {
    display: inline-table;
    /* position: relative; */
    flex-direction: column;
    width: 100%;
    max-width: 576px;
  }

  #top_menu ul {
    display: block;
    flex-direction: column;
    width: 100%;
    /* justify-content:flex-start; */
  }

  #top_menu #nav {
    display: block;
    /* position: relative; */
    flex-direction: column;
    height: fit-content;
    width: 100%;
    max-width: 576px;
    padding: 0;
    margin: 0;
  }

  /* .top {
  width: 100%;
  max-width: 576px;
} */

  .top .top_link {
    display: flex;
    font-size: medium;
    margin: 0;
    padding: 0;
    justify-items: center;
    max-width: 100%;
  }

  .top .top_link#home {
    display: inline-flex;
    /* position:static; */
    margin-right: 0;
    justify-items: center;
  }
  /* 
  .top .down {
    display: inline-block;
    width: 100%;
  } */

  span.down {
    display: flex;
    font-size: 1em;
    width: 576px;
    max-width: 576px;
    justify-content: center;
  }

  .sub1 li {
    display: block;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  main {
    max-width: 100%;
    max-width: 576px;
    height: 80%;
    background-color: #d5d5d7;
  }

  #footer {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* padding-left: 10%; */
    margin-bottom: 0;
  }

  #footer ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 20px;
    margin: 0;
    padding: 0;
  }

  #footer li,
  #footer li a {
    /* display: inline-flex; */
    justify-content: space-around;
    align-self: center;
    list-style: none;
    list-style-image: none;
    color: #ffffff;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-decoration: none;
    line-height: 1rem;
    margin-right: auto;
    padding-top: 2em;
    text-align: left;
    width: max-content;
    /* padding-left: 10px; 10px to 3px- changed 2013-09-10, ass Section 580 */
  }

  #footer li {
    padding-left: 10%;
  }
}
