/*
Theme Name: The Old Dairy
Theme URI: http://creativerandd.com/
Description: 2012 theme.
Author: Marco
Author URI: http://hyperbake.com/
Version: 1.0
License:
License URI:
*/



* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box; 
	margin: 0;
	padding: 0;
}

@font-face{
	font-family: MrsEavesRoman;
	src:url("../temp/fonts/mrseavesroman-webfont.eot") format("eot");
	src:url("../temp/fonts/mrseavesroman-webfont.woff") format("woff"),
		url("../temp/fonts/mrseavesroman-webfont.ttf") format("truetype"),
		url("../temp/fonts/mrseavesroman-webfont.svg#mrseavesregular") format("svg");
}

@font-face{
	font-family: MrsEavesBold;
	src:url("../temp/fonts/mrseavesbold-webfont.eot") format("eot");
	src:url("../temp/fonts/mrseavesbold-webfont.woff") format("woff"),
		url("../temp/fonts/mrseavesbold-webfont.ttf") format("truetype"),
		url("../temp/fonts/mrseavesbold-webfont.svg#mrseavesbold") format("svg");
}

img {
	border: 0;
	display: block;
}

body {
	font-family: Times, serif;
	background-color: white;
	height: 100%;
	width: 100%;
}

br.clearfix {
	clear: both;
	display: block;
	height: 1px;
	margin: -1px 0 0 0;
}


/* ===== HEADER ===== */
header {
	position: relative;
	width: 100%;
	height: 300px;
	top: 0;
	background-color: #FFF;	
	font-family: MrsEavesRoman, Times, serif;
	z-index: 11;
	border-bottom: 20px solid #7A031A;
}

.header-border {
	position: relative;
	height: 20px;
	width: 100%;
	background-color: #7A031A;
	color: #FFF;
	padding: 4px 0 0;
	text-align: right;
	font-size: 12px;
}

.header-border li, .header-border li a {
	position: relative;
	list-style: none;
	color: #FFF;
	display: inline;
	margin-left: 0;
	margin-right: 0;
	text-decoration: none;
	text-transform: uppercase;
}

.main-header {
	position: relative;
	height: 300px;
	max-height: auto;
	width: 100%;
	max-width: 1050px;
	padding: 30px 40px;
	margin: 0 auto;
	font-size: 18px;
	text-align: center;
}

.secondary-header {
	position: relative;
	height: auto;
	width: 100%;
	max-width: 950px;
	padding: 0 40px;
	margin: -2px auto 0;
	font-size: 12px;
	text-align: right;
}

.main-nav {
	position: relative;
	top: -10px;
	width: 120px!important;
	height: auto;
	font-size: 30px;
	padding: 20px 0;
}

.main-header li, .main-header li a {
	list-style: none;
	color: #666;
	/* display: inline; */ 
	text-decoration: none;
	text-transform: uppercase;
}

.main-header li:after {
	content: "•";
	margin: 0 6px 0 12px;
}

.main-header li:last-of-type:after {
	content: "";
	margin-left: 0;
}

.main-header li a:hover, li.current_page_item a, li.current_page_ancestor a {
	color: #7A031A;
}

.page-item-21 a {
	color: #FFF!important;
}

.main-header img {
	margin: 0 auto 3%;
	width: 100%;
	max-width: 828px;
	height: auto;
}

/* ===== HOMEPAGE ===== */
#home-img {
	min-height: 100%;
  /* Set up proportionate scaling */
  	width: 100%;
  	height: auto;	
  /* Set up positioning */
  	position: relative;
}

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

.home_headline {
	font-family: MrsEavesRoman, Times, serif;
	position: absolute;
	margin: 0 auto;
	left: 50%;
	margin-left: 100px;
	padding: 16px 0 20px;
	background-color: #7A031A;
	color: #FFF;
	width: 420px;
	height: auto;
	z-index: 999;
	text-align: center;
}

.home-h {
	font-size: 28px;
}

.home_headline a {
	color: #FFF;
	text-decoration: none;
	font-size: 16px;
	transition: color 0.5s;
	-moz-transition: color 0.5s; /* Firefox 4 */
	-webkit-transition: color 0.5s; /* Safari and Chrome */
	-o-transition: color 0.5s;
}

.home_headline a:hover {
	color: #B77784;
	text-decoration: none;
	font-size: 16px;
}

.home_headline img {
	margin: 0 auto;
}

/* ===== PAGE: MAIN CONTENT ===== */
#main-content {
	position: relative;
	margin: 0 auto;
	padding: 0 40px;
	width: 100%;
	max-width: 1000px;
	height: auto;
	font-family: Times, serif;
	font-size: 16px;
}

h2 {
	font-family: MrsEavesRoman, Times, serif;
	font-size: 26px;
	margin-bottom: 20px;
	padding: 0;
	text-transform: uppercase;
	max-width: 280px;
	display: block;
}

