// Container presets

.e-con {

	&-select-preset {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 25px;

		// Views.
		&[data-view="choose-preset"] > *:not( &__inner ) {
			display: none;
		}

		&[data-view="drop-area"] > *:not( .elementor-first-add ) {
			display: none;
		}

		&-grid {
			flex-wrap: wrap;
			gap: 20px;

			.e-con-select-preset__list {

				.e-con-preset {

					rect {
						fill: transparent;
					}
				}
			}
		}

		&__title {
			font-family: var(--e-a-font-family);
			font-size: 15px;
			font-weight: 400;
			color: var(--e-a-color-txt);
		}

		&__list {
			display: flex;
			gap: 20px;
			align-items: center;
			justify-content: center;
			flex-wrap: wrap;
			max-width: 650px;

			.e-con-preset {
				cursor: pointer;
				flex-basis: 90px;
				padding: unset;
				margin: unset;
				border: unset;
				border-radius: unset;
				outline: unset;
				box-shadow: unset;
				text-shadow: unset;
				background-color: unset;

				svg {
					width: 100%;
					height: auto;

					&:not(.exclude-rtl-scale) {
						scale: calc(1 * var(--direction-multiplier)) 1; // Flip in RTL
					}
				}

				path {
					fill: var(--e-a-color-white);
				}

				rect {
					fill: var(--e-a-bg-active-bold);
					transition: .3s all;
				}

				&:hover,
				&:focus {
					border: unset;
					border-radius: unset;
					box-shadow: unset;
					text-shadow: unset;
					background-color: transparent;

					path {
						stroke: var(--e-a-color-white);
					}

					rect {
						fill: var(--e-a-color-txt);
					}
				}

				&[data-preset="r100"] {
					scale: calc(1 * var(--direction-multiplier)) 1; // Flip in RTL
				}
			}
		}
	}

	&-shared-styles {
		font-family: var(--e-a-font-family);
		line-height: 1;
		color: var(--e-a-color-txt);
		min-height: 159px;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 25px;
	}

	&-select-type {

		&__title {
			font-size: 15px;
			font-weight: 400;
		}

		&__icons {
			display: flex;
			justify-content: center;
			flex-wrap: wrap;
			gap: 40px;

			&__icon {
				cursor: pointer;

				svg {
					margin-block-end: 10px;
					width: 85px;
				}

				&:hover,
				&:focus {

					svg {
						rect {
							fill: var(--e-a-color-txt);
						}

						path {
							stroke: var(--e-a-color-white);
						}
					}
				}

				&__subtitle {
					font-size: 14px;
					font-weight: 500;
				}
			}
		}
	}

	// To avoid horizontal scroll
	.ui-resizable {

		&-e {
			right: 0;
		}

		&-w {
			left: 0;
		}
	}
}
