/* 
   CSS RESET
   http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

/* general */
* {
	outline: none;
}

*::selection {
	text-shadow: none;
	color: black;
	background-color: #c7fe00;
}

a {
	text-decoration: none;
}

input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
    box-shadow: 0px 0px 0px rgba(0,0,0,0), inset 0px 1px 5px rgba(0,0,0,.3), inset 0px 1px 1px rgba(0,0,0,.5), inset 0px 0px 0px 100px white !important;
}

input:-webkit-autofill:focus, textarea:-webkit-autofill:focus, select:-webkit-autofill:focus {
    box-shadow: 0px 0px 5px rgba(190,255,0,1), inset 0px 1px 5px rgba(0,0,0,.3), inset 0px 1px 1px rgba(0,0,0,.5), inset 0px 0px 0px 100px white !important;
}

html {
	height: 100%;
	font-family: "Open Sans";
	overflow: -moz-scrollbars-vertical; 
    overflow-y: scroll;
	text-rendering:  optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

div.panel-3 {
	box-sizing: border-box;
	width: 300px;
	height: 300px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 0px 10px 20px rgba(0,0,0,.3), 0px 3px 3px rgba(0,0,0,.5), inset 0px 2px 2px rgba(255,255,255,1), inset 0px -2px 2px rgba(0,0,0,.2);
	border-radius: 25px;
	background-color: #fff;
	background-image: url("cms-resource/login_background.jpg");
}

.row {
	display: block;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}

abbr, acronym {
	text-decoration: underline;
	text-decoration-style: dotted;
	cursor: help;
}
	
body {
	position: relative;
	width: 100%;
	font-size: 14px;
	background-color: #eee;
	min-height: 100%;
	padding-bottom: 6rem;
	box-sizing: border-box;
	background-repeat: no-repeat;
	background-position: 25px 25px;
	background-size: 400px;
}

b {
	font-weight: bold;
}

sup {
	vertical-align: super;
	font-size: .8em;
}

footer {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 1rem;
	background-color: #3f3f3f;
	text-align: center;
	font-family: "Open Sans";
	color: #eeeeee;
	font-size: 14px;
}

/* navbar */
header {
	width: 100%;
	background-color: #333;
}

header div.logo {
	background-image: url("cms-resource/qcms_logo_inv.png");
	background-repeat: no-repeat;
	background-position: center center;
	height: 34px;
	width: 66px;
	padding: 10px 20px;
	border-right: solid 1px rgba(255,255,255,.5);
	margin-right: 10px;
	box-sizing: content-box;
}

header div,
nav div {
	display: inline-block;
	vertical-align: middle;
}

header div a,
nav div a {
	font-family: "Open Sans";
	padding: 10px;
	display: block;
	text-decoration: none;
	font-size: 14px;
	transition: all .3s ease-in-out;
}

header div a {
	color: #ffffff;
	text-shadow: 0px 0px 0px rgba(150,255,0,0);
}

header div a:hover {
	color: #c7fe00;
	text-shadow: 0px 0px 15px rgba(150,255,0,1);
}

header div.logout {
	padding-left: 10px;
	margin-left: 10px;
	border-left: solid 1px rgba(255,255,255,.5);
}

nav {
	width: 100%;
	background-color: #ddd;
}

nav div a {
	color: #333;
}

nav div a:hover {
	
}

/* headings */
h1 {
	font-weight: bold;
	font-size: 3.5em;
	text-align: center;
	display: block;
	width: 100%;
	font-family: "PT Sans";
	padding-bottom: 10px;
	padding-top: 30px;
	color: #444;
    text-shadow: 0px 0px 1px rgba(255,255,255,1), 0px 0px 1px rgba(255,255,255,1), 0px 0px 1px rgba(255,255,255,1), 0px 0px 1px rgba(255,255,255,1), 0px 5px 15px rgba(128,128,128,.4);
    background: -webkit-linear-gradient(#000, #444, #aaa);
    -webkit-background-clip: text;
}

h1::after {
	content: "";
	display: block;
	width: 400px;
	height: 0px;
	border-bottom: 2px solid black;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
}

h2 {
	margin-top: 20px;
	font-family: "PT Sans";
	font-size: 2.3em;
	font-weight: normal;
	text-align: center;
	display: block;	
	text-shadow: 0px 0px 1px rgba(255,255,255,1), 0px 0px 1px rgba(255,255,255,1), 0px 0px 1px rgba(255,255,255,1), 0px 0px 1px rgba(255,255,255,1), 0px 2px 7px rgba(128,128,128,.4);
	color: rgba(0,0,0,.7);
}

h3 span.grey {
	margin-left: 10px;
	padding-left: 15px;
	border-left: 1px solid rgba(0,0,0,.5);
	color: rgba(0,0,0,.5);
	font-size: .7em;
}

h3 span.grey a {
	color: inherit;
	font-weight: normal;
	text-decoration: none;
	margin-right: 3px;
}

h3 span.grey a:hover {
	color: #000;
}

.center {
	text-align: center !important;
}

#container {
	margin: 0px;
	padding: 0px;
	outline: none;
}

#backgroundBox {
	width: 700px; 
	height: 700px;  
	background-repeat: no-repeat; 
	background-position: 25px 25px;
	background-size: 400px;
	display: block;
	position: fixed;
	z-index: -1;
}

