.inbox-overlay {
}

.inbox-nav {
  position: relative;
  display: inline-block;
  float: right;
  padding: 13px 0;
  margin-right: 15px;
}

.inbox-nav button {
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  white-space: nowrap;
  padding: 6px 10px;
  font-size: 20px;
  line-height: 1em;

  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  color: #fff;
  background-color: transparent;
  border: 1px solid #1a242f;
  border-radius: 4px;
}

.inbox-nav button:hover {
  background-color: #1a242f;
}

.inbox-nav button:focus {
  outline: 0;
}

.inbox-nav-count {
  position: absolute;
  background-color: #e74c3c;
  font-size: 13px;
  line-height: 13px;
  padding: 2px 5px;
  border-radius: 20px;
  right: -5px;
  top: 8px;
}

.inbox-nav-icon {
}

@media (min-width: 768px) {
  .navbar-header .inbox-nav {
    display: none;
  }
}

@media (max-width: 767px) {
  .navbar-collapse .inbox-nav {
    display: none;
  }
}

.inbox-enter {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 100ms linear;
  -o-transition: opacity 100ms linear;
  transition: opacity 100ms linear;
}

.inbox-show {
  opacity: 1;
  visibility: visible;
}

.inbox-hide {
  opacity: 0;
  visibility: visible;
}

.inbox-backdrop {
  overflow-x: hidden;
  overflow-y: auto;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, 0.7);
}

.inbox-content {
  position: fixed;
  top: 30px;
  bottom: 30px;
  z-index: 1040;
  width: auto;
  left: -300px;
  margin: 0 0 0 50%;
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  background-color: #ffffff;
  border: 1px solid #999999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  outline: none;
}

.inbox-header {
  background-color: #ffffff;
  border-radius: 4px 4px 0 0;
  border-bottom: 1px solid #e5e5e5;
  position: fixed;
  z-index: 1050;
  top: 30px;
  height: 70px;
  left: 10px;
  right: 10px;
  width: auto;
}

.inbox-title {
  display: inline-block;
  vertical-align: middle;
  font-size: 20px;
  line-height: 20px;
  padding: 25px 0 25px 20px;
}

.inbox-footer {
  padding: 14px 20px 20px;
  border-top: 1px solid #e5e5e5;
  background-color: #ffffff;
  border-radius: 0 0 4px 4px;
  position: fixed;
  z-index: 1050;
  bottom: 30px;
  left: 10px;
  right: 10px;
  height: 70px;
  width: auto;
  text-align: right;
}

.inbox-footer .btn + .btn {
  margin-left: 8px;
}

.inbox-body {
  background-color: #ffffff;
  position: fixed;
  z-index: 1050;
  top: 100px;
  bottom: 100px;
  left: 10px;
  right: 10px;
  width: auto;
  padding: 0;
  overflow: hidden;
  overflow-y: scroll;
}

@media (min-width: 768px) {
  .inbox-header,
  .inbox-footer,
  .inbox-body {
    right: auto;
    width: 600px;
    left: -300px;
    margin: 0 0 0 50%;
  }
}

.inbox-row {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid #ecf0f1;
}

.inbox-row:last-child {
  border-bottom: none;
}

.inbox-row.read {
  background-color: #fafafa;
}

.inbox-list-group-header {
  color: #2d3e50;
  margin: 0;
  padding: 8px 16px;
  background-color: #ecf0f1;
  font-weight: bold;
  font-size: 13px;
}

.inbox-icon {
  font-size: 1.4em;
  padding: 20px 42px;
  vertical-align: middle;
}

.inbox-row.read .inbox-icon {
  color: #95a5a6;
}

.inbox-row-preview {
  vertical-align: middle;
  display: inline-block;
  width: 52%;
  padding-left: 0px;
  margin-bottom: 0px;
  list-style-type: none;
  line-height: 1.3;
}

.inbox-row-preview li {
  font-size: 14px;
}

.inbox-related-btn {
  margin: 0;
  padding: 0;
  color: #3498db;
  background-color: transparent;
  font-size: 14px;
  font-weight: normal;
  cursor: pointer;
  border-radius: 0;
  border: none;
}

.inbox-row.unread .inbox-from-name {
  font-weight: bold;
}

.inbox-row.unread .inbox-related-btn {
  font-weight: bold;
}

.inbox-related-btn:hover,
.inbox-related-btn:focus {
  color: #3498db;
  text-decoration: underline;
}

.inbox-plaintext {
  height: 1.4em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-row-details {
  display: inline-block;
  vertical-align: middle;
  text-align: right;
  font-size: 13px;
  line-height: 1.8;
  width: 26%;
}

.inbox-row-timestamp {
  vertical-align: middle;
}

.inbox-row-textstamp {
  display: block;
  font-style: italic;
  color: #95a5a6;
}

.inbox-row-datetime {
  font-size: 12px;
  border-radius: 2px;
  padding: 2px 4px;
  color: #fff;
  background-color: #2c3e50;
}

.inbox-row-actions {
  color: #95a5a6;
  vertical-align: bottom;
}

.inbox-action-btn {
  cursor: pointer;
  font-weight: bold;
  display: inline-block;
  margin-left: 21px;
  font-size: 15px;
}

.inbox-action-btn.starred {
  color: #f39c12;
}

.inbox-action-btn:hover {
  color: #2c3e50;
}

.inbox-action-btn.delete:hover {
  color: #e74c3c;
}

.inbox-row-actions .confirm-delete {
  margin-top: 4px;
  color: #fff;
  background-color: #e74c3c;
}

.inbox-row-actions .cancel-delete:hover {
  color: #95a5a6;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .inbox-header {
    top: 10px;
    height: 50px;
  }

  .inbox-title {
    font-size: 18px;
    line-height: 20px;
    padding: 15px 0 15px 12px;
  }

  .inbox-footer {
    padding: 8px 10px;
    bottom: 10px;
    height: 50px;
  }

  .inbox-footer .btn {
    padding: 6px 9px;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 3px;
  }

  .inbox-body {
    top: 60px;
    bottom: 60px;
  }

  .inbox-icon {
    font-size: 1em;
    padding: 10px 15px;
  }

  .inbox-row {
    padding: 8px 8px 8px 0;
  }

  .inbox-list-group-header {
    padding: 6px 12px;
    font-size: 12px;
  }

  .inbox-row-preview li {
    font-size: 12px;
  }

  .inbox-related-btn {
    font-size: 12px;
  }

  .inbox-row-details {
    font-size: 12px;
    line-height: 1.5;
    width: 32%;
  }

  .inbox-row-timestamp {
    vertical-align: middle;
    font-style: italic;
    color: #95a5a6;
  }

  .inbox-row-actions {
    color: #95a5a6;
    vertical-align: bottom;
  }

  .inbox-action-btn {
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
    margin-left: 16px;
  }
}
