@CHARSET "UTF-8";

.block{
	position:relative;
}

#templateSelection .block, #templateSelection p,
#preview .block, #preview p  {
	font-size: 10pt !important;
}

.adminlinks-element div, div.addBlock {
	display:inline-block;
}

.editable a{
	text-decoration:underline;
}

.imageAnchor{
	width:100%;
	height:100%;
	display:block;
}

.adminlinks-element div img, div.toolbar img, div.addBlock img, .internalLinkItem, .subBeitragItem {
	cursor:pointer;
}

#templateSelection, #moduleSelection {
	float:left; width:250px;
}

#templateSelection ul, #moduleSelection ul {
	display:block;
}

.dragandrophandler, .module {
	border:2px dotted transparent;
	/*width:100%;*/
	box-sizing: border-box;
	padding:10px 10px 10 10px;
	position:relative;
}

.dragandrophandler {
	overflow:hidden;
	text-align : center;
}

.image-inserted {
	display: block;
}

.image-inserted img {
	margin: 0 auto;
}

.center .dragandrophandler {
	margin: 0 auto;
}

.center .bildunterschrift{
	margin: 0 auto;
}

.module span.placeholderText {
	color:#92AAB0;
	text-align:center;
	font-size:200%;	
	margin-top:10%;
}

.dragandrophandler span.placeholderText {
	color:#92AAB0;
	font-size:200%;	
	position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 50%;
    height: 30%;
    margin: auto;
}


.dragandrophandler > img {
	position:relative;
}

.dragandrophandler .toolbar {
	width:100%;
	position:absolute;
	z-index:999;
	text-align:right;
	background-color: rgba(0,0,0,0.5);
	padding:4px 0px;
	bottom:0px;
	left:0px;
	display:none;
}

.activeImageEditor.image-inserted.unlocked .toolbar,.activeImageEditor.image-inserted:hover .toolbar {
	display:inline-block;
}

.activeImageEditor.unlocked > img {
	cursor: url(../images/editor/openhand.html), default;
}

.activeImageEditor.unlocked > img.dragged {
	cursor: url(../images/editor/closedhand.html), default;
}

.activeImageEditor{
	border:2px dotted #CCCCCC;
}

.placeholderText{
	display:block;
	margin-top:0%;
}

.pleaseedit {
	color: #CCCCCC;
	font-style: italic;
}

img.grayscale {
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
	filter: gray; /* IE6-9 */
	-webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

.image {
	position:relative;
}

.module {
	min-height: 80px;
	position:relative;
}

.bildunterschrift {
	border:2px dotted transparent;
	text-align:left;
	font-size:80%;
	line-height:1.5em;
	font-style:italic;
	z-index: 50;
	margin-bottom: 15px;
}

.bildunterschrift.editable {
	border:2px dotted #CCCCCC;
}

#linkDialog .menuList {
	overflow-y: scroll;
	height:300px;
}

#validitySelectorPopup table{
	margin-left:auto;
	margin-right:auto;
}

#validitySelectorPopup tr{
	margin-top:10px;
}

.validyLeftTD{
	display:block;
	padding:0;
	margin:5px 0 0 0;
	width:100px;
}

#selectedFile{
	margin-left:10px;
}

#preview, .preview {
	margin-left: 250px !important;
	overflow-y: auto !important;
	overflow-x: auto !important;
	width: calc(100% - 250px);
	height: 100%;
}

#preview .image, #preview .bildunterschrift, #preview .dragandrophandler  {
	/*width: calc(99%) !important;*/
}

#preview [data-template="2images"] .image, #preview [data-template="imageLeft"] .image, #preview [data-template="imageRight"] .image, #preview [data-template="4images"] .image {
	/*width: calc(45%) !important;*/
}

#preview [data-template="moduleLeft"] .module, #preview [data-template="moduleRight"] .module {
	background-color: #ffffff;
	background-image: url('../templates/images/platzhalter.png');
	background-repeat: no-repeat;
	background-position: center center;
    border: 1px solid #333333 !important;
    background-size: 70%;
}

#preview .dragandrophandler {
	background-color: #ffffff;
	background-image: url('../templates/images/platzhalter.png');
	background-repeat: no-repeat;
	background-position: center center;
    border: 1px solid #333333 !important;
    background-size: 70%;
}

#preview [data-template="moduleFull"] {
	width: 99% !important;
	height: 400px;
	background-color: #ffffff;
	background-image: url('../templates/images/platzhalter.png');
	background-repeat: no-repeat;
	background-position: center center;
    border: 1px solid #333333 !important;
    background-size: 70%;
}

#preview .placeholderText {
	display:none;	
}

.twoColumns{
	float: left;
	width: 46%;
	padding: 1.167%;
}

.threeColumns{
	float: left;
	width: 31%;
	padding: 1.167%;
}

.fourColumns{
	float: left;
	width: 22%;
	padding: 1.167%;
}

.floatAfterGroup~.floatAfterGroup:after {
  content: "";
  display: table;
  clear: both;
}

#templateSelection p{
	margin:0.7em 0;
}



.wrapper {
    background:#DDD;
    display:inline-block;
    padding: 10px;
    height: 20px;
    width:auto;
}

.label {
    display: inline-block;
    width: 1em;
}

.contents, .contents .inner {
    display:inline-block;
}

.contents {
    white-space:nowrap;
    margin-left: -1em;
    padding-left: 1em;
}

.contents .inner {
    background:#c3c;
    width:0%;
    overflow:hidden;
    -webkit-transition: width 1s ease-in-out;
    -moz-transition: width 1s ease-in-out;
    -o-transition: width 1s ease-in-out;
    transition: width 1s ease-in-out;
}

/* REMOVE BLOCK */

.editBlockWrapper {
	z-index:100;
	position:absolute;
	right:0px;
	display:inline-block;
	padding: 0 10px 0 8px;
	width:199px;
}

.editBlockWrapper .items{
	margin: 0px 5px;
	border-top:2px solid #CCCCCC;
	background-color:rgba(0,0,0, 0.5);
	border-radius: 0px 0px 5px 5px;
	padding: 0px 5px;
}

.editBlockWrapper:after, .editBlockWrapper:before {
	right: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.editBlockWrapper:after {
	opacity: 0.5;
	border-color: rgba(0, 0, 0, 0);
	border-right-color: #000000;
	border-width: 13px;
	margin-top: -13px;
}
.editBlockWrapper:before {
	opacity: 0.5;
	border-color: rgba(255, 255, 255, 0);
	border-right-color: #FFFFFF;
	border-width: 14px;
	margin-top: -14px;
}

.items span {
	margin: 0px 5px;
}

.deleteBlockLabel {
	cursor: pointer;
	display: inline-block;
}

.deleteBlockContents .deleteBlockInner {
	color:white;
	font-weight:bold;
}

.deleteBlockWrapper:hover .deleteBlockContents .deleteBlockInner {
    width:100px;
}

.ui-dialog{
	z-index:1001;
}