﻿// Window

.mce-fullscreen {
	border: 0; padding: 0; margin: 0;
	overflow: hidden;
	background: #FFF;
	height: 100%;
}

div.mce-fullscreen {
	position: fixed;
	top: 0; left: 0;
}

#mce-modal-block {
	.opacity(0);
	position: fixed;
	left: 0; top: 0;
	width: 100%; height: 100%;
	background: #000;
}

#mce-modal-block.mce-in {
	.opacity(0.3);
}

.mce-window-move {
	cursor: move;
}

.mce-window {
	.border-radius(6px);
	.box-shadow(0 3px 7px rgba(0,0,0,0.3));
	.reset-gradient();
	background: #FFF;
	position: fixed;
	top: 0; left: 0;
	opacity: 0;
	.transition(opacity 150ms ease-in);
}

.mce-window.mce-in {
	opacity: 1;
}

.mce-window-head {
	padding: 9px 15px;
	border-bottom: 1px solid #EEE;
	position: relative;
}

.mce-window-head .mce-close {
	position: absolute;
	right: 15px;
	top: 9px;
	font-size: 20px;
	font-weight: bold;
	line-height: 20px;
	color: #CCC;
	text-shadow: 0 1px 0 white;
	cursor: pointer;

	// IE7
	height: 20px;
	overflow: hidden;
}

.mce-close:hover {
	color: #AAA;
}

.mce-window-head .mce-title {
	.inline-block();
	line-height: 20px;
	font-size: 20px;
	font-weight: bold;
	text-rendering: optimizelegibility;
	padding-right: 10px;
}

.mce-window .mce-container-body {
	display: block;
}

.mce-foot {
	display: block;
	background-color: whiteSmoke;
	border-top: 1px solid #DDD;
	.border-radius(0 0 6px 6px);
	.box-shadow(inset 0 1px 0 white);
}

.mce-window-head .mce-dragh {
	position: absolute;
	top: 0; left: 0;
	cursor: move;
	width: 90%;
	height: 100%;
}

.mce-window iframe {
	width: 100%;
	height: 100%;
}

.mce-window.mce-fullscreen, .mce-window.mce-fullscreen .mce-foot {
	.border-radius(0);
}