/* 

Theme Name: Bonnieheath Estate CMS
Description: CMS
Date: December 2015
Author: Barber & Veri (Jenna Cooke)
Author URI: http://www.barberveri.com 

*/ 

/* Reset

------------------------------------------------------------ */
@font-face {
    font-family: 'Humanist-Light';
    src: url('../fonts/tt0288m_-webfont.eot');
    src: url('../fonts/tt0288m_-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/tt0288m_-webfont.woff2') format('woff2'),
         url('../fonts/tt0288m_-webfont.woff') format('woff'),
         url('../fonts/tt0288m_-webfont.ttf') format('truetype'),
         url('../fonts/tt0288m_-webfont.svg#humanst521_lt_btlight') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'Humanist-Roman';
    src: url('../fonts/humanst521-bt-roman-11929-1-webfont.eot');
    src: url('../fonts/humanst521-bt-roman-11929-1-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/humanst521-bt-roman-11929-1-webfont.woff2') format('woff2'),
         url('../fonts/humanst521-bt-roman-11929-1-webfont.woff') format('woff'),
         url('../fonts/humanst521-bt-roman-11929-1-webfont.ttf') format('truetype'),
         url('../fonts/humanst521-bt-roman-11929-1-webfont.svg#humanst521_btroman') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Humanist-Bold';
    src: url('../fonts/tt0292m_-webfont.eot');
    src: url('../fonts/tt0292m_-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/tt0292m_-webfont.woff2') format('woff2'),
         url('../fonts/tt0292m_-webfont.woff') format('woff'),
         url('../fonts/tt0292m_-webfont.ttf') format('truetype'),
         url('../fonts/tt0292m_-webfont.svg#humanst521_btbold') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'Humanist-Italic';
    src: url('../fonts/tt0289m_-webfont.eot');
    src: url('../fonts/tt0289m_-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/tt0289m_-webfont.woff2') format('woff2'),
         url('../fonts/tt0289m_-webfont.woff') format('woff'),
         url('../fonts/tt0289m_-webfont.ttf') format('truetype'),
         url('../fonts/tt0289m_-webfont.svg#humanst521_lt_btlight_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}
* { margin: 0; padding: 0; }
html { }
body { 
	color: #000;
 font-size: 12pt;
font-family: 'Humanist-Light', sans-serif;}
ul { list-style: none; margin: 0;}
ul li { margin: 0; padding: 0;}
h1 { margin-bottom: 10px; color: #111111;}	
p { margin: 0 0 10px; line-height: 1.4em;}
img{ border:none;}
em{font-family: 'Humanist-Italic', sans-serif;
font-style: italic;}
strong{

}
ol {
	list-style-position: inside;
}
ol li {
	margin-bottom: 0.5em;
}
ol ol {
	list-style-type: lower-alpha;
	margin-left: 1em;
}
a{
color: #000;
}
hr {
	margin: 1em 0;
}

article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section { 
display: block;
}


/* Structure */
html {
	min-height: 100%;
	overflow-x: hidden; 
}
body {
	
	
}
#wrapper {
	max-width: 1200px;
	margin:  0 auto;
	padding-top: 300px;
	/*background-color: #fff;*/
	/*background-color: rgba(255,255,255,0.7);*/
}
h1,h2,h3,h4,h5,h6, strong {
	font-family: 'Humanist-Roman', sans-serif;
	font-weight: bold; 
}
a {
	color: #512654;
	text-decoration: underline;
}
img {
	width: 100%;
}
/* Header styles */
header {
	position: relative;
	z-index: 1000;
	background: url('../images/header-bg.png') 50% 50% no-repeat #F1D8B2;
	height: 166px;
	border-bottom: 5px solid #be9050;
	position: fixed;
	width: 100%;
	-moz-box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  	-webkit-box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  	box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
	header h1 {
		background: url(../images/bonnieheath-logo.jpg) no-repeat 0 10px;
		background-position: top left;
		/*padding-top: 10px;*/
		height: 200px;
		width: 219px;
		text-indent: 9999px;
	  	white-space: nowrap;
	  	overflow: hidden;
	  	position: absolute;
	  	top: 20px;
	  	left: 20px;
		-moz-box-shadow: 2px 2px 5px rgba(0,0,0,0.7);
	  	-webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.7);
	  	box-shadow: 2px 2px 5px rgba(0,0,0,0.7);
	}
	header #header-sub-nav {
		text-align: right;
		padding: 20px;
		font-family: 'Humanist-Roman', sans-serif;
	}
	header #header-sub-nav ul {
		display: inline-block;
		width: auto;
		padding-right: 1em;
	}
	header #header-sub-nav a {
		color: #000;
	}
	.social {
		text-align: right;
		padding-right: 10px;
		font-size: 1.5em;
		vertical-align: bottom;
		display: inline-block;
	}
	nav {
		width: 80%;
		position: absolute;
		right: 0;
		bottom: 0;
	}
