/*  
 * Theme Name: 		Curve
 * Theme URI: 		http://www.theenglishguy.co.uk/curve-theme/
 * Description: 	A two column theme, simple to use and swap out graphics, easy to customise; brought to you by <a href="http://www.theenglishguy.co.uk">The English Guy</a>.
 * Author: 			Richard Dows
 * Author URI: 		http://www.theenglishguy.co.uk/
 * Version:			1.0.5
 * Tags:			two column,left sidebar,right sidebar,fixed width,
 */

* {
    margin:					0;
	padding:                0;
}

body, html {
	background-color:		#077BEF;
	font-family:			MyriadPro, Arial, Helvetica, sans-serif;
	font-size:				100%;
	background-image:		url(images/bg.jpg);
	background-position:	top center;
	background-attachment:	fixed;
	background-repeat:		no-repeat;
}

* html,* html body {
    background: #c9ea11 url(images/bg.jpg) fixed no-repeat;
}



/*----------------------------- wrapper ------*/
#wrap {
    width:					900px;
	margin:					0 auto;
	text-align:				left;
}



/*-------------------------- main divs -------*/
#header {
	padding:                0 0 15px 0;
}
#header img {
    margin:                 10px 0 0 0;
}
#header h2 {
    color:					#eee;
	padding:                5px 0 10px 5px;
	font-size:				18px;
	font-style:				italic;
	text-transform:			lowercase;
}
#header #search {
	float:					right;
}
#header #search form {
    margin:					0;
	padding:                0;
	background-color:		transparent;
	margin:					15px 0 0 0;
}
#header #search input#s { 
    background-image:		url(images/search.jpg);
	background-repeat:		no-repeat;
	background-position:	top left;
	background-color:		transparent;
	height:					40px;
	width:					210px;
	border:					0;
	color:					#D06737;
	font-size:				15px;
	padding:                9px 0 0 7px;
}
@media all and (min-width:0px) {
  head~body #header #search input#s { 
    padding:                0 0 0 7px;
  }
} 
#header #search input#g { 
    margin:					0 0 -8px -5px;
}
* html #header #search input#g {
    margin:					0 !important;
	margin-top:				-10px;
	margin-bottom:			10px;
}
*:first-child+html #header #search input#g { 
    margin:					0 !important;
    margin-bottom:			11px !important;
}

#content {
    background-color:		transparent;
    width:					640px;
	padding:                1px 0 0 0;
	float: 					left;
}
#middle {
    background-color:		transparent;
}



/*-------------------------- sidebar ---------*/
#sidebar {
    width:					230px;
	float:					right;
	clear:					right;
	margin:					0;
	padding:                0 10px 0 10px;
	text-align:				left;
}
#sidebar .block {
    color:					#5800AF;
	margin:					0 0 5px 0;
	padding:                5px 0;
}
#sidebar .block-top {
    min-height:             30px;
	height:					auto !important;
	height:					30px;
	margin:					0 0 3px 0;
	background-color:		#D06737;
    -moz-border-radius-topleft: 	3px;
    -webkit-border-radius-topleft: 	3px;
    -moz-border-radius-topright: 	3px;
    -webkit-border-radius-topright: 3px;
}
#sidebar .block-top h3 {
    padding:                3px 0 0 0;
	font-size:				18px;
	font-weight:			bold;
	text-align:				left;
	margin:					0 0 0 5px;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
  #sidebar .block-top h3 { 
    padding-top:            5px;
  }
} 

#sidebar .block-content {
    background-color:		#8ea40c;
	background-image:		url(images/post.jpg);
	background-repeat:		repeat-x;
	background-position:	top left;
    -moz-border-radius-bottomleft: 		3px;
    -webkit-border-radius-bottomleft: 	3px;
    -moz-border-radius-bottomright: 	3px;
    -webkit-border-radius-bottomright:	3px;
}
#sidebar ul {
    margin:					0;
	list-style-type:		none;
}
#sidebar ul li { }
#sidebar ul li a {
    display:				block;
	padding:                5px 5px 0 10px;
	min-height:             30px;
	height:					auto !important;
	height:					30px;
}
#sidebar ul li a:hover {
    background-image:		url(images/listitem_hover.png);
	background-position:	top left;
	background-repeat:		no-repeat;
}
#sidebar p {
    padding:                5px;
}


