﻿#productDetailsEdit #previousUpcButton {
	display: block;
	width: 40px;
	height: 40px;
	cursor: pointer;
	margin-right: auto;
}

	#productDetailsEdit #previousUpcButton svg {
		height: 100%;
		width: 100%;
	}

#productDetailsEdit .previousUpcButtonDisabled svg path {
	fill: #EDEDED;
}

#productDetailsEdit #ddlUpc {
	width: 65%;
}

	#productDetailsEdit #ddlUpc option.disabled {
		color: gray;
	}

#productDetailsEdit #nextUpcButton {
	display: block;
	width: 40px;
	height: 40px;
	cursor: pointer;
	margin-left: auto;
}

	#productDetailsEdit #nextUpcButton svg {
		height: 100%;
		width: 100%;
	}


#productDetailsEdit .nextUpcButtonDisabled svg path {
	fill: #EDEDED;
}

#productDetailsEdit .applyDrawer {
	opacity: 0;
	width: 300px;
	transition: opacity 0.5s ease-in-out;
	-o-transition: opacity 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out;
	-webkit-transition: opacity 0.5s ease-in-out;
}

	#productDetailsEdit .applyDrawer.in {
		opacity: 1;
	}

	#productDetailsEdit .applyDrawer .applyPromptRow {
		position: relative;
		height: 30px;
		margin-top: 8px;
	}

		#productDetailsEdit .applyDrawer .applyPromptRow .applyPrompt {
			position: absolute;
			font-size: 1.5vh;
			display: inline-block;
			top: 50%;
			transform: translateY(-50%);
		}

		#productDetailsEdit .applyDrawer .applyPromptRow .applyCancelButton {
			position: absolute;
			right: 0;
			background: #EF3030;
			width: 20px;
			height: 20px;
			border-radius: 10px;
			top: 50%;
			transform: translateY(-50%);
			cursor: pointer;
			transition: width 0.5s, opacity 0.5s;
		}

			#productDetailsEdit .applyDrawer .applyPromptRow .applyCancelButton:hover {
				width: 70px;
			}

			#productDetailsEdit .applyDrawer .applyPromptRow .applyCancelButton:hover svg {
				opacity: 0;
			}

				#productDetailsEdit .applyDrawer .applyPromptRow .applyCancelButton:hover:before {
					content: 'Cancel';
					opacity: 1;
				}

			#productDetailsEdit .applyDrawer .applyPromptRow .applyCancelButton svg {
				width: 10px;
				height: 10px;
				top: 50%;
				left: 50%;
				position: absolute;
				transform: translate(-50%, -50%);
				opacity: 1;
			}

				#productDetailsEdit .applyDrawer .applyPromptRow .applyCancelButton svg polygon {
					fill: white;
				}

	#productDetailsEdit .applyDrawer .applyButtonRow {
		display: flex;
		justify-content: space-between;
	}

#productDetailsEdit .applyOptionsButton, .applyOptionsButton:focus {
	margin-top: 5px;
	padding: 10px;
	border: 3px solid #bbbbbb;
	background: white;
	color: black;
	border-radius: 5px;
	cursor: pointer;
	width: 29%;
	font-size: 1.3vh;
}

	#productDetailsEdit .applyOptionsButton:hover {
		background: white;
		color: black;
		border: 3px solid #6EBEEF;
	}

#productDetailsEdit .selectedApplyOptionButton, .selectedApplyOptionButton:focus {
	background: white;
	color: black;
	border: 3px solid #0E9AEF;
}

#productDetailsEdit .productEntityPropertyContainer.takeFullRow textarea,
#productDetailsEdit .productEntityPropertyContainer.takeFullRow input {
	width: unset;
	margin-right: 20px;
}

	#productDetailsEdit .productEntityPropertyContainer .checkboxFieldWrapper {
		padding: 0;
	}

#productDetailsEdit .separator {
	margin-top: 15px;
	border-top: 1px solid #EDEDED;
}

