﻿@charset "utf-8";
/* CSS Document */


/* --------------------- Resolucions pantalla més petites ------------------------- */

@media all and (max-width: 980px){
  #left{
    display: block !important;	/* Cuando el ancho sea inferior a 980px el elemento será un bloque */
    width: 100% !important;
    max-width: 95% !important;
    margin: auto !important;
    position: static !important;
    float: none !important;
    padding-right: 1% !important;
  }
  #right{
    display: block !important;	/* Cuando el ancho sea inferior a 980px el elemento será un bloque */
    width: 95% !important;
    max-width: 95% !important;
    margin: auto !important;
    position: static !important;
    float: none !important;
    border-top: medium solid #fb7904 !important;
    padding-top: 4% !important;
  }
  .photo {
    display: block !important;
    position: relative !important; /* Perquè els div flotants es puguin alinear dins el #photo on vulguem */
    float: none !important;
    text-align: center !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 3% !important;
  }
  .photofooter {
    width: 96% !important;
    max-width: 96% !important;
    float: left !important;
    background: #857f7a !important;
    opacity: .85 !important;
    filter: alpha(opacity=85) !important; /* Instrucció per a versions anteriros del IE 7 */
    text-align: left !important;
    font-size: small !important;
    color: #ffffff !important;
    position: absolute !important; /* Perquè aquest div flotant es puguin alinear dins el #photo on vulguem */
    padding: 2% !important;
    border-top-left-radius: 5px !important;
    border-top-right-radius: 5px !important;
    -moz-border-radius-topleft: 5px !important;
    -moz-border-radius-topright: 5px !important;
    -webkit-border-top-left-radius: 5px !important;
    -webkit-border-top-right-radius: 5px !important;
  }
  .lens {
    display: none !important;
  }
  .box_right {
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 1% !important;
  }
  #comentaris {
    margin-bottom: 2% !important;
  }
  .face, .tweet, .google, .linkedin { /* Fer que les xarxes socials surtin alineades una al costat de l'altre */
    min-width: 60px !important; /* perquè aquestes xarxes socials el seu div sigui igual d'amplada a la barra de xarxes*/
    margin-right: 7px !important;
    overflow:hidden !important;
    display: inline-block !important;
    vertical-align: top !important;
  }
  #animacio {
    display: none !important;
  }
  #left .photo{
    padding-left: 0 !important;
  }
  #twitter {
    display: none !important;
  }
  #cloudtag {
    display: none !important;
  }
  #enviar {
    width: 75% !important;
  }
  .emergent {
    width: 60% !important;
  }
  .news {
    margin: .5em 0 1em 0.2em !important;
  }
  .item_news, .item_news_H {
    margin-bottom: 5% !important;
  }
  .item_news h2 {
    margin-top: 3% !important;
  }
  .share {
    display: none !important;
  }
}

@media all and (max-width: 780px){
  #nav_wrapper {
    overflow: hidden; /* Perquè nav inclogui dintre seu tot el contingut del div. D'aquesta manera podem posar la imatge de fons al menú */
  }
  .formulari input,
  .formulari select,
  .formulari textarea, input, select, textarea {
    width: 95% !important;
  }
  .info {
    display: none !important;
  }
  #boto {
    display: inline-block !important;
    float: right !important;
    position:relative !important;
  }
  #menu {
    position: absolute !important;
    display: none;
    z-index: 100 !important;
    width: 96% !important;
    right: 2.5% !important;
    -webkit-box-shadow: 4px 4px 4px #999 !important;
    -moz-box-shadow: 4px 4px 4px #999 !important;
    box-shadow: 4px 4px 4px #999 !important;
    overflow: hidden !important;
  }
  #menu ul {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
  }
  #menu ul li ul {
    width: 100% !important;
    margin-left: 5% !important;
  }
  #header_wrapper {
    border-bottom: thick solid #fb7904 !important;
  }
  #enviar {
    width: 85% !important;
  }
  .box_right div a img {
    width: 15% !important;
  }
  .highlight_left {
    float: none !important;
    width: 100% !important;
    text-align: center;
  }
  .highlight_right {
    float: none !important;
    width: 100% !important;
    padding-left:0 !important;
  }
  .emergent {
    width: 70% !important;
    padding-right: 5% !important;
  }
  .altres {
    display: inline-block !important;
  }
  .news h2 {
    padding-top: 5px !important;
  }
  .photofooter {
    bottom: 0 !important;
  }
  .inicials {
  font-size: 290% !important;
  }
  .scrollnew {
  background: #857f7a;
  color: white;
  font-size: 5.9em;
  text-align: center;
  cursor: pointer;
  position: fixed;
  left: 50%;
  bottom: 10px;
  width: 100px;
  height: 100px;
  margin-left: -50px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  opacity: .9;
  filter: alpha(opacity=90); /* Instrucció per a versions anteriros del IE 7 */
  -webkit-box-shadow: 0 0 10px #999;
  -moz-box-shadow: 0 0 10px #999;
  box-shadow: 0 0 10px #999;
  z-index: 100;
  }
  .scrollnewtext {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  }
  input[type="checkbox"] + label {
    background-position: 0 -42px; width: 24px; height: 24px;
    width: 15px !important;
  }
  input[type="checkbox"]:checked + label {
    background-position: 0 -42px; width: 24px; height: 24px;
    width: 15px !important;
  }
}