#main, #contact {
	width: 95%;
	vertical-align: top;
	padding: 1em 2.5%;
	background: #F0DABC;
	color: #000;
}
#main h2 , #contact h2 {
	margin-bottom: 1em;
}
.flexslider {
	border: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-o-border-radius: 0;
	border-radius: 0;
	margin-bottom: 0;
}
label {
	width: 16%;
	display: inline-block;
	margin-bottom: 1em;
	vertical-align: top;
}
#contact input, #contact textarea{
	padding: 2px;
	width: 60%;
	background: #eee;
	border: 1px solid #ccc;
	-webkit-border-radius: 2px;
	  -moz-border-radius: 2px;
	  border-radius: 2px;
	  padding: 5px;
}
#contact input:focus, #contact textarea:focus {
	border: 1px solid #512654;
	outline: none;
}
#contact input[type="submit"]{
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  color: #ffffff;
  background: #000;
  text-decoration: none;
  border: none;
  padding: 10px;
  font-size: 16px;	
  cursor: pointer; 	
  width: 61%;
}
#contact .contact {
	margin-top: 2em;
}
#contact .contact .success {
	font-size: 1.5em;
}
.center {
	text-align: center;
}
.leftContent {
	width: 70%;
	margin-right: 2%;
	display: inline-block;
	vertical-align: top;
}
.rightContentSidebar {
	width: 27.5%;
	display: inline-block;
	vertical-align: top;
}
.rightContent {
	width: 27.5%;
	display: inline-block;
}
.iframe {
	max-width: 600px;
}
.iframe iframe {
	width: 100%;
}
footer {
	padding: 10px;
	/*background: #2B0001;*/
	color: #fff;
	margin-top: 2em;
}
footer .image {
	max-width: 400px;
}
footer p {
	font-family: 'Humanist-Light', sans-serif;
	color: #fff;
	margin-top: 1em;
	display: inline-block;
	vertical-align: top;
	width: 20%;
}
footer div.address {
	display: inline-block;
	width: 34%;
	margin-left: 5%;
	margin-right: 5%;
	vertical-align: top;
}
footer div.address p {
	display: block;
	width: 100%;
}
footer #siteby {
	text-align: right;
	display: inline-block; 
	float: right;
	font-size: 1em;
	font-family: 'Humanist-Light', sans-serif;
}
footer a {
	color: #fff;
}
footer .map {
	width: 30%;
	display: inline-block;
	text-align: right;
}
#notfound {
	padding-bottom: 50px;
	min-height: 100%;
	height: 100%;
	background: #420000;
}
#notfound div {
	padding-top: 200px; margin: 0 auto; background: #F0DABC; max-width: 1450px; height: 100%; min-height: 100%;
}
#notfound p {
	margin: 50px;
	text-align: center;
	font-size: 1.6em;
}

div.gallery {
	vertical-align: top;
	text-align: center;
	display: inline-block;
	margin: 1em;
}
div.gallery img {
	max-width: 100%;
}
.fancybox {
	display: inline-block;
	line-height: 0;
	text-align: center;
	margin: 0;
	margin-right: -4px;
	box-sizing: border-box;
	vertical-align: top;
	height: auto;
	width: 10%;

}
div.galleryPhoto {
	text-align: center;
	display: inline-block;
	line-height: 1;
	margin: 0;
	width: 100%;
	height: 100%;
}
div.galleryPhoto img {
	max-width: 100%;
	display: block;
}
.product{
	width: 150px;
	display: inline-block;
	margin: 0 1em 1em 0;
	vertical-align: top;
}
.product a {
	text-decoration: none;
}
.product a:hover {
	text-decoration: underline;
}
.product .prodThumb {
	width: 100%;
}
.product h3 {
	text-align: center;
}
#mixitup .mix{
	display: none;
	vertical-align: top;
	margin-top: 1em;
}
.filter {
	display: inline-block;
	padding: 10px;
	margin-left: 20px;
	cursor: pointer;
}
.filter.active {
	background: #000;
	color: #fff;
}
#product .prodImg {
	width: 35%;
	margin-right: 2%;
	display: inline-block;
	vertical-align: top;
}

