.overlay-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent url(../core/img/overlay-bg.png);
	z-index: 30;
	}
.overlay {
	background: url(../core/img/overlay-content-bg.png) transparent;
	left: 50%;
	margin: -50px 0 0 -205px;
	padding: 5px;
	position: fixed;
	top: 50%;
	width: 400px;
	-webkit-transition: margin-top 0.2s ease-in, margin-left 0.2s ease-in;	
	-moz-transition: margin-top 0.2s ease-in, margin-left 0.2s ease-in;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-box-shadow: #000 0px 0px 10px;
	border-radius: 3px;
	z-index: 30;
	border-color: #ffffff;
}
.overlay-pastetext {
	width: 640px;
	margin: -50px 0 0 -320px;
}
.overlay-colorpicker {
	width: 376px;
	margin: -50px 0 0 -185px;
}
.overlay-mediaselection {
	width: 1000px;
	margin: -200px 0 0 -505px;
}
.overlay-cropwindow {
	width: 1000px;
	margin: -200px 0 0 -505px;
}
.overlay-cropwindow-singlecol {
	width: 700px;
	margin: -300px 0 0 -350px;
}
.overlay-insertable {
	width: 200px;
	margin: -200px 0 0 -100px;
}
.overlay-mailertemplateblock {
	width: 760px;
	margin: -100px 0 0 -380px;
}
.overlay-contentimport {
	width: 600px;
	margin: -100px 0 0 -305px;
}
.overlay-confirm-geolocation {
	width: 520px;
	margin: -100px 0 0 -265px;
}
.overlay-content {
	background-color: white;
	}
.overlay-content .header {
	background: black;
	color: white;
	height: auto;
	padding: 10px;
	line-height: 18px;
	width: auto;
	}
.overlay-content .header h1 {
	font-size: 12px;
	font-weight: bold;
	}
.overlay-content .content {
	padding: 10px;
	font-size: 11px;
	line-height: 18px;
	float: none;
	width: auto;
	}
.overlay-content .list-container {
	padding: 0px;
	font-size: 11px;
	line-height: 18px;
	padding: 5px 0;
	}
.overlay-content .list-item {
	font-size: 11px;
	padding: 3px 10px;
	}
.overlay-content .list-item-progress {
	height: 4px;
	display: none;
	overflow: hidden;
}
.overlay-content .list-item-progress span {
	display: block;
	background-color: #666;
	width: 0px;
}
.overlay-content .list-item.file {
	padding: 3px 10px 3px 25px;
	background: transparent url(../core/img/upload-icon-file.gif) no-repeat 10px 45%;
}
.overlay-content .list-item.file-ok {
	background: transparent url(../core/img/upload-icon-file-ok.gif) no-repeat 10px 45%;
}
.overlay-content .list-item.file-nok {
	background: transparent url(../core/img/upload-icon-file-nok.gif) no-repeat 10px 45%;
}
.overlay-content .loading {
	text-align: center;
	}
.overlay-content .footer {
	padding: 10px;
	display: none;
	height: 25px;
	}
.overlay-content .footer:after {
	content: "";
	clear: both;
	display: block;
	line-height: 1px;
	height: 1px;
	}
.overlay-content .actions {
	float: right;
	list-style: none;
	margin: 0 0 -2px 0;
	padding: 0;
	-webkit-padding-start: 0;
	}
.overlay-content .actions li {
	float: left;
	color: #666;
	line-height: 25px;
	margin: 0 0 0 10px;
	padding: 0;
	}
.overlay-content .actions a {
	border-bottom: 1px solid #ccc;
	color: #666;
	}
.overlay-content .actions a:hover {
	border-bottom: none;
	}
.overlay-content .actions a.btn {
	float: left;
	font-weight: bold;
	line-height: normal;
	padding: 5px 10px;
	}
.overlay-content .actions a.btn span {
	background: url(../core/img/arrow-gray-down.gif) no-repeat 100% 50%;
	padding: 0 0 0 10px;
	}