@media all and (max-width: 500px){
  table {width:100% !important;}
  thead {display: none;}
  tr:nth-of-type(2n) {background-color: inherit;}
  tr td:last-child {background: #f0f0f0; font-weight:bold;font-size:1.2em;}
  :nth-child(3),:nth-child(6){font-weight:bold;font-size:1.03em;}
  tbody td {display: block;  text-align:center;}
  tbody td:before,thead td:before {
    content: attr(data-th);
    display: block;
    text-align:center;
  }
  td {
    margin: 0 !important;
  }

  #right {
    display: none !important;
  }
  .formulari input,
  .formulari select,
  .formulari textarea, input, select, textarea {
    width: 95% !important;
  }
  .item, .item_index {
    width: 98% !important;
  }
  .arxius {
    width: 90% !important;
  }
  .emergent {
    width: 85% !important;
    padding-right: 5% !important;
  }
  .slider {
    display: none !important;
  }
  .flash_index {
    display: block !important;
  }
  .profile, .cercle_box {
    width: 30% !important;
    margin: 0 auto 2em 5% !important;
    margin-right: 1em !important;
  }
  .inicials {
  font-size: 300% !important;
  }
  .image {
    display: none !important;
  }
}


/* --------------------- Estils generals ------------------------- */

*{
  margin: 0; /* Perquè tots els marges automàtics de div's, textos, etc. quedin anul·lats */
}
p {
  margin-bottom: 1em;
  line-height: 1.3em;
}
h1,h2,h3,h4,h5,h6 {
  font-family: "Arial Rounded MT Bold",Helvetica,Geneva,Arial,sans-serif;
  margin-bottom: 0.5em;
}
h1 {
  font-size: x-large;
  color: #130900;
}
h2 {
  font-size: large;
  color: #fb7904;
}
h3 {
  font-size: medium;
}
h4 {
  font-size: medium;
  text-align: center;
  color: #857f7a;
}
h5 {
  font-size: small;
}
ul,ol,li {
  margin-bottom: 1em;
  margin-top: 0.5em;
}
body, th {

  overflow: visible;
  font-family: "Trebuchet MS",Helvetica,Geneva,Arial,sans-serif;
  font-size: 14px;
}

a:link {
  color: #fb7904;
  text-decoration: none;
}
a:visited {
  text-decoration: none;
  color: #fb7904;
}
a:hover {
  text-decoration: underline;
  color: #fb7904;
}
a:active {
  text-decoration: none;
  text-align: left;
}
img {
  display: inline-block;
  height: auto;
  max-width: 100%;
  border: 0; /* Perquè no apareixin "bordes" en imatge amb enllaç en alguns navegadors com Explore */
}
hr {
  border: 1px dashed grey;
  height: 0;
}
.embed-container {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}
.embed-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}
#wrapper {
  margin: 0px auto;
  max-width: 1000px;
  background: #ffffff;
  overflow: hidden;
}
#header_wrapper {
  background: #ffffff;
  overflow: visible;
  clear: both;
}
#top {
  margin: 0px auto;
  max-width: 1000px;
  background: #ffffff;
  overflow: visible;
  padding: .5% 0;
  font-size: small;
  position:relative;
}
#nav_wrapper {
  overflow: hidden; /* Perquè nav inclogui dintre seu tot el contingut del div. D'aquesta manera podem posar la imatge de fons al menú */
  background: #fb7904;
}
#menu {
  margin: 0px auto;
  max-width: 1000px;
  text-align: center;
  font-size: larger;
  font-weight: bold;
}
#menufloat {
  display: none !important;
}
#ruta {
  font-size: small;
  padding: 0 .5em .5em .5em;
}
#main {
  padding: 1em 0 0;
  overflow: visible;
}
#bottom {
  padding: 1em;
  font-size: small;
  text-align: center;
  overflow: hidden;
  background: #130900;
  color: #ffffff;
}
#bottom a{

}
#animacio {
  float: left;
  width: 58%;
  text-align: center;
  margin: 0 1% 0 1%;
}
#header_mob {
  display: none !important;
}
#header_mob a {
  display: none;
}
#left {
  float: left;
  width: 70%;
  padding: 1%;
  max-width: 100%;
  overflow: visible;
  position: relative;
}
#right {
  float:left;
  width: 25%;
  padding: 1% 1% 0 1%;
}

#marc {
  width: 250px;
  height: 250px;
  overflow: hidden;
}
#cloudtag {
  border-top: medium solid #fb7904;
  border-bottom: thin solid #fb7904;
  margin-top: .5em;
  margin-bottom: 1em;
  padding: .5em;
}
#twitter {
  border-top: medium solid #fb7904;
  border-bottom: thin solid #fb7904;
  margin-top: .5em;
  margin-bottom: 1em;
  padding: .5em 0;
}
#boto {
  display: none;
  float: right;
  width: 10%;
  padding-right: 1%;
}
th {
  padding: 0.5em;
  margin: 0 1em;
  border: solid thin #ecebeb;
}
td {
  padding: 0.5em;
  margin: 0 1em;
  border-top: solid thin #ecebeb;
  border-bottom: solid thin #fb7904;
}
thead tr th {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  -webkit-border-left-radius: 5px;
  -moz-border-left-radius: 5px;
  -webkit-border-right-radius: 5px;
  -moz-border-right-radius: 5px;
}
tfoot {
  margin-bottom: 0.5em;
}
tbody tr:hover {
  background: #ecebeb;
}
table {
  border-bottom: solid thin #ecebeb;
}

#sessio {
  padding: 1em;
  font-size: small;
  text-align: right;
  overflow: hidden;
  background: #130900;
  color: #ffffff;
}
.espai {
  margin-bottom: 15px;
}
#cargando {
  position:absolute;
  width:100%;
  height:100%;
  background:#fff url(img/loading.gif) no-repeat center;
}

