

#page, footer {
	background-color: #E3DDD2;
	background-image: url("/-/media/files/css/manor-farm/images/mf-bg-large.jpg");
	background-repeat: repeat;
	background-position: left top;
	background-size: 100%;
}

#page .transparent {
	background-color: transparent !important;
}

#page_content H1,
#page_content H2,
#page_content H3,
#page_content H4,
p.caption,
#local_menu_header li {
	font-family: merriweather;
}


/* NAVIGATION */

header.row {
	padding-top: 1.5rem;
}

#local_header {
	margin-bottom: 0 !important;
}

#page .navbar .nav {
	margin-bottom: 0;
	text-align: center;
}

#page .navbar .nav>li {
	border: none;
	float: none;
	display: inline;
	margin: 0 0.25em;
	padding: 0.75em 0.5em;
}

#page .navbar .nav>li>a {
	color: #000;
	background-color: #7CBBC1;
	border-radius: 7px 7px 0 0;
}

.navbar .nav li.dropdown>.dropdown-toggle .caret {
	border-top-color: #000;
	border-bottom-color: #000;
}

#page .navbar-inner {	
	background-color: rgb(127 91 65 / 0%);
	box-shadow: none;
	border-bottom: 10px solid #7f5b41;
	border-top: none;
	border-left: none;
	border-right: none;
	width: 100vw;
	left: calc(-50vw + 50%);
	position: relative;
	padding-top: 0.5rem;
}

@media only screen and (max-width:37.5em) {
	#page .navbar .nav>li>a {
		font-size: 1.25em;
		display: inline-block;
	}
}

@media only screen and (min-width:37.5em) {
	#page .navbar-inner:after {
		background-image: url(/-/media/Files/CSS/manor-farm/images/chickens-for-logo.png);
		background-size: 50%;
		background-repeat: no-repeat;
		position:absolute;
		display: inline-block;
		width: 16em;
		height: 6em;
		bottom: 80%;
		left: 65%;
		content: "";
		filter: opacity(.5) drop-shadow( 0px -1px 0px rgba(0,0,0,1) ) drop-shadow( 0px 2px 0px rgba(255,255,255,1) );
        	margin-bottom: 0.75em;
	}
	#page .navbar .nav>li {
		border: none;
		float: none;
		display: inline;
		width: 25%;
	}
	#page .navbar .nav>li>a {
		display: inline-block;
		font-weight: bolder;
		text-shadow: none;
		text-align: center;
	}
}

@media only screen and (min-width:48em){
	#page .navbar-inner:after {
		width: 16em;
		height: 6em;
		left: 65%;
	}
	#page .navbar .nav>li {
		margin: 0 0.25em;
		padding: 0.75em 0.5em;
	}
	#page .navbar .nav>li>a {
		min-width: 110px;
	}
}

@media only screen and (min-width:64em) {
	#page .navbar-inner:after {
		width: 22.5em;
		height: 8em;
		right: 20%;
		bottom: 65%;
		margin-bottom: 0.75em;
	}
	#page .navbar .nav>li>a {
		min-width: 150px;
	}	
}


/* HORIZONTAL RULES */

hr {
	display: block;
	position: relative;
	content: "";
	width: 45%;
	height: 3em;
	left: 25.5%;
	background-image: url(/-/media/files/css/manor-farm/images/light-brown-corn.png);
	background-size: contain;
	background-repeat: no-repeat;
	filter: opacity(.5) drop-shadow( 0px -1px 0px rgba(0,0,0,1) ) drop-shadow( 0px 2px 0px rgba(255,255,255,1) );
}

@media only screen and (min-width:64em) {
	hr {
		width: 25%;
		left: 37.5%;
		background-size: cover;
	}
}

hr:before {
	background:none !important;
}

hr:after {
	background:none !important;
}


/* WELLS */

.well {
	text-shadow: none;
}

