html, body {
	font-family: arial, sans-serif;
	color: #404040;
	font-size: 16px;
	background-color: #fff;
	margin: 0;
	padding: 0;
}

select {
	padding: 4px;
	border-radius: 3px;
}

html, body {
	min-height: 100vh;
}

a {
	cursor: pointer;
}

/*
body.login-screen
{
	background: -webkit-linear-gradient(45deg, #2695b6,#83c2ca);
	background: -moz-linear-gradient(45deg, #2695b6,#83c2ca);
	background: -o-linear-gradient(45deg, #2695b6,#83c2ca);
	background: linear-gradient(45deg, #2695b6,#83c2ca);
	background-attachment: fixed;
	background-color: #2695b6;
}
*/

input[type=text], input[type=password], textarea, select {
	border: 1px solid #2695b6;
	background: rgba(38,149,182,0.06);
	font-family: arial, sans-serif;
	font-size: 1em;
	padding: 7px;
	color: #404040;
	border-radius: 3px;
}

input[type=number] {
	border: 1px solid #2695b6;
	background: rgba(38,149,182,0.06);
	font-family: arial, sans-serif;
	font-size: 1em;
	padding: 7px;
	color: #404040;
	border-radius: 3px;
}

input::-webkit-input-placeholder {
	color: rgba(0,0,0,0.3);
}

input::-moz-placeholder {
	color: rgba(0,0,0,0.3);
}

input:-ms-input-placeholder {
	color: rgba(0,0,0,0.3);
}

input:-moz-placeholder {
	color: rgba(0,0,0,0.3);
}

a {
	text-decoration: none;
	color: #2695b6;
}

.column-left {
	background-color: #fff;
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	right: 501px;
	box-sizing: border-box;
}



.column-right {
	background-color: #ebebeb;
	position: fixed;
	width: 500px;
	right: 0;
	top: 0;
	bottom: 0;
}

.column-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 80px;
	padding: 20px;
	padding-bottom: 0;
}

.column-left > .column-header {
	background: rgba(96, 176, 185, 0.08);
	background: rgba(38,149,182,0.06);
}

.column-right > .column-header {
	border-color: #ebebeb;
}

.tabs-container {
	display: flexbox;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	justify-content: center;
	padding: 0;
	list-style-type: none;
	margin: 0;
}

.column-right > .column-header .tabs-container {
	-ms-flex-align: left;
	justify-content: left;
}


ul.actionlist {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: block;
}

	ul.actionlist > li {
		cursor: pointer;
	}


.tab-item {
	min-width: 30px;
	text-align: center;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 10px;
	padding-top: 10px;
	text-transform: uppercase;
	font-size: 0.813em;
	height: 18px;
	cursor: pointer;
}

	.tab-item.active-tab {
		border-bottom: 3px solid #2695b6;
		color: #2695b6;
	}

.tab-target {
	display: none;
}

	.tab-target.active {
		display: block;
	}

.column-header-top {
	height: 30px;
	margin-bottom: 10px;
	position: relative;
}

/* Empty attribute selector */
img.customer-logo[src=''] {
	display: none;
}


img.customer-logo:not([src='']),
.system-logo {
	display: inline-block;
	width: 140px;
	height: 40px;
	background: url(../Images/timebase-logo.svg) center center no-repeat;
	background-size: contain;
	margin-right: 10px;
}

.system-logo {
	background: url(../Images/timebase-logo.svg) center center no-repeat;
}

.system-text {
	height: 50px;
	width: 50%;
	color: #404040;
	font-size: 0.813em;
}

/*
#column-footer
{
	position:absolute;
	bottom:0;
	left:0;
	right:0;
	background-color:#60b0b9;
	height:30px;
	color:#fff;
	line-height:30px;
	font-size:0.813em;
	text-align:center;
}

#column-footer > .footer-item:before
{
	content:"|";
	display:inline-block;
	margin-left:20px;
	margin-right:20px;
}

#column-footer > .footer-item:first-child:before
{
	content:"";
	margin:0;
}
*/

.menu-tabs {
	position: absolute;
	overflow: auto;
	top: 101px;
	padding: 0px;
	left: 0;
	right: 0;
	bottom: 0px;
}

[data-tp='data-scroll-change'] {
	display: none;
	height: 17px;
	padding: 0;
	line-height: 17px;
}

	[data-tp='data-scroll-change'] span {
		display: inline-block;
		vertical-align: bottom;
	}

	[data-tp='data-scroll-change'][data-scroll-change='-1'] {
		top: 101px;
	}

	[data-tp='data-scroll-change'][data-scroll-change='1'] {
		bottom: 0px;
	}

body.data-scroll-change [data-tp='data-scroll-change'] {
	color: #BEBEBE;
	font-size: 10px;
	text-align: center;
	background-color: #EEEEEE;
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	cursor:pointer;
}

	body.data-scroll-change [data-tp='data-scroll-change']:hover {
		color: #2695b7;
		background-color: rgba(38, 149, 182, 0.30);
	}

body.data-scroll-change .menu-tabs {
	top: 118px;
	bottom: 17px;
}

body.data-scroll-change .tp-toc {
	top: 18px;
	bottom:17px;
}


#main-content {
	position: absolute;
	overflow: auto;
	top: 121px;
	padding: 0px;
	left: 0;
	right: 0;
	bottom: 0;
	box-sizing: border-box;
}

.main-functions {
	position: fixed;
	right: 40px;
	top: 20px;
	height: 26px;
	width: 400px;
}

	.main-functions a {
		font-size: 0.813rem;
		line-height: 26px;
		margin-left: 25px;
		display: block;
		float: right;
		height: 26px;
		padding-right: 32px;
		background: url(../Images/tba-logout.svg) right center no-repeat;
		background-size: contain;
		text-align: right;
		transition: color 0.2s ease-in-out;
	}



		.main-functions a:hover {
			color: #404040;
		}

		.main-functions a:last-child {
			margin-left: 0;
		}

		.main-functions a#logout {
			background-image: url(../Images/tba-logout.svg);
		}

.documentmode .main-functions a#logout {
	background-image: url(../Images/backArrow.png);
}

.main-functions a#logout:after {
	content: "Etusivulle";
}

.main-functions a#save {
	background-image: url(../Images/we-ico-save2.svg?id=2);
}

	.main-functions a#save:after {
		content: "Tallenna luku";
	}


.main-functions a#profile {
	background-image: url(../Images/profile.svg?id=2);
}

.actionbuttons {
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 10px 20px 10px 20px;
	background-color: #fff;
	text-align: center;
}

#main-content > div > div.hasbuttons {
	bottom: 40px;
}

.hasbuttons .actionbuttons {
	display: block;
}

.actionbutton {
	display: inline-block;
	height: 30px;
	line-height: 30px;
	background-color: #ffffff;
	font-size: 0.813rem;
	color: #2695b7 !important;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
	border: 1px solid #e0e0e0 !important;
	cursor: pointer;
	min-width: 90px;
	-moz-box-shadow: 0 0 12px 0 rgba(255,255,255,1), inset 0 -10px 40px -10px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 0 12px 0 rgba(255,255,255,1), inset 0 -10px 40px -10px rgba(0,0,0,0.2);
	box-shadow: 0 0 12px 0 rgba(255,255,255,1), inset 0 -10px 40px -10px rgba(0,0,0,0.2);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	/*estetään tekstin ylivuoto*/
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-left: 10px;
	margin-right: 10px;
	position: relative;
}

	.actionbutton.ico {
		padding-left: 35px;
	}

		.actionbutton.ico:before {
			display: block;
			content: "";
			top: 0;
			width: 25px;
			bottom: 0;
			left: 0;
			text-align: center;
			background-color: rgba(0,0,0,0.05);
			position: absolute;
			color: #b0b0b0;
		}

		

		.actionbutton.ico:after {
			display: block;
			position: absolute;
			content: "";
			top: 9px;
			left: 5px;
			bottom: 9px;
			width: 14px;
			background: url(../Images/cancel.png) center center no-repeat;
			background-size: contain;
			opacity: 0.4;
		}

		.actionbutton.ico.action-revert:after {
			background-image: url(../Images/cancel.png);
		}

		.actionbutton.ico.action-remove-file:after {
			background-image: url(../Images/delete_can.png);
		}

		.actionbutton.ico.action-edit-file:after {
			background-image: url(../Images/edit_cover.png);
		}

		.actionbutton.ico.action-add:after {
			background-image: url(../Images/newdoc.png);
		}

		.actionbutton.ico.action-save:after {
			background-image: url(../Images/save-doc-white.png);
		}

		.actionbutton.ico.action-delete:after {
			background-image: url(../Images/delete_can.png);
		}

		.actionbutton.ico.action-move:after {
			background-image: url(../Images/arrowup.png);
		}

		.actionbutton.ico.action-reorder:after {
			background-image: url(../Images/reorder.png);
		}

		.actionbutton.ico.action-comment:after {
			background-image: url(../Images/comment-filled.png);
		}

		.actionbutton.ico.action-upload:after {
			background-image: url(../Images/upload.png);
		}

		.actionbutton.ico.action-move2:after {
			background-image: url(../Images/arrow.png);
		}

		.actionbutton.ico.action-grid:after {
			background-image: url(../Images/grid_system.png);
		}

		.actionbutton.ico.action-elementreplace:after {
			background-image: url(../Images/replaceElement.png);
		}

		.actionbutton.ico.action-done:after {
			background-image: url(../Images/done.png);
		}

		.actionbutton.ico.action-meta-save:after {
			background-image: url(../Images/we-ico-save2.svg?id=2);
			font-size: 1em;
		}

		.actionbutton.ico.action-add-metarow:after {
			background-image: url(../Images/remove.png);
			transform: rotate(45deg);
			font-size: 1em;
			float:right;
		}

		.actionbutton.ico.action-add-required:after {
			background-image: url(../Images/remove.png);
			transform: rotate(45deg);
		}

		.actionbutton.ico.action-meta-save {
			float: right;
			font-size: 1em;
			margin-top: 15px;
			margin-bottom: 15px;
		}

		.actionbutton.ico.action-add-required,
		.actionbutton.ico.action-add-metarow {
			float: left;
			font-size: 1em;
			margin-top: 15px;
			margin-bottom: 15px;
		}

