/* html elements */

html {
  background: #fff;
}
body {
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  font-size: 75%;
  letter-spacing: -0.01em;
  /*color: #bbb;*/
  color: #463C33;
  line-height: 1.3em;
}
#body-wrapper {
 text-align: left;
  margin: 0 auto;
}

.w800 {
	background: #fff /* url(../img/pb_800.gif) repeat-y center*/;
	/*width: 890px;*/
    width: 1050px;
}

/* Mes ample, per al nom en vertical */
body#image-template #body-wrapper, body#image-template #body-wrapper {
  width: 1093px;
}

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


/* clear fix */

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.clearfix {
    display: inline-block;
}
html[xmlns] .clearfix {
    display: block;
}
* html .clearfix {
    height: 1%;
}

/* page elements */

#wrapper {
  margin: 0 auto;
  text-align: justify;
  /*width: 800px;*/
  width: 960px;
  background: #fff;
}

body#image-template #wrapper, body#browse-template #wrapper {
  width: 1003px !important;
}

.about-template {
  border: 0 !important;
}
.left-block {
  float: left;
  width: 53px;
  line-height: 52px;
  margin-top: 68px;
}

.left-block p{
  writing-mode:tb-rl;
	-webkit-transform:rotate(270deg);
    -moz-transform:rotate(270deg);
	-o-transform: rotate(270deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  white-space:nowrap;
  color: #414141;
  height: 682px;
  width: 682px;
  font-family: impact, Helvetica, sans-serif;
  font-size:48px;
  font-weight:normal;
  letter-spacing: -0.02em;
  text-shadow: 0px 0px 1px #414141;
  text-transform: lowercase;
  text-align: right;
}

.left-block p span.destacado {
  text-transform: uppercase;
}
#body-wrapper-browse-template .left-block p{
  height: 480px;
  width: 480px;
}
.main-block {
  float: left;
}
.after-left-and-right-blocks {
  clear: both;
}
/*
#header {
  height: 60px;
  background: #fff url(../img/dm_sprite.png) repeat-x 0 -310px;
}
*/
#header {
  height: 56px;
  background: #fff;
}

body#browse-template #header {
  border-bottom: 1px solid #656565;
}

#home-link {
  display: block;
  height: 56px;
  width: 550px;
  float: left;
}

#footer {
  line-height: 1.7em;
  padding: 0 20px 22px 20px;
  font-size: 86%;
  margin: 0 auto 30px auto;
  color: #CCC;
}

#footer a, #footer a:hover {
  color: #CCC;
}

body#browse-template #footer {
  padding-top: 53px;
}
.w800f {
  /*background: #fff url(../img/dm_sprite.png) no-repeat -80px -140px;*/
  background: #fff;
  /*width: 840px;*/
  width: 990px;
}

#footer-content {
  background: #fff;
  margin: 0 auto;
  text-align: center;
}


.w800f #footer-content, .w800 #wrapper {
	/*width: 800px;*/
    width: 950px;
/*  
    IMPORTANTISSIM !!
    és aquest text-align: center que feia que tot se n'anés cap a la dreta
    amb ie6 i ie7
    text-align: center;*/
}

body#browse-template .w800 #wrapper {
  margin-left: -3px;
}
body#image-template .w800 #wrapper {
  margin-left: 72px;
}
#title {
  height: 60px;
  background: url(../img/laslucesysombras_cabecera.gif) no-repeat 0px 0px;
  text-shadow: #444 1px 1px 1px;
  width: 950px;
}
#title h1 {
  color: #fff;
  font-size: 100%;
  margin-left: 33px;
  text-transform: uppercase;
  line-height: 14px;
  height: 28px;
}
#title h1 span.name {
  font-weight: bold;
}
#title h1 span.subtitle {
  display: block;
}

#title h1 span.separator, #title h1 span#imagetitle {
	display: block;
	text-indent: -9999px;
	height: 0;
	font-size: 0;
	line-height: 0;
	display: none;
}

/* bloc comments - menu */
#clist  {
  width: 550px;
  padding: 10px;
}

#menu {
  float: left;
}
#menu li {
  /*margin-right: 10px;*/
  display: block;
  float: left;
  text-shadow: #444 1px 1px 1px;
  margin: 0px;
  padding: 0px;
}