.well.slate {
	min-height: 1em;
	padding: 1rem;
	background-color: rgba(0,0,0,.05);
	margin: 0;
	color: #fff;
	background-image: url(/-/media/Files/CSS/manor-farm/images/bg-slate.jpg);
}

.well.slate:after {
	content: "";
	position: absolute;
	display: inline-block;
	width: 10em;
	height: 10em;
	bottom: -5em;
	right: -5em;
	background-image: url(/-/media/files/css/manor-farm/images/butterflies.png);
	background-repeat: no-repeat;
	background-size: contain;
}

.well.slate a {
    color: #faebd7;
    border-bottom-color: #faebd7;
}

.well.wood {
	min-height: 1em;
	border-radius:2em;
	padding: 1rem;
	background-color: rgba(0,0,0,.05);
	margin: 0;
	color: #fff;
	background-image: url(/-/media/Files/CSS/manor-farm/images/bg-wood.jpg);
}

.well.wood a {
	color: #fff;
	border-bottom: 1px solid #fff;;
}

.well.alternate {
	min-height: 9em;
	padding: 2rem;
	border-radius: 30px 70px 30px 70px;
	background-color: #98C23D;
}

.well.alternate-two {
	min-height: 9em;
	padding: 2rem;
	border-radius: 30px 70px 30px 70px;
	background-color: #2ab4db;
}

.well.alternate-three {
	min-height: 9em;
	padding: 2rem;
	border-radius: 30px 70px 30px 70px;
	background-color: #82368c;
	color: #fff
}

.well.alternate-four {
    background-color: #a385b5;
    border-radius: 10% ;
    padding: 2rem;
}

.well.alternate-five {
    background-color: #e5bd4d;
     border-radius: 10% ;
     padding: 2rem;
}

.well.alternate-six {
    background-color: #959f5f;
     border-radius: 10% ;
     padding: 2rem;
}

.well.alternate-seven {
    background-color: #67cce4;
     border-radius: 10% ;
     padding: 2rem;
}

.keyfigure.well {
	background-color: #98C23D;
	border-radius: 60px 30px;
	text-align: center;
}

/* Fix width for key figures within grids with conform-block class applied */
.row.conform-block .keyfigure.well {
    width:100%;
}


@media only screen and (min-width: 37em) {
	.well.even-well {
		min-height: 580px;
	}
}

@media only screen and (min-width: 48em) {
	.well.even-well {
		min-height: 490px;
	}
}

@media only screen and (min-width: 64em) {
	.well.even-well {
		min-height: 360px;
	}
}


/* BREAKOUT BACKGROUNDS */


.breakout-bg.slate .breakout-content {
	background-image: url(/-/media/Files/CSS/manor-farm/images/bg-slate.jpg);
	background-size: cover;
	background-position: fixed;
	color:#fff;
	padding:1em;
}

.breakout-bg.slate .breakout-content:after {
	content: "";
	position: absolute;
	display: inline-block;
	width: 10em;
	height: 10em;
	bottom: -1em;
	left: calc(50% + 20em);
	background-image: url(/-/media/files/css/manor-farm/images/butterflies.png);
	background-repeat: no-repeat;
	background-size: contain;
}

/* IMAGES */

img.frame {
    image-rendering: auto;
	height: auto;
	vertical-align: middle;
	width: 100%;
}


img.tilt-right {
	transform: rotate(1deg);
	-ms-interpolation-mode: bicubic;
}

img.tilt-left {
	transform: rotate(-1deg);
	-ms-interpolation-mode: bicubic;
}

img.blue-frame {
    image-rendering: auto;
	height: auto;
	vertical-align: middle;
	width: 100%;
	border: 10px solid #16bbd9;
}

img.teal-frame {
	image-rendering: auto;
	height: auto;
	vertical-align: middle;
	width: 100%;
	border: 10px solid #7cbbc1;
}