#backgroundBox.content 		{ background-image: url("cms-resource/bg_content.png"); }
#backgroundBox.accounts		{ background-image: url("cms-resource/bg_accounts.png"); }
#backgroundBox.statistics	{ background-image: url("cms-resource/bg_statistics.png"); }
#backgroundBox.error404		{ background-image: url("cms-resource/bg_error.png"); }

/* additional classes */
.preload * {
-webkit-transition: none !important;
   -moz-transition: none !important;
    -ms-transition: none !important;
     -o-transition: none !important;
        transition: none !important;
}

.qcms-logo {
	width: 160px;
	height: 100px;
	margin-left: auto;
	margin-right: auto;
	display: block;
	background-image: url("cms-resource/qcms_logo.png");
	border-bottom: 2px solid #bbb;
}

.not-active {
   pointer-events: none;
   cursor: default;
}


/* MESSAGE SCREEN */

div#errorScreen {
	z-index: 1000;
	background-color: rgba(0,0,0,.3);
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 0px;
}

div#errorWindow {
	width: 500px;
	box-sizing: border-box;
	box-shadow: 0px 10px 20px rgba(0,0,0,.3), 0px 3px 3px rgba(0,0,0,.5), inset 0px 2px 2px rgba(255,255,255,1), inset 0px -2px 2px rgba(0,0,0,.2);
	border-radius: 25px;
	background-color: #fff;
	overflow: hidden;
}

div#errorWindow div#close {
	position: absolute;
	top: 15px;
	right: 15px;
}

div#errorWindow div#close:before {
	content: "\f00d";
	color: rgba(0,0,0,.3);
}

div#errorWindow div#close:hover:before {
	color: rgba(0,0,0,1);
	cursor: pointer;
}

p.errorHeader {
	text-align: center;
	color: #fff;
	text-shadow: 0px 2px 2px rgba(0,0,0,.5), 0px 0px 15px rgba(0,0,0,.2);
	font-weight: bold;
	display: block;
	font-size: 4em;
	padding-top: 23px;
	padding-bottom: 50px;
	margin-bottom: -10px;
}