/* Excepcio menu a la pagina browse */
#archive-wrapper #menu {
  float: none;
  position: absolute;
  top: 692px;
}

#cheader .num_comments {
  float: right;
  /*Font IMPACT + Size 36 pt + COLOR 666666 + NO separació entre números */
  font-family: Impact, Helvetica, sans-serif;
  font-size: 35px;
  font-weight:  bold;
  letter-spacing: -0.01em;
}
.num_comments img {
  vertical-align: text-bottom;
}

a#comments-link {
  color: #414141;
}

#photo {
  line-height: 0;
  padding: 0;
  border: 0;
  background: #fff url(../img/shutter.gif) no-repeat 50% 50%;
  /*text-align: center;*/
  text-align: left;
  /*margin-top: 30px;*/
  overflow: hidden;
  height: 636px;
  margin-left: -49px; /*^aquest es el tamany que estic movent la imatge cap a l'esquerra */
}

#photo-prev, #photo-next {
  display: block;
  position: absolute;
  z-index: 10;
  top: 57px;
  text-indent: -9999px;
  background: url(../img/blank.gif);
  outline: none;
}

body.js #photo-prev, body.js #photo-next {
	/*top: 115px;*/
    top: 57px;
}

div#n-next, div#n-prev {
  display: block;
  position: absolute;
  z-index: 2;
  /*top: 90px;*/
  top: 57px;
}
/* el borde de la izquierda */
div#n-prev {
  /*margin-left: 1px;*/
}
#photo-next {
  margin-left: 400px;
}

#photo-next:hover, #photo-next:focus {
  background:url(../img/arr_right.png) no-repeat center center;
  z-index: 10;
}
#photo-prev:hover, #photo-prev:focus {
  background:url(../img/arr_left.png) no-repeat center center;
  z-index: 10;
}

body.js #photo-next:hover, body.js #photo-prev:hover {
	background: none;
}

div#n-next.hover {
  background:url(../img/arr_right.png) no-repeat right center;
  cursor: pointer;
}
div#n-prev.hover {
  background:url(../img/arr_left.png) no-repeat left center;
  cursor: pointer;
}
#photo img {
  /*margin: 0 auto;*/
  line-height: 0;
}
h2#archive-header, h2#about-header {
  height: 30px;
  line-height: 30px;
  text-transform: uppercase;
  background: #fff;
  padding-left: 10px;
  font-weight: bold;
  color: #fff;
  text-align: left;
  position: absolute;
  top: 60px;
}

.w800 h2#archive-header, .w800 h2#about-header {
  /*width: 790px;*/
  width: 940px;
}

#titlebar {
  background: #fff;
  padding-left: 10px;
  font-weight: bold;
  color: #fff;
  height: 30px;
  line-height: 30px;
  margin-bottom: -30px;
  text-transform: uppercase;
  position: relative;
}

#i-link {
  display: block;
  float: right;
  height: 48px;
  width: 80px;
  margin-top: 6px;
  background: url(../img/info_gris.gif) no-repeat right 0px;
}

/* image info overlay */

#image-info h3 {
	text-indent: -9999px;
	height: 0;
	line-height: 0;
	overflow: hidden;
	font-size: 0px;
}

#image-info h5 {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 100%;
  margin-bottom: 10px;
}

#RGBHistogram {
  height: 100px;
  padding: 0;
}
#info-wrap {
  background: #9c9c9c;
  opacity: 0.8;
  filter: alpha(opacity=80);
  color: #000;
}
#info {
  overflow: hidden;
}

#image-notes {
	margin-top: 1em;
}
#image-notes p {
	margin-bottom: 1em;
}

#thumbnail-navigator {
  padding-bottom: 40px;
  line-height: 0;
}
#image-info-toggle, #thumbnail-navigator-toggle, #tags-tab-toggle, #comments-toggle {
  height: 25px;
  background: url(../img/dm_sprite.png) no-repeat right 0;
  font-size: 90%;
}

#image-info-toggle a, #thumbnail-navigator-toggle a, #tags-tab-toggle a, #comments-toggle a {
  float: right;
  display: block;
  text-transform: uppercase;
  width: 195px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  outline: none;
  position: relative;
  bottom: 0.3em;
  text-shadow: #000 1px 1px 1px;
}
#image-info-toggle a {
	z-index: 9999;
}
#image-info-toggle a:focus, #thumbnail-navigator-toggle a:focus, #commentform-toggle a:focus, #tags-tab-toggle a:focus, #comments-toggle a:focus {
  text-decoration: underline;
}
#image-f {
  background: #fff;
  height: 40px;
}
.infobox {
  padding: 10px;
  float: left;
  /*width: 235px;*/
}