#productDetailsEdit .propertyGroupSection {
	display: inline-block;
	margin: 5% 10% 3% 10%;
	vertical-align: top;
}

	#productDetailsEdit .propertyGroupSection .topbar {
		display: flex;
		align-items: center;
		margin-bottom: 10px;
		padding-bottom: 15px;
		border-bottom: 1px solid black;
	}

		#productDetailsEdit .propertyGroupSection .topbar svg {
			height: 30px;
			width: 30px;
		}

		#productDetailsEdit .propertyGroupSection .topbar .upcDisabledMarker {
			font-size: 22px;
			margin-left: 20px;
			color: red;
			opacity: 0;
			overflow: hidden;
		}

			#productDetailsEdit .propertyGroupSection .topbar .upcDisabledMarker.in {
				opacity: 1;
			}

		#productDetailsEdit .propertyGroupSection .topbar svg path {
			fill: black;
		}

		#productDetailsEdit .propertyGroupSection .topbar .propertyGroupHeading {
			font-size: 22px;
			font-weight: bold;
			margin-left: 15px;
		}

#productDetailsEdit .productEntityPropertyEdit {
	padding: 10px;
	width: 300px;
}


#productDetailsEdit #attributesContainer {
	height: 110px;
	overflow-y: scroll;
	max-width: 300px;
	margin-top: 20px;
	padding: 7px 5px;
	border-left: 1px solid #EAEAEA;
	border-top: 1px solid #EAEAEA;
	border-bottom: 1px solid #EAEAEA;
}

#productDetailsEdit .multiSelectContainer {
	height: 120px;
	overflow-y: scroll;
	max-width: 300px;
	margin-top: 10px;
	padding: 7px 5px;
	border-left: 1px solid #EAEAEA;
	border-top: 1px solid #EAEAEA;
	border-bottom: 1px solid #EAEAEA;
}

#productDetailsEdit .checkboxFieldWrapper .productEntityPropertyEdit {
	padding: 10px;
	width: unset;
}

#productDetailsEdit .listEditor .listAddWrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 300px;
}

	#productDetailsEdit .listEditor .listAddWrapper input,
	#productDetailsEdit .listEditor .listAddWrapper select {
		padding: 10px;
		width: 86%;
	}

#productDetailsEdit .listEditor .listFieldsContainer {
	border: 1px solid #EDEDED;
	margin: 10px 0 0 0;
	overflow-y: scroll;
	max-width: 300px;
	height: 80px;
}

	#productDetailsEdit .listEditor .listFieldsContainer .productEntityPropertyEdit {
		padding: 0 0 0 5px;
		max-width: 90%;
	}

#productDetailsEdit .listEditor .iconButton {
	width: 30px;
	height: 30px;
}

#productDetailsEdit .listEditor .listFieldWrapper {
	display: flex;
	align-items: center;
	margin: 7px 0 0 10px;
}

	#productDetailsEdit .listEditor .listFieldWrapper .iconButton {
		background: #EF3030;
		width: 20px;
		height: 20px;
	}

		#productDetailsEdit .listEditor .listFieldWrapper .iconButton.disabled {
			background: gray;
		}


#productDetailsEdit #measurementsContainer .dimensionsSection {
	display: inline-block;
	width: 50%;
	vertical-align: top;
	margin-bottom: 30px;
}

	#productDetailsEdit #measurementsContainer .dimensionsSection .sectionHeading {
		margin-bottom: 20px;
	}

	#productDetailsEdit #measurementsContainer .dimensionsSection .dimensionRow {
		margin-top: 10px;
		width: 300px;
	}

		#productDetailsEdit #measurementsContainer .dimensionsSection .dimensionRow .fieldLabel {
			display: inline-block;
			width: 89px;
		}

		#productDetailsEdit #measurementsContainer .dimensionsSection .dimensionRow .fieldInput {
			display: inline-block;
			padding: 6px;
			width: 80px;
		}

		#productDetailsEdit #measurementsContainer .dimensionsSection .dimensionRow .unitSelect {
			display: inline-block;
			padding: 6px;
			margin-left: 10px;
			width: 120px;
		}


