html, body, div, span, object, iframe, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, 
em, font, img, ins, kbd, q, s, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, 
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
}

a, img {
	border: none;
}

b {
	font-weight: bold;
}

i {
	font-style: italic;
}

p {
	margin: 0px 0px 10px 0px;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

.center {
	margin: 0 auto;
	padding: 0;
}

.clear-both {
	clear: both;
	height: 0px;
	width: 100%;
	line-height: 0px;
	font-size: 0px;
}

/* Page Elements */

body {
	color: #121212;
	background: #150b0d url('../images/poetry/bg-page-header.jpg') center top no-repeat;
	background-size: 100% auto;
	font-family: 'Lora', Georgia, Times, serif;
	font-size: 18px;
	line-height: 1.4;
	letter-spacing: 0.015em;
}

a {
	color: #d70f0c;
}

a:hover, a:active {
	color: #000;
}

sup {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 9px;
	font-weight: 600;
}

/* Logo */

.header {
	position: relative;
	text-align: center;
	width: 100%;
	height: 14vw;
}

.logo,
.logo span,
.logo span:after {
	display: block;
	position: absolute;
}

.logo {
	top: 34px;
	left: 50%;
	width: 40vw;
	height: 14vw;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	transform: translateX(-50%);
}

.logo span {
	font-family: 'Berkshire Swash', Times, serif;
	background: -webkit-linear-gradient(#ededed, #ededed, #ededed, #998066, #999066);
	background: linear-gradient(#ededed, #ededed, #ededed, #998066, #999066);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-fill-color: transparent;
	line-height: 1;
	letter-spacing: 0.025em;
}

.logo span:after {
	content: attr(data-text);
	top: 0;
	left: 0;
	text-shadow: 0 1px 8px rgba(33,24,24, 0.8), 0 4px 18px rgba(33,24,24, 0.4);
	background: none;
	z-index: -1;
}

.logo .the {
	top: 0;
	left: 7vw;
	height: 3.3vw;
	font-size: 2.3vw;
}

.logo .goth-o-matic {
	top: 1.4vw;
	left: 4.3vw;
	height: 6vw;
	font-family: 'UnifrakturCook', Times, serif;
	font-size: 5vw;
}

.logo .poetry-generator {
	top: 5.8vw;
	left: 14vw;
	height: 3.6vw;
	font-size: 2.6vw;
}

.site-title {
	font-size: 0;
	line-height: 0;
}

/* Page Content Area */

.content-border {
	position: relative;
	-webkit-border-radius: 18px;
	-moz-border-radius: 18px;
	border-radius: 18px;
	min-height: 100px;
	margin: 0 10% 10px 10%;
}

.content-border:after {
	content: '';
	position: absolute;
	top: -4px;
	left: -4px;
	right: -4px;
	bottom: -4px;
	background: #eeeeee url('../images/poetry/bg_poetry_content.jpg') left top repeat-y;
	background-size: 100% auto;
	border-radius: 20px;
	border: 4px solid rgba(33,24,24,0.7);
	-webkit-box-shadow: 1px 2px 6px rgba(33,24,24,0.7);
	-moz-box-shadow: 1px 2px 6px rgba(33,24,24,0.7);
	box-shadow: 1px 2px 6px rgba(33,24,24,0.7);
	opacity: 0.9;
	z-index: -1;
}

.content {
	padding: 20px 30px 15px 30px;
}

.content.legal {
	font-size: 16px;
}

.content .divider {
	background: transparent url('../images/poetry/img_divider.png') center top no-repeat;
	width: 80%;
	height: 10px;
	margin: 20px auto 18px auto;
	opacity: 0.4;
}

.content h1,
.content h2 {
	font-family: 'Berkshire Swash', Times, serif;
	font-weight: 300;
	color: #662121;
	text-align: center;
	letter-spacing: 0.025em;
	margin: 0 auto 12px auto;
	text-shadow: 1px 1px 6px rgba(255,255,255,0.3);
}

.content h1 {
	font-size: 2.6vw;
	margin-bottom: 15px;
}

.capital {
	display: inline-block;
    float: left;
	font-family: 'Berkshire Swash', Times, serif;
    font-size: 2.5em;
    color: #363532;
    line-height: 1;
    margin: 0 4px 0px 0;
}

h2.step {
	font-size: 30px;
	text-align: left;
	letter-spacing: 0.025em;
	line-height: 1;
	margin: 2px 0 2px 10px;
}

h2.step span,
.btn-continue {
	display: inline-block;
	background: transparent url('../images/poetry/bg-header.png') center center no-repeat;
	width: 56px;
	height: 56px;
	font-family: 'UnifrakturCook', Times, serif;
	font-size: 40px;
	text-align: center;
	line-height: 1;
	margin: 0 10px 0 0;
	padding: 6px 0 0 0;
	border-radius: 50%;
	border: 3px solid #662121;
	vertical-align: middle;
	box-shadow: 1px 1px 6px rgba(33,24,21,0.3), inset 1px 1px 6px rgba(33,24,21,0.4);
	box-sizing: border-box;
}

.content h3 {
	margin: 0 0 6px 0;
}

h3.header-tip {
	position: relative;
	color: #453333;
	font-size: 18px;
	font-weight: 600;
	text-align: left;
	line-height: 1.2;
	text-shadow: 1px 1px 6px rgba(255,255,255,0.4);
	margin: 22px 0px 12px 5px;
	padding: 8px 0px 8px 20px;
	border-radius: 18px 0 0 18px;
	z-index: 0;
	overflow: hidden;
}

h3.header-tip:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	background: transparent url('../images/poetry/bg-header.png') left top repeat-y;
	width: 100%;
	height: 100%;
	opacity: 0.4;
	z-index: -1;
}

.btn-continue {
	display: block;
	font-size: 0;
	line-height: 0;
	text-decoration: none;
	margin: 10px auto 10px auto;
}

.btn-continue:before {
	content: '\025bc';
	font-size: 30px;
	color: rgba(66,15,15,0.6);
	line-height: 1.5;
	text-shadow: 1px 1px 6px rgba(255,255,255,0.6);
	margin: 0 0 0 2px;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.btn-continue:hover:before {
	color: rgba(66,15,15,0.9);
	line-height: 1.65;
}

.btn-continue.disabled {
	opacity: 0.4;
	pointer-events: none;
}

.section {
	height: auto;
	max-height: 0;
	margin: 0 40px 20px 70px;
	overflow: hidden;
	-webkit-transition: max-height 0.6s ease;
	-moz-transition: max-height 0.6s ease;
	transition: max-height 0.6s ease;
}

.content .section.active {
	max-height: 1000px;
}

.section-content {
	padding: 10px 15px 10px 15px;
	border-radius: 8px;
	border: 2px solid #662121;
	box-shadow: 1px 1px 6px rgba(33,24,21,0.1), inset 1px 1px 6px rgba(33,24,21,0.2);
}

.content .gom {
	font-weight: 600;
}

.content .tip {
	font-size: 16px;
	margin: 0 80px 15px 26px;
}

.create-link {
	color: #451515;
	font-size: 18px;
	margin: 0 0 8px 10px;
}

.create-link:before {
	content: '•';
	display: inline-block;
	margin: 0 10px 0 0;
}

.create-link a {
	color: #d70f0c;
	text-decoration: none;
	border-bottom: 1px dotted rgba(180,24,24, 0.5);
	-webkit-transition: color 0.3s ease;
	-moz-transition: color 0.3s ease;
	transition: color 0.3s ease;
}

.create-link a:hover,
.create-link a:active {
	color: #333333;
}

.content p.notes {
	font-size: 14px;
}

.content .sharing {
	float: left;
	width: 100%;
}

.share {
	width: 100%;
	text-align: center;
}

.footer {
	width: 100%;
	font-size: 16px;
	color: #ededed;
	text-align: center;
	margin: 30px auto 24px auto;
}

.footer a {
	color: #ededed;
}

.footer a:hover,
.footer a:active,
.footer a:visited {
	color: #d70f0c;
}

/* Poetry Creation Elements */

.form-container {
	line-height: 2;
}

.form-container .text {
	display: inline;
}

.form-container .select {
	display: inline-block;
	background: #efeedd url('../images/poetry/icon-select-arrow.png') right center no-repeat;
	background-size: 26px 19px;
	height: 26px;
	overflow: hidden;
	margin: 5px 4px 1px 2px;
	border: 1px solid #999990;
	border-radius: 4px;
	vertical-align: top;
}

.form-container select {
	-webkit-appearance: listbox;
	-moz-appearance: listbox;
	appearance: listbox;
	background: transparent;
	font-size: 16px;
	padding: 4px 34px 6px 6px;
	border: none;
	vertical-align: top;
}

.form-container select:focus {
	outline: 0;
}

.create-thumbs {
	margin: 10px 0 12px 0;
}

.preview-container {
	display: inline-block;
	position: relative;
	background-color: rgba(99,99,99,0.4);
	width: 340px;
	min-width: 340px;
	height: 240px;
	margin: 0 0 10px 6px;
	border-radius: 6px;
	border: 1px solid rgba(255,255,255,0.7);
	overflow: hidden;
	box-shadow: 1px 1px 8px rgba(33,24,15,0.3);
}

.preview-container:after,
.preview-container .preview, 
.preview-container .selected {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent none left top no-repeat;
	background-size: 100% auto;
}

.preview-container:after {
	content: '';
	box-shadow: inset 2px 2px 6px rgba(255,255,255,0.8), inset -2px -2px 6px rgba(255,255,255,0.8);
}

.create-thumbs .thumbs {
	display: inline-block;
	float: right;
	width: -webkit-calc(100% - 376px);
	width: -moz-calc(100% - 376px);
	width: calc(100% - 376px);
	text-align: left;
	margin: 3px 6px 0 0;
	vertical-align: top;
}

.create-thumbs a {
	display: inline-block;
	margin: 0 10px 10px 2px;
	box-shadow: 1px 1px 8px rgba(45,33,24,0.2);
}

.create-thumbs a img {
	display: block;
}

.btn-create,
.create-thumbs a.btn-create {
	display: block;
	position: relative;
	width: 100px;
	height: 70px;
	font-family: 'Berkshire Swash', Times, serif;
	font-size: 28px;
	font-weight: 600;
	color: #332012;
	line-height: 18px;
	letter-spacing: 0.025em;
	vertical-align: top;
	margin: 8px auto 10px auto;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	transition: all 0.2s ease;
	box-shadow: none;
}

.create-thumbs a.btn-create:hover {
	color: #666055;
}

.btn-create span {
	display: inline-block;
	position: absolute;
	text-shadow: -1px -1px 8px rgba(33,33,33,0.5), 2px 2px 8px rgba(255,255,255,0.9);
}

.btn-create span.create {
	top: 0;
	left: 0;
}

.btn-create span.your {
	top: 22px;
	left: 32px;
	font-size: 26px;
}

.btn-create span.poem {
	top: 43px;
	left: 7px;
}

/* Buttons */

.buttons-poetry {
	width: 100%;
	text-align: center;
	margin: 18px auto 10px auto;
}

.buttons-poetry p {
	margin-bottom: 18px;
}

.buttons-poetry a {
	display: inline-block;
	background: #edeadc;
	background: -webkit-gradient(linear, left top, left bottom, from(#edeadc), to(#afaa99));
	background: -webkit-linear-gradient(top, #edeadc, #afaa99);
	background: -moz-linear-gradient(top, #edeadc, #afaa99);
	background: -ms-linear-gradient(top, #edeadc, #afaa99);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#edeadc', endColorstr='#afaa99');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#edeadc', endColorstr='#afaa99')";
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
	color: #332415;
	text-shadow: 0 1px 3px rgba(255,255,255,0.6);
	line-height: 1;
	letter-spacing: 0.025em;
	padding: 9px 16px 7px 16px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	border-radius: 8px;
	border: 1px solid rgba(99,99,99,0.7);
	-webkit-box-shadow: 0px 1px 4px #666;
	-moz-box-shadow: 0px 1px 4px #666;
	box-shadow: 0px 1px 4px #666;
	-webkit-transition: color 0.2s ease;
	-moz-transition: color 0.2s ease;
	transition: color 0.2s ease;
}

.buttons-poetry a:hover, .buttons-poetry a:active {
	color: #666660;
}

.buttons-poetry a.exit {
	background: #e6e6e6;
	background: -webkit-gradient(linear, left top, left bottom, from(#e6e6e6), to(#b4b4b4));
	background: -webkit-linear-gradient(top, #e6e6e6, #b4b4b4);
	background: -moz-linear-gradient(top, #e6e6e6, #b4b4b4);
	background: -ms-linear-gradient(top, #e6e6e6, #b4b4b4);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#e6e6e6', endColorstr='#b4b4b4');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#e6e6e6', endColorstr='#b4b4b4')";	
	font-size: 14px;
}

/* Generated Poem Layout */

.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 0;
	z-index: 200;
	overflow: hidden;
}

.modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.7);
	width: 100%;
	height: 100%;
	opacity: 0;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

.modal-content.poem {
	position: relative;
	background: #212121 url('../images/poetry/bg_poem.jpg') left top repeat;
	width: 0;
	max-width: 80%;
	height: 0;
	text-align: left;
	margin: 2% 0 15px 50%;
	padding: 20px 18px 20px 18px;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;
	border-radius: 12px;
	box-sizing: border-box;
	box-shadow: 1px 3px 8px rgba(0,0,0,0.8);
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	transform: translateX(-50%);
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

.modal.toggled-on {
	height: 100%;
	overflow: auto;
}

.modal.toggled-on .modal-overlay {
	position: fixed;
	opacity: 1;
}

.modal.toggled-on .modal-content.active {
	width: 80%;
	height: auto;
	opacity: 1;
}

.modal.toggled-on .modal-content.poem.active {
	width: 510px;
}

.modal-content .poem-image img {
	border: 1px solid #000;
	-webkit-box-shadow: 0 0 10px #666;
	-moz-box-shadow: 0 0 10px #666;
	box-shadow: 0 0 10px #666;
}

.modal-content .poem-content {
	font-size: 15px;
	color: #f0f0f0;
	line-height: 1.5;
	text-align: left;
}

.modal-content .poem-content h4 {
	width: 340px;
	font-size: 17px;
	font-weight: 600;
	margin: 10px 5px 0 5px;
}

.poem-divider {
	background: transparent none left top no-repeat;
	width: 339px;
	height: 18px;
	margin: 10px 0 10px 0;
}

.poem-divider.top {
	background: transparent url('../images/poetry/img_poem_divider_top.png') left top no-repeat;
}

.poem-divider.bottom {
	background: transparent url('../images/poetry/img_poem_divider_bot.png') left top no-repeat;
}

.modal-content.poem .poem {
	width: auto;
	margin: 0 0 20px 5px;
}

.btn-modal-close {
	display: block;
	position: absolute;
	top: 20px;
	right: 20px;
	background-color: rgba(255,240,230,0.3);
	width: 32px;
	height: 34px;
	font-family: 'Lora', Times, serif;
	font-size: 20px;
	color: #faf0e6;
	text-align: center;
	text-decoration: none;
	margin: 0 auto;
	padding: 2px 0 0 0;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.6);
	box-sizing: border-box;
}

.btn-modal-close:hover {
	color: #fffa66;
}






/* ::::: */

#poem-content #poem-text {
	float: left;
	color: #f0f0f0;
	width: 450px;
	font-size: 15px;
	line-height: 18px;
	text-align: left;
	margin: 10px 40px 10px 40px;
}

#poem-content .poem-divider-top {
	background: transparent url('../images/poetry/img_poem_divider_top.png') left top no-repeat;
	width: 339px;
	height: 18px;
	margin: 10px auto 10px auto;
}

#poem-content .poem-divider-bot {
	background: transparent url('../images/poetry/img_poem_divider_bot.png') left top no-repeat;
	width: 339px;
	height: 18px;
	margin: 5px auto 10px auto;
}

@media all and (max-width: 1100px) {
	.create-thumbs .thumbs {
		display: block;
		float: none;
		width: auto;
		text-align: center;
	}
	.create-thumbs a.btn-create {
		display: inline-block;
	}
}


@media all and (max-width: 800px) {
	body {
		background-size: 1200px auto;
	}
	.header {
		height: 240px;
	}
	.logo {
		width: 500px;
		height: 170px;
	}
	.logo .the {
		left: 72px;
		height: 35px;
		font-size: 32px;
	}
	.logo .goth-o-matic {
		top: 22px;
		left: 36px;
		height: 82px;
		font-size: 70px;
	}
	.logo .poetry-generator {
		top: 87px;
		left: 172px;
		height: 58px;
		font-size: 37px;
	}
	.content {
		padding: 20px 20px 15px 20px;
	}
	.content h1 {
		font-size: 24px;
	}
	.content h2 {
		font-size: 20px;
	}
	.poem-divider.top {
		margin-top: 40px;
	}
}

@media all and (max-width: 600px) {
	body {
		font-size: 16px;
	}
	.logo {
		top: 20px;
		width: 320px;
		height: 180px;
	}
	.logo .the {
		left: 30px;
		height: 31px;
		font-size: 25px;
	}
	.logo .goth-o-matic {
		top: 15px;
		left: 5px;
		height: 62px;
		font-size: 51px;
	}
	.logo .poetry-generator {
		top: 64px;
		left: 106px;
		height: 36px;
		font-size: 26px;
	}
	.content-border {
		margin: 0 10px 10px 10px;
	}
	.content {
		padding: 20px 18px 15px 18px;
	}
	.content h1 {
		font-size: 26px;
		text-align: left;
	}
	.content h2 {
		font-size: 22px;
	}
	h3.header-tip {
		margin: 22px 0 10px 0px;
		padding-right: 10px;
		border-radius: 18px;
	}
	.section {
		margin: 0 0 20px 0;
	}
	.content .section {
		height: 0;
		max-height: inherit;
		-webkit-transition: none;
 	   -moz-transition: none;
 	   transition: none;
	}
	.content .section.active {
		height: auto;
		max-height: inherit;
	}
	h2.step {
		margin: 2px 0 12px 2px;
	}
	h2.step span, .btn-continue {
	    width: 46px;
	    height: 46px;
	    font-size: 30px;
	    margin: 0px 8px 0 0;
	    padding: 5px 0 0 0;
	}
	.btn-continue {
	    display: block;
	    font-size: 0;
	    line-height: 0;
	    margin: 10px auto 10px auto;
	}
	.create-link {
    	font-size: 16px;
    	margin: 0 0 6px 2px;
	}
	.form-container .select {
		display: block;
	}
	.preview-container {
	    display: block;
	    width: 100%;
	    min-width: 100px;
	    height: 0;
	    margin: 0 0 10px 0;
	    padding-top: 70.5%;
	}
	.create-thumbs .thumbs {
	    margin: 3px 0px 0 0;
	}
}