html,
body {
	width: 100%;
	height: 100%;
	}
	html {
		overflow-y: scroll;
	}
	body {
		font: 12px/1.6 Arial, Helvetica, sans-serif;
		color: #474747;
	}
	
a {
	text-decoration: none;
	}
	a:hover {
		text-decoration: underline;
	}
	
a.contact_large {
	width: 273px;
	height: 61px;
	display: block;
	background: url('../img/tpl/button_contact_index.jpg') no-repeat;
	margin-top: 30px;
}
	
h1.head {
	width: 422px;
	height: 41px;
	background-repeat: no-repeat;
	margin-bottom: 15px;
	text-indent: -1000em;
	}
	h1.head.index {
		background-image: url('../img/tpl/head_index.jpg');
	}
	h1.head.contact {
		background-image: url('../img/tpl/head_contact.jpg');
	}
	
h5 {
	color: #0d81a3;
	font-size: 13px;
}

form.form_layout ul li {
	display: block;
	padding: 5px 0;
	}
	form.form_layout ul li label {
		float: left;
		width: 120px;
		display: block;
		padding-top: 4px;
		font-size: 13px;
	}
	
input.text,
textarea {
	background-color: #f9f9f9;
	border: 1px solid;
	border-color: #63787e #adbabd #adbabd #63787e;
	padding: 4px;
	}
	input.text {
		width: 300px;
	}
	textarea {
		height: 150px;
		width: 550px;
	}
	
input.fancybutton,
button.fancybutton {
	background-repeat: repeat-x;
	background-position: left bottom;
	font: 13px Arial, Helvetica, sans-serif;
	font-weight: bold;
	width: auto;
	overflow: visible;
	border: 1px solid;
	padding: 5px 10px 6px;
	cursor: pointer;
	}
	input.fancybutton.orange,
	button.fancybutton.orange {
		border-color: #d7a775 #754109 #4e2b06 #c88742;
		background-image: url('../img/tpl/button_orange.jpg');
		color: #fff;
	}
	input.fancybutton.grey,
	button.fancybutton.grey {
		border-color: #b2b2b2 #4d4d4d #333333 #969696;
		background-image: url('../img/tpl/button_grey.jpg');
		color: #222;
	}

.preloader {
	background: url('../img/tpl/ajax-loader.gif') center center no-repeat;
}

div#container_outer {
	width: 960px;
	overflow: hidden;
	display: table;
	position: relative;
	}
	div#container_middle {
		display: table-cell;
		vertical-align: middle;
		width: 960px;
		}
		div#container_inner.success {
			line-height: 1.8;
			font-size: 17px;
			text-align: center;
			color: #6c6c6c;
		}
	
div#container {
	height: 100%;
}

body > div#container {
	height: auto;
	min-height: 100%;
}

div#main_content {
	padding: 50px 0 159px 0;
}

div#header {
	height: 84px;
	position: relative;
	background: url('../img/tpl/header_bg.jpg') bottom repeat-x;
	overflow: hidden;
	}
	div#header a#header_logo {
		position: absolute;
		width: 221px;
		height: 37px;
		background: url('../img/tpl/header_logo.png') no-repeat;
		left: 0;
		top: 19px;
	}
	div#header a#link_contact {
		position: absolute;
		top: 30px;
		right: 0;
		color: #5c5c5c;
		padding-left: 22px;
		font-size: 13px;
		}
		div#header a#link_contact i {
			width: 16px;
			height: 11px;
			background: url('../img/icons/email.png') 0 -11px no-repeat;
			position: absolute;
			top: 5px;
			left: 0;
		}
		div#header a#link_contact:hover,
		div#header a#link_contact.isOpen {
			color: #2897b7;
		}
		div#header a#link_contact.isOpen i,
		div#header a#link_contact:hover i {
			background-position: 0 0;
		}
		
div#index_body {
	padding-top: 50px;
	height: 250px;
	padding-top: 10px;
	background: url('../img/tpl/index_body_bg.jpg') right top no-repeat;
	}
	div#index_body p {
		line-height: 1.8;
		font-size: 17px;
		display: block;
		width: 430px;
		color: #6c6c6c;
		text-align: justify;
	}
	
div#contact_body div.contact_info {
	margin-bottom: 40px;
	}
	div#contact_body div.contact_info ul {
		width: 33%;
		float: left;
	}

div#footer {
	position: relative;
	margin-top: -109px;
	height: 109px;
	clear: both;
	background: url('../img/tpl/footer_bg.jpg') bottom repeat-x;
	overflow: hidden;
	font-size: 11px;
	color: #adadad;
	line-height: 2;
	}
	div#footer a#footer_logo {
		width: 145px;
		height: 24px;
		background: url('../img/tpl/footer_logo.png') no-repeat;
		display: block;
		margin: 8px 0 12px 0;
	}
	div#footer div.centerfix {
		margin-top: 25px;
	}
	div#footer ul {
		width: 25%;
		float: left;
	}
	div#footer ul.first {
		width: 50%;
	}
	
div.breakline {
	padding: 50px 0;
	height: 9px;
	background: url('../img/tpl/breakline.jpg') center center no-repeat;
}
	
div.centerfix {
	width: 960px;
	margin: 0 auto;
	position: relative;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
	
.clearfix {
	display: inline-block;
}

/* hax0r \*/
* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}
/* hax0r */
