/* @override 
	http://arturomartin:8888/css/main.css
	http://mine.local.com/css/main.css
	http://raken.local.com/css/main.css */

/* 

Project: AM Estudio de diseño
Site URI: http://arturomartin.es
Version: 1.0
Author: Arturo Martín
Author URI: http://arturomartin.es
Copyright: All rights reserved

 */


/* RESET
---------------------------------------------------------------*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0b1 | 201101 
   NOTE: WORK IN PROGRESS
   USE WITH CAUTION AND TEST WITH ABANDON */

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, 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,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define visible focus styles! 
:focus {
	outline: ?????;
} */

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

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* MAIN
---------------------------------------------------------------*/

html {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body {
	color: #717373;
	font: .75em/1.7em "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	background: url(../img/bck.jpg) white;
}	

::selection {
	background-color: #4b4b4b;
	color: white;
}

::-moz-selection {
	background-color: #4b4b4b;
	color: white;
}

a:link,
a:visited {
	color: #0c7ecf;
	transition: color .3s ease;
	-webkit-transition: color .3s ease;
	-moz-transition: color .3s ease;
	-o-transition: color .3s ease;
	text-decoration: none;
}

a:hover {
	color: #4a4e4e;
}

header,
section,
footer {
	display: block;
}

header,
#portfolio,
#services,
#contact,
#social,
footer {
	width: 960px;
	margin: 0 auto;
}

header {
	overflow: hidden;
	padding-top: 30px;
	padding-bottom: 30px;
}

header h1 {
	width: 247px;
	height: 76px;
	background: url(../img/logo.png) no-repeat;
	float: left;
	text-indent: -9999px;
}

header p {
	text-align: right;
	font: 3.3em/0.9em "Imprima",sans-serif;
	color: #4b4b4b;
	float: right;
	width: 530px;
}

header span {
	font-family: Baskerville, Palatino, "Book Antiqua", serif;
	font-style: italic;
	color: #0b87d5;
}

/* PORTFOLIO
---------------------------------------------------------------*/

#portfolio {
	overflow: hidden;
	padding-bottom: 40px;
	padding-top: 40px;
}

#projectViewer {
	display: none;
	background: url(../img/viewerBck.png) repeat-x #ebebeb;
	overflow: hidden;
	padding-bottom: 20px;
	margin-bottom: 0;
}

#container {
	width: 940px;
	margin: 0 auto;
	padding-top: 45px;
	position: relative;
	min-height: 450px;
}

#pImg {
	width: 620px;
	float: left;
	/*background: url(../img/loading.gif) no-repeat center center;*/
	position: relative;
	overflow: hidden;
}

#pImg li {
	width: 100%;
	position: relative;
	float: left;
	margin-right: -100%;
}

#pImgNav {
	position: absolute;
	width: 300px;
	right: 0;
	bottom: 0;
	height: 15px;
}

#pImgNav nav li {
	display: inline;
	margin-right: 5px;
	padding: 0 !important;
	background-image: none !important;
}

#pImgNav nav li a {
	display: inline-block;
	width: 16px;
	height: 16px;
	text-indent: -9999px;
	background: url(../img/radio.png) no-repeat 0 0;
}

#pImgNav nav li a:hover {
	background: url(../img/radio.png) no-repeat -49px 0;
}

#pImgNav nav li a.current {
	background: url(../img/radio.png) no-repeat -24px 0;
}

#pDesc {
	float: right;
	width: 300px;
}

#pDesc h2 {
	margin-bottom: 20px;
	font: normal 1.4em "Imprima",sans-serif;
	border-bottom: 1px solid #b8b8b8;
	padding-bottom: 10px;
	color: #323232;
}

#pDesc ul {
	line-height: 18px;
	margin-bottom: 20px;
	font-size: 1.1em;
}

#pDesc ul li {
	background: url(../img/check.png) no-repeat 0 center;
	padding-left: 15px;
}

#pDesc ul#workLinks li {
	background: none;
	padding-left: 0;
}

#pDesc p {
	margin-bottom: 20px;
}

#workLinks {
	display: none;
}

a.extLink {
	background: url(../img/link.png) no-repeat;
	padding-left: 20px;
	padding-bottom: 2px;
	padding-top: 1px;
}

