﻿body {
    color:#000000;
    font-family:"Trebuchet MS", Verdana, Arial, Helvetica, "Sans-Serif";
    font-size:medium;
    line-height:1.8em;
    margin:0px 0px 0px 0px;
    overflow:hidden;
    padding:0;
    width:100%;
}

html>body, html>body .wrapper {
   height: auto; /*this undoes the IE hack, hiding it from IE using the child selector*/
}

html, body, .wrapper {
   min-height: 100%; /*Sets the min height to the height of the viewport.*/
   width: 100%;
   height: 100%;     /*Effectively, this is min height for IE5+/Win, since IE wrongly expands an element to enclose its content.
                     /*This misbehavior causes problems in modern browsers*/
}

/******************************************************/
/**The block for the logo, title, etc, etc at the top**/
/******************************************************/
.titleblock {
    background-color:#FFFFFF;
    background-position:top;
    background-repeat:repeat-x;
    color:#FFFFFF;
    display:block;
    height:115px;
    width:1024px;    
}

.logoblock {
    background-image:url("_images/_logos/hastings_logo_2.gif");
    background-position:center center;
    background-repeat:no-repeat;
    height:70px;
    width:800px;
}

.shieldblock {

}

/******************************************************/
/**The block at the bottom - counters, messages, etc **/
/******************************************************/
.footerblock {
    background-color:navy;
    background-repeat:repeat;
    bottom: 0;
    color:#FFFFFF;
    display:block;
    font-size:8pt;
    height:20px;
    position: absolute;
    text-align: center;
    vertical-align:middle;
    width:100%;    
}

.footerleft{
    float:left;
}

.footerright{
    float:right;
}

/******************************************************/
/********The block for the menu items at the top*******/
/******************************************************/
.menublock
{
    border-bottom: solid 1px navy;
    border-collapse: separate;
    border-spacing: 2px;
    color: #FFFFFF;
    display:block;
    empty-cells: show;
    height:37px;
    left:120px;
    overflow:hidden;
    padding-bottom: 5px;
    padding-left:0px;
    position:relative;
    width: 870px;
}

.menuelement
{
    color:#000000;
    display:table-cell;
    font-size:13pt;
    font-weight:bold;
    height:37px;
    padding:2px 0px 2px 0px;
    text-align:center;
    text-decoration:none;
    width:108px;
}

.menuelement:link, .menuelement:visited, .menuelement:active {
    background-image:url("_images/_styles/bluegold/button_02.gif");
    background-position:center;
    background-repeat:no-repeat;
    display:inline-block;
    font-weight:normal;
    height:37px;
    width:108px;
}

.menuelement:hover{
    background-image:url('_images/_styles/bluegold/button_03.gif');
    background-position:center;
    background-repeat:no-repeat;
    color:#FFFFFF;
    display:inline-block;
    font-style:normal;
    font-weight:normal;
    height:37px;
    width:108px;
}

/******************************************************/
/********* The main layer - variable content **********/
/******************************************************/
.wrapper {
   background-color:#FAEBD7;
   position: absolute;
   top: 0;
   left: 0;
}

.solocolumn {
    display:table-column;
    left:5px;
    position:absolute;
    top:5px;
    width:990px;
}

.leftcolumn {
    display:table-column;
    left:5px;
    position:absolute;
    top:5px;
    width:445px;
}

.leftandmidcolumns {
    display:table-column;
    left:5px;
    position:absolute;
    top:5px;
    width:755px;
}

.middlecolumn {
    display:table-column;
    left:455px;
    position:absolute;
    top:5px;
    width:305px;
}

.rightcolumn {
    display:table-column;
    left:780px;
    position:absolute;
    top:5px;
    width:290px;
}

.middleandrightcolumn {
    display:table-column;
    left:155px;
    position:absolute;
    top:5px;
    width:775px;
}

.mainblock
{
    background-attachment: fixed;
    background-image: url( "_images/_styles/bluegold/bluebar.jpg" );
    background-position: left bottom;
    background-repeat: repeat-x;    
    bottom: auto;
    display: block;
    height: 100%;
    left: 0px;
    margin-bottom: 25px; /*Modify value as needed for footer height.*/
    padding: 0.5em;
    position: relative;
    right: auto;
    top: 5px;
    visibility: visible;
    width: 1024px; 
}

