/* 
Theme Name: Tony Entwistle Responsive
Description: Tony Entwistle Responsive theme
Version: 1.0
Author: Andy
*/

/* General styles                                   */
/* ------------------------------------------------ */
body {
	margin: 0;
	background: #d8d8a9;
	min-width: 300px;
	border-top: 12px solid #44432e;
}

html, body, p, li, dd, td {
	color: #44432e;
	line-height: 150%;
	font-size: 1.0em;
	font-family:  georgia, times, "times new roman", serif;
}

#preloader {
	display: none;
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(images/preloader3.gif) center no-repeat #fff;
}

img a, a img {
	border: 0;
}

img {
	max-width: 100%;
	height: auto;
}

td {
	vertical-align: top;
}

a {
	color: #1a6eb7;
	text-decoration: underline;
	outline: none;
}
  
a:hover {
	color: #903218; 
}

ul { 
	margin: 8px 0 18px 18px;
	padding: 0;
}

li {
	padding-left: 4px;
	line-height: 180%;
}

h1, h1 a, h2, h2 a, h3, h3 a {
	line-height: 120%;
	color: #903218;
	font-weight: normal;
}

h1 {
	font-size: 1.6em;
	margin-top: 0;
}

h2 {
	font-size: 1.4em;
}

h3 {
	font-size: 1.2em;
}

hr {
	height: 1px;
	border: 0;
	width: 100%;
	background: #c3c390;
	color: #c3c398;
	margin: 30px 0; 
}
  
.wrapper {
	width: 950px;
	padding: 0 25px;
	margin: 0 auto;
}

img#logosmall {
	display: none;
}

/* Header                                           */
/* ------------------------------------------------ */
#header {
	max-height: 160px;
	background: #a5a543 url(images/header-bg-subpages.jpg) bottom left no-repeat;
	border-bottom: 2px solid #44432e;
}


#slideshow-wrapper {
	background: #a5a543 url(images/header-bg.jpg) top left no-repeat;
	text-align: center;
	padding-top: 35px;
	max-height: 565px;
}

#slideshow-wrapper p {
	color: #903218;
	font-size: 30px;
	margin: 0;
	padding: 10px 0;
}

#slideshow {
	height: 372px;
	overflow: hidden;
	border: 8px solid #fff;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

/* Content                                          */
/* ------------------------------------------------ */
.content {
	padding: 50px 0;
	overflow: hidden;
	font-size: 1.1em;
	min-height: 200px;
}

.content, .content p, .content li {
	line-height: 160%;
}

.content img {
	max-width: 100%;
	height: auto;
}

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

.homepage-panel a {
	float: left;
	width: 32%;
	border: 8px solid #fff;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	color: #903218;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
	text-align: center;
	-moz-box-shadow: 0 0 6px #777;
	-webkit-box-shadow: 0 0 6px #777;
	box-shadow: 0 0 6px #777;
	position: relative;
}

.homepage-panel img {
	width: 100%;
	height: auto;
	display: block;
}

#homepage-panels {
	padding: 40px 0;
	overflow: hidden;
}

.homepage-panel a:hover {
	color: #d8d8a9;
}

.videos a {
	margin: 0 2%;
}

.homepage-panel span {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 20px;
	height: 30px;
	line-height: 30px;
	background: #fff;
}

#blogposts {
	text-align: left;
	margin-top: 50px;
	padding-top: 30px;
	border-top: 2px solid #903218;
}

#blogposts h2 {
	margin: 0 0 2px 0;
}

#blogposts h2 a {
	text-decoration: none;
}


span.date {
	display: block;
	font-style: italic;
	color: #666;
	font-size: 0.9em;
}

a.readmore, input[type="submit"] {
	background: #903218;
	color: #fff !important;
	padding: 10px 16px;
	text-decoration: none;
	display: inline-block;
	margin: 15px 0;
	line-height: 100%;
	cursor: pointer;
}

a.readmore:hover, input[type="submit"]:hover {
	background: #44432e;
	color: #fff !important;
}

a.readmore, input[type="submit"] {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

input, select, textarea {
	background-color: #fff;
	color: #000;
	padding: 6px;
	border: 0;
	font-size: 18px;
	color: #5e5d5d;
}


/* Footer                                           */
/* ------------------------------------------------ */
#footer {
	font-size: 0.9em;
	padding: 60px 0;
	text-align: center;
	background: #fff;
}
 
#footer a, #footer, #footer p {
	color: #9d9d28;
}

a.scrollup {
	width: 53px;
	height: 53px;
	position: fixed;
	bottom: 50px;
	right: 20px;
	display: none;
	text-indent: -9999px;
	background: url('images/top.png') no-repeat;
	opacity: 0.7;
}

/* Responsive elements                              */
/* ------------------------------------------------ */
@media screen and (min-width: 1280px) {
	.wrapper {
		width: 1200px;
	}
	
	#slideshow {
		height: 500px;
	}
}


@media screen and (max-width: 1024px) {
	.wrapper {
		width: auto;
	}
}

@media screen and (max-width: 980px) {
	#slideshow {
		height: auto;
	}
}

@media screen and (max-width: 680px) {
	.homepage-panel a {
		width: 100%;
		float: none;
		display: block;
		margin-bottom: 30px;
	}
	
	.videos a {
		margin-left: 0;
		margin-right: 0
	}
}

@media screen and (max-width: 500px) {
	img#logobig {
		display: none;
	}

	img#logosmall {
		display: block;
	}
}


/* WP Common Styles */

ol.commentlist {
	margin:0;
	padding:0;
	}

.commentlist li {
	list-style:none;
	margin-bottom:14px;
	}

.commentlist cite {
	padding: 7px;
	display:block;
	font-style:normal;
	background:url(http://www.yoursite.com/images/bg_comments2_cite.gif);
	border-top:1px solid #d6e4c1;
	border-bottom:1px solid #779d42;
	color:#596e3b;
	}	

.commentlist a:link, .commentlist a:visited {
	color:#596e3b;
	}

.commentlist a:hover, .commentlist a:active {
	color:#8ec343;
	}

.commentlist cite img {
	padding:1px;
	border:1px solid #aab59a;
	float:left;
	margin-right:9px;
	}

.commentlist .author {
	font: small-caps bold 1.2em Georgia, "Times New Roman", Times, serif;
	text-decoration:underline;
	}

.commentlist .time {
	background: url(http://www.yoursite.com/images/bg_clock.gif) no-repeat 1px;
	padding-left:13px;
	}

.commenttext {
	background: #9bc561 url(http://www.yoursite.com/images/bg_comments2_text.jpg) repeat-x bottom;
	border-top:1px solid #c5f386;
	padding: 0 20px 10px 20px;
	color:#fafcf6;
	}

.editLink {
   margin-top: 30px;
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #777;
   color: #fff;
   font-size: 18px;
   text-decoration: none;
   padding: 8px 15px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #444;
   text-decoration: none !important;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}

img.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
}
img.alignright {
   text-align: right;
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}
img.alignleft {
   text-align: left;
   display: block;
   float: left;
   margin: 10px 20px 5px 0px;
}
.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}
.wp-caption {
   margin-right: 5px;
}
.more-link {
   display:block;
}
.linklove {
   display:none;
}
.aligncenter,
dl.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}