/*

Theme Name: Best Behaviour
Theme URI: http://themes.creamy.co.uk
Description: Developed and Designed for Best Behaviour
Version: 1.4
Author: Creamy
Author URI: http://www.Creamy.co.uk
Tags: light,two-columns,three-columns,right-sidebar,fixed-width,threaded-comments

// Using the Carrington Wordpress Framework
// http://carringtontheme.com
//
// Copyright (c) 2009 Creamy Publishing.
//
// Released under the GPL license
// http://www.opensource.org/licenses/gpl-license.php
//
// **********************************************************************
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
// **********************************************************************

*/
.alignleft {
float:left;
margin-right:1em;
margin-bottom:1em;
}

.alignright {
float:right;
margin-left:1em;
margin-bottom:1em;
}

.aligncenter {
display:block;
margin-left:auto;
margin-right:auto;
}

.wp-caption {
border:1px solid #999;
text-align:center;
background:#fff;
padding-top:4px;
margin:10px;
}

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

.wp-caption p.wp-caption-text {
font-size:11px;
line-height:17px;
margin:0;
padding:0 4px 5px;
color:#999;
}
html, body, #container {height: 100%;}
html {
background:url(images/page.jpg) 50% 0 repeat-y #ecf0f8;
}

body {
font-family:Arial, Helvetica, sans-serif; 
font-size: 12px; 
color: #333;
margin:0;
padding:0;
}
body > #container {height: auto; min-height: 100%;}

#container{
background:url(images/bg.jpg) 50% 0 no-repeat;
height:auto;
}
a,a:link,a:active,a:visited {
color:#333;
}
#page img{
border:1px solid #c2cedc;
}
ul {
list-style-type:none;
margin:0;
padding:0;
}
ul li {
margin:3px 0;
padding:0;
}
ul li ul li{
margin:20px 0;
padding:0;
}
#page ul li{
text-indent:50px;
padding:5px 0;
margin:0;
background:url(images/bullet-hover.png) no-repeat 30px 50%;
}
	
#wrapper {
width:915px;
margin-left:auto;
margin-right:auto;
padding:0 20px 171px;
}
#content{
	background:#fff;
}
#main {padding-bottom: 150px;}
#sidebar {
float:right;
width:237px;
position:relative;
text-indent:30px;
font-family:Georgia, "Times New Roman", Times, serif;
font-style:italic;
}
#sidebar h4{
	background:url(images/sep.png) no-repeat 0 100%;
}
#sidebar ul{
padding:0 0 0 0;
margin:0 0 20px 0;
}
#sidebar ul li ul{
padding:0;
margin:0;
}
#sidebar ul li ul li{
background:none;
text-indent:50px;
padding:0;
margin:0;
background:url(images/bullet.png) no-repeat 30px 10px;
}
#sidebar ul li{
padding:0;
margin:0;
background:url(images/bullet.png) no-repeat 10px 10px;
}
#sidebar ul li ul li:hover {
	background:url(images/bullet-hover.png) no-repeat 30px 10px;
}
#sidebar ul li:hover{
	background:url(images/bullet-hover.png) no-repeat 10px 10px;
}
	
#sidebar li a {
color:#333;
text-decoration:none;
line-height:normal;
background:url(images/sep.png) no-repeat 0 100%;
width:237px;
display:block;
padding:10px 0;

}
#page a:hover,#sidebar li a:hover, #footer a {
color:#636363;
text-decoration:none;
}
#primary-sidebar{
float:right;
width:150px;
padding:0 10px 0 0;
}
#secondary-sidebar{
width:150px;
}

blockquote {
background:url(images/comment-bg.png);
margin:35px;
padding:35px;
}
/* CLEAR FIX*/
.clearfix:after {content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
#page {
height:inherit;
width:640px;
float:left;
display:inline;
margin:0;
padding:0 20px 30px 10px;
}
#page p a, a {
color:#0af;
text-decoration:none;
}

