ENG squishy stacked

by mrjordy

HTML

<div id="HeaderContainer">
  <div class="HeaderTitle">Engineering</div>
  <div class="CloseAll">X</div>
  <div class="HeaderTitleSmall">ENG</div>
  <div class="HeaderSub">Additional Description</div>
  <div class="GUI"></div>
  <div class="Background-Canvas"></div>
  <div class="Background-Image"></div>
  <div class="Background-Overlay"></div>
  <div class="Floating-Image"></div>
  <div class="Floating-Image2"></div>
  <div class="Floating-Image3"></div>
  <div class="diag-noselect"></div>
  <div class="TL toggle" id="ClickTL"></div>
  <div class="TL-popup hidden ShowTL">
    <a href="#">
      <div class="PopupTitle">Security &amp; Resiliency</div>
    </a>
    <div class="PopupText"><div class="PopupGoal">Bring a holistic perspective to prioritize and address biggest cybersecurity risks to Navy systems</div>
      <span class="PopupSection">Drive and align NMCI architecture to enable Navy cyber security.</span>
      <span class="PopupSubSection">Execute an RMF pilot by Q3 FY16, to include: Architectural definition, accreditation, continuous monitoring</span>
      <span class="PopupSubSection">Execute a Cybersafe pilot by Q3 FY16, to include: Cybersafe certification </span>
      <span class="PopupSubSection">Develop NEN architecture products, to align to Joint architecture (e g CSRA) </span>
      <span class="PopupSection">Implement IT/IA TA standards and processes.</span>
      <span class="PopupSubSection">Contribute to application hosting standard development</span>
      <span class="PopupSubSection">Map new and emerging projects to the standards and processes roadmap (percentage of standards and processes mapped)</span><br>
    </div>
    <a href="#">
      <div class="NavToPage">Navigate To Page &nbsp;&#187;</div>
    </a>
  </div>
  <div class="TR toggle" id="ClickTR"></div>
  <div class="TR-popup hidden ShowTR">
    <a href="#">
      <div class="PopupTitle">Interoperability &amp; Reliability</div>
    </a>
    <div class="PopupText"><div...

CSS

#preload, .hidden  {
  display: none;
}
#HeaderContainer {
  width: 100%;
  height: 308px;
  overflow: hidden;
  border-radius: 4px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 30px;
  position: relative;
}
.CloseAll {
    display: none;
    position: absolute;
    right: 14px;
    width: 40px;
    height: 22px;
    text-align: center;
    line-height: 22px;
    color: white;
    z-index: 11;
    margin-top: 13px;
    font-family: sans-serif;
    font-weight: 900;
    text-shadow: 0px 0px 11px rgba(1, 1, 1, 0.4);
    border-radius: 2px;
    cursor: pointer;
    transition: .1s;
}
.CloseAll:hover {
    border: 1px solid white !important;
    text-shadow: 0px 0px 11px white;
}
#HeaderContainer > .HeaderTitle {
    font-family: helvetica;
    position: absolute;
    z-index: 9;
    margin-top: 8px;
    padding-left: 56px;
    padding-top: 2px;
    width: calc(100% - 64px);
    height: 32px;
    color: white;
    vertical-align: middle;
    line-height: normal;
    font-size: 24px;
    background: #3E628F;
}
.HeaderTitle:before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    background: url('https://navy.deps.mil/peoeis/sites/nen/res/NEN-logo-v2-40x40.png');
    position: absolute;
    margin-left: -48px;
    margin-top: -6px;
}
@media screen and (min-width: 721px) {
  #HeaderContainer > .HeaderTitleSmall {
    display: none;
  }
}

@media screen and (max-width: 720px) {
  #HeaderContainer > .HeaderTitleSmall {
    font-family: helvetica;
    position: absolute;
    z-index: 9;
    margin-top: 8px;
    padding-left: 16px;
    padding-top: 2px;
    width: calc(100% - 24px);
    height: 32px;
    color: white;
    vertical-align: middle;
    line-height: normal;
    font-size: 24px;
    background: #3E628F;
  }
  #HeaderContainer > .HeaderTitle {
    display: none;
  }
}

#HeaderContainer > .HeaderSub {
  font-family: helvetica;
  position: absolute;
  z-index: 9;
  margin-top: 17px;
  margin-left: 196px;
  width: auto;
 ...

JavaScript

$('.CloseAll').click(function() {
     $('.hidden').css({'display' : 'none'});
     $('.CloseAll').css({'display' : 'none'});
});
$('#ClickTL').click(function() {
     $('.hidden, .InteroperabilityAndReliabilityCEWP, .PeopleAndTalentCEWP, .InnovationCEWP').css({'display' : 'none'});
     $('.ShowTL, .SharepointSecurityAndResiliencyCEWP').css({'display' : 'block'});
     $('.CloseAll').css({'display' : 'block','background' : '#B73C3C','border' : '1px solid #8F2F2F'});
});
$('#ClickTR').click(function() {
     $('.hidden, .SharepointSecurityAndResiliencyCEWP, .PeopleAndTalentCEWP, .InnovationCEWP').css({'display' : 'none'});
     $('.ShowTR, .InteroperabilityAndReliabilityCEWP').css({'display' : 'block'});
     $('.CloseAll').css({'display' : 'block','background' : '#3277F6','border' : '1px solid #2352A8'});
});
$('#ClickC').click(function() {
     $('.hidden, .SharepointSecurityAndResiliencyCEWP, .InteroperabilityAndReliabilityCEWP, .InnovationCEWP').css({'display' : 'none'});
     $('.ShowC, .PeopleAndTalentCEWP').css({'display' : 'block'});
     $('.CloseAll').css({'display' : 'block','background' : '#E06E19','border' : '1px solid #943F00'});
});
$('#ClickBR').click(function() {
     $('.hidden, .SharepointSecurityAndResiliencyCEWP, .InteroperabilityAndReliabilityCEWP, .PeopleAndTalentCEWP').css({'display' : 'none'});
     $('.ShowBR, .InnovationCEWP').css({'display' : 'block'});
     $('.CloseAll').css({'display' : 'block','background' : '#6CB73C','border' : '1px solid #035E00'});
});