body
{
    padding: 0;
    margin: 0;
    height: 100%;
    background: #fafafa;
}

table
{
    font-size: 14px;
}

#header
{
    background: url('img/headerbg.jpg');
    background-size: cover;
    background-position: top;
    width: 100%;
    padding: 10px;
    /*position: fixed;*/
}

#headercontent
{
    width:800px;
    margin:0 auto;
}

#header h1
{
    color:black;
    font-size: 24pt;
    text-shadow: 2px 2px red;
}

#carouselcontainer
{
    background: yellow;
}

#container
{
    padding: 20px;
    background: url('/img/content_top.png');
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
}

#content
{
    margin: 0 auto;
    width: 800px;
}

#content img
{
    max-width: 790px;;
}

footer
{
    background: #333;
    padding: 3px;
    text-align: center;
    width: 100%;
    color: #f5f5f5;
}

/* Gallery */

.gallerylinkcontainer
{
    margin: 20px;
    text-align: center;
    float: left;
    width: 20%;
}

.gallerylink img
{
    margin: 5px;
}

.gallerylink a:hover
{
    text-decoration: none;
}

.gallerylink img:hover,
#galleryimages img:hover
{
    opacity: 0.7;
    filter: alpha(opacity=70);
}

#galleryimages img
{
    width: 133px;
    height: 133px;
}

#galleryPdfs a {
    margin-top: 10px;
}

/* Carousel */

#carousel
{
    margin-top: 10px;
    list-style: none;
    width: 600px;
    height: 400px;
    font-size: 10pt;
    background: none;
}

#carousel .image {
    position: relative;
    width: 100%; /* for IE 6 */
}

#carousel h2 {
    position: absolute;
    top: 150px;
    left: 0;
    width: 100%;
}

#carousel h2 span {
    color: white;
    font: bold 24px/45px Helvetica, Sans-Serif;
    /*letter-spacing: -1px;*/
    background: rgb(0, 0, 0); /* fallback color */
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
}

#carousel a
{
    position: absolute;
    top: 280px;
    left: 220px;
}

#carousel h2 span.spacer {
    padding:0 5px;
    background: none;
}

/* bootstrap extensions */
.red .active a,
  .red .active a:hover {
      background-color: #bd362f;
  }

.green .active a,
.green .active a:hover {
    background-color: #51a351;
}

.lightblue .active a,
.lightblue .active a:hover {
    background-color: #49afcd;
}

table.top-align td{
    vertical-align: top;
}