/* ESTILOS FADE OUT */

body {
    opacity: 1;
    transition: 1s opacity;
}
body.fade-out {
    opacity: 0;
    transition: none;
}

/* ACTIVAR SI QUIERES CAMBIAR EL COLOR BLANCO POR OTRO
html {
    background-color: black;
}
*/




/* ----------GENERAL---------- */

		h1, h2, h3, h4, h5, h6, p {
			margin: 0 auto;
		}

		* {
			margin: 0;
		}

		.ancho {
			max-width: 900px;
		}


		body {
			font-family: 'Open Sans', sans-serif;
		}
		
		#italic {
			font-style: italic;
		}


	/* Fontello */

	@font-face {
	  font-family: 'arrows';
	  src: url('../fonts/arrows.eot?65446781');
	  src: url('../fonts/arrows.eot?65446781#iefix') format('embedded-opentype'),
	       url('../fonts/arrows.woff2?65446781') format('woff2'),
	       url('../fonts/arrows.woff?65446781') format('woff'),
	       url('../fonts/arrows.ttf?65446781') format('truetype'),
	       url('../fonts/arrows.svg?65446781#arrows') format('svg');
	  font-weight: normal;
	  font-style: normal;
	}		

	.demo-icon {
		font-family: "arrows";
		font-style: normal;
		font-size: 14px;
	}


	/* Márgenes */

		.margen-intro {
			padding-top: 30%;
		}

		.margen-nav {
			padding-top: 70px;
		}

		.margen-row {
			padding-top: 30px;
		}
		.margen-bottom {
			padding-bottom: 100px;
		}

		.text-center {
			text-align: center;
		}


/* BARRA NAVEGACIÓN NORMAL*/

.navbar-custom {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  background-color: white;
}
.navbar-custom .navbar-toggle {
  color: #333;
  background-color: white;
  font-size: 24px;
}
.navbar-custom .navbar-toggle:focus,
.navbar-custom .navbar-toggle:active {
  background-color: white;
	border-color: #333;
}
.navbar-custom .navbar-brand {
  font-weight: 700;
}
.navbar-custom .navbar-brand:focus {
  outline: none;
}
.navbar-custom a {
  color: rgba(0, 0, 0, .5);
}
.navbar-custom .nav li a {
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
}
.navbar-custom .nav li a:hover {
  color: rgba(0, 0, 0, .8);
  outline: none;
  background-color: transparent;
}
.navbar-custom .nav li a:focus,
.navbar-custom .nav li a:active {
  outline: none;
 background-color: transparent;
}
.navbar-custom .nav li.active {
  outline: none;
}
.navbar-custom .nav li.active a {
  color: rgba(0, 0, 0, .8);
}
.navbar-custom .nav li.active a:hover {
  color: rgba(0, 0, 0, .8);
}
@media (min-width: 768px) {
  .navbar-custom {
    padding: 20px 0;
    border-bottom: none;
    letter-spacing: 1px;
    background: transparent;
    -webkit-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
    -moz-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
    transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
  }
  .navbar-custom.top-nav-collapse {
    padding: 0;
    background: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
}



/* ----------HOME------------ */	





	/* HEADER CONTENT */

	@media (min-width: 768px)
	header {
	    min-height: 100%;
	}

	header {
	    min-height: auto;
	    -webkit-background-size: cover;
	    -moz-background-size: cover;
	    background-size: cover;
	    -o-background-size: cover;
	    background-position: center;
	    background-image: url(../img/home4.jpg);
	    color: rgba(205, 200, 177, .8);
	    
	}

	header, header .header-content {
	    text-align: center;
	    position: fixed;
	    top: 50%;
	    left: 50%;
	    min-width: 100%;
	    min-height: 100%;
	    width: auto;
	    height: auto;
	    z-index: -100;
	    transform: translateX(-50%) translateY(-50%);
	    background-size: cover;
	}

	/* TEXTO ANIMADO */

		.cd-intro {
			position: relative;
		    top: 45vh;
		    line-height: 45px;
		    font-family: 'Open Sans', sans-serif;

		}

		.cd-intro a {
			color: white;
		    text-decoration: none;
		    background-color: rgba(255, 255, 255, .3);
		    padding: 7px;
		    border-radius: 3px;
		}
		  .header-content{
		  background-size: contain;
		  background-position: 50% 50%;
		  position: absolute;
		  top: 0; right: 0; bottom: 0; left: 0;
		}
/* ----------PORTFOLIO---------- */

		/* Grid */
			.portfolio-item {
			    margin-bottom: 25px;
			}


/* ----------WORKS---------- */

		.work p {
			font-size: .9em;
			font-family: 'Open Sans', sans-serif;
		}

		.work h4 {
			font-size: 1.1em;
			font-weight: 300;
			line-height: 20px;
			color: rgba(0, 0, 0, .6);
			font-family: 'Roboto', sans-serif;
		}

		span {
			color: rgba(0, 0, 0, .8);
			font-weight: 600;
		}
		.work h3 {
			font-size: 1.1em;
			font-weight: 500;
		}


		/* Carousel */
			.carousel-control.left, .carousel-control.right {
		 	background-image: none;
			}

			.carousel {
				position: relative;
				width: 100%;
				height: auto;
				padding: 0px 0;
				text-align: center;
				color: white;
				background: no-repeat bottom center scroll;
				-webkit-background-size: cover;
				-moz-background-size: cover;
				background-size: cover;
				-o-background-size: cover;
			}


			@media (min-width: 768px)
			header {
			    min-height: 100%;
			}


		/* Paginación */
			.pager a {
			    color: gray;
			    text-decoration: none;
			}

			.pager li > a, .pager li > span {
			    border: none;
			    font-weight: 300;
			}

			.pager li > a:hover, .pager li > a:focus {
			    text-decoration: none;
			    background-color: white;
			    color: black;
			    font-weight: 300;
			}

		/* Botones Share */
		.work a {
			color: rgba(0, 0, 0, .6);
			padding: 11px 15px;
		    line-height: 4;
		    background: #F1F1F1;
		}

		.work a:hover {
			color: #F1F1F1;
			background: rgba(0, 0, 0, .6);
		}

/* ----------ABOUT ME---------- */

		.about-me {
			margin-top: 30px;
		}

		.skills-size {
			padding-bottom: 50px;
		}

		#lugar2 {
			display: none;
		}