/* --------------------- Notícies ------------------------- */

.news {
  padding: 0.5em;
  margin: .5em 0 1em .8em;
  max-width: 96%;
  border: solid thin #ecebeb;
  -moz-border-radius: 10px;
  -webkit-border-radius:10px;
  border-radius:10px;
}
.news .data {
  text-align: right;
}
.news .font a{
  color: #857f7a;
}
#description{
  margin: 15px 0;
}
#social {
  font-size: small;
  border-top: dotted thin #857f7a;
  border-bottom: dotted thin #857f7a;
  margin: 1em 0;
  padding: .3em .3em .1em;
}
#comentaris {
  border-top: solid thin #fb7904;
  border-bottom: solid thin #fb7904;
  margin: 1em 0;
  padding: 1em 0 .3em 0;
  max-width: 100%;
}
.comments {
  font-size: small;
  padding: .7em .7em 0 .7em;
  margin: 1em 0 1em;
  max-width: 100%;
  border: solid thin #ecebeb;
  -moz-border-radius: 10px;
  -webkit-border-radius:10px;
  border-radius:10px;
}
.profile {
  float: left;
  margin-right: 1em;
}
.comments h4 {
  text-align: left;
}
.comments .data {
  text-align: left;
  padding-bottom: .5em;
}
.contact {
  line-height: 1.6em;
  margin-left: 5px;
}
.contact strong {
  font-size: 16px;
}
/* --------------------- Menú contràctil de la dreta ------------------------- */

.box_right {
  border-top: medium solid #fb7904;
  border-bottom: thin solid #fb7904;
  margin-top: .5em;
  margin-bottom: 1em;
  padding: 1px 0 1em 0;
  background-image: url(../img/Fons_Gris_Clar.png);
  background-repeat: repeat-x;
  background-position: 0% 100%;
}
.box_right ul {
  list-style: none;
  padding-left: 0.7em; /* eliminem sagnia del primer nivell */
  cursor: pointer;
  color: #fb7904;
  font-size: small;
}
.box_right ul ul {
  list-style: none;
  padding-left: 2em; /* afegim sagnia a partir del segon nivell */
  display: none;
}
.box_right li.subnavitem {
  background-position: 0 .4em;
}
.box_right li.subnavitem2 {
  background-position: 0 .4em;
}
/* Perquè la taula quedi centre dins el div */
.box_right table {
  margin: 0 auto;
  text-align: left;
}
.search {
  text-align: center;
  padding-bottom: 2%;
}

/* --------------------- Classes ------------------------- */

