﻿/* Margin Settings */
*
{
    padding: 0;
    margin: 0;
}

html, body, #wrap
{
    height: 100%;
}

body > #wrap
{
    height: auto;
    min-height: 100%;
}

p
{
    line-height: 1.6em;
}

ul
{
    list-style-position: inside;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
#background
{
    width: 1004px;
    position: absolute;
    z-index: -1;
    top: 0px;
    left: 50%;
    margin-left: -502px;
}

#content
{
    padding-top: 126px;
    padding-bottom: 100px;
}

.clearfix:after
{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix
{
    display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix
{
    height: 1%;
}
.clearfix
{
    display: block;
}
/* End hide from IE-mac */

#footer
{
    text-align: center;
    position: relative;
    margin-top: -50px; /* negative value of footer height */
    height: 50px;
    clear: both;
}

#subfooter
{
    background-image: url('../../Content/hexback.png');
    background-repeat: repeat;
    width: 770px;
    height: 100%;
    margin-right: auto;
    margin-left: auto;
}

#contact a:link
{
    color: white;
    text-decoration: underline;
}

#contact a:visited
{
    color: white;
    text-decoration: underline;
}

#contact a:hover
{
    color: white;
    text-decoration: none;
}

/* Page Layout Elements
----------------------------------------------------------*/

.singlepanel
{
    padding: 20px;
}

.leftdouble
{
    margin-left: 20px;
    float: left;
    max-width: 480px;
    width: 480px;
}
.rightsingle
{
    margin-right: 20px;
    float: right;
    max-width: 230px;
}

.news
{
    border-bottom: solid 1px #DCDDDE;
}

.center
{
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.rightImage
{
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    width: 230px;
}

.leftdoubleborder
{
    width: 480px;
    border-right: solid 1px #DCDDDE;
}

.leftdoubleh2, .news
{
    width: 460px;
}

/* TAB MENU   
----------------------------------------------------------*/
table#menu
{
    padding: 0;
    margin: 0;
    border: 0;
}

table#menu td
{
    width: 59px;
    border-left: solid 1px #fff;
}

table#menu tr
{
    height: 60px;
}

.menutop
{
    text-align: right;
    width: 100%;
}

.menumid
{
    text-align: center;
    width: 100%;
    height: 14px;
}

.menubot
{
    text-align: left;
    width: 100%;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset
{
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #CCC;
}

fieldset p
{
    margin: 2px 12px 10px 10px;
}

fieldset label
{
    display: block;
}

fieldset label.inline
{
    display: inline;
}

legend
{
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input[type="text"]
{
    width: 200px;
    border: 1px solid #CCC;
}

input[type="password"]
{
    width: 200px;
    border: 1px solid #CCC;
}


/* Header  
----------------------------------------------------------*/

#header
{
    background-image: url('../../Content/hexback.png');
    background-repeat: repeat;
    position: absolute;
    padding: 0;
    height: 130px;
    width: 770px;
}

#header h1
{
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
}

#headerbeard
{
    margin-top: 89px;
    position: absolute;
    z-index: 1;
}

#logo
{
    float: left;
    padding-top: 25px;
    padding-left: 35px;
}

#sitelocation
{
    float: left;
    font-size: 1.1em;
    display: block;
    text-align: left;
    padding: 10px;
    color: White;
}

#logindisplay
{
    float: right;
    font-size: 1.1em;
    display: block;
    text-align: right;
    padding: 10px;
    color: White;
}

#logindisplay a:link
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover
{
    color: white;
    text-decoration: none;
}

/* MENUBAR  
----------------------------------------------------------*/
.bar
{
    float: right;
    width: 530px;
}

#menuholder
{
    vertical-align:top;
    text-align: center;
    float: left;
}

#menuoverlay
{
    position: absolute;
    z-index: 3;
}

.clearLink
{
    border: 0;
    margin: 0 0 0 -5px;
    padding: 0;
}

.clearLink1
{
    border: 0;
    margin: 0 0 0 -2px;
    padding: 0;
}

.clearImg
{
    border: 0;
    margin: 0;
    padding: 0 0 0 2px;
}

#menuhat
{
    margin-top: 54px;
    margin-left: 230px;
    position: absolute;
    z-index: 1;
}

#contact-back
{
    float: right;
    height: 60px;
    width: 159px;
    color: white;
    background-color: #2A3438;
    padding-right: 10px;
}

#contact
{
    font-size: 10px;
    text-align: right;
    margin-left: 385px;
    position: absolute;
    color:White;
    z-index: 2;
}

/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

.error
{
    color: Red;
}

.field-validation-error
{
    color: #ff0000;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}