#close {
	display: block;
	width: 57px;
	height: 59px;
	position: absolute;
	top: -10px;
	right: 0;
	background: url(../img/close.png) no-repeat;
	text-indent: -9999px;
}

#pNav {
	
}

/*#pNav a {
	position: absolute;
	display: block;
	height: 32px;
	float: left;
	text-indent: -9999px;
	transition: background-color .3s ease;
	-webkit-transition: background-color .3s ease;
	-moz-transition: background-color .3s ease;
	-o-transition: background-color .3s ease;
}

#prev {
	background: url(../img/prevNextWide.png) no-repeat left #bbb9b9;
	width: 22px;
	top: 220px;
	left: -50px;
}

#next {
	background: url(../img/prevNextWide.png) no-repeat right #bbb9b9;
	width: 22px;
	top: 220px;
	right: -50px;
}

#prev:hover {
	background: url(../img/prevNextWide.png) no-repeat left #a6a6a6;
}

#next:hover {
	background: url(../img/prevNextWide.png) no-repeat right #a6a6a6;
}*/

#pNav {
	width: 93px;
	position: absolute;
	top: -10px;
	left: 0;
}

#pNav a {
	display: block;
	height: 59px;
	float: left;
	text-indent: -9999px;
}

#prev,
#prev:hover {
	position: absolute;
	top: 0;
	left: 0;
	background: url(../img/prevNext.png) no-repeat left;
	width: 46px;
}

#next,
#next:hover {
	position: absolute;
	top: 0;
	right: 0;
	background: url(../img/prevNext.png) no-repeat right;
	width: 47px;
}

#portfolio h2 {
	display: none;
}

#portfolio h2,
#services h2,
#contact h2,
#social h2 {
	font: normal 200 2.4em "Imprima",sans-serif;
	background: url(../img/line.png) repeat-x 0 center;
	color: #797d84;
	margin: 20px 10px 80px;
	text-align: center;
	height: 1px;
}

#portfolio h2 span,
#services h2 span,
#contact h2 span,
#social h2 span {
	display: none;
	background-color: white;
	padding: 0 30px;
}

.project,
.service,
.socialBlock {
	float: left;
	margin-right: 10px;
	margin-left: 10px;
	margin-bottom: 20px;
	position: relative;
	width: 300px;
}

.project img,
.project a {
	display: block;
}

.project img {
	padding: 1px;
	border: 1px solid #aaaaaa;
}

.project p {
	background-color: rgba(255, 255, 255, 0.80);
	position: absolute;
	left: 2px;
	width: 100%;
	text-align: center;
	height: 200px;
	bottom: 2px;
	opacity: 0;
	filter: alpha(opacity=0);
	-webkit-transition: opacity 0.4s ease-in-out;
	-moz-transition: opacity 0.4s ease-in-out;
	-o-transition: opacity 0.4s ease-in-out;
	-ms-transition: opacity 0.4s ease-in-out;
	transition: opacity 0.4s ease-in-out;
}

.project a {
	color: white;
	text-decoration: none;
	font-size: 1.2em;
}

.project span {
	position: absolute;
	left: 0;
	bottom: 40%;
	width: 100%;
	background-color: #3f4141;
	padding-top: 10px;
	padding-bottom: 10px;
	opacity: 0;
	filter: alpha(opacity=0);
}

.project a:hover p,
.project a:hover p span,
.project.current a p,
.project.current a p span {
	opacity: 1;
	filter: alpha(opacity=100);
}

#services {
	clear: both;
	overflow: hidden;
	padding-bottom: 30px;
}

.service {
	text-align: center;
}

.service h3 {
	margin-bottom: 20px;
	padding-top: 80px;
	color: #191919;
	font: normal 400 1.4em "Imprima",sans-serif;
}

#web {
	background: url(../img/wb.png) no-repeat center top;
}

#apps {
	background: url(../img/app.png) no-repeat center top;
}

#seo {
	background: url(../img/seo.png) no-repeat center top;
}

/* CONTACT
---------------------------------------------------------------*/

#contact {
	overflow: hidden;
	padding-bottom: 50px;
}

#contactInfo {
	width: 300px;
	float: left;
}

#contactInfo p {
	margin-bottom: 20px;
}

#contact ul {
	overflow: hidden;
}

#contactExtras li {
	padding-right: 30px;
	padding-top: 5px;
	padding-bottom: 5px;
}

