﻿/* Small reset */

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

ul
{
    list-style: none;
    margin: 0;
    padding: 0;
}

a
{
  color: #6F3736;
}      

/* Clear floats */

.clearfix:after
{
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.clearfix
{
  *zoom: 1;
}

/* Layout styles */

#container
{
    border: 1px solid #000;
    width: 1024px;
    margin: 10px auto;
}

body
{
    margin: 0;
    font-family: Arial, Helvetica;
    font-size: small;
}

header
{
    padding: 10px 0;
    background-color: #;
}

header hgroup
{
    margin: 0 auto;
    width: 960px;
}

header h1
{
    margin: 0;
    float: left;
}

header h2
{
    color: #D2A4A4;
    margin: 0;
    float: right;
    font: italic normal 15px/25px Arial, Helvetica;
}

header a
{
    color: #eee;
    text-decoration: none;
}

header a span
{
    color: #d2a4a4;
}

/* --------------------------------------------------- */

footer
{
    text-align: right;
    width: 960px;
    margin: 0 auto;
    padding: 10px 0;
}

/* --------------------------------------------------- */        

#main
{
    margin: 20px auto 0 auto;
    width: 960px;
}

aside
{
    float: left;
    width: 180px;
    margin-right: 20px;
}

#content
{
    float: left;
    width: 755px;
    min-height: 500px;
    border: 1px solid #000;
}

/* Vertical menu */

#menu li
{
  margin: 0 0 3px 0;
}

#menu a
{
  display: block;
  *display: inline-block;
  *width: 180px;
  text-decoration: none;
  background: #ddd;
  color: #444;
  padding: 10px 5px;
  text-transform: uppercase;
  font: bold 12px Arial,Helvetica;
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
  border-radius:5px;
  -moz-box-shadow: 0 1px 0 #ccc;
  -webkit-box-shadow: 0 1px 0 #ccc;
  box-shadow: 0 1px 0 #ccc;
}

#menu a:hover
{
    color: #eee;
    background: #9c9c9c;
    background: -webkit-gradient(linear, left top, left bottom, from(#bbb), to(#999));
    background: -webkit-linear-gradient(top, #bbb, #999);
    background:    -moz-linear-gradient(top, #bbb, #999);
    background:     -ms-linear-gradient(top, #bbb, #999);
    background:      -o-linear-gradient(top, #bbb, #999);
    background:         linear-gradient(top, #bbb, #999);
}

#menu .expandable
{
    position: relative;
}

#menu .expandable:before,
#menu .expandable:after
{
  content: '';
  position: absolute;
  right: 5px;
  margin-top: 5px;
  border-top: 6px solid #444;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
}

#menu .expandable:before
{
   border-top-color: #fff;
   margin-top: 6px;
}

#menu .expanded:after
{
  border-top: 0;
  border-bottom: 6px solid #444;
}

#menu .expanded:before
{
    border-top: 0;
    border-bottom: 6px solid #fff;
}

#menu ul a
{
    background: #f2f2f2;
    text-transform: none;
    font-weight: normal;
}

#menu ul a:hover
{
    background: #fafafa;
    color: #444;
}