/** Import Reset CSS **/

@import url("reset.css");

/** Import Google fonts **/

@import url("http://fonts.googleapis.com/css?family=Source+Sans+Pro");
@import url("http://fonts.googleapis.com/css?family=Archivo+Narrow");
@import url("http://fonts.googleapis.com/css?family=Oswald:400,300,700");

/** Global Styles **/

html
{
	height: 100%;
	overflow: auto;
	
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body
{
	font-family: "Source Sans Pro", Arial, Verdana, Helvetica, sans-serif;
	font-size: 14px;
	color: #575757;
	padding: 0 0 25px 0;
	background: #222 url("../images/bg.png") repeat;
}

::selection { background: #0083c6; color: #FFF; }
::-moz-selection { background: #0083c6; color: #FFF; }

a { color: #0072b7; text-decoration: none; -webkit-transition: all 0.2s linear; -moz-transition: all 0.2s linear; -o-transition: all 0.2s linear; transition: all 0.2s linear; }
a:hover { color: #003c8d; }

span { color: #555555; text-decoration: none; -webkit-transition: all 0.2s linear; -moz-transition: all 0.2s linear; -o-transition: all 0.2s linear; transition: all 0.2s linear; }
/** Layout Styles **/

#fixedtop
{
	position: fixed;
	width: 100%;
	min-width: 240px;
	height: 130px;
	top: 0;
	background: #EEE url("../images/bg-fixedtop.png") repeat;
	color: #444;
	z-index: 1000;
	
	text-shadow: 1px 1px 1px #FFF;
	
	-moz-box-shadow: 0 0 10px #909090;
	-webkit-box-shadow: 0 0 10px #909090;
	box-shadow: 0px 0px 10px #909090;
}

	#fixedtop #headercont
	{
		width: 80%;
		max-width: 980px;
		margin: 0 auto;
	}
	
		#fixedtop #headercont #headerleft
		{
			float: left;
			width: 200px;
		}
		
			#fixedtop #headercont #headerleft a img
			{
				width: 200px;
				margin: 40px 0 0 0;

				-webkit-transition: all 0.2s linear;
				-moz-transition: all 0.2s linear;
				-o-transition: all 0.2s linear;
				transition: all 0.2s linear;
			}
			
			#fixedtop #headercont #headerleft a:hover img
			{
				opacity: 0.6;
			}
		
		#fixedtop #headercont #headerright
		{
			float: right;
		}
		
			/** Menu **/
			
				#fixedtop #headercont #headerright .menu select
				{
					display: none;
					font-family: inherit;
				}
				
					@media (max-width: 768px)
				 {
						fixedtop #headercont #headerright .menu ul
						{
							display: none;
						}

						#fixedtop #headercont #headerright .menu ol
						{
							display: none;
						}
				
						#fixedtop #headercont #headerright .menu select
						{
							display: inline-block;
							width: 100%;
							text-transform: none;
							font-family: inherit;
						}
					}
					
				#fixedtop #headercont #headerright ul
				{
					float: right;
					margin: 50px 15px 0 0;
				}

				#fixedtop #headercont #headerright ol
				{
					float: right;
					margin: 50px 15px 0 0;
				}
			
					#fixedtop #headercont #headerright ul li
					{
						display: inline;
					}
					
					#fixedtop #headercont #headerright ol li
					{
						display: inline;
					}

						#fixedtop #headercont #headerright ul li a
						{
							float: left;
							line-height: 40px;
							padding: 0 12px;
							font-weight: 400;
							font-size: 16px;
							text-decoration: none;
							color: #333;
							text-transform: uppercase;
							font-family: "Archivo Narrow", Arial, Helvetica, sans-serif;
						}

						#fixedtop #headercont #headerright ol li a
						{
							float: left;
							line-height: 40px;
							padding: 0 12px;
							font-weight: 400;
							font-size: 16px;
							text-decoration: none;
							color: #333;
							text-transform: uppercase;
							font-family: "Archivo Narrow", Arial, Helvetica, sans-serif;
						}
						
							#fixedtop #headercont #headerright ul li a:hover, #fixedtop #headercont #headerright ul li.active a
							{
								color: #0076b2;
							}

							#fixedtop #headercont #headerright ol li a:hover, #fixedtop #headercont #headerright ul li.active a
							{
								color: #0076b2;
							}

#maincont
{
	width: 100%;
	min-width: 240px;
	margin-top: 160px;
	/*text-shadow: 1px 1px 1px #000;*/
}

	#maincont #main
	{
		width: 80%;
		max-width: 980px;
		margin: 0 auto;
		padding: 25px 0 0 0;
		line-height: 22px;
	}
	
		#maincont #main p { margin: 0 0 20px 0; padding-left: 15px; padding-right: 15px;}
		#maincont #main h1, #maincont #main h2, #maincont #main h3, #maincont #main h4, #maincont #main h5 { margin: 0 0 20px 0; color: #414142; font-weight: normal; font-family: "Archivo Narrow", Arial, Helvetica, sans-serif; text-align: center;}
		#maincont #main h1 { font-size: 30px; line-height: 30px; }
		#maincont #main h2 { font-size: 28px; line-height: 28px; }
		#maincont #main h3 { font-size: 26px; line-height: 26px; }
		#maincont #main h4 { font-size: 24px; line-height: 24px; }
		#maincont #main h5 { font-size: 22px; line-height: 22px; }
		#maincont #main ul { margin: 0 0 15px 35px; list-style-type: square; }
		#maincont #main ul li { padding: 0 0 0 2px; }
		#maincont #main ol { margin: 0 0 15px 35px; list-style-type: decimal; }
		#maincont #main ol li { padding: 0 0 0 2px; }
		#maincont #main hr { clear: both; border: 0; height: 0; margin: 0 0 20px 0; border-top: 1px solid #b7b7b7; border-bottom: 1px solid #e6e6e6; }
		#maincont #main blockquote { background: #151515; border-left: 3px solid #E2761C; padding: 15px; margin: 0 0 15px 0; }

		/** Portfolio Styles **/

		#maincont #main #portfoliocont ul
		{
			list-style-type: none;
			margin: 0 0 25px 0;
		}
		
			#maincont #main #portfoliocont ul li
			{
				display: block;
				margin: 0 0 10px 0;
			}
			
				/*#maincont #main #portfoliocont ul li a
				{
					position: relative;
					float: left;
					width: 100%;
					margin: 0 0 0 0;
					text-align: center;
					background-color: #de1d1d;
					color: #ffffff;
					display: block;
				}*/

				.yuppielink
				{
					position: relative;
					float: left;
					width: 100%;
					margin: 0 0 0 0;
					text-align: center;
					background-color: #de1d1d;
					color: #ffffff;
					display: block;
				}


					#maincont #main #portfoliocont ul li span
					{
						position: relative;
						float: left;
						width: 28%;
						margin: 0 2% 15px 3%;
						text-align: center;
					}

					#maincont #main #portfoliocont ul li span.cliente
					{
						position: relative;
						float: left;
						width: 19%;
						margin: 0 3% 15px 3%;
						text-align: center;
					}
				
					#maincont #main #portfoliocont ul li a img
					{
						width: 100%;
						height: auto;
						display: block;
					}

						#maincont #main #portfoliocont ul li span img
							{
								width: 100%;
								height: auto;
								display: block;
							}

						#maincont #main #portfoliocont ul li span.cliente img
							{
								width: 100%;
								height: auto;
								display: block;
							}

						#maincont #main #portfoliocont a .overlay
						{
							position: absolute;
							height: 100%;
							left: 0;
							opacity: 0;
							top: 0;
							width: 100%;
							z-index: 40;
							
							-webkit-transition: all 0.1s linear;
							-moz-transition: all 0.1s linear;
							-o-transition: all 0.1s linear;
							transition: all 0.1s linear;
						}

							#maincont #main #portfoliocont span .overlay
							{
								position: absolute;
								height: 100%;
								left: 0;
								opacity: 0;
								top: 0;
								width: 100%;
								z-index: 40;
								
								-webkit-transition: all 0.1s linear;
								-moz-transition: all 0.1s linear;
								-o-transition: all 0.1s linear;
								transition: all 0.1s linear;
							}

							#maincont #main #portfoliocont span.cliente .overlay
							{
								position: absolute;
								height: 100%;
								left: 0;
								opacity: 0;
								top: 0;
								width: 100%;
								z-index: 40;
								
								-webkit-transition: all 0.1s linear;
								-moz-transition: all 0.1s linear;
								-o-transition: all 0.1s linear;
								transition: all 0.1s linear;
							}
						
								#maincont #main #portfoliocont span .overlay
								{
									position: absolute;
									height: 100%;
									left: 0;
									opacity: 0;
									top: 0;
									width: 100%;
									z-index: 40;
									
									-webkit-transition: all 0.1s linear;
									-moz-transition: all 0.1s linear;
									-o-transition: all 0.1s linear;
									transition: all 0.1s linear;
								}

								#maincont #main #portfoliocont span.cliente .overlay
								{
									position: absolute;
									height: 100%;
									left: 0;
									opacity: 0;
									top: 0;
									width: 100%;
									z-index: 40;
									
									-webkit-transition: all 0.1s linear;
									-moz-transition: all 0.1s linear;
									-o-transition: all 0.1s linear;
									transition: all 0.1s linear;
								}

							#maincont #main #portfoliocont a .overlay.link
							{
								background: url("../images/overlay_link.png") no-repeat scroll center center, url("../images/overlay_bg.png") repeat scroll center center transparent;
								display: inline-block;
							}

								#maincont #main #portfoliocont span .overlay.link
								{
									background: url("../images/overlay_link.png") no-repeat scroll center center, url("../images/overlay_bg.png") repeat scroll center center transparent;
									display: inline-block;
								}

								#maincont #main #portfoliocont span.cliente .overlay.link
								{
									background: url("../images/overlay_link.png") no-repeat scroll center center, url("../images/overlay_bg.png") repeat scroll center center transparent;
									display: inline-block;
								}					
																
								#maincont #main #portfoliocont a .overlay:hover
								{
									opacity: 1;
								}

								#maincont #main #portfoliocont span .overlay:hover
								{
									opacity: 1;
								}

								#maincont #main #portfoliocont span.cliente .overlay:hover
								{
									opacity: 1;
								}
								
	/** Footer **/
			
	#maincont #footercont
	{
		width: 80%;
		max-width: 980px;
		margin: 0 auto;
		color: #777;
		line-height: 22px;
		font-size: 12px;
		text-align: left;
		/*text-shadow: 1px 1px 1px #000;*/
	}


/** Video **/
.videocont{
    max-width:560px;
    margin:auto;
    text-align: center;
}

.video{
    height:0px;
    width:100%;
    max-width:560px;
    padding-top:56.25%;
    position:relative;
}

iframe{
    position:absolute;
    height:100%;
    width:100%;
    top:0px;
    left:0px;
}

.texto-marcas {
	background-color: #fff;
}

.line_red {
	height: 5px;
	background-color: #de1d1d;
	margin: 0px 0px 0px 0px !important;
}

.line_black {
	height: 5px;
	background-color: #1f1f1f;
	margin: 0px 0px 0px 0px !important;
}

.line_green {
	height: 5px;
	background-color: #3c8c26;
	margin: 0px 0px 0px 0px !important;
}

/** Title **/
.title-seccion {
	max-width: 980px;
	height: 60px;
	background-color: #0072b7;
}

.title-seccion p {
	padding-top: 19px !important;
	font-size: 22px;
	text-align: center;
	color: #fff;
	font-family: 'Oswald', sans-serif;
	font-weight: lighter;
}


/*CONTACTO*/
.content_direccion {
	float: left;
	max-width: 600px;
	font-size: 16px !important;
}

form > div {
  clear: both;
  overflow: hidden;
  padding: 1px;
  margin: 0 0 10px 0;
}
form > div > fieldset > div > div {
  margin: 0 0 5px 0;
}
form > div > label,
legend {
	width: 22%;
  /*float: left;*/
  padding-right: 10px;
  font-size: 18px;
}
form > div > div,
form > div > fieldset > div {
  width: 100%;
  float: right;
}
form > div > fieldset label {
	font-size: 90%;
}
fieldset {
	border: 0;
  padding: 0;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
textarea {
	width: 50%;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;

  background-color: #fdfdfd;
  border: 1px solid #d0d0d0;
  font-size: 16px;
  color: #585858;
  padding-left: 5px;
  font-family: Arial, sans-serif;
}
input[type=text],
input[type=email] {
  width: 40%;
  height: 30px;
  background-color: #fdfdfd;
  border: 1px solid #d0d0d0;
  font-size: 16px;
  color: #585858;
  padding-left: 5px;
  font-family: Arial, sans-serif;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus {
  outline: 0;
  border-color: #4697e4;
}

@media (max-width: 600px) {
  form > div {
    margin: 0 0 15px 0; 
  }
  form > div > label,
  legend {
	  width: 100%;
    float: none;
    margin: 0 0 5px 0;
  }
  form > div > div,
  form > div > fieldset > div {
    width: 100%;
    float: none;
  }
  input[type=text],
  input[type=email],
  input[type=url],
  input[type=password],
  textarea,
  select {
    width: 100%; 
  }
}
@media (min-width: 1200px) {
  form > div > label,
	legend {
  	text-align: right;
  }
}


.content_form {
	float: left;
	margin: 5px 5px 5px 10px;
	width: 100%;
}

.btn_enviar_formulario {
	font-family: Helvetica;
	width: 120px;
	height: 35px;
	background-color: #0072b7;
	color: #ffffff;
	font-size: 15px;
	border: none;
}

.btn_enviar_formulario:hover {background-color: #0078f3;}


/** Anclas **/
 #home {
 	position: absolute;
 	top: 0px;
 }

	 #marcas {
	 	position: absolute;
	 	top: 601px;
	 }

		 #empresa {
		 	position: absolute;
		 	top: 1266px;
		 }

			 #clientes {
			 	position: absolute;
			 	top: 1811px;
			 }

				 #contacto {
				 	position: absolute;
				 	top: 2427px;
				 }


/*#portfoliocont ul li span a {
	width: 100px;
	height: 50px;
	top: 0px;
	position: absolute;
	display: block;
	float: left;
	z-index: 1000;
	background-color: #de1d1d;
}
*/

/** Responsive Magic **/

@media screen and (max-width: 768px)
{
	
	#fixedtop #headercont
	{
		text-align: center;
	}
	
		#fixedtop #headercont #headerleft
		{
			float: none;
			width: 100%;
		}
		
			#fixedtop #headercont #headerleft a img
			{
				width: 100px;
				margin: 15px 0 10px 0;
			}
		
		#fixedtop #headercont #headerright
		{
			float: none;
			width: 100%;
		}
	
	#maincont #main
	{
		text-align: center;
	}
	
	#maincont #main #portfoliocont ul li a
	{
		width: 100%;
		margin-bottom: 10px;
	}
	
	#maincont #main #portfoliocont ul li span
	{
		width: 28%;
		margin-bottom: 10px;
	}

	#maincont #main #portfoliocont ul li span.cliente
	{
		width: 27%;
		margin-bottom: 10px;
	}

	#maincont #footercont
	{
		text-align: center;
	}

}

@media screen and (max-width: 480px)
{		
	
	#maincont #main #portfoliocont ul li a
	{
		width: 100%;
		margin-bottom: 6px;
	}
	
	#maincont #footercont 
	{
		text-align: center;
	}
	
}

@media screen and (max-width: 480px)
{		
	
	#maincont #main #portfoliocont ul li span
	{
		width: 96%;
		margin-bottom: 6px;
	}
	
	#maincont #footercont 
	{
		text-align: center;
	}
	
}

@media screen and (max-width: 480px)
{		
	
	#maincont #main #portfoliocont ul li span.cliente
	{
		width: 42%;
		margin-bottom: 6px;
	}
	
	#maincont #footercont 
	{
		text-align: center;
	}
	
}