img.purple-frame {
    image-rendering: auto;
	height: auto;
	vertical-align: middle;
	width: 100%;
	border: 10px solid #8259a5;
}

img.pink-frame {
    image-rendering: auto;
	height: auto;
	vertical-align: middle;
	width: 100%;
	border: 10px solid #d93478;
}

img.red-frame {
    image-rendering: auto;
	height: auto;
	vertical-align: middle;
	width: 100%;
	border: 10px solid #d63a23;
}

img.yellow-frame {
    image-rendering: auto;
	height: auto;
	vertical-align: middle;
	width: 100%;
	border: 10px solid #d2a02e;
}

img.green-frame {
    	 image-rendering: auto;
	height: auto;
	vertical-align: middle;
	width: 100%;
    border: 10px solid #5f7432;
}

/* BUTTONS */
button.green, a[role="button"], a[role="button"]:visited {
	font-family: Merriweather;
	color: #000;
	font-weight: 700;
	background-color: #72B9BE;
	border-radius: .5em;
	min-height: 3em;
	transition: all .5s ease;
	text-shadow: none;
	box-shadow: none;
	border: none;
}

a[role="button"].green, button.green, input[type="submit"].green, input[type="reset"].green, input[type="button"].green {
	background-color: #72B9BE;
	border-color: #72B9BE;
	color: #000 !important;
	border-bottom: none !important; 
}

a[role="button"].green:hover, button.green:hover, input[type="submit"].green:hover, input[type="reset"].green:hover, input[type="button"].green:hover {
	background-color: #219098;
	border-color: #219098;
	color: #000 !important;
}

.well.alternate a {
	color: #014579;
	border-bottom: 1px solid #014579;
	}

.well.alternate a:active, .well.alternate a:visited {
	color: #004262;
	border-bottom: 1px solid #004262;
}

.well.alternate a[role="button"].green, .well.alternate button.green, .well.alternate input[type="submit"].green, .well.alternate input[type="reset"].green, .well.alternate input[type="button"].green {
	background-color: #e1dbcf;
	border-color: #e1dbcf;
	color: #000 !important;
	border-bottom: none !important; 
}

.well.alternate a[role="button"].green:hover, .well.alternate button.green:hover, .well.alternate input[type="submit"].green:hover, .well.alternate input[type="reset"].green:hover, .well.alternate input[type="button"].green:hover {
	background-color: #d8cdb5;
	border-color: #d8cdb5;
	color: #000 !important;
}

a[role="button"].blue, a[role="button"].white, button.blue, input[type="submit"].blue, input[type="reset"].blue, input[type="button"].blue {
	background-color: #b9b87f;
	border-color: #b9b87f;
	color: #000 !important;
	border-bottom: none !important; 
}

a[role="button"].blue:hover,a[role="button"].white:hover, button.blue:hover, input[type="submit"].blue:hover, input[type="reset"].blue:hover, input[type="button"].blue:hover {
	background-color: #949645;
	border-color: #949645;
	color: #000 !important;
}

.card-button.button-link {
	background: #72B9BE;
	background-size: cover;
}

#page .bx-viewport.has-prev:before {
	background: linear-gradient(to right,#E3DDD2 0%, rgba(227,221,210,0) 100%);
}

#page .bx-viewport.has-next:after {
	background: linear-gradient(to right,rgba(227,221,210,0) 0%,#E3DDD2 100%);
}


/* CONTENT CARDS*/

div.card-tags {
	position: absolute;
	left: -9999px;
}

.wall .stamp, p.card-description {
	display:none;
}

.wall .brick .card-media {
	position: relative;
	height: 100%;
	/* overflow: auto; */
	background: #fff;
}

.wall .brick .card-media img {
	position: relative;
	top: 0;
	transform: none;
}

.wall .brick .card:hover .card-media img {
	-webkit-filter: brightness(1.15);
	filter: brightness(1.15);
}	

