@import 'variables';

.jet-location-edit {
	position: relative;
	&__link {
		position: absolute;
		opacity: 0;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		transition: opacity 200ms linear;
		border: 4px solid $editor-info;
		background: rgba( red( $editor-info ), green( $editor-info ), blue( $editor-info ), .2 );
		color: #fff;
		z-index: 99999;
		cursor: pointer;
		font-weight: 400;
		font-size: 16px;
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
		&-content {
			display: flex;
			justify-content: center;
			align-items: center;
			background-image: linear-gradient(to bottom, darken($editor-info, 10%), $editor-info);
			padding: 4px 15px 6px 10px;
		}
		.dashicons {
			margin-right: 4px;
		}
	}
	&:hover .jet-location-edit__link {
		color: #fff;
		opacity: 1;
		text-decoration: none;
	}
}

.elementor-add-new-section {
	.add-jet-template {
		color: #fff;
		background-image: none;
		background: #398ffc !important;
		font-size: 13px;
		font-family: Arial, Helvetica, sans-serif;
		font-weight: normal;
		font-style: normal;
		text-transform: uppercase;
		line-height: 1;
		height: 40px;
		min-width: 170px;
		padding: 0 20px;
		border: none;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		cursor: pointer;
		margin-right: 25px;
		transition: all 0.5s;
		display: inline-flex;
		align-items: center;
		vertical-align: bottom;

		svg {
			width: 17px;
			margin: -2px 9px 0px -3px;
		}

		&:hover {
			opacity: 0.85;
			box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
		}
	}
}