#footer {
height:171px;
background:url(images/footer.jpg) repeat-x 50% 0;
font-size:11px;
overflow:hidden;
margin:0 auto 0 auto;
padding:0;
color:#666;
position: relative;
margin-top: -171px; /* negative value of footer height */
clear:both;
}
#inner-footer{
width:955px;
height:171px;
margin:auto;
padding:50px 30px 0 30px;
}
#inner-footer p{
	padding:0 20px;
}
#footer a{
color:#999;
}
#wrapper #page #item h2 a {
color:#333;
}
p.description {
font-size:12px;
font-family:Georgia, "Times New Roman", Times, serif;
font-style:italic;
color:#333;
position:absolute;
top:113px;
margin:0;
padding:0;
}
.rss {
background:url(images/rss.png) no-repeat 100% 50%;
color:#333;
position:absolute;
top:113px;
left:50%;
margin:0 0 0 440px;
padding:5px 35px 0 0;
font-size:18px;
}

#header {
height:170px;
padding: 10px 0;
margin:0;
position:relative;
}
#bar {
position:absolute;
top:153px;
height:100px;
width:960px;
}

.next {
margin:0 0 0 5px;
}

.previous {
margin:0 5px 0 0;
}
a img {
border:none;
}
#nav {
font-size:12px;
font-weight:bold;
font-style:italic;
position:absolute;
font-family:Georgia, "Times New Roman", Times, serif;
font-style:italic;
top:145px;
left:-10px;
padding:20px 0 0 0;
margin:0;
display:block;
text-shadow:none;
width:600px;
white-space:nowrap;
height:27px;
}
#nav a {
padding:15px 30px 15px 0;
color:#e2eefc;
position:relative;
}
#nav li.current_page_item a {
padding:15px 30px 15px 0;
color:#333;
text-shadow: #e2eefc 0 1px 0;
background:url(images/tab-right.png) no-repeat 100% 0;
}
#nav a:hover{
color:#666;
}

ul#nav li {
list-style:none;
display:inline;
margin:0 -4px 0 0;
padding:15px 0 15px 30px;
}
ul#nav li.current_page_item {
background:url(images/tab-left.png) no-repeat 0 0;
list-style:none;
display:inline;
margin:0 -5px 0 0;
padding:15px 0 15px 30px;
}
#tweetie {
width:145px;
height:126px;
background:url(images/tweetie.png) no-repeat;
}

#category p {
width:280px;
float:right;
padding:40px;
}

.date {
float:left;
width:74px;
height:80px;
background:url(images/date.png) no-repeat 50% 50%;
text-align:center;
font-size:28px;
color:#333;
font-weight:bold;
margin:38px 0 0 0;
padding:0;
}
.day{
position:relative;
top:22px;
}

.date small {
position:relative;
top:36px;
margin:0;
padding:0;
font-size:10px;
text-transform:uppercase;
color:#444;
text-shadow:#333 0 1px 1px;
}

.details {

font-size:11px;
margin-top:5px;
text-decoration:none;
min-height:130px;
padding:0 0 0 80px;
border-bottom:1px dashed #ccc;
}

.details span {
margin-right:10px;
}

.cat-link {
background:url(images/categories.png) no-repeat 0 50%;
padding-left:15px;
}

.comment-link a {
background:url(images/comments.png) no-repeat 0 50%;
padding-left:15px;
}

.author-link {
background:url(images/author.png) no-repeat 0 50%;
padding-left:15px;
}

.calendar {
background:url(images/calendar.png) no-repeat 0 50%;
padding-left:20px;
font-size:11px;
color:#333;
}

.time {
font-size:11px;
color:#333;
}

.comment {
background:url(images/line.png) repeat-x 0 100%;
padding:15px;
}
blockquote{
background:url(images/blockquotes.png) 10px 10px no-repeat;
padding:15px 5px 5px 5px;
margin:0 0 5px 0;
border:1px dashed #555;
color:#666;
}
.next a, .previous a, .edit-link {
font-size:11px;
background:url(images/comment-bg.png);
padding:5px;
border:1px solid #222;
}

