#header {
  padding: 0px 40px;
  margin: auto;
  display: grid;
  grid-template-columns: 33% 67%;
  border-radius: 0px 0px 10px 10px;
  filter: drop-shadow(0px 0px 8px grey);
  background-color: white;
  box-sizing: content-box !important;
  height: 140px;
  overflow: unset;
}

.logo {
  display: flex;
  align-items: center;
  padding: 25px 40px 25px 0px;
}

#company-name-logo {
  font-size: 150%;
  font-family: verdana !important;
  font-style: italic;
  font-weight: bold;
  line-height: 100%;
  align-self: center;
  word-wrap: break-word;
  cursor: pointer;
}

#logo-image {
  max-height: 90px;
  cursor: pointer;
}

.links {
  align-self: flex-end;
}

.list {
  display: flex !important;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: 0px;
}

.list.multi-line {
  white-space: normal;
  justify-content: flex-start;
}

.nav-bar {
  display: flex;
  padding: 0px 0px 25px 0px;
  justify-content: flex-end;
  align-items: end;
}

.hamburger .close-icon {
  display: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #101010;
}

.nav-menu {
  justify-content: space-between;
  align-items: center;
  display: flex;
  list-style-type: none;
}

#nav-menu li:not(:last-child)::after {
  content: " | ";
  padding: 0px 7px 0px 7px;
}

.nav-item {
  display: flex;
  width: max-content;
}

.nav-logo {
  font-size: 2.1rem;
  font-weight: 500;
  color: #482ff7;
}

.nav-link {
  width: 100% !important;
}

body a:hover {
  text-decoration: none !important;
}

.header-links {
  font-weight: bold;
}

@media (max-width: 800px) {
  #header {
    padding: 0px 20px;
    height: 130px !important;
    min-height: 130px;
    z-index: 999;
    position: relative;
    border-radius: 0;
    margin: 0 !important;
    filter: drop-shadow(0px 0px 4px grey);
    box-sizing: border-box !important;
    margin-bottom: 6px !important;
    grid-template-columns: 50% 50%;
  }

  .header-container {
    position: relative;
    z-index: 999;
  }

  .links {
    top: -20px;
    left: 0;
    z-index: 0;
    display: grid;
    width: 100% !important;
    background-color: white;
    position: absolute;
    margin: 0 !important;
    grid-template-columns: 89% 11%;
    border-radius: 0px 0px 10px 10px;
    box-sizing: border-box !important;
  }

  span {
    font-size: 100%;
  }

  .header-links {
    position: relative;
    padding-left: 20px;
  }

  #company-name-logo {
    padding-top: 20%;
    font-size: 125%;
  }

  .list {
    display: block;
    padding: 27.5px 0px 20px 0px;
    font-size: 12px;
  }

  .nav-bar {
    margin-left: auto;
  }

  .nav-menu {
    position: fixed;
    left: 0%;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    margin: 1rem 0;
    list-style-type: none;
    font-size: 14px;
    width: 100% !important;
  }

  .hamburger {
    display: none;
    cursor: pointer;
    padding-top: 70px;
  }

  #nav-menu li:not(:last-child)::after {
    content: "  ";
  }

  .links-grid {
    display: grid;
    grid-template-columns: 90% 10%;
  }

  .close-icon {
    padding-top: 35px;
    display: flex;
    justify-content: flex-end;
    padding-right: 25px;
  }

  .nav-links-mobile-view-container {
    width: 100% !important;
    padding: 0px 20px 0px 20px;
    margin: 0 !important;
    position: relative;
    filter: drop-shadow(0px 0px 4px grey);
    box-sizing: border-box !important;
  }

  #logo-image {
    max-width: 120px;
  }
}

/* CSS for modal window */
.alert-dismissable .close {
  top: 45%;
  left: 100%;
}

.modal-header {
  color: #fff;
  background-color: #2B6FB6;
}

@media (min-width: 800px) and (max-width: 1024px) {
  #logo-image {
    max-width: 120px;
  }
}