#editor-preview {
	padding: 14px 14px 24px 14px;
	z-index: 1000;
}

#editor-preview:after {
	margin: 25px -11px -29px -11px;
}

#editor-preview.fixed {
	position: fixed;
	top: 10px;
}

#editor-preview-iframe-container {
	border-style: solid;
	border-width: 1px;
	border-color: #d4d4d4 #eaeaea #fff #eaeaea;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	padding: 2px;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
	-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
	-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
	margin: 0 0 20px 0;
	background-color: #f5f5f5;
	overflow: hidden;
	width: 264px;
	height: 300px;
	position: relative;
	cursor: pointer;
}

#editor-preview-iframe-container .busy {
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -10px;	
}

iframe.editor-preview-iframe {
	border: 0;
	width: 1056px;
	height: 1200px;
	transform: scale(.25);
	-o-transform: scale(.25);
	-ms-transform: scale(.25);
	-moz-transform: scale(.25);
	-webkit-transform: scale(.25);
	transform-origin: 0 0;
	-o-transform-origin: 0 0;
	-ms-transform-origin: 0 0;
	-moz-transform-origin: 0 0;
	-webkit-transform-origin: 0 0;
	overflow: hidden;
	z-index: 1001;
}

#editor-preview-blocker {
	position: absolute;
	left: 0;
	top: 0;
	width: 264px;
	height: 300px;
	z-index: 1002;
}





#step-buttons {
	margin: 35px 0 0 0;
	position: relative;
	height: 40px;
}

#step-buttons .step-button {
	display: inline-block;
	margin: 0 5px 0 0;
}

#step-buttons #step-button-next,
#step-buttons #step-button-save,
#step-buttons #step-button-payment {
	position: absolute;
	right: 0;		
	margin: 0;
}





div.editor-alert {
	position: fixed;
	right: 240px;
	bottom: 5px;
	left: 0;
	width: 920px;
	margin: 0 auto; 
	text-align: center;
	z-index: 9999999;
}





div.modal-preview-container {
	position: relative;
	width: 840px;
	height: 1000px;	
	margin: 0 0 20px 0;
}

iframe.modal-preview-iframe {
	position: absolute;
	left: 0;
	top: 0;
	width: 840px;
	height: 100%;
	border: none;
	overflow: hidden;
	z-index: 1;
}

div.modal-preview-blocker {
	width: 840px;
	height: 100%;
	z-index: 2;
	position: absolute;
	left: 0;
	top: 0;
}

.media-pending {
	position: relative;
}

.media-pending:before {
	content: 'Median käsittely kesken. Odota...';
	position: absolute;
	top: -25px;
	text-align: center;
	width: 100%;
	font-weight: bold;
	font-size: 14px;
}