.card-content .card-heading {
	font-size: 1.25rem;
	position: absolute;
	top: -4em;
	background: rgba(226,220,209,0.9);
	padding: 0.5rem 1rem;
	right: -1em;
	text-align: right;
	margin: 0 !important;
	border-radius: 0.5em 0 0 0.5em;
	width: auto;
}

/* HOMEPAGE ELEMENTS */

#slideshow ul.on li div.caption {
	display: inline-block;
	position: absolute;
	top: 1rem;
	left: 10%;
	bottom: auto !important;
	max-width: 80%;
	border-radius: 0.5em;
	background-color: rgba(226, 220, 209, 0.85);
	color: #222;
	height: auto !important;
	padding:1.5em;
}

@media only screen and (min-width: 48em) {
	#slideshow ul.on li div.caption {
		position: absolute;
		top: 1rem;
		left: 20%;
		bottom: auto !important;
		max-width: 60%;
		margin:0;
		padding:2rem;
    }
    
	#slideshow .navprev {margin-left: 3rem;}
	#slideshow .navnext {margin-right: 3rem;}
}

@media only screen and (min-width: 64em) {
	#slideshow ul.on li div.caption {
		position: absolute;
		top: 7em;
		left: 5em;
		bottom: auto !important;
		max-width: 33%;
		padding:1rem;
    }
    
	#slideshow .navprev {margin-left: 3rem;}
	#slideshow .navnext {margin-right: 3rem;}
}

#slideshow ul.on li div.caption h2, #slideshow ul.on li div.caption p {
	color: #222;
	margin-bottom:1em;
}

.breakout-bg.transparent .overlay-image p.caption {
	display: inline;
	position: absolute;
	bottom: 0.5em;
	right: 0;
	left: auto !important;
	text-align: right;
	max-width: 75%;
	border-radius: 0.5em 0 0 0.5em;
	margin-bottom: 1em !important;
	background-color: rgba(226, 220, 209, 0.85);
	color: #222;
}

/* News slider */

.bxslider a.thumbnail {
	background-color: rgba(250,247,245, 0.29);
	padding: 0.35em;
	border-radius: 0.5em;
	border-bottom: none;
}

.bxslider a.thumbnail img {
	border-radius: 0.5em 0.5em 0 0;
}

.bxslider a.thumbnail h3 {
	padding-left: 0.7em;
	padding-bottom: 0.5em;
	color: #000000;
}

/* QUOTES */

blockquote p, blockquote q {
	margin-bottom: 0;
	margin-top: 2.5em;
	padding-left: 5.5em;
	font-family: merriweather;
	font-size: 1.5rem;
	padding-top: 1rem;
	display: block;
}

blockquote q:before, blockquote.feature-quote p:before {
	color: rgba(0,0,0,.25);
	content: open-quote;
	font-size: 12rem;
	left: 1rem;
	position: absolute;
	top: 3.5rem;
}


/* NEWSLETTER */

.sapCpLabel {
	width:75%;
	display:inline-block;
}

.req, .opt {
	width:25%;
	padding-top:0.5em;
}

.sapCpContentPage .sapCpWidget.sapCpWidgetHidden {
    display: none;
}

li .req,
.input-append li .req,
.input-append li .opt,
.input-append li .sapCpWidgetContent input,
.input-append li .sapCpWidgetContent button,
.input-append li .sapCpWidgetContent select {
    border-radius: 0 !important;
}

/* BUTTON WIDGET */

.sapCpButtonWidget .sapCpButtonWidgetExtraText,
.sapCpButtonWidget .sapCpMissingMandatoryFieldLabel {
    display: block;
}

.sapCpContentPage:not(.sapCpMissingMandatoryField) .sapCpButtonWidget .sapCpMissingMandatoryFieldLabel {
    display: none;
}

.sapCpButtonWidget .sapCpErrorMessageText {
    display: block;
}

