.header {
  display: inline-block;
  width: 100%;
  padding-top: 5px;
  top:0px;
  position: fixed;
  left: 0px;
  right: 0px;
  /*background-color: white;*/
  background-color: #fafafa;
  z-index: 9;
  border-bottom: 1px solid #e0e0e0;
}

body {
  margin-top: 56px;
}

.header_option {
  float: left;
  color: black;
  text-align: center;
  padding: 6px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
  cursor: pointer;
}

.header .logo {
  font-size: 1.8em;
  margin-left: 5px;
}

.header_option:hover {
  background-color: #ddd;
  color: black;
}

.header-right {
  float: right;
}


/* Dropdown menu.
*/

.dropdown-button {
  /*color: white;*/
  cursor: pointer;
}

.dropdown {
  float: right;
  position: relative;
  display: inline-block;
  margin-right: 0.5em;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  min-width: 240px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
  z-index: 1;
}

.dropdown-content > a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown:hover .dropdown-button {
/*background-color: #3e8e41;*/
}

a.logo.short {
  display: none;
}


.header.private_mode {
  background-color: black;

}

.header.private_mode .header_option {
  color: #e9e9e9;
}


#notification_container {
  width: 450px;
  max-width: 100%;
  height: calc(100vh - 80px);
  max-height: 800px;
  padding-top: 6px;
  padding-right: 5px;
  /* gra:red; */
  /* background-color: lightgray; */
  overflow-y: scroll;
  cursor: initial;
}
.notification {
  background-color: white;
  display: inline-flex;
  width: calc(100% - 16px);
  margin: 8px;
  margin-top: 5px;
  margin-bottom: 5px;
  border: 1px solid rgba(211, 211, 211, 0.671);
  /* box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1); */
}
.notification.new {
  box-shadow: 0 6px 16px 0 rgba(90, 76, 175, 0.5);
}
.time_string {
  color: #686868;
}
.note_img {
  display: block;
  height: 96px;
}
.note_img.small {
  height: 96px;
}
.no_margin {
  margin: 0px;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.text-col {
  flex: 1 1;
  justify-content: center;
}
.text-col p {
  margin: 8px;
}

@media only screen and (max-width: 800px) {
  .header a.logo {
    display: none;
    font-size: 1.0em;
  }
  .header a.logo.short {
    display: block;
  }
}
@media only screen and (max-width: 600px) {
  .notifications .dropdown-content {
    right: -35px;
    width: calc(100vw - 20px);
  }
  .notification p {
    font-size: 14px;
  }
  .notification img {
    max-width: 30vw;
  }
}

.dropdown-content a:hover { background-color: #f1f1f1;}
@media only screen and (min-width: 600px) {
  .dropdown:hover .dropdown-content {display: block;}
}