/*
Theme Name: Hendall
Description: Hendall 2011 Theme.
Author: Jupiter Colour
Version: 1.0
*/

/* Hendall */

/* CONSTANTS */

/* COLOURS 

	Off Grey = #849087
	Grey = #333333
	
*/
#page-slider { overflow:hidden; position:relative; height:550px; width:960px; }
html {background:#F4F4F4; height:100%;}
html body {font-family:Georgia, "Times New Roman", Times, serif; font-size:13px; color:#333; line-height:1.5; height:inherit; }

h1,h2,h3 {color:#849087;}
h4,h5,h6 {color:#333;}
h1,h2,h3,h4,h5,h6,p {margin-bottom:10px;}

h1 {font-size:20px;}
h2 {font-size:18px;}
h3 {font-size:16px;}
h4 {font-size:15px;}
h5 {font-size:12px;}
h6 {font-size:10px;}

a:link, a:visited, a:active {color:#849087;}
a:hover {color:#333;}

/* LAYOUT */

#shadow-wrapper {background:url(shadow-bg.jpg) no-repeat center top; width:980px; height:inherit; margin:auto; position:relative; z-index:0;}
#wrapper {width:960px; margin:auto; background:url(bg.jpg) bottom repeat-x #FFF; position:relative; padding-bottom:10px;}

/* HEADER */

#header-wrapper {position:absolute; top:55px; z-index:10; width: 100%;}
#header {background: none repeat scroll 0 0 #FFFFFF; display: inline-block; opacity:0.8; filter:alpha(opacity=80); width: 100%;}

#logo {display: block; height: 88px; margin: 10px auto; width: 73px;}

#phone-number {color: #333333; font-size: 18px; position: absolute; right: 20px; top: 40%;}
#phone-number span {color:#849087;}

/* NAVIGATION */
#navigation {background: none repeat scroll 0 0 #849087; display: block; float: left; font-size: 15px; width: 920px; padding:0 20px; opacity:1; filter:alpha(opacity=100);}
#navigation ul li {display:block; float:left; margin-right:20px; text-transform:capitalize;  position:relative;}
#navigation ul li a {color:#FFF; padding:5px; display:block;}
#navigation ul li a:hover {color:#333;}
#navigation ul li ul {display:none;}
#navigation ul li:hover ul {display:block; position:absolute; top:33px; left:0; background:#e3e5e3; opacity:1; filter:alpha(opacity=100); width:200px; font-size:14px; border:1px solid #ccc;}
#navigation ul li ul li {display:list-item; width:100%;}
#navigation ul li ul li a {color:#333;}
#navigation ul li ul li a:hover {color:#fff; background:#849087;}

/* BANNER */

#banner {top:0; z-index:1; height:378px; overflow:hidden;}
#banner.home {height:550px; overflow:hidden;}

/* SIDEBAR */

#sidebar {
	display: block;
	float: left;
	width: 160px;
	padding-top: 60px;
	padding-right: 30px;
	padding-bottom: 20px;
	padding-left: 30px;
}

#sidebar ul li.current_page_item a {color:#ccc;}
#sidebar ul li a:hover {color:#CCC;}

/* CONTENT*/

#content {margin-top:10px; padding:10px 30px; width:660px; min-height:200px;}
#content-home {
	margin-top:10px; 
	padding:10px 30px; 
	width:100%; 
	min-height:200px;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	-o-box-sizing:border-box;
	box-sizing:border-box;
}

#contentInternal {margin-top:43px; padding:10px 30px; width:900px; min-height:200px;}

#content.home {width:560px;}
.content-left { float:left; display:inline;}
.content-home { float:left; display:inline; width:100%;}

#testimonial-wrapper {    
	/*background: url("./images/testimonial-bg.jpg") no-repeat scroll 0 0 transparent;*/
    color: #849087;
    float: right;
    font-size: 18px;
    height: 160px;
    line-height: 1.2;
    margin: 60px 0 0;
    padding: 0;
    width: 300px;
}
	
#testimonial-wrapper .tesimonial {}
#testimonial-wrapper  .testimonial-author {font-size:12px;}

#footer-top {margin:10px 20px 0 20px; border-top:4px #849087 solid; color:#666; padding:10px; text-transform:uppercase; text-align:center;}
#footer-top  span {margin-right:20px;}
#footer-top a {text-transform:lowercase;}

#footer-bottom {margin:0 20px; border-top:1px #849087 dotted; font-size:11px; padding:10px 0;}

span.copyright {float:left; display:inline;}
span.credit {float:right; display:inline;}

.alignleft {
	float:left;
	display:inline;
	padding: 2px;
	margin-top: 0px;
	margin-right: 9px;
	margin-bottom: 9px;
	margin-left: 0px;
	border: 1px solid #849087;
}

.alignright{
	float:right;
	display:inline;
	padding: 2px;
	margin-top: 0px;
	margin-right: 0x;
	margin-bottom: 20px;
	margin-left: 20px;
	border: 1px solid #849087;
}

.PostHolder{
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 20px;
    padding-bottom: 20px;
    width: 620px;
}

.ContRead{
    width: 620px;
	margin-bottom:10px;
}

/*Change Left to 375 when adding twitter*/

#social_area {
	width:300px;
	position:relative;
	left:375px;
	top:-15px;
}

#sussexaward {
	padding-bottom:30px;
	margin-left:-7px;	
}

#sussexaward2 {
	position:relative;
	top:60px;	
	left:40px;
	padding-bottom:20px;
}

