/***TYPOGRAPHY***/
/* 	Embed fonts	*/
@font-face {font-family: 'PerspectiveSansRegular';
			src: url('../fonts/persans.eot');
			src: local('Perspective Sans Regular'), local('PerspectiveSans'), url('../fonts/persans.woff') format('woff'), url('../fonts/persans.ttf') format('truetype'), url('../fonts/persans.svg#PerspectiveSans') format('svg')}
@font-face {font-family: 'PerspectiveSansBold';
			src: url('../fonts/persansb.eot');
			src: local('Perspective Sans Bold'), local('PerspectiveSansBold'), url('../fonts/persansb.woff') format('woff'), url('../fonts/persansb.ttf') format('truetype'), url('../fonts/persansb.svg#PerspectiveSansBold') format('svg')}
/*	Definitions	*/
body{font:normal 14px/22px PerspectiveSansRegular,"Trebuchet MS", "Lucida Grande", Tahoma, sans-serif;background:#fff;color:#5a5a5a}
strong,
h3		{font-family: PerspectiveSansBold,"Trebuchet MS", "Lucida Grande", Tahoma, sans-serif;font-weight: bold;color:#000}
h1,
h2,
h3		{margin-bottom: 0}
h1		{font-size:22px;color:#5a5a5a}
h2		{margin-top:22px;font-size:18px}
h3		{margin-top: 11px}
p		{margin-top: 11px;text-align: justify}
a		{text-decoration:underline}
a:hover,
a:focus {border-bottom-color: #5a5a5a}
em	{border-bottom: 1px solid #959595;color:#000}
ul,
ol {list-style: outside square;margin:5px 22px -6px 37px;font-size: 12px;color:#5a5a5a}
ol {list-style: outside decimal}
cite		{color: #5a5a5a;font-size: 12px}
blockquote	{margin:11px 22px;color:#5a5a5a;text-align: justify;border-left: 2px solid #959595;padding:8px}
.figure		{margin: 11px 0}
.figure img {display:block;padding: 3px;border:1px solid #ccc;margin:0 auto;background: #fff}
.figure p	{text-align: center;font-size: 12px;line-height: 14px;color:#5a5a5a;margin: 3px 0 0}
.aside		{float: left;margin:0 5px 5px 0}
/*	Form	*/
fieldset	{margin:11px -5px 11px 0;padding:5px}
input[placeholder],
textarea	{display: block;width:250px;padding:2px;border:1px solid #f0f0f0;border-bottom: 1px solid #ddd;border-right: 1px solid #ddd}
textarea	{height:88px;overflow: auto}
input[type=submit]	{display:block;width: 60px;margin:11px 95px}
label		{display:block;margin: 11px auto 22px;line-height: 1}
/*	Links	*/
a:link,
a:visited,
a:hover,
a:focus,
a:active {color:#333}
a:visited {color:#959595}
a:hover,
a:focus,
a:active {color:#000;text-decoration:none}


/***BASIC LAYOUT***/
/* Stuff for scrolls */
body		{overflow: hidden}
#wrapper	{position: absolute;top:0;left:0;right:0;bottom:0;overflow: auto}
::-webkit-scrollbar 								{width: 9px;height: 9px}
::-webkit-scrollbar-button:vertical:start:increment,
::-webkit-scrollbar-button:vertical:end:decrement	{display: none}
::-webkit-scrollbar-track-piece 					{background: #959595}
::-webkit-scrollbar-thumb 							{background: #5a5a5a}
/* diagramação */
.nav,
.content	{bottom:0;left:0;border-color: #ccc;border-style: solid}
.nav		{position:fixed;border-right-width: 4px;top:0;width:220px;z-index:100}
.content	{border-top-width: 4px;right:0;padding:22px 22px 22px 242px}

/***NAVIGATION***/
/*	Split	*/
.content,
.nav > ul		{position:absolute;top:20%}
#home .content,
#home .nav ul{top:60%}
.nav ul		{list-style: none;margin: 25px 22px 22px 22px;font-size: 14px} /* margin-top = .content{top-padding} + .content{border-top} */
/*	Links styling	*/
.nav a		{color: #959595;background: url(../images/bg-list-0.png) no-repeat 0 7px;padding-left: 12px;display:block;width: 100%;text-decoration:none;
			-webkit-transition:0.2s padding ease;
			-moz-transition:0.2s padding ease;
			transition:0.2s padding ease}
.nav a:hover{background: url(../images/bg-list-1.png) no-repeat 0 7px;padding-left:18px;color:#5a5a5a}
/*	Home	*/
.nav .home	{margin-bottom: 22px}
.nav .home a{background: url(../images/logo-small.png) no-repeat;display: block;width: 180px;height: 26px;text-indent: -9999px}
/*	Sub menu	*/
.nav ul ul	{margin: 0 6px;border-left:2px solid #eee;height:0;overflow: hidden;
			-webkit-transition:0.4s all ease;
			-moz-transition:0.4s all ease;
			transition:0.4s all ease} /* Sub-menu */
.nav li:hover ul 	{height: 88px} /* height = 4 * line-height */
.nav ul ul a		{background: none;padding-left: 5px}
.nav ul ul a:hover	{background: none;padding-left: 11px}

/***SPECIFICS***/
/*	Home	*/
#home h1{position:relative;display: block;height: 74px;width: 510px;background: url(../images/logo.png);text-indent: -9999px;top:50%;margin:-37px auto 0}
/*	Categorias	*/
.categorias		{list-style: none;margin: 0}
.categorias > li	{clear:both;position:relative;overflow:hidden}
.categorias h2	{border-bottom:1px solid #f0f0f0}
.categorias p		{position:absolute;left:352px}
.categorias ul	{margin:11px 0 0;padding:0 11px 0 0;list-style:none;width: 330px;float: left;border-right:1px solid #f0f0f0}
.categorias ul li	{float:left}
.categorias ul .second {margin:0 2px 0 0}
.categorias ul .third {margin:0 0 0 2px}
/*	Projetos	*/
.projetos		{list-style:none;margin:0 0 22px;overflow:hidden}
.projetos li	{float:left;width:25%;min-width:232px;max-width:276px;margin:22px 22px 22px 0;border:1px solid #ccc;padding:5px;
				-webkit-box-shadow:0 1px 5px rgba(204,204,204,.65);
				-moz-box-shadow:0 1px 5px rgba(204,204,204,.65);
				box-shadow:0 1px 5px rgba(204,204,204,.65)}
.projetos img	{display:block;margin:11px auto}
.projetos h2	{margin:0}
.projetos p		{margin:0;border-top:1px solid #f0f0f0}
/*	Projetos Internas	*/
/*	No javascript	*/
.gallery a		{border-bottom: none;display: block}
.gallery,
.gallery ul		{list-style: none;margin:5px 0 37px;font-size: 14px;color:#5a5a5a}
.gallery > li	{display: block;clear: both;overflow: hidden;padding: 5px;margin: -5px}
.gallery ul li	{float: left;margin: 5px}
.gallery ul a	{border: 1px solid #eee;line-height: 1}
.gallery ul img	{margin: 3px}
