/*!
Theme Name: The Stay at Home Daughter Child
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Template: the-stay-at-home-daughter
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: the-stay-at-home-daughter
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Remove default theme text */
.home .entry-header,.entry-footer, .edit-link, .site-info {
	display:none;
}
/* Remove search bar from most pages */
.page .widget-area {
	display:none;
}

/* top nav bar */
.home .site-branding a {
	display:none;
}
.site-branding a {
	width:281px;
	margin-top:11px;
}
@media only screen and (max-width: 600px) {
	.site-branding, #white-logo {
		max-width:60% !important;
}
}
#site-navigation {
	width: 62%;
    min-width: 820px;
}

@media only screen and (max-width: 1099px) {
#site-navigation {
	width:100%;
	left:0;
	min-width:0;
}
}

#white-logo {
	position:absolute;
	width:281px;
	top:11px;
	z-index:2;
	display:none;
}
.home #white-logo {
	display:block;
}
#white-logo img {
	height:91px;
	width:281px;
}

	@media only screen and (max-width: 1099px) {
		.home .main-navigation.toggled #white-logo {
display:none;
}
}
.custom-logo-link img {
	height:91px;
	width:281px;
	
}
#masthead {
	display:flex;
	justify-content:space-between;
	position:absolute;
	top:0;
	z-index:2;
	padding:0 4.4% 0 3.9%;
	width:100%;
}
@media only screen and (max-width: 1099px) {
	#masthead {
	padding:0;
	}
}
.entry-content, html {
	margin:0 !important;
}
figure {
	margin:0;
}
.main-navigation {
	width:auto;
}
.main-navigation ul {
	display: flex;
    justify-content: flex-end;
}
@media screen and (max-width: 1099px){
.main-navigation ul {
    display: none;
}
}

#primary-menu li {
	padding:0 1.5%;
}
#primary-menu li a {
	color:#212624;
	text-transform:uppercase;
	margin-top:38px;
	font-family: ivymode, sans-serif;
	font-size:16px;
	letter-spacing:0.05em;
	font-weight:400;
}

@media only screen and (max-width: 1249px) {
#primary-menu li a {
font-size:13px;	
}
}

@media only screen and (max-width: 1099px) {
#primary-menu li a {
font-size:20px;	
}
}
.home #primary-menu li a {
	color:#fff;
}

@media only screen and (max-width: 1099px) {
	.home #primary-menu li a {
		color:#212624;
	}
}
.page {
	margin:0;
}
@media only screen and (max-width: 1099px) {
.menu-toggle {
	border:none;
	width:3rem;
	padding:0.5rem;
	margin-top:10px;
	cursor: pointer;
	height: 2.125rem;
	background:none;
	position:absolute;
	top:12px;
	right:5%;
	display: inline-block;
	vertical-align: middle;
	z-index:10;
}
.menu-toggle div {
background:#000;
height:2px;
}
.menu-toggle div::before {
display: block;
    position: absolute;
    content: "";
    width: 2rem;
    height: 2px;
	top:0.5rem;
	background:#000;
}
.menu-toggle div::after {
display: block;
    position: absolute;
    content: "";
    width: 2rem;
    height: 2px;
	bottom:0.5rem;
	background:#000;
}
.home .main-navigation .menu-toggle div, .home .main-navigation .menu-toggle div::before, .home .main-navigation .menu-toggle div::after {
	background:#fff !important;
}
	.home .main-navigation.toggled .menu-toggle div, .home .main-navigation.toggled .menu-toggle div::before, .home .main-navigation.toggled .menu-toggle div::after {
	background:#000 !important;
}
	.main-navigation ul {
		padding:60px 15%;
	}
	#menu-item-351 {
		transform: rotate(90deg);
    width: 0px;
    margin-left: 11px;
	}
}
.menu-primary-container {
	width:100%;
}
@media only screen and (max-width: 1099px) {
.menu-primary-container {
	background:#fff;
	position:absolute;
	top:0;
	left:0;
	z-index:5;
	
}
	.main-navigation.toggled .menu-primary-container {
		height:655px;
	}
}

/* text styles */

