/*
 Theme Name:   Otto's Granary
 Description:  Otto's Granary
 Author:       Mainstreethost
 Author URI:   https://www.mainstreethost.com
 Template:     storefront
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

body, h1, h2, h3, h4, h5, h6{
	color: #5c6b80;
	font-family: Century Gothic;
}
select{
	font-family: Century Gothic;
}
.col-full{
	max-width: 80.499em;
}

/* HEADER */
.container {
    max-width: 1090px;
}
.topbar_wrap{
	background: #f7b519 none repeat scroll 0 0;
	border-bottom: 2px solid #000;
}
.topbar-item{
	margin-bottom: 0;
}
#masthead{
	background: transparent url('images/summer.jpg') no-repeat scroll center 10%/cover;
	/* background-position: top !important; */
	
}
 .term-coffee #masthead,.product_parent_cat_coffee #masthead{
    background:transparent url('images/CoffeePageBanner.jpg') no-repeat scroll center/cover;
}

 .term-tea #masthead,.product_parent_cat_tea #masthead{
    background:transparent url('https://ottosgranary.com/wp-content/themes/ottosgranary/images/TeaPageBanner.jpg') no-repeat scroll center/cover;
}
 .term-chocolates #masthead,.product_parent_cat_chocolates #masthead{
    background:transparent url('https://ottosgranary.com/wp-content/themes/bones/library/images/godiva.jpg') no-repeat scroll center/cover;
}
.term-gifts #masthead,.product_parent_cat_gifts #masthead{
    background:transparent url('https://ottosgranary.com/wp-content/themes/ottosgranary/images/GiftsPageBanner.jpg') no-repeat scroll center/cover;
}
.blog #masthead, .post-template-default #masthead{
    background: url('https://ottosgranary.com/wp-content/themes/bones/library/images/BlogHeader.png');
    background-size: auto auto;
    background-size: cover;
}

.masthead_inner_wrap .col-full:first-child {
    display: flex;
    align-items: center;
}

.masthead_inner_wrap{
	background: rgba(0,0,0,.33);
	display: block;
	margin: 0 auto;
	padding: .33em;
}
.site-header{
	padding-top: 0;
}
.storefront-handheld-footer-bar ul li.cart .count {
    background-color: #000!important;
    border-color: #000!important;
}


#custom_html-4{
	margin-bottom: 0;
}
.homepage_banner_section_5{
	display: grid; 
	grid-template-columns: repeat(5, 1fr);
	grid-column-gap: 20px;
	margin-bottom: 20px;
	margin-top: 30px;
}

.homepage_banner_section_5 > div > a > img{
	border: 3px solid #eee;
}
.homepage_banner_section_5 > div > a > img:hover{
	border: 3px solid #ccc;
}
.homepage_banner_section_5:before, .homepage_banner_section_5:after{
	content: none;
}

.nav-menu > li > a{
	text-transform: uppercase;
	text-shadow: 1 1px 1px #000;
}
.nav-menu .sub-menu a, .nav-menu .sub-menu li:hover a{
	color:#333333;
}

.main-navigation ul.menu, .main-navigation ul.nav-menu{
	margin-left: 0;
}
.main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a{
	padding: 0;
	padding-right: 10px !important;
}
.main-navigation ul.menu > li.menu-item-has-children > a::after, .main-navigation ul.menu > li.page_item_has_children > a::after, .main-navigation ul.nav-menu > li.menu-item-has-children > a::after, .main-navigation ul.nav-menu > li.page_item_has_children > a::after{
	margin-left: 4px;
}
.toggled > .handheld-navigation{
	background: #FFF;
	padding: 20px;
}
.handheld-navigation li{
	margin-bottom: 5px;
	border-bottom: solid #CCC 1px;
	padding-bottom: 15px;
}

/* CONTENT */
h1, h3, h4, h5, h6, .widget-title{
	font-family: Century Gothic;
}
.stock.out-of-stock::before, .stock.in-stock::before {
    content: none;
}
.woocommerce.woocommerce-page .instock .button, .add_to_cart_button, .gform_button  {
	border-radius: 3px !important;
    background-color: #f7b519 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    transition: .25s ease-in !important;
}
.woocommerce.woocommerce-page .instock .button:hover, .add_to_cart_button:hover, .gform_button:hover{
    background-color: #ad8b00 !important;
	color: #FFF !important;
	text-decoration: none !important;
	border: 2px solid #ad8b00 !important;
}
.size-woocommerce_thumbnail{
	/* 
	min-height: 234px;
	min-width: 234px;
	*/
}
.woocommerce-loop-product__title{
	min-height: 58px;
}