.twitter_stack {
	font-size:16px;
	position:relative;
	top:-5px;
	left:-7px;	
}

.twitter_stack .icon-twitter {
   color:#fff;
}

.twitter_stack .icon-sign-blank {
   color:#06aaea;
   font-size:150%;
}

.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%;
}

.home_panel_container {
	width:926px;
	margin-left:15px;
	overflow:visible;
}

.home_panel_container .clearfix {
	margin-bottom:30px;	
}

.home_panel {
	width:292px;
	float:left;
	margin-left:22px;	
}

.home_panel:first-child {
	margin-left:0px;	
}

.panel_title {
	background-color:#849087;
	color:#fff;
	height:55px;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	-o-box-sizing:border-box;
	box-sizing:border-box;
	padding-left:11px;
	padding-right:11px;
	text-align:center;
	font-size:15px;
}

.panel_title_container {
	display: inline-block;
	text-align:center;
	height:55px;
}

.panel_title span {
	height: 55px;
    display: table-cell;
    vertical-align: middle;	
}

.panel_title a {
	color:#fff;
}

.panel_content {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-ms-box-sizing:border-box;
	-o-box-sizing:border-box;
	box-sizing:border-box;
	padding-left:11px;
	padding-right:11px;
	padding-top:14px;
	padding-bottom:14px;
	position:relative;
	top:-5px;
	-webkit-box-shadow: 0px 1px 4px rgba(204, 204, 204, 0.65);
	-moz-box-shadow:    0px 1px 4px rgba(204, 204, 204, 0.65);
	box-shadow:         0px 1px 4px rgba(204, 204, 204, 0.65);
}

.home_panel img {
	z-index:3;
}

.sussex_award {
	margin-left:325px;
	margin-bottom:10px;
	width:235px;	
}

.PostHolder .type-post .attachment-thumbnail {
	float:left;
	margin-right:15px;
	margin-bottom:20px;
	margin-top:8px;
	border: 1px solid #849087;
	padding:2px;
}

.testimonial {
	margin-top:20px;
}

.testimonial_content {
	margin-bottom:10px;
	font-size:13px;
	font-style:italic;
	color:#666;	
}

.testimonial_author {
	font-size:12px;
	font-weight:bold;
	color:#999;	
}

/* Flex Slider*/

.flex-container a:active,.flexslider a:active,.flex-container a:focus,.flexslider a:focus{outline: none;}
.slides,.flex-control-nav,.flex-direction-nav {margin: 0; padding: 0; list-style: none;}
@font-face {font-family: 'flexslider-icon';src:url('font/flexslider-icon.eot');src:url('font/flexslider-icon.eot?#iefix') format('embedded-opentype'),url('font/flexslider-icon.woff') format('woff'),url('font/flexslider-icon.ttf') format('truetype'),url('font/flexslider-icon.svg#flexslider-icon') format('svg');font-weight: normal;font-style: normal;}
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility:visible;}
.flexslider .slides img {width: 100%; display: block;}
.top_slider .flexslider .slides img {width: auto; display: block;}
.flex-pauseplay span {text-transform: capitalize;}
.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}
.no-js .slides > li:first-child {display: block;}
.flexslider { margin: 0px; background: #fff; position: relative;}
.flex-viewport { -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.flexslider .slides { zoom: 1; }
.carousel li { margin-right: 0px; }

.home_slider {
	width:960px;
	height:550px;	
}

.home_slider ul {
	width:960px;
	height:550px;	
}

.home_slider li {
	width:960px;
	height:550px;
	position:relative;
}

.page_slider {
	width:960px;
	height:380px;	
}

.page_slider ul {
	width:960px;
	height:380px;	
}

.page_slider li {
	width:960px;
	height:380px;
	position:relative;
}

.home_slider li .slider_caption {
	position:absolute;
	bottom:50px;
	left:0px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	padding:20px;
	color:#333;
	font-size:18px;
	background:#fff;
	opacity:0.8;
}

.gallery li {
	width:215px;
	height:143px;
	float:left;
	border:1px solid #888;
	padding:2px;
	margin:5px;
	box-sizing:border-box;
	transition:0.5s;
}

.gallery li:hover {
	border:1px solid #ccc;
}

.gallery li a {
	display:block;
	width:100%;
	height:100%;
	overflow:hidden;
}

.gallery li img {
	max-width:100%;
	min-height:150px;
}