/******************************************************/
/******* Various layers and blocks for content ********/
/******************************************************/
.sectiontitle {
    color:Maroon;
    font-size:16pt;
    font-weight:bold;
}

.galleryblock {
    background-image:url("_images/_styles/bluegold/background_gold.jpg");
    background-repeat:repeat;
    border:solid 5px navy;
    display:block;
    height:285px;
    width:440px;
}

.galleryimage {
    height:222px;
    padding-top:10px;
    text-align:center;
    width:442px;
}

.gallerytitle {
    background-color: #B20738;
    background-position: left center;
    background-repeat: no-repeat;
    color:#FFFFFF;
    font-size:16pt;
    font-weight:bold;
    height:30px;
    padding-bottom:0px;
    padding-left:0px;    
    text-align:left;
    width:440px;
}

.gallerytitle a{
    color:#FFFFFF;
    text-decoration:none;
}

.galleryfooter {
    background-color: #B20738;
    background-position: left center;
    background-repeat: no-repeat;	
    color:#FFFFFF;
    display:block;
    font-size:10pt;
    font-weight:bold;
	height: 20px;
	padding-bottom:5px;
	padding-right:0px;
	padding-top:0px;
	text-align:right;
	width:440px;
}

.welcomeblock {
    background-color:#FFFFFF;
    border:solid 1pt #C0C0C0;
    color:#003366;
    font-size:11pt;
    height:329px;
    line-height:normal;
    margin-left:10px;
    padding-bottom:30px;
    padding-left:15px;
    width:300px;
    vertical-align:top;
}

.welcomeheader {
    background-image:url("_images/_titles/welcome.gif");
    background-position:center;
    background-repeat:no-repeat;
    height:40px;
    margin-bottom:10px;
    width:300px;
}

.newsblock {
	background-color: #FFFFFF;
	border:solid 1pt #C0C0C0;
	display:block;
	height:180px;
	line-height:10pt;
	margin-bottom:10px;
	margin-left:10px;
	width:200px;
}

#NewsScroller {
    position: absolute;
    visibility: visible;
    z-index: 10;
    top: 20px;
    left: 20px;
    height: 100px;
    width: 200px;
    clip: rect(100px, 180px, 180px, 10px);
    border-width: 0px;
    padding-top: 40px;
}

.newsheader {
    background-image:url("_images/_titles/latestnews.jpg");
    background-position:center;
    background-repeat:no-repeat;    
    height:40px;
    text-align:center;
    width:180px;
}

.newstitle {
    color:Maroon;
    font-size:9pt;
    margin-left:2px;
    text-align:left;
}

.newssummary {
    font-size:8pt;
    margin-left:10px;
    margin-bottom:5px;
}

.eventsblock {
    background-color: #003366;
	color: #FFFFFF;
	display:block;
	height:168px;
	line-height:10pt;
	margin-bottom:10px;
	margin-left:10px;
	margin-right:5px;
	margin-top:5px;
	overflow:hidden;
	width:200px;
}

#EventsScroller {
    position:absolute;
    visibility: visible;
    z-index: 10;
    top: 300px;
    left: 10px;
    height: 100px;
    width: 200px;
    clip: rect(190px, 180px, 380px, 10px);
    border-width: 0px;
    padding-top: 40px;
}

.eventsheader {
    background-image:url("_images/_titles/events.jpg");
    background-position:center;
    background-repeat:no-repeat;    
    height:40px;
    text-align:center;
    width:200px;
}

.eventtitle {
    color:#00FFFF;
    font-size:9pt;
    margin-left:5px;
}

.eventsummary {
    font-size:8pt;
    margin-left:15px;
    margin-right:5px;
}

.linkblock {
    background-color:maroon;
    border:solid 5px maroon;
    display:block;
    float:left;
    height:50px;
    margin-top:5px;
    width:440px;
}


.counterblock {
    background-color:maroon;
    border:double 1pt gold;
    color:#FFFFFF;
    float:left;
    margin-right:6px;
    width:185px;
    height:49px;
}

.tblcounter {
    border:none;
    font-size:9pt;
    height:40px;
    text-align:center;
    width:180px;
}

.tblcounter tr {
    display:table-row;
    height:13px;
    line-height:10px;
}

