a.button.ys_compare {
  padding: 5px 10px;
  background: #097E9F;
  color: #fff;
  margin-top: 6px;
  display: block;
  border-radius: 25px;
  font-size: 14px;
}
.ys_dark_overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1001;
}
.ys_compare_popup {
  display: none;
  position: fixed;
  width: 80%;
  height: 80%;
  background: #fff;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 50px;
  z-index: 1002;
  border-radius: 16px;
  padding: 15px;
  overflow-x: hidden;
  overflow-y: scroll;
}
.ys_compare_popup h3 {
  display: table;
  color: #313131;
  border-radius: 25px;
  padding: 5px;
  border-bottom: 1px solid #af1010;
}
.ys_compare_products_list {
  width: 100%;
  display: flex;
  margin: 20px 0;
}
.ys_compare_product_column {
  width: 25%;
  border: 1px solid #ccc;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  padding: 15px;
}
.ys_compare_product_column img {
  width: 50%;
  display: table;
  margin: 0 auto;
}
.ys_compare_product_column h5 {
  font-size: 14px;
  text-align: center;
  margin: 20px 0;
}
body .ys_compare_popup .attributes_data th {
  font-size: 13px;
  text-align: right;
  width: 40%;
}
body .ys_compare_popup .attributes_data td {
  padding-right: 10px;
  color: #8f0000;
  font-size: 14px;
}
body .ys_compare_popup .attributes_data td a {
    color: #8f0000;
}
.ys_compare_select_product select {
  background: #ececec;
  border: 1px solid #ccc;
  padding: 10px;
  font-family: irs;
  border-radius: 25px;
  margin: 10px;
  width: 200px;
}
.ys_compare_popup .close {
  position: absolute;
  left: 20px;
  top: 10px;
  border: 1px solid #ccc;
  width: auto;
  height: 30px;
  text-align: center;
  line-height: 30px;
  border-radius: 8px;
  cursor: pointer;
  padding: 0 10px;
  font-size: 13px;
}
body .ys_compare_product_column .price {
  text-align: center;
  font-size: 15px !important;
  width: 100%;
  display: block;
  margin-bottom: 20px;
}
.ys_compare_select_product {
  height: 40px;
  width: 25%;
  line-height: 40px;
  border: 1px solid #ccc;
  border-radius: 25px;
  margin-right: 10px;
  background: #ececec;
  position: relative;
  overflow: hidden;
  transition:all 0.2s ease-out 0.15s;
	-webkit-transition:all 0.2s ease-out 0.15s;
	-moz-transition:all 0.2s ease-out 0.15s;
}
.ys_compare_select_product.active {
    height: 400px;
}
.ys_compare_select_product span {
  display: block;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
}
.ys_compare_select_product input {
  width: 100%;
  background: #fff;
  border: 0 none;
  padding: 9px;
  text-align: center;
  border-radius: 25px;
  margin: 10px 0;
  font-family: irs;
  box-shadow: 0 0 4px #313131 inset;
}
.ys_compare_select_product ul {
  position: relative;
  overflow-x: hidden;
  overflow-y: scroll;
  height: 300px;
}
.ys_compare_select_product li {
  border-bottom: 1px dashed #9c9c9c;
  font-size: 13px;
  color: #313131;
  padding: 0 15px;
  cursor: pointer;
  line-height: 27px;
}
.ys_compare_select_product li:hover {
  background: #ccc;
}