/*----------------------------- post ---------*/
.post {
	margin:                 0 10px 5px 0;
	padding:                5px;
}
.post-content {
	background-color:		#8ea40c;
	background-image:		url(images/post.jpg);
	background-repeat:		repeat-x;
	background-position:	top left;
	line-height:			1.3em;
	padding:                0;
	font-size:				13px;
    -moz-border-radius-bottomleft: 	3px;
    -webkit-border-radius-bottomleft: 	3px;
    -moz-border-radius-bottomright: 	3px;
    -webkit-border-radius-bottomright: 3px;
}
.post-content ul, .post-content ol, .post-content dl {
    padding:                5px 5px 10px 25px;
}
.post-main {
    padding:                0 5px;
}
.post-main p {
    padding:                5px 0 0 0;
}

.post-top {
	padding:                0 5px;
	background-color:		#D06737;
	min-height:             30px;
	height:					auto !important;
	height:					30px;
	margin:					0 0 3px 0;
    -moz-border-radius-topleft: 	3px;
    -webkit-border-radius-topleft: 	3px;
    -moz-border-radius-topright: 	3px;
    -webkit-border-radius-topright: 3px;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
  .post-top { 
    padding-top:            4px;
  }
} 
.post-bottom {
	min-height:             40px;
	height:					auto !important;
	height:					40px;
	margin:					10px 0 0 0;
}
.post-date { 
    width:					40px;
	height:					40px;
	background-image:		url(images/datebox.jpg);
	background-repeat:		no-repeat;
	background-position:	top left;
	float:					right;
    -moz-border-radius-bottomright: 	3px;
    -webkit-border-radius-bottomright: 3px;
}
.post-date p {
    margin:					0;
	padding:                5px 0 0 0;
	text-align:				center;
}
.post-date span {
    color:					#000;
}
.post-date span.month { 
    font-size:				9px;
	font-weight:			bold;
}
.post-date span.date { 
	font-size:				10px;
}

.post-comments-box {
    width:					31px;
	min-height:             38px;
	height:					auto !important;
	height:					38px;
	background-image:		url(images/comments.png);
	background-repeat:		no-repeat;
	background-position:	top left;
	float:					right;
	margin:					0 10px 0 0;
}
* html .post-comments-box {
    background-image:		url(images/comments.gif);
}
.post-comments-box p {
    text-align:				center;
	padding:                5px 0 0 0;
	margin:					2px 1px 0 0;
}
.post-comments-box p a {
    width:					31px;
    color:					#000;
	font-size:				18px;
}

.post-title h2 {
    padding:                2px 0 0 0;
}
.posted-by {
	color:					#000;
	font-size:				10px;
	padding:                0 5px;
}
.posted-by p {
    margin:					0;
	padding:                3px 0 0 0 !important;
	font-size:				11px;
	width:					500px;
}



/*-------------------------- comments --------*/
.commentsdiv {
	margin:					10px 10px 0 0;
	padding:                5px;
}
.commentlist {
    list-style:				none;
}
.comments, .commentlist li.comment {
	padding:                5px;
	margin:					0 0 10px 0;
	background-color:		#8ea40c;
	background-image:		url(images/post.jpg);
	background-repeat:		repeat-x;
	background-position:	top left;
	line-height:			1.3em;
	font-size:				13px;
    -moz-border-radius-bottomleft: 	3px;
    -webkit-border-radius-bottomleft: 	3px;
    -moz-border-radius-bottomright: 	3px;
    -webkit-border-radius-bottomright: 3px;
}
.commentlist li.comment:after {
    content: 				".";
    display: 				block;
    clear: 					both;
    visibility: 			hidden;
    line-height: 			0;
    height: 				0;
}
html[xmlns] .commentlist li.comment {
    display:				block;
}
* html .commentlist li.comment {
    height: 				1%;
}
.commentlist ul, .commentlist ol, .commentlist dl {
	padding:                0;
	margin:                 0 0 10px 20px;
}
.commentlist ul { 
    list-style-image:		disc !important;
}
.commentlist ol {
    list-style-type:		decimal;
}
.commentlist p {
    padding:                5px 0;
}

