﻿
/* Reset
----------------------------- */
html,
body,
div,
span,
h1,
h2,
h3,
p,
a,
strong,
ol,
ul,
li,
form,
label {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

:focus { outline: 0; }

body {
	line-height: 1;
	color: black;
	background: white;
}

ol,
ul { list-style: none; }

/* Layout
----------------------------- */
html,
body {
	height:100%;
	margin:0;
}

body { background: #fbfbde url(../img/bg_body.jpg) repeat; }

#wrap {
	display: table;
	text-align: center;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 10;
}

#middle {
	display: table-cell;
	vertical-align: middle;
}

#inner {
	width: 930px;
	margin:0 auto;
	padding: 80px;
}

#frame {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	background: url(../img/bg_body-cb.jpg) repeat-y -80px top;
}

#frame div {
	position: fixed;
	height: 80px;
}

#frame div.s {
	top: 0;
	bottom: 0;
	right: 0;
	width: 80px;
	height: auto;
	background: url(../img/bg_body-cb.jpg) repeat-y left top;
}

#frame div.t {
	left: 0;
	top: 0;
	right: 0;
	height: 80px;
	background: url(../img/bg_body-ca.jpg) repeat-x center -320px;
}

#frame div.t div.l {
	left: 0;
	width: 80px;
	background: url(../img/bg_body-ca.jpg) repeat-x left top;
}

#frame div.t div.r {
	right: 0;
	width: 80px;
	background: url(../img/bg_body-ca.jpg) repeat-x left -80px;
}

#frame div.b {
	left: 0;
	bottom: 0;
	right: 0;
	height: 80px;
	background: url(../img/bg_body-ca.jpg) repeat-x center -400px;
}

#frame div.b div.l {
	left: 0;
	width: 80px;
	background: url(../img/bg_body-ca.jpg) repeat-x left -160px;
}

#frame div.b div.r {
	right: 0;
	width: 80px;
	background: url(../img/bg_body-ca.jpg) repeat-x left -240px;
}

#content { position: relative; }

/* Tipografia
----------------------------- */
body { font-family: Helvetica, Arial, sans-serif; }

h1 {
	font-size: 58px;
	color: #979797;
	line-height: 69px;
	letter-spacing: -5px;
	margin-bottom: 62px;
}

h1 strong { color: #352e45; }

h2 {
	font-size: 26px;
	color: #979797;
	text-transform: uppercase;
	letter-spacing: -2px;
	background: #fbfbde url(../img/bg_body.jpg) repeat;
	display: inline;
	padding: 0 12px;
}

h3 {
	font-size: 18px;
	text-transform: uppercase;
	color: #979797;
	float: right;
	background: transparent url(../img/icons.gif) no-repeat left -108px;
	padding-left: 17px;
	margin-top: 14px;
}

/* Menu
----------------------------- */

#menu {
	background: transparent url(../img/dot-h.gif) repeat-x center 9px;
	position: relative;
}

#menu ol {
	background: transparent url(../img/dot-h.gif) repeat-x center bottom;
	padding: 0;
	overflow: hidden;
	margin-top: 9px;
	padding-bottom: 29px;
}

#menu li {
	display: block;
	float: left;
}

#menu a:link,
#menu a:visited {
	background-position:left top;
	display:block;
	text-decoration: none;
	text-indent: -9999px;
}

.portfolio {
	background: url(../img/menu_portfolio.gif) right bottom;
	margin: 8px 60px 0 4px;
}

.portfolio a {
	width: 144px;
	height: 197px;
	background-image: url(../img/menu_portfolio.gif);
}

.notebook {
	background: url(../img/menu_notebook.gif) right bottom;
	margin: 7px 16px 0 0;
}

.notebook a {
	width: 165px;
	height: 197px;
	background-image: url(../img/menu_notebook.gif);
}

.twitter {
	background: url(../img/menu_twitter.gif) right bottom;
	margin: 18px 15px 0 0;
}

