/*@font-face {
	font-family: 'Droid Serif';
	src: url("fonts/DroidSerif-Regular.ttf") format("truetype");
}

@font-face {
	font-family: 'Lobster';
	src: url("fonts/Lobster_1.3.otf") format("opentype");
}*/

* { 
	margin:0; 
	padding:0;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	border:0;
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
	display: block;
}

::-moz-selection { background-color: rgb(61,61,61) ; color: white ; text-shadow: none; }
::selection { background-color: rgb(61,61,61) ; color: white ; text-shadow: none; }

body {
	background: #dedede url('../images/bg2.jpg');
	font-family: 'Droid Serif', serif, Helvetica , Arial , sans-serif;
	font-size: 100%;
	
}

a {
	text-decoration:none;
	color: #fff;
}

p {
	margin-top: 24px;
	line-height: 24px;
	font-size: 0.95em;
}
			
div#wrapper {
	width: 100%;
	max-width: 960px;
	margin:0 auto;
	background-color: white;
	/*min-width:320px;*/
}
	h1#logo2{
		font-family: 'Lobster', cursive, Helvetica , Arial , sans-serif;
		font-size: 2.5em;
		text-align: center;
		line-height: 32px;
		margin: 0 auto;
		padding-bottom: 10px;
		width: 100%;
		background-color: #fff;
		display:none;
		/*min-width:320px;*/
	}

	header {
		background: #dedede url('../images/pattern.jpg');
		width: 100%;
		height: 120px;
		padding-top:10px;
		padding-bottom:10px;
		position: fixed;
		z-index: 10;
		text-align: center;
		border-top: dotted 2px #fff;
		border-bottom: dotted 2px #fff;
	}
		header nav, footer nav {
			width: 100%;
			max-width: 960px;
			height: 100px;
			margin: auto;
		}
			header nav ul {
				list-style: none !important;
				color: white;
				width: 50%;
				max-width: 375px;
				/*min-width: 320px;*/
				height:100%;
				padding-top:30px;
				float:left;
				font-size:0.9em;
				padding-left: 2.29%;
			}
				header nav ul li {
					
					float:left;
					/*width: 12.5%;*/
					/*margin-left: 22px;*/
					margin-right: 4%;
					height: 22px;
					line-height: 22px;
					display:block;
				}
					header nav ul li a {
						padding: 4px;
						display: block;
					}
					header nav ul li a:hover, footer a:hover {
						color: #000;
						background-color: #fff;
						border-bottom: dotted 2px #000;
					}
		header div#logo {
			float:left;
			background: transparent url('../images/sprites.png') no-repeat;
			width: 193px;
			height: 85px;
			margin: 5px 0 5px 0;
		}
	
	section {
		background-color: #fff;
		padding-top: 72px;
	}
		
		section div.separador {
			height: 48px;
			background: #dedede url('../images/pattern.jpg');
			padding-left: 2.29%;
		}
			section div.separador h2 {
				height: 48px;
				line-height: 48px;
				font-family: 'Lobster', cursive, Helvetica , Arial , sans-serif;
				background-color: #fff;
				display:inline-block;
				border-bottom: dotted 2px #000;
				border-top: dotted 2px #000;
				font-size: 2em;
				padding-left:5px;
				padding-right:5px;
			}
		
		
		section div#galeria {
			padding-left: 2.29%;
			width: 100%;
			overflow: hidden;
		}
		
		p#cv {
			background-color: #000;
			color: #fff;
			border-bottom: dotted 2px #fff;
			border-top: dotted 2px #fff;
		}
		
		p#cv  a{
			margin: 2%;
			display: block;
		}
		
		aside.left {
			float:left;
			width: 50%;
			padding-left: 2.29%;
			/*min-width: 300px;*/
		}
			
		
		aside.right {
			float:left;
			width: 50%;
			text-align: right;
			padding-left: 2.29%;
			padding-right: 2.29%;
		}
			aside.right img {
				margin-top: 24px;
				width: auto 9 !important;
				max-width: 100%;
				display:block;
			}
			aside.right a {
				float:right;
			}
			
			aside.right a img.social {
				margin:0;
				margin-top:20px;
				margin-right: 5px;
			}
		
		input.cajatexto, textarea {
			width: 80%;
			max-width: 350px;
			min-width: 240px;
			height: 36px;
			border: 1px solid #c7c7c7;
			padding: 0 45px 0 15px;
			background: #e2e2e2; /*old browsers*/
			background: -moz-linear-gradient(top, #e2e2e2 0%, #ffffff 16%); /* FF3.6+ */
			background: -webkit-linear-gradient(top, #e2e2e2 0%,#ffffff 16%); /* Chrome10+,Safari5.1+ */
			margin-top: 10px;
			
			font-family: 'Droid Serif', serif, Helvetica , Arial , sans-serif;
			font-style: italic;
			color: #a2a2a2;
		}
		textarea.mensaje {
			height: 100px;
			padding-top: 10px;
		}
		input.boton {
			width:30%;
			height: 36px;
			background: #000;
			color: #fff;
			margin-top: 10px;
			font-family: 'Lobster', cursive, Helvetica , Arial , sans-serif;
			font-size: 1.2em;
		}
		
		label {
			display: none;
			
			font-family: 'Droid Serif', serif, Helvetica , Arial , sans-serif;
			font-size: 0.8em;
			width: 100%;
			font-weight: bold;
			padding-top: 10px;
			
		}
		
	footer {
		background: #dedede url('../images/pattern.jpg');
		width: 100%;
		height: 48px;
		margin-top:72px;
		text-align: center;
		border-top: dotted 2px #fff;
		border-bottom: dotted 2px #fff;
		color: #fff;
	}
	
	footer p {
		font-style: italic;
		font-size: 0.8em;
		margin-top:10px;
	}
	
	.clearfix {	
		content: ".";
		display: block;
		height: 0;
		clear: both;
		visibility: hidden;
	}
	
	div#toTop {
		position: fixed;
		z-index: 1000;
		bottom:10px; /* together with this to put the div at the bottom*/
        right:10px;
		cursor: pointer;
		display: none;
	}
				
	div.redessociales {
		width: 36px;
		height: 35px;
		background: transparent url('../images/sprites.png') no-repeat;
		cursor: pointer;
		float: right;
		margin: 4px 4px 4px 0;
	}
	
	div.redessociales a{
		display: block;
		text-indent: -9999px;
		color: transparent;
		width:36px;
		height:35px;
	}
	
	div.facebook {
		background-position: 0px -85px;
	}
	
	div.facebook:hover {
		background-position: 0px -120px;
	}
	
	div.twitter {
		background-position: -36px -85px;
	}
	
	div.twitter:hover {
		background-position: -36px -120px;
	}
	
	div.vimeo {
		background-position: -72px -85px;
	}
	
	div.vimeo:hover {
		background-position: -72px -120px;
	}
	
	/*estilos slider*/
	.callbacks_container {
		width: 100%;
		padding-top: 120px;
		position:relative;
	}
	
	.callbacks {
	  position: relative;
	  list-style: none;
	  overflow: hidden;
	  width: 100%;
	  padding: 0;
	  margin: 0;
	}

	.callbacks li {
	  position: absolute;
	  width: 100%;
	  left: 0;
	  top: 0;
	  }

	.callbacks img {
	  display: block;
	  position: relative;
	  z-index: 1;
	  height: auto;
	  width: 100%;
	  border: 0;
	  }
	
	.callbacks_nav {
	  position: absolute;
	  -webkit-tap-highlight-color: rgba(0,0,0,0);
	  top: 54%;
	  left: 0;
	  opacity: 0.7;
	  z-index: 3;
	  text-indent: -9999px;
	  overflow: hidden;
	  text-decoration: none;
	  height: 61px;
	  width: 38px;
	  background: transparent url("../images/buttons.png") no-repeat left top;
	  margin-left:0.5%;
	}

	.callbacks_nav:active {
	  opacity: 1.0;
	}

	.callbacks_nav.next {
	  left: auto;  right: 0;
	  background-position: right top;
	  margin-right:0.5%;
	}
	
	/*Estilos para el menu de la galeria de imagenes*/
	div.selecterBtns ul.nolist {
		list-style: none;
		background-color: #000;
		color: #fff;
		text-align: center;
		height: 36px;
		margin-bottom: 24px;
		min-width: 320px;
		font-size: 0.9em;
	}
	
	div.selecterBtns ul.nolist li{
		float: left;
		line-height: 36px;
		padding-left: 3%;
		padding-right: 3%;
	}
	
	div.selecterBtns a {
		display: block;
	}
	
	div.selecterBtns a.active, div.selecterBtns a:hover {
		text-decoration: underline;
		color: #fff;	
	}
	
	div.selecterContent ul.nolist{
		list-style: none;
	}
	
	div.selecterContent ul.nolist li {
		float:left;
		margin: 0 1% 24px 0;
		width:24%;
		min-width:150px;
	}
	
	div.selecterContent ul.nolist li img{
		max-width:100%;
	}
	
	/*MEDIAQUERIES*/	
	@media screen and (max-width: 758px){
		div.selecterContent ul.nolist li  {
			width: 32%;
		}
		
		header div#logo {
			display: none;
		}
		
		h1#logo2 {
			display: block;
		}
		
		header {
			height: 80px;
			position: absolute;
		}
		
		header nav ul {
			padding-top: 15px;
			width: 100%;
		}
		
		div.callbacks_container{
			padding-top:80px;
		}
		
		header nav ul li a {
			padding: 0;
		}
		
	}
	
	@media screen and (max-width: 600px){
		aside.right {
			width:100%;
			text-align:center;
		}
		
		aside.right p {
			text-align:right;
		}
		
		aside.left {
			width:100%;
		}
	}
	
	@media screen and (max-width: 545px){
		p {
			margin-top: 12px;
			font-size: 0.8em;
		}
		
		section div.separador h2 {
			font-size: 1.5em;
		}
		
		section {
			padding-top: 25px;
		}
		
			section div#galeria {
				/*padding-top: 12px;*/
			}
			
				div.selecterContent ul.nolist li  {
					width: 48%;
					margin-bottom: 12px;
				}
		
		header div#logo {
			display: none;
		}
		
		h1#logo2 {
			display: block;
		}
		
		aside.right {
			width:100%;
		}
		
		aside.left {
			width:100%;
			margin-right: 1%;
		}
	
	}
	
	@media screen and (max-width: 335px){
		div.selecterContent ul.nolist li  {
			width: 98%;
			margin: 0 2.29% 0 0;
		}
		
		div.selecterContent ul.nolist li img {
			width: 100%;
		}
		
		.callbacks_nav {
			top:60%;
		}
		
		div.callbacks_container{
			padding-top: 120px;
		}
		
		header {
			height: auto;
			padding: 0;
			border-top: none;
		}
		
			header nav {
				height: auto;
			}
		
		
				header nav ul  {
					height: auto;
					padding: 0;
					width: 100%;
					
				}
					header nav ul li{
						border-top: dotted 2px #fff;
						padding: 2px;
						line-height:24px;
						width:100%;
						margin: 0;
						height: auto;
						display: inline;
					}
						header nav ul li a{
							padding:0;
						}
					
						header nav ul li a:hover{
								color: #000;
								background-color: #fff;
								border:0;
						}
		
		
	}
	
/*ESTILOS DEL SLIDER RESPONSIVE*/
/*! http://responsiveslides.com v1.32 by @viljamis */

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides li {
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }
  
  /*Mensaje si el explorador es muy antiguo*/
.explorador {
	margin:0 auto; 
	width:960px; 
	height:50px; 
	background: #FF0000; 
	color: white; 
	z-index:99; 
	position:relative;
	padding: 5px;
}
.explorador a {
	text-decoration: underline;
	color: #000;
}
 