.commentlist .children {
    margin:					20px 0 0 0;
}

.comment, .trackback {
    background-color:		#fff !important;
}
.comments-header {
	background-color:		#475206;
	min-height:             30px;
	height:					auto !important;
	height:					30px;
	margin:					0 0 3px 0;
    -moz-border-radius-topleft: 	3px;
    -webkit-border-radius-topleft: 	3px;
    -moz-border-radius-topright: 	3px;
    -webkit-border-radius-topright: 3px;
}
.comments-header h2 {
    padding:                3px 0 0 5px;
}
.comment-author {
    float:					right;
	width:					80px;
	font-size:				11px;
	text-align:				center;
}
.comment-author img {
    clear:					both;
	margin:					0 20px;
}
.comments-middle, .comments-top {
	color:					#000;
	text-align:				left;
}
.comments-number { 
	font-size:				20px;
	font-weight:			bold;
	color:					#000;
	float:					right;
	padding:                0 5px 5px 5px;
}
.comments-poster {
    padding:                3px 0 10px 0;
	text-align:				center;
}
.comments-date {
    font-size:				11px;
}

.comments-middle {
    padding:                0 0 0 5px;
	min-height:             75px;
	height:					auto !important;
}
.comments-middle p {
    padding:                2px 0 7px 0;
	font-size:				12px;
	line-height:			1.4em;
}

.commentform {
	width:					500px;
	margin:					0 auto;
	padding:                10px 0;
}
.commentform-inputs label {
    width:					100px;
	float:					left;
	font-size:				13px;
	font-weight:			bold;
}
.commentform-inputs input {
    margin:					0 0 5px 0;
	border:					1px solid #8EA40C;
}
.commentform-inputs textarea {
    width:					498px;
	margin:                 0 0 25px 0;
	border:					1px solid #8EA40C;
}
.commentform-inputs input#submit {
	float:					right;
	margin:                 0 5px 0 0;
	padding:                2px 5px;
}

.comments ul, .comments ol, .comments dl {
    margin:					0 0 0 25px;
}


/*---------------------------- footer --------*/
#footer { 
	background-color:		#D06737;
	margin:					0 5px;
    -moz-border-radius-bottomleft: 	3px;
    -webkit-border-radius-bottomleft: 	3px;
    -moz-border-radius-bottomright: 	3px;
    -webkit-border-radius-bottomright: 3px;
    -moz-border-radius-topleft: 	3px;
    -webkit-border-radius-topleft: 	3px;
    -moz-border-radius-topright: 	3px;
    -webkit-border-radius-topright: 3px;
}
#footer div {
	margin:					25px 0 10px 0;
}
#footer p {
    padding:                5px;
	text-align:				center;
	color:					#fff;
	line-height:			1.8em;
	font-size:				11px;
}
#footer ul {
    list-style-type:		none;
}
#footer ul ul {
    list-style-type:		none;
	margin:					0 20px;
	color:					#333;
	font-size:				14px;
}
#footer ul ul li {
    padding:                5px 0;
	border-bottom:			1px solid #ebe5e0;
}
#footer h2 {
    font-size:				16px;
	font-weight:			bold;
	color:					#000;
	text-align:				left;
	padding:                0 0 10px 20px;
}



/*----------------------------- links --------*/
a:link, a:visited, .comments-header h2 {
    color:					#5800AE;
	text-decoration:		none;
}
a:hover {
    color:					#c9ea11;
}

.post-title h2, .comments-header h2 {
	font-size:				20px;
	font-weight:			bold;
}
h2#pagetitle { 
    color:					#D06737;
	padding:                0 0 5px 10px;
	font-size:				20px;
}

.align-left h3 a:link, .align-left h3 a:visited, .align-right h3 a:link, .align-right h3 a:visited {
    color:					#360;
	text-decoration:		none;
}
.align-left h3 a:hover, .align-right h3 a:hover {
    color:					#666;
}

