/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
  overflow: auto;
}

*, *:before, *:after {
  box-sizing: inherit;
}


/* ESTILOS ANARKETING BITCH */

/*background-color: #009999; COLOR MEDIO VERDECITO LINEAS*/

body {
	padding: 0;
	margin: 0;
	font-family: 'Roboto', sans-serif;
	text-rendering: optimizeLegibility;
	font-size: 1.6em;
}

nav {
	width: 100%;
	position: fixed;
	z-index: 300;
	background-color: #fff;
	padding: 10px 0;
	top: 0px;
}

nav .left {
	vertical-align: middle;
	float: left;
	font-size: 1em;
	margin-right: 3.95%;
}

.nav-ppal {
	width: 100%;
	margin: 0 auto;
}

.top {
	padding-top: 22px;
}

a,
a:link {
	color: #000;
	text-decoration: none;
}

a:hover {
	text-decoration: none;
	color: #c31f26;
	transition: .3s;
		-webkit-transition: .3s;
		-o-transition: .3s;
		-moz-transition: .3s;
}
.imagen-header {
	width: 100%;
	padding: 0;
	margin: 0;
	border-bottom: 5px solid #000;
}

.copy {
	text-transform: uppercase;
	font-size: 1.8em;
	line-height: 1.2em;
	float: right;
	position: relative;
	text-align: right;
	top: 130px;
	right: 180px;
	font-weight: 100;
}


.responsiveContent {
  position: static;
  height: auto;
  overflow: hidden;
  margin-bottom: -10px;
}
.responsiveContent iframe {
  position: static;
  top: 0;
  left: 0;
  width: 100%;
  height: 80vh;
}

#home iframe{
	width: 100%;
	height: 80vh;
	margin-top: 90px;
}
/* ANIMATION */

.fadeInLeft {
	animation: derecha 1.5s;
	-webkit-animation: derecha 1.5s;
	-moz-animation: derecha 1.5s;
	-o-animation: derecha 1.5s;
}

@keyframes derecha {
	0% {
		opacity: 0;
		transform: translate(0, -5rem);
		-webkit-transform: translate(0, -5rem);
	}

	100% {
		opacity: 1;
		transform: translate(0, 0);
		-webkit-transform: translate(0, 0);
	}
}

@-webkit-keyframes derecha {
	0% {
		opacity: 0;
		transform: translate(0, -5rem);
		-webkit-transform: translate(0, -5rem);
	}

	100% {
		opacity: 1;
		transform: translate(0, 0);
		-webkit-transform: translate(0, 0);
	}
}

@-moz-keyframes derecha {
	0% {
		opacity: 0;
		transform: translate(0, -5rem);
		-webkit-transform: translate(0, -5rem);
	}

	100% {
		opacity: 1;
		transform: translate(0, 0);
		-webkit-transform: translate(0, 0);
	}
}

@-o-keyframes derecha {
	0% {
		opacity: 0;
		transform: translate(0, -5rem);
		-webkit-transform: translate(0, -5rem);
	}

	100% {
		opacity: 1;
		transform: translate(0, 0);
		-webkit-transform: translate(0, 0);
	}
}

.copy span {
	font-weight: 700;
	color: #c31f26;
}

.triangle-down,
.triangle-down-white,
.triangle-down-red {
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	margin: 0 auto;
}

.triangle-down {
	border-top: 10px solid #000;
}

.triangle-down-white {
	border-top: 10px solid #FFF;
}

.triangle-down-red {
	border-top: 10px solid #c31f26;
}

#logo {
	display: inline-block;
	background-repeat: no-repeat;
	background-position: center;
	width: 200px;
	height: 60px;
	margin: 0 auto;
	/*float: left;*/
}

.brands {
	text-align: center;
}

.brands h2,
.cases h2,
#staff h2,
#historia h2,
footer h2 {
	font-size: 3em;
	font-weight: 700;
	padding: 0;
	padding-top: 70px;
	padding-bottom: 20px;
}

.brands h2,
#staff h2,
#historia h2  {
	color: #c31f26;
}

