.fancify-core-comparepage-container {
	.wpl-compare-table {
		border: unset;
		display: flex;

		thead {
			display: block;

			tr {
				&:first-child {
					margin-top: 389px;

					@include for-desktop {
						margin-top: 337px;
					}

					@include for-tablet {
						margin-top: 306px;
					}

					@include for-phone {
						margin-top: 241px;
					}
				}
			}

			@include for-small-phone {
				display: none;
			}
		}
	}

	tbody {
		box-shadow: unset;
		overflow: auto !important;
		width: 100%;
	}

	.fancify-core-category-label {
		margin-top: 90px;
		margin-bottom: 35px;
		position: relative;
		width: 330px;

		@include for-tablet {
			width: 280px;
		}

		@include for-phone {
			margin-top: 30px;
			margin-bottom: 15px;
			width: 215px;
		}

		span {
			@include font-family-quicksand;
			@include font-weight(medium);
			@include font-size(28);
			padding: 20px 79px;
			border-radius: 33px;
			background: $default-dark-blue;
			color: $white-color;
			display: block;
			height: auto;
			text-align: center;

			@include for-tablet {
				padding: 20px 50px;
			}

			@include for-phone {
				padding: 15px 40px;
			}
		}
	}

	.fancify-core-details-label {
		width: 100%;
		height: 60px;
		max-width: 330px;
		overflow: hidden;
		text-overflow: ellipsis;
		display: block;

		@include for-phone {
			height: 50px;
			max-width: 180px;
		}

		span {
			@include font-family-quicksand;
			@include font-weight(medium);
			@include font-size(23);
			color: #181818;
			display: block;
			height: auto;
			margin: auto;
			padding: 17px 0;
			text-align: center;
			overflow: hidden;
			text-overflow: ellipsis;
			display: block;

			@include for-phone {
				padding: 15px 0;
			}
		}

		&:nth-child(odd) {
			background: #F3F3F3;
		}
	}

	.fancify-core-content-container {
		display: flex;
		border: 0px;
		overflow: unset;

		&::before,
		td::before {
			content: unset !important;
		}

		&:nth-child(even) {
			td {
				background: #F3F3F3;
			}
		}

		td {
			flex: 1;
			width: unset;
			border: 0px;
			min-width: 290px;
			// max-width: 396px;
			border-bottom: unset !important;
		}

		&.wpl-compare-empty-row {
			background: $white-color;
			margin-top: 90px;
			height: 60px;
			margin-bottom: 35px;
			//display: block !important;
			position: relative;

			@include for-phone {
				margin-top: 30px;
				margin-bottom: 15px;
				height: 50px;
				display: flex !important;
			}

			td {
				background: unset;

				&::after {
					content: "";
					position: absolute;
					width: 100%;
					height: 2px;
					background: rgba(#0B2A53, 0.15%);
					margin: 0;
					z-index: 1;
					left: 0;
					top: 50%;
				}
			}
		}

		&.fancify-core-property_address {
			display: none !important;

			.wpl-compare-text {
				padding: 0;
			}
		}

		.wpl-compare-text {
			font-family: "Quicksand";
			font-weight: 500;
			font-size: 23px;
			font-size: 1.4375rem;
			color: #181818;
			height: 60px;
			margin: auto;
			padding: 20px 10px;
			text-align: center;
			overflow: unset;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
			display: block;

			@include for-phone {
				height: 50px;
			}

			&:before {
				float: unset;
			}

			@include for-phone {
				padding: 15px 0;
			}
		}

		&.fancify-core-gallery {
			height: 303px !important;

			//justify-content: center;
			@include for-desktop {
				height: 250px !important;
			}

			@include for-tablet {
				height: 220px !important;
			}

			@include for-tablet {
				height: 180px !important;
			}

			img {
				max-width: 396px !important;
				width: 100% !important;
				height: 100% !important;
				border-radius: 20px;
			}

			.wpl_gallery_container {
				margin: 0 15px;

				img {
					transition: $tr-very-slow ease;
					object-fit: cover;
				}

				@include for-phone {
					margin: 0 10px;
				}
			}



			.fancify-core-remove {
				position: absolute;
				opacity: 0;
				background: #EC1B1B;
				box-shadow: 0 5px 20px rgba(#EC1B1B, $alpha: 0.6);
				right: 34px;
				top: 20px;
				border-radius: 7px;
				display: flex;
				z-index: 2;
				transition: $tr-slow ease;

				i {
					padding: 7px;
					@include font-size(19);
					color: $white-color;
				}
			}
		}

		td {
			position: relative;
			max-width: 500px;
			min-width: 430px;

			@include for-desktop {
				max-width: 420px;
				min-width: 380px;
			}

			@include for-tablet {
				max-width: 370px;
				min-width: 330px;
			}

			@include for-tablet {
				max-width: 340px;
				min-width: 280px;
			}

			&:hover {
				.wpl_gallery_container {
					img {
						filter: brightness(60%);
					}
				}

				.fancify-core-remove {
					opacity: 1;
				}

			}
		}

		&.fancify-core-property_title {
			background: $white-color;
			margin-bottom: -7px;
			display: flex !important;

			td {
				background: $white-color;
			}

			.wpl-compare-property-title {
				@include font-family-quicksand( !important);
				@include font-weight(semi-bold);
				@include font-size(26,  !important);
				color: #181818;
				text-align: center;
				padding-top: 32px !important;
				height: auto;

				@include for-phone {
					padding-top: 26px !important;
				}
			}

			.fancify-core-price-container {
				display: flex;
				margin-top: 22px;
				flex-wrap: wrap;
				justify-content: center;
				line-height: 33px;

				@include for-phone {
					margin-top: 17px;
					line-height: 27px;
				}

				.fancify-core-price {
					@include font-family-poppins;
					@include font-weight(medium);
					color: $default-blue;
					@include font-size(33);
					letter-spacing: .33px;
					margin: 0px;
				}

				.fancify-core-price-type {
					@include font-family-poppins;
					@include font-weight(medium);
					color: rgba($default-dark-blue, 0.7);
					font-size: 1.1875rem;
					margin-left: 36px;
					margin-top: auto;
					margin-bottom: auto;
				}
			}

			.fancify-core-property-type {
				@include font-family-poppins;
				@include font-size(18);
				letter-spacing: 0.54px;
				text-transform: uppercase;
				color: rgba(#0B2A53, 0.6);
				margin-top: 28px;
				text-align: center;

				@include for-phone {
					margin-top: 20px;
				}
			}
		}

	}

	.wpl-listing-tags-wp {
		display: none;
	}
}