.clearfix {
	*zoom: 1;
}

.clearfix:before,
.clearfix:after {
	content: "";
	display: table;
}

.clearfix:after {
	clear: both;
}

div.full-height {
	overflow: auto;
}

.visible-when-fullscreen,
.fullscreen .hidden-when-fullscreen {
	display: none;
}

.fullscreen .visible-when-fullscreen,
.hidden-when-fullscreen {
	display: block;
}

html {
	height: 100%;
}

body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 14px;
	line-height: 20px;
	color: #ced0c2;
	overflow: hidden;
	background: #222;
}

a {
	color: #ced0c2;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1em;
}

pre, code, kbd {
	background: #4b4b4b;
}

code, kbd {
	padding: 1px 5px;
}

pre {
	padding: 5px;
	overflow-x: auto;
	word-wrap: normal;
}

pre .highlight {
	background: #5b5b5b;
}

pre code {
	padding: 0;
}

blockquote {
	border-left: 5px solid #4b4b4b;
	margin: 1em 0;
	padding-left: 10px;
}

hr {
	border: 0;
	border-top: 1px solid #4b4b4b;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

table thead {
	border-bottom: 2px solid #4b4b4b;
}

table tbody tr:nth-child(2n) {
	background-color: #333;
}

table th, table td {
	padding: 6px 13px;
	border: 1px solid #4b4b4b;
}

table th {
	font-weight: bold;
}

li p {
	margin: .5em 0;
}

#left-column,
#right-column {
	float: left;
	width: 50%;
	height: 100%;
}

.wrapper {
	position: relative;
	padding: 22px 0 20px 10px;
}

#left-column .wrapper {
	border-right: 1px solid #424241;
}

#right-column .wrapper {
	padding-left: 9px;
	border-left: 1px solid #424241;
}

.topbar,
.bottom-bar {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
}

.bottom-bar {
	top: auto;
	bottom: 0;
	padding-right: 5px;
}

.topbar .buttons-container {
	float: right;
	
}

.topbar .buttons-container .button,
.topbar .buttons-container .button-group {
	float: left;
}

.topbar .buttons-container .button {
	height: 18px;
	padding: 2px 6px 0;
	line-height: 18px;
	color: #ababab;
	text-decoration: none;
	font-size: 11px;
	border-bottom: 2px solid transparent;
	background: #424241;
}

.topbar .buttons-container .button:active {
	background: #4b4b4b;
}

.topbar .buttons-container .button.active {
	border-bottom-color: #5e5e5e;
}

.topbar .buttons-container .button-group .button.switch {
	padding-left: 3px;
	padding-right: 3px;
}

.topbar .buttons-container .button-group .button.switch:first-child {
	padding-left: 6px;
}

.topbar .buttons-container .button-group .button.switch:last-child {
	padding-right: 6px;
}

.topbar .buttons-container .button-group .button.switch:after {
	content: "/";
	position: relative;
	right: -4px;
}

.topbar .buttons-container .button-group .button.switch:last-child:after {
	content: none;
}

.topbar .buttons-container .button.icon-sync-scroll,
.topbar .buttons-container .button.icon-fullscreen {
	width: 22px;
	padding-left: 0;
	padding-right: 0;
	text-align: center;
}
	
.topbar .buttons-container .button.icon-sync-scroll {
	width: 18px;
}
	
.topbar .buttons-container .button.icon-sync-scroll:before {
	display: inline-block;
	margin-top: 1px;
}

.topbar .buttons-container .button.icon-fullscreen {
	font-size: 16px;
}

.topbar .buttons-container .button.icon-settings {
	font-size: 14px;
}

.bottom-bar .word-count {
	float: right;
	height: 20px;
	line-height: 20px;
	font-size: 11px;
	color: #ababab;
}

#preview {
	word-wrap: break-word;
	line-height: normal;
}

#markdown,
#html {
	display: block;
	box-sizing: border-box;
	width: 100%;
	resize: none;
	margin: 0;
	padding: 5px 0 0;
	border: 0;
	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
	color: #dee0d2;
	background-color: transparent;
}

#markdown:focus,
#html:focus {
	outline: none;
}