.cases h2 {
	text-align: center;
	color: #FFF;
}

#cuentas.brands .row .col-md-2,
#cuentas.brands .row .col-sm-4,
#cuentas.brands .row .col-xs-6 {
	background-repeat: no-repeat;
	background-position: center;
	height: 100px;
	margin-bottom: 20px;
}

#linea {
	width: 650px;
	float: right;
	position: absolute;
	top: 350px;
	right: 180px;
}

.cases {
	background-color: #000;
}

#casos iframe {
	width: 100%;
	height: 200px;
}

#casos .text,
#rse .text,
#staff .text,
#historia .text {
	width: 75%;
	margin: 0 auto;
	text-align: center;
	font-size: 1.02em;
	color: #999;
	line-height: 1.5em;
	margin-bottom: 5rem;
}

#casos,
#myCarousel,
#cuentas {
	border-bottom: 5px solid #000;
}
#casos {
	border-bottom: 5px solid #000;
}

#historia .carousel img {
	height: 100%;
}

#casos .text {
	color: #fff;
}

#casos a:focus {
	border-style: none;
}

#rse .text span,
#staff .text span,
#historia .text span {
	font-weight: 700;
	color: #c31f26;
}

#rse .desc {
	text-align: left;
	font-size: .9em;
	color: #999;
	line-height: 1.6em;
}

#rse.container {
	margin-bottom: 0;
}

#rse h4 {
	font-size: 1.6em;
	padding-bottom: 1.5rem;
	margin: 0;
	color: #000000;
	text-transform: uppercase;
	font-weight: 300;

}

.dark {
	background-color: black;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 9;
	opacity: .6;
}

.casos {
	text-align: left;
	font-size: 12px;
	color: #666;

}
.carousel-caption {
  bottom: 30%;
}

.carousel-caption h2 {
	font-size: 3em;
	margin: 0;
	margin-bottom: 5px;
}

.carousel-caption h3 {
	font-weight: 300;
	padding: 0;
	padding-bottom: 20px;
	margin: 0;
}

.carousel-caption p {
	margin: 0 auto;
  width: 60%;
}

/* TOGGLE CLASS SHOW - NOT SHOW */
.not-show {
	display: none;
	transition: .5s;
	-webkit-transition: .5s;
	-o-transition: .5s;
}

/*////////////////////////////// */

#rse {
	margin-bottom: 4rem;
}

.rse-menu {
	margin-bottom: 3rem;
}

.rse-menu span,
.rse-menu div {
	float: left;
}

.rse-menu span {
	width: 2px;
	height: 48px;
	background-color: #c31f26;
}

.rse-menu div {
	margin: 0 3.4%;
	cursor: pointer;
}

.rse-menu p {
	opacity: .3;
	transition: .5s;
	-webkit-transition: .5s;
	-o-transition: .5s;
}

.rse-menu p:hover {
	opacity: 1;
}

.rse-container {
	position: relative;
}

.rse-container a {
	color: #c31f26;
	font-size: 1.2em;
}

.staff-container {
	position: relative;
	border-bottom: 5px solid #000;
}

.staff-cover {
	position: absolute;
	display: block;
	width: 100%;
	background-size: cover;
	background-position: center 35%;
	z-index: 225;
}

.staff-container:after,
.staff-cover:after {
  content: '';
  display: block;
  width: 100%;
  padding-top: 25%;
}

.staff-desc h2 {
	margin-top: 10rem;
}

footer {
	margin: 0;
	padding: 0;
	padding-bottom: 5rem;
}

footer h2 {
	text-align: center;
	color: #c31f26;
}

footer p {
	margin: 0;
	font-size: .9em;
}

footer a,
footer .mail a {
	color: #000;
}

footer a:hover {
	color: #c31f26;
	text-decoration: none;
}

footer a:hover,
.mail .facebook:hover,
.mail .twitter:hover {
	transition: .5s;
		-webkit-transition: .5s;
		-o-transition: .5s;
}

footer .mail {
	font-size: 1.9em;
	font-weight: 700;
}

