/*
THEME NAME: viafora
THEME URI: http://pageblogging.net/2009/08/page-photo-released.html
Description: based on photo-page (http://pageblogging.net) by Page
VERSION: 1.0.0
AUTHOR: Ismael Jurado
AUTHOR URI:
TAGS: brown,green,fixed-width,photoblogging,theme-options,threaded-comments
  The CSS, XHTML and design is released under GPL:
  http://www.opensource.org/licenses/gpl-license.php
*/

/* Begin html tags */
* {
  margin: 0;
  padding: 0;
}

html {
  background-color:#c9c099;
}

body {
  font-size: 62.5%;
/* Resets 1em to 10px */
  font-family: Verdana, "BitStream vera Sans", Tahoma, Helvetica, Sans-serif;
  background: #F5F5F5;
  color: #282c2f;
  margin: auto;
  height: auto;
}
hr {
  display: none;
}
a {
  color: #536F23;
  text-decoration: none;
}
a:hover {
  color: #06c;
  text-decoration: underline;
}
ul {
  list-style-type: none;
}
h2 {
  font-size: 1.3em;
}
h3, h4 {
  font-size: 1.1em;
  font-weight: bold;
}
small {
  font-size: 1em;
}
.clear {
  clear: both;
}

img {
  border:none;
}

/* End html tags */


/* Begin Structure */
#header {
  height: 160px;
  margin: auto;
  color: #fff;
  font-size: 1.2em;
  background: #E1DAC3 url(img/head.jpg) repeat-x top center;
}

#content {
  width: 960px;
  margin: 0 auto;
  overflow:auto;
  font-size: 1.2em;
  clear:both;
  background-color:#fff;
}

#maincontent {
  padding:2em 20px 1em 10px;
  width: 605px;
  line-height: 1.5em;
  overflow: hidden;
  float:left;
  min-height:400px;
}

#sidebar {
  width: 300px;
  text-align: left;
  padding:2.2em 10px 0 15px;
  float:right;
}

#home #sidebar {
  padding:1.5em 10px 0 15px;
}

#footer-top {
  height: 100px;
  background: #E1DAC3 url(img/foot.jpg) repeat-x top center;
}

#footer-comp {
  margin-top:-2em;
}

#footer {
  width: 960px;
  height: 90px;
  margin: auto;
  font-size: 1.2em;
  padding: 5px 0;
  color: #536F23;
  background: #E1DAC3 url(img/footer.jpg) no-repeat top center;
}
#footer a {
  color: #70683B;
}
/* End Structure */


/* begin header*/
#header h1 {
  padding: 0.3em 0 0 3em;
  font-size: 1.5em;
}

#header h1 em{
  font-size: 3em;
  display:block;
  margin-top:-8px;
  margin-left:-0.73em;
  color:#fff;
}

#header h1 a {
  /*color: #969B39;*/
  color:yellow;
  text-decoration: none;
  font-family:"Trebuchet MS";
}
.description {
  padding: 3px 0 0 10px;
}

#menulist {
  margin: auto;
  width: 940px;
  padding: 4px 0px 0 0;
}

#menu {
  background: #E1DAC3;
  font-size: 1.2em
}

#menus {
  margin:0 auto;
  width:100%;
  overflow:auto;
  background-color:#e6e6e6;
  opacity:0.8;
  filter: alpha(opacity = 80);
  font-size:1.05em;
}
#menus li {
  float: left;
}

#menus li.current_page_item {
  background-color:#fff;
  opacity:1;
}

#menus li a, #menus li a:visited {
  padding: 3px 10px;
  display: block;
  color: #000;
  font-weight:bold;
  font-family:"Trebuchet MS";
  font-size:1.25em;
}

#menus li a:hover {
  text-decoration: underline;
  background-color:transparent;
}

#menus li ul {
  border:1px solid #ccc;
  border-top:2px solid #fff;
  position: absolute;
  background-color:#eee;
  display:none;
}

#menus li li {
  float: none;
  font-size:0.8em;
}

/*
#menus li ul {
  position: absolute;
  z-index: 1;
}
#menus li ul li ul {
  position: relative;
  float: none;
}
*/

#social {
  float: right;
}
#twitter {
  float: left;
  background: url(img/twitter.png) no-repeat;
  margin-left: 10px;
  display: block;
  height: 20px;
  padding: 5px 0 0 24px !important;
}
#rssfeed {
  float: right;
  background: url(img/rss.png) no-repeat 0 2px;
  margin-left: 10px;
  display: block;
  height: 20px;
  padding: 5px 0 0 26px !important;
}
#social a:hover {
  text-decoration: none;
}
#topsearch {
  float: right;
  margin-left: 20px;
}

#banner {
  width: 960px;
  height: 180px;
  margin: auto;
  background: url(img/banner.jpg) no-repeat bottom left;
}
/* End header*/


/* begin maincontent*/

.contentpadding img {
  max-width: 940px;
  cursor: pointer;
  height: auto;
}
#maincontent a:hover {
  color: #704D08;
}

