/*
Theme Name: MyWordpress
Theme URI: http://www.hv-designs.co.uk
Description: A wordpress theme
Version: 1
Author: Richard Carpenter
*/

/* MAIN BODY STYLES */

*{
	padding:0;
	margin:0;
}

body {
background-image: url(images/containerbg.png);
background-repeat: repeat-x;
	font-family: Verdana, Arial, "Century Gothic";
	font-size: 14px;
	color: black;
}

p span {
	font-size: 14px;
	color: black;
}


ul, ol {
	list-style:none;
}

h1,h2 {
	color: black;
	font-weight: bold;
}

h1 {
	font-size: 24px;
	line-height: 34px;
}

h2 {
	font-size: 18px;
	line-height: 34px;
}

h3 {
	color: #333333;
	font-size: 18px;
	line-height: 34px;
}

a:link {
	color: blue;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #309DCF;
}
a:hover {
	text-decoration: none;
	color: #333333;
}
a:active {
	text-decoration: none;
	color: #309DCF;
}

#container {
	margin: auto;
	width: 840px;
background-color: white;

}


/* HEADER STYLES */

.headercontainer {
float: left;
width: 838px;
background-color: white;
border-left: 1px solid black;
border-right: 1px solid black;
}

#header {
margin: auto;
	height: 203px;
	width: 800px;
background-color: white;
;

}

#header2 {
margin: auto;
	height: 203px;
	width: 800px;
background-image: url(images/header.jpg);
background-repeat: no-repeat;

}




/* HEADER SEARCH FORM STYLES */

#search {
	float: right;
	padding-top: 45px;
}

.search-field {
	margin-right: 5px;
	padding: 4px;
	background-color: #494949;
	border: 1px solid #666666;
	color: #FFFFFF;
}

.search-button {
	background-color: #494949;
	border: 1px solid #666666;
	color: #FFFFFF;
	padding: 2px;
}

.search-button:hover {
	background-color: #707070;
}

/* TOP BAR STYLES */



.nav1 li {
	display: inline;
	list-style-type: none;
	margin-right: 20px;
	color: #000000;
	float: left;
}

.nav2 li{
	display: inline;
	list-style-type: none;
	color: #000000;
	float: right;
	margin-left: 20px;
}

/* NAVIGATION STYLES */

#navigation {
	height: 42px;
	float: left;
	width: 900px;
}

.nav_links ul {
	margin: 0px;
	padding: 0px;
}

.nav_links li {
	list-style:none;
	display:block;
	float: left;
}

.nav_links a {
	text-decoration: none;
	color: #5f5f5f;
	display: block;
	height: 27px;
	padding-right: 17px;
	padding-left: 17px;
	padding-top: 15px;
}

.withdiv {
	background-image: url(images/nav_divider.png);
	background-repeat: no-repeat;
}

.nav_links a:hover {
	color: #FFFFFF;
	background-image: url(images/nav_hover.png);
	background-repeat: repeat-x;
}


/* CONTENT CONTAINER STYLES */

#content {
float: left;

	width: 838px;
background-color: white;
border-left: 1px solid black;
border-right: 1px solid black;

}

#content p {
	margin-left: 10px;
margin-bottom: 20px;
	padding: 0;
}

#content blockquote p {
margin-left: 40px;
}

#content table tbody tr td p {
margin-top: 10px;
}

/* this is now content right */
#content-left {
	float: right;
	width: 580px;
margin-right: 20px;
}



/* POST STYLES */

.cleared
{
  float: none;
clear: left;
clear: right;

  margin: 0;
  padding: 0;
  border: none;
  font-size:1px;
}

.a-post {
	background-color: #FFFFFF;
	/* background-image: url(images/post_bg.png); */
    background-color: white;
	background-repeat: no-repeat;
margin-left: 10px;
margin-right: 10px;
	width: 580px;
	float: left;
	margin-top: 20px;
	padding-bottom:20px;
}

.pagetitle1 {
padding-bottom: 15px;
text-decoration: underline;
}


.a-post h1{
	color: black;
	font-size: 24px;
	font-weight: bold;
	line-height: 34px;
}

.a-post li{
list-style: disc;
margin-left: 25px;
}


.a-post img{
	border: 1px solid #d4d4d4;
	padding: 5px;
margin: 10px;
max-width: 100%;
}


.a-post img.centered {
display: block;
margin-left: auto;
margin-right: auto;
}

.a-post img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}

.a-post img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;
display: inline;
}

.a-post .alignright {
float: right;
}

.a-post .alignleft {
float: left
}


.post-img {
	
	height: 198px;
	width: 234px;
	margin-right: 10px;
}

.post-title {
	float: left;
	width: 336px;
	margin-bottom: 10px;
}

.post-title p{
	color: #FFFFFF;
	background-color: #90c6df;
	float: left;
}

.post-desc {
	float: left;
	width: 336px;
	text-align: justify;
	font-style: italic;
	line-height: 16px;
}



/* POST2 for blog pages STYLES */

.a-post2 {
margin-top: 25px;
	background-color: #FFFFFF;
	background-image: url(images/post_bg.png);
	background-repeat: no-repeat;
	border: 1px solid #bababa;
	width: 580px;
	padding: 10px;
	float: left;
	margin-bottom: 20px;
}