.mail .facebook:hover {
	color: #3b5998;
}

.mail .twitter:hover {
	color: #00aced;
}

/* // CAROUSEL IMG COMO BACKGROUND // */

.carousel-inner>.item>a>img,
.carousel-inner>.item>img,
.img-responsive,
.thumbnail a>img,
.thumbnail>img {
	width: 100%;
	height: 500px;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

/* ////////////////////////////////// */

#cel-nav {
	display: none;
}

#cel-nav .boton {
	text-align: center;
	padding: 1rem 0;
	width: 100%;
	background-color: #fff;
	position: absolute;
	z-index: 300;
}

#my-button {
	color: black;
	display: inline-block;
}

.contenedor-logo {
	width: 250px;
	height: 300px;
	position: absolute;
	left: 43.5%;
	top: 4%;
	z-index: 200;
	background-color: #fff;
	box-shadow: 0px 8px 10px rgba(0,0,0, .7);
}

.start-section {
	margin: 40px 0;
}

#servicios p {
	margin: 0;
	font-size: 1.8em;
	font-weight: 200;
	color: #555;
}

#servicios p strong {
	text-transform: uppercase;
}

#head {
	padding-top: 80px;
	height: auto;
}

.proyectos {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	cursor: pointer;
	float: left;
	width: 100%;
	padding-bottom: 15%;
}

.proyectos::after {
	content: '';
	display: block;
	width: 100%;
	padding-top: 50%;
}

.proyectos:hover {
	position: relative;
	z-index: 200;
	box-shadow: 0px 10px 12px rgba(0,0,0,0.3);
	-ms-transform: scale(1.1,1.1); /* IE 9 */
	-webkit-transform: scale(1.1,1.1); /* Safari */
  transform: scale(1.1,1.1);
	transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-moz-transition: 0.5s ease;
}

.no-margin {
	margin: 0;
	padding: 0;
}

.reel a {
	color: #c31f26;
	font-weight: 700;
}

/* Casos de exito */

.exito p{
	width: 200px;
	margin: auto;
	text-align: left;
	padding-left: 5px;
}

/*HACKS 12/11/18 jorge.penela@gmail.com */

.remodal img{
	max-width: 100%;
	height: auto;
}
.exitul li{
	vertical-align: top;
	width: 19%;
}
.exitul li img{
	width: 100%;
	height: auto;
}
#fotosagencia img{
	height: auto !important; 
}
.nav-ppal .left{
	padding-top: 20px;
}

/* MOBILE */
@media screen and (max-width: 500px){
	main{
		width: 100%;
		overflow-x: hidden;
	}
	#cel-nav{
		display: none !important;
	}	
	#nav-default{
		display: block !important;
		height: 70px;
		overflow-y: hidden;
		transition: all 0.5s;
	}
	#nav-default.open{
		height: auto;
	}
	.burger{
		width: 50px;
		height: 50px;
		position: fixed;
		right: 10px;
		top: 14px;
		z-index: 9;		
		text-align: center;
		line-height: 0.6em;
		padding-top: 6px;
	}
	.burger span{		
		display: inline-block;
		height: 3px;
		width: 30px;
		background: black;		
	}
	.nav-ppal .left {
	  padding-top: 20px;
	  width: 100%;
	  text-align: center;
	  border-bottom: solid thin;
	  padding: 10px 0px;
	}
	#logo{
		width: 50vw;
		height: 50px;
		margin-bottom: 15px;
	}
	.nav-ppal .left {
	  padding-top: 20px;
	  width: 100%;
	  border-bottom: solid thin;
	  padding: 10px 0px;
	  text-align: center;
	  max-width: 100%;
	}

	iframe{
		max-width: 100%;

	}
	.exitul li{
		width: 49%;
	}
	.exito p{
		padding: 0px;
		width: 100%;
		margin-bottom: 15px;
	}
	.brands h2{
		margin-top: 0px;
		padding-top: 0px;
	}
	.xs-hidden{
		display: none !important;
	}

}
