/* Tweeking CSS by Nathan C. Ford */

body {
	background: #f6f6f6;
	padding: 0;
	margin: 0;
}

.wrap {
	position: relative;
	width: 90%;
	max-width: 700px;
	min-width: 320px;
	display: block;
	margin: 0 auto;
}

a {
	color: rgb(42,157,195);
	text-decoration: none;
}

a:hover {
	color: #333;
}

h1, button, label, input, footer, #actions {
	font-family: mentone,sans-serif;
}

h1 a {
	font-family: atrament-web,sans-serif;
}

header {
	position: relative;
	overflow: hidden;
	display: block;
	clear: both;
	padding: 40px 0 0;
	margin: 0 0 10px;
}

h1 {
	text-transform: lowercase;
	font-size: 50px;
	position: relative;
	text-align: left;
	font-weight: 400;
	margin: 0;
	display: block;
	float: left;
	clear: none;
}

h1 a {
	text-shadow: 0 1px 0 #fff, 0 0 0 rgba(33,128,159,0.4);
	color: rgba(33,128,159,0.4);
	letter-spacing: -0.03em;
	position: relative;
	z-index: 1;
}

h1 a:hover {
	color: rgb(33,128,159);
	text-shadow: 0 1px 0 #fff;
}

h1 a:after {
	content: "Reset";
	display: block;
	position: absolute;
	top: -45%;
	text-align: center;
	left: 0;
	width: 100%;
	text-transform: lowercase;
	color: #ddd;
	text-shadow: 0 1px 0 #fff, 0 -1px 0 #c6c6c6;
	z-index: -1;
	font-size: 0.9em;
	opacity: 0;
}

h1 a:hover:after {
	opacity: 1;
}

h1 span {
	display: none;
}

#actions {
	background: #eee;
	-moz-border-radius: 8px; -webkit-border-radius: 8px;
	border-radius: 8px;
	padding: 10px 20px 10px 0;
	border: 1px solid;
	border-color: #ddd #eee #fff;
	float: right;
	clear: none;
	margin-top: 20px;
	font-size: 12px;
	overflow: hidden;
	text-shadow: 0 1px 0 #fff;
	position: relative;
	display: block;
}

#actions a {
	float: left;
	color: #999;
	padding: 0 0 0 20px;
	margin: 0;
	position: relative;
	display: block;
	clear: none;
}

#actions a:hover {
	color: #333;
}

#actions a:first-child:after {
	color: #ccc !important;
    content: "•";
    display: block;
    font-size: 0.8em;
    position: absolute;
    right: -12px;
    top: 1px;
}

fieldset {
	border: none;
	margin: 0;
}

#user {
	border: none;
	padding: 0;
	margin: 20px 0 40px;
	position: relative;
}

#user label {
	line-height: 40px;
	font-size: 25px;
	color: #bbb;
	position: absolute;
	top: 1px;
	left: 8px;
	margin-right: 5px;
	font-weight: 400;
	display: block;
	margin: 0;
}

input {
	line-height: 40px;
	height: 40px;
	border: 1px solid rgba(33,128,159,0.5);
	-moz-box-shadow: inset 0 1px 2px #ddd; -webkit-box-shadow: inset 0 1px 2px #ddd;
	box-shadow: inset 0 1px 2px #ddd;
	font-size: 15px;
	color: #ccc;
	width: 75%;
	margin: 0;
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0 0 0 33px;
	-moz-border-radius: 5px; -webkit-border-radius: 5px;
	border-radius: 5px;
	float: left;
}

input:focus {
	-moz-box-shadow: 0 0 8px #ddd; -webkit-box-shadow: 0 0 8px #ddd;
	box-shadow: 0 0 8px #ddd;
	border: 1px solid rgb(33,128,159);
	color: #000;
}

button {
	display: inline;
	line-height: 40px;
	height: 40px;
	text-align: center;
	background-color: rgb(56,205,255);
	border: 1px solid rgba(33,128,159,0.5);
	-moz-border-radius: 5px; -webkit-border-radius: 5px;
	border-radius: 5px;
	background-image: -o-linear-gradient(90deg , rgb(56,205,255) 0%, rgb(42,157,195) 3%, rgb(56,205,255) 97%, rgb(56,244,255) 100%);
	background-image: -moz-linear-gradient(90deg , rgb(56,205,255) 0%, rgb(42,157,195) 3%, rgb(56,205,255) 97%, rgb(56,244,255) 100%);
	background-image: -webkit-linear-gradient(90deg , rgb(56,205,255) 0%, rgb(42,157,195) 3%, rgb(56,205,255) 97%, rgb(56,244,255) 100%);
	background-image: -ms-linear-gradient(90deg , rgb(56,205,255) 0%, rgb(42,157,195) 3%, rgb(56,205,255) 97%, rgb(56,244,255) 100%);
	background-image: linear-gradient(90deg , rgb(56,205,255) 0%, rgb(42,157,195) 3%, rgb(56,205,255) 97%, rgb(56,244,255) 100%);
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	box-sizing: border-box;
	color: #fff;
	text-shadow: 0 -1px 0 rgb(30,112,140);
	padding: 0;
	cursor: pointer;
	font-weight: 700;
	text-transform: lowercase;
	font-size: 15px;
	position: relative;
	width: 23.5%;
	margin-left: 1%;
	padding: 0;
	-moz-box-shadow: 0 1px 2px #fff; -webkit-box-shadow: 0 1px 2px #fff;
	box-shadow: 0 1px 2px #fff;
	float: left;
}

