/*
Theme Name: Turner and Pennell
Author: I Do, I Do
Author URI: http://www.idoido.co.uk
*/

/* =Structure
-------------------------------------------------------------- */
html {
	background: url(images/background.jpg) repeat;
}

body {
	background-image: url(images/flowers.jpg), url(images/flowersbottom.jpg);
	background-position: top left, bottom left;
	background-repeat: repeat-x;
	font-family: 'Lato', serif;
	font-size: 13px;
	line-height: 1.6em;
	margin: 0;
}

#page {
	width: 940px;
	margin: 0 auto;
	display: block;
	position: relative;
}
#primary {
	float: left;
	margin: 20px -350px 0 0;
	width: 100%;
}
#content {
	margin: 0 350px 0 0;
	border-top: 1px solid #dddddd;
	padding: 20px 0 20px 160px;
}

#main {
	clear: both;
}

#main .widget-area {
	float: right;
	overflow: hidden;
	width: 220px;
}
#colophon {
	clear: both;
	display: block;
	width: 100%;
}

a:link, a:visited {
	color: #67787d;
}

a:hover {
	color: #000;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
	text-transform: uppercase;
	color: #9FB7BD;
}

h1 {
	font-size: 2.0em;
	line-height: 1.2em;
	margin-top: 10px;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* =Header
-------------------------------------------------------------- */

#site-title {
	font-size: 2em;
	padding: 2em 0;
	margin: 0 auto;
	width: 381px;
}
#site-description {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
}

.email {
	position: absolute;
	left: 0;
	top: 70px;
	width: 250px;
}

.email a {
	color: #000;
	text-decoration: none;
}

.email a:hover {
	color: #6E7E82;
}

.socialmedia {
	position: absolute;
	right: 0;
	top: 70px;
	width: 250px;
	text-align: right;
}

.socialmedia span {
	float: right;
	margin-left: 20px;
	text-indent: -9999px;
	width: 60px;
}

.socialmedia span a {
	color: #F9F9F9;
}

.socialmedia span a:hover {
	opacity: 0.6;
}


/* =Menu
-------------------------------------------------------------- */

#access {
	display: block;
	float: left;
	margin: 0 auto 1em;
	width: 100%;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
	margin: 0 1px;
}

#access li.current_page_item, #access li:hover {
	background: url(images/menuback.gif) repeat-x;
}

#access ul ul li:hover, #access ul ul li.current_page_item {
	background: none;
}

#access ul li:first-child {
	margin-left: 0;
}

#access ul li:last-child {
	margin-right: 0;
}

#access a {
	display: block;
	line-height: 2em;
	padding: 0.6em 1.1em;
	text-decoration: none;
	color: #000;
	text-transform: uppercase;
}

#access .current_page_item a, #access li a:hover {
	background-image: url(images/menuleft.gif), url(images/menuright.gif);
	background-position: top left, top right;
	background-repeat: no-repeat;
}

#access ul ul .current_page_item a, #access ul ul li a:hover {
	background: none;
}

#access ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}

#access ul ul li {
	margin-left: 0;
}

#access ul ul a {
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 15em;
	height: auto;
	text-transform: capitalize;
}
#access li:hover > a,
#access ul ul :hover > a {
}
#access ul ul a:hover {
	color: #6E7E82;
}
#access ul li:hover > ul {
	display: block;
	background: none repeat scroll 0 0 #FFFFFF;
    display: block;
    padding: 15px 0;
}


/* =Content
-------------------------------------------------------------- */

.sticky {
}
.entry-meta {
	clear: both;
	display: block;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	font-size: 0.85em;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}


/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}


/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}

#main #secondary {
	width: 300px;
	border-top: 1px solid #dddddd;
	padding: 20px 0;
	float: right;
	margin-top: 20px;
}

.home #secondary .widget-title {
	background: url(images/ourdesigners.gif) top left no-repeat;
	text-indent: -9999px;
	width: 182px;
	height: 43px;
	margin: 0 auto;
}

#secondary .widget-title {
	font-size: 1.3em;
	margin-top: 20px;
}


/* =Footer
-------------------------------------------------------------- */

#main #secondarybottom {
	width: 940px;
	clear: both;
	margin-top: 50px;
}

