body > * {
  padding: 0 5vw;
}

body > header {
  background-color: #2b2b2b;
  display: flex;
  height: 75px;
  align-items: center;
  justify-content: space-between;
}

.menu-button {
  display: inline-block;
  margin: 0 1em;
  vertical-align: middle;
  cursor: pointer;
}

.menu-button div {
  transition: background-color 300ms, opacity 200ms, margin 100ms, transform 200ms;
  background-color: white;
  width: 30px;
  height: 4px;
  margin: 5px 0;
}

nav {
  position: fixed;
  top: 75px;
  left: 0;
  right: 0;
  overflow-y: scroll;
  height: 0px;
  background-color: #1166aa;
  color: white;
  transition: 0.2s;
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
nav a {
  display: block;
  text-decoration: none;
  color: white;
  font-size: 30px;
  font-weight: bold;
  padding: 15px;
}
nav a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
nav.open {
  height: calc(100vh - 75px);
}
nav.open .menu-button div:first-child {
  transform: rotate(225deg);
  margin: 0 0 -9px;
}
nav.open .menu-button div:nth-child(2) {
  opacity: 0;
}
nav.open .menu-button div:last-child {
  transform: rotate(-225deg);
  margin: -9px 0 0;
}

/* new general modal and popup styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(55, 55, 55, 0.8);
  z-index: 99;
}

.modal .popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  min-width: 580px;
  color: #333333;
  max-width: 100vw;
  max-height: 100vh;
}

.modal .popup p {
  color: #333333;
}

@media (max-width: 579px) {
  /* override min width 580 */
  .modal .popup {
    min-width: 0;
    width: 100vw;
  }
}
.modal.show {
  display: block;
}

.modal .slidein {
  width: 0px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  transition: 0.1s;
  /* to keep this versatile. add your own style to internal containers.
      display:flex;
      flex-direction:column;
  */
}

.modal .slidein.open {
  width: 790px;
  max-width: 100%;
  transition: 0.2s;
}

/* .my_alert is also used for my_confirm() */
.modal.my_alert .popup {
  text-align: center;
  box-sizing: border-box;
  border-radius: 8px;
  overflow: hidden;
}

.modal .heading {
  min-height: 74px;
  color: white;
  background-color: #333333;
  font-weight: bold;
  font-size: 19px;
  display: flex;
  align-items: center;
}

.modal .heading .text {
  flex: 1;
  padding: 10px;
}

.modal .heading button.close {
  flex: none;
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 22px;
  background-color: transparent;
  border: none;
  background-image: url(../images/close.svg);
  cursor: pointer;
  margin: 20px;
}

.modal button:focus {
  /* not sure if this should be global */
  outline: 0;
}

.modal.my_alert .content {
  /* table for vertical-align when message shorter than min */
  text-align: center;
  padding: 34px 50px;
  box-sizing: border-box;
  max-height: calc(100vh - 74px);
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

@media only screen and (max-width: 767px) {
  /* small */
  .modal.my_alert .content {
    padding: 20px;
  }
}
.modal.my_alert ::-webkit-scrollbar {
  /* don't always show scrollbar */
  display: none;
}

.modal.my_alert .message {
  box-sizing: border-box;
  padding-bottom: 50px;
  line-height: 22px;
}

.modal .content button {
  min-width: 135px;
  /* margin: 5px;
  height: 40px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: bold;
  border: none; */
}

@media only screen and (max-width: 767px) {
  /* small */
  .modal .content button {
    min-width: 90px;
  }
}
/* .modal button.confirm {
  min-width: 90px;
  background-color: #cc0000;
  color: white;
} */
.modal button.cancel {
  background-color: #e9e9e9;
  color: #333333;
  margin-right: 1em;
}

.modal.my_alert .success {
  width: 42px;
  height: 42px;
  background-image: url(../images/success.svg);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 0 auto 21px;
}



/*# sourceMappingURL=style.css.map */
