@font-face {
    font-family: 'MyriadPro';
    src: url('fonts/MyriadPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* CSS Mini Reset */
* {margin: 0;padding: 0;}
table {	border-collapse: collapse;border-spacing: 0;}
th, td {text-align: left;vertical-align: top;}
h1, h2, h3, h4, h5, h6, th, td, caption {font-weight:normal;}
img, button {border: 0;}
.clear { clear:both; }
.left { float:left; }
.right { float:right; }
/* animação */
.animate { -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; backface-visibility: hidden; -webkit-animation-duration: 1s; -webkit-animation-delay: .2s; -webkit-animation-timing-function: ease; -webkit-animation-fill-mode: both; -moz-animation-duration: 1s;-moz-animation-delay: .2s; -moz-animation-timing-function: ease; -moz-animation-fill-mode: both; -ms-animation-duration: 1s; -ms-animation-delay: .2s; -ms-animation-timing-function: ease; -ms-animation-fill-mode: both; animation-duration: 1s; animation-delay: .2s; animation-timing-function: ease; animation-fill-mode: both; }
/* CSS Mini Reset End */

body {
	background: #d9dcdf url(../images/bg.png) repeat;
	color: #000;
}

#geral {
	width: 800px;
	margin: 20px auto;
}

@media screen and (max-width:767px){
	#geral {
		width: 320px;
		margin: 20px auto;
	}
}


header {
	display: block;
	height: 75px;
	margin: 0 0 20px 0;
}
header #logo { float: left; }
header #logo h1 {
	background: url(../images/logo_danilowm.png) no-repeat;
	text-indent: -9999px;
	width: 213px;
	height: 45px;
}
header #logo h1:hover {
	-webkit-animation-name: tada;
	-moz-animation-name: tada;
	animation-name: tada;
}
header #logo h2 { display: none; }

header nav { float: right; }
header nav ul {
	list-style: none;
	margin: 0 0 5px 0;
}
header nav ul li {
	display: inline-block;
	*display: inline; /* IE 7 */
	background: url(../images/sprite_socials.png) no-repeat;
	width: 26px;
	height: 25px;
	text-indent: -9999px;
}
header nav ul li.b { background-position: 0 -78px; }
header nav ul li.b:hover { background-position: 0 -52px; }
header nav ul li.f { background-position: 0 -235px; }
header nav ul li.f:hover { background-position: 0 -209px; }
header nav ul li.l { background-position: 0 -130px; }
header nav ul li.l:hover { background-position: 0 -104px; }
header nav ul li.t { background-position: 0 -182px; }
header nav ul li.t:hover { background-position: 0 -156px; }
header nav ul li.s { background-position: 0 -26px; }
header nav ul li.s:hover { background-position: 0 0; }
header nav ul li.b:hover,
header nav ul li.f:hover,
header nav ul li.l:hover,
header nav ul li.t:hover,
header nav ul li.s:hover {
	-webkit-animation-name: pulse;
	-moz-animation-name: pulse;
	animation-name: pulse;
}
header nav ul li a {
	display: block;
	width: 26px;
	height: 25px;
}
header nav address {
	text-align: right;
	font: 12px MyriadPro, Arial, Serif;
	color: #000;
}
header nav address span { color: #cc3300; }
header nav address a {
	text-decoration: none;
	color: #000;
}
header nav address a:hover { text-decoration: underline; }



section#projetos {
	margin: 0 auto;
}
section#projetos ul {
	list-style: none;
}
section#projetos ul li {
	display: block;
	float: left;
	width: 355px;
	margin: 0 22px 40px 22px;
	padding: 0 0 10px 0;
	border-bottom: 1px solid #9DB4C4;
}
section#projetos ul li img {
	-webkit-box-shadow: 0px 0px 5px 1px #c9d0d1;
	-moz-box-shadow: 0px 0px 5px 1px #c9d0d1;
	box-shadow: 0px 0px 5px 1px #c9d0d1;
}
section#projetos ul li span.overlay {
	position: absolute;
	overflow: hidden;
	width: 355px;
	height: 205px;
	background: transparent url(../images/overlay.png) 0 0 no-repeat;
	display: none;
	cursor: pointer;
	text-indent: -9999px;
}
section#projetos ul li span.overlay a {
	display: block;
	width: 355px;
	height: 205px;
}
section#projetos ul li h3 {
	text-transform: lowercase;
	font: bold 15px MyriadPro, Arial, Serif;
	color: #C30;
}
section#projetos ul li em {
	text-transform: uppercase;
	font: 11px MyriadPro, Arial, Serif;
	color: #000;
}
section#projetos ul li h3,
section#projetos ul li em {
	display: block;
	padding-left: 10px;
}

footer {
	background: url(../images/footer.png) repeat-x bottom;
	height: 100px;
	text-align: center;
}
footer .konami img { margin: 70px 0 0 0; }

#toTop {
	display: none;
	text-decoration: none;
	position: fixed;
	bottom: 10px;
	right: 10px;
	overflow: hidden;
	width: 51px;
	height: 51px;
	border: none;
	text-indent: -999px;
	background: url(../images/top.png) no-repeat left top;
}
#toTopHover {
	background: url(../images/totop.png) no-repeat left -51px;
	width: 51px;
	height: 51px;
	display: block;
	overflow: hidden;
	float: left;
	opacity: 0;
	-moz-opacity: 0;
	filter: alpha(opacity=0);
}
#toTop:active,
#toTop:focus { outline: none; }