/* move overlay text down in home page banner - 3574938-zen-EG */
@media screen and (min-width: 768px) {
    .home .hero.with-featured-image .entry-content {
        position: relative;
        top: 160px;
    }
}

/* footer background white */ #tertiary { background: #fff; color: #000; } #tertiary a { color: #000; }

/*change all paragraph font color to black*/
p {
  color: black;
}
/* Reduce font size on navigation menu */
.navigation-classic .primary-navigation .menu-primary > ul > li > a {
	font-size: 1em;
}
.entry-title {
  font-size: 1.800em;
}

@media screen and (min-width: 1020px){
.footer-navigation ul {
text-align: center;
}
}
.footer-navigation ul li a{
font-size: 12px;
font-weight: normal;
}

.site-footer a { text-transform: none;}

/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
body {
	background-color: white;
}

.front-page-widget {
	margin: auto !important;
	float: none;
}

.post-39 p {
	text-align: center;
}

a.button.minimal {
	background-color: #fff;
	border: #fff;
}

.hero .with-featured-image {
	min-height: 900px;
}

.hero.with-featured-image, body[class*="front-page"] .hero {
	padding: 180px 0;
}

/* Makes every widget in the Footer widget area expands to 100% */
#tertiary .footer-widget {
	width: 100%;
	text-align: center;
}

.front-page-widget {
	text-align: center;
}

#tertiary .footer-widget img {
	max-width: 100%;
}

#text-8.widget.widget {
	background: black;
}

/* footer widgets 2 columns */
#tertiary .footer-widget {
    width: 45%;
    float: left;
    box-sizing: border-box;
    margin-right: 5%;
    clear:right;
}

#tertiary .footer-widget:nth-child(2n) {
    margin-right:0;
    float:right;
}

#media_image-9 {
    padding-top:55px;

}

@media (min-width: 1230px) {
  .content-area {
    width: 100%;
  }
}

@media (min-width: 1020px) {
  .content-area {
    width: 100%;
  }
}

/*Center align the Hours & Contact widget on the Homepage*/
#tertiary .footer-widget {
    width: 100%;
    margin-right: 0;
    text-align: center;
}

#tertiary .footer-widget iframe {
    margin: 0 auto;
}
/*Make blog page grid*/
.blog article.hentry {
    float: left;
    width: 33%;
    padding: 0 15px;
}

.blog article.hentry header h2.entry-title {
    font-size: 1.8em;
}
.blog #infinite-handle {
    clear: both;
}

/*Responsive grid for blog*/
@media screen and (min-width: 1025px){
    .blog article.hentry:nth-child(4n+1){
        clear: both;
    }
}
@media screen and (max-width: 1024px){
    .blog article.hentry {
        width: 50%;
    }
    .blog article.hentry:nth-child(2n){
        clear: both;
    }
}
@media screen and (max-width: 767px){
    .blog article.hentry {
        width: 100%;
        float: none;
    }
}