#productDetailsEdit #additionalDataSection .headerRow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 50px;
	border-bottom: 1px solid #EAEAEA;
	padding-right: 70px;
}

	#productDetailsEdit #additionalDataSection .headerRow .headerCell {
		font-weight: bold;
		width: 27%;
		text-align: center;
		justify-content: space-between;
	}

#productDetailsEdit #additionalDataSection .additionalPropertyRow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 70px;
	border-bottom: 1px solid #EAEAEA;
}

#productDetailsEdit #additionalDataSection #addAdditionalDataHolder {
	margin: 20px 0;
}

#productDetailsEdit #additionalDataSection .additionalPropertyRow .additionalPropertyCell {
	width: 27%;
}

#productDetailsEdit #additionalDataSection .additionalPropertyRow input,
#productDetailsEdit #additionalDataSection .additionalPropertyRow select {
	padding: 10px;
}

#productDetailsEdit #additionalDataSection .additionalPropertyRow .iconButton {
	background: #EF3030;
	width: 30px;
	height: 30px;
}

#productDetailsEdit #productDetailTopBar .iconButton {
	margin-left: 15px;
	margin-right: 0;
	border-radius: 5px;
	user-select: none;
}

	#productDetailsEdit #productDetailTopBar .iconButton img {
		width: 55%;
	}

#productDetailsEdit #editButtonHolder > div:nth-child(1),
#productDetailsEdit #editButtonHolder > button:nth-child(1) {
	margin-left: auto;
}

#productDetailsEdit #productDetailTopBar .holder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 370px;
	margin-left: 4%;
}

#productDetailsEdit #productDetailTopBar .cancelIcon {
	background: #EF3030;
	margin-right: 20px;
}

#productDetailsEdit #imageNameContainer {
	width: 100%;
	margin-top: 5%;
}

	#productDetailsEdit #imageNameContainer .iconButton {
		height: 34px;
		width: 34px;
		margin: 0 0 0 0;
		border-radius: 5px;
		user-select: none;
	}

		#productDetailsEdit #imageNameContainer .iconButton img {
			width: 55%;
		}

	#productDetailsEdit #imageNameContainer .imageRecordHolder {
		display: flex;
		align-items: center;
		width: 100%;
		margin: 10px auto;
	}

		#productDetailsEdit #imageNameContainer .imageRecordHolder span {
			cursor: pointer;
		}

		#productDetailsEdit #imageNameContainer .imageRecordHolder .imageDeleteHolder {
			display: flex;
			align-items: center;
		}


		#productDetailsEdit #imageNameContainer .imageRecordHolder .allOrThisHolder {
			font-size: 11px;
			font-weight: normal;
			margin-top: 5px;
			cursor: default;
			color: #bbb;
		}

			#productDetailsEdit #imageNameContainer .imageRecordHolder .allOrThisHolder span {
				margin-right: 15px;
				cursor: default;
			}

			#productDetailsEdit #imageNameContainer .imageRecordHolder .allOrThisHolder .highlighted {
				font-weight: bold;
				color: #0E9AEF;
			}

		#productDetailsEdit #imageNameContainer .imageRecordHolder .thumbnailHolder {
			display: flex;
			align-items: center;
			justify-content: center;
			width: 40px;
			height: 40px;
			margin-right: 20px;
			cursor: pointer;
			overflow: hidden;
		}

			#productDetailsEdit #imageNameContainer .imageRecordHolder .thumbnailHolder img {
				width: 40px;
				height: auto;
			}

		#productDetailsEdit #imageNameContainer .imageRecordHolder div:nth-child(3) {
			margin-left: auto;
		}

		#productDetailsEdit #imageNameContainer .imageRecordHolder.selected {
			font-weight: bold;
			background: rgba(50, 133, 191, 0.1);
		}

			#productDetailsEdit #imageNameContainer .imageRecordHolder.selected .thumbnailHolder {
				border-radius: 5px;
			}

	#productDetailsEdit #imageNameContainer #addOptionsHolder {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-top: 30px;
	}

		#productDetailsEdit #imageNameContainer #addOptionsHolder span {
			width: 50%;
			margin: 0 10px;
		}

		#productDetailsEdit #imageNameContainer #addOptionsHolder .applyDrawer {
			margin-bottom: unset;
			width: 40%;
			max-width: 300px;
		}

		#productDetailsEdit #imageNameContainer #addOptionsHolder img {
			width: 40px;
			height: auto;
		}