.logo {
  display: inline-block;
  width: 35%;
  text-align: center;
  vertical-align: middle;
  overflow: visible;
  color: #fff;
}
.info {
  display: inline-block;
  width: 64%;
  vertical-align: middle;
  text-align: right;
  padding: 1% 0 0  0;
  top: 50%;
}
.photo {
  position: relative; /* Perquè els div flotants es puguin alinear dins el #photo on vulguem */
  float: left;
  text-align: center;
  margin-right: 1em;
  overflow: hidden;
  width: 250px;
}
.photo img {
  border:none;
  padding:0;
  margin:0;
  width:100%;
  height:auto;
  display:block;
}
 .photo a {
  background: none !important;
  padding: 0 !important;
}
.photofooter {
  width: 96%;
  float: left;
  background: #857f7a;
  opacity: .85;
  filter: alpha(opacity=85); /* Instrucció per a versions anteriros del IE 7 */
  text-align: left;
  font-size: .8em;
  color: #ffffff;
  position: absolute; /* Perquè aquest div flotant es puguin alinear dins el #photo on vulguem */
  bottom: 0; /* Aquest div flotant s'alinea a la part inferior del #photo */
  padding: 2%;
  margin: auto;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
}
.lens {
  float: right;
  background: #857f7a;
  opacity: .85;
  filter: alpha(opacity=85); /* Instrucció per a versions anteriros del IE 7 */
  position: absolute; /* Perquè aquest div flotant es puguin alinear dins el #photo on vulguem */
  top: 0; /* Aquest div flotant s'alinea a la part inferior del #photo */
  margin: 1%;
  padding: 1%;
}
.flash {
  border-bottom: solid thin #fb7904;
  padding: 0.5em;
  margin: .5em 0 1em 0;
  max-width: 96%;
  text-align: center;
}
.content {
  text-align: center;
}
.group_items {
  width: 100%;
}
.flash_index {
  display: none;
}
.item, .item_index {
  position: relative;
  display: inline-block;
  width: 45%;
  margin: 0 1% 2% 1%;
  border: solid thin #ecebeb;
  -moz-border-radius: 5px;
  -webkit-border-radius:5px;
  border-radius:5px;
  text-align: left;
}
.item:before, .item_index:before{
  content:"";
  display:block;
  padding-top:100%;
}
.item_index:before{
  content:"";
  display:block;
  padding-top:70%;
}
.contingut{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.item h2 {
  padding: 3% 2% 0;
  font-size: large;
}
.item:hover, .item_index:hover {
  -webkit-box-shadow: 0 0 15px 0 #999;
  -moz-box-shadow: 0 0 15px 0 #999;
  box-shadow: 0 0 15px 0 #999;
  position:
}
.item_news_H {
  position: relative;
  margin-bottom: 2%;
  border-bottom: solid thin #fb7904;
}
.item_news_H .font a{
  color: #857f7a;
}
.highlight_left {
  float: left;
  width: 55%;
  margin-bottom: 1%;
}
.highlight_right {
  float: left;
  width: 43%;
  padding-left: 2%;
  padding-top: 1%;
}
.item_news {
  position: relative;
  margin-bottom: 2%;
  border-bottom: solid thin #fb7904;
}

.item_news .font a{
  color: #857f7a;
}

.item_index h4 {
  padding: 2% 2% 0;
  text-align: left;
}

.item_file {
  position: relative;
  display: inline-block;
  width: 20%;
  margin: 0 1% 2% 1%;
  border: solid thin #ecebeb;
  -moz-border-radius: 5px;
  -webkit-border-radius:5px;
  border-radius:5px;
  text-align: left;
  word-break: break-all; /* Obliguem que es talli el text a la línia següent si no hi ha espai d'ample al DIV */
}
.alerta {
  font-style: oblique;
  font-weight: 600;
  color: #fb040b;
  letter-spacing: .1px;
}
.avis {
  font-style: oblique;
  font-weight: bold;
  color: #139e1c;
}
.remarcar {
  padding: .4em;
  font-weight: 600;
  font-size: medium;
  letter-spacing: .1px;
  color: #0485FA;

}
.fons {
  border: solid thick #fb040b;
  background: #ffecec;
  padding: 2px;
}
.fons2 {
  border: solid thick #fb7904;
  background: #ecebeb;
  padding: 2px;
}
.photoitem {
  display:block !important;
  height: 40%;
  overflow: hidden;
  text-align: center;
  margin: auto;
  padding: 0;
  position: relative;
}
.photoitem img {
  position: absolute;
  top:0;
  bottom:0;
  margin: auto;
  left:0;
}
.item_index .photoitem {
  height: 60%;
}

.image {
  display: block;
  margin: auto;
  overflow: hidden;
  text-align: center;
}
.image_servei {
  display: block;
  margin: auto;
  overflow: hidden;
  text-align: center;
}
.highlight {
  color: #130900;
}
.highlight2 {
  font-size: larger;
  color: #857f7a;
  font-weight: normal;
}
.imatge {
  text-align: center;
  padding-top: 3%;
}
.agenda {

}
.agenda h5{
  padding: 1% 2% 0 2%;
}
.agenda .data, .agenda .right{
  padding: 0 2%;
}
.data {
  text-align: right;
  font-size: small;
  font-style: oblique;
  color: #857f7a;
}
.font {
  font-size: small;
  color: #857f7a;
}
.required {
  color: #f60808;
}
.tags {
  border: solid thin #fb7904;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  padding: 0.2em 0.3em 0.2em 0.3em;
  margin: .2em -.1em .2em .4em;
  font-size: small;
  background-image: url(../img/Fons_Gris_Clar.png);
  background-repeat: repeat-x;
  background-position: 0% 100%;
  display: inline-block;
}
.tags a {
  text-decoration: none;
}
.tags:hover, .tags:hover a {
  background: #fb7904;
  color: #fff;
}
.destinataris {
  border: solid thin #fb7904;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  padding: 0.3em; /*  0 0.3em 0 */
  margin: .2em 0.3em .2em 0;
  background-image: url(../img/Fons_Gris_Clar.png);
  background-repeat: repeat-x;
  background-position: 0% 100%;
  white-space: nowrap; /* Evitem que el text salti de línia automàticament */
}
.right {
  font-size: small;
  text-align: right;
}
.right2 {
  font-size: small;
  text-align: right;
  position: absolute;
  bottom: 7px;
  right: 0;
}
.orange_line {
  border-bottom: solid thin #fb7904;
  margin-bottom: 1em;
  padding-right: .3em;
  text-align: right;
  position: relative;
}
.face, .tweet, .google, .linkedin { /* Fer que les xarxes socials surtin alineades una al costat de l'altre */
  margin-right: 7px;
  overflow:hidden;
  display: inline;
  display: inline-block;
  vertical-align: top;
  text-align: center;
}
.correcte {
  color: #03b055;
  font-weight: bold;
  padding: 1%;
  margin: 0% .5% 2% .5%;
  border: solid thin #03b055;
  text-align: center;
  background: #04fb79;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
.incorrecte {
  color: #fb040b;
  font-weight: bold;
  padding: 1%;
  margin: 0% .5% 2% .5%;
  border: solid thin #fb040b;
  text-align: center;
  background: #fd7852;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
.counter {
  float: right;
  font-weight: bold;
  font-size: small;
}
.estat {
  float: left;
  font-weight: bold;
  font-size: small;
  width: 160px;
}
.unread {
  border: solid thick #fb7904;
  background: #ecebeb;
  font-weight: bold;
}
.aprovat {
  border: solid thin #04fb79;
}
.no_aprovat {
  border: solid thick #fb040b;
  background: #ffecec;
  padding: 2px;
}
.close {
  float: right;
  font-size: smaller;
  font-weight: normal;
  color: #857f7a;
  cursor: pointer;
}
.private {
  position: relative;
  display: inline;
}
.emergent {
  display: none;
  background: #fff;
  position: absolute;
  z-index: 99;
  right: 0%;
  padding: 2% 1%;
  border: medium solid #fb7904;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 0 15px #999;
  -moz-box-shadow: 0 0 15px #999;
  box-shadow: 0 0 15px #999;
  text-align: left;
  margin-top: .5%;
}
.orange {
  color: #ffffff;
  background: #fb7904;
  padding: .4em;
  -moz-border-radius: 3px;
  -webkit-border-radius:3px;
  border-radius:3px;
}
.back {
  background: #857f7a;
  padding: .5em;
  -moz-border-radius: 5px;
  -webkit-border-radius:5px;
  border-radius:5px;
  opacity: .8;
  filter: alpha(opacity=80); /* Instrucció per a versions anteriros del IE 7 */
  display: inline-block;
}
.back a {
  color: #ffffff;
}
.back:hover, .back a:hover {
  text-decoration: none;
  background: #130900;
}
.altres {
  display: none;
}
.scrollup {
  background: #857f7a;
  bottom: 6em;
  color: white;
  cursor: pointer;
  display: none;
  padding: .25em .5em;
  position: fixed;
  right: 1.5em;
  -moz-border-radius: 5px;
  -webkit-border-radius:5px;
  border-radius:5px;
  opacity: .9;
  filter: alpha(opacity=90); /* Instrucció per a versions anteriros del IE 7 */
  -webkit-box-shadow: 0 0 10px #999;
  -moz-box-shadow: 0 0 10px #999;
  box-shadow: 0 0 10px #999;
}
.scrollleft {
  background: #857f7a;
  bottom: 46%;
  color: white;
  font-size: xx-large;
  cursor: pointer;
  padding: .25em;
  position: fixed;
  left: 0;
  -moz-border-radius: 5px;
  -webkit-border-radius:5px;
  border-radius:5px;
  opacity: .9;
  filter: alpha(opacity=90); /* Instrucció per a versions anteriros del IE 7 */
  -webkit-box-shadow: 0 0 10px #999;
  -moz-box-shadow: 0 0 10px #999;
  box-shadow: 0 0 10px #999;
  z-index: 100;
}

.scrollright {
  background: #857f7a;
  bottom: 46%;
  color: white;
  font-size: xx-large;
  cursor: pointer;
  padding: .25em;
  position: fixed;
  right: 0;
  -moz-border-radius: 5px;
  -webkit-border-radius:5px;
  border-radius:5px;
  opacity: .9;
  filter: alpha(opacity=90); /* Instrucció per a versions anteriros del IE 7 */
  -webkit-box-shadow: 0 0 10px #999;
  -moz-box-shadow: 0 0 10px #999;
  box-shadow: 0 0 10px #999;
  z-index: 100;
}
.scrollleft a, .scrollright a, .scrollnew a {
  color: white;
  text-decoration: none;
}
.scrollleft a:hover, .scrollright a:hover, .scrollnew a:hover {
  color: #fb7904;
}

.lefttitle {
  display: none;
}
.lefttitle :hover{
  background: #857f7a;
  color: white;
  float: right;
  font-size: medium;
}
.boxsearch {
  border-top: thin solid #fb7904;
}
.editor {
  display: none;
  max-width: 50%;
  background: #857f7a;
  opacity: .8;
  filter: alpha(opacity=85); /* Instrucció per a versions anteriros del IE 7 */
  text-align: center;
  color: #ffffff;
  position: absolute; /* Perquè aquest div flotant es puguin alinear dins el #photo on vulguem */
  right: 1%;
  top: 1%; /* Aquest div flotant s'alinea a la part inferior del #photo */
  padding: 4% 2% 0 2%;
  margin: 0;
  float: right;
  -webkit-box-shadow: 2px 2px 2px #999;
  -moz-box-shadow: 2px 2px 2px #999;
  box-shadow: 2px 2px 2px #999;
  z-index: 200;
}
.item:hover .editor,
.item:active .editor,
.item_index:hover .editor,
.item_index:active .editor,
.item_news:hover .editor,
.item_news:active .editor,
.item_news_H:hover .editor,
.item_news_H:active .editor  {
  display: block;
}
.elements {
  padding: 0.5em;
  margin: .5em 0 1em .8em;
  max-width: 96%;
  border: solid thin #ecebeb;
  -moz-border-radius: 10px;
  -webkit-border-radius:10px;
  border-radius:10px;
}
.foto {
  flex: 1 1 auto;
  border: solid thin #ecebeb;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  padding: 0.2em 0 0.2em;
  margin: .2em -.1em .2em .4em;
  text-align: center;
  overflow: hidden;
}
.file {
  flex: 1 1 auto;
  border: solid thin #ecebeb;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  padding: 0.2em 0 0.2em;
  margin: .2em -.1em .2em .4em;
  text-align: center;
  overflow: hidden;
}

.containerfotos {
  display: flex;
  flex-flow: row wrap;
  overflow: hidden;
}
.notify {
  -moz-border-radius: 14px;
  -webkit-border-radius: 14px;
  border-radius: 14px;
  border: solid thin #ecebeb;
  width: 28px;
  color: #fb7904;
  background: #fff;
  float: right;
}
.pendent {
  font-size: larger;
  font-weight: bold;
  text-align: center;
  background-color: #ecebeb;
  padding: 2px;
  border: thin solid #d05800;
  color: #d05800;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
.publicada {
  font-size: larger;
  font-weight: bold;
  text-align: center;
  background-color: #04fb79;
  padding: 2px;
  border: thin solid #03b055;
  color: #03b055;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
.descartada {
  font-size: larger;
  font-weight: bold;
  text-align: center;
  background-color: #fd7852;
  padding: 2px;
  border: thin solid #980b00;
  color: #980b00;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
.destacada {
  font-size: larger;
  font-weight: bold;
  background-color: #fbfe00;
  padding: 2px;
  border: thin solid #fcb440;
  color: #fcb440;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}
.text {
  float: right;
  width: 94%;
  padding-top: 7px;
  padding-left: 2px;
}
.simbol {
  float: right;
  width: 5%;
  padding-right: 2px;
  text-align: right;
}
.exclamacio {
  float: left;
  width: 5%;
  padding-right: 2px;
  text-align: left;
}
.arxius {
  margin: 5px;
  padding: 10px;
  background: #ecebeb;
  width: 50%;
  border: solid thin #ffffff;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  word-break: break-word;
}
.arxius_g {
  margin: 5px;
  padding: 10px;
  background: #ecebeb;
  width: 90%;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  word-break: break-word;
}
.extra {
  border-bottom: solid thin #fb7904;
  padding-bottom: 5px;
  font-weight: bold;
}
.amagat {
  padding: 15px 5px 15px 5px;
}
.profile {
  width: 20%;
  margin-right: 3%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  text-align:center;
  position: relative;
  color: #ffffff;
}
.profile:before {
  content:"";
  display:block;
  padding-top:100%;
}
.inicials {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  font-size: 393%;
  letter-spacing: -0.15em;
  text-transform: uppercase;
}
.dades {
  float: left;
  width: 70%;
  overflow: hidden;
  padding: 5px;
}
.profile_p {
  max-width:48px;
  margin-right: 3%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  text-align:center;
  position: relative;
  color: #ffffff;
  overflow: hidden;
}
.profile_p_box {
  float: left;
  overflow: hidden;
  width: 12%;
}
.profile_p:before {
  content:"";
  display:block;
  padding-top:100%;
}
.inicials_p {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  font-size: 2em;
  padding-left: 2px;
  text-transform: uppercase;
}
.imgprofile{
  position: absolute;
  top: 0;
  left: 0;
}
.perfil {
  position: absolute;
  top: 0%;
  width: 100% !important;
}
.dadescomentari {
  float: left;
}
.commentscap {
  width: 100% !important;
  position: relative;
  overflow: hidden;
}
.g-recaptcha {
  width: 80%;
}
.marker {
  background-color: #fbf504;
}
.marker_red {
  background-color: #fb040b;
}
.marker_green {
  background-color: #04fb79;
}
.comentari {
  font-size: smaller;
  font-style: oblique;
  padding-left: 10px;
  color: #04fb79;
}
.exercici {
  font-style: oblique;
  padding-left: 10px;
  color:#0486fb;
}

.comentar{
  padding:10px;
  border-bottom: 5px solid #fb7904;
  background:#F5F5F5;
  margin-bottom:15px;
  line-height:26px !important;
  position: relative;
}
.dades {
  padding: 0 !important;
  margin-bottom: .3em;
}
.respostes {
  padding-top: 4px;
  border-top: 1px solid #fb7904;
  margin-top: 4px;
}
.missatge {
  padding: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}
textarea {
  margin: 0;
  width: 100%;
}
.respostes .inicials_p {
  font-size: 1.4em;
}
.esquerra {
  float: left;
  width: 8%;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.dreta {
  float:left;
  width: 90%;
  padding: 0 1%;
}
.cercle {
  position: relative;
  width: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cercle:after {
  content: '';
  display: block;
  padding-bottom: 100%;
}
.content {
  position: absolute;
  font-size: calc(.9em + 1vw);
  text-transform: uppercase;
  font-weight: bold;
  color: #ffffff;
  overflow: hidden;
  object-fit: cover;
}
.cercle_box {
  width: 12%;
  text-align: center;
  overflow: hidden;
  position: relative;
  float: left;
  margin-right: 3%;
}
.detall {
  float: left;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.nom {
  font-weight: bold;
}
.redactat {
  margin-bottom: 10px;
}
.vores {
  border-bottom: 1px solid #fb7904;
  margin-bottom: 15px;
}
.box1 {
  width: 150px;
  height: 150px;
  border: solid 2px black;
  overflow:hidden;
}
.box1 img {
  width:auto !important;
  height:auto;
}
@supports(object-fit: cover){
  .box1 img, .cercle img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}
/*.boton{
  -webkit-appearance: none; /* Eliminar l'aparença pròpia del botons d'iPhone i iPad*/
/*  text-shadow: 0px 1px rgba(0, 0, 0, 0.2);
        text-align:center;
        text-decoration: none;
  display:inline-block;
        color: #ffffff;
        background: #fb7904;
        padding: 6px 30px;
        white-space: nowrap;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        margin: 10px 5px;
        -webkit-transition: all 0.2s ease-in-out;
        -ms-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
}

.boton:hover{
  background: #39a0e5;
}*/
.vincular {
  padding-left: 5px;
  padding-bottom: 5px;
}
.divspoiler {
  padding-top:6px;
  padding-bottom: 6px;
  position: relative;
}
.spoiler {
  padding-top: 5px;
  padding-bottom: 10px;
}
.fonstot {
  width: 100%;
  height: 100%;
  position: fixed; /* perque estigui per sobre de tots i ocupi tota la pantalla */
  z-index: 500;
  background-color: rgba(0, 0, 0, 0.65); /* fons transparent div pare i no afecti al fill */
  /* perquè el div fill d'aquest quedi centrat verticalment i horitzontalment */
  display: flex;
  justify-content: center;
  align-items: center;
}
.fillfons {
  margin:0px auto;
  width:400px;
  background-image: url('../img/blanc.jpg');
  background-repeat: repeat;
  padding: 0.5em;
  border: medium solid #fb7904;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.obrir{
  display: none;
}
.obrir2{
  display: none;
}
/* --------------------- Aparença de botons ------------------------- */

.btn {
  text-decoration:none;
  font-weight:600;
  font-size:16px;
  color:white !important;
  padding: 4px 32px;
  background-color:#fb7904;
  border-radius: 6px;
  width:auto;
}
.btn:hover {
  text-decoration:none;
  background-color: #ffffff;
  color: #fb7904 !important;
  border: 2px solid #fb7904
  cursor: pointer;
}
.btn2 { /* Botó curt */
  width:auto;
  color: #000000;
  background: transparent;
  border: 2px solid #fb7904;
  border-radius: 6px;
  border: none;
        color: white;
        padding: 4px 32px;
        text-align: center;
        display: inline-block;
        font-size: 16px;
        margin: 4px 2px;
        -webkit-transition-duration: 0.4s; /* Safari */
        transition-duration: 0.4s;
        cursor: pointer;
        text-decoration: none;
        text-transform: uppercase;
}
.btn1 {
      background-color: #fb7904;
      color: white;
      border: 2px solid #fb7904;
}
.btn1:hover {
      background-color: #ffffff;
      color: #fb7904;
      cursor:pointer;
}
.btn-bootstrap { /* Altre Botó */
  padding: .375rem .75rem;
  border-radius: .25rem;
  background-color: #007bff;
  color: #fff;
  transition: background-color .15s ease-in-out;
}

.btn-bootstrap:hover, .btn-bootstrap:focus {
  background-color: #0069d9;
}

.btn-bootstrap:active {
  background-color: #0062cc;
}
.btn3 {
  text-decoration:none;
  font-weight:500;
  font-size:16px;
  color:white !important;
  padding: 4px 16px;
  background-color:#fb7904;
  border-radius: 6px;
  width:auto;
}
.btn3:hover {
  text-decoration:none;
  background-color: #ffffff;
  color: #fb7904 !important;
  border: 2px solid #fb7904;
}
.btnusual {
  background: #fb7904;
  padding: .5em;
  -moz-border-radius: 5px;
  -webkit-border-radius:5px;
  border-radius:5px;
  display: inline-block;
  border: 1px solid #fb7904;
  color: #ffffff !important;
}
.btnusual a {
  color: #ffffff;
  text-decoration: none;
}
.btnusual:hover {
  text-decoration: none;
  background-color: #ffffff;
  color: #fb7904 !important;
  border: 1px solid #fb7904;
}
/* --------------------- Format dels formularis ------------------------- */

.formulari {
  padding: 10px 10px 0 10px;
}
input,
select,
textarea,
label {
  margin-bottom: 2px;
}
input,
select,
textarea {
  width: 65%;
  background: #fff;
  border: thin solid #fb7904;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  margin-bottom: 10px;
  margin-top: 5px;
  padding: 5px;
}

input:focus,
select:focus,
textarea:focus {
  background-color: #fdad65;
  outline: none; /* Eliminar el contorn blau del focus dels camps del formulari */
}

textarea {
  height: 150px;
  overflow: auto; /* Eliminar barres desplaçament per defecte del IE Explore */
}

input:disabled {
  background-color: #ecebeb;
  color: #857f7a;
}

:invalid:focus {
  border: 2px solid #ff0000;
}

input[type="file"] {
  width: 98%;
  height: 50px;
  border: dashed thick #fb7904;
  background: #f0f0f0;
}

#submit, #reset, #enviar, #entrar, #file  {
  -webkit-appearance: none; /* Eliminar l'aparença pròpia del botons d'iPhone i iPad*/
  width: 150px;
  color: #ffffff;
  font-weight: bold;
  background-color: #fb7904;
  cursor: pointer;
}

#submit:hover, #reset:hover, #enviar:hover, #entrar:hover, #file:hover {
  border: solid thin #fb7904;
  background-color: #ffffff;
  color: #fb7904;
}
.responsiveContent {
  position: relative;
  height: 0;
  overflow: hidden;
  padding-bottom: 56.2%;
  margin-bottom: 20px;
}
.responsiveContent iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.escondido{
  display: none;
}
input[type="checkbox"] + label {
  background-position: 0 -42px; width: 24px; height: 24px;
}
input[type="checkbox"]:checked + label {
  background-position: 0 -42px; width: 24px; height: 24px;
}
input[type="radio"] + label   {
  background-position: 0 -42px; width: 24px; height: 24px;
}
input[type="radio"]:checked + label {
  background-position: 0 -71px; width: 24px; height: 24px;
}

/* --------------------- Icones enllaços arxius ------------------------- */

a[href $='.pdf'], a[href $='.PDF'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/pdf_icon.png) no-repeat center left;
}
a[href $='.doc'] {
padding-left: 24px;
padding-top: 21px;
padding-bottom:22px;
background: transparent url(../img/icones/word_icon.png) no-repeat center left;
}
a[href $='.docx'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/word.png) no-repeat center left;
}
a[href $='.rtf'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/rtf.png) no-repeat center left;
}
a[href $='.xls'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/excel_icon.png) no-repeat center left;
}
a[href $='.xlsx'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/excel.png) no-repeat center left;
}
a[href $='.ppt'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/ppt2.png) no-repeat center left;
}
a[href $='.pptx'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/pptx.png) no-repeat center left;
}
a[href $='.mdb'] {
padding-left: 24px;
padding-top: 21px;
padding-bottom:22px;
background: transparent url(../img/icones/access.png) no-repeat center left;
}
a[href $='.accdb'] {
padding-left: 24px;
padding-top: 21px;
padding-bottom:22px;
background: transparent url(../img/icones/access_new.ico) no-repeat center left;
}
a[href $='.xml'] {
padding-left: 24px;
padding-top: 20px;
padding-bottom:20px;
background: transparent url(../img/icones/feed_icon.png) no-repeat left;
}
a[href $='.zip'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/zip.png) no-repeat center left;
}
a[href $='.rar'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/rar.png) no-repeat center left;
}
a[href $='.txt'] {
padding-left: 24px;
padding-top: 17px;
padding-bottom:22px;
background: transparent url(../img/icones/txt3.png) no-repeat center left;
}
.arxius a[href $='.jpg'],
.arxius a[href $='.JPG'],
.arxius a[href $='.jpeg'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/jpeg.ico) no-repeat center left;
}
a[href $='.png'], a[href $='.PNG'], article a[href $='.png'], .arxius a[href $='.png'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/png.png) no-repeat center left;
}
a[href $='.gif'], a[href $='.gif'], article a[href $='.gif'], .arxius a[href $='.gif'],
article a[href $='.GIF'], .arxius a[href $='.GIF'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/gif.ico) no-repeat center left;
}
.arxius a[href $='.html'],
.arxius a[href $='.htm'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/html.png) no-repeat center left;
}
a[href $='.mp3'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/mp3.png) no-repeat center left;
}
a[href $='.mp4'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/mp4.png) no-repeat center left;
}
a[href $='.wma'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/wma.png) no-repeat center left;
}
a[href $='.ogg'] {
padding-left: 24px;
padding-top: 22px;
padding-bottom:22px;
background: transparent url(../img/icones/ogg.png) no-repeat center left;
}
a[rel ~='external'] {
padding-right: 18px;
background: transparent url(../img/external_icon.png) no-repeat center right;
}