.tag {
	text-transform:uppercase;
	font-family: acumin-pro, sans-serif;
	font-weight:500;
	font-size: 12px;
	letter-spacing:0.075em;
}

h1, .wppsac-post-slider h2.wppsac-post-title a{
	font-family: ivymode, sans-serif;
	font-size:40px;
	font-weight:300;
	line-height:1.1;
}
h1, h2, h3, h4, h5, p {
	margin:0;
	color:#212624;
}
h2 {
	font-weight:400;
	font-family: ivymode, sans-serif;
	font-size:28px;
	line-height:1.21;
}
h3 {
	font-size:22px;
	font-weight:400;
	font-family: ivymode, sans-serif;
	font-size:22px; 
	line-height:1.23;
}
h4 {
		font-weight:600;
	font-family: ivymode, sans-serif;
	font-size:16px;
	text-transform:uppercase;
	line-height:1.5;
	letter-spacing:0.125em;
	color:#fff;
}
h5 {
	font-weight:400;
	font-family: ivymode, sans-serif;
	font-size:14px;
	text-transform:uppercase;
	line-height:1.5;
	letter-spacing:0.05em;
	color:#fff;
}
body, p {
	font-family: acumin-pro, sans-serif;
	font-weight:300;
	font-size:18px;
	
}
.single p {
	margin: 1em 0;
}
a:visited {
	color:#212624;
}
.all-caps {
	text-transform:uppercase;
}
.page-header h1 {
	margin-bottom:32px;
}
/*Home*/
.home main {
	margin:0;
}

.wppsac-post-slider.design-1 .wppsac-post-image-bg  {
	height:652px;
}
@media only screen and (max-width: 600px) {
.wppsac-post-slider.design-1 .wppsac-post-image-bg {
	height:550px;
}
}
.wppsac-post-slider.design-1 .wppsac-post-content-left {
	height:100%;
	width:100%;
	padding:212px 4.4% 0 5%;
}


.wppsac-post-slider .wppsac-post-categories ul.wppsac-post-categories-list li:nth-child(4n+1) a, .wppsac-post-slider .wppsac-post-categories ul.wppsac-post-categories-list li:nth-child(4n+2) a {
	background:transparent;
}
.wppsac-post-slider .wppsac-post-categories ul.wppsac-post-categories-list li a {
	padding:0;
}
.wppsac-post-title, .wppsac-post-content {
	max-width:585px;
}
 .wppsac-post-date::after {
	display:none;
}
.wppsac-post-slider .wppsac-post-categories ul.wppsac-post-categories-list li a {
	font-size:12px;
	letter-spacing: 0.075em;
}
.wppsac-sub-content {
	font-weight:200;
}
.wppsac-post-slider .wppsac-post-categories ul.wppsac-post-categories-list {
	margin: 0 0 14px 0 !important;
}
.wppsac-post-slider h2.wppsac-post-title {
	margin: 5px 0 22px 0 !important;
}
.wppsac-sub-content {
	padding-bottom:42px;
}
.wppsac-post-slider.design-1 .slick-dots {
	margin:0 0 9px 4% !important;
}

.wppsac-post-slider .slick-dots li button {
	border:solid #fff 1px;
	background:transparent !important;
	width:10px !important;
	height:10px !important;
}
.wppsac-post-slider .slick-dots li.slick-active button {
	background:#fff !important;;
}
.home-hero div {
	max-width:585px;
	margin-left:4.4% !important;
}
.wp-block-group {
	margin:136px 4.4% 0 4.4%;
}
@media only screen and (max-width: 699px) {
	.wp-block-group {
	margin:54px 4.4% 0 4.4%;
	}
}
.wp-block-group__inner-container {
	display:flex;
	justify-content: space-between;
	align-items:flex-end;
	margin-bottom:40px;
	flex-wrap:wrap;
}
.wp-block-group h2 {
	text-transform:uppercase;
}
@media only screen and (max-width: 699px) {
	.wp-block-group h2 {
	margin-bottom:35px;
}
}
.wp-block-search label {
	text-transform:uppercase;
	font-size:12px;
	letter-spacing:0.075em;
	font-weight:500;
	margin-bottom:6px;
}
.wppsac-post-slider.design-1 .wppsac-post-image-bg {
	background:#315348 !important;
}
.wppsac-slick-slider-wrp.wppsac-clearfix {
	animation: hero
}
@keyframes hero {
   0%   {opacity:0;}
  100%  {opacity:1;}	
}
/* Animations */
[aos="fade"] {
  opacity: 0;
  transition-property: opacity;
}

