html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, main, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  /*vertical-align: baseline;*/
}
article, aside, details, figcaption, figure, 
footer, header, main, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
/*ol, ul { list-style: none; }*/
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }


html {
  background: #bbb;
  overflow-y: scroll;
  /*overflow: auto;*/
}
body {
  font-family: Tahoma, Geneva, sans-serif;
}
body .wrapper {
  width: 60em;
  margin: 0 auto;

  background: #eee;
  background: linear-gradient(to bottom, #888 0, #aaa 11em, #eee 11em, #eee 100%);
  box-shadow: 0 0 .5em rgba(0,0,0,.25);
}
body .wrapper>div {
  width: 40em;
  padding: 0 20em 0 0;
  background: #eee;
  background: linear-gradient(to top, #222 0, #111 3em, rgba(0,0,0,0) 3em, rgba(0,0,0,0) 100%);
  box-shadow: 0 0 .5em rgba(0,0,0,.25);
}
#content {
 position: relative;
 z-index: 10;
}

b {
  font-weight: bold;
}



#header {
  /*background: url(./b.png) center center no-repeat;*/
  background: linear-gradient(to bottom, #888 0, #aaa 100%);
  padding: 1em 1em 0 1em;
  height: 10em;
  position: relative;
}
#photo0 {
  display: block;
  float: left;
  border: 0.25em solid #fff;
  width: 12em;
  height: 16em;
  box-shadow: 0.1em 0.1em 0.3em rgba(0,0,0,.3), 0.1em 0.1em 0.3em rgba(0,0,0,.3) inset;
  background: url(./photo1.jpg);
  background-size: cover;
  position: relative;
  z-index: 200;
}
#photo1 {
  display: block;
  border: 0.25em solid #fff;
  width: 12em;
  height: 16em;
  background: #eee;
  box-shadow: 0.1em 0.1em 0.3em rgba(0,0,0,.3), 0.1em 0.1em 0.3em rgba(0,0,0,.3) inset;
  transform: rotateZ(-2.5deg);
  position: absolute;
  z-index: 150;
  left: .75em;
}
#photo2 {
  display: block;
  border: 0.25em solid #fff;
  width: 12em;
  height: 16em;
  background: #eee;
  box-shadow: 0.1em 0.1em 0.3em rgba(0,0,0,.3), 0.1em 0.1em 0.3em rgba(0,0,0,.3) inset;
  transform: rotateZ(-5deg);
  position: absolute;
  z-index: 100;
  left: .5em;
}
#fullname {
  display: block;
  line-height: 2em;
  margin-left: 13.5em;
}
#fullname>h1 {
  display: block;
  font-size: 1.5em;
  color: #fff;
}
#caption {
  display: block;
  margin-left: 13.5em;
}
#caption>h2 {
  line-height: 1.5em;
  color: #fff;
}
#navigation {
  display: block;
  height: 2em;
  line-height: 2em;
  margin: .5em 0 0 13.5em;
  overflow: hidden;
}
#navigation>li {
  display: block;
  position: relative;
  float: left;
  height: 2em;
  line-height: 2em;
  font-size: 1em;
  margin: 0 .3em 0 0;
  padding: 0 .5em;
  background: #37f;
  color: #fff;
  cursor: pointer;
  border-radius: .2em .2em 0 0;  
  transition: all linear .15s;
  box-shadow: .1em .1em .3em rgba(0,0,0,.25);
  z-index: 50;
}
#navigation>li:last-child {
  margin: 0;
}
#navigation>li:after {
  content: "";
  display: block;
  position: relative;
  width: 0;
  height: 0;
  margin: 0 auto;
  top: 0;
  border-left: .4em solid rgba(0,0,0,0);
  border-right: .4em solid rgba(0,0,0,0);
  border-bottom: .4em solid #eee;
  transition: all linear .15s;
}
#navigation>li:hover {
  background: #f83;
}
#navigation>li:hover:after {
  top: -.4em;
}
#navigation>li.current {
  background: #eee;
  color: #333;
  cursor: auto;
}



#main .quoteBlock {
  min-height: 5.5em;
  margin: 0 0 0 13.5em;
  padding: 1em 1em .25em 1em;
}
#main .quote {
  display: block;
  line-height: 1.3em;
  padding: 0 0 .5em 0;
  font-size: 1em;
  color: #aaa;
  text-align: justify;
  text-indent: 3em;
  font-style: italic;
}
#main .quote:before {
  content: "„";
  font-style: italic;
}
#main .quote:after {
  content: "“.";
  font-style: italic;
}
#main .quoteAutor {
  display: block;
  line-height: 1.2em;
  font-size: .8em;
  color: #aaa;
  text-align: right;
}
#main .quoteAutor:before {
  content: "(";
}
#main .quoteAutor:after {
  content: ")";
}



.pageShowed {
  transition: opacity linear .25s;
  opacity: 1;
}
.pageHidden {
  transition: opacity linear .25s;
  opacity: 0;
}



