/*.sd-compare-catalog-product-compare-checkmark {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
}*/
.sd-compare-catalog-product-compare-checkmark .sd-compare-hide-no-products {
  display: none;
  margin-left: 0.5rem;
  white-space: nowrap;
}
.sd-compare-summary-button, .sd-compare-remove-button {
  border-radius: 1.5rem;
  padding: 0.8rem 2rem;
  padding-right: 2.5rem;
  background-color: #004367;
  color: #ffffff;
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.sd-compare-summary-button:hover, .sd-compare-remove-button:hover {
  background-color: #002a41;
}
.sd-compare-floor-system-remove-all-button-link:hover {
  cursor: pointer;
}

.sd-compare-products-remove-all-button-link:hover {
  cursor: pointer;
}

.sd-compare-summary-button::after {
  content: attr(data-count);
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.8rem;
  border-radius: 50%;
  background-color: #ca0811;
  color: #ffffff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  width: 1.25rem;
  height: 1.25rem;
}
.sd-compare-summary-button .sd-compare-summary-button-link, .sd-compare-remove-button  .sd-compare-remove-button-link{
  color: #ffffff;
}
.sd-compare-remove-button {
  top: 56%;
  z-index: 2;
}

.table-responsive {
  overflow-x: auto;
}
/* */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.compare-table {
  display: grid;
  grid-template-columns: repeat(12, [col-start] 1fr);
  position: relative;
}
/* @media screen and (max-width: 768px) {
	.compare-table .items {
		overflow-x: scroll;
	}
	.compare-table .items::-webkit-scrollbar {
		display: none;
	}
}
*/
.compare-table .first-col {
  grid-column: col-start/span 4;
}
.compare-table .first-col .first-col-menu {
  width: 100%;
  position: relative;
  margin-bottom: 1rem;
  padding-right: 7rem;
}
.compare-table .first-col .first-col-menu .menu-buttons {
  left: 0;
  bottom: 0;
  margin: 1rem;
  margin-bottom: 0;
}
.compare-table .first-col .first-col-menu .menu-buttons .show-differences {
  color: #0a73b3;
  font-weight: bold;
  text-align: left;
  background: none;
  border: none;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  cursor: pointer;
}
.compare-table .first-col .first-col-menu .menu-buttons button:last-child {
  margin-bottom: 0;
}
.compare-table .first-col .prop-name.even {
  background: #f9f8f8;
}
.compare-table .first-col .prop-name {
  padding: 1rem 2rem;
  border-radius: 1.5rem 0 0 1.5rem;
}
.compare-table .first-col .prop-name.scrolled {
  /* border-right: 1px solid #e3e3e3; */
}
.compare-table .items {
  grid-column: col-start 5 / span 8;
  overflow-x: scroll;
  display: flex;
  flex-direction: row;
  position: relative;
}
/* @media screen and (max-width: 768px) {
	.compare-table {
		overflow-x: scroll;
	}
}
*/
.compare-table .items::-webkit-scrollbar {
  display: none;
}
.prev-button {
  left: -1rem;
  position: sticky;
  top: 50%;
  transform: translateY(-100%);
  width: 3.5rem;
  height: 3.5rem;
  background: #e3f0f9;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  font-size: 2rem;
}
.next-button {
  right: -1rem;
  position: sticky;
  transform: translateY(-100%);
  width: 3.5rem;
  height: 3.5rem;
  background: #e3f0f9;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  font-size: 2rem;
}
.item {
  min-width: 21rem;
  max-width: 21rem;
}
.item .header {
  padding: 1rem;
  border-radius: 1rem;
  background: #f9f8f8;
  margin-right: 3rem;
  margin-bottom: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.item .header.selected-by-user {
  background: #e3f0f9 !important;
}
.item .header .compare-table-header-image {
  margin-bottom: 1rem;
}
.item .header .compare-table-header-image img {
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center;
  border-radius: 1rem;
  max-width: 16rem;
}
.item .header h3 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
  font-weight: bold;
  height: 100%;
  padding-right: 1.75rem;
}
.item .header .url {
  color: #0a73b3;
  font-weight: bold;
  font-size: 1.3rem;
}
.item .header .delete-button {
  line-height: 1 !important;
  width: 2.75rem !important;
  height: 2.75rem !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  font-size: 2rem !important;
  border-radius: 0.75rem !important;
  background: #ffffff;
  border: none !important;
  position: absolute !important;
  top: 0.25rem;
  right: 0.25rem;
}
.item .header .delete-button:hover {
  cursor: pointer;
  background: #222222 !important;
  color: #ffffff !important;
}
.item .property {
  padding: 1rem 1rem;
  padding-right: 3rem;
}
.item .property.even {
  background: #f9f8f8;
}
.item:last-child .property {
  border-radius: 0 1.5rem 1.5rem 0;
  padding: 1rem 2rem 1rem 0.5rem;
}
.sticky-items-bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0px 4px 18px 0px rgba(0, 0, 0, 0.23);
  display: none;
  padding: 1rem 0;
}
.sticky-items-bar.sticky {
  display: block;
}
.sticky-items-bar .container {
  display: grid;
  grid-template-columns: repeat(12, [col-start] 1fr);
  position: relative;
}
.sticky-items-bar .container .items {
  grid-column: col-start 5 / span 8;
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
}
.sticky-items-bar .container .items::-webkit-scrollbar {
  display: none;
}
.sticky-items-bar .container .items .item .header {
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .compare-table-container {
    overflow-x: scroll;
  }
  .compare-table-container::-webkit-scrollbar {
    display: none;
  }
  .compare-table .items {
    overflow-x: inherit;
  }
  .compare-table .first-col {
    white-space: normal;
    grid-column: col-start/span 6;
  }
  .compare-table .items {
    grid-column: col-start 7 / span 6;
  }

  .sticky-items-bar {
    display: none !important;
  }
}
.product-catalog .products-row .product .compare-products {
  font-size: 1.2rem;
}
.product-catalog .products-row .product .compare-products .sd-compare-checkbox {
  margin-left: 0 !important;
}
.product-catalog .products-row .product .compare-products .sd-compare-hide-no-products {
  color: #0088d1;
  font-weight: bold;
  font-size: 1rem;
}
body.page-template-page-compare .compare-table-container .compare-table {
  margin-bottom: 10rem !important;
}
.sticky-items-bar .header {
  background: #ffffff !important;
  height: 100%;
}
.sticky-items-bar .header .compare-table-header-image img {
  max-width: 100% !important;
}
.sticky-items-bar .header .delete-button {
  top: 1.5rem !important;
  right: 1.75rem !important;
}
.sticky-items-bar .delete-button-products {
  background: #f9f8f8 !important;
}
.compare-table .delete-button-products {
  top: 0.5rem !important;
  right: 0.5rem !important;
}
.compare-table .first-col-menu {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.compare-table .first-col-menu .prev-button {
  position: absolute;
  top: 50% !important;
  left: inherit !important;
  right: 1.5rem;
  transform: translateY(-50%);
}
.sticky-items-bar .prev-button-wrapper {
  grid-column: col-start 4 / span 1;
  display: flex;
  justify-content: flex-end;
  margin-right: 1.5rem;
  align-items: center;
}
.sticky-items-bar .prev-button-wrapper .prev-button {
  left: inherit !important;
  position: inherit !important;
  top: inherit !important;
  transform: inherit !important;
}
.sticky-items-bar .next-button {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
}
.compare-table .next-button {
  right: -5rem;
  position: absolute;
  top: inherit;
  transform: inherit !important;
}

@media screen and (max-width: 1275px) {
  .compare-table-container {
    padding-right: 8rem !important;
  }

  .sticky-items-bar .next-button {
    right: 2.5rem !important;
  }
}
@media screen and (max-width: 767px) {
  .compare-table .row, .compare-table .property {
    height: 90px !important;
  }
}