.a-post2 h1{
	color: #309DCF;
	font-size: 24px;
	font-weight: bold;
	line-height: 34px;
}

.a-post2 img{
	border: 1px solid #d4d4d4;
	padding: 5px;
	float: left;
}

.post-img2 {
	float: left;
	height: 198px;
	width: 234px;
	margin-right: 10px;
}

.post-title2 {
	float: left;
	width: 336px;
	margin-bottom: 10px;
}

.post-title2 p{
	color: #FFFFFF;
	background-color: #90c6df;
	float: left;
}

.post-desc2 {
	float: left;
	width: 336px;
	text-align: justify;
	font-style: italic;
	line-height: 16px;
}

.page-content {
width: 580px;

}


/* New Dynamic SIDEBAR STYLES */

.dynamicmenu {
float: left;
margin-left: 20px;
background-color: #C2D7EF;
width: 180px;
}

.menuroundtop {
float: left;
margin-left: 20px;
margin-top: 20px;
width: 180px;
height: 10px;
background-image: url(images/menuroundtop.png);
background-repeat: no-repeat;
}


.menuroundbottom1 {
clear: left;
float: left;
margin-left: 20px;
width: 180px;
height: 10px;
background-image: url(images/menuroundbottom.png);
background-repeat: no-repeat;
}

.dynamicmenu a:link {
color: white;

}


.dynamicmenu a:visited {
color: white;
}

.dynamicmenu ul li {
line-height: 20px;
}

.dynamicmenu li a {
display: block;
width: 120px;
padding: 0px 10px;

}

.dynamicmenu li a:hover {
display: block;
background-color: #203569;
/* background-image: url(images/hover.png); */
/* background-repeat: repeat-y; */
}

.dynamicmenu ul {
list-style: none;

}

.dynamicmenu ul li{
margin-bottom: 10px;
width: 140px;
/* background-image: url(images/menubarbg.png); */
/* background-repeat: repeat-y; */
margin-left: 20px;

background-color: #71A1D5;
font-weight: bold;
}


.dynamicmenu H2 {
color: white;
font-weight: bold;
margin-left: 10px;
}



.side-bar {
	float: left;
margin-top: 10px;
	width: 180px;


}



.side-bar-content {
	width: 160px;
	float: left;
margin-left: 20px;

}

.sidebarlogoroundtop {
clear: both;
float: left;
margin-left: 20px;
margin-top: 20px;
width: 180px;
height: 10px;
background-image: url(images/roundedsidebarlogotop.png);
}

.sidebarlogo {
clear: both;
float: left;
margin-left: 20px;
width: 180px;
height: 177px;
background-color: #71A1D5;
background-image: url(images/sidebarlogo.png);
background-repeat: no-repeat;
background-position: center;
}


.sidebarlogoroundbottom {
clear: both;
float: left;
margin-left: 20px;
width: 180px;
height: 10px;
background-image: url(images/roundedsidebarlogobottom.png);
background-repeat: no-repeat;

}


.side-bar-ads {
	margin-left: 3px;
	margin-bottom: 3px;
}

.side-bar h1{
	color: white;
	font-size: 16px;
	font-weight: bolder;
line-height: 24px;
border-top: 1px solid #203569;
border-left: 1px solid #203569;
border-right: 1px solid #203569;
background-color: #71A1D5;


}

.side-bar p {
	text-align: justify;
font-size: 20px;
	line-height: 20px;
font-style:italic;
font-weight: bold;

}

.listmargin {
width: 140px;
background-color: #71A1D5;

}

.side-bar ul {
list-style: none;
width: 120px;
}

.side-bar li {
style: none;
	display: block;
font-style:oblique;
font-size: 16px;
	line-height: 24px;
font-style:italic;



}


.side-bar a:hover {
	background-image: url(images/nav_hover.png);
	background-repeat: repeat-x;
}

.side-bar li hover {
display: block;
background-color: red;
width: 140px;
}


.side-bar a:link {
display: block;
color: white;
}

.side-bar a:visited {
color: white;
}

/* FOOTER STYLES */

#footer {

        clear: both; 
	height: 80px;
width: 838px;
margin: auto;
background-color: white;
border-left: 1px solid black;
border-right: 1px solid black;
}

.leftsideoffooter {
margin-top: 20px;
margin-left: 20px;
width: 20px;
height: 60px;
float: left;
background-image: url(images/footer_left_roundside.png);
background-repeat: no-repeat;
}

.rightsideoffooter {
margin-top: 20px;
width: 20px;
height: 60px;
float: left;
background-image: url(images/footer_right_roundside.png);
background-repeat: no-repeat;
}




#footer-content {
 margin-top: 20px;
background-color: #71A1D5;
float: left;
	height: 60px;
	width: 758px;

}

#footer-content p {
	color: white;
margin-top: 20px;
	text-align: left;
}

.comment-box {
	border: 1px dashed #666666;
	margin-bottom: 10px;
	padding: 5px;
	float: left;
	text-align: justify;
	width: 565px;
}

.comment-box p {
	margin: 5px 0 10px; 
	padding: 0;
}

.gravatar {
	float: right;
	margin: 5px;
}