#recent-posts-plus-2 {
	float: left;
	width: 300px;
	margin-left: 160px;
	border-top: 1px solid #dddddd;
	padding: 20px 0;
}

#recent-posts-plus-2 ul {
	padding-left: 0;
	margin-top: 28px;
}

#recent-posts-plus-2 li {
	list-style: none;
}

#recent-posts-plus-2 .widget-title {
	background: url(images/latestnews.gif) top left no-repeat;
	text-indent: -9999px;
	width: 146px;
	height: 38px;
}

#text-2 {
	width: 380px;
	float: left;
	margin-left: 100px;
	border-top: 1px solid #dddddd;
	padding: 20px 0;
}

#text-2 .widget-title {
	background: url(images/getintouch.gif) top left no-repeat;
	text-indent: -9999px;
	width: 164px;
	height: 45px;
}


#colophon {
	padding: 1em 0;
	font-size: 0.9em;
}

#colophon a {
	text-decoration: none;
}

#colophon a:hover {
	color: #6E7E82;
}

/*________________________________________HOME__________________________________________________*/


.home #content {
	background: url(images/welcome.gif) left 40px no-repeat;
}

.home #homepageslider {
	width: 924px;
	height: 460px;
	padding: 8px;
	background-color: #FFF;
	box-shadow: 0 0 3px 3px #CCCCCC;
	margin: 0 auto 50px auto;
}

.home .entry-title {
	display: none;
}

#homepageslider .portfolio-slideshow {
	margin: 0 !important;
}

.home .slideshow-content {
	text-align: center;
}



.leftcol {
	float: left;
	width: 220px;
}

.rightcol {
	float: right;
	width: 140px;
	margin-bottom: 20px;
}

#secondarybottom #text-2 p {
	clear: both;
}

.home .slideshow-wrapper {
	position: relative;
}

.home .slideshow-nav {
	position: absolute;
	top: 95px;
	z-index: 5;
	width: 100%;
	height: 39px;
}

.home .slideshow-nav .play, .home .slideshow-nav .sep, .home .slideshow-info {
	display: none;
}

.home .slideshow-nav .slideshow-prev, .home .slideshow-nav .slideshow-next {
	float: left;
	background: url(images/left.gif) top left no-repeat;
	width: 39px;
	height: 39px;
	text-indent: -9999px;
	margin: 0;
	outline: none;
}
.home .slideshow-nav .slideshow-next { 
	float: right;
	background: url(images/right.gif) top left no-repeat;
}

.home .slideshow-meta {
	position: absolute;
	width: 180px;
	background: #000;
	color: #FFF;
	top: 210px;
	left: 60px;
}

.home .slideshow-meta p {
	margin: 5px 0 !important;
}
.home .portfolio-slideshow {
	margin-top: 20px;
}

/*_______________________________DESIGNERS_______________________________________________*/

.designers #content {
	padding-left: 0;
	margin-right: 500px;
}

#main #secondary_designer {
    border-top: 1px solid #DDDDDD;
    float: right;
    margin-top: 20px;
    padding: 20px 0;
    width: 420px;
}

.page-template-page-designers-php #primary {
	margin-right: -420px;
}

#secondary_designer .gallery .gllr_image_block {
	margin: 0 5px;
}

/*_______________________________________BLOG______________________________________*/

.blog #content, .single #content, .archive #content {
	padding-left: 0;
}

.blog h1.entry-title, .single h1.entry-title, .archive h1.entry-title {
	font-size: 1.7em;
}

.blog .hentry {
	border-bottom: 1px solid #DDDDDD;
	padding-bottom: 40px;
	margin-bottom: 40px;
}

.linktitle {
	text-transform: uppercase;
	font-size: 0.9em;
	letter-spacing: 1px;
	margin-top: 15px;
}

/*_____________________________________FULL WIDTH_____________________________*/

.page-template-full-width-page-php #content{
	padding-left: 0;
}

/*________________________TESTIMONIALS______________________________*/

.page-id-14 .hms-testimonial-container img{
	float: left;
	margin: 0 20px 20px 0;
}

.hms-testimonial-container {
	overflow: auto;
}

.hms-testimonial-container .author {
	margin-left: 40px;
	font-style: italic;
}