/* CSS Document */

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

body {
	padding-top:110px;
	position:relative;
}

/***MENU***/


.navbar-brand > img {
    display: block;
    height: 110px;
	position: absolute;
    left: 50%;
    margin-left: -55px !important;  /* 50% of your logo width */
}

.container-fluid {
	padding: 0;
}

.container-fluid .navbar-header {
	height: 140px;
	margin: 5px 0;
}

.navbar-default .navbar-collapse {
    border-color: #e7e7e7;
	background-color: #fff;
	padding-left: 50px;
	padding-right: 50px
}

.navbar-default .navbar-nav>li>a {
    color: #e65d83;
	text-align: right;
    border-color: transparent; 
	font-size: 24px;
    font-family: "Open Sans Condensed", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 700;
    text-transform: uppercase;
	padding-top: 65px;
}

/*.nav-text .navbar-nav {
	text-shadow: 2px 2px #ffe9ef;
}*/


.navbar-default .navbar-nav>li>button {
    color: #e65d83;
	text-align: right;
    border-color: transparent; 
	font-size: 24px;
    font-family: "Open Sans Condensed", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 700;
    text-transform: uppercase;
	padding-top: 65px;
	line-height: 1;
	background-color: #fff;
}


.navbar-default .navbar-nav>li>button:focus  {
    outline: none;
}

.bounce {
  animation-name: bounce;
  transform-origin: center bottom;
}

.iconos .fa {
	font-size: 48px;
	color: #e65d83;
	line-height: 15px;
	text-shadow: none;
}

.iconos a:hover {
	transform: rotate(30deg);
}


.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
    color: #ffd540;
    background-color: inherit;
}



/*.navbar-default  {
	text-shadow: 2px 2px #ffe9ef;
}*/

.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 50px;
    margin-right: 25px;
    margin-bottom: 30px;
    border: none;
	/*position: absolute;
  	top: calc(50% - 10px);
	right: 20px;*/
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #e65d83; 
	width: 28px;
    height: 3px;
}

@media (max-width: 768px){
	.navbar-default {
		background-color: #fff;
	}
	
	.navbar-right {
		display: none;
	}
		
	.navbar-default .navbar-nav>li>a {
    text-align: center;
    border-color: #333;
    padding: 15px 5px;

	}
}


/*LATERAL*/

.lateral {
	width:200px;
	height:50%;
	background-color:rgba(230,93,131,0.90);
	position:fixed;
	top:0;
	right:-200px;
	z-index:100;
	padding-top:46px;
	transition:right 0.5s;
}

.lateral.filtros {
	right:0;
}


.filtro li {
	list-style-type: none;
	margin-top: 120px;
}

.filtro button {
	font-family: "Open Sans Condensed", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    text-transform: uppercase;
	font-weight: 700;
	font-size: 18px;
	color: #ffd540;
}

.filtro .btn-link {
	padding-right: 0;
}

.filtro .btn-link:focus, .filtro .btn-link:hover {
    color: #ffd540;
    text-decoration: none;
    background-color: transparent;
	text-shadow: 2px 2px #e65d83;
	outline:none;
}

/***SECCIONS***/


/*Malafolla Crew*/