/* --------------------- Calendari ------------------------- */

#calendar{
  width: 130px;
  height: 180px;
  border-radius: 5%;
  box-shadow: 0 4px 4px 0 rgba(50, 50, 50, 0.4);
  padding-bottom: 5px;
  position: relative;
}
#calendar td {
  text-align:center;
  padding:2px 5px;
}
#calendar>p{
  font-family: Verdana, Arial, sans-serif;
  padding: 10px 0;
  margin: 0;
  color: #fff;
  text-align: center;
}
#calendar .hoy {
  background-color:#fb7904;
  color:#fff;
}
#calendar-day{
    font-size: 16px;
}

#calendar-month-year{
    font-size: 14px;
}

#calendar-date{
    font-size: 64px;
    padding-top: 10px;
    padding-bottom: 0;
}
#calendar caption {
  text-align:center;
  padding:5px 10px;
  background-color:#9d9995;
  color:#fff;
  font-weight:bold;
  font-size: 16px;
}
/* Styling for the date numbers */
td.date  {
  font-size: xx-large;
  padding: 0.25em 0.25em;
  text-align: center;
  vertical-align: middle;
}
/* Class for individual days (coming in future release) */
td.sun {
  color:red;
}
/* Class for individual days (coming in future release) */
td.event {
  background-color:#0485FA;
  color: #fff;
  cursor: pointer;
}
td.event2 {
  background-color:#b2ce96;
  color: #fff;
  cursor: pointer;
}
td.start {
  background-color:#04fb79;
  cursor: pointer;
}
td.end {
  background-color:#fd7852;
  color: #fff;
  cursor: pointer;
}
/* Hide the month element (coming in future release) */
th.month {
  visibility: hidden;
  display:none;
}
.vinyeta {
  margin:0 0 0 -12%;
  position:absolute;
  background:#ecebeb;
  border-radius:10px;
  box-shadow: 0 4px 4px 0 rgba(50, 50, 50, 0.4);
  border: 1px solid #000;
  text-align:left;
  vertical-align: middle;
  padding:6px;
  color: #000 !important;
  display: none;
}
/* Al pasar el mouse por encima del div mostramos el div con la clase ".vinyeta". Esta clase, tiene que estar dentro de la clase .event, .end o .start */
td.event:hover .vinyeta, td.event2:hover .vinyeta, td.end:hover .vinyeta, td.start:hover .vinyeta,
td.event:active .vinyeta, td.event2:active .vinyeta, td.end:active .vinyeta, td.start:active .vinyeta {
  display: inline-block;
}
.primero,.segundo {
  display:none;
  padding:5px;
  border:1px solid #ccc;
  background-color:#f1f1f1;
  position:relative;
  width:200px;
}