.overlay-content .actions a.gray {
	background: #fff;
	background: -moz-linear-gradient(top, #ffffff 0%, #cccccc 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#cccccc));
	background: -webkit-linear-gradient(top, #ffffff 0%,#cccccc 100%);
	background: -o-linear-gradient(top, #ffffff 0%,#cccccc 100%);
	background: -ms-linear-gradient(top, #ffffff 0%,#cccccc 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#cccccc',GradientType=0 );
	background: linear-gradient(top, #ffffff 0%,#cccccc 100%);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #ccc;
	color: #666;
	}
.overlay-content .actions a.gray:hover {
	background: #f5f5f5;
	background: -moz-linear-gradient(top, #f5f5f5 0%, #f5f5f5 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#f5f5f5));
	background: -webkit-linear-gradient(top, #f5f5f5 0%,#f5f5f5 100%);
	background: -o-linear-gradient(top, #f5f5f5 0%,#f5f5f5 100%);
	background: -ms-linear-gradient(top, #f5f5f5 0%,#f5f5f5 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#f5f5f5',GradientType=0 );
	background: linear-gradient(top, #f5f5f5 0%,#f5f5f5 100%);
	}
.overlay-content .actions a.gray:active {
	background: #fff;
	background: -moz-linear-gradient(top, #cccccc 0%, #ffffff 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cccccc), color-stop(100%,#ffffff));
	background: -webkit-linear-gradient(top, #cccccc 0%,#ffffff 100%);
	background: -o-linear-gradient(top, #cccccc 0%,#ffffff 100%);
	background: -ms-linear-gradient(top, #cccccc 0%,#ffffff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#ffffff',GradientType=0 );
	background: linear-gradient(top, #cccccc 0%,#ffffff 100%);
	}
.overlay-content .actions a.black {
	background: #999;
	background: -moz-linear-gradient(top, #999999 0%, #666666 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#999999), color-stop(100%,#666666));
	background: -webkit-linear-gradient(top, #999999 0%,#666666 100%);
	background: -o-linear-gradient(top, #999999 0%,#666666 100%);
	background: -ms-linear-gradient(top, #999999 0%,#666666 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#999999', endColorstr='#666666',GradientType=0 );
	background: linear-gradient(top, #999999 0%,#666666 100%);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #666;
	color: #fff;
	}
.overlay-content .actions a.black:hover {
	background: #999;
	background: -moz-linear-gradient(top, #999999 0%, #999999 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#999999), color-stop(100%,#999999));
	background: -webkit-linear-gradient(top, #999999 0%,#999999 100%);
	background: -o-linear-gradient(top, #999999 0%,#999999 100%);
	background: -ms-linear-gradient(top, #999999 0%,#999999 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#999999', endColorstr='#999999',GradientType=0 );
	background: linear-gradient(top, #999999 0%,#999999 100%);
	}
.overlay-content .actions a.black:active {
	background: #999;
	background: -moz-linear-gradient(top, #666666 0%, #999999 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#666666), color-stop(100%,#999999));
	background: -webkit-linear-gradient(top, #666666 0%,#999999 100%);
	background: -o-linear-gradient(top, #666666 0%,#999999 100%);
	background: -ms-linear-gradient(top, #666666 0%,#999999 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#666666', endColorstr='#999999',GradientType=0 );
	background: linear-gradient(top, #666666 0%,#999999 100%);
	}
.overlay-content .icon {
	float: left;
	width: 48px;
	height: 48px;
	margin: 5px 10px;
	}
.overlay-content .icon.trash {
	background: url(../core/img/icon-trash-48px.png) no-repeat top left;
	}
.overlay-content .icon.move {
	background: url(../core/img/icon-move-48px.png) no-repeat top left;
	}
.overlay-content .icon.import {
	background: url(../core/img/icon-import-48px.png) no-repeat top left;
	}
.overlay-content .icon.draft {
	background: url(../core/img/icon-draft-48px.png) no-repeat top left;
	}
.overlay-content .icon.stop {
	background: url(../core/img/icon-stop-48px.png) no-repeat top left;
	}
.overlay-content .row {
	height: 1%;
	padding: 0 0 10px;
	}
.overlay-content .row:after {
	content: "";
	clear: both;
	display: block;
	}
.overlay-content label {
	float: left;
	width: 130px;
	text-align: right;
	font-size: 12px;
	font-weight: bold;
	clear: both;
	padding: 3px 0 0 0;
	}
.overlay-content .cookie-checkbox {
	margin: 18px 0 0 0;
}
.overlay-content .cookie-checkbox label {
	float: none;
	width: auto;
	text-align: left;
	font-size: 11px;
	font-weight: normal;
	}
.overlay-content .input {
	float: left;
	height: 13px;
	background: #f5f5f5;
	background: -moz-linear-gradient(top, #ffffff 0%, #f5f5f5 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f5f5f5));
	background: -webkit-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
	background: -o-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
	background: -ms-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f5f5f5',GradientType=0 );
	background: linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
	-webkit-box-shadow: inset 0 0 2px 2px #000;
	-moz-box-shadow: inset 0 0 2px 2px #000;
	box-shadow: inset 0 0 2px 2px #000;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #ccc;
	margin: 0 0 0 10px;
	padding: 5px;
	}
.overlay-content .frm-addlink label {
	width: 80px;
	}
.overlay-content .frm-addlink .input {
	width: 278px;
	}
.overlay-content .frm-addemail label {
	width: 80px;
	}
.overlay-content .frm-addemail .input {
	width: 278px;
	}
.overlay-content .frm-pastetext {
	width: 608px;
	height: 400px;
}
.overlay-content .frm-pastetext .input {
	width: 608px;
	height: 400px;
	margin: 0 0 10px 0;
	}
.overlay-content .label {
	border: 1px solid #ccc;
	border-width: 0 1px 1px 1px;
	font-size: 11px;
	font-weight: normal;
	margin: 0;
	padding: 7px 10px;
	float: none;
	display: block;
	width: auto;
	text-align: left;
	}
.overlay-content .label.first {
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	-moz-border-radius-bottomright: 0;
	-moz-border-radius-bottomleft: 0;
	-webkit-border-radius: 3px 3px 0 0;
	border-radius: 3px 3px 0 0;
	border: 1px solid #ccc;
	}
.overlay-content .label.last {
	-moz-border-radius-topleft: 0;
	-moz-border-radius-topright: 0;
	-moz-border-radius-bottomright: 3px;
	-moz-border-radius-bottomleft: 3px;
	-webkit-border-radius: 0 0 3px 3px;
	border-radius: 0 0 3px 3px;
	border: 1px solid #ccc;
	border-width: 0 1px 1px 1px;
	}
.overlay-content .label:after {
	content: "";
	clear: both;
	display: block;
	}
.overlay-content .label input,
.overlay-content .superlabel input {
	float: left;
	position: relative;
	top: 3px;
	}
.overlay-content .label em,
.overlay-content .superlabel em {
	float: left;
	font-style: normal;
	margin: 0 0 0 10px;
	}
.overlay-content .superlabel {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #ccc;
	font-size: 11px;
	font-weight: normal;
	margin: 0;
	padding: 7px 10px;
}	
.overlay-content .frm-addlink label.label {
	width: auto;
	margin: 0 0 0 90px;
	}
.overlay-content .frm-fontsize .row {
	margin: 0px;
	padding: 0px;
	}
.overlay-content .frm-fontsize .row.box {
	border: 1px solid #ccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-align: center;
	padding: 5px 0;
	margin: 0 0 10px 0;
	}
.overlay-content .frm-fontsize .row.box .fontsize {
	padding: 2px 4px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin: 0 1px;
	font-size: 12px;
	cursor: pointer;
	color: black;
	}
.overlay-content .frm-fontsize .row.box .fontsize:hover {
	text-decoration: underline;
	}
.overlay-content .frm-fontsize .row.box .fontsize.active {
	background-color: #000;
	color: #fff;
	}
.overlay-content .frm-fontsize label {
	width: 170px;
	font-weight: normal;
	font-size: 11px;
	}
.overlay-content .frm-fontsize .input {
	width: 188px;
	}


/* .overlay-mediaselection tree */
.overlay-mediaselection .tree {
	float: left;
	width: 225px;
	height: 450px;
	margin: 0 0 0px -25px;
	padding: 0;
	overflow-x: hidden;
	overflow-y: auto;
	border-right: 1px solid #ccc;
	}
.overlay-mediaselection .tree ul {
	display: block;
	list-style: none;
	background: url(../core/img/tree-dotted.gif) repeat-y 34px 0;
	margin: 0;
	padding: 0 0 0 20px;
	}
.overlay-mediaselection .tree li {
	background: none !important;
	position: relative;
	clear: both;
	width: 100%;
	line-height: 15px;
	padding: 0;
	}
.overlay-mediaselection .tree li.last {
	float: left;
	background: none;
	}
.overlay-mediaselection .tree li.closed ul,
.overlay-mediaselection .tree li.closed br {
	display: none;
	}
.overlay-mediaselection .tree a {
	display: block;
	color: #333;
	line-height: 20px;
	padding: 0 5px;
	}
.overlay-mediaselection .tree a:hover {
	color: #069;
	}
.overlay-mediaselection .tree li b {
	font-weight: normal;
	}
.overlay-mediaselection .tree li.active b {
	color: #000;
	font-weight: bold;
	}
.overlay-mediaselection .tree li.active li b {
	font-weight: normal;
}
.overlay-mediaselection .tree li span {
	float: left;
	width: 20px;
	height: 20px;
	}
.overlay-mediaselection .tree li.leaf span { background: url(../core/img/tree-leaf.gif) no-repeat 0 -4px !important; }
.overlay-mediaselection .tree li.leaf.first span { background: url(../core/img/tree-leaf-first.gif) no-repeat 0 -4px !important; }
.overlay-mediaselection .tree li.leaf.last span { background: #fff url(../core/img/tree-leaf-last.gif) no-repeat 0 -4px !important; }
.overlay-mediaselection .tree li.open span { background: url(../core/img/tree-closed.gif) no-repeat 0 -4px; }
.overlay-mediaselection .tree li.open.first span { background: url(../core/img/tree-closed-first.gif) no-repeat 0 -4px; }
.overlay-mediaselection .tree li.open.last span { background: #fff url(../core/img/tree-closed-last.gif) no-repeat 0 -4px; }
.overlay-mediaselection .tree li.closed span { background: url(../core/img/tree-open.gif) no-repeat 0 -4px; }
.overlay-mediaselection .tree li.closed.first span { background: url(../core/img/tree-open-first.gif) no-repeat 0 -4px; }
.overlay-mediaselection .tree li.closed.last span { background: #fff url(../core/img/tree-open-last.gif) no-repeat 0 -4px; }

.overlay-mediaselection .tree ins {
	float: left;
	width: 20px;
	height: 20px;
	background: url(../core/img/tree-icon-folder.gif) no-repeat 50% 40%;
	text-decoration: none;
	}
.overlay-mediaselection .media-content {
	height: 450px;
	overflow-y: auto;
	overflow-x: hidden;
	position: relative;
}
.overlay-mediaselection .media-content-fixedwidth {
	width: 740px;
	padding: 0 0 0 10px;
}
.overlay-mediaselection .media-content .loading {
	text-align: center;
	padding: 150px 0 0 0;
}

/* main */
.overlay-mediaselection h1 {
	border-bottom: 1px solid #ccc;
	font-size: 18px;
	font-weight: normal;
	margin: 0 0 10px;
	padding: 0 0 10px;
	}

/* actions */
.overlay-mediaselection .actions {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	}
.overlay-mediaselection .actions li {
	position: relative;
	float: left;
	color: #666;
	line-height: 25px;
	margin: 0 0 0 10px;
	padding: 0;
	}
.overlay-mediaselection .actions a {
	border-bottom: 1px solid #ccc;
	color: #666;
	}
.overlay-mediaselection .actions a:hover {
	border-bottom: none;
	}
.overlay-mediaselection .actions a.btn {
	float: left;
	font-weight: bold;
	line-height: normal;
	padding: 5px 10px;
	}
.overlay-mediaselection .actions a.btn span {
	background: url(../core/img/arrow-gray-down.gif) no-repeat 100% 50%;
	padding: 0 0 0 10px;
	}
.overlay-mediaselection .actions a.gray {
	background: #fff;
	background: -moz-linear-gradient(top, #ffffff 0%, #cccccc 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#cccccc));
	background: -webkit-linear-gradient(top, #ffffff 0%,#cccccc 100%);
	background: -o-linear-gradient(top, #ffffff 0%,#cccccc 100%);
	background: -ms-linear-gradient(top, #ffffff 0%,#cccccc 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#cccccc',GradientType=0 );
	background: linear-gradient(top, #ffffff 0%,#cccccc 100%);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #ccc;
	color: #666;
	}
.overlay-mediaselection .actions a.gray:hover {
	background: #f5f5f5;
	background: -moz-linear-gradient(top, #f5f5f5 0%, #f5f5f5 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#f5f5f5));
	background: -webkit-linear-gradient(top, #f5f5f5 0%,#f5f5f5 100%);
	background: -o-linear-gradient(top, #f5f5f5 0%,#f5f5f5 100%);
	background: -ms-linear-gradient(top, #f5f5f5 0%,#f5f5f5 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#f5f5f5',GradientType=0 );
	background: linear-gradient(top, #f5f5f5 0%,#f5f5f5 100%);
	}
.overlay-mediaselection .actions a.gray:active,
.overlay-mediaselection .actions .open a.gray {
	background: #fff;
	background: -moz-linear-gradient(top, #cccccc 0%, #ffffff 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cccccc), color-stop(100%,#ffffff));
	background: -webkit-linear-gradient(top, #cccccc 0%,#ffffff 100%);
	background: -o-linear-gradient(top, #cccccc 0%,#ffffff 100%);
	background: -ms-linear-gradient(top, #cccccc 0%,#ffffff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#ffffff',GradientType=0 );
	background: linear-gradient(top, #cccccc 0%,#ffffff 100%);
	}
.overlay-mediaselection .actions a.black {
	background: #999;
	background: -moz-linear-gradient(top, #999999 0%, #666666 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#999999), color-stop(100%,#666666));
	background: -webkit-linear-gradient(top, #999999 0%,#666666 100%);
	background: -o-linear-gradient(top, #999999 0%,#666666 100%);
	background: -ms-linear-gradient(top, #999999 0%,#666666 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#999999', endColorstr='#666666',GradientType=0 );
	background: linear-gradient(top, #999999 0%,#666666 100%);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #666;
	color: #fff;
	}
.overlay-mediaselection .actions a.black:hover {
	background: #999;
	background: -moz-linear-gradient(top, #999999 0%, #999999 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#999999), color-stop(100%,#999999));
	background: -webkit-linear-gradient(top, #999999 0%,#999999 100%);
	background: -o-linear-gradient(top, #999999 0%,#999999 100%);
	background: -ms-linear-gradient(top, #999999 0%,#999999 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#999999', endColorstr='#999999',GradientType=0 );
	background: linear-gradient(top, #999999 0%,#999999 100%);
	}
.overlay-mediaselection .actions a.black:active {
	background: #999;
	background: -moz-linear-gradient(top, #666666 0%, #999999 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#666666), color-stop(100%,#999999));
	background: -webkit-linear-gradient(top, #666666 0%,#999999 100%);
	background: -o-linear-gradient(top, #666666 0%,#999999 100%);
	background: -ms-linear-gradient(top, #666666 0%,#999999 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#666666', endColorstr='#999999',GradientType=0 );
	background: linear-gradient(top, #666666 0%,#999999 100%);
	}
.overlay-mediaselection .actions a.black.disabled {
	color: #ddd;
	text-shadow: none;
	}
.overlay-mediaselection .actions a.black.disabled:hover,
.overlay-mediaselection .actions a.black.disabled:active {
	background: #999;
	background: -moz-linear-gradient(top, #999999 0%, #666666 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#999999), color-stop(100%,#666666));
	background: -webkit-linear-gradient(top, #999999 0%,#666666 100%);
	background: -o-linear-gradient(top, #999999 0%,#666666 100%);
	background: -ms-linear-gradient(top, #999999 0%,#666666 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#999999', endColorstr='#666666',GradientType=0 );
	background: linear-gradient(top, #999999 0%,#666666 100%);
	cursor: default;
	}
.overlay-mediaselection .actions ul {
	position: absolute;
	display: none;
	z-index: 25;
	top: 24px;
	left: 0;
	width: auto;
	background: #fff;
	-webkit-border-radius: 3px;
	-webkit-border-top-left-radius: 0;
	-moz-border-radius: 3px;
	-moz-border-radius-topleft: 0;
	border-radius: 3px;
	border-top-left-radius: 0;
	border: 1px solid #ccc;
	margin: 0;
	padding: 0;
	}
.overlay-mediaselection .actions li.open a:link,
.overlay-mediaselection .actions li.open a:visited {
	position: relative;
	z-index: 26;
	}
.overlay-mediaselection .actions li.open a:link,
.overlay-mediaselection .actions li.open a:visited {
	-webkit-border-bottom-left-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	-moz-border-radius-bottomleft: 0;
	-moz-border-radius-bottomright: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	border-bottom: 1px solid #fff;
	}
.overlay-mediaselection .actions li.open ul {
	display: block;
	}
.overlay-mediaselection .actions ul li {
	float: none;
	display: block;
	background: #fff;
	border-bottom: 0 none;
	line-height: 18px;
	margin: 0;
	padding: 0;
	}
.overlay-mediaselection .actions ul li a:link,
.overlay-mediaselection .actions ul li a:visited {
	display: block;
	white-space: nowrap;
	border-bottom: 0 none;
	line-height: 18px;
	padding: 2px 10px;
	}
.overlay-mediaselection .actions ul li a:hover {
	background: #888;
	color: #fff;
	}

/* search */
.overlay-mediaselection .search {
	float: right;
	margin: 0;
	padding: 0;
	}
	
/* media */
.overlay-mediaselection ul.media {
	clear: both;
	width: 750px;
	list-style: none;
	margin: 0;
	padding: 0;
	}
.overlay-mediaselection ul.media li {
	position: relative;
	float: left;
	width: 140px;
	height: 160px;
	margin: 0 10px 10px 0;
	cursor: pointer;
	}
.overlay-mediaselection ul.media li.multiselect {
	height: 180px;
	}
.overlay-mediaselection ul.media li .pic {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 138px;
	height: 138px;
	border: 1px solid #ccc;
	text-align: center;
	}
.overlay-mediaselection ul.media li.multiselect .pic {
	top: 20px;
	}
.overlay-mediaselection ul.media li .desc {
	position: absolute;
	z-index: 5;
	top: 139px;
	left: 0;
	width: 138px;
	height: 19px;
	border: 1px solid #ccc;
	font-size: 10px;
	color: #999;
	line-height: 19px;
	text-align: center;
	}
.overlay-mediaselection ul.media li.multiselect .desc {
	top: 159px;
	}
.overlay-mediaselection ul.media li.checked .pic,
.overlay-mediaselection ul.media li.checked .box,
.overlay-mediaselection ul.media li.checked .desc {
	background: #ffffd5;
}

/* content import */
.overlay-contentimport .content {
	background-color: #fff;
	padding: 0;
	}
.overlay-contentimport .footer {
	border-top: 1px solid #ccc;
	}
.overlay-contentimport .loading {
	padding: 20px 0;
	}
.overlay-contentimport .not-supported {
	font-family: 13px;
	padding: 20px 10px;
	text-align: center;
	}
.overlay-contentimport .language {
	background: #f1f1f1;
	border-bottom: 1px solid #ccc;
	padding: 5px 5px;
	text-align: left;
	font-size: 11px;
	font-weight: bold;
	text-shadow: #fff 0 1px 0;
	}
.overlay-contentimport .items {
	float: left;
	height: 300px;
	width: 400px;
	border-right: 1px solid #ccc;
	overflow-y: scroll;
	overflow-x: auto;
	}
.overlay-contentimport .items .active,
.overlay-contentimport .items .active:hover,
.overlay-contentimport .items .tree .active,
.overlay-contentimport .items .tree .active:hover {
	text-decoration: none;
	padding: 2px 5px;
	background: #999;
	background: -moz-linear-gradient(top, #999999 0%, #666666 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#999999), color-stop(100%,#666666));
	background: -webkit-linear-gradient(top, #999999 0%,#666666 100%);
	background: -o-linear-gradient(top, #999999 0%,#666666 100%);
	background: -ms-linear-gradient(top, #999999 0%,#666666 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#999999', endColorstr='#666666',GradientType=0 );
	background: linear-gradient(top, #999999 0%,#666666 100%);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #fff;
	text-shadow: #555 0 -1px 0;
	border-bottom: 0px none;
	}
.overlay-contentimport .items-title {
	float: left;
	width: 390px;
	padding: 5px;
	font-size: 11px;
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	}
.overlay-contentimport .items table {
	width: 400px;
	}
.overlay-contentimport .items .no-items {
	text-align: center;
	padding: 50px 0;
	font-size: 16px;
	font-weight: bold;
	color: #ccc;
	}
.overlay-contentimport .content-type-title {
	float: left;
	width: 190px;
	padding: 5px;
	font-size: 11px;
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	}
.overlay-contentimport .content-type {
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
	width: 199px;
	}
.overlay-contentimport .content-type li {
	margin: 0;
	height: 20px;
	padding: 5px;
	line-height: 20px;
	list-style: none;
	}
.overlay-contentimport .content-type li.odd {
	background: #f1f1f1;
	}
.overlay-contentimport .content-type li a {
	color: #666;
	text-shadow: #fff 0 1px 0;
	padding: 3px 5px;
	}
.overlay-contentimport .content-type li a:hover {
	color: #000;
	}
.overlay-contentimport .content-type li a.active {
	background: #999;
	background: -moz-linear-gradient(top, #999999 0%, #666666 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#999999), color-stop(100%,#666666));
	background: -webkit-linear-gradient(top, #999999 0%,#666666 100%);
	background: -o-linear-gradient(top, #999999 0%,#666666 100%);
	background: -ms-linear-gradient(top, #999999 0%,#666666 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#999999', endColorstr='#666666',GradientType=0 );
	background: linear-gradient(top, #999999 0%,#666666 100%);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #fff;
	text-shadow: #555 0 -1px 0;
	}
.overlay-contentimport .tree {
	width: 100%;
	background: url(../core/img/tree-zebra.gif) repeat 0 0;
	margin: 0;
	padding: 0;
	}
.overlay-contentimport .tree ul {
	display: block;
	list-style: none;
	background: url(../core/img/tree-dotted.gif) repeat-y 34px 0;
	margin: 0;
	padding: 0 0 0 20px;
	}
.overlay-contentimport .tree li {
	position: relative;
	width: 100%;
	line-height: 30px;
	margin: 0;
	padding: 0;
	}
.overlay-contentimport .tree li.closed ul, 
.overlay-contentimport .tree li.closed br {
	display: none;
	}
.overlay-contentimport .tree div.txt {
	display: block;
	color: #333;
	line-height: 30px;
	padding: 0 5px;
	margin: 0;
	}
.overlay-contentimport .tree a {
	color: [CMSLINKCOLOR];
	text-decoration: underline;
	margin: 0;
	padding: 0;
	}
.overlay-contentimport .tree a:hover {
	color: [CMSLINKCOLOR];
	text-decoration: none;
	}
.overlay-contentimport .tree li span {
	float: left;
	width: 20px;
	height: 30px;
	}
.overlay-contentimport .tree li.leaf span { background: url(../core/img/tree-leaf.gif) no-repeat 0 0 !important; }
.overlay-contentimport .tree li.leaf.first span { background: url(../core/img/tree-leaf-first.gif) no-repeat 0 0 !important; }
.overlay-contentimport .tree li.leaf.last span { background: url(../core/img/tree-leaf-last.gif) no-repeat 0 0 !important; }
.overlay-contentimport .tree li.open span { background: url(../core/img/tree-closed.gif) no-repeat 0 0; }
.overlay-contentimport .tree li.open.first span { background: url(../core/img/tree-closed-first.gif) no-repeat 0 0; }
.overlay-contentimport .tree li.open.last span { background: url(../core/img/tree-closed-last.gif) no-repeat 0 0; }
.overlay-contentimport .tree li.closed span { background: url(../core/img/tree-open.gif) no-repeat 0 0 !important; }
.overlay-contentimport .tree li.closed.first span { background: url(../core/img/tree-open-first.gif) no-repeat 0 0; }
.overlay-contentimport .tree li.closed.last span { background: url(../core/img/tree-open-last.gif) no-repeat 0 0 !important; }

.overlay-contentimport .tree li a.icon {
	cursor: pointer;
	}
.overlay-contentimport .tree li a.icon.none {
	cursor: default;
	}

.overlay-contentimport .tree li.last {
	float: left;
	}
.overlay-contentimport .tree ins {
	float: left;
	width: 20px;
	height: 30px;
	background: url(../core/img/tree-icon-doc.gif) no-repeat 50% 50%;
	text-decoration: none;
	}
.overlay-contentimport .tree ins.home {
	background: url(../core/img/tree-icon-home.gif) no-repeat 50% 50%;
	}
.overlay-contentimport .tree ins.contact {
	background: url(../core/img/tree-icon-contact.gif) no-repeat 50% 50%;
	}
.overlay-contentimport .tree ins.error {
	background: url(../core/img/tree-icon-404.gif) no-repeat 50% 50%;
	}
.overlay-contentimport .tree ins.map {
	background: url(../core/img/tree-icon-map.gif) no-repeat 50% 50%;
	}
.overlay-contentimport .tree ins.folder {
	background: url(../core/img/tree-icon-folder.gif) no-repeat 50% 50%;
	}
.overlay-contentimport .tree ins.emails {
	background: url(../core/img/tree-icon-emails.gif) no-repeat 50% 50%;
	}
.overlay-contentimport .tree ins.system {
	background: url(../core/img/tree-icon-system.gif) no-repeat 50% 50%;
	}
.overlay-contentimport .tree ins.landing {
	background: url(../core/img/tree-icon-landing.gif) no-repeat 50% 50%;
	}
.overlay-contentimport .tree .cells {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	padding: 0;
	}
.overlay-contentimport .tree .checkbox {
	position: absolute;
	text-align: center;
	top: 0;
	left: -30px;
	width: 30px;
	}
.overlay-contentimport .tree li li .checkbox { left: -50px; }
.overlay-contentimport .tree li li li .checkbox { left: -70px; }
.overlay-contentimport .tree li li li li .checkbox { left: -90px; }
.overlay-contentimport .tree li li li li li .checkbox { left: -110px; }
.overlay-contentimport .tree li li li li li li .checkbox { left: -130px; }
.overlay-contentimport .tree li li li li li li li .checkbox { left: -150px; }
.overlay-contentimport .tree li li li li li li li li .checkbox { left: -170px; }
.overlay-contentimport .tree li li li li li li li li li .checkbox { left: -190px; }
.overlay-contentimport .tree li li li li li li li li li li .checkbox { left: -210px; }
	