.actionbutton.blue {
	background-color: #2695b7;
	color: #fff !important;
	border: 1px solid #909090 !important;
	-moz-box-shadow: 0 0 12px 0 rgba(255,255,255,1), inset 0 10px 40px -10px rgba(255,255,255,0.4), inset 0 -10px 40px -10px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 0 12px 0 rgba(255,255,255,1), inset 0 10px 40px -10px rgba(255,255,255,0.4), inset 0 -10px 40px -10px rgba(0,0,0,0.1);
	box-shadow: 0 0 12px 0 rgba(255,255,255,1), inset 0 10px 40px -10px rgba(255,255,255,0.4), inset 0 -10px 40px -10px rgba(0,0,0,0.1);
}

	.actionbutton.ico.blue:before {
		background-color: rgba(255,255,255,0.4);
	}

	.actionbutton.ico.blue:after {
		opacity: 0.8;
	}

	.disabled,
	.actionbutton.disabled {
		opacity: 0.5;
		color: #a0a0a0 !important;
		pointer-events: none;
		cursor: not-allowed;
	}
	input[readonly],
	input[disabled],
	textarea[disabled],
	select[disabled] {
		cursor: not-allowed;
		background-color: #f0f0f0 !important;
		color: #6c757d !important;
	}

	.actionbutton.blue.disabled {
		opacity: 0.5;
		color: #fff !important;
		cursor: not-allowed;
		pointer-events: none;
	}

	.actionbutton.hidden {
		display: none;
	}

	/*.actionbutton:first-child {
		margin-left: 0;
	}*/



	.actionbutton:hover {
		text-decoration: none;
		-moz-box-shadow: 0 0 12px 0 rgba(255,255,255,1), inset 0 -10px 30px -10px rgba(0,0,0,0.35);
		-webkit-box-shadow: 0 0 12px 0 rgba(255,255,255,1), inset 0 -10px 30px -10px rgba(0,0,0,0.35);
		box-shadow: 0 0 12px 0 rgba(255,255,255,1), inset 0 -10px 30px -10px rgba(0,0,0,0.35);
		-webkit-transition: all 0.1s ease-in-out;
		-moz-transition: all 0.1s ease-in-out;
		-ms-transition: all 0.1s ease-in-out;
		-o-transition: all 0.1s ease-in-out;
		transition: all 0.1s ease-in-out;
	}

	.actionbutton.blue:hover {
		-moz-box-shadow: 0 0 12px 0 rgba(255,255,255,1), inset 0 10px 40px -10px rgba(255,255,255,0.4), inset 0 -10px 30px -10px rgba(0,0,0,0.5);
		-webkit-box-shadow: 0 0 12px 0 rgba(255,255,255,1), inset 0 10px 40px -10px rgba(255,255,255,0.4), inset 0 -10px 30px -10px rgba(0,0,0,0.5);
		box-shadow: 0 0 12px 0 rgba(255,255,255,1), inset 0 10px 40px -10px rgba(255,255,255,0.4), inset 0 -10px 30px -10px rgba(0,0,0,0.5);
	}


ul.tb-tree, ul.tb-tree ul, ul.chapterlist, ul.writerAccessList {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

ul.tb-tree {
	position: absolute;
	left: 0;
	top: 0;
	right: 499px;
	bottom: 0;
	overflow: auto;
}

	ul.tb-tree li {
		position: relative;
		/*
	margin-left:15px;
	padding-left:5px;
	*/
		font-size: 1rem;
	}

		ul.tb-tree li > div {
			padding-left: 20px;
			padding-top: 2px;
			padding-bottom: 2px;
			position: relative;
		}

			ul.tb-tree li > div > .node-actions {
				display: none;
				position: absolute;
				right: 0;
				top: 0;
				bottom: 0;
				width: 58px;
			}

				ul.tb-tree li > div > .node-actions > a {
					display: inline-block;
					height: 18px;
					width: 18px;
					margin-left: 2px;
					border-radius: 3px;
					margin-top: 2px;
				}

					ul.tb-tree li > div > .node-actions > a:after {
						content: "";
						margin-top: 2px;
						margin-left: 2px;
						display: inline-block;
						height: 14px;
						width: 14px;
						background: url(../Images/tb-ico-edit.svg) center center no-repeat;
						background-size: contain;
					}

					ul.tb-tree li > div > .node-actions > a.lock:after {
						background-image: url(../Images/tb-ico-unlocked.svg);
					}

		ul.tb-tree li.locked > div > .node-actions > a.lock:after {
			background-image: url(../Images/tb-ico-locked.svg);
		}

		ul.tb-tree li.locked ul li a.lock:after {
			background-image: url(../Images/tb-ico-locked-child.svg) !important;
			opacity: 0.5
		}

		ul.tb-tree li > div > .node-actions > a:hover {
			background-color: rgba(255,255,255,0.7);
		}

		ul.tb-tree li > div > .node-actions > a:first-child {
			margin-left: 0px;
		}

		ul.tb-tree li.selected > div {
			background-color: rgba(38,149,182,0.15);
		}

			ul.tb-tree li.selected > div > .node-actions {
				display: block;
			}

	ul.tb-tree > li.type-root {
		font-size: 1rem;
	}

	ul.tb-tree li > ul > li > div {
		padding-left: 36px;
	}

	ul.tb-tree li > ul > li > ul > li > div {
		padding-left: 56px;
	}

	ul.tb-tree li > ul > li > ul > li > ul > li > div {
		padding-left: 76px;
	}

	ul.tb-tree li > ul > li > ul > li > ul > li > ul > li > div {
		padding-left: 96px;
	}

	ul.tb-tree li > ul > li > ul > li > ul > li > ul > li > ul > li > div {
		padding-left: 116px;
	}

	ul.tb-tree li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > div {
		padding-left: 136px;
	}

	ul.tb-tree li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > div {
		padding-left: 156px;
	}

	ul.tb-tree li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > div {
		padding-left: 176px;
	}

	ul.tb-tree li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > div {
		padding-left: 196px;
	}

	ul.tb-tree li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > div {
		padding-left: 216px;
	}

/*!!! lisäsin tämän, jotta lista menee nätisti. Riku voi korjata paremmaksi*/
li.hasChildren > div > a.name:before {
	margin-left: 5px;
}

ul.tb-tree li > div > a:not(.expand) {
	font-size: 0.813em;
}

	ul.tb-tree li > div > a:not(.expand):not(.remove-user):before {
		display: inline-block;
		width: 14px;
		height: 14px;
		content: "";
		background: #404040 center center no-repeat;
		background-size: contain;
		border: 2px solid #404040;
		border-radius: 3px;
		color: #fff;
		margin-right: 5px;
		vertical-align: top;
		margin-top: 0px;
		text-align: center;
	}

		ul.tb-tree li.type-user > div > a:not(.expand):not(.remove-user):before {
			background-color: #2695b6;
			border: 2px solid #2695b6;
		}
		ul .tb-tree li[data-target-type="document-lock"] li > div > a:not(.expand):before, ul.tb-tree li[data-target-type="document"] li > div > a:not(.expand):before {
			background-color: rgba(38,149,182,0.1);
			border: 2px solid rgba(38,149,182,0.1);
		}

ul.tb-tree li[data-target-type="document-lock"] > div > a:not(.expand):before,
ul.tb-tree li[data-target-type="document"] > div > a:not(.expand):before,
ul.tb-tree li[data-target-type="document"] li[data-target-type="chapterList"] > div > a:not(.expand):before {
	background-color: rgba(38,149,182,1);
	border: 2px solid rgba(38,149,182,1);
}

#file-list .tb-tree li > div > a:not(:first-child):before {
	display: none;
}

/*
ul.tb-tree li.selected > div > a:not(.expand):before
{
	background-color: #404040;
    border: 2px solid #404040;
}

ul.tb-tree li.selected > div > a:not(.expand)
{
	color:#404040;
}
*/
ul.tb-tree li > div > a.noDL:before {
	content: none;
}

ul.tb-tree li[data-target-type="folder"] div, ul.tb-tree li[data-target-type="chapter"] div, ul.tb-tree li[data-target-type="chapterList"] div {
	cursor: pointer;
}

body:not(.edit-chapter-structure) ul.tb-tree li[data-target-type="chapter"][data-external-chapter-id] * {
	cursor: default;
}

ul.tb-tree li[data-target-type="chapter"][data-external-chapter-id]:not([data-external-chapter-id^="pathtochapter"]) > div > a:not(.expand):before {
	background-image: url(../Images/chapter_external.png);
	pointer-events: none;
	cursor: default;
}

ul.tb-tree li[data-target-type="chapter"] > div > a:not(.expand):before {
	background-image: url(../Images/file_text_data.png);
	background-image: url(../Images/type-document-blue.svg);
}

ul.tb-tree li.type-file > div > a:not(.expand):before {
	background-image: url(../Images/file.png);
}
ul.tb-tree li.type-file > div > a.removeDoc:before {
	content: none;
}
ul.tb-tree li.type-user > div > a:not(.expand):not(.remove-user):before {
	background-image: url(../Images/profile-white.svg?id=2);
}

ul.tb-tree li.type-chapter-lock > div > a:not(.expand):before {
	background-image: url(../Images/file_text_data.png);
	background-image: url(../Images/type-document-blue.svg);
	background-color: rgba(38,149,182,0.1);
	border-color: rgba(38,149,182,0.1);
}

ul.tb-tree li[data-target-type="folder"] > div > a:not(.expand):before {
	background-image: url(../Images/type-folder.svg);
}

ul.tb-tree li[data-target-type="chapterList"] > div > a:not(.expand):before {
	background-image: url(../Images/type-bookfolder2.svg);
}

ul.tb-tree li.type-xml > div > a:not(.expand):before {
	background-image: url(../Images/type-document-blue.svg);
}

ul.tb-tree li[data-target-type="document-lock"] > div > a:not(.expand):before,
ul.tb-tree li[data-target-type="document"] > div > a:not(.expand):before {
	background-image: url(../Images/type-document.svg);
	background-image: url(../Images/book-white.png);
}

ul.tb-tree li.type-root > div > a:not(.expand):before {
	background-image: url(../Images/type-root.svg);
}

body:not(.edit-chapter-structure) ul.tb-tree li > div button.delete {
	display: none;
}

body.edit-chapter-structure ul.tb-tree li > div button.delete {
	display: inline-block;
	float: right;
	border: none;
	padding: 0px;
	margin-right: 20px;
	width: 12px;
	height: 12px;
	background-size: contain;
	background-image: url(../Images/delete_can.png);
	cursor: pointer;
}

ul.tb-tree > li.type-root > div {
	margin-top: 10px;
	
	margin-left: -20px;
}

ul.tb-tree > li.type-root > div > .name {
	color: #fff;
	line-height:19px;
	text-transform: uppercase;
	font-weight:bold;
	background-color:#404040;
	padding-right:19px;
	padding-left:17px;
	display:inline-block;
}

ul.tb-tree li[data-target-type="folder"] > div > a:not(.expand) {
	color: #404040;
}

ul.tb-tree li > ul {
	display: none;
}

ul.tb-tree li.opened > ul {
	display: block;
}

.tb-tree li > div > a.expand {
	margin-left: -1em;
	display: none;
	width: 12px;
	height: 12px;
	background-color: #404040;
	color: #fff;
	line-height: 12px;
	text-align: center;
	font-size: 1em;
	overflow: hidden;
}

.tb-tree li[data-target-type="document-lock"] > div > a.expand,
.tb-tree li[data-target-type="document"] > div > a.expand,
.tb-tree li[data-target-type="chapterList"] > div > a.expand {
	background-color: #2695b7;
}

.tb-tree li > div > a.expand:after {
	content: "+";
}

.tb-tree li.opened > div > a.expand:after {
	content: "-";
}

.tb-tree li.hasChildren > div > a.expand {
	display: inline-block;
}

.tb-tree li > div > a:not(.expand):after {
	content: attr(data-name);
}