button span {
	position: relative;
	top: -2px;
}

button:hover {
	color: rgb(30,112,140);
	background-color: #fff;
	background-image: none;
	text-shadow: 0 0 10px #ccc;
}

button:active {
	color: rgb(56,205,255);
	text-shadow: none;
}

button:active span {
	top: -1px;
}

#format {
	border-bottom: none;
	overflow: hidden;
	padding: 0;
	float: right;
	clear: both;
	position: relative;
	z-index: 1;
	width: 25%;
	height: 2.5em;
}

#format label {
	float: right;
	width: 45%;
	display: block;
	font-size: 14px;
	padding: 0;
	text-align: center;
	color: #f6f6f6;
	margin: 0;
	-moz-box-shadow: 0 1px 0 #fff, 0 0 0 rgba(33,128,159,0.4); -webkit-box-shadow: 0 1px 0 #fff, 0 0 0 rgba(33,128,159,0.4);
	box-shadow: 0 1px 0 #fff, 0 0 0 rgba(33,128,159,0.4);
	background: rgba(33,128,159,0.4);
	cursor: pointer;
	position: relative;
	top: 0.55em;
	line-height: 1.4em;
	-moz-border-radius: 5px; -webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	box-sizing: border-box;
	border: 1px solid;
	border-color: rgba(33,128,159,0.3) rgba(33,128,159,0.1) rgba(33,128,159,0.2);
}

#format label:hover {
	background: rgb(33,128,159);
	color: #fff;
	border: 1px solid rgb(33,128,159);
}

#format label + input + label {
	margin: 0 5% 0 0;
}

#format input:checked + label {
	background: #fff;
	color: #333;
	border: 1px solid #ddd;
	border-bottom: none;
	border-radius: 0;
	-moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px;
	border-top-left-radius: 5px;
	-moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px;
	border-top-right-radius: 5px;
	line-height: 2.5em;
	top: 0;
	opacity: 1;
}

#format input {
	position: absolute;
	left: -5000px;
}

#length {
	padding: 11px 0 0;	
}

#length input {
	float: left;
	margin-right: 5px;
	margin-left: 0;
	width: 15px;
	height: 15px;
	vertical-align: text-top;
}

#length label {
	float: left;
	margin-right: 4%;
	font-size: 14px;
	top: 0;
	line-height: 15px;
	color: #666;
	cursor: pointer;
}

#content {
	overflow: hidden;
	width: 100%;
	display: block;
	margin-top: -5px;
	float: left;
	clear: both;
	border: 1px solid #ddd;
	padding: 15px 15px 30px;
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box;
	box-sizing: border-box;
	background: #fff;
	font-family: Georgia, Times, "Times New Roman", serif;
	font-size: 16px;
	line-height: 24px;
	min-height: 500px;
	overflow: hidden;
	width: 100%;
	display: block;
	z-index: 0;
}

.sheet {
	display: block;
	position: relative;
}

#htmlsheet {
	font-family: monospace;
	font-size: 14px;
	line-height: 20px;
}

p {
	margin: 0;
}

p + p {
	margin-top: 1em;
}

footer {
	font-size: 11px;
	color: #666;
	opacity: 0.7;
	float: left;
	clear: both;
	display: block;
	padding: 20px 0 40px;
}

footer:hover {
	opacity: 1;
}

.load {
	color: #aaa;
	display: block;
	text-align: center;
	margin-top: 113px;
}

/* Transitions */

button, h1 a {
	-webkit-transition: all 0.1s ease-out;
	-moz-transition: all 0.1s ease-out;
	-o-transition: all 0.1s ease-out;
	-ms-transition: all 0.1s ease-out;
	transition: all 0.1s ease-out;
}

#format label, footer, h1 a:hover:after, a {
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}

@media only screen and (min-width: 755px) {
	
h1 span {
	color: #999;
	text-shadow: none;
	font-size: 13px;
	letter-spacing: normal;
	text-transform: none;
	margin-left: 10px;
	top: -7px;
	position: relative;
	display: inline;
}
	
}

@media only screen and (min-width: 1310px) {

header {
	position: absolute;
	left: -250px;
	top: 168px;
	width: 200px;
	margin: 0;
}

#actions {
	float: none;
	clear: both;
	margin-top: 30px;
	padding: 7px 17px 7px 0;
	font-size: 11px;
}

#actions a {
	padding: 0 0 0 17px;
}

#actions a:first-child:after {
	right: -10.5px;
}

h1 {
	font-size: 73px;
	text-align: center;
	float: none;
	clear: both;
	width: 100%;
}

h1 span {
	display: block;
	margin: 15px 10px 0;
	top: auto;
}

#user {
	margin-top: 50px;
}

}