[aos="fade"].aos-animate {
  opacity: 1;
}
.wp-block-search input {
	width:260px;
	padding:7px;
}
.wp-block-search button {
	display:none;
}
.post-categories li a {
	margin-right:0.25em;
}


.home-recent-posts {
	margin:0 3.6% 160px 3.6%
}
.home-recent-posts ul {
	
}
@media only screen and (max-width: 699px) {
.home-recent-posts {
	margin:0 3.6% 85px 3.6%;
}
}
.home-recent-post {
	margin: 0 1%;
	width:48%;
}
.home-recent-post ul img {
	height:25.2083vw;
}
.home-recent-posts ul #home-new-recipes, .home-recent-posts ul #home-stories {
	width:31%;
}
@media only screen and (max-width: 699px) {
	.home-recent-posts ul #home-new-recipes, .home-recent-posts ul #home-stories {
	width:100%;
	margin:22px 0;
	}
}
#home-stories {
	margin-bottom:19px;
}
#home-new-recipes a img, #home-stories a img {
	height:16.4583vw;
	object-fit:cover;
}
@media only screen and (max-width: 699px) {
#home-new-recipes a img, #home-stories a img {
	 height:52.3076vw;
	object-fit:cover;
}
}

@media only screen and (max-width: 699px) {
	.home-recent-post {
	width:100%;
	margin:22px 0;
}
}
@media only screen and (max-width: 699px) {
.home-recent-post img {
	  height:52.3076vw;
	object-fit:cover;
}
}
.home-recent-posts ul  {
	display:flex;
	flex-wrap:wrap;
	margin:0;
	padding:0;
}

.home-recent-posts img {
	width:100%;
	object-fit:cover;
}
.post-categories {
	padding:0;
	margin:0;
	display:flex;
}
.home-recent-posts ul li {
	list-style:none;
	text-decoration:none;
}
.post-categories li a {
	text-decoration:none;
	font-family: acumin-pro, sans-serif;
	font-weight:500;
	font-size:12px;
	letter-spacing:0.075em;
	text-transform:uppercase;
	color:#7DB49D;
}
h2.all-caps {
	margin:5px 0 40px 1% !important;
}
@media only screen and (max-width: 699px) {
	h2.all-caps {
	margin:5px 0 10px 1% !important;
}
}
h2 a {
		font-family: ivymode, sans-serif;
	font-size:28px;
	color:#212624;
	line-height:1.21;
	text-decoration:none;
}
.home li h2 {
	margin:4px 0 8px 0;
}
.home-recent-post p {
	line-height: 1.33;
}

#home-about-image {
	min-width:484px;
	max-height:619px;
	height:100%;
}
@media only screen and (max-width: 699px) {
	#home-about-image {
	max-height:375px;
	}
}
@media only screen and (max-width: 1440px) {
	#home-about-image {
	min-width:33.5%;
	}
}

#home-about-image img {
object-fit:cover;
	height:100%;
	max-height:619px;
	object-position:10% 50%;
}

#home-about {
	display:flex;
	height:619px;
	margin-bottom:165px;
}
@media only screen and (max-width: 699px) {
	#home-about {
	margin-bottom:84px;
}	
}

@media only screen and (max-width: 849px) {
	#home-about {
	display:flex;
	flex-wrap:wrap;
	height:auto;
}	
}
#home-about-background-image {
	background-image: url('https://stayathomegal.com/wp-content/uploads/2020/09/Artboard-–-1.png');
background-size:cover;
	background-position:100% 100%;
	background-repeat:no-repeat;
	display:flex;
	flex-direction:column;
	justify-content:center;	
}

