html
{
    
}

body 
{
    padding-left: 25px;
    margin: auto;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

/* Master Page Styles */
#header
{
    position: relative;
    height: 175px;
    /* border: 3px solid dodgerblue; */
    margin-bottom: 10px;
    z-index: 99999;
}

#footer
{
    height: 100px;
    clear: both;
    /* border: 3px solid dodgerblue; */
    margin-top: 10px;
}

/* Block-to-Inline */
.blockSide
{
    display: inline-block;
    vertical-align: top;
}

/* Form formatting */
.formLayout
{
    margin: auto;position: absolute;
    /* background-color: #f3f3f3;
    border: solid 1px #a1a1a1; */
    padding: 10px;
    width: 750px;
}
    
.formLayout label, .formLayout input, .formLayout textarea, .formLayout select, .formLayout span, .formLayout table, .formLayout a
{
    display: block;
    width: 120px;
    float: left;
    margin-bottom: 10px;
}
    
.formLayout select
{
    width: 250px;
}
    
.formLayout input
{
    width: 250px;
}
    
.formLayout textarea
{
    width: 400px;
}
 
.formLayout label
{
    text-align: right;
    padding-right: 20px;
    width: 200px;
}

.formLayout input[type="checkbox"]
{
    display: block;
    width: 10px;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.formLayout a
{
    width: 150px;
}
 
br
{
    clear: left;
}

/* Button Formatting */
.button
{
    border: 1px solid #15aeec;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 12px;
    font-family: arial, helvetica, sans-serif;
    padding: 10px 10px 10px 10px;
    text-decoration: none;
    display: inline-block;
    text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
    font-weight: bold;
    color: #FFFFFF;
    background-color: #49c0f0;
    background-image: linear-gradient(to bottom, #49c0f0, #2CAFE3);
}

a.button
{
    margin-top: 5px;
    margin-bottom: 5px;
}
/* Menu Styling */
#nav {
    position: absolute;
    left: 0;
    bottom: 0px;
}

#nav ul ul {
    display: none;
}

#nav ul li:hover > ul {
    display: block;
}
        
#nav ul {
    background: #efefef; 
    background: linear-gradient(top, #efefef 0%, #bbbbbb 100%);  
    background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%); 
    background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%); 
    box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
    padding: 0 0px;
    border-radius: 10px;  
    list-style: none;
    position: relative;
    display: inline-table;
}

#nav ul:after {
    content: ""; clear: both; display: block;
}

#nav ul li {
    float: left;
}

#nav ul li:hover {
    background: #4b545f;
    background: linear-gradient(top, #4f5964 0%, #5f6975 40%);
    background: -moz-linear-gradient(top, #4f5964 0%, #5f6975 40%);
    background: -webkit-linear-gradient(top, #4f5964 0%,#5f6975 40%);
}

#nav ul li:hover a {
    color: #fff;
}

#nav ul li a {
    display: block; padding: 10px 40px;
    color: #757575; text-decoration: none;
}

#nav ul ul {
    background: #5f6975; border-radius: 0px; padding: 0;
    position: absolute; top: 100%;
}

#nav ul ul li {
    float: none; 
    border-top: 1px solid #6b727c;
    border-bottom: 1px solid #575f6a;
    position: relative;
}

#nav ul ul li a {
    padding: 10px 40px;
    color: #fff;
}

#nav ul ul li a:hover {
    background: #4b545f;
}

#nav ul ul ul {
    position: absolute; left: 100%; top:0;
}

/* Error Handling */

#messages {
    position: relative;
    top: -5px; 
    width: 698px;
    margin:10px;
}

#messages div {
    border: 2px solid;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 0.7em;
    font-style: italic;
    min-height: 16px;
    padding: 3px 28px;
    position: relative;
    text-align: center;
}

#messages p {
    margin: 0;
}

#messages div.success {
    background: #E6EFC2;
    border-color: #C6D880;
    color: #264409;
}

#messages div.error {
    background: #FBE3E4;
    border-color: #FBC2C4;
    color: #8A1F11;
}

/* Welcome text */
#welcome {
    position: absolute;
    left: 0px;
    bottom: 80px;
    font-family: arial, helvetica, sans-serif;
    color: green;
}

/* Pager Style */
.pages {
    display: inline-block;
    padding: 4px 9px;
    margin-right: 4px;
    margin-top: 10px;
    border-radius: 3px;
    border: solid 1px #c0c0c0;
    background: #e9e9e9;
    box-shadow: inset 0px 1px 0px rgba(255,255,255, .8), 0px 1px 3px rgba(0,0,0, .1);
    font-size: .875em;
    font-weight: bold;
    text-decoration: none;
    color: #717171;
    text-shadow: 0px 1px 0px rgba(255,255,255, 1);
}

.pages:hover, .pages.gradient:hover {
    background: #fefefe;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FEFEFE), to(#f0f0f0));
    background: -moz-linear-gradient(0% 0% 270deg,#FEFEFE, #f0f0f0);
}

.pages.active {
    border: none;
    background: #616161;
    box-shadow: inset 0px 0px 8px rgba(0,0,0, .5), 0px 1px 0px rgba(255,255,255, .8);
    color: #f0f0f0;
    text-shadow: 0px 0px 3px rgba(0,0,0, .5);
}

.pages.gradient {
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f8f8f8), to(#e9e9e9));
    background: -moz-linear-gradient(0% 0% 270deg,#f8f8f8, #e9e9e9);
}

.search
{
    background-color: #E6EFC2;
    padding: 10px 8px;
    width: 300px;
}