.title-col {
	width: 280px;
	margin: 0;
	padding: 0;
	display: block;
}

.col1, .col1_b, .text-col {
	position: relative;
	width: 30.5%;
	max-width: 280px;
	height: auto;
	margin-right: 4%;
	padding: 0;
	float: left;
}

.col1_b {
	margin-top: 0;
}

.text-col:nth-last-of-type(1), .col1:nth-last-of-type(1), .col1_b:nth-last-of-type(1) {
	margin-right: 0;
}

.col1 img, .col1_b img {
	width: 100%;
	max-width: 280px;
	height: auto;
}

.col2-3, .col1-2, .houses-main {
	position: relative;
	width: 65.2%;
	max-width: 600px;
	height: auto;
	padding: 0;
	float: left;
}

.houses-main  {
	/*margin-left: 4%;*/
}

.col1-2 {
	margin-right: 4%;
}

.col1-2 img, .houses-main img {
	width: 100%;
	max-width: 600px;
	height: auto;
}

.col2-3 img {
	position: relative;
	float: right;
	width: 100%;
	max-width: 600px;
	height: auto;
	position: relative;
	border: none;
	float: right;
	margin-top: -46px;
}

.col3 {
	position: relative;
	width: 30.5%;
	max-width: 280px;
	height: auto;
	padding: 0;
	float: left;
}

.col3 img {
	position: relative;
	width: 100%;
	max-width: 280px;
	height: auto;
	margin-top: -46px;
}

.parent-page, .child-page {
	position: relative;
	height: auto;
	margin: 2% 0;
	border-bottom: 1px solid #7A031A;
}

.child-page:nth-last-of-type(1) {
	border-bottom: none;
}

.parent-page img {
	position: relative;
}

h3 {
	font-family: MrsEavesRoman, Times, serif;
	font-size: 22px;
	margin-bottom: 20px;
	padding: 0;
	text-transform: uppercase;
}

.display {
	font-family: MrsEavesRoman, Times, serif;
	font-size: 16px;
	margin-bottom: 20px;
	padding: 0;
	text-transform: uppercase;
}

.text-col h3 {
	position: absolute;
	top: -46px;
}

.text-col a {
	text-decoration: none;
	color: #7A031A;
}

.id203 {
	display: none;
}

.wp-image-cc {
	margin-top: 46px;
}

/* ===== SECONDARY INFO ===== */

#secondary-info-wrapper {
	width: 100%;
	height: auto;
	background-color: #7A031A;
	border-bottom: 1px solid #FFF;
	padding-bottom: 40px;
}

#secondary-info {
	position: relative;
	margin: 0 auto;
	padding: 40px 3.8% 0;
	width: 100%;
	color: #FFF;
	max-width: 1020px;
	height: auto;
	font-family: Times, serif;
	font-size: 15px;
	background-color: #7A031A;
}

.info-news {
	position: relative;
	width: 30.5%;
	max-width: 280px;
	height: auto;
	margin-right: 4%;
	padding: 0;
	float: left;
}

.info-news:nth-last-of-type(1) {
	margin-right: 0;
}
 
.info-title {
	font-family: MrsEavesRoman, Times, serif;
	font-size: 18px;
	text-transform: uppercase;
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid #FFF;
}

.info-title img {
	display: inline;
	vertical-align: middle;
	margin-right: 20px;
}


/* ===== AVAILABILITY ===== */
.id60 {
	display: none;
}

#allplots {
	width: 100%;
	max-width: 1000px;
	border-collapse:collapse;
	border:1px solid #333;
}

#allplots thead td {
	font-size: 16px;
}

#allplots tbody td {
	padding: 10px 0;
	font-size: 14px;
}

#siteplan_map {
	position: relative;
	width: 920px;
	height: 660px;
	background-color: #D9E9DD;
	border: 1px solid #999;
	overflow: hidden;
	margin-top: 0;
}

#siteplan_map_small {
	width: 280px;
	height: 320px;
	background-color: #D9E9DD;
	border: 1px solid #999;
	overflow: hidden;
	margin-bottom: 20px;

}

.smallcol {
	position: relative;
	width: 29.5%;
	max-width: 280px;
	height: auto;
	margin-right: 4%;
	padding: 0;
	float: left;
}

/* ===== HOUSES ===== */

.house-wrapper {
	margin: 4% 0 40px;
}

h4, .h3_houses {
	font-family: MrsEavesRoman, Times, serif;
	font-size: 24px;
	padding-bottom: 10px;
	margin-bottom: 15px;
	border-bottom: 1px solid #333;
}

.full-width {
	position: relative;
	width: 100%;
	height: auto;
	margin-top: -20px;
	margin-bottom: 40px;
}

.full-width img {
	width: 100%;
	max-width: 1000px;
	height: auto;
}

