/*
 * Copyright (C) 2013 - 2018, Logical Clocks AB and RISE SICS AB. All rights reserved
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this
 * software and associated documentation files (the "Software"), to deal in the Software
 * without restriction, including without limitation the rights to use, copy, modify, merge,
 * publish, distribute, sublicense, and/or sell copies of the Software, and to permit
 * persons to whom the Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all copies or
 * substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  OR IMPLIED, INCLUDING
 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL  THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
 * DAMAGES OR  OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 */

.search-result {
  width: 100%;
}

.search-result-header > div > h3 {
  color: #8A8A8A;
  font-weight: 500;
  margin: 1rem 0;
}
.search-result-header {
  border-bottom: 1px solid #e5e5e5;
}
.search-result-filter {
  background: #FFFFFF;
  width: 100%;
  margin-top: -20px;
  box-shadow: 1px 2px 7px 1px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.search-result-filter > div > li > ul {
  padding: 0;
  margin: 0;
}

.search-result-filter > div > li {
  list-style: none;
}
.search-result-filter > div > li > ul > li {
  list-style: none;
}

.search-result-filter > div > li > ul > li > a {
  display: block;
  clear: both;
  font-weight: normal;
  line-height: 1.428571429;
  color: #999;
  white-space: normal;
}

.search-result-filter > div > li ul > li > a:hover,
.search-result-filter > div > li ul > li > a:focus {
  text-decoration: none;
  color: #444;
  background-color: #f5f5f5;
}

.search-result-filter form {
  margin: 3px 20px;
}

.search-result-filter .form-group {
  margin-bottom: 3px;
}

.search-result-filter .divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}

.search-result .divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}

.search-result-filter .dropdown-header {
  color: #428bca;
  font-size: 18px;
  font-weight: bold;
  padding: 0px;
}
.result-filter-body {
  margin: 0px;
  margin-bottom: 15px;
  padding: 15px;
}

.search-result-body {
  margin: 2rem 0;
  height:650px;
  overflow:auto;
}

.filter-menu-uppercase {
  margin-bottom: 0px;
  font-weight: 700;
  text-transform: uppercase;
}

.card-item-content.blue .header > label {
    color: #4178BE;   
}

.card-item-content.green .header > label {
    color: #5DA51D;   
}

.input-group.spinner {
  margin: 1rem 0;
}

.spinner input {
  text-align: right;
}

.input-group-btn-vertical {
  position: relative;
  white-space: nowrap;
  width: 2%;
  vertical-align: middle;
  display: table-cell;
}

.input-group-btn-vertical > .btn {
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
  padding: 8px;
  margin-left: -1px;
  position: relative;
  border-radius: 0;
}

.input-group-btn-vertical > .btn:first-child {
  border-top-right-radius: 4px;
}

.input-group-btn-vertical > .btn:last-child {
  margin-top: -2px;
  border-bottom-right-radius: 4px;
}

.input-group-btn-vertical i {
  position: absolute;
  top: 0;
  left: 4px;
}

.card-dropdown-menu {
  background: #FFFFFF;
  width: 98%;
  box-shadow: 1px 2px 7px 1px rgba(0, 0, 0, 0.1);
  z-index: 10;
  margin: -10px -20px 10px 15px;
  max-height: 700px;
  overflow:auto;
}

.card-dropdown-menu:before {
  content: " ";
  border-bottom: 15px solid #e52;
  border-right: 17px solid transparent;
  border-left: 17px solid transparent;
  position: absolute;
  top: -10px;
  left: 302px;
  z-index: 10;
}

.card-dropdown-menu:after {
  content: " ";
  border-bottom: 17px solid #ccc;
  border-right: 19px solid transparent;
  border-left: 19px solid transparent;
  position: absolute;
  top: -17px;
  left: 302px;
  z-index: 8;
}

.fa-bounce {
    display: inline-block;
    position: relative;
    -moz-animation: bounce 1s infinite linear;
    -o-animation: bounce 1s infinite linear;
    -webkit-animation: bounce 1s infinite linear;
    animation: bounce 1s infinite linear;
}

@-webkit-keyframes bounce {
    0% { top: 0; }
    50% { top: -0.2em; }
    70% { top: -0.3em; }
    100% { top: 0; }
}
@-moz-keyframes bounce {
    0% { top: 0; }
    50% { top: -0.2em; }
    70% { top: -0.3em; }
    100% { top: 0; }
}
@-o-keyframes bounce {
    0% { top: 0; }
    50% { top: -0.2em; }
    70% { top: -0.3em; }
    100% { top: 0; }
}
@-ms-keyframes bounce {
    0% { top: 0; }
    50% { top: -0.2em; }
    70% { top: -0.3em; }
    100% { top: 0; }
}
@keyframes bounce {
    0% { top: 0; }
    50% { top: -0.2em; }
    70% { top: -0.3em; }
    100% { top: 0; }
}

.icon-stack {
  position: relative;
  display: inline-block;
  width: 2em;
  height: 2em;
  line-height: 2em;
  vertical-align: middle;
}
.icon-stack-1x,
.icon-stack-2x,
.icon-stack-3x {
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
}
.icon-stack-1x {
  line-height: inherit;
}
.icon-stack-2x {
  font-size: 1.5em;
}
.icon-stack-3x {
  font-size: 2em;
}
