/**
 * WooCompare Products Test Style
 *
 * @since 1.0.0
 *
 * @package WooCompare Products
 * @subpackage Style
 */
 
.inner_product .compare.button {
  position: absolute;
  bottom: 5px;
  left: 5px;
  z-index: 10;
  background: transparent !important;
  border-right: 2px solid #ffffff !important;
  min-width: 85px;
}
  html.ie8 .inner_product .compare.button {
    min-width: 50px;
  }

.related .inner_product .compare.button {
  position: absolute;
  border: none !important;
  bottom: 5px;
  left: 5px;
  z-index: 10;
  min-width: 85px;
  padding: 7px 0 !important;
}

.single-product-summary .compare.button {
  border: 1px solid #005472;
  border-radius: 5px;
  background: #005472; /* Old browsers */
  background: -moz-linear-gradient(top, #005472 0%, #003752 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #005472), color-stop(100%, #003752)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #005472 0%, #003752 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #005472 0%, #003752 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #005472 0%, #003752 100%); /* IE10+ */
  background: linear-gradient(to bottom, #005472 0%, #003752 100%); /* W3C */
}

/*-- Compare widget --*/
#wcmpp-compare-footer {
  background: transparent;
  position: fixed;
  bottom: 0;
  z-index: 40;
  width: 100%;
  margin: auto;
  padding: 10px 0 0;
  color: #ffffff;
}

.wcmpp-compare-wrapper {
  width: 960px;
  max-width: 100%;
  margin: auto;
  background: #003752;
  background: rgba(0, 55, 82, 0.95);
  display: block;
  height: 180px;
  padding: 0 10px 10px;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
}

#wcmpp-compare-footer .header-wrapper {
  height: 35px;
  position: relative;
}
  #wcmpp-compare-footer .header-wrapper .widgettitle:after {
    content: '';
    position: absolute;
    right: 4px;
    top: 12px;
    width: 14px;
    height: 14px;
    background: url('../images/wcmpp-icons.png') 0 0 no-repeat;
    background: url('../images/wcmpp-icons.svg') 0 0 no-repeat, none;
  }
  #wcmpp-compare-footer.small .header-wrapper .widgettitle:after {
    background-position: -14px 0;
  }

.selected-products {
  width: 600px !important;
  margin: auto !important;
  display: block;
}

.wcmpp-compare-product {
  float: left;
  display: block;
  clear: none !important;
  border-radius: 10px;
  border: 1px solid #cccccc;
  margin: 10px 20px 0 0;
  width: 120px;
  height: 120px;
  position: relative;
  background: #ece9e1; /* Old browsers */
  background: -moz-linear-gradient(top, #ece9e1 0%, #dedede 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ece9e1), color-stop(100%, #dedede)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #ece9e1 0%, #dedede 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #ece9e1 0%, #dedede 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #ece9e1 0%, #dedede 100%); /* IE10+ */
  background: linear-gradient(to bottom, #ece9e1 0%, #dedede 100%); /* W3C */
}

#wcmpp-compare-footer h2.widgettitle {
  margin: 0 !important;
  cursor: pointer;
  line-height: 40px;
}

.selected-products li img {
  max-width: 80px;
  max-height: 80px;
}
#wcmpp-compare-table .image-wrap img {
  max-width: 150px;
  max-height: 150px;
}

.remove {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 111;
  width: 25px;
  height: 25px;
  border-radius: 20px;
}

.remove a {
  width: 25px;
  height: 25px;
  display: block;
  border-radius: 30px;
  background: #990000;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
}
  .remove a:after {
    content: '';
    position: absolute;
    background: url('../images/wcmpp-icons.png') -28px 0 no-repeat;
    top: 7px;
    left: 7px;
    width: 10px;
    height: 11px;
  }

#wcmpp-container .remove {
	top: -32px;
}

