* {
  font-family: "Helvetica", Arial, sans-serif;
}

html,
body {
   margin:0;
   padding:0;
   height:100%;
}

hr {
  display: none;
}

h2, h3, h4, h5, h6 {
  font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;  
}

span.num-kongreso {
  font-size: 200px;
  font-weight: bold;
  letter-spacing: -7px;
  position: absolute;
  left: 100px;
  top: 0;
}

h1 {
  background: transparent url("imatges/bg-titol.png") repeat left 28px;
  float: left;
  font-size: 25px;
  left: 0px;
  position: absolute;
  text-align: left;
  top: 8px;
  width: 220px;
  text-transform: uppercase;
  line-height: 31.5px; 
}

h1 div.ca {
  margin-top: 31px;
  padding-left: 50px;
  width: 185px;
}

h1 .ca .num {
  margin-left: -50px;
}

h1 div.oc {
  line-height: 31px;
  padding-left: 50px;
  width: 185px;
}

h1 .oc .num {
  margin-left: -31px;
}

h1 .num {
  text-transform: none;
}

h1 .et {
    display: block;
    line-height: 1px;
    margin-bottom: 6px;
    text-align: left;
    text-indent: -5px;
}

h1 a {
	color: #000;
	text-decoration: none;
}

#container{
  margin-left: 9.7em;
  width: 926px;
  min-height:100%;
  position:relative;
}

#header {
  height: 185px;
  position: relative;
  z-index: 100;
}

#lingvo {
  font-size: 13px;
  position: absolute;
  right: 1px;
  top: 15px;
  z-index: 100;
}

#lingvo li {
  color: #000000;
  float: left;
  font-weight: bold;
}

#lingvo li span {
  font-weight: normal;
}

#lingvo li a {
  color: #000;
  text-decoration: none;
  font-weight: normal;
}

#lingvo-pr {
  font-size: 13px;
  position: absolute;
  right: 100px;
  top: 15px;
  z-index: 100;
}

#lingvo-pr li {
  color: #000000;
  float: left;
  font-weight: bold;
}

#lingvo-pr li span {
  font-weight: normal;
}

#lingvo-pr li a {
  color: #000;
  text-decoration: none;
  font-weight: normal;
}


#kiam {
  color: #000000;
  font-size: 26px;
  font-weight: bold;
  height: 170px;
  left: 22px;
  padding-top: 2em;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 205px;
  width: 170px;
}

#kiam {
  background: url("imatges/caplusoc.png") no-repeat scroll 50% 0 transparent;
}

#kiam p {
  text-transform: none;
  margin-top: 0.4em;
  line-height: 1.2em;
}

#kiam p em {
  text-decoration: underline;
  font-style: normal;
}

#content p.intro {
  font-size: 28px;
  line-height: 1.3em;
  margin-top: -0.5em;
  /*width: 530px;*/
}

#menuo {  
  background: url("imatges/bg-titol.png") repeat scroll left 22px transparent;
  font-size: 13px;
  height: 120px;
  padding-top: 24px;
  position: absolute;
  right: 0;
  top: 15px;
  width: 665px;
}

#menuo-pr {  
  background: url("imatges/bg-titol.png") repeat scroll left 22px transparent;
  font-size: 13px;
  height: 120px;
  padding-top: 24px;
  position: absolute;
  right: 100px;
  top: 15px;
  width: 600px;
}

#menuo:lang(eo) {
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding-right: 5em;
}

#menuo li {
/*  line-height: 1.5em;*/
  line-height: 1.2em;
  float: left;
}

#menuo li a,
#menuo li span {
  font-size: 18px;
  line-height: 32px;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
	font-weight: bold;
	padding: 3px 4px 1px 4px;
}

#menuo li span {
	font-weight: normal;
}

#menuo li a:hover,
#lingvo li a:hover {
	background-color: #66ff48;
}

#menuo-pr:lang(eo) {
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding-right: 5em;
}

#menuo-pr li {
/*  line-height: 1.5em;*/
  line-height: 1.2em;
  float: left;
}

#menuo-pr li a,
#menuo-pr li span {
  font-size: 18px;
  line-height: 32px;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
	font-weight: bold;
	padding: 3px 4px 1px 4px;
}

#menuo-pr li span {
	font-weight: normal;
}