.twitter a {
	width: 298px;
	height: 163px;
	background-image: url(../img/menu_twitter.gif);
}

.blip { background: url(../img/menu_blip.gif) right bottom; }

.blip a {
	width: 222px;
	height: 209px;
	background-image: url(../img/menu_blip.gif);
}

/* Footer
----------------------------- */

#footer ul { overflow: hidden; }

#footer li {
	float: left;
	padding: 0 32px 0 6px;
	margin: 5px 0;
	background: transparent url(../img/dot-v.gif) repeat-y left -2px;
	font: italic 12px Georgia, 'Times New Roman', Times, serif;
	color: #979797;
}

#footer li.facebook { background: none; }

#footer li.proud { padding-left: 16px; }

#footer a:link,
#footer a:visited {
	color: #696969;
	text-transform: lowercase;
	font: normal 18px/36px Helvetica, Arial, sans-serif;
	text-decoration: none;
	display: block;
	letter-spacing: -1px;
}

#footer a:hover { color: #c56f00; }

#footer li.proud a:link,
#footer li.proud a:visited {
	display: inline;
	text-transform: uppercase;
	margin-left: 0.25em;
}

.facebook a {
	background: url(../img/icons.gif) no-repeat 3px -67px;
	padding: 0 10px 0 37px;
}

.linkedin a {
	background: url(../img/icons.gif) no-repeat 10px -31px;
	padding: 0 10px 0 42px;
}

.contact a {
	background: url(../img/icons.gif) no-repeat 10px 6px;
	padding: 0 10px 0 45px;
}

/* Contact
----------------------------- */

#contact {
	display:none;
	background: #060717;
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	padding: 31px 27px;
}

#close {
	position: absolute;
	width: 19px;
	height: 19px;
	top: 7px;
	right: 7px;
	background: transparent url(../img/icons.gif) no-repeat left -173px;
	text-indent: -9999px;
	overflow: hidden;
	cursor: pointer;
}

#close:hover { background-position: left -205px; }

#contact label { display:none; }

#contact div.left { float: left; }

#contact div.right { float: right; }

#contact div.form-item {
	width:414px;
	padding: 6px 6px 9px;
	background: url(../img/dot-formitem.gif) repeat left top;
}

#contact div.form-item-focus { background-image: url(../img/dot-formitem-focus.gif); }

#contact .left div.form-item { margin-bottom: 24px; }

#contact form p {
	font-size: 13px;
	text-transform: lowercase;
	color: #7a7973;
	text-align: left;
	margin-top: 56px;
}

#contact input,
#contact textarea {
	background: #060717;
	display:block;
	border: none;
	font: 18px Helvetica, Arial, sans-serif;
	margin: 0;
}

#contact input.form-text,
#contact textarea {
	color: #9c9c9b;
	padding: 10px 7px 12px;
	width: 400px;
}

#contact input.error,
#contact textarea.error { color: #c33; }

#contact input.form-text { font-weight: bold; }

#contact input.form-submit {
	background: transparent url(../img/bg_submit.gif) repeat left top;
	text-indent: -9999px;
	width: 106px;
	height: 21px;
	margin: 5px auto 0;
	cursor: pointer;
}

#contact input.form-submit:hover { background-position: left bottom; }

#contact textarea {
	height: 172px;
	overflow: auto;
}

#footer li.contact-active {
	background: #060717;
	padding-top: 5px;
	margin-top: 0;
	margin-right: -6px;
	padding-right: 38px;
	position: relative;
}

.contact-active a { background-position: 10px -133px; }

#loading,
#message {
	display: none;
	width: 100%;
	height: 100%;
}

#loading { background: transparent url(../img/loader.gif) no-repeat center center; }

#message.success { background: transparent url(../img/msg_success.gif) no-repeat center center; }

#message.error { background: transparent url(../img/msg_error.gif) no-repeat center center; }

/* Cufon
----------------------------- */
.cufon-active h1,
.cufon-active h2,
.cufon-active #footer a:link,
.cufon-active #footer a:visited { letter-spacing: normal; }
