* {
	box-sizing: border-box;
}

.wrapper {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;
}

.main {
	box-sizing: border-box;
	flex: 1;
}

.side {
	box-sizing: border-box;
	width: 300px;
	padding: 0 0 0 20px;
	background-color: #fafafa;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
	.row {
		flex-direction: column;
	}
}

ul.text-editor-menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.text-editor-menu li {
	padding: 0 10px;
	line-height: 35px;
	border-bottom: 1px solid #ccc;
	cursor: pointer;
}

.text-editor-menu li:hover {
	background-color: #555;
}


.text-stats {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	list-style-type: none;
	margin: 20px 0 0 0;
	width: 100%;
}

.text-stats li {
	margin: 0 1rem 0 1rem;
}

.text-stats-count {
	margin: 0 0 0.2rem 0;
	font-size: 1.6rem;
	text-align: center;
}

.text-stats-label {
	font-size: 0.6rem;
	text-align: center;
	text-transform: uppercase;
}