#home-about-background-image div {
	width:55%;
	margin-left:8.5%;
}
@media only screen and (max-width: 849px) {
	#home-about-background-image div {
	width:92.8%;
	margin:55px auto;
}
}
#home-about-background-image h2, #home-about-background-image p {
	color:#fff;
}
#home-about-background-image div p {
	margin:32px 0 64px 0;
	font-size:20px;
	font-weight:200;
}
.wppsac-readmorebtn {
	padding: 19px 57px !important;
	text-transform:uppercase;
	letter-spacing:0.075em;
	font-size:14px;
	font-weight:400;
	transition:0.3s;
}
.wppsac-readmorebtn:hover {
	background:#fff !important;
	color:#212624 !important;
}
#learn-more-button {
	padding: 19px 57px;
	border:solid #fff 1px;
	text-transform:uppercase;
	letter-spacing:0.075em;
	color:#fff;
	font-size:14px;
	font-weight:400;
	text-decoration:none;
	transition: 0.3s;
}
#learn-more-button:hover {
	background:#fff;
	color:#315348;
}

#home-newsletter {
		background-image: url('https://stayathomegal.com/wp-content/uploads/2020/09/Group-86-scaled.jpg');
	width:100%;
	height:340px;
	background-size:cover;
	background-position:50% 50%;
	background-repeat:no-repeat;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	margin-bottom:100px;
}
#home-newsletter h2, #home-newsletter p {
	color:#fff;
}
#home-newsletter h2, #our-story-newsletter h2 {
	text-transform:uppercase;
	margin-bottom:12px;
}

/* Instagram */
@media only screen and (max-width: 699px) {
#sbi_17848567532235747, #sbi_18110044138146563, #sbi_17887021882601228, #sbi_17858697463973675 {
	display:none !important;
}
}

.sbi_follow_btn {
	display:none !important;
}
/* Footer */

#colophon {
	background-image: url('https://stayathomegal.com/wp-content/uploads/2020/09/footer-background-scaled.jpg');
	width:100%;
	height:372px;
	background-size:cover;
	background-position:50% 50%;
	background-repeat:no-repeat;
	display:flex;
	align-items:center;
	padding:0 3.6%;
}

@media only screen and (max-width: 949px) {
	#colophon {
	flex-direction:column;
		align-items:flex-start;
		justify-content:center;
		padding-top:50px;
		padding-bottom:50px;
		height:auto !important;
	}
}
#footer-logo-container {
	max-width:337px;
	margin-left:9.5%;
	margin-right:9.5%;
}
#footer-logo-section {
	width:43%;
}
@media only screen and (max-width: 949px) {
	#footer-logo-section {
	display:none;	
	}
}
#footer-blog-section, #footer-about-section, #footer-social-section {
	display:flex;
	flex-direction:column;
	color:#fff;
	width:15%;
	height:136px;
	justify-content:space-between;
	min-width:146px;
	margin:12px 5px;
}
@media only screen and (max-width: 1298px) {
#footer-blog-section {
	height:157px;
	margin-top: 36px;
}
}
@media only screen and (max-width: 949px) {
#footer-blog-section, #footer-about-section, #footer-social-section {
	height:112px;
	}
}
#footer-social-section {
justify-content:flex-start;
}
#social-media a img {
	width:20px;
	margin:15px 10px 0 0;
	max-width:100%;
}
#colophon a {
	text-decoration:none;
	transition:0.1s;
}
#colophon a:hover {
	opacity:0.8;
}

/* Post */
.entry-meta {
	font-size:14px;
	letter-spacing:0.075em;
	margin-top:3px;
	margin-left:2px;
	margin-bottom:30px;
	font-weight:400;
}
.single #page {
	display:flex;
	flex-wrap:wrap;
}

main {
	margin-top: 191px;
}
main .post-thumbnail {
	display:none;
}
.single main, .category main, .search main {
	width:57%;
	max-width:757px;
	display:flex;
	flex-direction:column;
	align-items:center;
	margin-left:auto;
	max-width:600px;
}
@media only screen and (max-width: 1439px) {
	.single main, .category main, .search main {
	margin-left:auto;
}
}
@media only screen and (max-width: 1174px) {
		.single main, .category main, .search main {
width:91.2%;
			margin-right:auto;
}
}
.single h1 {
	font-weight:400;
	margin:4px 0 20px 0;
}
.single p {
	font-weight:300;
	font-size:20px;
	line-height:1.5;
}
.single aside, .category aside, .search aside {
	width:31%;
	display:flex;
	flex-direction:column;
	margin-top: 191px;
	margin-bottom:45px;
	padding-left:131px;
	margin-right:auto;
}
@media only screen and (max-width: 1439px) {
	.single aside, .category aside, .search aside {
		margin: 191px 4.5% 45px 4.5%;
		padding-left:131px;
		width:auto;
		margin-right:auto;
	}
}

