
#articlePanel {
	padding: 50px 0 0 0;
	background: transparent;
	color: #333;
	overflow: hidden;
	flex-direction: column;
}
#articleEditorBg {
	content: '';
	position: fixed;
	width: 100%;
	height: 100%;
	background: #f5f5f5;
	z-index: 0;
	top: 250px;
	left: 0;
	display: block;
	border-top: 1px solid #F8E71C;
}

#articlePanel .ql-editor {
	padding: 200px 0 0 0;
	margin-right: auto;
	margin-left: auto;
	margin-top: 0;
	position: relative;
}

#articlePanel .codeblot .CodeMirror {
	height: auto;
	background: #fbfbfb;
	/* box-shadow: 0 0 5px inset #ccc; */
	padding: 0 0;
	/* margin: 0 -5px 0 5px; */
	display: inline-block;
}

#articlePanel .codeblot[data-sync="1"] .CodeMirror {
	/* background: #ffff; */
	box-shadow: 0 0 5px inset #ccc;
}
#articlePanel .codeblot[data-sync="0"] .configOptions {
	display: none;
}
#articlePanel .codeblot[data-sync="0"] .codeBlockSettings {
	background: transparent;
}

#articlePanel .ql-editor > * {
	max-width: 950px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}
/* #articlePanel .ql-editor h1, */
#articlePanel .ql-editor h2
{
	/* font-family: Helvetica, sans-serif; */
	font-weight: 300;
	/* letter-spacing: -0.05em; */
}
#articlePanel .ql-editor h1  {
	margin-bottom: 30px;
	font-size: 4em;
	background: #f5f5f5;
	border: 40px solid #F8E71C;
	border-bottom-width: 0;
	box-sizing: content-box;
	padding: 40px 40px 0 40px;
}
#articlePanel .ql-editor h1 > br  {
	/* display: none; */
}

#articlePanel .ql-editor pre  {
	font-size: 16px;
	/* white-space: unset !important; */
	margin: unset !important;
	padding: unset !important;
	border-radius: unset !important;
	background-color: unset !important;
}

#articlePanel .ql-editor > blockquote {
	font-size: 2.4em;
	border-left: none;
	padding-left: 60px;
	font-weight: 100;
}


#articlePanel h1:first-of-type.placeholder::before
{
	content:'Give it a title';
	color: #999;
	position: absolute;
}

#articlePanel p:first-of-type.placeholder::before
{
	content:'Write your thoughts and add your code here...';
	color: #999;
	position: absolute;
}

#articlePanel 
.codeblot {
	position: relative;
	/* display: inline; */
	/* width: 100%; */
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}
#articlePanel  .codeBlockContainer {
	display: block;
	width: 100%;
	position: relative;
	margin: 20px 0;
	background: #f5f5f5;
}
#articlePanel  .textGuard::before {
	content: "&#65279";
}
#articlePanel .codeblot .codeBlockSettings {
	position: absolute;
	right: 0;
	top: 0;
	/* opacity: 0.5; */
	transition: opacity 200ms 800ms;
	width: auto;
	text-align: right;
	user-select: none;
	/* color: #999; */
	z-index: 3;
	padding: 3px 10px;
	white-space: nowrap;
	background: #f0f0f0;
}
#articlePanel .codeblot .configOptions {
	display: inline-block;
	opacity: 1;
	transition: opacity 200ms 1000ms;
	margin-right: 10px;
}
/* #articlePanel .codeblot .codeBlockSettings:hover .configOptions {
	display: inline-block;
	opacity: 1;
	transition: opacity 200ms 0ms;
}
#articlePanel .codeblot .codeBlockSettings:hover  {
	background: #f0f0f0;
	width: auto;
} */
#articlePanel .codeblot .codeBlockSettings input[type='checkbox'] {
	-webkit-appearance: none;
	width: 10px;
	height: 10px;
	background: #999;
	border-radius: 50%;
	top: 1px;
	position: relative;
	display: inline-block;
	cursor: pointer;
}
#articlePanel .codeblot .codeBlockSettings input:checked {
	background: #73E87A;

}
#articlePanel .ql-toolbar {
	text-align: center;
	border-width: 0 0 1px 0;
	background: #f5f5f5;
	z-index: 5;
	top: 50px;
	left: 0;
	width: 100%;
	position: fixed;
	display: none;
}
#articlePanel .ql-toolbar .ql-addcode{
	background: url('/assets/img/icons/code_small@2x.png') left 5px top 8px no-repeat;
	background-size: 18px 10px;
	border: 1px solid;
	width: 99px;
	font-size: 14px;
	text-align: right;
	color: #333;
	height: 27px;
	border-radius: 0;
}
#articlePanel .ql-toolbar .ql-addcode::after{
	content: "Add Code";
}
#articleEditor input[type="number"] {
	width: 30px;
	min-width: 30px;
	border: none;
	padding: 0px 5px;
	text-align: center;
	margin: 0;
	-webkit-appearance: none;
	-moz-appearance: textfield;
	-webkit-appearance: none;
}
#articleEditor .CodeMirror-linenumber {
	user-select: none;
	font-size: 16px;
}
#articleEditor input[type="number"]::-webkit-outer-spin-button,
#articleEditor input[type="number"]::-webkit-inner-spin-button
	{
	
	-webkit-appearance: none;
	-moz-appearance: textfield;
	-webkit-appearance: none;
}
@media (max-width: 768px) {
	#articlePanel {
		background: #f5f5f5;
		position: static;
	}
	#articlePanel .ql-editor h1 {
		margin-bottom: 30px;
		font-size: 2.5em;
		border: none;
		box-sizing: border-box;
		padding: 0;
	}
	#articlePanel .ql-editor {
		padding: 70px 15px 0 15px;
		margin-right: auto;
		margin-left: auto;
		margin-top: 0;
		position: relative;
		background: #f5f5f5;
		height: auto;
	}
	#articleEditorBg {
		display: none;
	}
	#articlePanel .ql-toolbar {
		height: 40px;
		overflow: hidden;
		white-space: nowrap;
	}
	#articlePanel .ql-editor>blockquote {
		font-size: 1.5em;
		padding-left: 20px;
	}
}