.storefront-sticky-add-to-cart__content .size-woocommerce_thumbnail{
	min-height: 0;
	min-width: 0;
}

/* HOMEPAGE */
.homepage_banner{
    text-align: center;		
}
.homepage_banner h4 {
    color: #fff;
    font-size: 2em;
    font-weight: 400;
    text-align: center;
    text-transform: none;
    font-family: Century Gothic;
    border-bottom: 2px solid #fff;
    margin: 2.5em auto 0;
    text-shadow: 4px 10px 20px #000;
}
.homepage_banner p {
    color: #fff;
    font-size: 1.25em;
    font-weight: 500;
    line-height: normal;
    margin: 0 auto;
    padding: 0;
    text-transform: uppercase;
    text-shadow: 2px 3px 2px #000;
}
.homepage_banner form{
	margin: 2.2em 0;
	padding: 0 10px;
}
.homepage_banner_widget{
    text-align: center;	
}
.homepage_banner_widget > section > h3{
	font-family: Century Gothic;
    text-transform: uppercase;
    letter-spacing: .015em !important;
    font-weight: 400 !important;
    font-size: 2.25em !important;
    margin: 0 auto;
	padding: 0 !important;
	border-bottom: 2px solid #444 !important;
}
.page-template-template-homepage .entry-content, .page-template-template-homepage .entry-header{
	max-width: 100%;
}
.page-template-template-homepage .entry-header h1{
	font-size: 2.5em;
}
.page-template-template-homepage .entry-content{
	text-align: left;
}
.page-template-template-homepage .entry-content > h2{
	text-transform: uppercase;
	font-size: 1.6em;
}

.mt-woofeatured-slider .slick-dots li button:before{content:'';background:#969696;border-radius:15px;width:15px;height:15px}
.mt-woofeatured-slider .slick-dots{margin:1em 0;bottom:-60px}
.mt-woofeatured-slider .mt-product-link{display:block;margin:0 5px;position:relative}
.mt-woofeatured-slider .mt-product-image{width:100%;max-height:250px;object-fit:cover}
.mt-woofeatured-slider .mt-product-title{position:absolute;bottom:0;left:0;right:0;text-align:center;background:rgba(0,0,0,0.5);padding:20px 0;font-size:14px;text-transform:uppercase;font-weight:700}
.mt-woofeatured-slider.slick-dotted.slick-slider{margin-bottom:60px}

/* SIDEBAR */
/* .single-product #primary { */
#primary {
    width: 100% !important;
	margin-right: 0;
}
/* .single-product #secondary { */
#secondary {
    display: none !important;
}
.storefront-handheld-footer-bar ul li a::before {
  background-color: #f7b519;
    
}
/* CONTENT PILLAR STYLES */
	.middle_section{
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 1fr 1fr;
	}
	.first_row .one_side, .second_row .two_side{
		float: left;
	}
	.first_row .two_side, .second_row .one_side{
		float: right;
	}
	.one_side, .two_side{
		width: 50%;
		min-height: 500px;
	}
	.section_wrapper{
		  display: grid;
		  height: 100%;
		  padding: 20px;
		  min-height: 500px;
	}
	.section_header, .section_content{
		margin: auto;
		padding: 40px;
	}
	.section_button_link{
		margin: auto;
		margin-top: 20px;
	}
	.section_button{
		padding: 20px;
	}

/* FOOTER */
.site-footer{
	color: #f8f9fa;
}
#colophon{
	background: #000;
	line-height: 1.3;
}
#custom_html-2{
	padding-top: 60px;
}
#custom_html-2 p{
	font-size: 22px;
}
footer .widget-title{
	color: #FFF;
	padding: 0 !important;
	border-bottom: 2px solid #444 !important;
}
.copyright{
	text-align: center;
	color: #FFF;
}

.footer-link, .copyright a{
	color: #f6cd27 !important;
}
.gfield_required{
	color:  #f6cd27 !important;
}
.woocommerce-store-notice__dismiss-link{
	display: none !important;
}

.homepage_banner .col-full > div:hover {
    opacity: 0.9;
    transition:250ms ease;
}
body .site-header-cart .cart-contents {
	padding:10px;
	line-height:40px;
}
body .site-header-cart .cart-contents::after {
	line-height: 40px;
}
section#woocommerce_product_search-4 {
	padding:10px 0;
	margin:0;
}
a.cart-contents:hover, .site-header-cart:hover > li > a {
	background: #f2f2f2;
	color:#515151;
}
.site-header-cart .cart-contents .count {
    /* color: #414141; */
    font-weight: bold;
}