.avatar {
float:left;
background:url(images/avatar-bg.png) no-repeat;
border:none;
margin:0;
padding:8px 20px 10px 8px;
}

#comment-box {
background:url(images/comment-bg.png);
overflow:hidden;
padding:5px 10px;
}

#search-form {
clear:both;
margin:17px 0 30px 22px;
width:212px;
height:30px;
padding:0;
font-size:12px;
}
#s {
width:172px;
height:30px;
background:url(images/searchbox.png) no-repeat;
color:#999;
border:none;
margin:0;
padding:0 0 0 10px;
position:relative;
top:0;
left:0;
float:left;
line-height:30px;
}
.searchbtn {
background:url(images/search.png) no-repeat;
width:29px;
height:30px;
border:none;
color:#888;
font-family:Georgia, "Times New Roman", Times, serif;
font-style:italic;
font-size:18px;
position:absolute;
right:2px;
text-indent:-9999px;
padding:0;
margin:0;
display:inline;
}
.btn:hover{
color:#666;
}
input:focus {
border:none;
}

img {
border:1px solid #666;
margin:5px;
padding:5px;
}

#top-bar {
height:35px;
}

#top {
position:absolute;
top:-15px;
left:50%;
height:40px;
width:209px;
margin-left:270px;
text-align:center;
padding-top:18px;
font-size:10px;
}

.creamy {
float:right;
margin:0;
padding:0;
}

#creamy {
clear:both;
overflow:auto;
}

.creamy a {
font-family:Georgia, "Times New Roman", Times, serif;
color:#ccc;
background:transparent url(images/seo.png) no-repeat 100%;
display:block;
padding-right:67px;
height:27px;
font-size:10px;
line-height:29px;
text-decoration:none;
}
#creamy p,.text-right {
text-align:right;
}

ul#follow{
margin:0 0 -25px 0;
padding:0;
background:none;
list-style:none;
}
ul#follow li, ul#follow a{
margin:0;
padding:0;
background:none;
display:inline;
border:none;
}
.cats{
color:#00aaff;
}

h1,h2,h3,h4,h5,h6{
color:#4c4c4c;
font-weight:normal;
font-style:italic;
font-family:Georgia, "Times New Roman", Times, serif;
margin:0;
}

h4 { 
font-size:20px;
padding-bottom:15px;
text-shadow:#fff 0 1px 0;
}
h1{
margin:0;
padding:25px 0 13px 0;
font-size:28px;
font-weight:normal;
color:#333;
letter-spacing:-1px;
max-width:660px;
border-bottom:1px solid #edf5fe;
text-shadow: #fff 0 1px 0;
}

h2{
font-size:28px;
}
h3{
font-size:26px;
}	

h5{
font-size:18px;
}
h6{
font-size:16px;
}
#blog-title {
margin:0;
padding:0;
position:relative;
top:30px;
left:-25px;
}
legend{
color:#333;
padding:0 5px;
}
.attachment-full{
max-width:550px;
max-height:550px;
width:auto;
height:auto;
border:1px dashed #333;
background:url(images/comment-bg.png);
}
.attachment-thumbnail{
border:1px dashed #333;
}
.pagination {
padding:20px 0;
}
code {
border:1px dashed #555;
padding:5px 0;
}
#wp-calendar{
margin-top:20px;
}
#slider{
	height:200px;
	background:#f1efe9;
}
#slider p{
	text-transform:uppercase;
	font-size:14px;
}
#slider h2{
		font-style:italic;
}
#pictures{
width:373px;
height:373px;

background:url(images/polaroids.png) no-repeat;
}
.gallery-strap{
background:url(images/diag-strap.png) no-repeat;
width:199px;
height:199px;
position:absolute;
top:-3px;
right:0;
}
#gallery-photo{
position:relative;
top:40px;
left:40px;
background:url(images/photo.jpg) no-repeat;
width:293px;
height:293px;
}
.tel{
	position:absolute;
	left:846px;
	top:40px;
	border:none;
}
