/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
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;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
table {
  border: 1px #333333 solid;
  margin: 0 0 15px 0;
}
td {
  text-align: center;
  padding: 8px 0 0 0;
}
body {
	line-height: 1;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
.fancybox_image img {
  padding: 4px;
  border: 1px #333 solid;
  margin: 0 5px 5px 5px;
}
.featured_double .fancybox_image img {
  border: 0;
  padding: 0;
  margin: 0;
} 
/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

h1, h2, h3, h4, h5, h6, p, blockquote, ol, ul, fieldset, form {
	padding: 0 0 10px 0;
}
ul {
	list-style-position: inside;
}
/*layout*/
html, body {
	height: 100%;
}
body {
	font: 12px/18px Arial, Helvetica, sans-serif;
	color: #999999;
	background: #000000 url(../i/header_bg.jpg) repeat-x 0 0;
}
a:link, a:visited {
	color: #999999;
	text-decoration: underline;
}
a:hover {
	color: #ffffff;
}
h2 {
	color: #ffffff;
	margin: 0 0 20px 0;
	font-size: 1.4em;
}
h3 {
  padding: 10px 0 20px 0;
}
.clear_in {
  clear: both;
}
#page {

	background: url(../i/header_light_bg.jpg) no-repeat center top;
}
#wrap {
	width: 960px;  
	margin: 0 auto;
}
#header {          
	position: relative;
	height: 200px;
	background: url(../i/logo.png) no-repeat 0px 60px;
}
#header h1 {   
	position: absolute;
	font-size: 40px;
	font-weight: normal;
	font-style: italic;
	top: 85px;
	left: 290px;
	line-height: 40px;
}
#header h1 .c1 {
	color: #ffffff;
}
#header h1 .c2 {
	color: #999999;
	font-size: 30px;
}
#header p {
  position: absolute;
  top: 4px;
  left: 0;
}
.hr {
	border-top: 1px #333333 solid;
	float: left;
	width: 100%;
	padding: 0 0 0 0;
	margin: 1em 0 2em 0;
}
/*main-menu*/
.main-nav-wrap {
	border-bottom: 1px #333333 solid;
	float: left;
	width: 100%;
	padding: 3em 0 0 0;
	margin: 0 0 2em 0;
}
.main-nav-wrap .main-nav {
	float: right;
	list-style: none;
	padding: 0;
	margin: 0;
}
.main-nav-wrap .main-nav li {
	color: #62574e;
	list-style: none;
	display: inline;
	float: left;
	margin: 0 10px 0 0;
}
.main-nav-wrap .left_t {
	float: left;
	list-style: none;
	padding: 0;
	margin: 0;
}
.main-nav-wrap .left_t li {
	color: #62574e;
	list-style: none;
	display: inline;
	float: left;
	margin: 0 10px 0 0;
}
.main-nav-wrap .left_t li a {
  font-size: 10px;
	padding: 5px 5px 15px 5px;
	display: block;
	float: left;
	text-transform: uppercase;
	text-decoration: none;
	color: #999999;
}
.main-nav-wrap .left_t li a:hover, .main-nav-wrap .left_t li.active a {
	color: #ffffff;
}
.main-nav-wrap .main-nav li.active {
	background: url(../i/arrow_up.gif) no-repeat bottom center;
}
.main-nav-wrap .main-nav li a {
	padding: 5px 5px 15px 5px;
	display: block;
	float: left;
	text-transform: uppercase;
	text-decoration: none;
	color: #999999;
}
.main-nav-wrap .main-nav li a:hover, .main-nav-wrap .main-nav li.active a {
	color: #ffffff;
}
.main-nav-wrap .main-nav li a:hover {
	background: url(../i/arrow_up.gif) no-repeat bottom center;
}
.main-nav-wrap .main-nav .login a {
	font-size: 10px;
}
/*home-content, about, portfolio, contact*/
#home {
	float: left;
	width: 100%;
	padding: 0em 0 0 0;
}
.featured {
	width: 300px;
	float: left;
	margin: 0 20px 0 0;
}
.featured_double {
	width: 600px;
	float: left;
	margin: 0 40px 0 0;
}
.featured .image-thumb {
	width: 286px;
	/*background: #080502;
*/
	padding: 7px;
	margin: 0 0 20px 0!important;
	margin: 0 0 0px 0;
	float: left;
	/*border: 1px solid #473a2f;
*/
	text-align: center;
}
.featured h3, h3 {
	color: #ffffff;
	font-size: 14px;
	font-weight: normal;
}
/*footer*/
#footer {
	border-top: 1px #333333 solid;
	padding: 2em 0 0 0;
	margin: 3em 0 1em 0;
	float: left;
	width: 100%;
	font-size: 11px;
	color: #999999;
}
/*blockquote*/
blockquote .first {
	color: #7d7163;
	font-style: italic;
	background: url(../images/quote_start.gif) no-repeat;
	text-indent: 15px;
}
blockquote .author {
	color: #595045;
	padding: 0;
	margin: 0;
}
/*button link*/
.featured a {
	color: #999999;
}
.us {
  clear: both;
  margin: 0 0 1em 0;
}
a.buttonlink_us {
  margin: 0 20px 0 0;
	padding: 6px 10px;
	text-transform: uppercase;
	font-size: 10px;
	border: 1px #333333 solid;
	text-decoration: none;
}
a.buttonlink_us:hover {
	padding: 6px 10px;
	background: #333333;
	color: #ffffff;
}
a.buttonlink {
	border: 1px #333333 solid;
	padding: 6px 10px;
	text-transform: uppercase;
	font-size: 10px;
	text-decoration: none;
}
a.buttonlink:hover {
	padding: 6px 10px;
	background: #333333;
	color: #ffffff;
}
/*downloadcv link*/
.downloadcv {
	text-indent: -3000px;
	display: block;
}
.downloadcv a {
	background: url(../images/download_cv.gif) no-repeat;
	display: block;
	padding: 6px 0;
	margin: 0 0 20px 0;
}
/*form*/
#contact-form p {
	margin: 0;
	padding: 0 0 10px 0;
}
#cf_name, #cf_email, #cf_subject, #cf_message {
	background: #080502;
	border: 1px solid #473a2f;
	padding: 7px;
	color: #948574;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