#productDetailsEdit .imageDeleteHolder .iconButton svg {
	height: 80%;
	width: 80%;
}

#productDetailsEdit #addImageHolder {
	display: flex;
	align-items: center;
	cursor: pointer;
	margin-top: 30px;
	width: 150px;
}

	#productDetailsEdit #addImageHolder .iconButton {
		margin: 0 15px 0 0;
	}


#productDetailsEdit #imageSection {
	float: right;
}

#productDetailsEdit #productDetailImages {
	position: relative;
	width: 100%;
	height: 400px;
	margin: 20px auto 0 auto;
}

#productDetailsEdit #imageEmptyState {
	display: flex;
	height: 85%;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	color: #bbb;
}

#productDetailsEdit #imageViewer {
	display: block;
	width: 95%;
	height: 87%;
	margin: auto;
}

#productDetailsEdit #imageFooter {
	margin-top: 3%;
	height: 10%;
}

#productDetailsEdit #productDetailImages {
	position: relative;
	width: 100%;
	height: 400px;
	margin: 20px auto 0 auto;
}

#productDetailsEdit #Images {
	display: block;
	margin: auto;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	height: 100%;
	width: 100%;
	object-fit: contain;
}

#productDetailsEdit .previousImageButton {
	display: block;
	width: 40px;
	height: 40px;
	float: left;
	cursor: pointer;
}

	#productDetailsEdit .previousImageButton.previousImageButtonDisabled {
		cursor: unset;
	}

	#productDetailsEdit .previousImageButton svg {
		height: 100%;
		width: 100%;
	}

#productDetailsEdit .previousImageButtonDisabled svg path {
	fill: #EDEDED;
}

#productDetailsEdit .nextImageButton {
	display: block;
	width: 40px;
	height: 40px;
	float: right;
	cursor: pointer;
}

	#productDetailsEdit .nextImageButton.nextImageButtonDisabled {
		cursor: unset;
	}

	#productDetailsEdit .nextImageButton svg {
		height: 100%;
		width: 100%;
	}

#productDetailsEdit .nextImageButtonDisabled svg path {
	fill: #EDEDED;
}

.productDetailsEditConfirmationMessage {
	margin: 20px 10px;
}

#productDetailsEdit .changeProductAvailabilityToggle {
	display: flex;
}

.productDetailsErrorDiv {
	height: 400px;
}

.productDetailsErrorDiv {
	height: 400px;
	overflow: hidden;
	overflow-y: auto;
	height: 100%;
	max-height: 300px;
	box-shadow: inset 2px 2px 1px rgba(0,0,0,.05);
	padding: 10px 30px 10px 20px;
	margin-bottom: 20px;
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
}

#productDetailsDeleteForm {
	margin: 20px 5px;
}

@media screen and (max-width: 1600px) {
	#productDetailsEdit .layout-row {
		display: flex;
		flex-direction: column;
		-webkit-flex-direction: column;
	}

	#productDetailsEdit #measurementsContainer .dimensionsSection {
		width: 100%;
	}

	#productDetailsEdit #editButtonHolder {
		margin-top: 20px;
	}
}