*{
	margin:0;
	padding:0;
}
html{
	font-family:Helvetica, Arial, "Trebuchet MS", sans-serif;
	font-size: 1em;
    line-height: 1.4;
}

body{
	min-width:350px;
	max-width:1140px;
	margin:0 auto;
	font: 16px/26px Helvetica, "Helvetica Neue", Arial;
}

header{
	margin:0 auto;
}

nav{
	display:table;
	margin:0 auto;
}

aside{
	display:inline-block;
	float:left;
	width:20%;
}

section{
	display:inline-block;
	float:left;
	background-color:#f8f8f8;
}

article.primer{
	margin-left:4.444%;
	margin-right:4.444%;
}

div.izquierda{
	display:table;
}

div.foto1{
	float:left;
	width:49%;
	padding-right:0.25em;
}

div.foto2{
	float:left;
	width:49%;
	padding-left:0.25em;
}

h1{
	margin-top:2em;
	margin-bottom:1em;
}
hr{
	margin-top:0.5em;
}

p.trenca{
	clear:both;
}

footer{
	clear:both;
	padding-top:2em;
}
div.fijar{
	/*position:relative;*/
	height:3em;
}

div.fila{
	display:table-row;
	border:none;
	padding:0;
}
div.celda{
	display:table-cell;
	border:none;
	padding:0;
}

div.foto_sola{
	float:left;
	width:29%
}

div.texte_iz{
	float:left;
	width:65%;
	padding-left:1em;
}

div.per_mitg{
	float:left;
	width:41%;
}

div.altre_mtig{
	float:left;
	width:55%;
}
/*Estils Propis*/

div.borde img{
	max-width:100%;
	height:auto;
}

div.logo_pt img{
	max-width: 100%;
	 height: auto;
}

div.logo img{
	max-width:100%;
	height:auto;
}

div.celda img{
	max-width:100%;
	height:auto;
	border:none;
}

div.foto1 img{
	max-width:100%;
	height:auto;
	margin-top:0.5em;
}

div.foto2 img{
	max-width:100%;
	height:auto;
	margin-top:0.5em;
}

div.foto_sola img{
	max-width:100%;
	height:auto;
}

a.enllas{
	text-decoration:none;
	color:#000000;
}
a.enllas:hover{
	text-decoration:underline;
}

a.link{
	text-decoration:none;
	color:#990000;
}

a.link:hover{
	text-decoration:underline;
}

p.dreta{
	text-align:right;
	font-weight:bold;
}

.ala_dreta{
	float:right;
}

.tot{
	width:100%;
}


.text-dalt{
  vertical-align:text-top ;
}

input, textarea {
    border-color: #EEE;
    box-shadow: none;
}

input[type="text"], textarea {
  border-radius: 0px;
  background-color: #FFF;
  font-family: inherit;
  border: 1px solid #CCC;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1) inset;
  color: rgba(0, 0, 0, 0.75);
  display: block;
  font-size: 0.875em;
  margin: 0px 0px 1em;
  padding: 0.5em;
  height: 2.3125em;
  width: 100%;
  box-sizing: border-box;
  transition: box-shadow 0.45s ease 0s, border-color 0.45s ease-in-out 0s;
}

textarea {
    min-height: 70px;
}

input[type="button"]{
	padding-top: 0.625em;
	padding-bottom: 0.5625em;
	width: 100%;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	border: medium none;
	background: none repeat scroll 0% 0% #E74C3C;
	transition: background-color 300ms ease-out 0s;
	cursor: pointer;
	color:#FFFFFF;
	font-weight:bold;
}

input[type="button"]:hover{
	background-color:#33CC00;
}

input:focus,textarea:focus{
border-color:#58c779;
box-shadow:none;
-webkit-box-shadow:none;
-moz-box-shadow:none;
-o-box-shadow:none;
}

/*#musica {height:0;width:0;}*/

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 480px) {
	body{
		width:100%;
	}
	
	div.logo{
		display:none;
	}
	aside{
		display:none;
	}
	div.foto1{
		width:90%;
	}
	div.foto2{
		width:90%;
	}


}





@media only screen and (min-width: 481px) and (max-width: 1139px) {
	div.logo{
		display:none;
	}
	aside{
		display:none;
	}

	
}


@media only screen and (min-width: 704px) {
	div.logo{
		display:inline;
	}
	div.logo_pt{
		display:none;
	}
	aside{
		display:inline-block;
	}
	nav{
		display:none;
	}
	section{
		width:79%;
	}

}



@media only screen and (min-width: 1140px) {

}






@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }


    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}