#menuo-pr li a:hover,
#lingvo li a:hover {
	background-color: #66ff48;
}
#content {
  background: transparent url("imatges/bg-barres-blanc2.png") repeat scroll 0 0;
  overflow: hidden;
  padding: 1.2em;
  /*width: 650px;*/
  margin-left: 257px;
  position: relative;
}

#content p,
#content ul {
  font-size: 15px;
  line-height: 1.5em;
  margin-bottom: 20px;
  width: 500px;
}

#content h2 {
  font-size: 24px;
  margin-bottom: 1em;
  min-height: 36px;
}

/*.eveniments #content {
  background: url("imatges/bg-negre.png") repeat scroll 0 0 transparent;
  color: #eee;
}*/

#content h3,
#content h4 {
  font-size: 16px;
  line-height: 1.3em;
  margin-bottom: 0.5em;
    margin-top: 1em;
}

#content a {
  color: #50cd34;
  text-decoration: none;
}

#content a:hover {
  text-decoration: underline;
}

#border {
  position: relative;
  background: transparent url("imatges/bg-barres-verd2.png") repeat;
  min-height: 100%;
}

#content .img p {
  color: #666666;
  float: right;
  font-size: 12px;
  line-height: 1.2em;
  width: 145px;
}

#content .img {
  overflow: hidden;
 margin-bottom: 1em;  
}

#content .img p a {
  color: #666;
  text-decoration: underline;
}

#content .img p a:hover {
  color: #000;
  text-decoration: none;
}

img.bg {
  /* Set rules to fill background */
  min-height: 100%;
  min-width: 1024px;

  /* Set up proportionate scaling */
  width: 100%;
  height: auto;

  /* Set up positioning */
  position: fixed;
  top: 0;
  left: 0;
}

img.left,
.imatge img {
  float: left;
  margin-bottom: 0.5em;
  margin-right: 0.5em;
}

img.right {
  float: right;
  margin-left: 0.5em;  
}

.imatge {
  float: left;
  position: relative;
}

.imatge a div.ampliar {
    display: none;
}

.imatge a:hover div.ampliar {
  display: block;
  position: absolute;
  top: 10px;
  left: 10px;
  background-image: url("imatges/fullsize-icon.png");
  width: 26px;
  height: 26px;
  text-indent: -5000px;
  z-index: 1000;
}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
  img.bg {
          left: 50%;
          margin-left: -512px;   /* 50% */
  }
}

#peu {
  background-color: #fff;  
  margin-top: 40px;
  padding: 2em 1em 1em;
  overflow: hidden;
}

#peu-enhavo {
  margin: 0 auto;
  min-height: 100%;
  position: relative;
  width: 956px;
}

#peu h3 {
  clear: both;
  float: left;
  margin-right: 1em;
  text-align: right;
  width: 221px;
  color: #666;
  font-size: 15px;  
}

#peu .ujo {
  display: table;
}

#peu a {
  display: block;
  float: left;
  margin-left: 0.7em;
  text-indent: -1000em;
  margin-bottom: 2em;
}

#peu a.eocat {
  background: url("imatges/logo-eocat.gif") no-repeat scroll left top transparent;
  height: 59px;
  width: 320px;
}

#peu a.ajunt {
  background: url("imatges/ajunt.png") no-repeat scroll left top transparent;
  height: 108px;
  width: 169px;
}
#peu a.iei {
  background: url("imatges/iei.png") no-repeat scroll left top transparent;
  height: 85px;
  width: 173px;
}
#peu a.dipu {
  background: url("imatges/diputacio.png") no-repeat scroll left top transparent;
  height: 76px;
  width: 154px;
}
#peu a.omnium {
  background: url("imatges/omnium.png") no-repeat scroll left top transparent;
  height: 61px;
  width: 204px;
}
#peu a.feniss {
  background: url("imatges/feniss.png") no-repeat scroll left top transparent;
  height: 115px;
  width: 150px;
}
#peu a.ampa {
  background: url("imatges/ampa.png") no-repeat scroll left top transparent;
  height: 155px;
  width: 155px;
}
#peu a.cc-noguera {
  background: url("imatges/cc-noguera.png") no-repeat scroll left top transparent;
  height: 119px;
  width: 188px;
}
#peu a.famt-web {
  background: url("imatges/famt-web.png") no-repeat scroll left top transparent;
  height: 61px;
  width: 202px;
}
#peu a.fb {
  background: url("imatges/social-fb.png") no-repeat scroll left top transparent;
  height: 31px;
  width: 31px;
}
#peu a.twitter {
  background: url('imatges/social-twitter.png') no-repeat scroll left top transparent;  
  height: 31px;
  width: 31px;
}