p.errorHeader.false {
		/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#df3939+0,df3939+100&1+0,0+100 */
	background: -moz-linear-gradient(top, rgba(223,57,57,1) 0%, rgba(223,57,57,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(223,57,57,1) 0%,rgba(223,57,57,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(223,57,57,1) 0%,rgba(223,57,57,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#df3939', endColorstr='#00df3939',GradientType=0 ); /* IE6-9 */
}

p.errorHeader.true {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#8ce80f+0,8ce80f+100&1+0,0+100 */
	background: -moz-linear-gradient(top, rgba(140,232,15,1) 0%, rgba(140,232,15,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(140,232,15,1) 0%,rgba(140,232,15,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(140,232,15,1) 0%,rgba(140,232,15,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8ce80f', endColorstr='#008ce80f',GradientType=0 ); /* IE6-9 */
}

p.errorHeader.warning {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffc907+0,ffffff+100 */
	background: rgb(255,201,7); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(255,201,7,1) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(255,201,7,1) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(255,201,7,1) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffc907', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

p.errorInfo {
	text-align: center;
	display: block;
	font-size: 1em;
	margin-top: 8px;
	box-sizing: border-box;
	padding: 30px;
	line-height: 1.4em;
}

.blurFilter {
	transition: filter .7s ease-in-out;
}

/* DRAB & DROP descriptors */
body.dragging, body.dragging * {
	cursor: move !important;
}

.dragged {
	position: absolute;
	opacity: 0.5;
	z-index: 2000;
	box-sizing: border-box;
}

ol.dragdrop li {
	display: block;
	box-sizing: border-box;
	width: 100%;
	box-shadow: 0px 3px 5px rgba(0,0,0,.5), inset 0px 0px 0px 0px rgba(255,255,255,0);
	background-color: #ffffff;
	margin-top: 10px;
	padding: 20px;
	border-radius: 30px;
	text-align: center;
	transition: background-color .5s ease-in-out, box-shadow .75s ease-in-out;
}

ol.dragdrop li:hover {
	background-color: #c7fe00;
	box-shadow: 0px 3px 5px rgba(0,0,0,.5), inset 0px 0px 35px 10px rgba(255,255,255,1);
	cursor: pointer;
}

ol.dragdrop li.placeholder {
	position: relative;
	background-color: #c7fe00;
	display: block;
	content: "";
	height: 7px;
	padding: 0px 20px;
	width: calc(100% - 100px);
	margin-left: 50px;
	margin-top: 35px !important;
	margin-bottom: 24px;
	color: #c7fe00;
	/** More li styles **/
}

ol.dragdrop li.placeholder:first-child {
	margin-top: 24px !important;
}

ol.dragdrop li.placeholder:before {
	font-family: "FontAwesome";
	content: "\f0a9";
	display: inline-block;
	left: -25px;
	position: absolute;
	text-shadow: 0px 3px 5px rgba(0,0,0,.7), 0px 1px 1px rgba(0,0,0,.6);
	top: -3px;
	/** Define arrowhead **/
}

ol.dragdrop li.placeholder:after {
	font-family: "FontAwesome";
	content: "\f0a8";
	display: inline-block;
	right: -25px;
	position: absolute;
	text-shadow: 0px 3px 5px rgba(0,0,0,.7), 0px 1px 1px rgba(0,0,0,.6);
	top: -3px;
}

textarea#serialize_output {
	width: 0px;
	height: 0px;
	overflow: hidden;
	display: none;
	font-size: 0pt;
}

ol.notallowed li {
	display: block;
	box-sizing: border-box;
	width: 100%;
	box-shadow: 0px -2px 0px rgba(0,0,0,.2), 0px 2px 0px 0px rgba(255,255,255,1), inset 0px 0px 15px rgba(0,0,0,.1);
	color: #ccc;
    text-shadow: -1px 1px 0px #fff, 0px -1px 0px rgba(0,0,0,.3);
	margin-top: 10px;
	padding: 20px;
	border-radius: 30px;
	text-align: center;
}

/* - article drag & drop */

ol.dragdrop li.article {
	padding: 0px;
	text-align: left;
	overflow: hidden;
	display: table;
	vertical-align: middle;
	border-radius: 0px 50px 50px 100px;
}

ol.dragdrop li.article:first-child {
	margin-top: 0px;
}

ol.dragdrop li.article:not(:first-child) {
	margin-top: 4px;
}

ol.dragdrop li.article > span {
	display: table-cell;
	vertical-align: middle;
	height: 100%;
}

ol.dragdrop li.article span.id {
	padding: 20px;
	background-color: #154d6b;
	color: #fff;
	font-size: .75em;
	width: 15%;
	box-sizing: border-box;
	overflow: visible;
	text-align: right;
}

ol.dragdrop li.article span.publication {
	padding: 20px;
	text-align: right;
	color: #aaa;
	font-size: .75em;
	width: 25%;
	box-sizing: border-box;
	overflow: visible;
}

ol.dragdrop li.article span.text {
	width: 60%;
	box-sizing: border-box;
	padding: 5px 10px;
}

ol.dragdrop li.article span.text span {
	display: inline-block;
}

@media print {
	@page {
		margin: 10mm 10mm 10mm 10mm;
		overflow: visible;
	}
	
	html, body {
		box-sizing: border-box;
		overflow: visible;
	}
	
	header, nav {
		display: none;
		visiblity: hidden;
	}
	
	footer {
		position: fixed;
		bottom: 0mm;
		font-size: 1em;
		background-color: rgba(255,255,255,0);
		page-break-before: always;
	}
	
   .noprint {
	   display: none;
	   visibility: hidden;
   }
}
