body {
    background: #181818 url(/images/bg-body-dark.jpg) no-repeat scroll center top;
    text-align: center;
    font-size: 12px;
    font-family: "Lucida Grande",Verdana,sans-serif;
    color: #333;
}

a { outline: none; }

#wrapper {
    text-align: left;
    margin: 0 auto;
    background: #000;
    width: 398px;
    height: 296px;
    top: 100px;
    position: relative;
    -moz-border-radius-topright: 30px;
    background: url(/images/frame2.png) no-repeat;
    padding: 114px 35px 35px 35px;
    z-index: 15;
}

#wrapper.small {
    background: none;
    padding: 0 35px;
    height: 104px;
}

.small #social-networks {
  top: 36px;
}

.small #maps, .small #footer {
  display: none;
}

h1 {
    width: 468px;
    height: 172px;
    text-indent: -99999px;
    position: absolute;
    top: -58px;
    right: 0;
    background: url(/images/name.png);
    margin: 0;
    padding: 0;
}

h2 { display: none; }

#nav, #social-networks, #contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

#nav {
    position: absolute;
    top: -47px;
    left: 25px;
}

#social-networks {
    position: absolute;
    left: 30px;
    top: 32px;
    width: 176px;
    z-index: 40;
}

#contact {
    position: absolute;
    right: -11px;
    top: 34px;
    width: 16px;
    z-index: 10;
}

#nav li, #social-networks li {
    float: left;
}

#contact li {
  margin-bottom: 8px;
}

#contact a {
  display: block;
  width: 16px;
  height: 16px;
  text-indent: -10000px;
}

#social-networks a {
    display: block;
    width: 32px;
    height: 32px;
    text-indent: -10000px;
    margin: 0 8px 5px 0;
    opacity: 0.65;
}

#contact a {
  opacity: 0.65;
}

#social-networks a:hover, #contact a:hover {
  opacity: 1;
}

#nav a {
    display: block;
    padding: 10px 10px 25px 10px;
    margin-right: 5px;
    background: red;
    line-height: 12px;
    -webkit-transform: rotate(-90deg); 
    -moz-transform: rotate(-90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

#content {
    width: 378px;
    height: 276px;
    overflow: hidden;
    position: relative;
    color: #fff;
    padding: 10px;
}

#content h3 {
    margin: 0;
    padding: 0;
}

#footer {
  position: absolute;
  font-size: 8px;
  bottom: 15px;
  color: #444;
  text-align: center;
  width: 100%;
  left: 0;
}

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

#footer a:hover {
  text-decoration: underline;
}

#content h2 {
  display: block;
  margin: 0 0 10px 0;
  padding: 0;
}

#content ul {
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  bottom: 3px;
}

#content li {
  padding: 0 0 0 21px;
  margin: 5px 10px 0 10px;
}

#content a {
  color: #fff;
}
