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

body,div,ul,ol,li,h1,h2,h3,h4,h5,h6,form,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
cite,em,strong,th{font-style:normal;font-weight:normal;}
li{list-style:none;}
th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
abbr{border:0;font-variant:normal;}
sup{vertical-align:text-top;}
sub{vertical-align:text-bottom;}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}
select,input,button,textarea{font:99% arial,helvetica,sans-serif;}
table{font-size:inherit;font:100% arial,helvetica,sans-serif;}

*,
*:before,
*:after {
	box-sizing: border-box;
}

html {background:#F4F4F4; height:100%;}
body {font-family:Georgia, "Times New Roman", Times, serif; font-size:13px; color:#333; line-height:1.5; }

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; text-decoration: none;}
a:hover {color:#333;}

/* LAYOUT */

body {
	padding-bottom:10px;
	background: #FFF url(images/shadow-bg.jpg) no-repeat center top;
	max-width: 960px;
	margin: 0 auto;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;
}

body[style*="padding-top"] {
	padding-top: 0 !important;
}

#cookie-notice {
	background: #849087 !important;;
	position: static !important;
	color: #FFF !important;
	border-bottom-color: #748077 !important;
}

#wrapper {
	position: relative;
	-webkit-box-ordinal-group: 3;
	-webkit-order: 2;
	    -ms-flex-order: 2;
	        order: 2;
}

/* HEADER */

[role=banner] {
	background: hsla(0,100%,100%,.8);
	display: inline-block;
	padding: 15px;
	width: 100%;
	z-index:10;
}

.logo {
	display: block;
	height: auto;
	margin: 0 auto;
	width: 73px;
}

.phone-number {
	color: #333333;
	font-size: 18px;
	margin: 0 0 10px;
	position: absolute;
	left: 20px;
	top: 3.05rem;
}

.navicon {
	padding-left: 10px;
	font-size: 1.125em;
	position: absolute;
	right: 20px;
	top: 3.3rem;
}

.navicon:before,
.navicon:after {
	-webkit-transition: 300ms all;
	transition: 300ms all;
	content: '';
	border-top: 1px solid #849087;
	position: absolute;
	left: -1rem;
	width: 1rem;
}

.navicon:before {
	height: 0.8rem;
	top: 4px;
	border-bottom: 1px solid #849087;
}

.navicon:after {
	height: 1px;
	top: 10px;
}

.nav--open .navicon:before {
	-webkit-transform: translateY( 5px ) rotate(135deg);
	transform: translateY( 5px ) rotate(135deg);
	border-left: 1px solid #849087;
	border-top: none;
	height: 0.8rem;
	width: 0.8rem;
}

.nav--open .navicon:after {
	transform: translateY(10px);
	opacity: 0;
}

.phone-number i {
	border: 1px solid rgba(132, 144, 135, 0.5);
	border-radius: 100%;
	width: 1.875em;
	height: 1.875em;
	display: inline-block;
	text-align: center;
	line-height: 2;
	font-size: 16px;
}

.phone-number span {
	display: none;
}

@media screen and ( max-width: 50em ) {

	.js .flex-wrapper {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}

	.js [role=banner] {
		-webkit-box-ordinal-group: -9;
		-webkit-order: -10;
		    -ms-flex-order: -10;
		        order: -10;
	}

	.js #navigation {
		-webkit-box-ordinal-group: -4;
		-webkit-order: -5;
		    -ms-flex-order: -5;
		        order: -5;
	}

	.js .menu-item-has-children > a:after {
		-webkit-transform: rotate( 45deg );
		transform: rotate( 45deg );
		content: '';
		width: 8px;
		height: 8px;
		border-bottom: 1px solid #E4F0E7;
		border-right: 1px solid #E4F0E7;
		position: absolute;
		margin: -6px 0 0 11px;
		top: 23px;
	}

	.js .menu-item-has-children > a:hover:after {
		border-color: #333;
	}

	.nav--open #navigation,
	#navigation:target {
		display: block;
	}

	.nav--open #navigation {
		margin-bottom: 1rem;
	}

}

/* NAVIGATION */
#navigation {
	text-transform:capitalize;
	background: #849087;
	font-size: 15px;
	display: none;
	position: relative;
}

.close-nav {
	position: absolute;
	height: 2.7rem;
	width: 2.5rem;
	right: 0;
	top: 0;
	z-index: 10;
	padding: 0.6rem 0.5rem;
}

.close-nav:before,
.close-nav:after {
	-webkit-transform: translate3d( -50%, -50%, 0 ) rotate( 45deg );
	    -ms-transform: translate3d( -50%, -50%, 0 ) rotate( 45deg );
	        transform: translate3d( -50%, -50%, 0 ) rotate( 45deg );
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	height: 1.25rem;
	width: 2px;
	background: #C5C5C5;
}

.close-nav:after {
	height: 2px;
	width: 1.25rem;
}

#navigation ul li {
	position:relative;
}

#navigation > ul > li + li {
	border-top: 1px solid #748077;
}

#navigation ul li a {
	color: #FFF;
	padding: 10px 20px;
	display: block;
}

