body {
	margin: 20px;
	padding: 0;
	background: #F6F6F6 url(images/back.jpg) repeat-x;
	font: normal 0.7em "Trebuchet MS";
	color: #333333;
	text-align: center;
}

form {
	margin: 0;
	padding: 0;
}

h1, h2{
	font-family: "Times New Roman", Times, serif;
	font-weight: normal;
	color: #000000;
	padding-left: 10px;
}
h3 {
	font-family: "Trebuchet MS", sans-serif;
	font-weight: normal;
	color: #000000;
	padding-left: 15px;
	padding-top: 5px;
	background-position: center;
}

/* links */

a {
	color: #000000;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.top {
	text-align: right;
}

/* Boxed */

.tab {
	float: right;
	width: 200px;
	margin: 0 0 10px 0;
	padding: 0;
	background: #DCDCDC;
}

.tab .heading {
	margin-top: 0;
	padding: 8px 15px;
	background: #415786 url(images/headline.jpg) no-repeat center bottom;
	text-transform: uppercase;
	letter-spacing: 2px;
	font: bold 1em "Trebuchet MS";
	color: #FFFFFF;
}

.tab .content {
	margin: 0;
	padding: 5px 14px 10px 14px;
}

.tab ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}

.tab li {
	padding: 3px 0;
	border-top: 1px dotted #1F1F21;
}

.tab li.first {
	border: none;
}

.tab a {
	padding-left: 10px;
	background: url(images/img4.gif) no-repeat left center;
	text-decoration: none;
}

.tab a:hover {
	
	text-decoration: underline;
}


/* Wrapper */

#wrapper {
	width: 778px;
	margin: 0 auto;
	text-align: left;

}

/* Header */

#header {
	float: left;
	width: 200px;
	height: 150px;
	background: url(images/header2.jpg);
}

#header h1 {
	margin: 0;
	padding: 43px 0 0 0;
	text-align: center;
	letter-spacing: -1px;
	font-size: 3em;
	color: #FFFFFF;
	font-weight: bold;
}

#header h2 {
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 1.2em;
	font-style: italic;
}

#header a {
	text-decoration: none;
	color: #FFFFFF;
	font-family: "Times New Roman", Times, serif;
}

/* Pages */

#pages {
	float: right;
	width: 568px;
	height: 150px;
	background: url(images/head.jpg) no-repeat;
}

#pages h2 {
	color: #FFFFFF;
	font-size: 3em;
	font-weight: normal;


	margin: 0;
	padding: 43px 0 0 1em;
	text-align: left;
	letter-spacing: -1px;
	font-size: 3em;
}

#pages ul {
	float: left;
	margin: 0;
	list-style: none;
	line-height: normal;
	font-size: 14px;
	font-weight: bold;
	padding-top: 40px;
	padding-left: 1px;
	font-family: "Trebuchet MS";
}

#pages li {
	display: inline;
}

#pages a {
	text-decoration: none;
	font: bold 1em Trebuchet MS, sans-serif;
	color: #FFFFFF;
	padding-left: 1.5em;
}

#pages a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}

/* Content */

#content {
	clear: both;
	padding-top: 10px;
	text-align: left;
}

/* Posts */

#posts {
	float: left;
	width: 558px;
}

#posts1 {
	float: left;
	width: 558px;
}
#posts2 {
	float: left;
	width: 558px;
}

.post {
	padding-top: 10px;
	background-repeat: no-repeat;
	background-image: url(images/cellheader.jpg);
	background-color: #FFFFFF;
	padding-left: 10px;
	padding-right: 5px;
}
.postnoheading {
	padding-top: 20px;
	background-color: #f6f6f6;
	padding-left: 10px;
	padding-bottom: 30px;
	vertical-align: middle;
}

.post .title {
	margin: 0;
	font-size: 2em;
}

.post .posted {
	margin-top: 0;
	font: normal 0.8em Trebuchet MS, sans-serif;
	color: #999999;
}

.post .meta {
	margin: 2em 0 3em 0;
	border-top: 1px dotted #3B5699;
	font: normal .8em  Trebuchet MS, sans-serif;;
	color: #999999;
}