#contact li a {
	display: block;
	padding-left: 30px;
}

#li a {
	background: url(../img/social.png) no-repeat 0 -96px;
}

#dr a {
	background: url(../img/social.png) no-repeat 0 -2px;
}

#tw a {
	background: url(../img/social.png) no-repeat 0 -35px;
}

#de a {
	background: url(../img/social.png) no-repeat 0 -129px;
}

#fl a {
	background: url(../img/social.png) no-repeat 0 -66px;
}

#contact form {
	width: 620px;
	float: right;
}

.fieldBlock {
	width: 300px;
	float: left;
	margin-right: 10px;
}

.fieldBlock.w {
	clear: both;
	width: 620px;
}

.fieldBlock label {
	display: block;
}

.fieldBlock input {	
	width: 280px;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
}

.fieldBlock select {
	width: 290px;
	margin-top: 9px;
	margin-bottom: 30px;
}

.fieldBlock textarea {
	width: 590px;
	height: 100px;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
}

.fieldBlock input,
.fieldBlock textarea {
	border: 1px solid #cfcfcf;
	padding: 10px;
	margin-bottom: 20px;
	font: 1em/1.7em "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #969999;
}

/*@-webkit-keyframes pulse {
	0% {
		-webkit-box-shadow: 0 0 6px rgb(11, 135, 213, 0.2);
	}
	
	50% {
		-webkit-box-shadow: 0 0 6px rgba(11, 135, 213, 0.9);
	}
	
	100% {
		-webkit-box-shadow: 0 0 6px rgba(11, 135, 213, 0.2);
	}
}*/

.fieldBlock input:focus,
.fieldBlock textarea:focus {
	border-color: #949494;
	outline: none;
	color: black;
	box-shadow: 0 0 5px #40b5e2;
	-moz-box-shadow: 0 0 5px #40b5e2;
	-webkit-box-shadow: 0 0 5px #40b5e2;
	/*-webkit-animation: pulse 2s infinite ease-in-out;*/
}

input[type=submit] {
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	display: block;
	clear: both;
	float: left;
	margin-right: 30px;
	border: 1px solid #cfcfcf;
	background-color: #f2f3f5;
	font: 1em/1.7em "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	padding: 5px 20px;
	color: #767676;
	cursor: pointer;
}

input[type=submit]:hover {
	box-shadow: 0 0 5px #40b5e2;
	-moz-box-shadow: 0 0 5px #40b5e2;
	-webkit-box-shadow: 0 0 5px #40b5e2;
	border: 1px solid #a7a7a7;
	background-color: #e9edef;
}

input[type=submit]:active {
	box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.4), 0 0 5px #40b5e2;
	-moz-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.4), 0 0 5px #40b5e2;
	-webkit-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.4), 0 0 5px #40b5e2;
	border: 1px solid #a7a7a7;
	background-color: #0a87d5;
	color: white;
}

#status {
	float: left;
	padding-top: 8px;
}

#sending {
	display: none;
	background: url(../img/loadingContact.gif) no-repeat 0 center;
	padding-left: 20px;
}

#success {
	display: none;
	background: url(../img/contactIcons.png) no-repeat 0 4px;
	padding-left: 15px;
}

#error {
	display: none;
	background: url(../img/contactIcons.png) no-repeat 0 -15px;
	padding-left: 15px;
}

#validation {
	display: none;
	background: url(../img/contactIcons.png) no-repeat 0 -15px;
	padding-left: 15px;
}


/* SOCIAL
---------------------------------------------------------------*/

#social {
	clear: both;
	padding-bottom: 30px;
}

#tweet li {
	margin-bottom: 20px;
}

#flickr img {
	display: block;
	float: left;
	margin: 12px;
}

#delicious h2 {
	display: none;}

.delicious-post {
	margin-bottom: 20px;
}

#delicious p {
	font-size: 1em;
}

/* FOOTER
---------------------------------------------------------------*/

footer {
	clear: both;
	padding-top: 70px;
	padding-bottom: 30px;
}

#copyright {
	text-align: center;
	color: #a9a9a9;
}

footer span {
	font-family: Baskerville, Palatino, "Book Antiqua", serif;
	font-style: italic;
	color: 
	#0b87d5;
}

/* MEDIA QUERIES
---------------------------------------------------------------*/

