/**
 * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 * This file is licensed under the terms of the MIT License (see LICENSE.md).
 */

:root {
	--ck-sample-base-spacing: 2em;
	--ck-sample-color-white: #fff;
	--ck-sample-color-green: #279863;
	--ck-sample-container-width: 1285px;
	--ck-sample-sidebar-width: 300px;
	--ck-sample-editor-min-height: 400px;
}

body, html {
	padding: 0;
	margin: 0;

	font-family: sans-serif, Arial, Verdana, "Trebuchet MS", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-size: 16px;
	line-height: 1.5;
}

body {
	height: 100%;
	color: #2D3A4A;
}

body * {
	box-sizing: border-box;
}

a {
	color: #38A5EE;
}

/* --------- STYLES TO DISPLAY THE EDITOR BEFORE LOAD ---------------------------------------------------------------------------- */

#editor {
	background: #fff;
	border: 1px solid hsl(0, 0%, 70%);
	width: 100%;
}

/* We need to use extra `<main>` because of bigger ck-reset specificity. */
main .ck.ck-editor {
	/* Because of sidebar `position: relative`, Edge is overriding the outline of a focused editor. */
	position: relative;
	z-index: 10;
	width: 100%;
}

#editor,
main .ck-editor[role='application'] .ck.ck-content {
	font-size: 1em;
	line-height: 1.6em;
	min-height: 200px;
	padding: 1.5em 2em;
}

.centered {
	/* Hide overlapping comments. */
	overflow: hidden;

	max-width: var(--ck-sample-container-width);
	margin: 0 auto;
	padding: 0 var(--ck-sample-base-spacing);
}

/*.row {
	display: flex;
	position: relative;
}*/

.sidebar2 {
	position: relative;
	min-width: var(--ck-sample-sidebar-width);
	font-size: 20px;
	padding: 0 10px;
	background: hsl(0, 0%, 98%);
	border: 1px solid hsl(0, 0%, 77%);
	border-left: 0;
	overflow: hidden;
	transition: min-width .4s ease-in-out;

	/* #2733. Do not overlap the left border if the sidebar is longer than content. */
	box-shadow: -1px 0 0 0 hsl(0, 0%, 77%);
}

.sidebar2.narrow {
	min-width: 60px;
}

.sidebar2.hidden {
	display: none;
}

/*.row.row-info {
	display: flex;
	position: relative;
	background: hsl(0, 0%, 98%);
	border: 1px solid hsl(0, 0%, 77%);
	margin: 1em auto;
	padding: 10px;
	align-items: center;
}*/

button.get-data,
button.remove-license-key {
	background: #fff;
	font-size: 14px;
	font-weight: bold;
	padding: 10px 15px;
	border: 1px solid hsl(0, 0%, 77%);
	border-radius: var(--ck-border-radius);
	margin-left: 1em;
	cursor: pointer;
	transition: 200ms ease background;
}
button.get-data:hover,
button.remove-license-key:hover {
	background: hsl( 0, 0%, 90%);
}

main .ck-editor[role='application'] .ck.ck-content {
/* 	font-size: 1em; */
	line-height: 1.6em;
	min-height: 200px;
	padding: 1.5em 2em;
}

/* --------- SAMPLE GENERIC STYLES ---------------------------------------------------------------------------- */
header .centered {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	min-height: 8em;
}

header h1 a {
	font-size: 20px;
	display: flex;
	align-items: center;
	color: #2D3A4A;
	text-decoration: none;
}

header h1 img {
	display: block;
	height: 64px;
}

header nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

header nav ul li {
	display: inline-block;
}

header nav ul li + li {
	margin-left: 1em;
}

header nav ul li a {
	font-weight: bold;
	text-decoration: none;
	color: #2D3A4A;
}

header nav ul li a:hover {
	text-decoration: underline;
}

main .message {
	padding: 0 0 var(--ck-sample-base-spacing);
	background: var(--ck-sample-color-green);
	color: var(--ck-sample-color-white);
}

main .message::after {
	content: "";
	z-index: -1;
	display: block;
	height: 10em;
	width: 100%;
	background: var(--ck-sample-color-green);
	position: absolute;
	left: 0;
}

main .message h2 {
	position: relative;
	padding-top: 1em;
	font-size: 2em;
}

footer {
	margin: calc(2*var(--ck-sample-base-spacing)) var(--ck-sample-base-spacing);
	font-size: .8em;
	text-align: center;
	color: rgba(0,0,0,.4);
}

/* --------- RWD ---------- */
@media screen and ( max-width: 800px ) {
	:root {
		--ck-sample-base-spacing: 1em;
	}

	header h1 {
		width: 100%;
	}

	header h1 img {
		height: 40px;
	}

	header nav ul {
		text-align: right;
	}

	main .message h2 {
		font-size: 1.5em;
	}

	main .row .ck.ck-editor__editable[ role='textbox' ] {
		padding: 0.5em 1em 1em;
	}
}
