/* Copyright 2017 Apinf Oy
This file is covered by the EUPL license.
You may obtain a copy of the licence at
https://joinup.ec.europa.eu/community/eupl/og_page/european-union-public-licence-eupl-v11 */

.statistic-block a {
  color: inherit;
}

.api-view {
  .dashboard-form-label {
    display: none;
  }
}

.dashboard-form-label {
  position: absolute;
  background-color: #fff;
  font-size: 11px;
  font-weight: 400;
  color: #4c6072;
  padding-left: 2px;
  padding-right: 2px;
  top: -6px;
  line-height: 1;
  margin-left: 8px;
}

.api-view {
  background-color: #e5eef4;
  min-height: 100vh;
}

.api-view-card {
  min-height: 330px;
}

.api-view-card-title {
  font-size: 1.6em;
  margin-top: 0;
  text-transform: none;
  margin-bottom: 1em;
}

.api-view-card-help-text {
  font-size: 1em;
  margin-top: 0;
  text-transform: none;
  margin-bottom: 5px;
  font-weight: 400;
  color:#6d859e;
}

.api-view-card.table-view {
  min-height: 100px;
}

.mdi-trending-up, .mdi-trending-down {
  font-size: 18px;
  line-height: 1;
  position: relative;
  top: 2px;
}

.arrow-up {
  color: #0F9D58;
}

.arrow-down {
  color: #F44336;
}

.arrow-up_time {
  color: #F44336;
}

.arrow-down_time {
  color: #0F9D58;
}

.no-trend {
  border-style: solid;
  border-width: 2px 10px;
  display: inline-block;
  border-radius: 10%;
  border-color: #959595;
  margin-bottom: 2px;
}

.text-default {
  color: #959595;
}

.dashboard-table-row {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ecf3f8;
  margin-left: -20px;
  margin-right: -20px;
}

.dashboard-table-row:hover {
  background-color: rgba(229, 238, 244, 0.4);
  border-bottom: 1px solid transparent;
}

.dashboard-table-row.open {
  background-color: #ecf3f8;
}

.statistic-line {
  cursor: pointer;
}

.overview-col-title {
  font-size: 1.6em;
}

.overview-body {
  padding: 1em 0;
}

.overview-line {
  padding: 0.5em 1.5em;
}

.request-number,
.response-time,
.unique-users {
  font-size: 16px;
}

.summary-number-label {
  font-size: 12px;
  display: block;
  color: #6d859e;
  padding-bottom: 5px;
}

.table-statistic td {
  word-break: break-all;
}

.toolbar-select,
#date-range-picker {
  display: inline-block;
  width: auto;
  vertical-align: middle;
}

.statistic-title {
  background-color: #f5f5f5;
  font-weight: bold;
}

.overview-help-text {
  font-style: italic;
  margin-top: 1em;
}

#request-path-number, #request-path-time {
  width: 100%;
}

.request-paths-block {
  width: 100%;
}

h1.page {
  margin: 0;
  line-height: 30px;
}

.search {
  position: relative;

  .form-control {
    position: relative;
    border-radius: 5px;
    padding-top: 4px;
    padding-bottom: 5px;
    height: 33px;
    border: 1px solid #C1C7CD;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }

  input {
    text-indent: 20px;
    outline: none;
    color: #333;
  }

  .fa-search {
    position: absolute;
    top: 0.62em;
    left: 0.85em;
    font-size: 14px;
    color: rgb(99, 114, 130);
    z-index: 1;
  }
}

select.form-control {
  height: 33px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #5c617b;
  background-color: #fff;
  background-image: none;
  border: 1px solid #C1C7CD;
  border-radius: 5px;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

.api-view .dashboard-filter-buttons {
  line-height: 45px;
}

@media only screen and (max-width: 768px) {
  .dashboard-search, .dashboard-filter-buttons, .toolbar-select {
    display: none;
  }

  .dashboard-filter-buttons {
    margin-top: 0;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 20px;
    line-height: normal !important;
  }

  .secondary-menu-block {
    height: auto;
  }

  #date-range-picker {
    width: 100%;
  }

  .dashboard-api-name {
    margin-bottom: 20px;
  }

  .dashboard-summary-block {
    margin-left: 15px;
    margin-right: 15px;
  }
}