@media only screen and (max-width: 1174px) {
		.single aside, .category aside, .search aside {
		display:none;
	}	
}
@media only screen and (max-width: 1174px) {
		.single article {
		max-width:100%;
	}	
}
.single aside section, .single aside div {
		max-width:313px;
	margin-right:auto;
}
#related_posts ul {
	display:flex;
	flex-direction:column-reverse;
	margin:0;
	padding:0;
}
#related_posts h2 {
	letter-spacing:0.075em;
}
#sidebar-item {
	margin-top:42px;
}

#related_posts ul li, .post-categories {
	list-style:none;
}
ul.post-categories {
	display:flex !important;
	flex-direction:row !important;
}
.relatedcontent h3 a {
	text-decoration:none;
	color:#212624;

}
.single article, .single .post-categories {
	max-width:757px;
}
.single .post-categories {
	width:100%;
}
#post-recent-posts {
background: #315348;
	width:100%;
	padding:70px 10.15%;
}
@media only screen and (max-width: 849px) {
	#post-recent-posts {
	padding:70px 1.8%;
}
}
#post-recent-posts h2 {
	color:#fff;	
	margin-left:2.9% !important;
}

#post-recent-posts-post-container  {
	display:flex;
	justify-content:space-between;
}
@media only screen and (max-width: 849px) {
#post-recent-posts-post-container  {
	flex-direction:column;
	width:
	}
}
#post-recent-posts-post-container h3 a {
	color:#fff;
	text-decoration:none;
}
#post-recent-posts-post-container div {
	width:100%;
	margin:0 3.025%;
}
@media only screen and (max-width: 849px) {
#post-recent-posts-post-container div {
	width:auto !important;
	margin:22px 3.025%;
}
}
#post-recent-posts-post-container div img {
		height:79.7vw;
		object-fit:cover;
}

	#post-recent-posts-post-container div img {
		height:14.444vw;
	object-fit:cover;
}
@media only screen and (max-width: 849px) {
#post-recent-posts-post-container div img {
		height:79.7vw;
	    object-fit:cover;
}
}
#post-newsletter {
	width:100%;
	height:340px;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
}

#post-newsletter h2 {
	text-transform:uppercase;
}

#post-recent-posts-post-container div p {
	display:none;
}
.single figure {
	margin:2em 0;
}
.single #mc_embed_signup .button {
	margin:0 !important;
	height:40px !important;
}
.single #mc_embed_signup {
	margin-top:0 !important;
}
.comment-content p {
	margin:2px 0 1em 0;
}
.site-main .post-navigation {
	margin:0 0 3em;
}
.wp-block-image img, .wp-block-image.size-full.is-resized {
	width:100%;
}
/* Contact Page */