.tblcounter td {
    height:10px;
    margin:0px 0px 0px 0px;
    padding:0px 0px 0px 0px;
}

.linkcell{
    background-image:url("_images/_styles/bluegold/button_blue.jpg");
    background-repeat:no-repeat;
    border:double 1pt gold;
    color:#FFFFFF;
    font-size:16px;
    font-weight:bold;
    float:left;
    height:49px;
    margin-right:6px;
    width:115px;
    text-align:center;
    vertical-align:bottom;
}

.rightmenu {
    background-color:Maroon;
    color:#FFFFFF;
    display:table;
    height:360px;
    margin-right:20px;
    width:230px;
}

.rightmenuelement {
    cursor:pointer;
    display:block;
    font-size:14pt;
    height:40px;
    text-decoration:none;   
    text-indent:10px; 
    width:230px;
}

.rightmenu a:link, .rightmenu a:visited, .rightmenu a:active {
    color:#FFFFFF;
    display:block;
    text-decoration:none;
}

.rightmenu a:hover {
    display:block;
    font-weight:bold;
    width:230px;
}

.textblock {
    background-color:#FFFFFF;
    border:solid 2px maroon;
    color:#000000;
    display:block;
    float:left;
    font-size:12pt;
    font-weight:normal;
    height:250px;
    line-height:16px;
    margin-right:5px;
    padding-left:10px;
    width:310px;
    z-index:1;
}

.textcolumn {
    background-color:#FFFFFF;
    border:solid 2px maroon;
    color:#000000;
    display:block;
    float:left;
    font-size:12pt;
    font-weight:normal;
    height:384px;
    line-height:16px;
    margin-right:5px;
    padding-left:10px;
    width:310px;
}

.textbar {
    background-image:url("_images/_styles/blood_and_fire.jpg");
    background-repeat:repeat;
    border:solid 2px maroon;
    color:#000000;
    display:block;
    float:left;
    font-size:12pt;
    font-weight:normal;
    height:130px;
    line-height:16px;
    margin-right:10px;
    margin-top:20px;
    overflow:hidden;
    padding-left:10px;
    text-align:center;
    width:968px;
}

.textfooter {
    background-color:#FFFFFF;
    border:solid 2px maroon;
    color:#000000;
    display:block;
    float:left;
    font-size:12pt;
    font-weight:normal;
    height:130px;
    line-height:16px;
    margin-right:10px;
    overflow:hidden;
    padding-left:10px;
    text-align:center;
    width:639px;
}

.textbar img {
    margin-left:5px;
    margin-right:5px;
}

.texttitle {
    color:#003366;
    display:block;
    font-family:'Times New Roman',Arial;
    font-size:18pt;
    font-weight:bold;
    margin-bottom:10px;
    margin-top:5px;
    text-align:center;
    width:100%;
}

.righttext {
    display:table-column;
    left:665px;
    position:absolute;
    top:5px;
    width:310px;
}

.divWhite {
    background-color:#FFFFFF;
    font-size:10pt;
    margin:5px 5px 5px 5px;
    overflow:auto;
    width:100%;
}

/*Weekly Meetings*/
.divWeekday {
    color:maroon;
    display:block;
    float:left;
    font-size:16pt;
    font-weight:bold;
    text-align:center;   
}

.divWeekEntriesStatic {
    border:solid 1px maroon;
    position:absolute;
    padding:2px 10px 2px 10px;
    max-height:400px;
}

.divWeekEntriesScroll {
    max-height:395px;
    width:99%;
    overflow:auto;
}

.divWeekEntry {
    display:block;
    width:100%;
}

.divWeekTitle {
    border-top:solid 2pt maroon;
    font-weight:bold;
}

.divWeekDesc {
    color:#000000;
    display:block;
    font-size:12pt;
    font-weight:normal;
    text-align:left;
}

.tblLinkBulbs
{
    border-collapse: separate;
    border-spacing: 1px;
    display: table;
    empty-cells: show;
    width: 100%;
    table-layout: fixed;
}


.imgLinkBulb
{
    cursor: pointer;
    display: table-cell;
    empty-cells: show;
    height: 52px;
    max-width: 52px;
    table-layout: fixed;
    text-align:center;
    text-decoration:none;
    vertical-align:top;
    visibility: visible;
    width: 52px;
}

