/* general */
.row {
  padding: 1em 0 0;
  margin: 0;
}

.container {
  /* padding: 1em; */
  margin: 0em auto;
}

footer {
  background-color: #808080d2;
  color: white;
  margin-top: auto;
  padding: 0.5em 0 0.5em 0;
}

footer i {
  padding: 0.1em;
}

/* navigation and header styles*/
#nav {
  min-height: 100px;
}

.navbar {
  font-size: 0.9em;
  line-height: 1.15em;
  background-color: white;
}

.navbar-nav a {
  color: #808080d2;
  font-size: 1.25em;
  text-align: right;
}

#logo {
  float: left;
  height: 100px;
  margin-right: 0.3em;
}

/* company name on two lines */

.navbar-brand {
  font-size: 2rem;
  color: rgb(59, 148, 187);
  display: flex;
  align-items: center;
}

.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  white-space: normal;
}

.navbar-brand .brand-text span {
  display: block;
}

.navbar-brand .brand-text span:first-child {
  white-space: nowrap;
}

/* overlay menu only when collapsed (< xl) */
@media (max-width: 950px) {
  .navbar {
    position: relative;
    z-index: 1060;
  }

  /* make the collapsed menu a floating panel */
  .navbar-collapse {
    position: fixed;
    top: 100px;
    right: 0;
    width: 200px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
  }

  /* kill the height animation; show as block */
  .navbar-collapse.collapsing,
  .navbar-collapse.show {
    display: block !important;
    height: auto !important;
    transition: none;
  }

  /* stack links nicely */
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
}
/* 
/* make toggler visible on light navs */
.navbar.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  border: 0;
}

/* gap between horiz elements when stacked in mobile */

@media (max-width: 767.98px) {
  .stack-gap-sm > [class*="col-"] {
    margin-bottom: 0.7rem;
  }
  .stack-gap-sm > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
}