/*#region Elementtien tyylivalinat (ul li => div label) */
div.elementlist {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

	div.elementlist input {
		display: none;
	}

	div.elementlist label {
		display: list-item;
		cursor: pointer;
		position: relative;
		font-size: 0.813rem;
		height: 1em;
		line-height: 1em;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		padding: 10px;
		padding-left: 34px;
		margin-bottom: 1px;
		background-color: rgba(0,0,0,0.05);
		color: #2695b7;
	}

		div.elementlist label:not(.checked) + label.checked {
			box-shadow: inset 0 6px 5px -5px rgba(0,0,0,0.25);
		}

		div.elementlist label:before {
			display: block;
			content: "";
			box-sizing: border-box;
			position: absolute;
			left: 10px;
			height: 14px;
			top: 50%;
			margin-top: -7px;
			bottom: 0;
			width: 14px;
			background-color: #fff;
			border: 1px solid #2695b6;
			border-radius: 15px;
		}

		div.elementlist label.checked:before {
			border-color: #fff;
		}

		div.elementlist label:hover {
			transition: all 0.2s;
			box-shadow: inset 0 0 0 100px rgba(255,255,255,0.5);
		}

		div.elementlist label:first-child {
			margin-top: 1px;
		}

		div.elementlist label.checked {
			background-color: #2695b6;
			color: #fff;
		}

			div.elementlist label.checked:after {
				display: block;
				content: "";
				position: absolute;
				width: 6px;
				height: 6px;
				border-radius: 3px;
				top: 50%;
				margin-top: -3px;
				left: 14px;
				background-color: #2695b6;
			}
/*#endregion */

/*

#administration-content > a
{
	background-color:#e2e2e2;
	display:block;
	padding:20px;
	border-top:1px solid rgba(255,255,255,0.5);
	border-bottom:1px solid #cacaca;
	transition:all 0.3s ease-in-out;
}

#administration-content > a:before
{
	content:"» ";
	color:#404040;
}

#administration-content > a:first-child
{
	border-top:none;
}

#administration-content > a:hover
{
	background-color:rgba(255,255,255,0.5);
}
*/


/* <LOGIN> */
/*
.login-title
{
	margin-left:auto;
	margin-right:auto;
	width:175px;
	height:60px;
	background:url(../Images/timebase-logo-white.svg) center center no-repeat;
	background-size:contain;
}

.login-title-text
{
	text-align:center;
	font-size:1em;
	color:#fff;
	letter-spacing:1px;
}

.login-wrapper
{
	margin-top:20px;
	margin-left:auto;
	margin-right:auto;
	width:350px;
	background-color:#ebebeb;
	padding:20px;
}

.form-label
{
	color:#404040;
	margin-top:10px;
	font-size:0.813rem;
}

.login-wrapper .form-label
{
	font-size:1rem;
	margin-top:20px;
}

.form-label:first-child
{
	margin-top:0;
}

.form-label+input, .form-label+textarea
{
	width:100%;
	box-sizing:border-box;
	border:none;
	outline:none;
	background:rgba(96, 176, 185, 0.2);
	font-size:0.813rem;
	padding:0.5rem;
	color:#2695b6;
	font-family:arial, helvetica, sans-serif;
}

.form-label+textarea
{
	height:100px;
}

.login-wrapper .form-label+input
{
	background-color:#fff;
	font-size:1rem;
	padding:0.5rem;
}

.login-button
{
	margin-top:50px;
}

.login-button > button
{
	padding:1em;
	font-size:1em;
	font-family:inherit;
	background-color:#2695b6;
	color:#ffffff;
	font-weight:bold;
	width:100%;
	box-sizing:border-box;
	text-align:center;
	border-radius:3px;
	border:none;
}

.copytext
{
	background:url(../Images/timehouselogo2017w-reflection.svg) center center no-repeat;
	background-size:contain;
	height:60px;
	margin-top:60px;
	position:relative;
	animation: upDown 3s alternate infinite ease-in-out;
}

@keyframes upDown {
  to { transform: translatey(14px);}
}

.copytext:after
{
	content:"";
	display:block;
	position:absolute;
	top:30px;
	height:100px;
	border-top:1px solid rgba(255,255,255,0.08);
	left:-20px;
	right:-20px;
	background: -webkit-linear-gradient(180deg, rgba(30,134,164,0.25),rgba(30,134,164,0));
	background: -moz-linear-gradient(180deg, rgba(30,134,164,0.25),rgba(30,134,164,0));
	background: -o-linear-gradient(180deg, rgba(30,134,164,0.25),rgba(30,134,164,0));
	background: linear-gradient(180deg, rgba(30,134,164,0.25),rgba(30,134,164,0));
	background-color:rgba(255,255,255,0);
}
*/

.context-menu {
	display: none;
	position: absolute;
	left: 30px;
	right: 30px;
	width: 200px;
	padding: 10px 0px 10px 0px;
	border-radius: 10px;
	background: linear-gradient(180deg, #2695b6,#83c2ca);
	z-index: 50001;
	box-shadow: 0 20px 20px -20px rgba(0,0,0,0.2);
}

	.context-menu > .context-menu-pointer {
		position: absolute;
		top: -13px;
		height: 14px;
		width: 14px;
		left: 50%;
		margin-left: -7px;
		background: url(../Images/tb-context-menu-pointer.svg) center center no-repeat;
		background-size: contain;
	}

	.context-menu > .context-menu-content > a {
		display: block;
		color: #ffffff;
		padding: 10px;
		padding-left: 20px;
		padding-right: 20px;
		font-size: 0.813em;
		transition: all 0.3s ease-in-out;
	}

		.context-menu > .context-menu-content > a:hover {
			background-color: rgba(255,255,255,0.15);
			color: #fff;
			box-shadow: 0 10px 10px -3px rgba(0,0,0,0.06);
		}

		.context-menu > .context-menu-content > a:first-child {
			margin-top: 0;
		}

#main-content > div {
	display: none;
}

	#main-content > div.noscroll {
		overflow: hidden;
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		padding: 0;
	}

	#main-content > div > div.content {
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		padding: 0;
		box-sizing: border-box;
	}

	#main-content > div.noscroll > div.content {
		bottom: 80px;
	}

body.documentmode #main-content > #content-documentmode {
	display: block;
}

body.administrationmode #main-content > #content-administrationmode {
	display: block;
}



/* </LOGIN> */

/*

.table-container-100 > h3.table-title, .table-container-50 > h3.table-title, .table-container-33 > h3.table-title
{
	position:absolute;
	left:0;
	right:0;
	top:0;
	height:40px;
	font-size:1em;
	font-weight:normal;
	color:#404040;
	line-height:40px;
	box-sizing:border-box;
	margin:0;
	padding:0;
	padding-left:20px;
	padding-right:20px;
	color:#2695b6;
	box-shadow:inset 0 1px 0 0 #fff, inset 0 40px 40px -40px rgba(96, 176, 185, 0.1);
}*/

.table-container-100 > .actionbuttons, .table-container-50 > .actionbuttons, .table-container-33 > .actionbuttons {
	text-align: left;
}

	.table-container-100 > .actionbuttons > .actionbutton:first-child, .table-container-50 > .actionbuttons > .actionbutton:first-child, .table-container-33 > .actionbuttons > .actionbutton:first-child {
		margin-left: 0px;
	}

.table-container-100 > .table, .table-container-50 > .table, .table-container-33 > .table {
	position: absolute;
	left: 0;
	right: 0;
	top: 40px;
	bottom: 0;
	overflow: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.table-container-100.hasbuttons > .table, .table-container-50.hasbuttons > .table, .table-container-33.hasbuttons > .table {
	margin-bottom: 60px;
	padding-top: 10px;
	padding-bottom: 10px;
}

*/ .table-container-100 {
	position: relative;
}

.table-container-50 {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 50%;
	overflow: auto;
	box-sizing: border-box;
}

	.table-container-50:nth-child(2) {
		box-shadow: inset 0 1px 0 0 #fff, 0 -20px 20px -20px rgba(96, 176, 185, 0.2);
		position: absolute;
		top: 50%;
		overflow: auto;
		box-sizing: border-box;
	}

/*
table
{
	box-shadow:0 0 10px 0 rgba(0,0,0,0.1);
}

table tr
{
	background-color:#fff;
	cursor:pointer;
}

table tr:nth-child(even)
{
	background-color:#f0f0f0;
}

table tr:hover
{
	background: rgba(96, 176, 185, 0.1);
}

table tr.active
{
	background: rgba(96, 176, 185, 0.2);
}

table tr.active:hover
{
	background: rgba(96, 176, 185, 0.3);
}

table td, table th
{
	padding:5px;
	padding-left:10px;
	padding-right:10px;
	font-size:0.813rem;
	color:#404040;
	text-align:left;
}

table th
{
	font-weight:normal;
	font-size:0.813em;
	color:#a0a0a0;
	font-weight:normal;
	text-transform:uppercase;
	text-align:center;
	background-color:#404040;
	color:#fff;
}

table td.centered
{
	text-align:center;
}

.col-50
{
	width:50%;
	box-sizing:border-box;
	padding-right:10px;
	float:left;
}

.col-50:nth-child(2)
{
	padding-right:0px;
	padding-left:10px;
}
*/

.inactive {
	opacity: 0.5;
}

	.inactive:after {
		display: block;
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
	}



.column-header-top-right {
	position: absolute;
	right: 0;
	left: 245px;
	top: 0;
	bottom: 0;
	text-align: right;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	height: 60px;
}

.book-title {
	font-size: 20px;
}

.book-chapter-name {
	font-size: 20px;
	color: #2695b7;
}


.tp-article {
	padding: 20px;
}

.breadcrump-container {
	background-color: #60b0b9;
	position: absolute;
	left: 0;
	bottom: 0;
	height: 26px;
	right: 0;
	overflow: hidden;
}

	.breadcrump-container > .viewmodes {
		position: absolute;
		width: 99px;
		bottom: 0;
		height: 26px;
		right: 0;
	}

		.breadcrump-container > .viewmodes > li {
			display: block;
			float: right;
			width: 28px;
			height: 26px;
			position: relative;
			border-left: 1px solid #a5d3d8;
			background: #90c8ce;
			ebox-shadow: inset 0 -10px 10px -5px rgba(255,255,255,.3);
			transition: background 0.2s ease-in-out;
		}

			.breadcrump-container > .viewmodes > li:hover {
				background: #a5d3d8;
			}

			.breadcrump-container > .viewmodes > li:last-child {
				margin-left: 0;
			}

			.breadcrump-container > .viewmodes > li:after {
				display: block;
				content: "";
				position: absolute;
				top: 5px;
				left: 5px;
				right: 5px;
				bottom: 5px;
				background: url(../Images/we-ico-columns-1.svg) center center no-repeat;
				background-size: contain;
			}

			.breadcrump-container > .viewmodes > li.viewmode-comments.off:after {
				background-image: url(../Images/comment-off.png);
			}

			.breadcrump-container > .viewmodes > li.viewmode-comments:after {
				background-image: url(../Images/comment-on.png);
			}

			.breadcrump-container > .viewmodes > li.viewmode-columns.off:after {
				background-image: url(../Images/we-ico-columns-2.svg);
			}

			.breadcrump-container > .viewmodes > li.viewmode-fullscreen:after {
				background-image: url(../Images/we-ico-fullscreen-min.svg);
			}

			.breadcrump-container > .viewmodes > li.viewmode-fullscreen.off:after {
				background-image: url(../Images/we-ico-fullscreen-max.svg);
			}

			.breadcrump-container > .viewmodes > li.viewmode-move.off:after {
				background-image: url(../Images/we-ico-move.svg);
			}

			.breadcrump-container > .viewmodes > li.viewmode-move:after {
				background-image: url(../Images/we-ico-edit.svg);
			}

.breadcrump {
	padding-left: 20px;
	padding-right: 20px;
	line-height: 26px;
	color: #fff;
	position: absolute;
	left: 0;
	bottom: 0;
	height: 26px;
	right: 120px;
	overflow: hidden;
}

	.breadcrump li {
		float: left;
		display: block;
		padding-left: 15px;
		padding-right: 10px;
		margin-left: 0px;
		color: #fff;
		background-color: rgba(255,255,255,0.3);
		transition: background 0.2s ease-in-out;
		position: relative;
		font-size: 0.813rem;
	}


		.breadcrump li:nth-last-child(2) {
			border-top-right-radius: 5px;
			border-bottom-right-radius: 5px;
			box-shadow: 3px 0 7px -2px rgba(0,0,0,0.1);
		}

		.breadcrump li:not(.edit):after {
			content: "";
			display: block;
			position: absolute;
			left: 0;
			width: 5px;
			top: 0;
			bottom: 0;
			background-color: #90c8ce;
			transition: background 0.2s ease-in-out;
			border-top-right-radius: 5px;
			border-bottom-right-radius: 5px;
			box-shadow: inset -3px 0 6px -3px rgba(255,255,255,0.1), 3px 0 7px -2px rgba(43,126,135,0.75);

		}

		.breadcrump li.selected + li + li:after {
			background-color: #d0e7ea;
		}

		.breadcrump li.selected:after {
			box-shadow: 3px 0 7px -2px rgba(43,126,135,1);
		}

		.breadcrump li:first-child {
			padding-left: 19px;
		}

			.breadcrump li:first-child:after {
				display: none;
			}

		.breadcrump li.selected {
			background-color: rgba(255,255,255,0.7);
			color: #60b0b9;
			border-top-right-radius: 0px;
			border-bottom-right-radius: 0px;
			cursor: default;
		}

		.breadcrump li + li.edit {
			display: inline-block;
			width: 15px;
			line-height: 26px;
			text-align: center;
			margin-left: 0px;
			padding: 0;
			color: #60b0b9;
			font-weight: normal;
			font-size: 1.13rem;
		}

		.breadcrump li + li.edit {
			display: none;
		}

		.breadcrump li.selected + li.edit {
			background-color: rgba(255,255,255,0.7);
			display: inline-block;
		}


		.breadcrump li + li.edit:before {
			content: "▼";
			content: "+";
		}

		.breadcrump li + li.edit.hideDropDown:before {
			content: "";
		}

		.breadcrump li + li.edit:hover {
			color: #404040;
		}

		.breadcrump li:not(.edit):last-child {
			border-top-right-radius: 5px;
			border-bottom-right-radius: 5px;
		}

		.breadcrump li:not(.edit):not(.selected):hover {
			background-color: #404040;
		}

			.breadcrump li:not(.edit):not(.selected):hover + li + li:after {
				background-color: #404040;
			}

			.breadcrump li:not(.edit):not(.selected):hover + li.edit {
				background-color: #404040;
			}

			.breadcrump li:not(.edit):not(.selected):hover + li + li:after + li.edit {
				background-color: #404040;
			}

.actions-area {
	padding-left: 20px;
	padding-right: 20px;
	display: none;
}


	.actions-area.active {
		display: block;
	}

	.actions-area > .actions-segment,
	.actions-area > .preview-segment {
		margin-top: 20px;
	}

		.actions-area > .actions-segment:first-child {
			margin-top: 0px;
		}

.actions-segment .actionbutton-row {
	display: block;
	margin-top: 10px;
}

#editor-element > .actions-segment .elementSelectionContainer > div,
#editor-element > .actions-segment .elementSelectionContainer > div label {
	display: flex;
}

	#editor-element > .actions-segment .elementSelectionContainer > div label {
		margin-left: 10px;
		margin-right: 10px;
	}

		#editor-element > .actions-segment .elementSelectionContainer > div label > select {
			margin-left: 25px;
		}

		#editor-element > .actions-segment .elementSelectionContainer > div label > span {
			padding: 2px;
		}

		#editor-element > .actions-segment .elementSelectionContainer > div > *,
		#editor-element > .actions-segment .elementSelectionContainer > div label > * {
			flex: 1;
		}