.site-header-cart {
    border-left: 1px solid #d89700;
    border-right: 1px solid #d89700;
}
section#woocommerce_product_search-4 form {
	margin: 0;
}


.site-header .custom-logo-link img {
    max-width: 100%;
}

.woocommerce-active .site-branding {
    max-width: 50%;
}
.storefront-primary-navigation {
    float: left;
    width: 50%;
}
.mobile-banner {
    margin-top: 1.5em;
}

.mobile-banner a {
    color: #888;
}
@media only screen and (max-width: 767px) {
    
     .homepage_banner_section_5 {
        display: none;
    }
    
    #masthead {
        background: none;
    }

    	
}
 .term-coffee #masthead,.product_parent_cat_coffee #masthead{
    background:none;
}

 .term-tea #masthead,.product_parent_cat_tea #masthead{
     background: none;
}

 .term-chocolates #masthead,.product_parent_cat_chocolates #masthead{
     background: none;
}
.term-gifts #masthead,.product_parent_cat_gifts #masthead{
    background: none;
}
.blog #masthead, .post-template-default #masthead{
    background: none;
}
    
	#site-navigation button.menu-toggle:after, #site-navigation button.menu-toggle:before, #site-navigation button.menu-toggle span:before {
    background-color: #000000;
}
#site-navigation .handheld-navigation .dropdown-toggle { color: #000;}
#site-navigation button.menu-toggle, #site-navigation a {
    color: #000;
    border-color: #000;
}
	.desktop-banner {
		display: none;
	}
	#custom_html-3{
		height: 0;
	}
	
	.homepage_banner_section_5 div{
		text-align: center;
	}
	.homepage_banner_section_5 img{
		display: inline;
	}
		.copyright{
		margin-bottom: 80px;
	}
	.main-navigation {
		height: 40px;
		position: relative;
	}
	.handheld-navigation {
		width: 71vw;
		right: 0;
		position: absolute;
		top: 44px;
	}
	.handheld-navigation .sub-menu li {
		padding: 0;
		border-bottom: 0;
		margin-bottom: 0;
	}

	.handheld-navigation .sub-menu.toggled-on {
		margin: 15px 0;
	}

	.handheld-navigation .sub-menu li a {
		background: #f7b519;
		padding: 10px;
		margin-bottom: 10px;
	}
	.menu > .menu-item > a {
		line-height: 44px;
	}

	.menu > .menu-item {padding-bottom:0;}

@media only screen and (min-width: 768px) {
    
    #masthead{
	background: transparent url('images/summer.jpg') no-repeat scroll center 10%/cover;
	/* background-position: top !important; */
	
}
 .term-coffee #masthead,.product_parent_cat_coffee #masthead{
    background:transparent url('images/CoffeePageBanner.jpg') no-repeat scroll center/cover;
}

 .term-tea #masthead,.product_parent_cat_tea #masthead{
    background:transparent url('https://ottosgranary.com/wp-content/themes/ottosgranary/images/TeaPageBanner.jpg') no-repeat scroll center/cover;
}
 .term-chocolates #masthead,.product_parent_cat_chocolates #masthead{
    background:transparent url('https://ottosgranary.com/wp-content/themes/bones/library/images/godiva.jpg') no-repeat scroll center/cover;
}
.term-gifts #masthead,.product_parent_cat_gifts #masthead{
    background:transparent url('https://ottosgranary.com/wp-content/themes/ottosgranary/images/GiftsPageBanner.jpg') no-repeat scroll center/cover;
}
.blog #masthead, .post-template-default #masthead{
    background: url('https://ottosgranary.com/wp-content/themes/bones/library/images/BlogHeader.png');
    background-size: auto auto;
    background-size: cover;
}
    
    
	.mobile-banner {
		display: none;
	}
	body.woocommerce-active .site-header .main-navigation{
		font-size: 1.2em;
		width:100%;
	}
	.topbar div.topbar-item.topbar-message {
		float: left;
	}
	.topbar-message {float:left;}
	body.woocommerce-active .storefront-primary-navigation {
		width: 75%;
		float: left;
		clear:none;
		    text-align: right;
		    margin-top: 15px;
	}
	body.woocommerce-active .site-header .site-branding {
		width: 22%;
		margin-right:3%;
	}

		ul.products li.product {
		min-height: 486px;
	}
	.woocommerce-loop-product__title{
		/* min-height: 90px; */
	}
}