#peu a.eocat:hover,
#peu a.ajunt:hover,
#peu a.iei:hover,
#peu a.dipu:hover,
#peu a.omnium:hover,
#peu a.feniss:hover,
#peu a.ampa:hover,
#peu a.cc-noguera:hover,
#peu a.famt-web:hover,
#peu a.fb:hover,
#peu a.twitter:hover
 {
  background-position: left bottom;
}

{
  background-position: right bottom; 
    }
#social {
  position: absolute;
  right: 1.1em;
  top: 1.1em;  
}

#social ul,
#social p {
  width: auto;
}

#social li {
  overflow: hidden;  
}

#social li + li  {
  border-top: 1px solid #ccc;
  margin-top: 4px;
  padding-top: 4px;
}

#social p {
  color: #666666;
  float: left;
  font-size: 15px;
}

#social a {
  display: block;
  float: left;
  height: 31px;
  line-height: 36px;
  margin-left: 0.5em;
  padding-left: 37px;
  color: #bbb;
  float: left;
  font-size: 15px;
  font-weight: bold;
}

#social a.ico-klaku {
  background: url("imatges/social-klaku.png") no-repeat scroll left top transparent; 
}

#social a.ico-twitter {
  background: url("imatges/social-twitter.png") no-repeat scroll left top transparent; 
}

#social a.ico-fb {
  background: url("imatges/social-fb.png") no-repeat scroll left top transparent; 
}

/* #social a.ico-tafanera {
  background: url("imatges/social-tafanera.png") no-repeat scroll left top transparent; 
} */

#social a:hover {
  background-position: left bottom;
  color: #000;
  text-decoration: none;  
}

/*.eveniments #social a {
  background-position: left bottom;
  color: #000;
  text-decoration: none;  
}

.eveniments #social a:hover {
  background-position: left top;
  color: #fff;
  text-decoration: none;  
}

.eveniments #social li + li {
    border-top: 1px solid #000000;
}*/

#socialretoj {
  position: absolute;
  right: 0;
  top: 0;
}

#socialretoj p {
  float: left;
  font-size: 15px;
  color: #666;
}

#socialretoj p strong {
  font-weight: bold;
}

#socialretoj a.fb {
  background: url("imatges/social-fb.png") no-repeat scroll left top transparent;
}

#socialretoj a.twitter {
  background: url('imatges/social-twitter.png') no-repeat scroll left top transparent;  
}

#socialretoj a:hover {
  background-position: left bottom;
}

#socialretoj a {
    display: block;
    float: left;
    margin-left: 1em;
    text-indent: -1000em;
    height: 22px;
    width: 22px;
}

form#formu {
	font-size: 13px;
}

form#formu input,
form#formu textarea {
    border: 1px solid #dedede;
    padding: 4px;
}


form#formu em,
span.ca {
	font-style: normal;
	 font-size: 18px;
}

span.eo {
	font-weight: bold;
	 font-size: 18px;
}

form#formu input#envia,
form#formu input#neteja  {
  background-color: #44cc00;
  border: medium none;
  color: #FFFFFF;
  float: right;
  font-size: 14px;
  font-weight: bold;
  margin-left: 1em;
  margin-top: 4em;
  padding: 9px 17px 7px;
  text-shadow: 0 -1px 0 #225500;
	border-radius: 8px;
  -khtml-border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	cursor: pointer;
}

form#formu input#neteja  {
  background-color: #FAFAFA;
  border: 1px solid #DDDDDD;
  color: #666666;
  text-shadow: 0 1px 0 white;
}

/* Inscrits */
table.taulaInscrits {
  text-align: left;
  font-weight: normal;
  font-size: 13px;
  color: #fff;
  width: 280px;
  border: 0px;
  border-collapse: collapse;
  border-spacing: 0px;
  width: 100%;
}

table.taulaInscrits tr {
  color: #000;
  padding: 4px;
  text-align: left;
  border-top: 1px #CCCCCC dashed;
}

table.taulaInscrits td {
  padding: 10px 0;
}

table.taulaInscrits tr.titolTaulaInscrits {
  padding: 4px;
  text-align: left;
  border-bottom: 15px solid transparent;
  border-top: medium none;
  font-size: 13px;
  font-weight: bold;
}