.page-id-69 .entry-content {
padding:0 4.4%;
}
#contact-top-section {
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	max-width:1090px;
	margin:0 auto !important;
}
@media only screen and (max-width: 899px) {
	#contact-top-section {
		flex-direction:column-reverse;
		align-items:center;
	}
		#contact-top-section section {
		width:100%;
		margin:2% 0 6% 0;
	}
}
#contact-intro {
	width:59%;
	padding-right:6.3%;
	margin-bottom:144px;
}
.page-id-69 h1 {
	margin-bottom:12px;
	font-weight:400;
}
.page-id-69 #contact-instagram h1 {
	display:none;
}
#contact-intro p {
	margin-bottom:20px;
}
#contact-photo {
	width:41%;
}
.wpforms-field-container label {
	text-transform:uppercase !important;
	font-weight:500 !important;
	font-size:12px !important;
	letter-spacing: 0.075em !important;
}
div.wpforms-container-full .wpforms-form button[type=submit] {
	background-color:transparent !important;
	border:solid #212624 1px !important;
	color:#212624 !important;
	padding:14px 65px !important;
	text-transform:uppercase !important;
	font-weight:500 !important;
	font-size:12px !important;
	letter-spacing: 0.075em !important;
}
div.wpforms-container-full .wpforms-form button[type=submit]:hover {
	background-color:#212624 !important;
	color:#fff !important;
}
#contact-instagram {
	width:100%;
}
#contact-instagram #sb_instagram {
	margin:0;
	width: 100% !important;
}
#sb_instagram {
	padding-bottom:75px !important;
}
.wpforms-field-container {
	width: 86.5% !important;
}
div.wpforms-container-full .wpforms-form .wpforms-field-row.wpforms-field-medium, div.wpforms-container-full .wpforms-form input.wpforms-field-medium {
	max-width:100% !important;
}
.comments-title {
	margin-bottom:30px;
}
/* Our Story */

.page-id-492 main {
	margin-top:150px;
}
.page-id-492 .entry-content {
	display:flex;
	flex-wrap:wrap;
}
@media only screen and (max-width: 1099px) {
	.page-id-492 .entry-content {
	flex-direction:column;
}
}

#our-story-top-left {
	width:34%;
	min-height:100%;
	background-image: url('https://stayathomegal.com/wp-content/uploads/2020/09/img_8864.jpg');
	background-size:cover;
	background-position:0% 20%;
	background-repeat:no-repeat;
}

@media only screen and (max-width: 1099px) {
	#our-story-top-left {
		width:660px;
		margin:0 auto;
		height:43vw;
	}
}
@media only screen and (max-width: 699px) {
	#our-story-top-left {
	height:90vw;
}
}
@media only screen and (max-width: 799px) {
	#our-story-top-left {
	width:90%;
		margin: auto;
	}
}
#our-story-top-right {
	width:66%;
	display:flex;
	flex-direction:column;
	justify-content:center;	
}
@media only screen and (max-width: 1099px) {
	#our-story-top-right {
		width:100%;
		margin:12% auto;
	}
}
@media only screen and (max-width: 1399px) {
	#our-story-top-right, #our-story-bottom-left {
		align-items:center;
	}
}
#our-story-top-right p {
	font-family: ivymode, sans-serif;
	font-size:36px;
	line-height:1.56;
	color:#315348;
	font-weight:400;
	margin: 143px 0 143px 12%;
	max-width:660px;
}
@media only screen and (max-width: 1399px) {
	#our-story-top-right p {
		font-size:2.2873vw;
		margin:143px 5%;
	}	
}
@media only screen and (max-width: 1099px) {
	#our-story-top-right p {
		margin:-56px auto;
	}	
}

@media only screen and (max-width: 799px) {
	#our-story-top-right p {
		font-size:24px;
		margin:0 auto;
		width:91.8%;
	}	
}
#our-story-light-green-text {
	color:#7DB49D;
	font-weight:700;
}

#our-story-bottom-left {
	width:57%;
	background:#E8F2EE;
}
@media only screen and (max-width: 1399px) {
	#our-story-bottom-left {
	display:flex;
	justify-content:center;
}
}
@media only screen and (max-width: 1099px) {
	#our-story-bottom-left {
		width:100%;
	}
}
#our-story-bottom-left-content-container {
	max-width:535px;
	margin: 111px 0 74px 10.8%;
}
@media only screen and (max-width: 1399px) {
	#our-story-bottom-left-content-container {
	margin:111px 5% 74px 5%;
	}
}
@media only screen and (max-width: 1099px) {
	#our-story-bottom-left-content-container {
		max-width:660px;
		margin:12% 5% 74px 5%;
		
	}
}
#our-story-bottom-left-content-container h2 {
	margin-bottom:27px !important;
}
#our-story-bottom-left-content-container p {
	font-size:20px;
	font-weight:300;
	
}
#our-story-bottom-left-content-container h3 {
	font-size:20px;
	margin-top:65px;
}