.imgLinkBulb a:link
{
    background-image:url('_images/_styles/bluegold/lightbulb_up.gif');
    background-position:center;
    background-repeat:no-repeat;
    display:block;
    height:100%;
    text-decoration:none;
    width:100%;
}

.imgLinkBulb a:visited
{
    background-image:url('_images/_styles/bluegold/lightbulb_up.gif');
    background-position:center;
    background-repeat:no-repeat;
}

.imgLinkBulb a:hover
{
    background-image:url('_images/_styles/bluegold/lightbulb_down.gif');
    background-position:center;
    background-repeat:no-repeat;
    display:block;
    height:100%;
    text-decoration:none;
    width:100%;
}

.imgLinkBulb a:active
{
    background-image:url('_images/_styles/bluegold/lightbulb_up.gif');
    background-position:center;
    background-repeat:no-repeat;
}

/************************************************************/
/***************** PHOTO GALLERY ****************************/
/************************************************************/

/* remove the bullets, padding and margins from the lists */
.GalleryMenuEntry ul{
    list-style-type:none;
    padding:0;
    margin:0;
}
/* make the top level links horizontal and position relative so that we can position the sub level */
.GalleryMenuEntry li{
    float:left;
    position:relative;
    z-index:100;
}

/* use the table to position the dropdown list */
.GalleryMenuEntry table{
    position:absolute;
    border-collapse:collapse;
    z-index:80;
    left:-1px;
    top:25px;
}

/* style all the links */
.GalleryMenuEntry a, .GalleryMenuEntry :visited {
    display:block;
    font-size:10pt;
    width:163px;
    padding:7px 0;
    color:white;
    background:maroon;
    text-decoration:none;
    margin-right:1px;
    text-align:center;
}

/* style the links hover */
.GalleryMenuEntry :hover{
    color:white;
    background:red;
    border-right:solid 1px white;
}

/* hide the sub level links */
.GalleryMenuEntry ul ul {
    visibility:hidden;
    position:absolute;
    width:163px;
    height:0;
}
/* make the sub level visible on hover list or link */
.GalleryMenuEntry ul li:hover ul,
.GalleryMenuEntry ul a:hover ul{
    visibility:visible;
}

#gallery {
    width:800px; 
    height:380px; 
    padding:10px; 
    border:1px solid #333; 
    background: #FFFFFF; 
    position:relative; 
}

#gallery b.GalleryDefault {
    background-color:#eeeeee;
    position:absolute; 
    left:10px; 
    top:10px; 
    width:560px; 
    height:380px; 
    text-align:center;
}

#gallery b.GalleryDefault img {
    display:block; 
    margin:0 auto 10px auto; 
    border:1px solid #eee; 
    border-color:#555 #ddd #eee #333;
}

#gallery b.GalleryDefault span {
    border:solid 1pt black;
    display:block; 
    color:#000000; 
    font-family:verdana, arial, sans-serif; 
    font-weight:normal; 
    font-size:11pt; 
    width:350px; 
    margin:0 auto;
}

/*This is where the thumbnails appear*/
#gallery ul {
    list-style:none; 
    padding:0; 
    margin:0; 
    width:240px; 
    position:relative; 
    float:right;
}
    
#gallery ul li {
    display:inline; 
    width:52px; 
    height:52px; 
    float:left; 
    margin:0 0 5px 5px;
}

#gallery ul li a {
    display:block; 
    width:50px; 
    height:50px; 
    text-decoration:none; 
    border:1px solid #000; 
    border-color:#eee #555 #333 #ddd;
}

#gallery ul li a span {
    display:none;
}

#gallery ul li a img {
    display:block; 
    width:50px; 
    height:50px; 
    border:0;
}

#gallery ul li a:hover {
    white-space:normal;
    border-color:#555 #ddd #eee #333; 
    background-image:url('_images/_logos/shield3.gif');
}

#gallery ul li a:hover b {
    position:absolute; 
    left:-560px; 
    top:0; 
    width:560px; 
    height:380px; 
    text-align:center; 
    background:#eeeeee; 
    z-index:20;
}