label.labelrow,
.actions-area .labelrow {
	color: #2695b6;
	font-size: 0.813rem;
	margin-bottom: 5px;
}

label.labelrow,
#styleEditorFileSelect {
	display: block;
	margin: 1em;
}

.actionrow {
	padding: 10px;
	font-size: 0.813rem;
	border: 1px solid rgba(38,149,182,0.15);
	background-color: rgba(255,255,255,0.5);
	border-radius: 3px;
}

.documentmode input,
.documentmode select {
	box-sizing: border-box;
	padding: 2px;
}

.actionrow .inneractionrow {
	margin-top: 7.5px;
	margin-bottom: 7.5px;
}

.actionrow .inneractionrow-low {
	margin-top: 5px;
}

.actionrow .inneractionrow.specialrow {
	box-shadow: 0 -10px 10px -10px rgba(0,0,0,0.1);
	border-top: 1px solid rgba(0,0,0,0.1);
	margin-top: 20px;
	padding-top: 10px;
	text-align: right;
}

.actions-area .actionrow .inneractionrow.specialrow > .actionbutton:last-child {
	margin-right: 0;
}

#contexthelper {
	display: none;
	height: 0px;
	overflow: hidden;
	position: fixed;
	padding: 20px;
	padding-left: 50px;
	padding-top: 10px;
	padding-bottom: 10px;
	bottom: 0;
	left: 0;
	right: 500px;
	background-color: rgba(38,149,182,0.9);
	color: #fff;
	font-size: 0.813rem;
	opacity: 0;
	box-shadow: 0 -10px 10px -10px rgba(0,0,0,0.3);
}

	#contexthelper.active {
		overflow: visible;
		height: auto;
		display: block;
		opacity: 1;
		transition: all 0.5s ease-in-out;
	}


/*
.text-align > li {
	display: inline-block;
	width: 17px;
	height: 19px;
	position: relative;
	margin-right: 5px;
}
.text-align > li:hover {
	background-color: #fff;
}
.text-align > li.selected {
	background-color: #2695b6;
}
.text-align li:after {
	content: "";
	display: block;
	position: absolute;
	left: 2px;
	right: 2px;
	top: 2px;
	bottom: 2px;
	background: url(../Images/we-ico-align-left.svg) center center no-repeat;
	background-size: contain;
}
.text-align li.text-align-left:after {
	background-image: url(../Images/we-ico-align-left.svg);
}
.text-align li.text-align-left.selected:after {
	background-image: url(../Images/we-ico-align-left-selected.svg);
}
.text-align li.text-align-middle:after {
	background-image: url(../Images/we-ico-align-middle.svg);
}
.text-align li.text-align-middle.selected:after {
	background-image: url(../Images/we-ico-align-middle-selected.svg);
}
.text-align li.text-align-right:after {
	background-image: url(../Images/we-ico-align-right.svg);
}
.text-align li.text-align-right.selected:after {
	background-image: url(../Images/we-ico-align-right-selected.svg);
}
.text-align li.text-align-justify:after {
	background-image: url(../Images/we-ico-align-justify.svg);
}
.text-align li.text-align-justify.selected:after {
	background-image: url(../Images/we-ico-align-justify-selected.svg);
}
*/

.chapter-navi {
	display: inline-block;
	border-radius: 3px;
	background-color: rgba(255,255,255,0.5);
	text-align: center;
	background-color: #2695b6;
	color: #fff;
	cursor: pointer;
	vertical-align: baseline;
	height: 16px;
	line-height: 16px;
	width: 16px;
	overflow: hidden;
	transition: background-color 0.2s ease-in-out;
}

	.chapter-navi:hover {
		background-color: #404040;
	}

.chapter-prev:after {
	content: "‹";
}

.chapter-next:after {
	content: "›";
}

.chapter-next {
	margin-right: 5px;
	margin-left: 5px;
}

.chapter-list:after {
	display: block;
	position: absolute;
	left: 4px;
	right: 4px;
	top: 4px;
	bottom: 5px;
	content: "";
	border-bottom: 1px solid #fff;
	border-top: 1px solid #fff;
}

.chapter-list:before {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 4px;
	right: 4px;
	height: 1px;
	margin-top: -1px;
	background-color: #fff;
}

.chapter-list {
	margin-left: 5px;
	position: relative;
}

#context-panel {
	opacity: 0;
	box-sizing: border-box;
	position: fixed;
	left: 0;
	top: 0;
	display: block;
	background-color: #2695b6;
	border: 1px solid #2695b6;
	box-shadow: 6px 6px 35px 1px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255,255,255,0.6);
	padding: 3px;
	overflow: hidden;
	width: 0;
	height: 0;
	transition: none;
	border-radius: 3px;
	box-sizing: border-box;
}

	#context-panel.active {
		display: block;
		opacity: 1;
		width: 260px;
		height: auto;
		overflow: visible;
		transition: opacity 0.3s ease-in-out;
	}

		#context-panel.active.context-menu-wider {
			width: 340px;
		}

	#context-panel .context-panel-content {
		width: 100%;
		max-height: 500px;
		overflow-y: auto;
		overflow-x: hidden;
		box-sizing: border-box;
		font-size: 0.813em;
	}

	#context-panel > .context-panel-inner {
		/*display: block;
		position: absolute;
		left: 1px;
		top: 1px;
		right: 1px;
		bottom: 1px;
		overflow: auto;
		padding: 10px;
		background-color: #fff;
		border-radius: 3px;*/
		position: relative;
		width: 100%;
		height: 100%;
		padding: 1px;
		/*left: -1px;
		top: -1px;*/
		border-radius: 3px;
		box-sizing: border-box;
	}
/**contextmenun dropdown*/
.dropdown-content {
	position: absolute;
	background-color: #fff;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	border: 4px solid #2695b6;
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
	padding: 0px;
	border-radius: 3px;
	left: 50px;
	max-height: 500px;
	overflow-y: auto;
	white-space: nowrap;
}

.dropdown-content-hidden > .dropdown-content {
	display: none;
}

#context-panel .addBefore:before, #context-panel .addAfter:before {
	display: block;
	content: "";
	position: absolute;
	left: 45px;
	margin-top: 15px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 10px 10px 10px;
	border-color: transparent transparent #2694b6 transparent;
	transform: rotate(-45deg);
	z-index: 2;
}

#context-panel .dropdown-content-hidden.addBefore:before, #context-panel .dropdown-content-hidden.addAfter:before {
	display: none;
}

#context-panel li {
	color: black;
	text-decoration: none;
	display: block;
	padding: 5px;
}

#context-panel .dropdown-content li {
	padding: 5px;
	padding-left: 10px;
	padding-right: 10px;
}

#context-panel li:hover {
	background-color: #ddd;
}

#context-panel li.hasChildren::before {
	content: '+ ';
	font-weight: 600;
}

#context-panel:after {
	display: block;
	content: "";
	position: absolute;
	top: -10px;
	height: 10px;
	width: 20px;
	left: 50%;
	margin-left: -10px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 10px 10px 10px;
	border-color: transparent transparent #2695b6 transparent;
}

#context-panel.postop {
	box-shadow: 6px -6px 5px 1px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255,255,255,0.6);
}

	#context-panel.postop:after {
		top: auto;
		bottom: -10px;
		border-width: 10px 10px 0 10px;
		border-color: #2695b6 transparent transparent transparent;
	}

#context-panel.posleft:after {
	left: 0;
	margin-left: 0;
}

#context-panel.posright:after {
	left: auto;
	right: 0;
	margin-left: 0;
}