#cf_name, #cf_email, #cf_subject {
	width: 80%;
}
#cf_message {
	width: 100%;
}
.button-bg {
	color: #fffcfa;
	border: 0;
	background: #ad4a18;
	padding: 8px 10px;
}
/*common style*/
.clear {
	clear: both;
}
.highlight {
	font-weight: bold;
	color: #e4c5a1;
}
img {
	border: 0;
}
.clear {
	clear: both;
}
.alignLeft {
	text-align: left;
}
.alignRight {
	text-align: right;
}
.alignJustify {
	text-align: justify;
}
.alignCenter {
	text-align: center;
}
.floatLeft {
	float: left;
}
.floatRight {
	float: right;
}
.errorMsg, .infoMsg {
	float: left;
	padding: 10px;
	width: 95%;
	margin: 0 0 20px 0;
}
.errorMsg h3 {
	color: #FF0000;
}
.infoMsg h3 {
	color: #009900;
}
.errorMsg ul {
	padding-left: 14px;
}

/* Fancybox */

div#fancy_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	display: none;
	z-index: 30;
}

* html div#fancy_overlay {
	position: absolute;
	height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

div#fancy_wrap {
	text-align: left;
}

div#fancy_loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 100;
}

div#fancy_loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background: transparent url('../i/fancy_progress.png') no-repeat;
}

div#fancy_loading_overlay {
	position: absolute;
	background-color: #FFF;
	z-index: 30;
}

div#fancy_loading_icon {
	position: absolute;
	background: url('../i/fancy_loading.gif') no-repeat;
	z-index: 35;
	width: 16px;
	height: 16px;
}

div#fancy_outer {
	position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    padding: 18px 18px 33px 18px;
    margin: 0;
    overflow: hidden;
    background: transparent;
    display: none;
}

div#fancy_inner {
	position: relative;
	width:100%;
	height:100%;
	border: 1px solid #333;
	background: #000;
}

div#fancy_content {
	margin: 0;
	z-index: 100;
	position: absolute;
}

div#fancy_div {
	background: #000;
	color: #FFF;
	height: 100%;
	width: 100%;
	z-index: 100;
}

