body {
  background-color: #D8D8D8;
  font-size: 13px;
  font-family: Arial, serif;
}

#container {
  width: 70%;
  min-width: 1200px;
  min-height: calc(100% - 15px);
  margin: 15px auto 0 auto;
}

.panel {
  background-color: #FFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  padding: 10px;
  margin-bottom: 12px;
}

#header-menu {
  display: flex;
}
#header-menu a {
  text-decoration: none;
}
#header-menu .menu-item {
  padding: 8px 12px;
  color: #626262;
}
#header-menu .menu-item.selected {
  font-weight: 700;
}
#header-menu .menu-item:hover {
  color: #000;
}

#activity-filter {
  display: flex;
  padding-top: 5px;
  margin-bottom: 0;
}
#activity-filter .form-filter {
  position: relative;
  padding: 15px;
}
#activity-filter .form-filter label {
  position: absolute;
  top: 0;
  left: 15px;
  font-size: 85%;
  color: #a5a5a5;
}
#activity-filter #user-select {
  width: 250px;
  height: 25px;
}
#activity-filter #datepicker {
  height: 25px;
  width: 100px;
  padding-left: 5px;
}
#activity-filter #order-by, #activity-filter #paginate-items {
  width: 110px;
  height: 25px;
}

#user-app-version {
  padding: 0 0 10px 15px;
}

#activity-table {
  width: 100%;
  table-layout: fixed;
  font-size: inherit;
  border-spacing: 0;
}
#activity-table td, #activity-table th {
  text-align: left;
  padding: 6px 10px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
#activity-table tr:hover {
  background-color: #EEE;
}
#activity-table .col-1 {
  width: 6%;
}
#activity-table .col-2 {
  width: 12%;
}
#activity-table .col-3 {
  width: 20%;
}
#activity-table .col-3 .text-overflow-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 95%;
}
#activity-table .col-4 {
  width: 23%;
}
#activity-table .col-5 {
  width: 22%;
}
#activity-table .col-6 {
  width: 5%;
}
#activity-table .col-7 {
  width: 12%;
}

.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 15px;
  border-radius: 4px;
}
.pagination li {
  display: inline;
}
.pagination li a, .pagination li span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}
.pagination li a:hover, .pagination li a:focus, .pagination li span:hover, .pagination li span:focus {
  z-index: 2;
  color: #23527c;
  background-color: #eee;
  border-color: #ddd;
}
.pagination li:first-child a, .pagination li:first-child span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.pagination li:last-child a, .pagination li:last-child span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.pagination .active a, .pagination .active span, .pagination .active a:hover, .pagination .active a:focus, .pagination .active span:hover, .pagination .active span:focus {
  z-index: 3;
  color: #fff;
  cursor: default;
  background-color: #337ab7;
  border-color: #337ab7;
}
.pagination .disabled a, .pagination .disabled span, .pagination .disabled a:hover, .pagination .disabled a:focus, .pagination .disabled span:hover, .pagination .disabled span:focus {
  color: #777;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}

#graph-container {
  width: 99%;
  height: 220px;
  overflow-x: scroll;
  margin: 0 auto;
}

#activity-timeline-graph {
  width: 140%;
  height: 175px;
}

#hours-scale {
  width: 140%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  line-height: 20px;
}

#apps-list {
  display: flex;
  flex-wrap: wrap;
  color: #4d4d4d;
  padding: 15px 0;
}
#apps-list .app-list-item {
  width: 29%;
  display: flex;
  margin: 4px 20px;
  position: relative;
}
#apps-list .app-list-item .app-img {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}
#apps-list .app-list-item .app-name {
  width: 85%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 85%;
}
#apps-list .app-list-item .app-total-duration {
  width: 15%;
  text-align: right;
}
#apps-list #titles-list-popup {
  position: absolute;
  width: 460px;
  left: 14px;
  top: 7px;
  background-color: white;
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.3), 0 0 2px #a2a9b1;
  padding: 10px;
  display: none;
  z-index: 2;
  max-height: 200px;
  overflow-y: auto;
  cursor: default;
}
#apps-list #titles-list-popup div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
#apps-list #titles-list-popup .title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80%;
}

svg > g > g:last-child {
  pointer-events: none;
}

.soft-scrollbar::-webkit-scrollbar, #graph-container::-webkit-scrollbar, #apps-list #titles-list-popup::-webkit-scrollbar {
  width: 7px;
  height: 10px;
}
.soft-scrollbar::-webkit-scrollbar-track, #graph-container::-webkit-scrollbar-track, #apps-list #titles-list-popup::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.soft-scrollbar::-webkit-scrollbar-thumb, #graph-container::-webkit-scrollbar-thumb, #apps-list #titles-list-popup::-webkit-scrollbar-thumb {
  background: #afafaf;
}
.soft-scrollbar::-webkit-scrollbar-thumb:hover, #graph-container::-webkit-scrollbar-thumb:hover, #apps-list #titles-list-popup::-webkit-scrollbar-thumb:hover {
  background: #7e7e7e;
}