#main h3 {
  display: block;
  position: relative;
  line-height: 2.2em;
  margin: .75em .75em 0 0;
  font-size: 1.2em;
  padding: 0 .75em;
  background: #37f;
  color: #fff;
  text-align: center;
}
#main p {
  display: block;
  margin: .75em 1em 0 1em;
  line-height: 1.2em;
  font-size: 1em;
  text-indent: 2.75em;
  color: #333;
  text-align: justify;
}
#main p a {
  color: #37f;
  text-decoration: underline;
}
#main p a:hover {
  color: #f83;
}
#main ul {
  display: block;
  margin: .75em 0 0 0;
  padding: 0 2.75em;
  line-height: 1.2em;
  font-size: 1em;
  text-indent: 0;
  color: #333;
  list-style: none;
}
#main ul li {
  position: relative;
  display: block;
  margin: 0;
  padding: .5em 0 .5em 1.75em;
  line-height: 1.2em;
  font-size: 1em;
  text-indent: 0;
  color: #333;
}
#main ul li:before {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  top: .775em;
  left: 1em;
  border-left: .35em solid #aaa;
  border-top: .35em solid rgba(0,0,0,0);
  border-bottom: .35em solid rgba(0,0,0,0);
}


#main ol {
  display: block;
  margin: .75em 0 0 0;
  padding: 0 2.75em;
  line-height: 1.2em;
  font-size: 1em;
  text-indent: 0;
  color: #333;
  
  list-style: none;
  counter-reset: li;
}
#main ol>li {
  position: relative;
  display: block;
  margin: 0;
  padding: .5em 0 .5em 3em;
  line-height: 1.2em;
  font-size: 1em;
  text-indent: 0;
  color: #333;
}
#main ol>li:before {
  
content: counter(li)".";
counter-increment: li;
  display: block;
  position: absolute;
  width: 2em;
  height: 1.2em;
  top: .5em;
  left: 1.25em;
  font-weight: bold;
}


a.categoryHead {
  display: block;
  font-size: 1em;
  line-height: 1.2em;
  margin: .5em 1em 0 .5em;
  padding: .5em 1em;
  background: #aaa;
  color: #fff;
  text-decoration: none;
}
a.categoryHead:hover {
  background: #f83;
}
.expand:target>a.categoryHead {
  background: #fff;
  color: #333;
}
.expand>div {
  display: block;
  /*margin: 0 1em 0 1em;*/
  font-size: 0;
  line-height: 1em;
  overflow: hidden;
  transition: all linear .2s;
}
.expand:target>div {
  font-size: 1em;
  transition: all linear .2s;
}

#main h4 {
  display: block;
  position: relative;
  line-height: 1.2em;
  margin: .75em .75em 0 0;
  font-size: 1em;
  padding: 0 .75em;
  font-weight: bold;
  color: #333;
  text-align: left;
}




.galerryPreview {
  padding: 1em 0 0 .25em;
}
.galerryPreview .div {
  display: block;
  float: left;
  width: 9em;
  height: 9em;
  line-height: 9em;
  background: #666;
  max-height: 18em;
  margin: 0 0 .5em .5em;
  text-align: center;
  border: .125em solid #333;
  cursor: pointer;
  transition: all linear .25s;
}
.galerryPreview .div:hover {
  border: .125em solid #f83;
  background: #000;
}

.galerryPreview .img {
  display: inline-block;
  max-width: 9em;
  max-height: 9em;
  vertical-align: middle;
  margin: -.2em 0 0 0;
}

.galerryPreview:after {
  content: "";
  display: block;
  clear: both;
}





#footer {
  display: block;
  margin: 0;
  padding: 2.1em 1.5em 1.1em 1.5em;
  height: .8em;
  line-height: .8em;
}
#footer>p {  
  height: .8em;
  line-height: .8em;
  font-size: .8em;
  text-align: left;
  color: #aaa;
}



#sidebar {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}
#sidebar>div {
 position: relative;
 width: 20em;
 height: 100%;
 margin: 0 auto;
 top: 0;
 left: 20em;
}
#sidebar>div>div {
  position: absolute;
  left: 0;
  right: 1em;
  top: 1em;
  bottom: 1em;
  background: #fafafa;
  border-radius: .2em .2em .2em .2em;
  box-shadow: .1em .1em .3em rgba(0,0,0,.25);
}
#sidebar>div>div:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: .5em;
  background: linear-gradient(to top, rgba(255,255,255,0) 0, #fafafa 100%);
  top: 2.5em;
  left: .5em;
  width: 17em;
  z-index: 50;
}
#sidebar>div>div:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: .5em;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0, #fafafa 100%);
  bottom: .5em;
  left: .5em;
  width: 17em;
  z-index: 50;
}
#sidebar>div>div>span {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2em;
  line-height: 2em;
  background: #ccc;
  color: #fff;
  text-align: center;
  border-radius: .2em .2em 0 0;
}
#sidebar>div>div>div {
  position: absolute;
  left: .5em;
  right: .5em;
  top: 2.5em;
  bottom: .5em;
  overflow-y: scroll;
  padding: 0 .5em 0 0;
  border-radius: 0 0 .2em .2em;
}




#sidebar a {
  display: block;
  color: #333;
  border-bottom: 0.1em dashed rgba(0,0,0,.3);
  line-height: 1.3em;
  text-decoration: none;
  padding: .5em;
  text-align: left;
}
#sidebar a>span {
  display: block;
  color: #777;
  line-height: 1em;
  font-size: .8em;
  text-align: right;
}
#sidebar a:hover {
  color: #f83;
}
#sidebar a:hover>span {
  color: #fb6;
}

#sidebar h4 {
  display: block;
  color: #37f;
  line-height: 1.3em;
  font-size: 1em;
  padding: .5em;
  text-align: center;
}


