/* html5 */
header,footer,section{ display:block; }

/* alapértelmezett */
h1,h2,ul,p{ margin:0; padding:0; }
ul{ list-style:none; }
img{ border:none; }

body{
  margin:0;
  padding:0;
  text-align:center;
  color:#333;
  font-family:"Lucida Grande","Lucida Sans Unicode",Verdana,sans-serif;
  font-size:13px;
  letter-spacing:-1px;
}

h1{
  padding:32px 0 0 0;
  font-size:20px;
  font-weight:normal;
  text-align:center;
  text-shadow:1px 1px #eee;
}

header{
  height:90px;
  background:#e7e7e7;
  background: -moz-linear-gradient(0% 100% 90deg, #d4d4d4, #e7e7e7);
  background: -webkit-gradient(linear, 0% 100%, 0% 0%, from(#d4d4d4), to(#e7e7e7));
  -moz-border-radius:4px;
  -webkit-border-radius:4px;
  border-radius:4px;
  -moz-box-shadow:0 0 5px #acacac;
  -webkit-box-shadow:0 0 5px #acacac;
  box-shadow:0 0 5px #acacac;
}

/* oldal felépítése */
#pagewrap{
  margin:10px auto 0 auto;
  width:960px;
  text-align:left;
}

#content{
  margin:10px 0;
}

#filter{
  float:left;
  display:inline;
}

#filter li{
  float:left;
  display:inline;
  margin:0 4px 0 0;
  padding:12px 20px;
  background:white;
  border:1px solid white;
}

#filter li:hover{
  cursor:pointer;
  background:#e7e7e7;
  border:1px solid #ccc;
  -moz-border-radius:2px;
  -webkit-border-radius:2px;
  border-radius:2px;
  -moz-box-shadow: inset 0 0 4px #cfcfcf;
  -webkit-box-shadow: inset 0 0 4px #cfcfcf;
  box-shadow: 0 0 4px #cfcfcf inset;
}

#filter .active,
#filter .active:hover{
  cursor:default;
  background:#e7e7e7;
  border:1px solid #ccc;
  -moz-border-radius:2px;
  -webkit-border-radius:2px;
  border-radius:2px;
  -moz-box-shadow: inset 0 0 4px #cfcfcf;
  -webkit-box-shadow: inset 0 0 4px #cfcfcf;
  box-shadow: 0 0 4px #cfcfcf inset;
}

#filter li a,
#filter li a:hover,
#filter li:hover a,
#filter li:hover a:hover{
  color:black;
  text-decoration:none;
}

#photos{
  float:left;
  display:inline;
  margin:0 0 0 16px;
}

#photos li{
  float:left;
  display:inline;
  position:relative;
  margin:10px 12px 0 0;
  width:220px;
  height:146px;
  border:1px solid #e3e3e3;
  -moz-border-radius:4px;
  -webkit-border-radius:4px;
  border-radius:4px;
  text-align:center;
}

#photos li:hover{
  border:1px solid #b5b5b5;
  -moz-box-shadow:0 0 4px #b5b5b5;
  -webkit-box-shadow:0 0 4px #b5b5b5;
  box-shadow:0 0 4px #b5b5b5;
}

#photos li img{
  max-width:200px;
  margin:6px auto 0 auto;
}

#photos li .help{
  display:none;
}

#photos li .mask{
  position:absolute;
  display:none;
  left:0;
  top:0;
  width:100%;
  height:100%;
  z-index:10;
  background:rgba(0,0,0,0.7);
  -moz-border-radius:4px;
  -webkit-border-radius:4px;
  border-radius:4px;
}

/* általános */
.clear{
  clear:both;
}