.customScroll {
	background: linear-gradient(white 30%, rgba(255,255,255,0)), linear-gradient(rgba(255,255,255,0), white 70%) 0 100%, radial-gradient(50% 0, farthest-side, rgba(0,0,0,.2), rgba(0,0,0,0)), radial-gradient(50% 100%,farthest-side, rgba(0,0,0,.2), rgba(0,0,0,0)) 0 100%;
	background: linear-gradient(white 30%, rgba(255,255,255,0)), linear-gradient(rgba(255,255,255,0), white 70%) 0 100%, radial-gradient(farthest-side at 50% 0, rgba(0,0,0,.2), rgba(0,0,0,0)), radial-gradient(farthest-side at 50% 100%, rgba(0,0,0,.2), rgba(0,0,0,0)) 0 100%;
	background-repeat: no-repeat;
	background-color: white;
	background-size: 100% 30px, 100% 30px, 100% 7px, 100% 7px;
	background-attachment: local, local, scroll, scroll;
}

	.customScroll::-webkit-scrollbar {
		width: 10px;
	}

	.customScroll::-webkit-scrollbar-track {
		/*background-color:#e3e3e3;
	border-radius:2px;*/
		background-color: rgba(38, 149, 182, 0.15);
		width: 12px;
	}

	.customScroll::-webkit-scrollbar-thumb {
		/*background-color: #c3c3c3;
	border-radius:2px;*/
		background: rgba(38, 149, 182, 0.28);
		border-radius: 5px;
	}




body.webeditor-files .column-left, body.webeditor-files .column-right, body.webeditor-files .tab-target.menu-tabs {
	top: 105px;
}

body.webeditor-files .column-header {
	background-color: rgba(38,149,182,0.06);
	height: 85px;
	eborder-bottom: 1px solid #d8d8d8 !important;
}

#editor-tabs.tabs-container {
	-ms-flex-align: left;
	justify-content: left;
	margin-left:-15px;
}

body.webeditor-files .main-functions a#logout:after {
	content: "Kirjaudu ulos";
}

body.webeditor-files .main-functions a#profile:after {
	/* content: "Profiili"; */
}

body.webeditor-files .actions-area.active {
	padding-top: 20px;
}

body.webeditor-files .breadcrump-container {
	top: 0;
	bottom: auto;
}

.tp-browser {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0px;
	left: 0;
	padding: 40px;
	padding-left: 0;
	padding-right: 0;
}

	.tp-browser ul.tb-tree {
		margin-top: 27px;
		/*margin-right: 500px;*/
	}


.treeHoverHighlight {
	background: rgba(38,149,182,0.15);
}

.file-browser-properties,
.sidebar-controls {
	position: fixed;
	right: 0;
	top: 105px;
	bottom: 0;
	overflow: auto;
	width: 499px;
	background-color: #e3e3e3;
}

ul.writerAccessList,
ul.chapterlist {
	max-height: 205px;
	overflow: auto;
}
/*tiedostolistan tiedoston poisto ikoni */
.FileObjectLinkArea a.removeFile.delete,
/*chapterlistan chapterin poisto ikoni */
body.edit-chapter-structure ul.chapterlist li a.delete {
	float: right;
	height: 12px;
	background-size: contain;
	width: 12px;
	background-image: url(../Images/delete_can.png);
	cursor: pointer;
	display: inline-block;
	margin-left: 0.5em;
}

li.FileObjectLinkArea div a.removeFile.delete {
	float: none;
}

ul.writerAccessList li:not(.disabled),
ul.chapterlist li:not(.disabled) {
	cursor: pointer;
}

ul.chapterlist li.external {
	cursor: default;
}

ul.writerAccessList li,
ul.chapterlist li {
	position: relative;
	/*
	margin-left:15px;
	padding-left:5px;
	*/
	font-size: 0.813rem;
	height: 1em;
	line-height: 1em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 10px;
	background-color: rgba(0,0,0,0.08);
	border-top: 1px solid rgba(255,255,255,0.8);
	color: #2695b7;
	position: relative;
	padding-right: 30px;
	transition: all 0.2s ease-in-out;
}

	ul.writerAccessList li:hover,
	ul.chapterlist li:hover {
		background-color: #fff;
	}

	ul.writerAccessList li:first-child,
	ul.chapterlist li:first-child {
		border-top: none;
	}

	ul.chapterlist li:not(.external):after {
		display: block;
		position: absolute;
		right: 0;
		top: 10px;
		bottom: 10px;
		width: 30px;
		text-align: center;
		content: "»";
		line-height: 1em;
		opacity: 0;
		transition: all 0.2s ease-in-out;
	}

	ul.chapterlist li:hover:after {
		opacity: 1;
	}


ul.writerAccessList li {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

	ul.writerAccessList li span {
		flex: 1;
	}

ul.chapterlist li:not(.InEditMode) span[data-lock] {
	display: block;
	background-image: url(../Images/lock_closed.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right;
}

ul.chapterlist > li > span.data-external-document-icon {
	display: inline-block;
	background-image: url(../Images/chapter_external.png);
	background-repeat: no-repeat;
	background-size: contain;
	width: 12px;
	height: 12px;
	float: right;
}


ul.writerAccessList li {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.commentbox {
	width: 100%;
	box-sizing: border-box;
	height: 200px;
}

ul.comment-list {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: block;
}

	ul.comment-list > li {
		background-color: #2695b7;
		margin-top: 20px;
		border-radius: 3px;
		box-shadow: 0 8px 4px -4px rgba(0,0,0,0.06);
	}

		ul.comment-list > li.comment-linked {
			margin-left: 30px;
			position: relative;
			margin-top: 10px;
		}

			/*
ul.comment-list > li.comment-linked:before
{
	content:"";
	display:block;
	position:absolute;
	left:50%;
	height:10px;
	top:-10px;
	ebackground-color:#2695b7;
	width:1px;
	border-left:2px solid #fff;
	
}
*/

			ul.comment-list > li.comment-linked:before {
				content: "";
				display: block;
				position: absolute;
				left: 30px;
				top: -15px;
				width: 0;
				height: 0;
				border-style: solid;
				border-width: 0 5px 15px 5px;
				border-color: transparent transparent #007bff transparent;
			}

		ul.comment-list > li:first-child {
			margin-top: 0;
		}

		ul.comment-list > li > .comment-header {
			color: #fff;
			padding: 10px;
			padding-top: 5px;
			padding-bottom: 5px;
			overflow: hidden;
			border-radius: 3px;
		}

.comment-commentorname {
	float: left;
}

.comment-commentdate {
	float: right;
}

.comment-commentpath {
	background-color: #eaeaea;
	padding: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

	.comment-commentpath > a > span:before {
		content: " » ";
		color: #c0c0c0;
	}

	.comment-commentpath > a > span:first-child:before {
		content: "";
	}

ul.comment-list > li > .comment-commenttext {
	padding: 10px;
	background-color: #ffffff;
	color: #404040;
}

.comment-commentactions {
	text-align: right;
	background-color: #fff;
	overflow: hidden;
}


.actionbutton.smallbutton {
	height: 24px;
	line-height: 24px;
	padding-left: 10px;
	padding-right: 10px;
	margin: 10px;
	margin-top: 0;
}

.smallbutton.ico {
	padding-left: 31px;
}

.actionbutton.smallbutton.ico:after {
	top: 5px;
	left: 5px;
	bottom: 4px;
	width: 14px;
}

.color01 > .comment-header {
	background-color: #cc5285;
}

.color02 > .comment-header {
	background-color: #31729f;
}

.color03 > .comment-header {
	background-color: #2e9986;
}

.color04 > .comment-header {
	background-color: #ef6b31;
}

ul.comment-list > li.comment-linked.color01:before {
	border-color: transparent transparent #cc5285 transparent;
}

ul.comment-list > li.comment-linked.color02:before {
	border-color: transparent transparent #31729f transparent;
}

ul.comment-list > li.comment-linked.color03:before {
	border-color: transparent transparent #2e9986 transparent;
}

ul.comment-list > li.comment-linked:before {
	content: "";
	display: block;
	position: absolute;
	left: 30px;
	top: -15px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 5px 15px 5px;
	border-color: transparent transparent #007bff transparent;
}

.edit-chapter-structure #book-edit-chapters > .actionrow {
	border: 1px solid #ff0000;
}

.chapter-edit-active {
	display: none;
}

.edit-chapter-structure .chapter-edit-active {
	display: block;
}

.chapter-edit-activated, .action-row-infobox {
	background-color: rgba(38,149,182,0.15);
	color: #404040;
	padding: 10px;
	padding-left: 50px;
	position: relative;
}

	.edit-chapter-structure .chapter-edit-activated:after, #contexthelper:after, .action-row-infobox:after {
		content: "!";
		display: block;
		position: absolute;
		height: 26px;
		width: 26px;
		top: 50%;
		color: #fff;
		margin-top: -13px;
		left: 10px;
		text-align: center;
		font-size: 24px;
		line-height: 26px;
		background-color: rgba(38,149,182,1);
		border-radius: 100px;
	}



#contexthelper:after {
	background-color: #fff;
	color: rgba(38,149,182,1);
}

.edit-chapter-structure .inneractionrow-low.activate-chapter-edit {
	display: none !important;
}

.edit-chapter-structure ul.chapterlist li {
	cursor: move;
}

	.edit-chapter-structure ul.chapterlist li:after {
		display: none;
	}

#StyleEditorDialog {
	background-color: rgba(38,149,182,0.06);
	position:absolute;
	top:0;
	left:0px;
	right:0;
	bottom:0
}
#styleEditorTextarea {
	box-sizing:border-box;
	position: absolute;
	top: 0;
	left: 18px;
	
	bottom: 0;
	display:block;
	width: calc(100% - 557px);
	font-family: monospace;
	
	eheight: 700px;
	background: #fff;
	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
	border-radius: 0px !important;
	outline:none !important;
}

/*Teoksen tai kansion perustiedot (tiedot-välilehti)*/
div#file-browser-properties-info-book div.inneractionrow:not(:last-child),
div#file-browser-properties-info-folder div.inneractionrow {
	display: flex;
	flex-direction: row;
}

#file-browser-properties-info .chapter-edit-active {
	text-align: right;
}

div#file-browser-properties-info input,
div#file-browser-properties-info select {
	padding: 2px;
	box-sizing: border-box;
}

div#file-browser-properties-info div.inneractionrow > * {
	margin: auto;
	flex: 1;
	box-sizing: border-box;
}

div#file-browser-properties-info div.inneractionrow > span > input[type=checkbox] {
	margin: 0;
}

div#file-browser-properties-info-book div.inneractionrow:last-child > section {
	display: flex;
	flex-direction: row;
	margin-top: 7.5px;
	margin-bottom: 7.5px;
}

	div#file-browser-properties-info-book #modifyBookDialogType,
	div#file-browser-properties-info-book div.inneractionrow:last-child > section > input {
		flex: 1;
		margin: auto;
	}

	div#file-browser-properties-info-book label[for="modifyBookDialogType"],
	div#file-browser-properties-info-book div.inneractionrow:last-child > section > label {
		flex: 1;
		margin: auto;
	}

div#file-browser-properties-info-book span {
	font-weight: 600;
	flex: 1;
}


div.select-color-wrapper {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 0;
	flex: 1 1% !important;
}

	div.select-color-wrapper > select {
		flex: 1 90%;
		margin: 0;
	}

.highlightColorPreviewBox {
	flex: 1 10% !important;
	position: relative;
	border: 1px solid #2695b6;
	border-radius: 3px;
	margin: 0;
	margin-left: 5px;
}

.booklist-highlight-color {
	display: inline-block;
	margin-left: 5px;
	width: 10px;
	top: 1px;
	position: relative;
	height: 10px;
	border-radius: 3px;
	border: 1px solid #2695b6;
}

/*eof ~ tiedot-välilehti */