.malafollacrew {
	background: linear-gradient(321deg, #5DA5C1, #8296D8);
	background-size: 400% 400%;
	animation: degradado_1 15s ease infinite;
	padding: 30px
}

@keyframes degradado_1 { 
    0%{background-position:1% 0%}
    50%{background-position:99% 100%}
    100%{background-position:1% 0%}
}

/*.row.padding-menu {
	padding-top:60px;
}*/

.malafollacrew h3 {
	color: #ffffff;
	font-family: "Open Sans Condensed", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 700;
	padding-top: 10px;
	text-align: left;
}

.malafollacrew h4 {
	color: #ffffff;
	font-family: "Open Sans Condensed", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 700;
	padding-top: 10px;
	text-align: left;
}

.perfil {
	padding: 10px;
	margin: 5px auto;
}

.perfil img {
	padding: 20px;
	filter: grayscale(100%);
	transition: 0.3s ease-in-out;
}


.perfil img:hover {
	filter: grayscale(0);
}

.perfil .texto-perfil{
	position: relative;
	bottom:50px;
	transition: bottom 0.6s; 
}

.perfil:hover .texto-perfil{
	bottom:0;
}

.perfil h4 {
	color: #ffffff;
	text-align:center;
	opacity:0;
	transition: opacity 0.2s ease-out;
	font-family: "Open Sans Condensed", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 700;
    text-transform: uppercase;
	font-size: 22px;
}


.perfil:hover h4 {
	opacity:1;
	color: #ffffff;
}

.perfil p {
	opacity: 0;
	color: #ffffff;
	font-family: "Open Sans Condensed", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 700;
	transition: opacity 0.2s ease-out;
	padding-left: 25px;
	padding-right: 25px;
	
}
.perfil:hover p {
	opacity:1;
	color: #ffffff;
	
}

.perfil .questionari-pregunta {
	color: #ffd540;
	font-family: "Open Sans Condensed", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 700;
	font-style: italic;
}

.banners img{
	max-height: 200px;
}


.side-item {
	padding-left: 40px;
	width: 80%;
}

.side-item p{
	text-align: left;
	color: #ffffff;
	font-family: "Open Sans Condensed", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 300;
	font-size: 20px;
	;
}
.side-item h3{
	text-align: left;
	font-size: 20px;
}
.side-item a{
	color: #ffd540;
	text-decoration: none;
}

.side-item a:focus, a:hover, a:active {
	color: #ffd540;
	font-weight: 700;
}



/*Projectes*/

.projectes {
	background-color:#ffffff;
}

.projectes .container-fluid {
	padding-left:0;
	padding-right:0;
}


.grid {
	width:100%;
	background-color:#fff;
	margin:40px auto 0px auto;
}

.grid-item, .grid-sizer {
  /*width: 20%;*/
}

.grid-item {
	/*height: 270px;*/
	/*margin-bottom:10px;*/
	padding-left:0;
	padding-right:0;
	overflow: hidden;
}

.grid-item img {
	width:100%;
	transition:all 0.25s ease-in-out;
}

.grid-item .cover {
	position:absolute; /*Como tiene positición absoluta, su padre es el primer elemento con posición relativa*/
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color:rgba(27,125,147,0.50);
	opacity:0;
	transition:all 0.4s;
}

.grid-item .cover-text h3{
		font-family: "Open Sans Condensed", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
		font-weight: 700;
		text-transform: uppercase;
		font-size: 23px;
}

.grid-item .cover-text {
		z-index: 10;
		color: #fff;
		position: absolute;
		top: 50%;
		left: 0;
		width: 100%;
		text-align: center;
		opacity: 0;
		transition:all 0.25s ease-in-out;
}

.grid-item:hover .cover {
	opacity:1; /*Si queremos el color transparente y no tenemos texto, podemos hacerlo así, si no habría que hacerlo con rgb con transparencia, ya que si no el texto tb sería transparente.*/
}

.grid-item:hover img{
		transform: scale(1.15,1.15);
}

.grid-item:hover .cover-text {
		opacity: 1;
}


/*Footer*/

.footer {
	/*background-color: #cccccc;*/
	background-image: url(../img/pattern_rosa_verd.jpg);
	height: 15%;
	position: relative;
}

.copyright {
	padding: 50px 10px;
}

.footer .text-copyright  {
	font-size: 16px;
	color: #ffd540;
	text-shadow: 2px 2px 0px #e65d83;
	font-weight: 600;
	/*background-color: #fff;*/
}

.footer .iconos .fa {
	font-size: 50px;
	color: #ffd540;
	padding: 20px 10px;
}

.footer .iconos a {
	float: right;
}

.footer .iconos a:hover {
	transform: rotate(30deg);
}

@media (max-width: 768px){
	.footer .copyright p {
		padding: 20px 10px;
	}

	.footer {
		height: 10%;

	}
	
}


/*Lateral*/

#cover-page {
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.5);
	position: fixed;
	top: -100%;
	left: 0;
	opacity: 0;
	transition: opacity 0.4s;
	z-index: 999;
}

#cover-page.open {
	top: 0;
	opacity: 1;
}

#cover-page:hover {
	cursor: crosshair;
}

#close-button {
	background: none;
	position: absolute;
	top: 20px;
	right:20px;
	z-index: 99999;
	border-style: none;
	font-size: 20px;
}

#close-button:focus {
    outline: none;
}

#lateral {
	position: fixed;
	top: 0;
	bottom: 0;
	right: -50%;
	width: 50%;
	background-color: #afafaf;
	transition: all 0.4s;
	z-index: 88888;
	overflow: auto;
}

#lateral.open {
	right: 0%;
}

@media (max-width: 768px){
	
	#lateral.open {
	width: 100%;
	}	
	
}

#lateral:hover {
	cursor:auto;
}

/*content-Lateral*/

.content-lateral {
	background-color: #ffffff;
}

.content-lateral h3 {
	font-family: "Open Sans Condensed", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 700;
    text-transform: uppercase;
	color: #ffd540;
	text-shadow: 2px 2px #e65d83;
	padding: 10px 15px;
}

.content-lateral .lateral-explicacion {
	padding: 5px 15px;
	font-weight: bold;
	font-size: 15px;

}

.content-lateral .lateral-datos {
	padding: 5px 15px 15px 15px;
	font-size: 13px;
	line-height: 0.8;
	color: #e65d83;
	text-transform: uppercase;
}

.content-lateral .lateral-datos a{
	font-size: 13px;
	line-height: 0.8;
	color: #e65d83;
	text-transform: uppercase;
}


.content-lateral .lateral-imagenes{
	width: 100vw;
	padding: 10px 15px;
	right:20px;
	background-color: #ffffff;
}

.content-lateral a {
	text-decoration: none;
	color: #e65d83;
}

.content-lateral img {
	margin-bottom: 10px;
}


#lateral {
    background-color: #ffffff;
}

/*@media (max-width: 380px){
	.content-lateral img {
   		width: 325px;
	}
}

@media (max-width: 768px) and (min-width: 381px) {
	.content-lateral img {
   		width: 700px;
	}
}*/