img#fancy_img {
	position: absolute;
	top: 0;
	left: 0;
	border:0; 
	padding: 0; 
	margin: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
}

div#fancy_close {
	position: absolute;
	top: -12px;
	right: -15px;
	height: 30px;
	width: 30px;
	background: url('../i/fancy_closebox.png') top left no-repeat;
	cursor: pointer;
	z-index: 181;
	display: none;
}

#fancy_frame {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}

#fancy_ajax {
	width: 100%;
	height: 100%;
	overflow: auto;
	background: #000;
}
a#fancy_left, a#fancy_right {
	position: absolute; 
	bottom: 0px; 
	height: 100%; 
	width: 35%; 
	cursor: pointer;
	z-index: 111; 
	display: none;
	background-image: url(data:image/gif;base64,AAAA);
	outline: none;
}

a#fancy_left {
	left: 0px; 
}

a#fancy_right {
	right: 0px; 
}

span.fancy_ico {
	position: absolute; 
	top: 50%;
	margin-top: -15px;
	width: 30px;
	height: 30px;
	z-index: 112; 
	cursor: pointer;
	display: block;
}

span#fancy_left_ico {
	left: -9999px;
	background: transparent url('../i/fancy_left.png') no-repeat;
}

span#fancy_right_ico {
	right: -9999px;
	background: transparent url('../i/fancy_right.png') no-repeat;
}

a#fancy_left:hover {
  visibility: visible;
}

a#fancy_right:hover {
  visibility: visible;
}

a#fancy_left:hover span {
	left: 20px; 
}

a#fancy_right:hover span {
	right: 20px; 
}

.fancy_bigIframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

div#fancy_bg {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}
	
div.fancy_bg {
	position: absolute;
	display: block;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}

div.fancy_bg_n {
	top: -18px;
	width: 100%;
	height: 18px;
	background: transparent url('../i/fancy_shadow_n.png') repeat-x;
}

div.fancy_bg_ne {
	top: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('../i/fancy_shadow_ne.png') no-repeat;
}

div.fancy_bg_e {
	right: -13px;
	height: 100%;
	width: 13px;
	background: transparent url('../i/fancy_shadow_e.png') repeat-y;
}

div.fancy_bg_se {
	bottom: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('../i/fancy_shadow_se.png') no-repeat;
}

div.fancy_bg_s {
	bottom: -18px;
	width: 100%;
	height: 18px;
	background: transparent url('../i/fancy_shadow_s.png') repeat-x;
}

div.fancy_bg_sw {
	bottom: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('../i/fancy_shadow_sw.png') no-repeat;
}

div.fancy_bg_w {
	left: -13px;
	height: 100%;
	width: 13px;
	background: transparent url('../i/fancy_shadow_w.png') repeat-y;
}

div.fancy_bg_nw {
	top: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url('../i/fancy_shadow_nw.png') no-repeat;
}

div#fancy_title {
	position: absolute;
	bottom: -33px;
	left: 0;
	width: 100%;
	z-index: 100;
	display: none;
}

div#fancy_title div {
	color: #FFF;
	font: bold 12px Arial;
	padding-bottom: 3px;
}

div#fancy_title table {
	margin: 0 auto;
}

div#fancy_title table td {
	padding: 0;
	vertical-align: middle;
}

td#fancy_title_left {
	height: 32px;
	width: 15px;
	background: transparent url(../i/fancy_title_left.png) repeat-x;
}

td#fancy_title_main {
	height: 32px;
	background: transparent url(../i/fancy_title_main.png) repeat-x;
}

td#fancy_title_right {
	height: 32px;
	width: 15px;
	background: transparent url(../i/fancy_title_right.png) repeat-x;
}
/* Contacts Form */
#EmailForm input {
  border: 1px #333333 solid;
  width: 220px;
  padding: 5px;
  background-color: #000000;
  color: #999999;
}
#EmailForm textarea {
  border: 1px #333333 solid;
  width: 340px;
  padding: 5px;
  background-color: #000000;
  color: #999999;
  height: 200px;
}
.left {
  width: 230px;
  float: left;
}
.right {
  margin: -1px 0 0 20px;
  width: 340px;
  float: left;
}
#EmailForm .button {
  width: 140px;
  display: block
}