/*Kansion editoinnin painikkeet*/
.flex-button-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

	.flex-button-container > button {
		flex: 1 33%;
		margin-bottom: 0.5em;
		margin-top: 0.5em;
	}
/*-----------Kansion editoinnin painikkeet*/

.hidden {
	display: none;
}

#file-browser-properties-info input[disabled],
#file-browser-properties-info select[disabled] {
	cursor: not-allowed;
}

#edit-overlay {
	position: fixed; /* Sit on top of the page content */
	display: none; /* Hidden by default */
	width: 100%; /* Full width (cover the whole page) */
	height: 100%; /* Full height (cover the whole page) */
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.5); /* Black background with opacity */
	z-index: 1; /* Specify a stack order in case you're using a different order for other elements */
}


span.namePlaceholder {
	width: 100px;
	height: 10px;
	border: 1px solid #60b0b9;
	background: rgba(96,176,185, 0.5);
	border-radius: 2px;
	display: block;
}

/* Julkaisu välilehti */
div#file-browser-properties-book-publish div.inneractionrow {
	display: flex;
	box-sizing: border-box;
	flex-direction: row;
}

	div#file-browser-properties-book-publish div.inneractionrow > * {
		margin: auto;
		flex: 1;
	}

	div#file-browser-properties-book-publish div.inneractionrow label[for="footnotesByChapter"] {
		flex: 3;
		margin: auto;
	}

	div#file-browser-properties-book-publish div.inneractionrow [id="modifyBookHasIncomingLinks"],
	div#file-browser-properties-book-publish div.inneractionrow [name="footnotesByChapter"],
	div#file-browser-properties-book-publish div.inneractionrow [id="publishAudioBook"] {
		flex: none;
		margin: auto;
	}

div#file-browser-properties-book-publish #DoPublishDialog-preview > div,
div#file-browser-properties-book-publish #EpubContainer > div {
	display: flex;
	box-sizing: border-box;
	flex-direction: row;
	justify-content: space-between;
}

	div#file-browser-properties-book-publish #DoPublishDialog-preview > div > *,
	div#file-browser-properties-book-publish #EpubContainer > div > * {
		flex: 1;
		margin: 3px;
	}

div#file-browser-properties-book-publish .previewlink-inputs > div > * {
	flex: 1;
	margin: 3px;
}
/*~Julkaisu välilehti */


/*Lukko symbolit teoslistalla | myös lukkolistalla dokumenttien lukot */
*[data-lock] > div > span.lock-icon {
	content: '';
	/*position: absolute;*/
	background-image: url(../Images/lock_closed.png);
	background-repeat: no-repeat;
	/* top: 0; */
	background-size: contain;
	width: 10px;
	height: 13px;
	display: inline-block;
}

span.lock-icon {
	margin-left: 5px;
}
/*~ Lukko symbolit teoslistalla */

#file-controls-input {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

#document-controls-input {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

/*Asiasanasto muotoilut */

table.subjectHeadingCandidates > tr > td > p {
	padding: .4em;
	margin: 0;
}

	table.subjectHeadingCandidates > tr > td > p:first-child {
		font-weight: bold;
	}

#subjectHeadingsDialog {
	width: 820px !important;
	height: 540px !important;
}

#subjectHeadingsList {
	max-width: 225px;
}

	#subjectHeadingsList a {
		text-decoration: none;
	}

	#subjectHeadingsList div.active {
		background-color: #F0F0F0;
	}

	#subjectHeadingsList div.jumptarget {
	}

#subjectHeadingsLinks {
	max-height: 250px;
	overflow: auto;
	padding-right: 15px; /*scrollbar*/
}

.indexedWord {
	font-weight: bold;
}

	.indexedWord:empty::before {
		content: "|";
		font-weight: bold;
	}

table.subjectHeadingSamples, table.subjectHeadingCandidates {
	width: 100%;
}

	table.subjectHeadingSamples tr.odd, table.subjectHeadingCandidates tr.odd {
		background-color: #F3F3F3;
	}


/*....asiasanaston muotoilut*/



/* Automaattisesti piiloon menevä ilmoitus dialogi - formerly known as pomppuboksi */
#notification {
	display: none;
	position: fixed;
	top: 0px;
	height: 58px;
	width: auto;
	left: 0px;
	right: 0px;
	background-color: #60B0B9;
	overflow: hidden;
	/*box-shadow:0 1px 0 0px rgba(38, 149, 182, 0.1), inset 0 -30px 30px -30px #e9f1f5;*/
	border: 1px solid rgba(38, 149, 182, 0.30);
	z-index: 11000;
}

	#notification .notification-text {
		padding-left: 5px;
		padding-right: 5px;
		color: #fff;
		text-align: center;
		font-size: 2.5em;
		line-height: 58px;
	}
/* .....Automaattisesti piiloon menevä ilmoitus dialogi - formerly known as pomppuboksi */

/* käyttäjän tiedot-dialogi */
table#us-editor-tabs {
	width: 100%;
}

	table#us-editor-tabs th {
		text-align: left;
	}

#UserInfoDialog > fieldset {
	margin-top: 1em;
}

	#UserInfoDialog > fieldset legend {
		font-weight: 600;
	}
	/**salasanan vaihto*/
	#UserInfoDialog > fieldset:first-child label {
		display: flex;
	}

		#UserInfoDialog > fieldset:first-child label > * {
			flex: 1;
		}
/*...................käyttäjän tiedot-dialogi */

#ChapterAddDialog label {
	display: flex;
}

	#ChapterAddDialog label > * {
		flex: 1;
	}

#ChapterAddDialog {
	line-height: 1em;
}

	#ChapterAddDialog label {
		line-height: 2em;
		box-sizing: border-box;
	}


#bookEditActionsSegmentDiv .hide-folder > .inneractionrow {
	display: flex;
}

	#bookEditActionsSegmentDiv .hide-folder > .inneractionrow button {
		flex: 1;
	}

/*lataus dialogi uusi*/
#ajax-loader {
	z-index: 1000;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(240,240,240,0.65);
}

	#ajax-loader > div {
		text-align: center;
		position: absolute;
		width: 15em;
		left: calc(50% - 7.5em);
		top: calc(45% - 5em);
		background: #fff;
		border-radius: 4px;
		box-shadow: 0 0 50px 0 rgba(0,0,0,0.13);
	}

	#ajax-loader p {
		font-weight: 600;
		font-size: 110%;
	}

		#ajax-loader p.loading-ani:after {
			text-transform: uppercase;
			font-weight: normal;
			content: "Odota hetki...";
		}

.pulsate {
	-webkit-animation: pulsate 2s ease-out;
	-webkit-animation-iteration-count: 1;
	opacity: 1;
	color: rgba(38,149,182,1);
}

@-webkit-keyframes pulsate {
	0% {
		opacity: 0;
	}

	25% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@-webkit-keyframes pulsate2 {
	0% {
		opacity: 0;
	}

	50% {
		opacity: 0.5;
	}

	100% {
		opacity: 0;
	}
}


.spinner {
	position: relative;
	height: 80px;
	width: 80px;
	margin: 2em auto;
	z-index: 1001;
	-webkit-animation: rotation 1.5s infinite linear;
	-moz-animation: rotation 1.5s infinite linear;
	-o-animation: rotation 1.5s infinite linear;
	animation: rotation 1.5s infinite linear;
	border-left: 10px solid rgba(38,149,182,0.5);
	border-right: 10px solid rgba(38,149,182,0.5);
	border-bottom: 10px solid rgba(38,149,182,0.5);
	border-top: 10px solid rgba(38,149,182, 0.2);
	border-radius: 100%;
}

	.spinner:after {
		opacity: 1;
		display: block;
		content: "";
		position: absolute;
		left: 15px;
		right: 15px;
		top: 15px;
		bottom: 15px;
		border-left: 10px solid rgba(38,149,182,0.3);
		border-right: 10px solid rgba(38,149,182,0.3);
		border-top: 10px solid rgba(38,149,182,0.3);
		border-bottom: 10px solid rgba(38,149,182,1);
		border-radius: 100%;
		-webkit-animation: rotation 1.5s infinite linear;
		-moz-animation: rotation 1.5s infinite linear;
		-o-animation: rotation 1.5s infinite linear;
		animation: rotation 1.5s infinite linear;
	}



@-webkit-keyframes rotation {
	from {
		-webkit-transform: rotate(0deg);
	}

	to {
		-webkit-transform: rotate(359deg);
	}
}

@-moz-keyframes rotation {
	from {
		-moz-transform: rotate(0deg);
	}

	to {
		-moz-transform: rotate(359deg);
	}
}

@-o-keyframes rotation {
	from {
		-o-transform: rotate(0deg);
	}

	to {
		-o-transform: rotate(359deg);
	}
}

@keyframes rotation {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(359deg);
	}
}
/*~ eof lataus dialogi uusi*/
/*18.3.2019 Kirjan sisäiset kansiot*/
.edit-chapter-structure .tb-tree .selected {
	box-shadow: 0 0 15px 0 rgba(0,0,0,0.3);
	background-color: rgba(38,149,182,0.03);
	padding-top: 0px;
	padding-bottom: 0px;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 0px;
	margin-right: 0px;
}

	.edit-chapter-structure .tb-tree .selected li {
		cursor: grab;
	}

	.edit-chapter-structure .tb-tree .selected > div:first-child {
		padding-top: 7px;
		padding-bottom: 5px;
		background-color: rgba(38,149,182,0.3);
	}

	.edit-chapter-structure .tb-tree .selected li > div {
		padding-top: 7px !important;
		padding-bottom: 5px !important;
		box-shadow: inset 0 1px 0 0px rgba(38,149,182,0.3), inset 0 2px 0px 0px #fff, inset 0 -15px 45px -15px rgba(38,149,182,0.3);
		transition: box-shadow 0.3s ease-in-out;
		position: relative;
	}

		.edit-chapter-structure .tb-tree .selected li > div:hover {
			box-shadow: inset 0 1px 0 0px rgba(38,149,182,0.3), inset 0 2px 0px 0px #fff, inset 0 -15px 45px -15px rgba(38,149,182,0.55);
		}

		.edit-chapter-structure .tb-tree .selected li > div:before, .edit-order-add:before {
			/*
			TODO: Raahaustoiminto: Uusi chapter tai chapterList rakenteeseen oikeaan kohtaan raahaamalla
			position: absolute;
			content: "";
			display: block;
			top: 0;
			left: 3px;
			width: 11px;
			bottom: 0;
			background: url(../Images/tb-ico-draggable.svg) center center no-repeat;
			background-size: contain;
			*/
		}

.edit-chapter-structure-panel, .edit-chapter-structure-header {
	display: none;
}

.edit-chapter-structure ul.tb-tree li.selected > div.edit-chapter-structure-panel {
	display: block;
	background-color: #f2f9fb;
	background-color: #f3f9fb;
	padding: 10px;
	padding-left: 20px;
	padding-right: 20px;
	color: #fff;
	box-shadow: inset 0 -1px 0px 0px rgba(38,149,182,1), inset 0 1px 0px 0px rgba(38,149,182,0.5);
}

.edit-chapter-structure ul.tb-tree li.selected > div.edit-chapter-structure-header {
	display: block;
	background-color: rgba(38,149,182,1);
	color: #fff;
	padding: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
	font-size: 0.813rem;
}