.exif {
	width: 200px;
}

.full {
	width: auto;
}

.w800 .all {
/*	width: 270px;*/
}

#exif-info th {
  width: 100px;
  padding-right: 10px;
  text-transform: uppercase;
}
#exif-info td {
  color: #222;
  font-weight: bold;
}
#histogram {
  width: 256px;
}

/* thumbnail nav box */

#thumbs {
  background: #fff;
  margin: 0;
  text-align: center;
  overflow: hidden;
}

body #body-wrapper .nocarousel {
	width: 600px;
}

.w800 #thumbs {
	/*width: 800px;*/
    width: 950px;
}

.w800 .nocarousel {
	/*width: 600px;*/
    width: 750px;
	padding: 0 100px;
}

#thumbs a img.thumbnails, #thumbs a img.dummy-element {
  margin: 10px;
  opacity: 0.5;
  filter: alpha(opacity=50);
  float: left;
  padding: 20px 0;
}
#thumbs a img.current-thumbnail {
  margin: 10px;
  float: left;
  padding: 20px 0;
}
#thumbs a:hover img {
  opacity: 1;
  filter: alpha(opacity=100);
}
#thumbs a#nav_right, #thumbs a#nav_left {
  display: block;
  text-indent: -9999px;
  height: 75px;
  padding: 10px;
  width: 20px;
}
#thumbs a#nav_left {
  background: url(../img/nav_prev.gif) no-repeat;
  background-position: 50% 0;
  float: left;
}

#thumbs a#nav_right {
  background: url(../img/nav_next.gif) no-repeat;
  background-position: 50% 0;
  float: right;
}

#thumbs a#nav_left:hover, #thumbs a#nav_right:hover {
  background-position: 50% -115px;
}

#thumbs .tranche a:focus img {
	outline: thin dotted #fff;
}

#thumbs a#nav_left:focus, #thumbs a#nav_right:focus {
  outline: none;
  background-position: 50% -115px;
}

#thumbs a#nav_left.blinking, #thumbs a#nav_right.blinking, #thumbs a#nav_left.blinking:hover, #thumbs a#nav_right.blinking:hover {
	background-position: 50% -230px;
}
#thumbs a#nav_left.end, #thumbs a#nav_right.end, #thumbs a#nav_left.end:hover, #thumbs a#nav_right.end:hover {
	background-position: 50% -345px;
}

#thumbs #view-window {
	float: left;
	/*width: 600px;*/
    width: 750px;
	height: 135px;
	overflow: hidden;
	position: relative;
	left: 10px;
}

#thumbs #view-window .tranche {
	/*width: 600px;*/
    width: 750px;
	height: 135px;
	position: absolute;
	*left: 0;
}

#thumbs #view-window #ieleft {
       *left: -600px;
}

#thumbs #slider {
	position: relative;
	height: 135px;
}

/* comments */

#errornotice {
	border: 1px #f00 solid;
	background: #900;
	color: #fff;
	font-weight: bold;
	padding: 10px;
}

#commentform #errornotice p {
	margin: 0;
}

#comments h3, h3#buyprints {
  text-transform: uppercase;
  color: #fff;
  background: #fff;
  height: 3em;
  line-height: 3em;
  padding-left: 10px;
  border-left: 3em #0a0a0a solid;
}
#comments h3.main, h3#buyprints {
  color: #fff;
  height: 3em;
  line-height: 3em;
  padding-left: 10px;
  text-transform: uppercase;
}

.commentslist {
    color: #131F15;
}

.commentslist a{
    color: #131F15;
}
.commentslist ul {
}
.commentslist li {
  border: 1px solid #4E534D;
  background: #7C7B76;
  padding-bottom: 10px;
  margin: 6px 0;
  color: #131F15;
}

.commentslist h4 {
  padding-top: 5px;
}

.commentslist li img {
  padding: 5px;
  vertical-align: top;
  float: left;
}

.commentslist li.first {
	margin-top: 15px;
}

