/*
Theme Name: Good Food Child
Theme URI: http://cmsmasters.net/good-food-child/
Author: cmsmasters
Author URI: http://cmsmasters.net/
Description: Good Food Child Theme
Template: good-food
Version: 1.0.0
License:
License URI:
Text Domain: good-food-child
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/
.mid_nav > li > a {
    padding: 0 32px;
}
.divERSHeadItems, .ERSIngredients{
	max-width:65%;
}
.home_about .wp-caption.alignleft{
    margin-right: 5px;
    margin-bottom: 0;
    padding: 9px 6px 0;
}
.home_about .wp-caption .wp-caption-text{
    font-size: 12px;
    padding: 8px 0;
}
.cmsmasters_dropcap {
    margin: 8px 33px 10px 28px;
}
.cmsmasters_quote_content p:first-of-type {
	display: none;
}
.cmsmasters_quote_content p:last-child {
	display: none;
}
.header_mid {
	background: #ffffff;
}
.header_mid_inner_cont{
	box-shadow:none;
}
.header_bot .header_bot_outer {
	background: #fff;
}
.categories-page {
    margin-bottom: 40px;
}
.cat-divider-top{
	border-bottom-width: 1px;
	border-bottom-style: solid;
	margin-top: 20px;
	margin-bottom: 0px;
	text-align: left;
margin-top: 12px;
margin-bottom: 12px;
}
.cat-divider-bottom{
	border-bottom-width: 1px;
	border-bottom-style: solid;
	margin-top: 0px;
	margin-bottom: 0px;
	text-align: left;
margin-top: 12px;
margin-bottom: 12px;
}
.category-grid .mycontainer {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.category-grid .image {
  display: block;
  width: 100%;
  height: auto;
}

.category-grid .overlay {
  position: absolute;
  bottom: 0;
  top:0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,0.6);
  opacity:0;
  width: 100%;
  height:100%;
  transition: .5s ease;
}

.category-grid .mycontainer:hover .overlay {
  opacity:1;
}

.category-grid .text {
	color: white;
	font-size: 24px;
	position: absolute;
	overflow: hidden;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -52%);
	-ms-transform: translate(-50%, -50%);
	width: 100%;
	text-align: center;
	font-family: 'Oswald', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    line-height: 30px;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}
.cmsmasters_footer_default .social_wrap a {
    font-size: 30px;
    line-height: 14px;
    width: 46px;
    height: 46px;
}

.page-archive .content .entry {
    padding-bottom: 20px;
}

.page-archive .entry-content ul > li {
    list-style-type: none;
}

.yearly-archives ul li::before{
    content: none;

}
.yearly-archives {
    margin: 40px 0;
}

.yearly-archives ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 0;
    margin-left: 0;

    -ms-flex-pack: distribute;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-around;
}

.yearly-archives li {
    width: 33.33333333%;
    text-align: center;
    margin-bottom: 20px;
}

.yearly-archives li:last-child {
    margin-right: auto;
}

.year-image img {
    width: 320px;
    height: 230px;
    border: 3px solid #E9633B;
    vertical-align: top;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    max-width: none;
}

.year-image a:hover img {
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
}

.year {
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 10;
    font-size: 32px;
}
.mask {
    width: 320px;
    background: rgba(0,0,0,0.4);
    position: absolute;
    height: 230px;
    display: inline-block;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    z-index: 9;
}
.mask:hover{
    background: rgba(0,0,0,0.1);
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
    z-index: 9;
}
.cmsmasters_open_post .cmsmasters_post_cont_info{
    border-top-width: 1px;
    border-top-style: solid;
    border-bottom: none;
    padding: 20px 0 0 0;
    margin-top: 30px;
}
.share_posts {
    padding: 20px 0 0;
}
.cmsmasters_open_post_nowrap{
    width: 100%;
}
.pibfi_pinterest{
    display: block;
}
@media only screen and (max-width: 1200px) {
    .yearly-archives ul {
        flex-direction: column;
        -webkit-box-direction: normal;
        -webkit-box-orient: vertical;
        -ms-flex-direction: column;
    }

    .yearly-archives li {
        margin-bottom: 40px;
    }

    .yearly-archives li:last-child {
        margin-bottom: 0;
    }
}