.no-product {
  margin: 40px 10px;
  text-align: center;
  color: #999999;
  text-shadow: 1px 1px 1px #ffffff;
}
.product_name {
  text-align: center;
  margin: auto;
  color: #000000;
  text-shadow: 1px 1px 1px #ffffff;
  width: 118px;
  display: block;
  line-height: 13px;
  position: absolute;
  bottom: 6px;
}
.selected-product img {
  margin: 5px 0 0 18px;
}
#wcmpp-compare-footer .compare.button {
  background: #ece9e1;
  /* Old browsers */
  background: -moz-linear-gradient(top, #ece9e1 0%, #dedede 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ece9e1), color-stop(100%, #dedede)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #ece9e1 0%, #dedede 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #ece9e1 0%, #dedede 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #ece9e1 0%, #dedede 100%); /* IE10+ */
  background: linear-gradient(to bottom, #ece9e1 0%, #dedede 100%); /* W3C */
  color: #000000;
  text-shadow: 1px 1px 1px #ffffff;
}
.compare.button[disabled=disabled] {
  opacity: .3;
  cursor: default;
}
#wcmpp-compare-footer {
  transition: bottom 300ms;
}
#wcmpp-compare-footer.small {
  bottom: -140px;
}
#wcmpp-compare-footer.hide {
  bottom: -200px;
}

/* Compare table */
.products-compare th,
.products-compare td {
  border-width: 0 !important;
	padding-top: 20px;
}
.row-odd td,
.row-even td {
  background: url(../images/dots.png) 0 100% repeat-x;
  background: url(../images/dots.svg) 0 100% repeat-x, none;
  background-color:  #ece9e1;
  min-width: 28%;
  color: #003752;
}
.products-compare table {
  border-collapse: separate;
  border-spacing: 20px 0 !important;
}

.products-compare table  td .image-wrap img {
	clear: both;
	display: block;
	margin: 10px auto;
	padding: 10px 0;
}

.products-compare table.products-selected-2 td {
  width: 40%;
	padding: 10px;
}
.products-compare table.products-selected-3 td {
  width: 27%;
	padding: 10px;
}
.products-compare table.products-selected-4 td {
  width: 20%;
	padding: 10px;
}
.products-compare table tr {
  background: transparent !important;
}
th[scope=col] {
  background: #ece9e1;
  border-radius: 10px 10px 0 0;
  font-family: SansaPro, Arial, sans-serif;
  text-align: center;
  position: relative;
}
#wcmpp-row-footer th[scope=col] {
  border-radius: 0 0 10px 10px;
}
.remove {
  position: absolute;
  right: -10px;
  top: -10px;
}
th .remove {
  float: right;
  position: relative;
  right: -20px;
  top: -20px;
}
th[scope=row] {
  text-align: right;
  text-transform: none;
  font-family: SansaPro, Arial, sans-serif;
  color: #545454;
}
tr th:first-child,
tr td:first-child {
  background: transparent !important;
}

#wcmpp-row-image td {
  background: #ece9e1;
}
.view-product.button {
  width: 100%;
}
.sidebar .compare.button {
  color: #ffffff !important;
}

 
/** Notification box **********************************************************/
.wcmpp-maxed-notifier {
	position: absolute;
	z-index: 1;
	display: block;
	background-color: fade(#cc0000, 90%);
	padding: 10px 15px 18px;
	color: #fff;
	border-radius: 15px;
	box-shadow: 2px 2px 10px #000;
	width: 420px;
}

.wcmpp-maxed-notifier:before {
	content: '';
	position: absolute;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	top: 50%; 
	margin-top: -10px;
}

	.wcmpp-maxed-notifier.left:before {
		border-right: 10px solid rgba( 255, 20, 20, .9 );
		left: -10px;
	}
	
	.wcmpp-maxed-notifier.right:before {
		border-left: 10px solid rgba( 255, 20, 20, .9 );
		right: -10px;
	}

.wcmpp-maxed-notifier .close {
	cursor: pointer;
	float: right;
	position: absolute;
	top: 15px;
	right: 15px;
}

.wcmpp-maxed-notifier .remove {
	position: absolute;
	display: block;
	width: 120px;
	height: 120px;
	right: auto;
	top: 0;
}

.wcmpp-maxed-notifier .remove a {
	margin: 47.5px auto 0;
}

/** Disable compare on mobile *************************************************/
@media screen and (max-width: 767px) {

	.product .inner_product .compare,
	#wcmpp-compare-footer,
	.wcmpp-single-product-widget,
	.single_toggle.wcmpp-single-product-widget {
		display: none;
	}
}