.commentslist .comment_datetime {
	text-align: right;
	margin-right: 4px;
	color: #565656;
	/*font-family: impact, Helvetica, sans-serif;*/
	font-weight: 100;
  line-height: 1;
}

.commentslist .comment_datetime .comment_date {
	font-size: 64px;
}
.commentslist .comment_datetime .comment_time {
	font-size: 24px;
}

.commentcontent {
  margin: 0px 20px 0 50px;
  padding-right: 20px;
}
.commentcontent p {
  margin-bottom: 1em;
}

#comments {
  width: 950px;
}
#comments h4 {
  height: 1.5em;
  line-height: 1.2em;
  padding: 4px;
  text-transform: uppercase;
}
#comments h4 img {
  float: left;
  margin-right: 10px;
}

/* comment form */
#commentinfo-block {
  position: absolute;
  top: 57px;
  visibility: hidden;
}
#commentinfo {
  overflow: hidden;
}
#commentinfo-wrap {
  height: 614px;
  width: 295px;
  padding: 25px;
/*
  He hagut de treure lo de opaciti per poder posar a sobre una capa (el img) sense opaciti.
  http://www.forosdelweb.com/f53/div-sin-transparencia-encima-div-con-transparencia-702499/
  opacity: 0.8;
  filter: alpha(opacity=80);*/
  background: url(../img/transp80percent.png);
  color: #000;
}
#commentinfo h3 {
  text-transform: uppercase;
  font-size: 122%;
  margin: 1em 0;
  color: #222;
}
#commentinfo img {
  float: left;
  margin: 0 10px 1px 0;
}

#commentform-block {
  position: absolute;
  right: 0px;
  top: 57px;
  z-index: 7;
  visibility: hidden;
  margin-right: 2px;

}

#commentform {
  background: #6F6E69;
  width: 602px;
  height: 634px;
  overflow: scroll;
  overflow-x: hidden;
  /*-moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;*/
}

#commentform-toggle {
  margin-top: 20px;
  height: 25px;
  font-size: 90%;
  }
#commentform-toggle a {
  float: left;
  display: block;
  text-transform: uppercase;
  width: 195px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  outline: none;
}
#cform {
  height: 400px;
  width: 520px;
}

#cform fieldset {
  padding: 10px;
}

#commentform label {
  font-weight: bold;
  color: #000000;
}
#commentform p {
  margin-bottom: 1em;
}
#commentform .textfield, #commentform textarea {
  background: #7C7B76;
  color: #fff;
  border: 1px solid #4E534D;
  padding: 4px 2px 2px 2px;
  width: 543px;

}

.formbutton {
  border: 1px #444 solid;
  background: #eee url(../img/button_b.gif) repeat-x top left;
  height: 28px;
  color: #fff;
  font-weight: bold;
  padding: 0 5px 0 5px;
}

#commentform textarea {
  height: 200px;
}

/* archives */

#archive-wrapper {
  background: #fff;
}
#archive-thumbnails {
  position: absolute;
  width: 734px;
  line-height: 0;
  display: inline;
}
#archive-thumbnails p {
  padding: 10px 0 0 0px;
}

#archive-thumbnails-secondary {
  width: 734px;
  margin-top: 208px;
}
#archive-sidebar {
  float: right;
  margin-left: 724px;
  padding: 0 0 0 10px;
  background: #FFF;
  display: inline;
  text-align: right;
  line-height: 1.1em;
}

.w800 #archive-sidebar {
}

#archive-sidebar strong {
  font-weight: bold;
  color: #fff;
}
#archive-sidebar h3, #about-content h2 {
  color: #fff;
  text-transform: uppercase;
}
#archive-sidebar h2 {
  font-size: 2em;
  font-weight: bold;
}
#archive-sidebar p {
  margin: 5px 0;
}
#archive-sidebar a {
  color: #3B3B3B;
}
#archive-sidebar a:hover {
    color: #000;
}
#archive-thumbnails a img {
  margin: 4px 4px 0 0;
}
#archive-thumbnails-secondary a img {
  margin: 0 4px 0 0;
}
#archive-thumbnails a, #archive-thumbnails-secondary a {
  margin: 0;
}
#archive-thumbnails a:hover, #archive-thumbnails-secondary a:hover {
  opacity: 0.5;
}

/* tags on archive page */