#maincontent h2 {
  text-transform: uppercase;
  color: #658D21;
  border-bottom: 1px solid #D7D2AF;
  font-size:1.3em;
  margin-bottom:1em;
}

#home #maincontent h2 {
  margin-top:2em;
}

#maincontent .widget_links h2 {
  display:none;
}

#maincontent h2 a {
  color: #719D25;
  text-decoration: none;
}

#maincontent h3 {
  margin-top:1em;
  margin-bottom:1em;
  color:#658D21;
  font-size:1.2em;
  border-bottom:1px solid #D7D2AF;
}

#maincontent a {
  text-decoration: underline;
}

#maincontent p {
  margin-bottom:1em;
  text-align:justify;
  line-height:1.3em;
}

.entry {
  margin-top: 5px;
}
.entry p {
  margin-bottom: 0.5em;
  font-family:verdana;
}

.entry p img {
  border:1px solid #ccc;
  background-color:#efefef;
  padding:5px;
  margin-right:1em;
  float:left;
}

.entry ol {
  padding: 0 0 0 35px;
}
.entry ul {
  list-style-type: none;
}
.entry ul li {
  list-style-type: disc;
  list-style-position: inside;
  margin-left: 10px;
}

.entry table {
  border-collapse:collapse;
  border:1px solid #ccc;
  margin-left:0.2em;
  margin-bottom:1em;
}


.entry table td{
  border-collapse:collapse;
  border:1px solid #ccc;
  padding:0.5em;
}

.entry img {
  border: 0px;
  padding: 2px;
  margin-top: 5px;
}
blockquote {
  margin: 5px;
  padding: 5px 5px 5px 10px;
  background: #E1E1E1;
  border: 1px dashed #ccc;
}
.postmetadata {
  padding: 1px 5px;
  margin: 1em 0 25px;
  border-left: 5px solid #DCDBBF;
}
.ping-track, .page-link {
  padding: 5px;
  background: #E1E1E1;
  margin: 0 0 1em 0;
}
.postnav {
  margin: 1em 0;
}
.page-link a {
  padding: 0 5px;
}

#imgtop, #sidebar-home img{
  margin-bottom:1em;
}

#imgtop img, #sidebar-home img{
  width:140px;
  height:105px;
  margin-right:5px;
  border:2px solid #ccc;
}

#sidebar-home img {
  margin-right:0;
  float:left;
}

#sidebar-home img:first-child {
  margin-right:11px;
}

#imgtop img.last {
  margin-right:0px;
}

ul.noticies {
  margin-top:1em;
}

#maincontent ul.noticies h3 {
  margin-top:0;
  margin-bottom:0;
  font-size:1em;
  border-bottom:none;
}

ul.noticies li{
  clear:both;
  padding-bottom:1em;
  overflow:auto;
  text-align:justify;
}

ul.noticies li img{
  float:left;
  margin-right:1em;
  border:2px solid #c9c099;
}

#maincontent em a {
  text-decoration:none;
}

#activitats #maincontent ul.noticies li img {
  height:85px;
  width:115px;
}


#pagenavi {
  clear:both;
  text-align:center;
  margin-top:1em;
  padding-top:0.5em;
  border-top:1px dotted #fff;
}

#pagenavi .newer{
  float:left;
}

#pagenavi .older{
  float:right;
}

/* End maincontent */

/* Begin sidebar */
#sidebar h2 {
  margin-bottom:1em;
}

#sidebar p {
  margin-bottom:1em;
  text-align:justify;
}

#sidebar h2, #sidebar h3, .widget h3, #wp-calendar caption {
  font-size: 1em;
  text-transform: uppercase;
  color: #658D21;
  border-bottom: 1px solid #D7D2AF;
  margin-bottom: 0.5em;
  padding-bottom: 2px;
}

#sidebar ul{
  margin-bottom:2.5em;
}

#sidebar ul li {
  margin: 0 15px 10px 10px;
}
#sidebar ul li ul li {
  float: none;
  margin-left: -6px;
  margin-bottom:0;
}
#sidebar ul li ul {
  padding-left: 15px;
}
#sidebar ul ul li a {
  padding: 2px 0 2px 2px;
  color: #67664A;
  /*display: block;*/
}
#sidebar ul ul li a:hover {
  padding: 2px 0 2px 2px;
  color: #A4573A;
  text-decoration: none;
}
.searchf input.sbm-b {
  width: 150px;
  border: 1px solid #BFB37D;
  padding: 4px;
  background: #D7D2AF;
  color: #A39856;
}

#contacte #sidebar{
  text-align:center;
}

#contacte #sidebar .info div{
  margin-top:1em;
}

#contacte #sidebar img {
  border:2px solid #CCCCCC;
  width:295px;
  margin:0.5em auto;
}

/* End sidebar */

/* Begin wp-tags*/
img.centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
img.alignright {
  padding: 2px;
  margin: 0 0 2px 7px;
  display: inline;
}
img.alignleft {
  padding: 2px;
  margin: 0 7px 2px 0;
  display: inline;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignright {
  float: right;
}
.alignleft {
  float: left
}
.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
}
.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}
.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}

