
// Placeholder content
.addlisting-placeholder {
	overflow: hidden;
	position: relative;
	margin-bottom: 20px;
	background-color: #f5f5f5;
	border: 1px solid #dddddd;
	box-sizing: border-box;
	outline: none !important;

	&:hover {
		cursor: move;

		.addlisting-placeholder__actions {
			opacity: 1;
			visibility: visible;
		}
	}

	*, :after, :before {
		box-sizing: border-box;
	}
}

.addlisting-placeholder-accordion .addlisting-placeholder__icon {
	color: #5dd679;
}

.addlisting-placeholder-featured .addlisting-placeholder__icon {
	color: #f28747;
}

.addlisting-placeholder-prices .addlisting-placeholder__icon {
	color: #ef6f75;
}


.addlisting-placeholder__icon {
	float: left;
	width: 46px;
	text-align: center;
	line-height: 45px !important;
	font-size: 30px;
	border-right: 1px solid #dddddd;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: auto;

	img {
	    transform: translateY(2px);
	}

	@media(min-width: 768px) {
		width: 56px;
		line-height: 54px !important;

		img {
		    transform: translateY(4px);
		}
	}
}

.addlisting-placeholder__title {
	font-weight: 600;
	line-height: 45px !important;
	padding: 0 20px;
	overflow: hidden;
	color: #212121;
	font-family: "Poppins", sans-serif;
	@media(min-width: 768px) {
		line-height: 54px !important;
	}
}

.addlisting-placeholder__actions {
	position: absolute;
	right: 15px;
	top: 8px;
	margin-left: -2.5px;
	margin-right: -2.5px;
	overflow: hidden;
	transition: all 0.3s ease;
	opacity: 0;
	visibility: hidden;

	@media(min-width: 768px) {
		top: 12px;
	}

	span {
		line-height: 30px;
		display: inline-block;;
		padding: 0 20px;
		font-size: 12px;
		font-weight: 600;
		cursor: pointer;
		border-radius: 5px;
		float: left;
		margin-right: 2.5px;
		margin-left: 2.5px;
		transition: all 0.3s ease;
		color: #fff;
		font-family: "Poppins", sans-serif;

		&:hover {
			box-shadow: 0 0 5px rgba(#000, 0.2);
		}
	}

	.addlisting-placeholder__action-edit {
		background-color: #4dace3;
	}

	.addlisting-placeholder__action-remove {
		background-color: #fe6d6d;
	}
}

// Gallery placeholder
.wil-mce-editor {
	[data-wpview-type="gallery"] {
	    height: 54px;
	    outline: none !important;
	    box-shadow: none !important;
	    margin-bottom: 20px;
	    background-color: #f5f5f5;
	    border: 1px solid #dddddd;
	    cursor: move !important;

	    .gallery, .wpview-end {
		    display: none !important;
		}

		&:before {
		    content: '';
		    display: inline-block;
		    width: 56px;
		    height: 52px;
		    line-height: 52px;
		    text-align: center;
		    border-right: 1px solid #ddd;
		    font-size: 30px;
		    color: #4dace3;
		    vertical-align: middle;
			background: url('../img/icon-gallery.png') no-repeat center center;
		}

		&:after {
		    content: attr(data-wpview-type);
		    font-weight: 600;
		    padding: 0 16px;
		    overflow: hidden;
		    color: #212121;
		    font-family: "Poppins",sans-serif;
		    vertical-align: middle;
		    text-transform: capitalize;
		}

		&:hover {

			.addlisting-placeholder__actions {
				opacity: 1;
				visibility: visible;
			}
		}
	}
}