table {
	width: 100%;
	max-width: 600px;
	border-collapse:collapse;
	border:1px solid #333;
}

td{
	border:1px solid #333;
	text-align: center;
	padding-top: 6px;
	padding-bottom: 6px;
	font-size: 12px;
	vertical-align: center;
}

thead {
	background-color: #999;
	color: #FFF;
	font-family: MrsEavesRoman, Times, serif;
	font-size: 12px;
	text-align: center;
}

tbody {
	text-align: center;
}
/* ===== PLAN SELECTORS ===== */

h5 {
	font-size: 16px;
	margin-bottom: 14px;
}

.plan-selector {
	position: relative;
	width: 100%;
	height: auto;
	margin: 20px 0 0;
	padding: 0;
	font-family: MrsEavesRoman, Times, serif;
	text-align: center;
}

.standard-plan, .bespoke-plan {
	position: relative;
	width: 100%;
	margin-right: 1.5%;
	margin-bottom: 1.5%;
	float: left;
}

.diy-plan {
	position: relative;
	width: 32.4%;
	float: left;
}

.plan-btn {
	width: 32.5%;
	height: 40px;
	margin-bottom: 12px;
	background-color: #999;
	border: 1px solid #808080;
	text-transform: uppercase;
	color: #FFF;
	font-family: Times, serif;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.5s;
	-moz-transition: background-color 0.5s; /* Firefox 4 */
	-webkit-transition: background-color 0.5s; /* Safari and Chrome */
	-o-transition: background-color 0.5s;
}

.plan-btn:hover, .btn-active {
	background-color: #7A031A;
}

#house-plan {
	position: relative;
	float: right;
	margin-top: 10px;
	width: 100%;
	max-width: 599px;
	min-height: 555px;
	overflow: hidden;
}

#house-plan img {
	position: absolute;
	display: none;
	width: 100%;
	max-width: 599px;
	height: auto;
}

#house-plan img.active {
	display: block;
	width: 100%;
	height: auto;
	max-width: 599px;
}

/* ===== CONTACT PAGE ===== */
#contact-content {
	position: relative;
	margin: 0 auto;
	padding: 30px 40px;
	width: 100%;
	max-width: 1000px;
	height: auto;
	font-family: Times, serif;
	font-size: 16px;
}

#contact-content a {
	color: #7A031A;
}

#contact-content p {
	margin-bottom: -5px;
}

.contact-img {
	position: relative;
	width: 62.5%;
	max-width: 600px;
	border: none;
	float: right;
	margin-top: -62px;
}

.contact-img img {
	position: relative;
	border: none;
	float: right;
	margin-top: -3px;
}

.contact-form {
	margin-bottom: 40px;
	float: left;
}

#form-container {
	clear: both;
	display: inline-block;
	width: 280px!important;
	padding: 0 0 20px;
	margin: 20px 0px;
	height: auto;
	margin-top: 20px;
	border-bottom: 1px solid #999;
}

#form-container input[type=text], input[type=email] {
	width: 100%;
	height: 36px;
	margin-bottom: 10px;
	background-color: #7A031A;
	color: #FFF;
	font-family: MrsEavesRoman, Times, serif;
	font-size: 16px;
	border: none;
	padding-left: 20px;
}

#form-container input[type=submit] {
	width: 100px;
	height: 36px;
	margin-bottom: 10px;
	background-color: #C08893;
	color: #FFF;
	border: none;
	font-family: MrsEavesRoman, Times, serif;
	font-size: 16px;
	text-align: left;
	padding-left: 20px;
	cursor: pointer;
	transition: background-color 0.5s;
	-moz-transition: background-color 0.5s; /* Firefox 4 */
	-webkit-transition: background-color 0.5s; /* Safari and Chrome */
	-o-transition: background-color 0.5s;
}

#form-container input[type=submit]:hover {
	background-color: #7A031A;
}

.one-col {
	position: relative;
	width: 280px!important;
}

/* ===== ABOUTR SELF BUILD ===== */

.id-91 img{
	position: relative;
	margin-top: -46px;
}

/* ===== FAQ ===== */
.question {
	margin-bottom: 4px;
}

/* ===== ASIDE ===== */
aside img {
	width: 100%;
	height: auto;
	margin-bottom: 20px;
	max-width: 280px;
}

aside p {
	margin-bottom: 20px;
}

/* ===== FOOTER ===== */

#footer {
	position: relative;
	top: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	background-color: #7A031A;
	font-size: 14px;
	padding-bottom: 40px;
	top: 0;
	/*border-top: 1px solid #FFF;*/
}
	
.info-container {
	position: relative;
	margin: 0 auto;
	width: 100%;
	max-width: 1000px;
	height: auto;
	padding: 60px 40px 0;
	clear: both;
}

.copyright, .copyright a {
	float: left;
	color: #FFF;
	text-decoration: none;
}

.millbank-logo {
	float: right;	
}