/* ----------CONTACT ME---------- */
		.form {
			padding-top: 30px;
			padding-bottom: 45px;
			}

		/*Texto */

			.form a {
				text-decoration: none;
				color: #333;
			}

		/* form */

			.campos {
				width: 356px;
				padding: 4px;
				margin-bottom: 10px;
			}

			textarea {
				height: 120px;
			}

			#boton{
				width: 120px;
				background-color: rgba(0, 0, 0, .7);
				padding: 5px;
				border: 0;
				color: white;
				display: inline-block;

			}

			input[type=text], textarea[type=text] {
				border-style: none;
			    appearance: none;
			    -webkit-appearance: none;
			    -moz-appearance: none;
			    -o-appearance: none;
			    background: rgba(0, 0, 0, .06);
			}

			.form input[type="text"]:focus, .form input[type="mail"]:focus, .form textarea[type=text]:focus {
			    color: #333;
			    border: 0.5px solid rgba(0, 0, 0, .1);
			    background-color: rgba(0, 0, 0, .02);
			    
			    -webkit-box-shadow: none;
			    -moz-box-shadow: none;
			    box-shadow: none;
			    outline: none; 
			}

			label {
   				font-weight: 300;
   			}
		
		/* Mapa */

			.map {
				padding-bottom: 30px;
			}


/* ----------FOOTER---------- */
		.footer {
		    background-color: black;
		    text-align: center;
		    padding: 50px;
		    width: 100%;
		    /*line-height: 19px;*/

		}

		#footer-nav, h5, #redes-sociales {
			display: inline-block;
			}

		#copyright {
			color: white;
			font-size: 14px !important;
			float: left;

		}

		div#redes-sociales {
    		float: right;
		}

		#copyright h5 {
			font-weight: 300;
		}

		.footer a{
			color: #ffffff;
			text-decoration: underline;
			padding: 10px;
			letter-spacing: 0.06em;
			font-size: 14px;
			
		}
		.footer a:hover{
			color: #999999;
		}

		#cv {
			color:#999999;
			text-decoration: underline;
		}


		#be, #pin, #drib {
			font-size: 14px;
		}

html {
  height: 100%;
}
html, body {
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  position: relative;
  min-height: 100%;
  padding-bottom: 60px;
  box-sizing: border-box; 
}
.footer {
  position: absolute;
  bottom: 0;
  /*height: 60px;*/
}





/* MEDIAQUERIES */


@media all and (max-width: 600px) {
	
	.footer {
		background-color: black;
	}

	#footer-nav {
		display: block;
		text-align: center;
	}

	.footer {
		padding: 0;
		height: 0;
		position: relative;
	}

	#copyright {
		display: block;
		text-align: center;
		float: none;
		line-height: 2.9;
	}

	div#redes-sociales {
		display: block;
		text-align: center;
		float: none;
	}

	.list-inline  { 
    	text-align: center;
	}

	h1.cd-headline {
		font-size: 23px;
	}

	h2 {
		font-size: 20px
	}

}

@media all and (max-width: 700px) {

	#lugar1 {
		display: none;
	}

	#lugar2 {
		display: block;
	}
}