#primero #segundo {
  position:absolute;
  top:100px;
}

/* Al pasar el mouse por encima del div mostramos el div con la

  clase ".primero". Esta clase, tiene que estar dentro del id

  "primero" para que pueda funcionar

*/
#primero:hover .primero {
  display:block;
}

#segundo:hover .segundo {
  display:block;
}
/* Content Boxes
———————————————————— */
.content-box-blue,
.content-box-gray,
.content-box-green,
.content-box-purple,
.content-box-red,
.content-box-yellow {
  margin: 15px 0;
  overflow: hidden;
  padding: 20px;
}

.content-box-blue {
  background-color: #d8ecf7;
  border: 1px solid #afcde3;
}

.content-box-gray {
  background-color: #e2e2e2;
  border: 1px solid #bdbdbd;
}

.content-box-green {
  background-color: #d9edc2;
  border: 1px solid #b2ce96;
}

.content-box-purple {
  background-color: #e2e2f9;
  border: 1px solid #bebde9;
}

.content-box-red {
  background-color: #f9dbdb;
  border: 1px solid #e9b3b3;
}

.content-box-yellow {
  background-color: #fef5c4;
  border: 1px solid #fadf98;
}
.caja-destacada{
  padding:15px 15px 15px 15px;
  border-left:5px solid #F98200;
  background:#F5F5F5;
  margin-bottom:20px;
  line-height:26px !important;
}
.caja-verde{
  background: #e2fdf4; color: #0ebd84; font-weight: bold; padding: 15px; border: 2px solid #bdfae6; border-radius: 6px;
}
