* {
	border: 0;
	padding: 0;
	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	font-size: 100%;
}

body {
	width: 100%;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-size: 1.02em;
	line-height: 1.45em;
	color: #000;
	padding: 1em;
	background-color: #fff;
}

p {
	font-weight: 400;
	line-height: 1.5em;
	margin-bottom: 1em;
}

p.hint--return {
	color: #f63400;
	clear: both;
}

h1,
h2,
h3,
h4 {
	line-height: 1.3em;
}

h1 {
	font-size: 1.4em;
	margin-bottom: 0.2em;
}

h2 {
	font-size: 1.3em;
	font-weight: 700;
	margin-bottom: 0.5em;
}

h3 {
	font-size: 1em;
	font-weight: 400;
}

h4 {
	font-size: 1em;
	font-weight: 600;
	color: #000 !important;
	margin-bottom: 0.8em;
}

input[type=range] {
	display: block;
	font-size: 20px;
	margin: 1em auto 0.7em auto;
	cursor: pointer;
	width: 80%;
}

input[type=radio] {
	display: none;
}

input[type=radio]:checked + label.btn--serif,
input[type=radio]:checked + label.btn--sans-serif {
	color: #fff;
	border-color: #207ce5;
	background-color: #207ce5;
}

input[type=radio]:checked + label.btn-bgc {
	border: 2px solid #207ce5;
}

label.btn-bgc {
	border: 2px solid #ccc;
	padding: 0.4em;
}

.hint {
	color: #666;
}

h4 .hint {
	font-weight: 400;
}

.last-edit {
	font-size: 1em;
	color: #666;
	margin-bottom: 2.5em;
}

.live--example {
	display: block;
	padding: 1em;
	margin-bottom: 2em;
	border: 1px dotted #aaa;
	background-color: #fff;
}

.box--lorem {
	margin-bottom: 2em;
}

.no-break {
	white-space: nowrap;
}	

.pagewrap {
	width: 100%;
	margin: 0 auto 10em;
}

.read-mode {
	font-weight: 700;
}

.settings {
	width: 100%;
	padding-top: 2em;
}

.settings--opened {
}

.settings__col {
	margin: 0 auto;
}

.settings__btn {
	width: 80%;
	text-align: center;
	color: #fff;
	padding: 0.4em 1.5em 0.3em;
	margin: 0 auto 2em;
	border-radius: 1em;
	background: #207ce5;
	background: -webkit-linear-gradient(left, #499bea, #207ce5);
	background: -o-linear-gradient(left, #499bea, #207ce5);
	background: -moz-linear-gradient(left, #499bea, #207ce5);
	background: linear-gradient(left, #499bea, #207ce5);
	cursor: pointer;
}

.settings__btn--opened {
	background: #000;
	background: -webkit-linear-gradient(left, #1f1f1f, #000);
	background: -o-linear-gradient(left, #1f1f1f, #000);
	background: -moz-linear-gradient(left, #1f1f1f, #000);
	background: linear-gradient(left, #1f1f1f, #000);
}

.settings__btn--front {
	font-family: 'Open Sans', sans-serif;
	position: fixed;
	bottom: 1.3em;
	right: 1.5em;
	width: 51px;
	height: 51px;
	color: #fff;
	margin-bottom: 0;
	border: 0;
	-webkit-border-radius: 100%; 
	-moz-border-radius: 100%; 
	border-radius: 100%;
	background: #207ce5;
	background: -webkit-linear-gradient(left, #499bea, #207ce5);
	background: -o-linear-gradient(left, #499bea, #207ce5);
	background: -moz-linear-gradient(left, #499bea, #207ce5);
	background: linear-gradient(left, #499bea, #207ce5);
	-webkit-box-shadow: 0px 10px 10px -1px rgba(0,0,0,0.34);
	-moz-box-shadow: 0px 10px 10px -1px rgba(0,0,0,0.34);
	box-shadow: 0px 10px 10px -1px rgba(0,0,0,0.34);
}

.settings__btn--front:active {
	background: #000;
}

.settings__btn--front .fa-icon {
	display: block;
	font-size: 26px !important;
	line-height: 20px !important;
	margin-top: -4px;
	margin-left: -2px;
}

.settings__options {
	font-family: "Open Sans", sans-serif;
	width: 100%;
	border-bottom: 2px solid #000;
	padding: 1em 1em 2em;
	margin-bottom: 5em;
	background-color: #fff;
}

.btn {
	border: 1px solid #ccc;
	padding: 1em;
	margin-bottom: 2em;
	background-color: #fff;
	cursor: pointer;
}

.btn--serif,
.btn--sans-serif {
	display: inline-block;
	font-size: 1em;
	color: #000;
	width: 7.2em;
	margin-bottom: 1.7em;
}

.serif,
.sans-serif,
label {
	display: block;
	text-align: center;
	font-size: 3em;
	padding-top: 0.2em;
	margin-bottom: 0.3em;
}

.serif {
	font-family: serif;
}

.sans-serif {
	font-family: sans-serif;
}

.bg-colors {
	margin-bottom: 1em;
}

.btn-bgc {
	display: inline-block;
	max-width: 60px;
	max-height: 60px;
	margin-bottom: 0.3em;
}

.btn-bgc--1 {
	background-color: #fff;
}

.btn-bgc--2 {
	background-color: #EDEDED;
}

.btn-bgc--3 {
	background-color: #EBEBEB;
}

.btn-bgc--4 {
	background-color: #E8E8E8;
}

.btn-bgc--5 {
	background-color: #ddd;
}

.btn-bgc--6 {
	background-color: #f8f3e7;
}

.btn-bgc--7 {
	background-color: #ece0c4;
}

.btn-bgc--8 {
	background-color: #555;
}

.btn-bgc--9 {
	background-color: #333;
}

.btn-bgc--10 {
	background-color: #000;
}

.btn--cancel,
.btn--accept {
	display: inline-block;
	font-size: 1.1em;
	padding: 0.5em 0.9em;
	margin-bottom: 1.5em;
}

.btn--cancel {
	color: #207ce5;
	border: 2px solid #207ce5;
	margin-right: 1em;
}

.btn--cancel:hover {
	color: #000;
	border: 2px solid #000;
}

.btn--cancel:active {
	color: #fff;
	border: 2px solid #e82727;
	background-color: #e82727;
}

.btn--accept {
	color: #fff;
	border: 2px solid #207ce5;
	background-color: #207ce5;
}

.btn--accept:hover {
	border: 2px solid #000;
	background-color: #000;
}

.btn--accept:active {
	border: 2px solid #17b962;
	background-color: #17b962;
}

.fa-icon {
	font-family: 'FontAwesome';
	display: inline-block;
	vertical-align: middle;
	font-size: 1.2em;
	font-style: normal;
	margin-right: 14px;
	margin-bottom: 0.1em;
}

.bookmark:before {
	content: "\f02e";
	color: #f63400;
	vertical-align: top;
	margin-bottom: 0;
}

.cog-settings:before {
	content: "\f013";
}

.uc {
	font-size: 0.8em;
	font-weight: 800;
	text-transform: uppercase;
}

.hide {
	display: none;
}

.show {
	display: block;
}

@media all and (min-width: 50rem) {
	body {
		font-size: 1.1em;
		line-height: 1.5em;
	}
	
	.pagewrap,
	.settings__col {
		max-width: 34em;
	}

	.settings__btn {
		width: 100%;
	}

	.settings__btn--front {
		font-size: 24px;
		padding: 18.12px 15.12px 15.12px;
		margin-bottom: 0;
	}
}