/*
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;
}

html {
	height: 100%;
}

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

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

#page-wrapper {
	min-width: 1000px;
	height: 100%;
}

/* ===== HEADER ===== */
header {
	position: relative;
	width: 100%;
	height: auto;
	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: 100%;
	max-height: 220px;
	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: 14px;
	text-align: right;
}

.main-nav {
	display: inline;
	position: relative;
	top: -10px;
	width: 100%;
}

.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 {
	display: none;
	font-family: MrsEavesRoman, Times, serif;
	position: absolute;
	left: 50%;
	margin-left: -25%;
	padding: 16px 20px 20px;
	background-color: #7A031A;
	color: #FFF;
	width: 48%;
	min-width: 300px;
	height: auto;
	z-index: 999;
	text-align: center;
}

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

.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, col.1>h4 {
	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;
}

.col2-3 img.wp-image-544 {
	margin-top: 0!important;
}

.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;
	padding-bottom: 4%;
	margin-top: 4%;
	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: 15px;
	padding: 0;
	text-transform: uppercase;
}

.display {
	font-family: MrsEavesRoman, Times, serif;
	font-size: 22px;
	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 a {

}

.after-icon {
	display: inline-block;
	position: relative;
	top: 5px;
	color: #FFF;
	text-decoration: none;
}

.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-bottom: 20px;
	z-index: 1;
}

.map-patch {
	height: 33px;
	width: 233px;
	background: #C4C4C4;
	position: relative;
	top: -34px;
	left: 1px;
	z-index: 9;
}

.map-wrapper {
	padding-bottom: 0;
}

#siteplan_map>svg {
	left: 230px !important;
	width: 1000px !important;
}

#siteplan_map>svg#patch-svg {
	width: auto !important;
	height: 660px !important;
}

.siteplan-info {
	float: right;
	width: 30%;
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 5px 22px;
	height: auto;
	background-color: #7A031A;
	z-index: 999;
	color: #FFF;
	display: table-cell;
	vertical-align: middle;
	font-family: MrsEavesRoman, Times, serif;
	font-size: 18px;
	text-transform: uppercase;
	line-height: 125%;
	font-weight: lighter;
	text-align: center;
}

.extra-info {
	font-family: MrsEavesRoman, Times, serif;
	font-size: 16px;
}

.closeX {
	position: absolute;
	font-family: Arial, Helvetica, sans-serif;
	right: 10px;
	cursor: pointer;
}

#siteplan_map_small {
	width: 280px;
	height: 308px !important;
	background-color: #D9E9DD;
	border: 1px solid #999;
	overflow: hidden;
	margin-bottom: 20px;
	float: left;
}

#vmlgroup {
	left: 0 !important;
}

.red-bk {
	height: 100%;
	max-height: 140px!important;
	width: 600px;
	background-color: #7A031A;
	color: #FFF;
	padding: 31px 20px ;
	display: table-cell; 
	vertical-align: middle;
	font-family: MrsEavesRoman, Times, serif;
	font-size: 22px;
	text-transform: uppercase;
	line-height: 140%;
	font-weight: lighter;
	text-align: center;
}

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

.measures {
	display: none;
}

.disclaimer {
	font-size: 9px;
	position: absolute;
	bottom: 0;
}

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

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

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

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

.plan-selector p {
	font-family: Times, serif;
	text-align: left;
	margin-bottom: 20px;
}

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

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

.plan-btn {
	width: 32%;
	height: 40px;
	margin-bottom: 15px;
	background-color: #999;
	border: 1px solid #808080;
	text-transform: uppercase;
	color: #FFF;
	font-family: Times, serif;
	font-size: 14px;
	cursor: pointer;
	text-align: center;
	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:first-of-type {
	float: left;
}

.plan-btn:last-of-type {
	float: right;
}

.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%;
	width: 100%;
	max-width: 599px;
	height: auto;
	margin: 0 2% 20px;
	left: 50%;
	margin-left: -260px;
}

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

#house-plan img:first-of-type {
	width: 100% !important;
	margin: 0 !important;
	left: 0;
	margin-left: 0;
}

.active-floor {
	/*display: block;*/
}

.measure-h {
	font-family: MrsEavesRoman, Times, serif;
	font-size: 21px;
	letter-spacing: -1px;
	border-bottom: 1px solid black;
	padding-bottom: 10px;
}

.house-dimensions p {
	margin-bottom: 10px;
	border-bottom: 1px solid #333;
	padding-bottom: 8px;
}

/* ===== SPECIFICATIONS ===== */

.house-specs p{
	line-height: 145%;
}

/* ===== 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;
	margin-bottom: 40px;
}

#contact-content a, .pdf-download a {
	color: #7A031A;
	text-decoration: none;
	font-weight: bold;
}

#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 15px;
	height: auto;
	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: 5px;
	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;
}

.pdf-download {
	position: relative;
	width: 30.5%;
	max-width: 280px;
	height: auto;
	margin-right: 4%;
	padding: 0;
	float: left;
	border-bottom: 1px solid #999;
	padding: 0 0 15px;
	margin-bottom: 20px;
}

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

.realtors-logo {
	margin-top: 131px;
	position: relative;
}

.realtors-logo img {
	position: absolute;
}


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

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

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

.parent-page_faq {
	position: relative;
	height: auto;
	padding-bottom: 4%;
	margin-top: 4%;
}


.col2-3faq {
	position: relative;
	width: 75.2%;
	max-width: 800px;
	height: auto;
	padding: 0;
	float: right;
}

.col1faq {
	position: relative;
	width: 20%;
	max-width: 200px;
	height: auto;
	margin-right: 4%;
	padding: 0;
	float: left;
}

.faqcol {
	position: relative;
	width: 47%;
	max-width: 370px;
	height: auto;
	margin-right: 5%;
	padding: 0;
	float: left;
}

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

aside p {
	margin-bottom: 20px;
}

.house-dimensions {
	max-width: 280px;
	height: 100%;
	float: left;
	clear: both;
	width: 280px;
}

aside.col1 {
	margin-right: 4%!important;
}

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

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

.millbank-logo {
	float: left;
	margin-right: 100px;
}

.copyright, .copyright a {
	float: left;
	position: relative;
	bottom: 0;
	color: #FFF;
	text-decoration: none;
	font-size: 15px!important;
}

.copyright a:hover {
	text-decoration: underline;
}

.awards {
	float: right;
	position: relative;
	top: -15px;	
}

/* ===== HOLDING PAGE ===== */

body#temp {
	background-color: #7A031A;
	text-align: center;
	color: white;
	font-smooth: always;
	-webkit-font-smoothing: antialiased;
	padding-top: 100px;
}

.top-logo img {
	margin: 0 auto;
}

section.top-logo {
	margin: 0px 0 40px;
}

section#display {
	text-rendering: optimizeLegibility;
	font-family: MrsEavesRoman;
	text-align: center;
	margin: 0 auto 250px;
	width: 100%;
	max-width: 600px;
}

section#display>h2 {
	margin: 0 auto 30px;
	max-width: 600px;
}

section#display p {
	font-size: 21px;
	letter-spacing: -1px;
}

section#display a {
	text-decoration: underline;
	color: #FFF;
}