#our-story-bottom-right {
	width:43%;
	background-image: url('https://stayathomegal.com/wp-content/uploads/2020/09/img_6527-1.jpg');
		background-size:cover;
	background-position:50% 100%;
	background-repeat:no-repeat;
}
@media only screen and (max-width: 1099px) {
	#our-story-bottom-right {
		width:100%;
	}
}
#our-story-newsletter {
	height:341px;
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center;
	margin:0 auto;
}

/*Category Pages (recipes, stories, spreadlove) and Search*/
.category #page, .search #page {
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
}
.category main, .search main {
	width:57%;
	display:flex;
	flex-direction:column;
	align-items:flex-start;
	margin-left: auto;
	margin-bottom: 27px;
	max-width:600px;
	
}
@media only screen and (max-width: 1329px) {
	.category main, .search main {
	margin-left:auto;
}
}

@media only screen and (max-width: 1099px) {
		.category main, .search main {
	margin-left:auto;
			margin-right:auto;
			width:91.2%;
}
}
.search main {
	margin-left:auto;
			margin-right:auto;
			width:91.2%;
}

.search .entry-summary {
	margin-top:0px;
}
.search .post-categories {
	margin:-2px 0 4px 0;
}

@media only screen and (max-width: 1329px) {
	.category aside, .search aside {
	width:35%;
	margin-right:auto
}
}

@media only screen and (max-width: 1099px) {
	.category aside, .search aside {
	display:none;
}
}
.category aside section, .category aside div, .search aside section, .search aside div {
		max-width:313px;
	margin-left:auto;
	margin-right:auto
}
.category article, .category .post-categories, .search article, .search .post-categories {
	max-width:757px;
}
.category .entry-header a img, .search .entry-header a img {
	height:27.0138vw;
	object-fit:cover;
}
@media only screen and (max-width: 599px) {
	.category .entry-header a img, .search .entry-header a img {
	height:51.4vw;
	object-fit:cover;
}
}
.category .post, .search .post {
	margin:0 0 2.5em;
}
.relatedthumb a img {
	height:14.4444vw;
	object-fit:cover;
}

.search-form label {
	text-transform:uppercase;
	font-size:12px;
	letter-spacing:0.075em;
	font-weight:500;
	margin-bottom:6px;
}
.search-form label input {
	width:313px;
	padding:7px;
}
input.search-submit {
	display:none;
}
#related_posts h2.all-caps {
	margin-bottom:0 !important;
}

/* Style pagination */
.navigation ul {
	list-style:none;
	display:flex;
	margin:0;
	padding:0;
	width:100%;
}
.navigation.posts-navigation {
	display:none;
}
.navigation ul li {
	margin-right:5px;
}
/* Casa Figlia */
#post-485 {
margin:0 4%;
}

/* Mail Chimp form */
#mc_embed_signup {
	background:transparent !important;
	margin-top:15px !important;
}
#mc_embed_signup input.email {
		min-height:40px !important;
		min-width:285px !important;
	border-radius: 0px !important;
	margin:0 !important;
	}
#mc_embed_signup input {
	border-top: solid 1px #315348 !important;
	border-left: solid 1px #315348 !important;
	border-bottom: solid 1px #315348 !important;
	border-right:none !important;
}

#mc_embed_signup_scroll {
	display:flex !important;
}
#mc_embed_signup .button {
	background:#212624 !important;
	border-radius:0 !important;
	border:none  !important;
	height:38px !important;
	width:40px !important;
	min-width:40px !important;
	margin:1px 0 0 0  !important;
	color:transparent !important;
	background-image: url('https://stayathomegal.com/wp-content/uploads/2020/10/white-arrow.svg') !important;
	background-repeat:no-repeat !important;
	background-position:50% 50% !important;
}
.page-id-492 #mc_embed_signup .button {
	border:solid 1px #315348 !important;
	background:#315348 !important;
	background-image: url('https://stayathomegal.com/wp-content/uploads/2020/10/white-arrow.svg') !important;
	background-repeat:no-repeat !important;
	background-position:50% 50% !important;
	margin:0 !important;
	height:40px !important;
}
/*Casa Figlia */
.page-id-485 article figure {
	margin:1em auto;
}