@import url('reset.css');
@import url('grid.css');
@import url('plugins.css');

::selection {
	background: #000;
	color: #fff;
}

::-moz-selection {
	background: #000;
	color: #fff;
}

html {
	background: #fff url(../images/background.jpg) 0 0 no-repeat;
	font: 69%/1.4 Helvetica, Arial, sans-serif; /* set base size to 11px */
	-webkit-font-smoothing: subpixel-antialiased; /* auto/none/antialiased/subpixel-antialiased */
	text-rendering: optimizeLegibility;
}

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}

#container,
.grid-1,
.grid-2,
.grid-3,
.grid-4,
.grid-5,
.grid-6,
.grid-7,
.grid-8,
.grid-9,
.grid-10 {
	overflow: hidden;
	outline: solid 0px #f0f;
}

#container {
	margin-top: 30px;
}

header {
	position: relative;
}

@-webkit-keyframes rotate {
	0% {
		-webkit-transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
	}
}

@-webkit-keyframes rotate2 {
	0% {
		-webkit-transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(-360deg);
	}
}

#badge {
	position: absolute;
	display: block;
	top: 0;
	right: 0;
	width: 155px;
	height: 155px;
	overflow: hidden;
	background: url(../images/badge_star.png) 0 0 no-repeat;
	-webkit-animation-name: rotate;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	-webkit-animation-duration: 8s;
}

#badge span {
	position: absolute;
	display: block;
	top: 0;
	right: 0;
	width: 155px;
	height: 155px;
	background: url(../images/badge_text.png) 0 0 no-repeat;
	-webkit-animation-name: rotate2;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	-webkit-animation-duration: 8s;
}

#navigation {
	border-top: dotted 1px #000;
	border-bottom: dotted 1px #000;
}

#navigation li, #footer li {
	display: inline;
	margin-right: 10px;
	font-family: Georgia, Times New Roman, Times, serif;
}

#navigation li a, #footer li a {
	font-size: 1.2em;
	color: #999;
	text-decoration: none;
	display: inline-block;
	padding: 5px 7px 3px 7px;
	-webkit-transition: all 0.15s linear;
}

#navigation li.active a, #footer li.active a, #navigation li a:hover, #footer li a:hover, #navigation li a:focus, #footer li a:focus {
	background: #333;
	color: #fff;
}

#content {
	margin-top: 20px;
	margin-bottom: 20px;
}

#content h1 {
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 10px;
}

#content h2 {
	font-weight: bold;
}

#content .grid-text {
	font-size: 1.2em;
	margin-left: 7px;
}

#content .grid-text p {
	margin-bottom: 10px;
}

#content .gallery li {
	display: inline;
}

#content .gallery li:nth-child(even) a, #content .gallery .even a {
	margin-right: 0;
}

#content .gallery li a {
	display: inline-block;
	border: solid 1px #333;
	margin: 0 18px 18px 0;
	-webkit-transition: all 0.15s linear;
}

#content .gallery li a:hover {
	opacity: 0.7;
}

#content .gallery img {
	display: block;
	width: 120px;
	height: 120px;
	background: #333;
}

#content #gallery-container {
	margin-bottom: 10px;
}

#content #gallery-container img {
	border: solid 1px #333;
	display: block;
}

#content #gallery-text {
	font-size: 1.2em;
}

.page-autor .col2 img {
	max-width: 553px; /* fix the author image */
}

#footer {
	border-top: dotted 1px #000;
	margin-bottom: 30px;
}

#footer #fb-like iframe {
	position: relative;
	top: 7px;
	display: inline-block;
	border: 0;
	overflow: hidden;
	width: 90px;
	height: 21px;
}

@media all and (orientation:portrait) { 
}

@media all and (orientation:landscape) { 
}

@media screen and (max-width: 480px) {
	/* enhancements for small screens < 480 */
	.grid-1,
	.grid-2,
	.grid-3,
	.grid-4,
	.grid-5,
	.grid-6,
	.grid-7,
	.grid-8,
	.grid-9,
	.grid-10 {
		float: none;
		display: block;
		margin: 0;
		width: auto !important;
	}
	
	#container {
		width: 100%;
		margin: 0;
	}
	
	#logo {
		width: 300px;
		overflow: hidden;
		margin: -20px auto 0 auto;
	}
	
	#navigation, #footer, header {
		width: 100%;
		text-align: center;
	}
	
	#navigation ul {
		
	}
	
	#content {
		padding: 0 8px;
	}
	
	#content img {
		max-width: 100%;
	}
	
	#content .col2 {
		border-top: solid 1px #eee;
		padding-top: 10px;
	}
	
	#content .gallery li a {
		margin: 0 5px 5px 0 !important;
	}
	
	#content .gallery img {
		display: block;
		width: 65px;
		height: 65px;
		background: #333;
	}
}

@media screen and (min-width: 481px) {
	
}

@media screen and (min-width: 1601px) {
	/* enhancements for large screens < 1600 */
	html {
		/* font-size: 81.3%; */ /* 13px base size */
	}
}

/* EOF */