.post-info a:link, .post-info a:visited {
    color:					#360;
    text-decoration:		underline;
	font-weight:			100;
	font-size:				14px;
}
.post-info a:hover {
    color:					#000;
}

.post-date a:link, .post-date a:visited, .post-comments-box a:link, .post-comments-box a:visited {
    color:					#000;
}
.post-date a:hover {
    color:					#c9ea11;
}

#sidebar ul a {
    color:					#333;
	text-decoration:		none;
}
#sidebar ul a:hover {
    color:					#000;
}

#footer a, #footer a:visited {
    color:					#c9ea11;
	text-decoration:		none;
}
#footer a:hover {
    color:					#fff;
}
#footer #right a:link {
    text-decoration:		underline;
}
#footer #right a:hover {
    text-decoration:		none;
}



/*-------------------------- calendar --------*/
/* wp-calendar refers to the table itself     */
#wp-calendar {
    margin:					5px;
	width:					220px;
}
#wp-calendar caption {
    display:				none;
}
#wp-calendar thead tr { }
#wp-calendar thead tr th {
    text-align:				left;
} 
#wp-calendar tbody tr { }
#wp-calendar tfoot tr { }
#wp-calendar tbody td { 
    min-height:             21px;
	height:					21px;
	background-color:		#c9ea11;
	border-right:			1px solid #16A40C;
	border-bottom:			1px solid #16A40C;
	margin:					0 5px 5px 0;
	padding:                2px;
	vertical-align:			top;
	color:					#000;
	text-align:				center;
}
#wp-calendar tbody td:hover {
    background-color:		#C8FFC4;
}
#wp-calendar tbody td#today {
    background-color:		#F6FFC4;
}
#wp-calendar tbody td#today:hover {
    background-color:		#ddd;
}

#wp-calendar tbody a {
    color:					#D06737;
	font-weight:			bold;
}
#wp-calendar tbody a:hover {
    color:					#000;
}
#wp-calendar tfoot td {
    text-align:				center;
}
#wp-calendar tfoot a {
    color:					#000;
	font-size:				18px;
	text-decoration:		none;
}
#wp-calendar tfoot a:hover {
    color:					#900;
}



/*----------------------------- misc ---------*/
.spacer {
    clear:					both;
}
.justify {
    text-align:				justify;
}
.navigation {
    text-align:				center;
}
abbr, acronym {
    border:					0;
}
.small {
    font-size:				87%;
}
.uppercase {
    text-transform:			uppercase;
}
.centered {
    text-align:				center;
	margin:					0 auto;
}
.align-left {
    margin:					0 0 0 10px;
	float:					left;
}
.align-right {
    margin:					0 10px 0 0;
	float:					right;
}
img {
    border:					0;
}
blockquote {
    background-color:		#f6ffc4;
	border-left:			2px solid #16A40C;
	margin:					5px 75px 5px 15px;
	padding:                2px 5px 5px 5px;
}

.clearfix:after {
    content: 				".";
    display: 				block;
    clear: 					both;
    visibility: 			hidden;
    line-height: 			0;
    height: 				0;
}

.clearfix {
    display: 				inline-block;
}

html[xmlns] .clearfix {
    display: 				block;
}

* html .clearfix {
    height: 				1%;
}

/*--------- wordpress css conformance --------*/
.aligncenter, div.aligncenter {
   display: 				block;
   margin-left: 			auto;
   margin-right: 			auto;
}

.alignleft {
   float: 					left;
}

.alignright {
   float: 					right;
}

.wp-caption {
   border: 					1px solid #ddd;
   text-align: 				center;
   background-color: 		#f3f3f3;
   padding-top: 			4px;
   margin: 					10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 		3px;
   -khtml-border-radius: 	3px;
   -webkit-border-radius: 	3px;
   border-radius: 			3px;
}

.wp-caption img {
   margin: 					0;
   padding:                 0;
   border: 					0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 				11px;
   line-height: 			17px;
   padding:                 0 4px 5px;
   margin: 					0;
}