#navigation ul li a:hover {
	color:#333;
}

#navigation ul li ul {
	display: none;
	background: #748077;
	opacity: 1;
	width: 100%;
	font-size: 14px;
	z-index: 10;
}

.no-js #navigation ul li ul {
	display: block;
}

#navigation ul li ul li {
	display:list-item;
	width:100%;
}

#navigation ul li ul li a {
	padding: 8px 20px 8px 35px;
}

#navigation ul li ul li a:hover {
	background:#849087;
}

@media screen and ( min-width: 35em ) {

	.phone-number i {
		display: none;
	}

	.phone-number span {
		display: inline;
	}

}

@media screen and ( min-width: 50em ) {

	[role=banner] {
		position: absolute;
		left: 0;
		top:55px;
	}

	.phone-number {
		right: 20px;
		left: auto;
		top: 40%;
	}

	.navicon {
		display: none;
	}

	#navigation {
		display: block;
		padding: 0 10px;
	}

	.close-nav {
		display: none;
	}

	#navigation ul li {
		margin-right: 10px;
		display:block;
		float:left;
	}

	#navigation ul li a {
		padding: 5px;
	}

	.no-js #navigation ul li ul,
	#navigation ul li ul {
		background: #e3e5e3;
		border: 1px solid #ccc;
		display: none;
		position: absolute;
		top: 100%;
		width: 200px;
	}

	#navigation ul li:hover ul {
		display: block;
	}


	#navigation ul li ul li a {
		padding: 5px;
		color: #333;
	}

	#navigation ul li ul li a:hover {
		color: #FFF;
	}

}

@media screen and ( min-width: 55em ) {

	#navigation {
		padding: 0 0 0 20px;
	}

	#navigation ul li {
		margin-right: 20px;
	}

}

/* BANNER */

#banner {
	padding-bottom: 39%;
	overflow:hidden;
	z-index:1;
	height: 0;
}

/* SIDEBAR */

#sidebar {
	display: block;
	width: 100%;
	padding: 0 20px 20px;
}

#sidebar img {
	max-width: 100%;
	margin: 0 auto;
	height: auto;
	display: block;
}

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

@media screen and ( max-width: 40em ) {

	#sidebar ul li {
		text-align: center;
		font-size: 1.125em;
		border-bottom: 1px solid #EDEDED;
		padding: 10px;
	}

}

/* CONTENT*/

#content {
	margin-top:10px;
	min-height:200px;
	padding: 20px;
}

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

@media screen and ( min-width: 40em ) {

	#sidebar {
		float: left;
		width: 25%;
		padding: 60px 30px 20px 30px;
	}

	#content {
		padding: 10px 30px;
		width:75%;
	}

	.content-left {
		float:right;
	}

}

#content-home {
	margin-top:10px;
	padding:10px 30px;
	width:100%;
	min-height:200px;
	font-size: 1.125em;
}

@media screen and ( min-width: 30em ) {

	#content-home {
		font-size: 1em;
	}

}

#contentInternal {
	padding:52px 30px 10px;
	min-height:200px;
}

/* FOOTER */

#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;
	display: block;
	text-align: center;
}

#footer-top a {
	text-transform:lowercase;
}

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

#footer-bottom > * {
	display: block;
	margin-bottom: 10px;
}

#social_area {
	text-align: center;
	margin-bottom: 0;
}

@media screen and ( min-width: 35em ) {

	#footer-top span {
		display: inline-block;
	}

	#footer-bottom {
		text-align: left;
	}

	#footer-bottom > * {
		width: 25%;
		float: left;
	}

	#social_area {
		width: 50%;
	}

	#footer-bottom > :last-child {
		text-align: right;
	}

}

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

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

#footer-bottom .icon-stack {
	font-size:16px;
	position:relative;
	top:-5px;
	left:-7px;
}

/* GALLERY */

#gallery li {
	margin-bottom: 4%;
	margin-left: 4%;
	width: 48%;
	float: left;
}

#gallery img {
	max-width: 100%;
	height: auto;
	margin: 0;
}

#gallery li:nth-child(2n+1) {
	margin-left: 0;
	clear: left;
}

@media screen and ( min-width: 27em ) {

	#gallery li {
		margin: 0 0 2% 2%;
		width: 32%;
	}

	#gallery li:nth-child(2n+1) {
		margin-left: 2%;
		clear: none;
	}

	#gallery li:nth-child(3n+1) {
		margin-left: 0;
		clear: left;
	}

}

@media screen and ( min-width: 35em ) {

	#gallery li {
		width: 23%;
	}

	#gallery li:nth-child(3n+1) {
		margin-left: 2%;
		clear: none;
	}

	#gallery li:nth-child(4n+1) {
		margin-left: 0;
		clear: left;
	}

}

@media screen and ( min-width: 55em ) {

	#contentInternal #gallery li {
		width: 18.4%;
	}

	#contentInternal #gallery li:nth-child(4n+1) {
		margin-left: 2%;
		clear: none;
	}

	#contentInternal #gallery li:nth-child(5n+1) {
		margin-left: 0;
		clear: left;
	}

}

