﻿/* Following media queries are based on Bootstrap 3.x breakpoints */
.toggle-compare:before {
  content: "\f03a";
  border-radius: 50%;
  bottom: 83px;
  font-family: FontAwesome;
  font-size: 34px;
  height: 55px;
  left: 20px;
  line-height: 55px;
  position: fixed;
  text-align: center;
  width: 55px;
  cursor: pointer;
  z-index: 996;
  background-color: #5461a7;
  color: #fff;
}
.toggle-compare.hidden {
  display: block !important;
}
.toggle-compare.active:before {
  content: "\f00d";
}
.toggle-compare.active:hover {
  color: #d52527;
}
.toggle-compare.active + div {
  transform: translateX(0);
  opacity: 1;
}

.compare-preview {
  background-color: #5461a7;
  border-radius: 5px;
  bottom: 83px;
  left: 20px;
  position: fixed;
  z-index: 995;
  font-size: 13px;
  font-weight: 100;
  transform: translate3d(0, 0, 0);
  transform: translateX(-100%);
  transition: transform 0.5s, opacity 0.4s;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  height: 200px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}
.compare-preview div.flex {
  margin: 10px;
}
.compare-preview > a {
  position: absolute;
  bottom: 10px;
  background-color: #fff;
  border: 1px solid #fff;
  color: #111;
  padding: 0 15px;
  border-radius: 2px;
  line-height: 2;
  height: 30px;
  right: 10px;
}
.compare-preview > a:hover, .compare-preview > a:focus {
  text-decoration: none;
  background-color: #ddd;
  border-color: #ddd;
}
.compare-preview i {
  color: #f55;
  cursor: pointer;
  margin-right: auto;
}
.compare-preview i:hover, .compare-preview i:focus {
  color: #ff2c2c;
}
.compare-preview #compare__handlebars-results > div {
  height: 36px;
  border-bottom: 1px solid #4a5593;
  align-items: center;
}
.compare-preview #compare__handlebars-results > div > div {
  color: #fff;
}

body.rtl.page__compare .farashop {
  direction: rtl;
}