#wp-calendar {
  width: 100%;
  text-align: center;
  margin:0 auto;
  font-family:georgia;
  padding:0 10px 1em 10px;
}
#wp-calendar caption{
  font-weight:bold;
}
#wp-calendar a {
  color: #536F23;
  font-weight:bold;
}
#wp-calendar td {
  text-align: center;
}
#wp-calendar tfoot {
  width: 100%;
}
#sidebar .widget_categoryposts ul {
  list-style:square;
  color:green;
  margin-left:1.2em;
  width:
}

/* End wp-tags */


/* Begin comments*/
.message {
  width: 90%;
}
#response {
  margin: 2em 0 0 20px;
}
.comleft {
  width: 20%;
  float: left;
  vertical-align: middle;
  text-align: right;
  padding: 5px;
}
.comleft a {
  color: #333;
}
.message-by {
}
.avatar-place {
}
.message-count {
  float: left;
}
.message-content {
  margin: 10px 20px;
  width: 80%;
  padding-bottom: 5px;
  border-bottom: 2px solid #7E8C60;
}
.alt {
}
.author {
}
.message-entry {
  float: left;
  padding: 5px 0 0 20px;
  width: 60%;
  vertical-align: middle;
}
.inputs input, #commentform input {
  border: 0;
  padding: 6px 0 0 8px;
  background: url(img/input.gif) no-repeat top left;
  width: 166px;
  height: 30px;
}
.message textarea, #comment {
  border: 0;
  height: 180px;
  background: url(img/textarea.gif) no-repeat top left;
  padding: 5px;
  width: 440px;
  overflow: hidden;
}
.submit {
  margin-top: 10px;
}
.submit input, #commentform #submit {
  border: 0;
  width: 60px;
  height: 30px;
  background: #A2B180 url(img/submit.gif) no-repeat top left;
  color: #000;
  padding: 0;
}
#commentform p {
  line-height: 2.5em;
}
.backtotop {
  text-align: right;
}
.submit {
  margin-top: 1em;
}
.children li {
  margin-left: 15px;
}
.children li.bypostauthor {
}
.commentlist {
  margin-left: 10px;
}
.commentlist li {
  margin: 5px;
}
.byuser {
}
.comment-author-admin {
}
#respond {
}
/* End comments */
#urcomment {
  float: left;
  width: 50%;
}
#ads {
  width: 370px;
  float: right;
}
.chalt {
  background: #F5F5F5 !important;
}
.commentlist ul li {
  margin: 0;
}
.commentlist li {
  list-style: none;
}
.commentlist li .comment-meta {
  float: right;
}
.commentlist li .comment-author {
  width: 40%;
  float: left;
}
.commentlist li p {
  clear: both;
}
.comment-body {
  border: 1px solid #707D56;
  margin: 4px 0;
  padding: 5px;
}
.children {
  margin: 0 0 0 25px;
}
#maincontent .commentlist a {
  text-decoration: none;
}
#maincontent .commentlist .commentmetadata a {
  color: #999;
}
#maincontent .commentlist .commentmetadata a:hover {
  text-decoration: underline;
}

/****************************************************************************
** CONTACTE / SUSCRIPCIO
****************************************************************************/
#butlleta-dinscripcio .post-content,
#contacte .post-content {
  padding-bottom:2.4em;
}

#butlleta-dinscripcio fieldset,
#contacte fieldset,
#inscripcio fieldset{
  margin:1em 0;
  padding:1em;
  line-height: 1.4em;
}

#butlleta-dinscripcio label,
#contacte label,
#inscripcio  label{
  float:left;
  width:24em;
  text-align:left;
  padding-bottom:0.5em;
}

#butlleta-dinscripcio .inputT,
#contacte .inputT,
#inscripcio .inputT{
  width:21em;
  height:1.48em;
  background-color:#ffffee;
  border: 1px solid #666;
}

#butlleta-dinscripcio .cc {
  width:10em;
  height:1.48em;
  background-color:#ffffee;
  border: 1px solid #666;
}

.emailmsg {
  margin-top:8em;
  padding:2em;
  background-color:lightyellow;
  text-align:center;
  color: #666;
  font-weight:bold;
}

#butlleta-dinscripcio #lbComentario,
#contacte #lbComentario{
  margin-top:1em;
  width:99%;
}

#butlleta-dinscripcio textarea,
#contacte textarea {
  width:44.3em;
  background-color:#ffffee;
  border: 1px solid #666;
  height:7em;
}

#butlleta-dinscripcio #enviar,
#contacte #enviar,
#inscripcio #enviar{
  clear:both;
  float:left;
}

/****************************************************************************
** GALLERY
****************************************************************************/

#maincontent a.ngg-album-desc{
  font-size:0.7em;
}

#maincontent h4, .ngg-album-compact p {
  text-align:center !important;
}

.ngg-album-compact {
  width:115px !important;
}
.ngg-galleryoverview {
margin-top:0 !important;
}

#sidebar .ngg-singlepic {
  padding:0 !important;
}

#maincontent .widget_links ul {
  margin-left:1.5em;
  list-style:square;
}
