@font-face {
    font-family: 'lineatura_boldregular';
    src: url('fonts/lineatura_bold-webfont.eot');
    src: url('fonts/lineatura_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/lineatura_bold-webfont.woff') format('woff'),
         url('fonts/lineatura_bold-webfont.ttf') format('truetype'),
         url('fonts/lineatura_bold-webfont.svg#lineatura_boldregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* ############## */
* {
	margin: 0;
	padding: 0;
}

.clrfix {
	clear: both;
}

body {
	font: 16px/21px 'OctavaOSCRegular';
	
}
.border {
	position: fixed;
	z-index: -1000;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border: 20px solid black;
	border-top: none;
	border-bottom: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	min-width: 1200px;
}

.heading {
	position: relative;
	padding: 40px 0 0 240px;
	border-bottom: 10px solid black;
	height: 380px;
	border-top: 20px solid black;
	
	.anim {
		position: absolute;
		left: 50%;
		margin-left: -400px;
	
		.letter-a {
			
		}
		.letter-b {
			top: 70px;
			left: 80px;
		}
		.letter-c {
			top: 50px;
			left: 170px;
		}
		.letter-d {
			top: 150px;
			left: 70px;
		}
	}
	
	.h1 {
		position: absolute;
		left: 50%;
		margin: 30px 0 0 40px;
		width: 226px;
		font: 20px/24px Octava;
	}
	.pattern-a {
		background: url(../images/pattern1.png);
		width: 25%;
		height: 420px;
		position: absolute;
		top: 0px;
		right: 20px;
	}
}
.book {
	position: absolute;
	left: 50%;
	margin: 10px 0 0 -550px;
}
.gadanie {
	padding: 30px 0;
	position: absolute;
	left: 50%;
	margin-left: -400px;
	font-size: 50px;
	td {
		padding: 0 15px;
	}
	span {
		font: 22px/26px OctavaSCC;
	}
	
	input {
		outline: none;
		border: none;
		border-bottom: 3px solid #000;
		text-align: center;
		font: italic 23px/26px Octava;
	}
}

.footer {
	border-top: 10px solid #000;
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 210px 0 0 0;
	background: url(../images/pattern2.png) 20px top no-repeat;
	border-bottom: 20px solid black;
}

.arr {
	width: 156px;
	height: 216px;
	background: url(../images/a1.png);
	position: absolute;
/*	top: 0px;*/
	left: 50%;
	margin: -5px 0 0 200px;
	
	.go {
		width: 212px;
		height: 42px;
		background: url(../images/a4.png);
		position: absolute;
		top: 50%;
		left: 50%;
		margin: -21px 0 0 -106px;
		cursor: pointer;
	}
}

.result {
	position: absolute;
	background-color: #fff;
	width: 870px;
	min-height: 400px;
	border: 10px solid #000;
	top: 50%;
	left: 50%;
	margin: -50px 0 0 -435px;
	padding: 25px 30px;
	font: 30px/36px 'Nonamegrotesk';
	display: none;
	z-index: 1000;
}

.line-result {
	font: 40px/48px 'Octava';
	margin-top: 40px;
	width: 680px;
	margin-bottom: 50px;
}
.cross {
	position: absolute;
	top: 20px;
	right: 30px;
	cursor: pointer;
}
.restart {
	width: 142px;
	height: 43px;
	background: url(../images/button_a.png);
	cursor: pointer;
	float: left;
	margin-right: 35px;
	
	&:hover {
		background: url(../images/button_a_hover.png);
	}
}
.twitter {
	display: block;
	width: 270px;
	height: 43px;
	background: url(../images/button_b.png);
	cursor: pointer;
	float: left;
	
	&:hover {
		background: url(../images/button_b_hover.png);
	}
}