@media only screen and (max-width: 1040px) {
	#pNav {
		width: 93px;
		position: absolute;
		top: -10px;
		left: 0;
	}
	
	#pNav a {
		display: block;
		height: 59px;
		float: left;
		text-indent: -9999px;
	}
	
	#prev,
	#prev:hover {
		position: absolute;
		top: 0;
		left: 0;
		background: url(../img/prevNext.png) no-repeat left;
		width: 46px;
	}
	
	#next,
	#next:hover {
		position: absolute;
		top: 0;
		right: 0;
		background: url(../img/prevNext.png) no-repeat right;
		width: 47px;
	}
}

@media only screen and (max-width: 960px) {
	header,
	#container,
	#portfolio,
	#services,
	#contact,
	#social,
	footer {
		width: 620px;
		overflow: hidden;
	}
	
	header {
		padding-bottom: 25px;
	}
	
	header p {
		width: 60%;
		font-size: 2.3em;
		padding-top: 15px;
	}
	
	#container {
		padding-top: 50px;
	}
	
	#pImg {
		width: 620px;
		margin-bottom: 20px;
		margin-right: auto;
		margin-left: auto;
		float: none;
	}
	
	#pDesc {
		position: relative;
		padding-top: 50px;
		width: 620px;
		margin: 0 auto;
		float: none;
	}
	
	#pImgNav {
		position: absolute;
		width: 100%;
		top: 0;
		right: 0;
	}
	
	#pImgNav nav {
		display: table;
		margin: 0 auto;
	}
	
	.project {
		margin-right: 5px;
		margin-left: 5px;
	}
	
	.service {
		width: 150px;
		margin-right: 28px;
		margin-left: 28px;
	}
	
	.socialBlock {
		width: 150px;
		margin-right: 28px;
		margin-left: 28px;
	}
	
	#flickr img {
		margin: 0 8px 5px 0;
		width: 45%;
		height: auto;
	}
	
	#contactInfo {
		width: 150px;
		margin-left: 10px;
	}
	
	#contact form {
		width: 400px;
	}
	
	.fieldBlock,
	.fieldBlock.w {
		width: 100%;
		margin-right: 0;
		overflow: visible;
	}
	
	.fieldBlock input,
	.fieldBlock textarea {
		width: 376px;
	}
		
	.fieldBlock select {
		width: 100%;
	}
}

@media	only screen and (max-device-width: 480px),
		screen and (max-width: 640px) {
	header,
	#services,
	#contact,
	#social,
	footer {
		width: 100%;
		overflow: hidden;
	}
	
	#portfolio h2,
	#services h2,
	#contact h2,
	#social h2 {
		margin-bottom: 40px;
	}
	
	header {
		padding-top: 30px;
	}

	header h1 {
		width: 247px;
		height: 76px;
		background: url(../img/logo.png) no-repeat;
		text-indent: -9999px;
		margin: 0 auto;
		float: none;
	}

	header p {
		text-align: center;
		font: 2.5em/0.9em "Imprima",sans-serif;
		color: #4b4b4b;
		float: none;
		clear: both;
		width: 100%;
		padding-top: 30px;
	}
	
	#projectViewer {
		background: url(../img/viewerBck.png) repeat-x #ebebeb;
		-webkit-background-size: 50% 50%;
	}
	
	
	#pImgNav nav li a {
		margin-right: 7px;
		margin-left: 7px;
	}
	
	#contact {
		padding-bottom: 20px;
	}
	
	#services {
		padding-bottom: 0;
	}
	
	footer {
		padding-top: 30px;
	}
	
	#portfolio {
		display: inline-table;
		width: 100%;
		padding-bottom: 20px;
	}
	
	.project {
		width: 46.5%;
	}
	
	.project p {
		height: 98%;
	}
	
	.project img {
		width: 100%;
	}
	
	.project span {
		bottom: 0;
	}
	
	.service,
	.socialBlock {
		margin: 0 auto 20px;
		float: none;
	}
	
	.service,
	.socialBlock {
		width: 85%;
	}
	
	#flickr {
		overflow: hidden;
	}
	
	#flickr img {
		width: auto;
	}
	
	#container {
		width: 100%;
		padding-top: 50px;
	}
	
	#pImg {
		width: 100%;
		margin-bottom: 0;
	}
	
	#pDesc {
		position: relative;
		padding-top: 50px;
		color: #4f4f4f;
	}
	
	#pImgNav {
		position: absolute;
		width: 100%;
		top: 0;
		right: 0;
	}
	
	#pImgNav nav {
		display: table;
		margin: 0 auto;
	}
	
	#container img {
		width: 100%;
		height: auto;
		margin-bottom: 20px;
	}
	
	#pDesc {
		width: 85%;
		float: none;
		margin: 0 auto;
		padding-top: 40px;
		padding-right: 20px;
		padding-left: 20px;
	}
	
	#contactExtras ul {
		margin-bottom: 20px;
	}
	
	#contactExtras {
		display: table;
		margin: 0 auto;
	}
	
	#contactExtras li {
		padding-right: 10px;
		display: inline;
		float: left;
	}
	
	#contactInfo {
		float: none;
		width: 85%;
		text-align: center;
		margin: 0 auto;
	}
	
	#contact form {
		float: none;
		width: 90%;
		margin-right: auto;
		margin-left: auto;
	}
	
	.fieldBlock input,
	.fieldBlock textarea {
		width: 96%;
	}
}

