/* CSS RESET
--------------------------------------------- */

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, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, 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;
}


/* MAIN STYLES
--------------------------------------------- */

body {
  text-align: center;
  background: #222 url('../images/bg.jpg');
  color: #fff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
}

a {
  color: inherit;
}

.container {
  max-width: 840px;
  margin: 0 auto;
}

#header {
  height: 88px;
  padding-top: 15px;
  background: #333 url('../images/header.gif') repeat-x;
  margin-bottom: 60px;
}

.logo {
  display: block;
  height: 71px;
  width: 397px;
  background: url('../images/logo.png');
  text-indent: -9999px;
  overflow: hidden;
  float: left;
}

#nav {
  float: right;
  margin-top: 27px;
}

  #nav li {
    display: inline-block;
    margin-left: 15px;
  }

    #nav li a {
      font-size: 18px;
      text-decoration: none;
      text-shadow: 0px 2px 1px #000;
      -webkit-font-smoothing: antialiased;
    }

      #nav li a:hover {
        text-decoration: underline;
      }

      #nav li a.active {
        font-weight: bold;
        text-decoration: underline;
      }

h2 {
  font-size: 24px;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.9);
  margin-bottom: 25px;
  margin-top: -20px;
  font-weight: bold;
}

#galleria {
  width: 840px;
  height: 550px;
  background: #000;
}

#footer {
  margin: 50px 0px 60px;
  font-size: 14px;
  color: #ddd;
  text-shadow: 0px 1px 1px #000;
  -webkit-font-smoothing: antialiased;
}

#galleries {
  margin: 0 auto;
  text-align: center;
  max-width: 640px;
}

#galleries li {
  border-radius: 6px;
  -webkit-border-radius: 6px;
  moz-border-radius: 6px;
}

  #galleries li a {
    text-decoration: none;
    display: inline-block;
    float: left;
    width: 120px;
    height: 80px;
    padding: 60px 10px 0px;
    margin: 5px;
    background: #333;
    border-radius: 6px;
    text-shadow: 0px 1px 2px #000;
    font-size: 18px;
    line-height: 1.2em;
    -webkit-font-smoothing: antialiased;
    -webkit-border-radius: 6px;
    moz-border-radius: 6px;
    -webkit-transition: .2s;
       -moz-transition: .2s;
        -ms-transition: .2s;
         -o-transition: .2s;
            transition: .2s;
  }

    #galleries li a:hover {
      background: #555;
      box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
    }

  .clear {
    clear: both;
  }