.post .meta p {
	margin: 0;
}

/* Archives */

#archives {
	float: right;
	margin-left: 10px;
}

/* Search */

#search {
}

#search .content {
	padding-bottom: 12px;
}

#textfield1 {
	width: 156px;
	padding: 5px 5px;
	border: 1px solid #000000;
	font: bold 1em  Trebuchet MS, sans-serif;;
	color: #000000;
}

#submit1 {
	display: none;
}


/* Images */
a img {
	border: none;
}


img.left {
	float: left;
	margin: 5px 20px 0 0;
}

img.right {
	float: right;
	margin: 5px 0 0 20px;
}

/* gallery */
.gallerycontainer{
	text-decoration: none;/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
border: 1px solid white;
margin: 0 5px 5px 0;
}

.thumbnail:hover{
	background-color: transparent;
	text-decoration: none;
}

.thumbnail:hover img{
	border: 1px solid blue;
	text-decoration: none;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: #D5D5FF;
padding: 5px;
left: -1000px;
border: 1px solid #3366FF;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
text-decoration: none;
}

.thumbnail:hover span{
	visibility: visible;
	top: auto;
	z-index: 50;
	left: auto;
	right: auto;
	bottom: auto;
}

/* Footer */

#footer {
		clear: both;
		height: 108px;
	background:  url(images/footer.jpg) no-repeat center;
}

#footer p {
	margin: 0;
	padding-top: 45px;
	text-align: center;
	color: #8E8E8E;
}

#footer a {
	color: #666666;
}
.tab .logo {
	margin: 0;
	padding: 5px 14px 10px 14px;
	background-color: #FFFFFF;
	background-position: center center;
}

#button {
	font-size: 12px;
	font-weight: normal;
	background-color: #0066FF;
	background-image: url(images/boxBg.jpg);
	font-family: "Trebuchet MS";
	background-repeat: repeat-x;
	color: #FFFFFF;
	}
	
	
/* Pagination */	
	.paginationstyle{
	text-align: center;
	padding: 2px 0;
	margin: 10px 0;
}

.paginationstyle select{ /*Style for demo pagination divs' select menu*/
border: 1px solid navy;
margin: 0 15px;
}

.paginationstyle a{ /*Pagination links style*/
padding: 0 5px;
text-decoration: none;
border: 1px solid black;
color: navy;
background-color: white;
}

.paginationstyle a:hover, .paginationstyle a.selected{
color: #000;
background-color: #FEE496;
}

.paginationstyle a.imglinks{ /*Pagination Image links style (class="imglinks") */
border: 0;
padding: 0;
}

.paginationstyle a.imglinks img{
	vertical-align: bottom;
	border: 0;
}

.paginationstyle a.imglinks a:hover{
	background: none;
	color: #00FF33;
}

.paginationstyle .flatview a:hover, .paginationstyle .flatview a.selected{ /*Pagination div "flatview" links style*/
color: #000;
background-color: yellow;
}
.postnoheadingwhite {

	padding-top: 20px;
	background-color: #FFFFFF;
	padding-left: 10px;
	padding-bottom: 30px;
	vertical-align: middle;
}



/*Make sure your page contains a valid doctype at the top*/
#simplegallery1{ //CSS for Simple Gallery Example 1
position: relative; /*keep this intact*/
visibility: hidden; /*keep this intact*/
border: 5px solid #DAD6CD;
}

#simplegallery1 .gallerydesctext{ //CSS for description DIV of Example 1 (if defined)

	padding: 2px 0px;
	text-align: center;
}



#latest a {
	display: table-column-group;
	width: 76px;
	height: 90px;
	background-position: center top;
	background-repeat: no-repeat;
	background-attachment: fixed;
	border: medium solid #666;
	background-color: #FFFFFF;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #300;
	font-weight: normal;
	font-variant: normal;
	text-align: center;
	margin-top: 10px;
	float: left;
	margin-left: 10px;
	font-size: 14px;
}

#latest a:hover{
	border: medium solid #ffae00;
	color: #060;
	text-decoration: none;
	font-weight: normal;
}