#gallery ul li a:hover span {
    display:block; 
    background-color:maroon;
    color:#FFFFFF; 
    font-family:verdana, arial, sans-serif; 
    font-weight:bold; 
    font-size:11pt; 
    width:350px; 
    margin:0 auto;
}

#gallery ul li a:hover img {
    margin:0 auto 10px auto; 
    width:auto; 
    height:auto; 
    border:1px solid #eee; 
    border-color:#555 #ddd #eee #333;
}

#gallery ul li a:active, #gallery ul li a:focus {
    white-space:normal; 
    border-color:#555 #ddd #eee #333; 
    background:#777;
}

#gallery ul li a:active b, #gallery ul li a:focus b {
    position:absolute; 
    left:-560px; 
    top:0; 
    width:560px; 
    height:380px; 
    text-align:center; 
    background:#ffffff; 
    z-index:10;
}

#gallery ul li a:active span, #gallery ul li a:focus span {
    display:block; 
    color:#ffffff; 
    font-family:verdana, arial, sans-serif; 
    font-weight:normal; 
    font-size:11px; 
    width:350px; 
    margin:0 auto;
}

#gallery ul li a:active img, #gallery ul li a:focus img{
    margin:0 auto 10px auto; 
    width:auto; 
    height:auto; 
    border:1px solid #eee; 
    border-color:#555 #ddd #eee #333;
}

.GalleryInfo {
    float:left; 
    margin-right:20px;
}

.GalleryInfoRight { 
    color:#FFFFFF;
    font-size:8pt;
    height:350px;
    line-height:16px;
    margin-left:10px;
    margin-right:10px;
    margin-top:0px;
    overflow:auto;
    padding-top:10px;
    text-align:left;
    vertical-align:middle;
}

.GalleryShowcase {
    background-color:red;
}

.GalleryClear { 
    clear:both;
}
/************************************************************/
/*********************FEEDBACK FORM**************************/
/************************************************************/
#frmContact {
    background-color:#FFFFFF;
    margin-left:10px;
    width:100%;
}

#frmContact img {
    text-align:center;
}

.formRow {
    display:table-row;
    width:100%;
}

.formLabel {
    display:table-cell;
    float:left;
    font-size:10pt;
    font-weight:bold;
    padding-right:20px;
    text-align:right;
    width:200px;
}

.formField {
    display:table-cell;
    float:left;
    text-align:left;
}

.formField textarea {
    background-color:#FFFFFF;
    color:#000000;
}

.formField input {
    background-color:#FFFFFF;
    color:#000000;
}

#lblTypeInfo {
    font-size:8pt;
    margin-left:5px;
    padding-left:5px;
    width:100%;
}

.divHistory {
    background-color:#FFFFFF;
    border:solid 2px maroon;
    color:#000000;
    display:block;
    float:left;
    font-size:12pt;
    font-weight:normal;
    height:385px;
    line-height:16px;
    margin-right:5px;
    padding-left:10px;
    width:350px;
    z-index:1;
}

.historyblock
{
    border-collapse: separate;
    border-spacing: 2px;
    color: #FFFFFF;
    display:block;
    empty-cells: show;
    overflow:hidden;
    padding-bottom: 5px;
    padding-left:0px;
    position:relative;
    width: 350px;
}

.historyelement
{
    color:#000000;
    display:table-cell;
    font-size:13pt;
    font-weight:bold;
    height:37px;
    padding:15px 0px 2px 0px;
    text-align:center;
    text-decoration:none;
    width:108px;
}

.historyelement:link, .historyelement:visited, .historyelement:active {
    background-image:url("_images/_styles/bluegold/button_02.gif");
    background-position:center;
    background-repeat:no-repeat;
    display:inline-block;
    font-weight:normal;
    height:37px;
    width:108px;
}

.historyelement:hover{
    background-image:url('_images/_styles/bluegold/button_03.gif');
    background-position:center;
    background-repeat:no-repeat;
    color:#FFFFFF;
    display:inline-block;
    font-style:normal;
    font-weight:normal;
    height:37px;
    width:108px;
}

.HistoryColumn {
    background-color:#FFFFFF;
    border:solid 2px maroon;
    color:#000000;
    display:block;
    float:left;
    font-size:12pt;
    font-weight:normal;
    height:384px;
    line-height:16px;
    margin-right:5px;
    padding-left:10px;
    width:550px;
}