body { 
background-color: #314c5c; 
}

html, body, div, ul, li, ol {
margin:0;
padding:0;
border:0;
}

html {
width:100%;
color:#3d4c49;
font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif, georgia;
}

h1,h2,h3,h4,h5,h6,p,ul,li,hr {
margin:0;
padding:0;
font-size:100%;
font-weight:normal;
}

h2 {
font-size:100%;
font-weight:bold;
text-transform:uppercase;
margin:25px 0 0 0;
color:#3d6a7f; 
}

h3 {
font-size:95%;
font-weight:bold;
margin:10px 0 0 0;
color:#63648b;
}

ul li {
margin:0 0 0 2em;
}

a { color:#63638b; }

.container {
width:100%;
}

#containertop {
background-color:#e5e2db;
position:relative;
}

#containertop img.back {
position:absolute;
display:none;
}

#containertop img#back {
width:100%;
}

#containertop img.flourish {
position:absolute;
bottom:-10px;
}

#containertop img#flourishLeft {
left:0;
}

#containertop img#flourishRight {
right:0;
}

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

#contentTop, #contentBottom {
margin:0 10px;
text-align:left;
min-height:200px;
width:948px;
position:relative;
}

#contentBottom {
background-color:#fff;
}

#content-gradient {
padding:1em 0;
background-image:url(../images/back_content.png);
background-position:top;
background-repeat:repeat-x;
}

/* slideshow  */ 

#slideshow {
width:948px;
position:absolute;
z-index:1;
top:90px;
left:0;
background-color:#fff;
height:600px;
overflow:hidden;
}

.slideshow {
height:900px;
overflow:hidden;
}

/* #slideshow .slide, #slideshow img {
width:300px;
height:200px;
display:inline;
} */ 

#slideshow { top:70px; }

#banner {
width:948px;
position:absolute;
z-index:1;
top:90px;
left:0;
background-color:#fff;
height:390px;
overflow:hidden;
}


/* header */


#contentTop, #containerTop img.back {
height:470px;
}

#slideshow {
height:400px;
}

.slideshow {
height:auto;
}

/* masthead */

#mast {
position:absolute;
z-index:2;
width:948px;
}

ul#nav { top:100px; }

ul.nav {
margin:0;
}

ul.nav li {
list-style-type:none;
margin:0;
display:inline;
position:relative;
padding-left: 7px;
padding-right: 7px;
}


ul.nav li ul {
position:absolute;
z-index:2000;
top:100%;
left:0;
display:none;
}

ul.nav li:hover ul {
display:block;
}

ul.nav li ul li {
display:block;
}

ul.nav li a {
text-decoration:none;
display:inline-block;
padding:0 1em;
white-space:nocontainer;
}

ul.nav li:first-child a {
padding-left:10px;
}

ul.nav li:last-child a {
padding-right:10px;
}

ul.nav li ul li a {
display:block;
}

ul.nav img {
display:inline;
}

#otherSpecials p {
margin:0;
}

/* nav */

ul#nav {
font-size: 85%;
text-transform: uppercase;
width: 100%;
text-align: center;
background-color: #dbd4c7;
position: absolute;
line-height: 2.2em;
z-index:150;
border-top: 1px solid #fff;
border-bottom: 1px solid #fff;
}

ul#nav li {
display:inline;
}

ul#nav li:hover {
background-color:#314c5c;
}

ul#nav li a {
color:#364e52;
padding-top:5px;
}

ul#nav li:hover>a {
color:#fcf7e4;
}

ul#nav li ul li {
display:block;
border-top:1px dotted #919892;
background-color:#dbd4c7;
}

ul#nav li ul { text-align:left; }

ul#nav li ul li a { padding:0 1.5em; }

ul#nav li:first-child ul li a { padding-left:3em; }

ul#nav li:last-child a { padding-right:1.5; }

table.main {
background-image: url(../images/flourish.png);   
background-repeat: no-repeat;
background-position: right bottom;
}

p { margin-top:1em; line-height:1.5em; }

.head1 { font-size: 18px; color: #314c5c; }
.head2 { font-size: 16px; }

h1 {
text-transform: uppercase;
font-size:24px;
color:#3d6a7f;
margin-top:0.5em;
}


h3.topaddress {
position:absolute;
bottom:0;
right:0;
text-align:right;
padding:4px 9px;
font-size:100%;
width:100%;
z-index:20000;
background-image:url(../images/addressbg.png);
background-position:right;
background-repeat:no-repeat;
}

h3.topaddress {
color:#444;
text-decoration:none;
}

div.clear { clear:both; }

div.clearLeft { clear:left; }

.news-events {
border-left: 2px solid #9abab9;
border-right: 2px solid #9abab9;
border-bottom: 2px solid #9abab9;
border-bottom-left-radius: 6px; 
webkit-bottom-right-radius: 6px; 
webkit-bottom-left-radius: 6px; 
-moz-border-bottom-right-radius: 6px;
-moz-border-bottom-left-radius: 6px; 
border-bottom-right-radius: 6px;
width: 242px;
}

.news-events img { max-width: 225px; height: auto }

.sub1 { font-family: arial; font-weight: bold; font-size: 10px; }


.footer {
border-top: 1px solid #d7d9d1; 
margin: 0;
padding:10px;
text-align:center;
color:#d7d9d1;
font-size:16px;
}

.bottomlinks { color: #eee; font-size: 10px;  }
.bottomlinks a:link { color: #eee; text-decoration: none; }
.bottomlinks a:visited { color: #eee; text-decoration: none; }
.bottomlinks a:hover   { color: #fff; text-decoration: underline; }

table#bottomlinks {
text-align: left;
}

.bluebox {
background-color: #b3c9c8; 
padding: 10px; 
border-radius: 6px; 
}

#lightbox {
	
background-color:#fff;
color: #21597a;
font-family: arial;
font-size: 14px;
font-weight: bold;
padding: 10px;
}
	
#lightboxDetails { font-size: 0.8em; padding-top: 0.4em; }
	
#lightboxCaption { float: left; }

#keyboardMsg { float: right; }

#closeButton { top: 5px; right: 5px; }

#lightbox img { border: 10px; clear: both;} 

#overlay img { border: none;}

#overlay { background-image: url(http://www.mainstreetmanor.com/overlay.png); }

* html #overlay {
background-color: #fff;
back\ground-color: transparent;
background-image: url(shim.gif);
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="overlay.png", sizingMethod="scale"); }