/*
 * Custom integration of bootstrap-notifications
 * Only using the parts we need.
 *
 * @link http://skywalkapps.github.io/bootstrap-notifications/
 */
/* More colors for other parts */
/* Custom variables */
/* LAYOUT */
/* Used for action areas */
.dropdown-container {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 200px;
  max-width: 330px;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  background-color: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 2px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
}
.dropdown-container > .dropdown-menu {
  position: static;
  z-index: 1000;
  float: none!important;
  padding: 10px 0;
  margin: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  max-height: 330px;
  overflow-y: auto;
}
.dropdown-container > .dropdown-menu + .dropdown-menu {
  padding-top: 0;
}
.dropdown-menu > li > a {
  overflow: hidden;
  white-space: nowrap;
  word-wrap: normal;
  text-decoration: none;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
.dropdown-toggle {
  cursor: pointer;
}
.dropdown-header {
  white-space: nowrap;
}
.open > .dropdown-container > .dropdown-menu,
.open > .dropdown-container {
  display: block;
}
.dropdown-toolbar {
  padding-top: 6px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 5px;
  background-color: #fff;
  border-bottom: 1px solid #E0E0E0;
  border-radius: 2px 2px 0 0;
}
.dropdown-toolbar > .form-group {
  margin: 5px -10px;
}
.dropdown-toolbar .dropdown-toolbar-actions {
  float: right;
}
.dropdown-toolbar .dropdown-toolbar-title {
  margin: 0;
  font-size: 14px;
}
.dropdown-footer {
  padding: 5px 20px;
  border-top: 1px solid #E0E0E0;
  border-radius: 0 0 2px 2px;
}
.anchor-block small {
  display: none;
}
@media (min-width: 992px) {
  .anchor-block small {
    display: block;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.54);
  }
  .dropdown-menu > li > a.anchor-block {
    padding-top: 6px;
    padding-bottom: 6px;
  }
}
@media (min-width: 992px) {
  .dropdown.hoverable:hover > ul {
    display: block;
  }
}
.notifications {
  list-style: none;
  padding: 0;
}
.notification {
  display: block;
  padding: 6.4px 8px;
  border-bottom: 1px solid #E0E0E0;
  color: rgba(0, 0, 0, 0.87);
  text-decoration: none;
}
.notification:last-child {
  border-bottom: 0;
}
.notification:hover,
.notification.active:hover {
  background-color: #f9f9f9;
}
.notification.active {
  background-color: #f4f4f4;
}
.notification-title {
  font-size: 15px;
  margin-bottom: 0;
}
.notification-desc {
  margin-bottom: 0;
}
.notification-meta {
  color: rgba(0, 0, 0, 0.54);
}
a.notification:hover {
  text-decoration: none;
}
.dropdown-notifications > .dropdown-container,
.dropdown-notifications > .dropdown-menu {
  width: 450px;
  max-width: 450px;
}
.dropdown-notifications .dropdown-menu {
  padding: 0;
}
.dropdown-notifications .dropdown-toolbar,
.dropdown-notifications .dropdown-footer {
  padding: 6.4px 8px;
}
.dropdown-notifications .dropdown-toolbar {
  background: #fff;
}
.dropdown-notifications .dropdown-footer {
  background: #E0E0E0;
}
#topbar-toolbar .btn.group {
  width: 52px;
}
#topbar-toolbar .btn-group:first-child {
  margin-left: 0;
}
#topbar-toolbar .btn {
  color: #7FC0FF;
}
#topbar-toolbar .btn:hover,
#topbar-toolbar .btn:focus,
#topbar-toolbar .btn:active {
  color: #b2d9ff;
}
.notification-title {
  font-size: 14px;
}
.notification-content {
  color: rgba(0, 0, 0, 0.54);
  margin: 0;
}
#static-notifications {
  position: fixed;
  top: 45px;
  right: 8px;
  z-index: 1000;
  width: 450px;
}
#static-notifications .notification {
  background: #fff;
  border: #E0E0E0;
  -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  margin-bottom: 5px;
}
#static-notifications .notification .close {
  display: none;
}
.notifications {
  margin: 0;
}
.notifications.dropdown-container {
  left: auto;
  right: 0;
  margin-top: 7px;
  padding: 0;
  width: 450px;
  max-width: 450px;
  z-index: 1040;
}
.notifications.dropdown-container > .dropdown-menu {
  padding: 0;
  max-height: 450px;
  overflow-x: hidden;
}
.notifications.dropdown-container > .dropdown-menu .close {
  display: none;
}
.notifications.dropdown-container .notification-group .notification-group-toggle {
  cursor: pointer;
}
.notifications.dropdown-container .notification-group .media-list .media-left,
.notifications.dropdown-container .notification-group .media-list .notification-title {
  display: none;
}
.notifications.dropdown-container .notification-group.notification-auto-grouping .media-list .notification-title {
  display: inherit;
}
.notifications .dropdown-toolbar .dropdown-toolbar-title {
  line-height: 1.42857143;
  font-weight: normal;
}
@media (max-width: 480px) {
  #topbar-toolbar .btn-group .notifications.dropdown-container {
    position: fixed;
    margin: 0;
    left: 4px;
    right: 4px;
    top: 46px;
    width: calc(100% - 2 * 4px);
    max-width: calc(100% - 2 * 4px);
  }
  #topbar-toolbar .btn-group .notifications.dropdown-container .dropdown-toolbar {
    padding-left: 4px;
    padding-right: 4px;
  }
  body.app #app-messages-container {
    margin-right: 0 !important;
    margin-top: -32px;
    float: right;
  }
  body.app .notifications.dropdown-container {
    right: 4px !important;
    width: calc(100vw - 2 * 4px) !important;
    max-width: calc(100vw - 2 * 4px);
  }
}
@media (min-width: 481px) and (max-width: 769px) {
  #topbar-toolbar .btn-group .notifications.dropdown-container {
    position: fixed;
    margin: auto;
    top: 46px;
    right: 4px;
    width: 95vw;
    max-width: 450px;
  }
}

