.salesBox {
	border: solid 1px $brand-grey-medium;
	margin-bottom: 20px;
}

.salesHead {
	background-color: $brand-grey-light;
	border-bottom: 1px solid $brand-grey-medium;
	display: flex;
	align-items: center;
	padding: 3px 15px;
	position: relative;
	svg, svg * {
		width: 16px;
		height: 16px;
		fill: $brand-copy-light;
		margin-right: 10px;
	}
	&__title {
		font-size: 16px;
		margin: 5px 0;
	}
	&__locator {
		margin: 0 7px 0 0;
	}
	&__locatorNum {
		@include medium-weight;
		font-size: 22px;
	}
}

.salesTitle {
	padding: 10px 15px 0;
	&__name {
		@include medium-weight;
		font-size: 16px;
		margin: 0;
	}
	&__location {
		svg, svg * {
			width: 16px;
			height: 16px;
			fill: $interactive-color;
			vertical-align: middle;
		}
	}
}

.salesContent {
	display: flex;
	padding: 10px 15px;
	&__item {
		flex: 1;
	}
	&__subtitle {
		margin: 0;
	}
	&__info {
		display: block;
		margin-bottom: 10px;
	}
}

.salesInfo {
	margin-bottom: 20px;
	&__title {
		@include medium-weight;
		font-size: 16px;
		margin-bottom: 5px;
	}
	.dst-ctnr-showmore {
		height: auto;
		overflow: hidden;
		position: relative;
		transition: max-height 0.8s;
	}
	.viewMore_desc_cont {
		max-height: 125px;
		&:after {
			background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
			display: block;
			content: "";
			height: 20px;
			position: absolute;
			bottom: 0;
			width: 100%;
			z-index: 10;
		}
	}
	&--policy {
		border-top: 1px solid $brand-grey-medium;
		padding-top: 20px;
		p {
			margin: 0;
		}
	}
}

.salesPrice {
	border: solid 1px $brand-grey-medium;
	margin-bottom: 20px;
	padding: 0 15px;
	&__item {
		border-bottom: 1px dashed #c5c5c5;
		display: flex;
		justify-content: space-between;
		padding: 10px 0;
		&:last-of-type {
			border-bottom: 0;
		}
	}
	&__footer {
		background-color: $brand-grey-light;
		border-top: 1px solid $brand-grey-medium;
		display: flex;
		justify-content: space-between;
		padding: 10px 15px;
		margin: 0 -15px;
	}
	&__totalPrice {
		@include medium-weight;
		font-size: 18px;
		margin: 0;
		text-align: right;
	}
	&__status {
		@include medium-weight;
		color: #027a02;
		text-align: right;
	}
}

.salesActions {
	box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.12);
	border: solid 1px $brand-grey-medium;
	text-align: center;
	&__item {
		border-bottom: 1px solid $brand-grey-medium;
		padding: 15px;
	}
	&--fixed {
		background-color: #FFFFFF;
		position: fixed;
		margin-top: 35px;
		transform: translate(0, -100%);
		width: 270px;
		z-index: 9;
	}
}

.salesBadge {
	position: absolute;
	right: -1px;
	top: -1px;
	bottom: 0;
	padding: 10px 15px;
	&--confirmed {
		background-color: $brand-green;
		color: #FFFFFF;
	}
	&--cancelled {
		background-color: $brand-red;
		color: #FFFFFF;
	}
	&--pending {
		background-color: $brand-yellow;
		color: $brand-grey-dark;
	}
	&--incompleted {
		background-color: $brand-copy-light;
		color: #FFFFFF;
	}
}