/* Teoksen chapter/chapterList -rakennetta muokattaessa, estetään karkaaminen editointitilasta... */
.edit-chapter-structure li.tab-item,
.edit-chapter-structure div.main-functions,
.edit-chapter-structure div.breadcrump-container,
.edit-chapter-structure .tp-browser li[data-target-type] {
	pointer-events: none;
	/*cursor: not-allowed;*/
}
/* ...mutta sallitaan muokattavan alueen toimet. */
.edit-chapter-structure li[data-target-type].opened.selected > ul *,
.edit-chapter-structure .edit-chapter-structure-panel * {
	pointer-events: auto;
	/*cursor: auto;*/
}
/* Näytetään editoitaessa tyhjille chapterList -elementeille korkeutta, että niihin voisi pudottaa tavaraa */
body.edit-chapter-structure li[data-target-type="chapterList"] > ul:empty.chapterList {
	min-height: 30px;
	box-shadow: inset 0px 1px 0px 0px rgba(38,149,182,0.3), inset 0px 2px 0px 0px #fff, inset 0px -15px 45px -15px rgba(38,149,182,0.3);
}

.edit-order-add {
	background-color: #fff;
	color: #000;
	width: 200px;
	padding: 10px;
	padding-left: 14px;
	position: relative;
	border: 1px solid rgba(38,149,182,0.15);
	box-shadow: inset 0 1px 0 0px rgba(38,149,182,0.3), inset 0 2px 0px 0px #fff, inset 0 -15px 45px -15px rgba(38,149,182,0.35);
	border-radius: 3px;
	color: #2695b6;
	cursor: grab;
	transition: box-shadow 0.4s ease-in-out;
}

	.edit-order-add:hover {
		transition: box-shadow 0.2s ease-in-out;
		box-shadow: inset 0 1px 0 0px rgba(38,149,182,0.3), inset 0 2px 0px 0px #fff, inset 0 -15px 45px -15px rgba(38,149,182,0.7);
	}

	.edit-order-add.add-chapter:after {
		content: "Lisää kappale";
	}

	.edit-order-add.add-folder:after {
		content: "Lisää kansio";
	}





/* TOC */

.tp-article {
	margin-left: 10px;
}

.tp-toc-container {
	position: fixed;
	left: 0;
	top: 100px;
	bottom: 0;
	width: 20px;
	transition: width 0.2s ease;
	overflow: visible;
}

	.tp-toc-container:hover {
		width: 310px;
		transition: width 0.5s ease;
	}

.tp-toc {
	position: absolute;
	left: 0;
	top: 0px;
	bottom: 0;
	right: 10px;
	background-color: #ebebeb;
	transition: box-shadow 0.2s ease;
	opacity: 1;
	border-top-right-radius: 5px;
	box-shadow: 0px 0 0px 0px rgba(0,0,0,0);
	overflow: hidden;
}

	.tp-toc ul {
		overflow: hidden;
		width: 280px;
		box-sizing: border-box;
	}


.tp-toc-container:hover > .tp-toc:before {
	padding: 20px;
	transition: opacity 0.5s ease;
	content: "Teoksen rakenne";
	display: block;
	color: #2695b6;
	font-size: 0.813em;
	text-transform: uppercase;
	overflow: hidden;
	width: 280px;
	box-sizing: border-box;
}

.tp-toc-container:hover > .tp-toc:before {
	opacity: 1;
}

.tp-toc:after {
	position: absolute;
	content: "";
	display: block;
	top: 50%;
	right: 1px;
	width: 8px;
	height: 20px;
	margin-top: -10px;
	background: #f4f4f4 url(../pics/tb-ico-draggable.svg) center center no-repeat;
	background-size: contain;
}

.tp-toc-container:hover > .tp-toc {
	overflow: auto;
	box-shadow: 0px 0 30px 0px rgba(0,0,0,0.35);
	transition: box-shadow 0.5s ease;
}


.tp-toc ul {
	white-space: nowrap;
	padding: 0;
	list-style-type: none;
	margin: 0;
	padding-left: 20px;
	font-size: 0.95em;
	font-weight: normal;
}

	.tp-toc ul:first-child {
		opacity: 0;
		transition: opacity: 0.5s ease;
		font-size: 1rem;
	}

.tp-toc-container:hover > .tp-toc ul:first-child {
	opacity: 1;
}

.tp-toc li {
	cursor: pointer;
	margin-bottom: 1px;
}

	.tp-toc li.topMost {
		color: red;
	}

	.tp-toc li > div {
		transition: color 0.3s ease-in-out;
	}

		.tp-toc li > div:hover {
			color: #2695b6;
		}

		.tp-toc li > div:empty:after {
			color: #d80000;
			content: "Taso puuttuu"
		}


.tp-toc-item-h1 {
}

.tp-toc-item-h2 {
	margin-left: 1em;
}

.tp-toc-item-h3 {
	margin-left: 2em;
}

.tp-toc-item-h4 {
	margin-left: 3em;
}

.tp-toc-item-h5 {
	margin-left: 4em;
}

.tp-toc-item-h6 {
	margin-left: 5em;
}

.tp-toc-item-h7 {
	margin-left: 6em;
}





/*metasuodatus*/
/*Mukaan myös .action-row-infobox ja .action-row-infobox:after*/
ul.metaselect {
	max-height: 450px;
}

	ul.metaselect li {
		height: auto !important;
	}

		ul.metaselect li > div {
			display: none;
		}

		ul.metaselect li.selected > div {
			display: block;
			margin-top: 0.5em;
			position: relative;
		}

		ul.metaselect li > div > input {
			background-color: #fff;
			width: 100%;
			border: none;
			box-sizing: border-box;
			padding: 5px;
			padding-right: 30px;
			border: none;
		}



		ul.metaselect li.selected > div > input + button {
			position: absolute;
			display: block;
			right: 5px;
			width: 17px;
			height: 17px;
			line-height: 17px;
			font-size: 12px;
			text-align: center;
			padding: 0;
			top: 50%;
			margin-top: -8px;
			color: #fff;
			border: 1px solid rgba(38,149,182,0.5);
			border-radius: 3px;
			background: rgba(38,149,182,1);
			font-weight: bold;
			cursor: pointer;
		}



			ul.metaselect li.selected > div > input + button:after {
				content: "x";
			}

ul.elementlist.metaselect li:before {
	top: calc(0.5em + 10px);
}

ul.elementlist.metaselect li.selected:after {
	top: calc(0.5em + 10px);
}

.meta-filter-active ul.tb-tree li.type-document.selected li, .meta-filter-active ul.tb-tree li.type-document.selected li > ul, .meta-filter-active ul.tb-tree li.type-document.selected > div > a.expand, .meta-filter-container {
	display: none;
}

.meta-filter-active ul.tb-tree li.type-document.selected .meta-filter-container {
	display: block;
	max-width: 100%;
	overflow: auto;
	padding-top: 0px;
	padding-bottom: 0px;
	background-color: #f3f9fb;
}

.meta-filter-active ul.tb-tree li.type-document.selected {
	box-shadow: 0 0 15px 0 rgba(0,0,0,0.3);
	background-color: rgba(38,149,182,0.03);
	padding-top: 0px;
	padding-bottom: 0px;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 0px;
	margin-right: 0px;
}

	.meta-filter-active ul.tb-tree li.type-document.selected > div:first-child {
		padding-left: 20px !important;
		padding-top: 35px;
		padding-bottom: 5px;
	}

		.meta-filter-active ul.tb-tree li.type-document.selected > div:first-child:before {
			display: block;
			position: absolute;
			left: 0;
			right: 0;
			top: 0;
			height: 30px;
			line-height: 30px;
			color: #fff;
			padding-left: 20px;
			font-size: 0.813rem;
			content: "Metatiedot";
			background: rgba(38,149,182,1);
		}

.meta-filter-container {
	font-size: 0.813rem;
	padding-left: 20px !important;
}

.meta-filter-table-container {
}






.meta-filter-table-container-container {
	position: relative;
	width: 100%;
}

.meta-filter-table-container {
	clear: both;
	border: 1px solid rgba(255,255,255,0.001);
	max-height: 450px;
	padding-top: 1.875em;
	overflow: auto;
	width: calc(100% - 20px);
	box-sizing: border-box;
}

	.meta-filter-table-container > div.table-header {
		position: absolute;
		top: 0;
		width: 0px;
		background-color: #a0a0a0;
	}

		.meta-filter-table-container > div.table-header > span {
			float: left;
			display: block;
			width: 12.5%;
			padding: 7px;
			padding-left: 5px;
			padding-right: 5px;
			box-sizing: border-box;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
			text-transform: uppercase;
			color: #fff;
		}

	.meta-filter-table-container > div.table-body {
		margin-top: 4px;
	}

		.meta-filter-table-container > div.table-body > div {
			overflow: hidden;
		}

			.meta-filter-table-container > div.table-body > div > span {
				float: left;
				display: block;
				width: 12.5%;
				padding: 7px;
				padding-left: 5px;
				padding-right: 5px;
				box-sizing: border-box;
				white-space: nowrap;
				overflow: hidden;
				text-overflow: ellipsis;
				box-shadow: inset 1px 0 0 0 rgba(0,0,0,0.15);
				background-color: #f0f0f0;
			}


				.meta-filter-table-container > div.table-body > div > span:first-child {
					box-shadow: none;
				}

			.meta-filter-table-container > div.table-body > div:nth-child(even) > span {
				background-color: #ffffff;
			}




			.meta-filter-table-container > div.table-body > div:hover > span {
				background-color: #d8edf2;
			}

		.meta-filter-table-container > div.table-body > div {
			box-shadow: inset 0 1px 0px 0px rgba(38,149,182,0.05);
		}

			.meta-filter-table-container > div.table-header > span:first-child:nth-last-child(1), .meta-filter-table-container > div.table-body > div > span:first-child:nth-last-child(1) {
				width: 100%;
			}

			.meta-filter-table-container > div.table-header > span:first-child:nth-last-child(2), .meta-filter-table-container > div.table-header > span:first-child:nth-last-child(2) ~ span, .meta-filter-table-container > div.table-body > div > span:first-child:nth-last-child(2), .meta-filter-table-container > div.table-body > div > span:first-child:nth-last-child(2) ~ span {
				width: 50%;
			}

			.meta-filter-table-container > div.table-header > span:first-child:nth-last-child(3), .meta-filter-table-container > div.table-header > span:first-child:nth-last-child(3) ~ span, .meta-filter-table-container > div.table-body > div > span:first-child:nth-last-child(3), .meta-filter-table-container > div.table-body > div > span:first-child:nth-last-child(3) ~ span {
				width: 33.3333%;
			}

			.meta-filter-table-container > div.table-header > span:first-child:nth-last-child(4), .meta-filter-table-container > div.table-header > span:first-child:nth-last-child(4) ~ span, .meta-filter-table-container > div.table-body > div > span:first-child:nth-last-child(4), .meta-filter-table-container > div.table-body > div > span:first-child:nth-last-child(4) ~ span {
				width: 25%;
			}

			.meta-filter-table-container > div.table-header > span:first-child:nth-last-child(5), .meta-filter-table-container > div.table-header > span:first-child:nth-last-child(5) ~ span, .meta-filter-table-container > div.table-body > div > span:first-child:nth-last-child(5), .meta-filter-table-container > div.table-body > div > span:first-child:nth-last-child(5) ~ span {
				width: 20%;
			}

			.meta-filter-table-container > div.table-header > span:first-child:nth-last-child(6), .meta-filter-table-container > div.table-header > span:first-child:nth-last-child(6) ~ span, .meta-filter-table-container > div.table-body > div > span:first-child:nth-last-child(6), .meta-filter-table-container > div.table-body > div > span:first-child:nth-last-child(6) ~ span {
				width: 16.6666%;
			}

			.meta-filter-table-container > div.table-header > span:first-child:nth-last-child(7), .meta-filter-table-container > div.table-header > span:first-child:nth-last-child(7) ~ span, .meta-filter-table-container > div.table-body > div > span:first-child:nth-last-child(7), .meta-filter-table-container > div.table-body > div > span:first-child:nth-last-child(7) ~ span {
				width: 14.285%;
			}

