.elementor-control-type-url {

	.elementor-control-url-external-hide {

		.elementor-control-url-more {
			display: none;
		}
	}

	.elementor-control-url-external-show {

		.elementor-input,
		.elementor-input-style {
			padding-right: 46px;
			height: 26px;
		}
	}

	.elementor-control-input-wrapper {
		position: relative;
	}

	.elementor-control-url {

		&-more {
			position: absolute;
			top: 0;
			right: 0;
			height: 26px;
			width: 40px;
			border-left: 1px solid $editor-lightest;
			cursor: pointer;
			font-size: 10px;
			border-radius: 0 3px 3px 0;
			display: flex;
			align-items: center;
			justify-content: center;

			i {
				font-size: 13px;
			}

			&-input {
				display: none;

				&:not(:checked) {

					+ .elementor-control-url-more-options {
						display: none;
					}
				}
			}

			&-options {
				padding-top: 10px;
			}
		}

		&-option {
			padding: 5px;
			font-size: 12px;
		}
	}

	.elementor-control-url-autocomplete-spinner {
		display: none;
		position: absolute;
		width: 12px;
		height: 12px;
		top: 7px;
		@include start(44px);
	}

	.elementor-input {
		direction: ltr; // Force LTR also in RTL languages

		&:not(:focus) {

			+ .elementor-control-url-more {
				border-color: $editor-lightest;
			}
		}

		&:focus {

			+ .elementor-control-url-more {
				border-color: $editor-light;
			}
		}
	}
}

//Autocomplete URL
.elementor-autocomplete-menu {
	position: absolute;
	background: #fff;
	color: $editor-darkest;
	border: 1px solid $editor-light;
	margin: 0;
	list-style: none;
	padding: 4px 0;
	height: auto;
	width: 100%;
	min-width: 260px;
	max-width: 300px;
	max-height: 200px;
	overflow-y: auto;
	border-radius: 3px;
	transition: all .3s ease-in-out;
	cursor: default;
	z-index: 1;

	.ui-menu-item {
		display: flex;
		justify-content: space-between;
		align-self: baseline;
		padding: 5px 8px;
		font-size: 12px;
		width: 100%;
		line-height: 1.2;
		cursor: pointer;

		&.ui-state-hover,
		&.ui-state-active,
		&.ui-state-focus {
			background: $editor-background;
		}
	}

	.elementor-autocomplete-item-info {
		font-size: 10px;
		padding-top: 2px;
	}
}