#tag_cloud {
  font-size: 120%;
  border-bottom: 50px #222 solid;
  background: #000;
  padding: 0 20px;
  opacity: 0.8;
  filter: alpha(opacity=80);
  overflow: hidden;
  line-height: 1.5em;
}
#tag_cloud a {
  color: #fff;
}
.tags00 { font-size: 60%; }
.tags01 { font-size: 70%; }
.tags02 { font-size: 80%; }
.tags03 { font-size: 90%; }
.tags04 { font-size: 100%; }
.tags05 { font-size: 110%; }
.tags06 { font-size: 120%; }
.tags07 { font-size: 130%; }
.tags08 { font-size: 140%; }
.tags09 { font-size: 150%; }
.tags10 { font-size: 160%; }

#tags-tab {
  margin-top: -50px;
}

/* estils per a la pagina links */

body#links-template #header {
  border-bottom: 1px solid #656565;
  /* recuperar aixo per a fixar la capcalera
  position: fixed;
  top: 0px;
  */
}

/* para saltar el position fixed de links - header */
body#links-template #page-content {
    /* recuperar aixo per a fixar la capcalera
  margin-top: 112px;
    */
  background: #FFFFFF url(../img/camara.gif) no-repeat;
  min-height: 579px;
}

/* para que la imagen cuadre con el border bottom del header del resto */
body#about-template #page-content {
  margin-top: -1px;
}

body#links-template #menu, body#about-template #menu {
  clear: both;
  background-color: #FFF;
  border-top: 1px solid;
  /*padding-top: 4px;*/
  width: 950px;
/*  position: fixed;
  top: 687px;
  height: 110px;
  z-index: 2;*/
}

body#links-template #footer-content, body#about-template #footer-content {
  /*position: fixed;
  top: 740px;
  z-index: 2;*/
  height: 100%;
}

/* 
  El bloc page-content de la pantalla links esta dividit en 3 blocs:
  #links-content-header
  #links-content-content
  #links-content-footer
*/
#links-content-header {
  background: url(../img/links-header.gif) left top;
  height: 51px;
  width: 950px;
  /* recuperar aixo per a fixar el titol
  position: fixed;
  top: 57px;
  */
}

#links-content-footer {
  clear: both;
}
#about-content, #links-content-content {
/*
  margin-top: 30px;
  padding: 20px;
  background: #fff;
  color: #666;
*/
  margin-bottom: 30px;
  text-align: left;
}

#links-content-content p {
  text-align: center;
  width: 14%;
  float: left;
}
#links-content-content p.separator {
  margin-right: 8%;
}
#about-content p, #links-content-content p {
  margin-top: 0.5em;
  margin-bottom: 3em;
}
#about-content ul, #links-content-content ul {
  padding-left: 1em;
}
#about-content li {
  list-style: square;
}
#about-content #portrait {
  float: left;
  margin: 0 20px 0 0;
}
#about-content a, #links-content-content a {
  color: #1D5368;
}

/* JS only styles & rendering aid */
/*
body.js #thumbnail-navigator {
  visibility: hidden;
}*/

/* Per a pantalla backstage */
body#backstage-template #title {
  text-align: right;
}
body#backstage-template .links{
  padding-top: 40px;
}

body#backstage-template #page-content
{
  border-top: 1px solid #656565;
  border-bottom: 1px solid #656565;
  margin-bottom: 4px;
  line-height: 0;
  text-align: left;
}

body.js #thumbs {
  display: none;
}
/*
body.js #cform {
  display: none;
}
*/
body.js #tags-tab {
  position: absolute;
  top: 140px;
  /*width: 800px;*/
  width: 950px;
  z-index: 10;
  visibility: hidden;
}

body.js .w800 #tags-tab {
	/*width: 800px;*/
    width: 950px;
}
body.js #viewedphoto {
  visibility: hidden;
}

body#image-template #header {
  position: relative;
}

body.js #image-info {
  margin-left: 604px;
  position: absolute;
  right: 0px;
  top: 57px;
  z-index: 3;
  visibility: hidden;
  margin-right: 2px;
}
body.js #info-wrap {
  height: 634px;
  width: 345px;
}

body.js #tag_cloud {
  border-bottom: none;
}



#spinner {
	margin-left: 10px;
	position: relative;
	top: 3px;
}

.hidden {
	visibility: hidden;
}
.visible {
	visibility: visible;
}
.noheight {
	height: 0;
}