.sapCpContentPage:not(.sapCpSubmitError) .sapCpButtonWidget .sapCpErrorMessageText {
    display: none;
}

.sapCpButtonWidget .sapCpSuccessMessageLabel {
    display: block;
}

.sapCpContentPage:not(.sapCpSubmitCompleted) .sapCpButtonWidget .sapCpSuccessMessageLabel {
    display: none;
}

.sapCpContentPage:not(.sapCpSubmitCompleted) .sapCpButtonWidget .sapCpButtonWidgetDownloadLink {
    display: none;
}

.sapCpButtonWidget .sapCpButtonWidgetDownloadLink:not(.sapCpButtonWidgetDownloadLinkVisible) {
    display: none;
}

.sapCpButtonWidget.sapCpButtonWidgetLoading button {
    cursor: wait;
}

/* Customize the label (the container) */
.sapCpCheckBox {
  display: block;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0;
  cursor: pointer;
  font-size: 2.5rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.sapCpCheckBox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 3rem;
  width: 3rem;
  background-color: #fff;
  border-radius:0;
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: inset 0 0.25rem 0 rgba(0,0,0,.1);
}

#__button39, #__button39:hover{
	background-color:#FCDF51;
	color:#131E29;
}

summary{color:#131E29;}
/*
    color: #FCDF51;
    color: #415364;
    color: #fff;
    color: #131E29;
*/
/* On mouse-over, add a background color */
.sapCpCheckBox:hover input ~ .checkmark {
  background-color: #FCDF51;
}

/* When the checkbox is checked, add a  background 
.sapCpCheckBox input:checked ~ .checkmark {
  background-color: #571c4b;
  border-color:#331a4a;
}
*/
/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.sapCpCheckBox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.sapCpCheckBox .checkmark:after {
  left: 1.125rem;
   top: .675rem;
  width: .5rem;
  height: 1rem;
  border: solid #131E29;
  border-width: 0 .25rem .25rem 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.checkmark-text{margin-left:4rem;display:inline-block;}

.alternate .error label,
.alternate .error legend,
.alternate .error .help,
.alternate .is-error,
.alternate .field-validation-error,
.alternate .req,
.alternate .error-placeholder{
    color: #FCDF51 !important;
}

.sapCpBody .alert-danger, .sapCpBody .alert-error {
    background-color: #FCDF51 !important;
    border-color: #131E29 !important;
	color: #131E29 !important;
}

.error-placeholder {
    clear: both;
    padding-top: 0.5rem;
}

/* Newsletter accordion */

details summary {
	background-color: rgba(250,247,245, 0.29);
	border-radius: 0.2em;
}

details>summary::before {
	color: #b9b87f;
    border-color: #b9b87f;
}

details summary[aria-expanded="true"]:before {
	color: #72B9BE;
	border-color: #72B9BE;
}

/* STICKY BUTTON */

button#contact-stickies-button {
    background-color: #703f24;
background-image: url(/-/media/Files/CSS/manor-farm/images/bg-wood.jpg);
    text-shadow: none;
    color: #f8f8f8;
    height: 5em;
    width: 5em;
    border-radius: 50%;
    border: 4px solid #98C23D;
    box-shadow: none;
    display: block;
    filter: drop-shadow(0.2rem 0.25rem 0.3rem #a1a1a1) !important;
}

@media only screen and (min-width: 37.5em) {
	button#contact-stickies-button {
		width: 8em;
		height:8em;
	}
}
#contact-stickies {
    position: fixed;
    bottom: 3em;
    right: 3em;
    z-index: 100000;
}

#contact-stickies dt {
    position: relative;
    z-index: 10;
    bottom: -2em;
    right: -1.25em;
}

@media only screen and (min-width: 72em) {
	#contact-stickies {
		bottom: calc(50vh - 2em);
		right: calc(-35em + 50vw);
	}
}

