/* Type & image presets */

body {
	font-size: 18px;
	line-height: 24px;		/* Changing this will break the baseline grid. */
	-webkit-text-size-adjust: none;		/* Stops the iPhone scalling type up */
	background: #cccccc;
	color: #203244;
	font-family: 'aktiv-grotesk', sans-serif;
	text-align: left;
	animation: pulse 45s linear infinite;
}

@keyframes pulse {
  0% {
    background-color: #3dc19d;
  }
  12.5% {
    background-color: #3ba1d9;
  }
  25% {
    background-color: #9b6ab6;
  }
  37.5% {
    background-color: #e94c92;
  }
  50% {
    background-color: #fd5c4d;
  }
  62.5% {
    background-color: #fa8639;
  }
  75% {
    background-color: #ffcc43;
  }
  87.5% {
    background-color: #5bc47a;
  }
  100% {
    background-color: #3dc19d;
  }
}

#contacto {
	color: #ffffff;
	text-align: center;
}

.logoz {
	width: 100px;
	height: 100px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -50px;
	margin-left: -50px;
}

@-webkit-keyframes GRADZ {
	from {
		background-position: right
	}
	to { 
		background-position: left
	}
}

.animated { 
    -webkit-animation-duration: 2s; 
    animation-duration: 2s; 
    -webkit-animation-fill-mode: both; 
    animation-fill-mode: both; 
    -webkit-animation-timing-function: ease-in-out; 
    animation-timing-function: ease-in-out; 
} 

@-webkit-keyframes shake { 
    0%, 100% {-webkit-transform: translateX(0);} 
    40%, 80% {-webkit-transform: translateY(-3px);} 
    20%, 60% {-webkit-transform: translateY(3px);} 
} 
@keyframes shake { 
    0%, 100% {transform: translateX(0);} 
    40%, 80% {transform: translateY(-3px);} 
    20%, 60% {transform: translateY(3px);} 
} 

.shake { 
    -webkit-animation-name: shake; 
    animation-name: shake; 
}

.lightning {
	display: inline-block;
	width: 100px;
	height: 100px;
	background: url(../img/lightningz.png) no-repeat;
	background-size: 100px 100px;
	border-bottom: none;
}

.lightning:hover {
	border-bottom: none;
}

:focus { 
	outline: 0;
}

a img {
	display: block;		/* Stops image links getting text link styles */
}

p, ul, ol, blockquote {
	margin-bottom: 24px;	/* Changing this will break the baseline grid. */
	font-weight: 400;
}

ul {
	list-style-type: none;
}

li {
	margin-bottom: 6px;
}

blockquote {
	border-left: 1px solid #c1c1c1;
	color: #747474;
	padding-left: 15px;
	margin-left: -15px;
}

h1, h2 {
	margin-bottom: 24px;	/* Changing this will break the baseline grid. */
	line-height: 1.5;
}

h1 {
	font-size: 36px;
	text-transform: none;
	letter-spacing: 0px;
	margin: 24px 0 24px;
	padding-bottom: 0;
	animation: pulsetype 45s linear infinite;
	font-family: aktiv-grotesk-extended, sans-serif;
	font-weight: 700;
	font-style: normal;
}

@keyframes pulsetype {
  0% {
    color: #3dc19d;
  }
  12.5% {
    color: #3ba1d9;
  }
  25% {
    color: #9b6ab6;
  }
  37.5% {
    color: #e94c92;
  }
  50% {
    color: #fd5c4d;
  }
  62.5% {
    color: #fa8639;
  }
  75% {
    color: #ffcc43;
  }
  87.5% {
    color: #5bc47a;
  }
  100% {
    color: #3dc19d;
  }
}

#contacto h1 {
  border-bottom-color: #ffffff;
}

.nowrap {
  white-space: nowrap;
}

h2 {
	font-size: 20px;
	line-height: 36px;
	font-weight: 400;
	letter-spacing: 0px;
}

h3 {
	font-size: 11px;
	line-height: 24px;
	margin-bottom: 12px;	/* Changing this will break the baseline grid. */
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0px;
	padding: 0 0 6px 5px;
}

a:link, a:visited {
	text-decoration: none;
	font-weight: 700;
	color: #203244;
	animation: pulseline 45s linear infinite;
	border-bottom: 2px solid #203244;
	-webkit-transition: all .2s linear;  
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	transition: all .2s linear;
	padding-bottom: 2px;
}

