.references-filter {
  margin-bottom: 35px;
}

.references-filter .quicksearch {
  padding: 10px 15px !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 14px;
  color: #888;
  background: url("../img/search.svg") no-repeat right 5px center #f7f7f7 !important;
}
.app-catalog-filter .quicksearch:focus {
  color: #444;
}

.univention-references .references-filter .quicksearch {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  padding-left: 10px !important;
}

.reference-element {
  height: 150px;
  margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
  .reference-element {
    width: 50%;
  }
}

@media only screen and (max-width: 960px) {
  .ui-tooltip:after,
  .ui-tooltip:before {
    display: none !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 960px) {
  .reference-element {
    width: 25%;
  }
}
.reference-element.isotope-init {
  -webkit-transition-duration: 0.0s !important;
     -moz-transition-duration: 0.0s !important;
      -ms-transition-duration: 0.0s !important;
       -o-transition-duration: 0.0s !important;
          transition-duration: 0.0s !important;
}

.reference-element > .inner {
  position: relative;
  height: 150px;
  border: 1px solid #ddd;
}

.reference-element > .inner > a,
.reference-element > .inner > span,
.reference-element > .inner > a > span {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
}
.reference-element > .inner > a,
.reference-element > .inner span {
  transition: background-color 0.4s;
}

.reference-element > .inner > a > span {
  display: block;
}

@media only screen and (min-width: 767px) {
  .reference-element.has-tooltip > .inner > a:hover,
  .reference-element.has-tooltip > .inner > span:hover,
  .reference-element.has-tooltip.active > .inner > a,
  .reference-element.has-tooltip.active > .inner > span,
  .tooltip-open {
    background-color: #e5e5e5;
  }
}

.reference-element.has-tooltip .reference-tooltip:after {
  content: "\ed5a";
  font-family: "icomoon";
  line-height: 1;
  font-size: 10px;
  color: #fff;
  padding: 3px;
  background-color: #74b627;
  position: absolute;
  right: -1px;
  bottom: -1px;
}
@media only screen and (max-width: 767px) {
  .reference-tooltip.hide-mobile-more:after {
    content: none !important;
  }
}

.reference-element img {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
     -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
       -o-transform: translateY(-50%);
          transform: translateY(-50%);

  max-width: 80% !important;
  max-height: 80% !important;
  height: auto;
  width: auto;
}

.btn-reference {
  display: block;
  margin-top: 10px;
  padding: 10px;
}

.side-infos {
  padding: 10px 15px;
  background-color: #e5e5e5;
}

.reference-thumbnail {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #cdcdcd;
}

.reference-thumbnail img {
  height: auto;
}

@media only screen and (min-width: 768px) {
  .reference-single-wrapper {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
  }

  .reference-content {
    padding-left: 60px;
  }
}

.reference-requirements {
  margin-bottom: 20px;
}

.tooltip-content-hidden {
  display: none;
}

.tooltip-content-reference .tooltip-text {
  padding: 16px;
}

.tooltip-content-reference .tooltip-title {
  padding: 10px 16px 8px 16px;
}

/*.tooltip-content-reference .tooltip-body,
.tooltip-content-reference .requirements {
  float: left;
  width: 48%;
}
.tooltip-content-reference .requirements {
  float: right;
}*/

.ui-tooltip {
  max-width: 400px;
}

div.arrow {
  width: 100px;
  height: 100px;
  background-color: red;
}

.tooltip-content-reference p,
.tooltip-content-reference li {
  line-height: 1.4;
  font-size: 13px;
}
.tooltip-content-reference li {
   background-position: left 5px;
}

.tooltip-content-reference h2,
.tooltip-content-reference h3 {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.tooltip-content-reference h3 {
  font-size: 15px;
  margin-bottom: 7px;
}

.tooltip-content .vc_btn {
  clear: both;
}