@media	only screen and (-webkit-min-device-pixel-ratio: 1.5),
		only screen and (-o-min-device-pixel-ratio: 3/2),
		only screen and (min--moz-device-pixel-ratio: 1.5),
		only screen and (min-device-pixel-ratio: 1.5) {
	header h1 {
		background: url(../img/logo@2x.png) no-repeat;
		-webkit-background-size: 247px 76px;
	}
	
	#pDesc ul li {
		background: url(../img/check@2x.png) no-repeat 0 center;
		-webkit-background-size: 9px 10px;
	}
	
	a.extLink {
		background: url(../img/link@2x.png) no-repeat;
		-webkit-background-size: 14px 15px;
	}
	
	#prev,
	#prev:hover {
		background: url(../img/prevNext@2x.png) no-repeat left;
		-webkit-background-size: 93px 59px;
	}
	
	#next,
	#next:hover {
		background: url(../img/prevNext@2x.png) no-repeat right;
		-webkit-background-size: 93px 59px;
	}
	
	#pImgNav nav li a {
		background: url(../img/radio@2x.png) no-repeat 0 0;
		-webkit-background-size: 65px 16px;
	}
	
	#pImgNav nav li a:hover {
		background: url(../img/radio@2x.png) no-repeat -49px 0;
		-webkit-background-size: 65px 16px;
	}
	
	#pImgNav nav li a.current {
		background: url(../img/radio@2x.png) no-repeat -25px 0;
		-webkit-background-size: 65px 16px;
	}
	
	#close {
		background: url(../img/close@2x.png) no-repeat;
		-webkit-background-size: 57px 59px;
	}
	
	#web {
		background: url(../img/wb@2x.png) no-repeat center top;
		-webkit-background-size: 62px 62px;
	}
	
	#apps {
		background: url(../img/app@2x.png) no-repeat center top;
		-webkit-background-size: 62px 62px;
	}
	
	#seo {
		background: url(../img/seo@2x.png) no-repeat center top;
		-webkit-background-size: 62px 62px;
	}
	
	#li a {
		background: url(../img/social@2x.png) no-repeat 0 -96px;
		-webkit-background-size: 25px 223px;
	}
	
	#dr a {
		background: url(../img/social@2x.png) no-repeat 0 -2px;
		-webkit-background-size: 25px 223px;
	}
	
	#tw a {
		background: url(../img/social@2x.png) no-repeat 0 -35px;
		-webkit-background-size: 25px 223px;
	}
	
	#de a {
		background: url(../img/social@2x.png) no-repeat 0 -129px;
		-webkit-background-size: 25px 223px;
	}
	
	#fl a {
		background: url(../img/social@2x.png) no-repeat 0 -66px;
		-webkit-background-size: 25px 223px;
	}
	
	#success {
		display: none;
		background: url(../img/contactIcons@2x.png) no-repeat 0 4px;
		-webkit-background-size: 9px 30px;
	}
	
	#error {
		display: none;
		background: url(../img/contactIcons@2x.png) no-repeat 0 -15px;
		-webkit-background-size: 9px 30px;
	}
	
	#validation {
		display: none;
		background: url(../img/contactIcons@2x.png) no-repeat 0 -15px;
		-webkit-background-size: 9px 30px;
	}
}