#top_panels_container {
	max-height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
}

#top_panels_container .top_panel {
	display: none;
	position: relative;
	padding: 10px 20px;
	background: #424241;
	border-bottom: 2px solid #424241;
}

#top_panels_container .top_panel a {
	color: #ced0c2;
}

#top_panels_container .top_panel .close {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 14px;
	height: 14px;
	line-height: 14px;
	font-size: 14px;
	text-align: center;
	color: #aaa;
	cursor: pointer;
	border-radius: 7px;
}

#top_panels_container .top_panel .close:hover {
	color: #bbb;
	background: #5b5b5b;
}

.top_panel .button {
	padding: 5px 12px;
	background: #525251;
	border-radius: 3px;
	cursor: pointer;
	text-decoration: none;
}

.top_panel .button:active {
	background: #626261;
}

.top_panel .button.is-disabled {
	background: #626261;
	opacity: .5;
	cursor: not-allowed;
}

#quick-reference table,
#quick-reference > p {
	font-size: 12px;
	line-height: 1.25em;
}

#quick-reference table tr {
	background: transparent;
}

#quick-reference table td {
	padding: 1px 0;
	border: 0;
}

#quick-reference table td:first-child {
	cursor: pointer;
}

#quick-reference table td:last-child {
	padding-left: 20px;
}

#quick-reference table td pre,
#quick-reference table td p {
	margin: 0;
}

#quick-reference p {
	margin-bottom: 0;
}

#settings #increase-font-size,
#settings #decrease-font-size {
	position: relative;
	padding: 5px 9px 5px 19px;
	line-height: 16px;
}

#settings #increase-font-size:before,
#settings #decrease-font-size:before {
	content: "A";
	position: absolute;
	top: 5px;
	left: 9px;
	height: 16px;
	line-height: 16px;
	font-family: monospace;
}

#settings #decrease-font-size:before {
	font-size: 13px;
}

#settings #increase-font-size:before {
	font-size: 17px;
}

#settings #decrease-font-size:after {
	content: "-";
}

#settings #increase-font-size:after {
	content: "+";
}

#settings .theme-control .button {
	margin-left: 10px;
	padding-left: 5px;
	padding-right: 5px;
}

#settings .theme-control.theme-control-light {
	display: inline;
}

#settings .theme-control.theme-control-dark {
	display: none;
}

#settings label {
	padding-right: 20px;
}

.fullscreen #left-column,
.fullscreen #right-column {
	float: none;
	width: 100%;
}

.fullscreen #left-column .wrapper {
	border-right-color: transparent;
}

.fullscreen #right-column .wrapper {
	border-left-color: transparent;
}

.fullscreen #markdown,
.fullscreen #html {
	max-width: 800px;
	margin: 0 auto;
}

::-webkit-scrollbar {
	width: 16px;
	height: 16px;
}


::-webkit-scrollbar-button {
	width: 0;
	height: 0;
	display: none;
}


::-webkit-scrollbar-corner {
	background-color: transparent;
}


::-webkit-scrollbar-track {
	background-color: #424241;
}

::-webkit-scrollbar-track:vertical,
::-webkit-scrollbar-thumb:vertical {
	border-left: 2px solid transparent;
}

::-webkit-scrollbar-track:horizontal,
::-webkit-scrollbar-thumb:horizontal {
	border-top: 2px solid transparent;
	border-bottom: 2px solid transparent;
}

::-webkit-scrollbar-thumb {
	background-clip: padding-box;
}

::-webkit-scrollbar-thumb:vertical {
	min-height: 28px;
}

::-webkit-scrollbar-thumb:horizontal {
	min-width: 28px;
}

::-webkit-scrollbar-thumb {
	background-color: hsl(0, 0%, 62%);
}


::-webkit-scrollbar-thumb:hover {
	background-color: hsl(0, 0%, 73%);
}


::-webkit-scrollbar-thumb:active {
	background-color: hsl(0, 0%, 77%);
}
body {
	height: auto;
	-webkit-user-select: text;
	-moz-user-select: text;
	 -ms-user-select: text;
	     user-select: text;
	cursor: auto;
}
:root {
	/* General color properties */

	/* Elements properties */
}