#contact-stickies dt:hover #contact-stickies-button{
    filter: none;
	animation-name: jiggle;
	animation-duration: 2000ms;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;	
}

.jiggle {
	left: -2em;
		position: relative;
	  animation-name: jiggle;
	  animation-duration: 2000ms;
	  animation-iteration-count: infinite;
	  animation-timing-function: ease-in-out;
	}
	
	.jiggle:hover{
		animation-play-state: paused;
	}
	
	
	@keyframes jiggle {
	  20% {transform: rotate(5deg);}
	  40% {transform: rotate(-10deg);}
	  60% {transform: rotate(10deg);}
	  80% {transform: rotate(-5deg);}
	  100% {transform: rotate(0deg);}
	}
	
/* MANOR FARM Membership banner CSS */

.promo-banner a {
  border-bottom: none !important;
  color: white !important;
}

.promo-banner a:visited {
  border-bottom: none !important;
color: white !important;
}

.promo-banner a:hover {
  border-bottom: none !important;
color: white !important;
}

.promo-banner a:active {
  border-bottom: none !important;
color: white !important;
}



img {
    display: block;
}

.banner-image {
    position: relative;
    display: inline-block;
}

.caption-desktop-manor-farm {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50% );
}

.caption-tablet-manor-farm {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50% );
}

.caption-phone-manor-farm {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50% );
    text-align: center;
    color: #703f24;
    
}

.manorfarm-desktop-banner {
    font-size: 2em;
    line-height: 1.4em;
    text-align: center;
    color: #703f24;
    font-weight: bold;

}

.manorfarm-tablet-banner {
    font-size: 1.2em;
    line-height: 1.2em;
    text-align: center;
    color: #703f24;
    font-weight: bold;

}

/* FOOTER */

.breakout-bg.bg.brown a {
    color: #fff;
    border-bottom: 1px solid #fff;
}

.breakout-bg.bg.brown {
    background-image: url("/-/media/files/css/manor-farm/images/mf-footer-wood");
	background-repeat: repeat;
    color: #fff;
}

@media only screen and (min-width:64em) {
.breakout-bg.bg.brown {
	background-repeat: no-repeat;
	background-size: 210%;
}
}

@media only screen and (min-width:90em) {
.breakout-bg.bg.brown {
	background-repeat: no-repeat;
	background-size: 150%;
}
}

@media only screen and (min-width: 120em) {
.breakout-bg.bg.brown {
	background-repeat: no-repeat;
	background-size: 135%;
}
}

/* Fix for global footer - NG 09 10 24 */
.breakout-bg.bg.brown .row {
	margin-bottom: 0
}

#global_footer {
	background-color: #f8f8f8;
}


/*LINK TILES - TO ENABLE WHEN THERE IS ONLY ONE */

@media only screen and (min-width: 40em) {

    #page .breakout-bg.bg.promo .thumbnail>img {
        width: 70%;
        }
    #page .breakout-bg.bg.promo a.thumbnail.no-padding {
        display: flex;
        }
    #page .breakout-bg.bg.promo .columns.six a.thumbnail.no-padding, columns.four a.thumbnail.no-padding {      
        display: inline;
        }
    #page .breakout-bg.bg.promo .columns.six .thumbnail>img, .columns.four .thumbnail>img {     
        width: 100%;
    }
}

/* PROMO BLOCKS */

.breakout-bg.bg.promo a.thumbnail.no-padding p.title {
	font-size: 1.2em;
	/*line-height: 2.5em;*/
}

.breakout-bg.bg.promo a.thumbnail.no-padding p.caption {
	font-size: 0.9em;
}

.breakout-bg.bg.promo a.thumbnail.no-padding {
	background-color: #72B9BE;
	color: #000;
	box-shadow: none;
}

.breakout-bg.bg.promo a.thumbnail.no-padding:hover {
	background-color: #fff;
}

.well.temp-price-offer{
     background: #a385b5;
     color:#222;
}