@keyframes pulseline {
  0% {
    border-bottom-color: #3dc19d;
  }
  12.5% {
    border-bottom-color: #3ba1d9;
  }
  25% {
    border-bottom-color: #9b6ab6;
  }
  37.5% {
    border-bottom-color: #e94c92;
  }
  50% {
    border-bottom-color: #fd5c4d;
  }
  62.5% {
    border-bottom-color: #fa8639;
  }
  75% {
    border-bottom-color: #ffcc43;
  }
  87.5% {
    border-bottom-color: #5bc47a;
  }
  100% {
    border-bottom-color: #3dc19d;
  }
}

a:hover {
	border-bottom: 4px solid #203244;
}

a:active {
	outline: 0;
}

#contacto a:link, #contacto a:visited, #contacto a:hover, #contacto a:active {
  font-weight: 400;
  color: #ffffff;
}

#contacto a:hover {
	border-bottom: 2px solid #ffffff;
}

#contacto h2 {
  font-size: 16px;
  font-weight: 400;
}

.container {
	padding-top: 24px;
}

.me {
	border: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.logo {
	position: relative;
	text-align: center;
}

.me {
	margin-bottom: -2px;
}

.centered {
	text-align: center;
}

#header {
	background: #f8f9fa;
}

#work {
	background: #203244;
	overflow: hidden;
	line-height: 0;
	padding-top: 36px;
	border-top: 1px solid #392e41;
	border-bottom: 1px solid #392e41;
}

#footer {
	background: #463a4e;
	color: #9e92a6;
}

#footer h3 {
	font-weight: 600;
	color: #ddd;
	letter-spacing: 2px;
	margin-bottom: 0;
	border-bottom: 1px solid rgba(0,0,0,0.2);
}

#footer li {
	border-top: 1px solid rgba(255,255,255,0.1);
	border-bottom: 1px solid rgba(0,0,0,0.2);
	padding: 6px 0 6px 5px;
	margin: 0;
}

#footer li.end {
	border-bottom: none;
	
}

#footer li:hover {
	color: #c3c3c3;
	color: #9e92a6;
}

#footer a {
	font-weight: 400;
}

#footer span {
	font-weight: 400;
}

#bonus, #phoneprops, #ie {
	padding: 12px 0;
	background: #2E2633 url(../img/bonus.png);
	color: #615768;
	text-align: left;
}

#bonus.top {
	border-bottom: 1px dashed #463651;
}

#bonus.bottom, #phoneprops {
	border-top: 1px dashed #463651;
}

#bonus p, #phoneprops p, #ie p {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0;
}

#bonus span, #phoneprops span, #ie span {
	font-weight: 700;
	color: #999;
}

::-moz-selection {
	background:#f75555;
	color:#eee;
}

::selection {
	background: #f75555; 
	color:#eee;
}

div.image {
	position: relative;
	display: block;
	margin: 0 auto 36px;
	max-width: 560px;
	overflow: hidden;
	text-align: center;
}

div.image img {
	margin-bottom: 0;
	overflow: hidden;
	z-index: 1;
}

div.caption,
div.image:active div.caption {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	color: #203244;
	overflow: hidden;
	background-color: #ffffff;
	opacity: 0;
	-webkit-transition: opacity .3s ease-out;
	-moz-transition: opacity .3s ease-out;
	-o-transition: opacity .3s ease-out;
	transition: opacity .3s ease-out;
}

div.image:hover div.caption {
	opacity: 0.95;
}


div.caption,
div.image:active div.caption {
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	-o-transition: all .3s ease-out;
	transition: all .3s ease-out;
	-webkit-transform: translate3d(0, 200%, 0);
	opacity: 0;
}

div.image:hover div.caption {
	-webkit-transform: translate3d(0, 0, 0);
	opacity: 0.95;
}


.caption h3 {
	font-size: 16px;
	line-height: 24px;
	padding: 24px 24px 12px;
	margin-bottom: 12px;
	text-align: center;
	cursor: default;
	text-transform: none;
}

.browserhint h3,
.mobilehint h3 {
	font-size: 10px;
	line-height: 18px;
	text-align: center;
	color: #615768;
}

.mobilehint {
	display: none;
}

#phoneprops {
	color: #999;
	display: none;
}
