/* Sticky footer styles
   See e.g. https://stackoverflow.com/a/27864663 for more info
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%; }

body {
  /* Margin bottom by footer height */
  margin-bottom: 8rem; }

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 6rem;
  background-color: #F8F9FA; }

footer > div > ul {
  display: inline-grid;
  grid-gap: 35px;
  justify-items: center;
  padding-left: 0;
  /*this controls the margins around the links and the copyright*/
  margin: 4rem auto 2rem auto; }

footer > div > ul > li > a {
  color: white;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.4); }
  footer > div > ul > li > a:hover {
    box-shadow: inset 0 -1.2em 0 rgba(255, 255, 255, 0.4); }

footer > div > ul > li:last-child {
  grid-column: 1 / 2;
  grid-row: 1 / 2; }
footer > div > ul > li:hover ~ li p {
  animation: wave-animation 0.3s infinite; }
footer > div > ul > li:hover ~ li p {
  animation: wave-animation 0.3s infinite; }

/*use browser's inspect turn on/off function to fine-tune*/
footer > div {
  display: flex;
  min-height: 20vh;
  width: 100%;
  background-color: #002a38;
  line-height: 1.1;
  font-family: Menlo, monospace;
  flex-direction: column;
  align-items: center; }

#footer-copyright {
  color: white;
  margin-bottom: 2rem; }

@keyframes wave-animation {
  0%,
  100% {
    transform: rotate(0deg); }
  25% {
    transform: rotate(20deg); }
  75% {
    transform: rotate(-15deg); } }
/* End Sticky footer styles
-------------------------------------------------- */
#showcase {
  position: relative;
  background-image: url("../images/pw_teal_white-640w.jpg");
  min-height: 600px;
  background-size: cover; }
  #showcase h1 {
    text-align: left; }
  #showcase .primary-overlay {
    background: rgba(50, 146, 166, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; }

@media (max-width: 680px) {
  #showcase {
    min-height: 400px; }
    #showcase h1 {
      font-size: 3rem;
      margin-top: 0; }
    #showcase p {
      font-size: 1rem; }

  .typewriter_hide_on_smallscr {
    display: none; }

  .typewriter h1 {
    display: none; }

  .brand-name {
    display: none; }

  footer > div > ul {
    grid-gap: 25px;
    margin: 0.7rem auto 1.7rem auto; }

  footer > div > ul > li:last-child {
    padding-top: 1rem; }

  #footer-copyright {
    word-spacing: -0.25rem;
    /*copyright phrase narrowed on mobile*/ }

  .nav-tabs {
    display: flex;
    /*fixed from inline-flex to correct the shrinking tab width on mobile view*/ }

  a.nav-link {
    font-size: 1.2rem;
    padding: 0.4rem; }

  #myTab a.nav-link {
    font-size: 1.25rem;
    padding: 0.5rem; }

  #jump-page.form-control {
    display: none;
    width: 100%; }

  #home-thead {
    text-align: center; }

  #home-account-td {
    text-align: center;
    vertical-align: middle; }

  .profile-mobile-heading {
    text-align: center; }

  .profile-mobile-image {
    margin-bottom: 0;
    margin-top: 0; }

  .heading-mobile-modal {
    font-size: 0.82em; }

  .heading-mobile-2fa {
    font-size: 1.67rem; } }
@media (min-width: 681px) {
  #showcase {
    min-height: 500px;
    background-image: url("../images/pw_teal_white-1024w.jpg"); }

  .brand-name-sm {
    display: none; }

  footer > div > ul {
    grid-auto-flow: column; }

  #jump-page.form-control {
    display: block; } }
@media (min-width: 1024px) {
  #showcase {
    min-height: 600px;
    background-image: url("../images/pw_teal_white-1920w-cropped.jpg");
    background-position: center; }

  .brand-name-sm {
    display: none; }

  #jump-page.form-control {
    display: block;
    width: 100%; } }
.brand-name {
  font: 160%/1.6 "Adobe Caslon Pro", Baskerville, serif;
  background: #1d2124;
  color: #fff;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  text-align: center;
  line-height: 100px;
  vertical-align: middle;
  padding: 10px; }

.brand-name-sm::before {
  /*OLD styling*/
  /*NEW sytling*/
  font-variant: small-caps;
  margin: auto;
  content: "Password Hound";
  font-family: apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 700;
  font-size: 110%;
  letter-spacing: .08em; }

.typewriter h1 {
  overflow: hidden;
  /* Ensures the content is not revealed until the animation */
  border-right: .15em solid transparent;
  /* The typwriter cursor */
  white-space: nowrap;
  /* Keeps the content on a single line */
  margin: 0 auto;
  /* Gives that scrolling effect as the typing happens */
  letter-spacing: .10em;
  /* Adjust as needed */
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end 7; }

/* The typing effect */
@keyframes typing {
  from {
    width: 0; }
  to {
    width: 100%; } }
/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to {
    border-color: orange; }
  50% {
    border-color: transparent; } }
.typewriter_hide_on_smallscr h1 {
  overflow: hidden;
  /* Ensures the content is not revealed until the animation */
  border-right: .15em solid transparent;
  /* The typwriter cursor */
  white-space: nowrap;
  /* Keeps the content on a single line */
  margin: 0 auto;
  /* Gives that scrolling effect as the typing happens */
  letter-spacing: .10em;
  /* Adjust as needed */ }

.nav-item {
  text-align: center;
  font: 130%/1.8  Menlo, monospace; }

ul li a:hover {
  background: rgba(29, 33, 36, 0.5) !important;
  color: #fff !important;
  border-radius: 3px !important; }

.custom-toggler.navbar-toggler {
  border-color: black; }

/* Tooltip */
.tooltip-inner {
  background-color: #006B00; }

.tooltip.bs-tooltip-right .arrow:before {
  border-right-color: black !important; }

.tooltip.bs-tooltip-left .arrow:before {
  border-right-color: #006B00 !important; }

.tooltip.bs-tooltip-bottom .arrow:before {
  border-right-color: #006B00 !important; }

.tooltip.bs-tooltip-top .arrow:before {
  border-right-color: #006B00 !important; }

.apple-font {
  font-family: apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; }
  .apple-font--display {
    letter-spacing: 0.05em;
    line-height: 1.2em;
    font-weight: 400; }

/* Overlay and spinner */
#overlay {
  background: #ffffff;
  color: #666666;
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 5000;
  top: 0;
  left: 0;
  float: left;
  text-align: center;
  padding-top: 25%;
  opacity: .80;
}

.spinner {
    margin: 0 auto;
    height: 64px;
    width: 64px;
    animation: rotate 0.8s infinite linear;
    border: 5px solid firebrick;
    border-right-color: transparent;
    border-radius: 50%;
}
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