/* Lightbox */

#overlay {
	max-width: 100%;
}

/* FONT AWESOME */

@font-face{font-family:'FontAwesome';src:url('font/fontawesome-webfont.eot?v=3.2.1');src:url('font/fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'),url('font/fontawesome-webfont.woff?v=3.2.1') format('woff'),url('font/fontawesome-webfont.ttf?v=3.2.1') format('truetype'),url('font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1') format('svg');font-weight:normal;font-style:normal;}
[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;}
[class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none;}
.icon-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:-35%;}
.icon-stack [class^="icon-"],.icon-stack [class*=" icon-"]{display:block;text-align:center;position:absolute;width:100%;height:100%;font-size:1em;line-height:inherit;*line-height:2em;}
.icon-stack .icon-stack-base{font-size:2em;*line-height:1em;}

.icon-sign-blank:before{content:"\f0c8";}
.icon-twitter:before{content:"\f099";}
.icon-facebook:before{content:"\f09a";}
.icon-instagram:before{content:"\f16d";}
.icon-pinterest:before{content:"\f0d2";}
.icon-phone:before{content:"\f095";}
.icon-heart:before{content: "\f004";}
.icon-comments:before{content: "\f075";}

.twitter_stack .icon-twitter,
.pinterest_stack .icon-pinterest,
.instagram_stack .icon-instagram {
	color:#fff;
}

.icon-stack .icon-sign-blank {
	font-size:150%;
}

.twitter_stack .icon-sign-blank {
	color: #06aaea;
}

.pinterest_stack .icon-sign-blank {
	color: #D01E15;
}

.instagram_stack .icon-sign-blank {
	color: #004879;
}

.alignright,
.alignleft {
	padding: 2px;
	border: 1px solid #849087;
	margin: 0 0 20px;
}

@media screen and ( min-width: 35em ) {

	.alignleft,
	.alignright {
		float:left;
		display:inline;
		margin: 0 9px 9px 0;
	}

	.alignright{
		float:right;
		margin: 0 0 20px 20px;
	}

}

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

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

#gallery ul:before,
#gallery ul:after,
.clearfix:before,
.clearfix:after {
	display: table;
	content: '';
}

.clear,
#gallery ul:after,
.clearfix:after {
	clear: both;
}

.home_panel_container {
	padding: 0 20px;
}

.home_panel {
	margin: 0 0 1rem;
}

@media screen and ( min-width: 28em ) {

	.home_panel {
		width: 48%;
		float: left;
		margin: 0 0 2.6% 4%;
	}

	.home_panel:nth-child(2n+1) {
		margin-left: 0;
		clear: left;
	}

}

@media screen and ( min-width: 48em ) {

	.home_panel {
		width: 31.6%;
		float: left;
		margin: 0 0 2.6% 2.6%;
	}

	.home_panel:nth-child(2n+1) {
		margin-left: 2.6%;
		clear: none;
	}

	.home_panel:nth-child(3n+1) {
		margin-left: 0;
		clear: left;
	}

}

.panel_title {
	background-color:#849087;
	color:#fff;
	height:55px;
	padding-left:11px;
	padding-right:11px;
	text-align:center;
	font-size:15px;
	text-align:center;
}

.home_panel img {
	width: 100%;
	height: auto;
}

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

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

.panel_title a {
	color:#fff;
}

.panel_content {
	padding: 14px 11px;
	position:relative;
	top:-5px;
	box-shadow: 0px 1px 4px rgba(204, 204, 204, 0.65);
}

.sussex_award {
	display: block;
	margin: 0 auto 10px;
	width:235px;
}

.PostHolder .type-post .attachment-thumbnail {
	float:left;
	margin: 8px 15px 20px 0;
	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;
}

/* Instagram */
.instagram {
	position: relative;
	display: block;
}

.instagram img {
	display: block;
	width: 100%;
}

.instagram__overlay {
	display: none;
}

.instagram__overlay span {
	margin: 0 1em;
}

.instagram:hover .instagram__overlay {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;

	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;

	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .75);
	color: #fff;
	font: 700 1.125em/1 sans-serif;
}

.heading {
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 1.125em;
	margin: 30px 0;
	color: inherit;
}

.prombanner{
	background: hsla(0,100%,100%,.8);
	display: inline-block;
	position: absolute;
	bottom: 50px;
	padding: 15px;
	height: auto;
	width: 100%;
	z-index: 10;
	font-size: 18px;
}

/* 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;}
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility:visible; position: relative;}
.flexslider .slides img {width: 100%; display: block;}
.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
* 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; transition: all 1s ease; }
.flexslider .slides { zoom: 1; }

.flexslider li .slider_caption {
	position:absolute;
	bottom:50px;
	left:0px;
	padding:20px;
	color:#333;
	font-size:18px;
	background: hsla(0,100%,100%,0.8);
}

.flex-wrapper{
	position: relative;
}

.pagination{
	width: 100%;
	display: inline-block;
	font-size: 22px;
}

.pagination .older{
	float:right;
}