#product .prodContent {
	width: 62.5%;
	display: inline-block;
	vertical-align: top;
}
#galleryphotos a{
	width: 10%;
	line-height: 0;
	margin-right: -4px;
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
	height: auto;

}
.galleryPhotoPage .fancybox {
	width: 10%;
	display: inline-block;
	height: auto;
	line-height: 0;
}
.galleryPhotoPage .galleryPhoto {
	height: auto;
}
.event {
	margin-bottom: 1em;
}
.event > div:first-of-type {
	display: inline-block;
	background: #7e588b;
	color: #fff;
	vertical-align: top;
	padding: 10px;
	width: 70px;
	height: 70px;
}
.event > div:first-of-type p {
	font-size: 1.6em;
	text-align: center;
}
.event > div:first-of-type .date {
	font-family: 'Humanist-Roman', sans-serif;
	font-size: 2em;
	margin: 0;
	line-height: 1;
}

.event .details {
	display: inline-block;
	vertical-align: top;
	width: 80%;
	background: none;
	color: #000;
	padding: 0;
	margin-left: 1em;
}
#pagePhoto img {
	display: block;
}
hr {
	border-color: #EDD2A5;
}
.leftContent20 {
	width: 20%;
	display: inline-block;
	vertical-align: top;
}
.rightContent80 {
	width: 75%;
	display: inline-block;
	vertical-align: top;
	margin-right: 2.5%;
}
.socialFooter {
	font-size: 2em;
}
#memberships {
	background: #fff;
	margin: 0 auto 1em;
	padding: 1em 2%;
	text-align: center;
}
.twenty5 {
	width: 15%;
	margin-right: 2%;
	display:inline-block;
	vertical-align: middle;
	text-align: center;
}
.thirty5 {
	width: 25%;
	margin-right: 2%;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
}
#membersForm {
	background: #F0DABC;
	padding: 1em 2%;
	font-size: 1.3em;
}

.apbox{
	width:145px; 
	height:145px;
	display:inline-block; 
	position:absolute; 
	margin-left:-160px; 
	margin-top:-20px
}
.apimg{
	width:145px; 
	height:145px;	
}


/* #Media Queries ================================================== */

/* equal to or larger than 960 (devices and browsers) */

@media only screen and (min-width: 960px) {


}

/* Tablet Portrait size to standard 960 (devices and browsers) */

@media only screen and (min-width: 768px) and (max-width: 959px) {



}
@media all and (max-width: 850px){
	footer {
		width: 100%;
	}
	footer p {
		
	}
	footer div.address {
		width: 64%;
	}
	footer .map.iframe {
		width: 95%;
		display: block;
		margin: 0 auto;
	}
}
/* All Mobile Sizes (devices and browser) */

@media only screen and (max-width: 800px) {
	#main {
		width: 90%;
		margin: 0 auto 1em;
	}
	.leftContent, .rightContentSidebar, .rightContent, #product .prodImg, #product .prodContent {
		width: 100%;
		margin: 1em 0;
		display: block;
	}
	header #header-sub-nav {
		padding: 0;
	}
	header #header-sub-nav ul {
		display: block;
		padding-right: 0.1em;
		font-size: 0.9em;
	}
	.social {
		font-size: 1.2em;
	}

	.apbox{
		width:95px; 
		height:95px;
		display:inline-block; 
		position:absolute; 
		margin-left:-110px; 
		margin-top:0px;
                right: 110px;
	}
	.apimg{
		width:95px; 
		height:95px;	
	}


}


/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */

@media only screen and (min-width: 480px) and (max-width: 767px) {


}


/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */

@media only screen and (max-width: 479px) {
	header h1 {
		width: 120px;
		height: 106px;
		background-size: 100%;
		margin-top: 1em;
	}
	#wrapper {
		padding-top: 200px;
	}
	.social {
		font-size: 1.6em;
		width: 20%;
                line-height: 0.2;
	}
	.social a {
		display:inline-block;
	}
	#wrapper, body, html {
		overflow-x: hidden;
	}
	footer p {
		width: 60%;
		margin: 0 auto 1em;
		display: block;
		text-align: center;
	}
	footer div.address {
		display: block;
		margin: 0 auto;
		font-size: 0.84em;
	}
	.socialFooter {
		text-align: center;
		margin-bottom: 1em;
	}
	.event > div:first-of-type {
		display: block;
		width: 50%;
		margin: 1em auto;
	}
	.event .details {
		display: block;
		margin: 1em auto;
	}
	.event .details h2 {
		text-align: center;

	}
	footer .map.iframe {
		margin: 0 auto;
		width: 90%;
	}
	.galleryPhotoPage .fancybox, #galleryphotos a {
		width: 25%;
	}
	#galleryphotos img {
		width: 100%;
	}
	.leftContent20, .rightContent80 {
		width: 95%;
		vertical-align: top;
		display: block;
		margin: 0 auto 1em;
	}
	.twenty5, .thirty5 {
		width: 45%;
	}
}    