#mlconf__live-preview-wrapper {
	background: #fff;
	position: fixed;
	top: 50px;
	left: 50%;
	transform: translate(-50%, 0);
	width: 400px;
	height: 820px;
	box-shadow: 0 10px 15px rgb(0 0 0 / 15%);
	box-sizing: border-box;
	z-index: 2;
	border-radius: 5px;
}

.mlconf__live-preview-device {
	display: flex;
	justify-content: center;
	height: 731px;
	width: 400px;
}

.mlconf__live-preview-device-tabs {
    display: flex;
    flex-flow: row;
    max-width: 250px;
    margin: 1.5rem auto;
    border-radius: 8px;
    overflow: hidden;

	.mlconf__live-preview-device-tab {
		width: 50%;
		padding: 0.75rem 1rem;
		text-align: center;
		font-size: 16px;
		cursor: pointer;
		background-color: #d2d2d2;
		color: #848484;
	}

	.ml-device-tab-selected {
		background-color: #42A4FF;
		color: #fff;
	}
}

.mlconf__live-preview-device-wrapper {
	display: inline-flex;
	position: relative;
	transition: transform 0.7s cubic-bezier(0.28, 0.85, 0.89, 1.01);

	&--outer {
		width: 400px;
		overflow: hidden;
	}

	&.ml-device {
		&--move-right {
			transform: translate( 0, 0 );
		}

		&--move-left {
			transform: translate( -400px, 0 );
		}
	}
}

.mlconf__live-preview-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba( 0, 0, 0, 0.15 );
	z-index: 1;
}

.mlconf__live-preview-wrapper--close {
	position: absolute;
	top: 0;
	right: -20px;
	transform: translate( -50%,-50% );
	width: 20px;
	height: 20px;
	background-color: #fff;
	cursor: pointer;
	top: 15px;
    right: -5px;

	&:after {
		display: block;
		content: "\f335";
		position: absolute;
		width: 100%;
		height: 100%;
		font-family: 'dashicons';
		font-size: 1.25rem;
		text-align: center;
		margin-left: 0px;
		margin-top: 1px;
	}
}