@import "ckeditor_fonts.css";

a {
	/*text-decoration:underline;*/
}

.draft {
	background: rgba(255, 236, 104, 0.25);
}
.archived {
	background: rgba(104, 164, 255, 0.25);
}

.form-horizontal .controls {
	overflow: hidden;
}

#content {
	min-height: calc(100% - 104px) !important;
}

#profileImage {
	width: 100px;
	height: 100px;
	border: 1px dashed #dfdfdf;
	display: table;
	position:relative;
}
#profileImage img {
	width: 100px;
	height: 100px;
	max-width: inherit;
	max-height: inherit;
	position: absolute;
	top: 0;
   left: 0;
}
#profileImage > .caption {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}
#profileImage > .message {
	display:table-cell;
	text-align: center;
	vertical-align: middle;
}
	#profileImage > .message > * {
		display:none;
	}
#profileImage input[type="file"] {
	z-index:1;
	width: 100px;
	height: 100px;
	opacity: 0;
	position: absolute;
	top:0;
	left:0;
}


.upload-box {
	width:100%;
	height:auto;
	padding-bottom:50%;
	border: 1px dashed #dfdfdf;
	display: inline-block;
	text-align: center;
	position: relative;
}
.upload-box > input[type=file] {
	width: 100%;
	height: 100%;
	opacity: 0;
	position: absolute;
	top:0;
	left:0;
	z-index: 1;
}
.upload-box > span {
	top: calc(50% - .5em);
	left: 0;
	position: absolute;
	width: 100%;
}
.list {
	list-style: none;
	display: block;
	margin-left:0;
}
.list li.err {
	border: 1px dashed red;
}
.list span {
	display: block;
	float: left;
}
	.list .name {
		min-width:60%;
	}
	.list .size {
		width: 80px;
		margin:0 1em;
	}
	.list .remove-btn {
		display: block;
		float: left;
		margin-right: 1em;
	}
	.list .progress {
		margin: 0;
		position:relative;
		display: inline-block;
		width:calc(100% - (60% + 80px + 3em + 16px));
	}
	.list .status {
		width:100%;
		height:100%;
		left:0;
		top:0; /*calc(50% - .5em);*/
		position: absolute;
		text-align: center;
		z-index: 1;
		text-shadow: 0px 1px black;
	}
	
.widget-content>.preview {
	font-size:1.5em;
}
.widget-content>.preview p {
	margin:1em 0;
}
	.widget-content>.preview p:first-child {
		margin-top:0;
	}
	.widget-content>.preview p:last-child {
		margin-bottom:0;
	}

.modal {
	max-width:900px;
	margin-left: -450px;
	width: 100%;
}
.modal-body {
	max-height:900px;
	height: 100%;
}
@media (max-width: 1024px){
	.modal {
		margin-left: -40%;
		width: 80%;
	}
}
@media (max-width: 767px){
	.modal {
		margin-left: 0;
		width: auto;
	}
}


.preview img {
	margin: 1em 0;
}