.actionbutton.ico.show-meta:after {
	background-image: url(../Images/database_system.png);
}

ul.comment-list p {
	margin: 0 0 0.5em 0;
}

.remark-highlight {
	background: orange;
}

.remark-highlight-removed {
	background: yellow;
	text-decoration: line-through;
}

#ChapterAddDialog label #add-chapter-copy {
	flex: 0;
}

/* TEOSTEN HALLINTA */
#editor-timepubmanagement table thead tr:first-child {
	background-color: #90c8ce;
	color: #fff;
	position: sticky;
	top: 0;
	z-index: 2;
}
#editor-timepubmanagement table tfoot tr:first-child {
	background-color: #90c8ce;
	color: #fff;
	position: sticky;
	bottom: 0;
	z-index: 2;
}

#editor-timepubmanagement table tbody tr.selected {
	background-color: #90c8ce;
}

#editor-timepubmanagement .actionrow-padding {
	padding-bottom: 20px;
}

#editor-timepubmanagement-actions .actionrow {
	margin: 0.5em;
}

	#editor-timepubmanagement-actions .actionrow .inneractionrow {
		display: flex;
		/*box-sizing: border-box;*/
		flex-direction: row;
	}

		#editor-timepubmanagement-actions .actionrow .inneractionrow > *:not(button) {
			flex: 1;
			margin: auto;
		}

#editor-timepubmanagement .editor-timepubmanagement-paging-row div > * {
	margin-right: 0.5em;
}

#editor-timepubmanagement table tr.editor-timepubmanagement-paging-row {
	background-color: #90c8ce !important;
	color: #fff;
}

	#editor-timepubmanagement table tr.editor-timepubmanagement-paging-row a {
		color: #fff;
	}

#editor-timepubmanagement #editor-timepubmanagement-data-container {
	position: absolute;
	left: 0;
	top: 0;
	right: 538px;
	overflow: auto;
	bottom: 0;
}

	#editor-timepubmanagement #editor-timepubmanagement-data-container > div {
		height: 89vh;
		width: 100%;
	}

#editor-timepubmanagement table {
	border-collapse: collapse;
	width: 100%;
}

	#editor-timepubmanagement table th, #editor-timepubmanagement table td {
		text-align: left;
		padding: 8px;
	}

	#editor-timepubmanagement table tr:nth-child(even) {
		background-color: rgba(38,149,182,0.06);
	}


#editor-timepubmanagement .timepub-download,
#editor-timepubmanagement .timepub-remove,
#editor-timepubmanagement .timepub-add,
#editor-timepubmanagement .timepub-start,
#editor-timepubmanagement .timepub-shutdown {
	width: 25px;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	display: inline-block;
	height: 25px;
}

#editor-timepubmanagement .timepub-start {
	background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDM0IDM0IiBoZWlnaHQ9IjM0cHgiIGlkPSJMYXllcl8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAzNCAzNCIgd2lkdGg9IjM0cHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxnPjxwYXRoIGQ9Ik0xNy4wNzgsMC4yNWMtOS4zODksMC0xNyw3LjYxMS0xNywxN3M3LjYxMSwxNywxNywxN2M5LjM4OSwwLDE3LTcuNjExLDE3LTE3UzI2LjQ2NywwLjI1LDE3LjA3OCwwLjI1eiAgICBNMTcuMDc4LDMxLjI1Yy03LjczMiwwLTE0LTYuMjY4LTE0LTE0YzAtNy43MzIsNi4yNjgtMTQsMTQtMTRzMTQsNi4yNjgsMTQsMTRDMzEuMDc4LDI0Ljk4MiwyNC44MSwzMS4yNSwxNy4wNzgsMzEuMjV6IiBmaWxsPSIjMjMxRjIwIi8+PHBvbHlnb24gZmlsbD0iIzIzMUYyMCIgcG9pbnRzPSIxNCwyMy45NjMgMjMsMTcuMjUgMTQsMTAuNTM3ICAiLz48L2c+PC9zdmc+");
}

#editor-timepubmanagement .timepub-shutdown {
	background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaGVpZ2h0PSIyMHB4IiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAyMCAyMCIgd2lkdGg9IjIwcHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48dGl0bGUvPjxkZXNjLz48ZGVmcy8+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSI+PGcgZmlsbD0iIzAwMDAwMCIgaWQ9Ikljb25zLUFWIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDIuMDAwMDAwLCAtODUuMDAwMDAwKSI+PGcgaWQ9InBhdXNlLWNpcmNsZS1vdXRsaW5lIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0Mi4wMDAwMDAsIDg1LjAwMDAwMCkiPjxwYXRoIGQ9Ik03LDE0IEw5LDE0IEw5LDYgTDcsNiBMNywxNCBMNywxNCBaIE0xMCwwIEM0LjUsMCAwLDQuNSAwLDEwIEMwLDE1LjUgNC41LDIwIDEwLDIwIEMxNS41LDIwIDIwLDE1LjUgMjAsMTAgQzIwLDQuNSAxNS41LDAgMTAsMCBMMTAsMCBaIE0xMCwxOCBDNS42LDE4IDIsMTQuNCAyLDEwIEMyLDUuNiA1LjYsMiAxMCwyIEMxNC40LDIgMTgsNS42IDE4LDEwIEMxOCwxNC40IDE0LjQsMTggMTAsMTggTDEwLDE4IFogTTExLDE0IEwxMywxNCBMMTMsNiBMMTEsNiBMMTEsMTQgTDExLDE0IFoiIGlkPSJTaGFwZSIvPjwvZz48L2c+PC9nPjwvc3ZnPg==");
}

#editor-timepubmanagement .timepub-remove {
	background: url("../Images/timebase-roskakori-icon.svg");
}

#editor-timepubmanagement .timepub-download {
	background: url("../Images/upload.png");
	transform: rotate(180deg);
}

#timepub-add-file-controls-input {
	visibility: hidden;
	width: 0px;
	height: 0px;
	display: inline;
}

.ui-dialog {
	box-shadow:0 0 20px 0 rgba(0,0,0,0.4);
}
.ui-widget-header > .ui-dialog-title {
	color:#fff;
}

.actionrow.secondary {
	border:1px solid #2695b6 !important;
	background-color:#fff;
}

.type-user > div > span.remove-user {
	float: right;
	width: 14px;
	display: block;
	height: 14px;
	background-size: contain;
	background-image: url(../Images/delete_can.png);
	margin-right: 10px;
	cursor:pointer;
	opacity:0.5;
}
.type-user > div > span.remove-user:hover {
	opacity:1;
}

ul.tb-tree li.type-user:hover {
	background-color: rgba(38,149,182,0.15);
}

/* Kopiointidialogin kloonausruksi */
#moveToFolder:not(.AllowCloning) .Cloning {
	display: none;
}

/*Uuden TimePubApi Julkaisuvälilehti tyylimuutokset*/
#file-browser-properties-book-publish div.publish-action-row button {
	margin: 3px;
}


/* EditorModal tyylit */
.EditorMasterModal.draggable {
	display: none;
	position: fixed;
	z-index: 100;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border: 5px solid #60b0b9;
	border-radius: 5px;
	background-color: #fff;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.EditorMasterModal:not(.draggable) {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	justify-content: center;
	align-items: center;
	z-index: 100;
}

.EditorMasterModal .meta-editor-modal {
	padding-top: 5px;
}

.EditorMasterModal .meta-editor-modal-table {
	max-height: 600px;
	overflow-y: auto;
	position: relative;
}

#previewImageModal {
	z-index: 101 !important;
}

.EditorMasterModalContent {
	font-family: Arial, Helvetica, sans-serif !important;
	min-width: 640px;
	position: relative;
	background-color: #fff;
	padding: 8px;
	text-align: center;
	box-shadow: 0 0 20px 0 rgb(255 255 255 / 40%);
}

.EditorMasterModalHeader {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 5px;
	padding-left: 15px;
	padding-right: 10px;
	height: 45px;
	cursor: move;
}

	.EditorMasterModalHeader h2 {
		font-size: 22px;
	}

.EditorModalButtonSection {
	border: 1px solid #5499a0;
	background: #fff;
	color: #333;
}

.EditorMasterModal tbody:not(#audiobookTableBody) tr:first-child {
	position: sticky;
	top: 0;
	background-color: #f2f2f2;
}

.EditorMasterModal tbody#audiobookTableBody tr:last-child {
	border-bottom: none;
}

.EditorMasterModal tbody#audiobookTableBody tr {
	border-bottom: 1px solid #cbcbcb;
}

.EditorMasterModal div.inneractionrow {
	display: flex;
	box-sizing: border-box;
	flex-direction: row;
	text-align: initial;
}

	.EditorMasterModal div.inneractionrow > * {
		margin: auto;
		flex: 1;
	}

	.EditorMasterModal div.inneractionrow > button {
		margin: 3px;
	}

#DoPublishDialog-target-folder:disabled {
	background-color: #f0f0f0;
	color: #999;
	border: 1px solid #ccc;
}

.EditorMasterModal .reader-preview-link {

	text-align: initial;
}
	.EditorMasterModal .reader-preview-link a {
		border: 1px solid #60b0b9;
		padding: 5px;
		background: #f2efef;
	}
	.EditorMasterModal .reader-preview-link #previewlink-copyButton {
		width: 30px;
		height: 30px;
		margin-left: 5px;
		background: url(../Images/copy-icon.png) no-repeat;
		cursor: pointer;
		position: relative;
		padding-bottom: 13px;
		border: none;
	}

	table.editorModalAudiobook {
		border-collapse: collapse;
	}

		table.editorModalAudiobook tr th {
			min-width: 150px;
			background-color: #a4d2d7;
			padding: 5px 10px 5px 10px;
			border-right: 2px solid white;
			border-left: 2px solid white;
		}
		table.editorModalAudiobook thead {
			position: sticky;
			top: 0;
			z-index: 101;
		}

		tbody#audiobookTableBody td {
			padding: 10px 10px 5px 10px;
		}
	tbody#audiobookTableBody td:first-of-type {
		text-align: left;
	}
	EditorMasterModal .tbody#audiobookTableBody {
		margin-top:5px;
	}

.editorModalAudiobook button:disabled {
	background-color: #ccc;
	color: #666;
	cursor: not-allowed;
}

#editorModaldynamicContent {
	overflow-y: auto;
	max-height: 500px;
}

/*Editor modal tyyli loppu*/
body:not(.HasTemplateDocuments) #createBookDialogTemplatePathPlaceholder {
	display: none;
}
body.HasTemplateChapters {
}

body:not(.HasTemplateChapters) #container-add-chapter-template {
	display: none;
}

/* Alalaidan tooltip-ratkaisu */
span[data-ch]:empty::after {
	content: "?";
	display: inline-block;
	width: 18px;
	height: 18px;
	line-height: 18px;
	text-align: center;
	background-color: rgba(38,149,182,1);
	border-radius: 50px;
	margin-left: 4px;
	font-weight: bold;
	color: #fff;
	cursor: pointer;
}
/*-*/