/*
Theme Name:     Feeding Liverpool (Make Child)
Author:         Mark Jones
Author URI:     http://www.jones.mn
Template:       make
Version:        1.0
*/

@import url("../make/style.css");
@import url("https://use.typekit.net/qnc0xir.css");
@import url("css/tabs.css");

/* colours

green		93C356
mid-green	47944C
bright-green	61C554
grey-green	CFD3C8
dark grey	686C5E

*/
/* Fonts licensed via MyFonts */
@font-face {
    font-family: 'magazine_grotesque';
    src: url('fonts/magazinegrotesque-regular-webfont.woff2') format('woff2'),
         url('fonts/magazinegrotesque-regular-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;

}

@font-face {
    font-family: 'magazine_grotesque';
    src: url('fonts/magazinegrotesque-semibold-webfont.woff2') format('woff2'),
         url('fonts/magazinegrotesque-semibold-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Cooper Black';
    src: url('fonts/cooper-black.woff2') format('woff2'),
         url('fonts/cooper-black.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


*:not(.fa, .fas, .fab, .ab-icon)
	{ font-family: Inter, Helvetica, Arial, sans-serif !important; }


.page-id-1472 *:not(.fa, .fas, .fab, .ab-icon),
.parent-pageid-1472 *:not(.fa, .fas, .fab, .ab-icon),
.page-id-1482 *:not(.fa, .fas, .fab, .ab-icon),
.parent-pageid-1482 *:not(.fa, .fas, .fab, .ab-icon),
.page-id-1489 *:not(.fa, .fas, .fab, .ab-icon),
.page-id-1511 *:not(.fa, .fas, .fab, .ab-icon),
.page-id-1520 *:not(.fa, .fas, .fab, .ab-icon),
.page-id-1546 *:not(.fa, .fas, .fab, .ab-icon),
.page-id-1551 *:not(.fa, .fas, .fab, .ab-icon),
.page-id-1559 *:not(.fa, .fas, .fab, .ab-icon),
.page-id-1563 *:not(.fa, .fas, .fab, .ab-icon),
.page-id-1571 *:not(.fa, .fas, .fab, .ab-icon),
.page-id-1578 *:not(.fa, .fas, .fab, .ab-icon),
.page-id-2916 *:not(.fa, .fas, .fab, .ab-icon)
	{ font-family: magazine_grotesque, Helvetica, Arial, sans-serif !important; }	


/* QoG page */
.page-id-3265 h1, .page-id-3265 h2, .page-id-3265 h3, .page-id-3265 h4
	{ font-family: "Cooper Black", serif !important; }
.page-id-3265 .builder-section-banner.has-background { padding: 0; }

.custom-logo, .site-header-main, li.menu-item, .ttfmake-button, .site-main .gform_wrapper .gform_footer input.button, button, button:hover, input[type="button"], input[type="reset"], input[type="submit"], .pt-cv-readmore, a, a:hover { -webkit-transition: 0.3s ease-in-out; transition: 0.3s ease-in-out; }

/* h1, h2, h3, h4, h5, h6, .site-content, .site-content p, .site-navigation .menu .current_page_item > a, .site-navigation .menu .current-menu-item > a, .site-navigation .nav-menu .current_page_item > a, .site-navigation .nav-menu .current-menu-item > a */

h3, h4, h5, h6 { color: #1b864a; }
h1, h2, h3.builder-text-section-title, .pt-cv-view .pt-cv-title a { color: #2c363f; font-weight: 500 !important; }
h3 { font-weight: 500 !important; }
h4, h5, h6, section.light-text { font-weight: 300; }

button a, button a:hover { color: #fff; }

/* Header */
.site-header-main { padding: 22px 0; padding: 2.2rem 0; }
a.custom-logo-link { margin-bottom: 0; }
form.search-form { margin: 0 0 10px 0; margin: 0 0 1rem 0; }
.header-bar a, .header-bar .menu li a { text-decoration: underline; }
.header-bar a:hover, .header-bar .menu li a:hover { text-decoration: none; }
// .header-right { max-width: 75%; }
.header-right div { display: inline-block; }
.header-right .site-navigation div { display: block; }
.header-right div button { line-height: 1.2; }
.header-right input[type=search] { background-color: #f8f8f8; }
.header-navigation .fa-search:before { float: right; padding: 0.25em 0.5em; }

#shiftnav-toggle-main { margin-top: 42px !important; }
#shiftnav-toggle-main button { border-radius: 0; }

.entry-title { margin-top: 32px; margin-top: 3.2rem; }

/* Homepage */
// .home .site-header-main { background: rgba(255,255,255,0.4); border-bottom: 0; }
.builder-section-banner .cycle-prev:before, .builder-section-banner .cycle-next:before, .ttfmake-shortcode-slider .cycle-prev:before, .ttfmake-shortcode-slider .cycle-next:before { color: #93c356; }

/* Sections */
.content-position-left .builder-banner-content { width: 75%; }
section.map-banner .builder-banner-inner-content img { width: 1em; height: 1em; margin-right: 11px; margin-right: 1.1rem; }
body:not(.home) .builder-banner-inner-content h2, 
section:not(.no-green) .builder-banner-inner-content p
	{ background: #93C356; color: #fff; padding: 0.5em; display: inline-block; font-weight: 700; font-size: 34px; margin: 0.5em 0; display: table; }
section.has-background { background-blend-mode: difference; }
section.has-background a { color: #47944c; }
section.has-background a:hover { color: #181818; }
section.has-background button, button.custom-map-control-button { background-color: #fff; border: 1px #2c363f solid; }
section.has-background button a, button.custom-map-control-button { color: #2c363f; }
.builder-section-text.has-background { padding-top: 32px; padding-top: 3.2rem; }

section.overlay-banner .builder-banner-inner-content { top: 0; }

.builder-banner-inner-content a,
.builder-banner-inner-content a:hover,
section.white-text, section.white-text h3,
section.white-text a:hover,
section.white-text .pt-cv-view .pt-cv-title a
	{ color: #fff; }
section.white-text a { color: #CFD3C8; }
section.red-links a { color: #5A1213; }
section.red-links a:hover { color: #E53D35; }
section.content-centre { text-align: center; }

.builder-banner-inner-content a:hover { text-decoration: underline; }
.builder-text-content li { margin-bottom: 1em; }

/* CV */
.pt-cv-wrapper .h1, .pt-cv-wrapper .h2, .pt-cv-wrapper .h3, .pt-cv-wrapper .h4, .pt-cv-wrapper .h5, .pt-cv-wrapper .h6, .pt-cv-wrapper h1, .pt-cv-wrapper h2, .pt-cv-wrapper h3, .pt-cv-wrapper h4, .pt-cv-wrapper h5, .pt-cv-wrapper h6 { line-height: 1.25 !important; margin-top: 0.5em !important; }
.pt-cv-single-item-grid a.pt-cv-href-thumbnail { max-width: 50%; display: block; }
.pt-cv-single-item-grid .pt-cv-colwrap { padding: 0 22px; padding: 0 2.2rem; }
.pt-cv-single-item-grid h3.pt-cv-title { margin-bottom: 22px; margin-bottom: 2.2rem; }
.pt-cv-single-item-grid a.pt-cv-readmore { margin-top: 22px; margin-top: 2.2rem; }
#pt-cv-view-ac47da56st .pt-cv-ifield img { background-color: rgba(147, 195, 86, 0.1); }

/* Post Styles */
article.category-emergency-food .entry-meta,
article.category-christmas .entry-meta,
article.category-community-food-space .entry-meta,
article.category-pantry .entry-meta,
article.category-past-events .entry-meta,
article.category-members .entry-meta,
article.category-campaigns .entry-meta
 { display: none; }
.post p img { margin-bottom: 22px; margin-bottom: 2.2rem; }
.category-past-projects header.entry-header { display: none; }
p.block-para { padding: 22px; padding: 2.2rem; margin: 22px 0; margin: 2.2rem 0; background-color: rgba(226, 243, 240, 1); color: #686c5e; }

.builder-enabled article.post { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }

figure.entry-thumbnail { max-width: 33.33%; margin-bottom: 11px; margin-bottom: 1.1rem; }
.category-members figure.entry-thumbnail { display: none; }

/* Testimonials */
blockquote { padding: 0; }
blockquote:before { font-family: "Font Awesome 5 Free"; content: '\f10d'; font-size: 2em; float: left; color: #93c356; font-weight: 300; line-height: 1.2; }

blockquote p { margin: 0 0 0 2.5em; font-size: 1em; line-height: 1.3em; }
blockquote cite { font-style: italic; margin: 5.5px 0; margin: 0.55rem 0; }
blockquote cite:before { margin-right: 0.5em; }

/* Map */
.acf-map {
	width: 100%;
	height: 0;
	border: #ccc solid 1px;
	margin: 20px 0;
	padding-bottom: 75%;
//	display: none;
}

.acf-map img {
	max-width: inherit !important;
	background: none !important;
	border: none;
	padding: 0;
}

.entry code {
	display: none;
}

.entry .acf-map {
	display: block;
}

button.custom-map-control-button, a.map-button { margin-bottom: 2em; }

/* Filters */
#pt-cv-view-01ad6e8sk0 .pt-cv-title,
#pt-cv-view-01ad6e8sk0 .pt-cv-content,
#pt-cv-view-e877a5d1cz .pt-cv-title,
#pt-cv-view-e877a5d1cz .pt-cv-content
	{ display: inline-block; } 
#pt-cv-view-01ad6e8sk0 .pt-cv-title,
#pt-cv-view-e877a5d1cz .pt-cv-title
	{ width: 74%; }
#pt-cv-view-01ad6e8sk0 .pt-cv-content,
#pt-cv-view-e877a5d1cz .pt-cv-content
	{ width: 25%; text-align: right; }
#pt-cv-view-01ad6e8sk0 .pt-cv-content-item,
#pt-cv-view-e877a5d1cz .pt-cv-content-item
	{ border-bottom: 1px #888 solid; margin-top: 1.5em; }
#pt-cv-view-01ad6e8sk0 .pt-cv-content-item:last-child
#pt-cv-view-e877a5d1cz .pt-cv-content-item:last-child
	{ border-bottom: 0; }
#pt-cv-view-01ad6e8sk0.cvp-lfres,
#pt-cv-view-e877a5d1cz.cvp-lfres
	{ background: white; padding: 0 32px; padding: 0 3.2rem; }

.pt-cv-food-filter .cvp-live-filter .btn:nth-child(2) { display: none; }
.pt-cv-food-filter .cvp-live-filter .btn { width: 16.66%; }
.pt-cv-food-filter .cvp-live-filter.cvp-button input[type=radio]:checked~div { background-color: transparent; color: #47944c; }
.pt-cv-food-filter .cvp-live-filter.cvp-button input~div { width: 100px; height: calc(100px + 2em); display: table-cell; vertical-align: bottom; }
.cvp-live-filter input[value=delivery]~div { background: transparent url('images/Delivery.png') center top/contain no-repeat !important; }
.cvp-live-filter input[value=ambient]~div { background: transparent url('images/Ambient.png') center top/contain no-repeat !important; }
.cvp-live-filter input[value=frozen]~div { background: transparent url('images/Frozen.png') center top/contain no-repeat !important; }
.cvp-live-filter input[value=fruit-veg]~div { background: transparent url('images/FruitVeg.png') center top/contain no-repeat !important; }
.cvp-live-filter input[value=toiletries]~div { background: transparent url('images/Toiletries.png') center top/contain no-repeat !important; }
.cvp-live-filter input[value=household]~div { background: transparent url('images/Household.png') center top/contain no-repeat !important; }
.cvp-live-filter input[value=vegetarian]~div { background: transparent url('images/Vegetarian.png') center top/contain no-repeat !important; }
.cvp-live-filter input[value=vegan]~div { background: transparent url('images/Vegan.png') center top/contain no-repeat !important; }
.cvp-live-filter input[value=halal]~div { background: transparent url('images/Halal.png') center top/contain no-repeat !important; }
.cvp-live-filter input[value=gluten-free]~div { background: transparent url('images/GlutenFree.png') center top/contain no-repeat !important; }
.cvp-live-filter input[value=dairy-free]~div { background: transparent url('images/DairyFree.png') center top/contain no-repeat !important; }
.cvp-live-filter input[value=kosher]~div { background: transparent url('images/Kosher.png') center top/contain no-repeat !important; }

.cvp-live-filter input[value=delivery]:checked~div { background-image: url('images/Delivery-active.png') !important; }
.cvp-live-filter input[value=ambient]:checked~div { background-image: url('images/Ambient-active.png') !important; }
.cvp-live-filter input[value=frozen]:checked~div { background-image: url('images/Frozen-active.png') !important; }
.cvp-live-filter input[value=fruit-veg]:checked~div { background-image: url('images/FruitVeg-active.png') !important; }
.cvp-live-filter input[value=toiletries]:checked~div { background-image: url('images/Toiletries-active.png') !important; }
.cvp-live-filter input[value=household]:checked~div { background-image: url('images/Household-active.png') !important; }
.cvp-live-filter input[value=vegetarian]:checked~div { background-image: url('images/Vegetarian-active.png') !important; }
.cvp-live-filter input[value=vegan]:checked~div { background-image: url('images/Vegan-active.png') !important; }
.cvp-live-filter input[value=halal]:checked~div { background-image: url('images/Halal-active.png') !important; }
.cvp-live-filter input[value=gluten-free]:checked~div { background-image: url('images/GlutenFree-active.png') !important; }
.cvp-live-filter input[value=dairy-free]:checked~div { background-image: url('images/DairyFree-active.png') !important; }
.cvp-live-filter input[value=kosher]:checked~div { background-image: url('images/Kosher-active.png') !important; }

/* Tabbed header */
section.tabs { padding-bottom: 0 !important; }
section.tabs p { margin-bottom: -1px; }
section.tabs span { display: inline-block; padding: 0.5em 1em; margin-right: 5px; }
section.tabs span.active { background-color: #DAEAC7; }
section.tabs span.inactive { background-color: #c5c5c5; }
section.tabs span.active a { color: #61c554; }
section.tabs span.inactive a { color: #454545; }
div.box { padding: 1em; background: white; border: 1px #47944C solid; }

/* Panels */
.builder-section-panels .ui-accordion-header.ui-state-default:before { font-family: "Font Awesome 5 Free"; content: '\f0d7'; margin-right: 0.5em; }
.builder-section-panels .ui-accordion-header.ui-state-active:before { font-family: "Font Awesome 5 Free"; content: '\f0d8'; margin-right: 0.5em; }

/* Footer */
.cli-bar-btn_container { padding-right: 5em; }
.page-id-704 .site-footer { background-color: #665038; }

#post-footer-widgets { float: left; text-align: center; width: 100%; }
#post-footer-widgets .widget-area { padding: 33px 0; padding: 3.3rem 0; border-top: 1px #dcdede solid; }
#post-footer-widgets .widget-area:last-child { border-top: none; background-color: #fdf3eb; }
#post-footer-widgets div.textwidget { margin: 0 auto; padding: 0 32px; padding: 0 3.2rem; }
#post-footer-widgets h3.widget-title { text-align: center; font-weight: 300; text-transform: uppercase; font-size: 2em; letter-spacing: 0.05em; }
#site-footer button:hover { background-color: #61C554; }

#post-footer-widgets .widget li, #site-footer .widget li { border-bottom: 0; color: #fff; padding: 0; }
#post-footer-widgets .widget li a, #site-footer .widget li a, #post-footer-widgets .widget a, #site-footer .widget a { color: #fff; }
#post-footer-widgets .social-links li a { font-size: 1.5em; color: #ffffff; margin: 0.25em; }
#post-footer-widgets .social-links li a:hover .fa { color: #ffffff !important; }
#post-footer-widgets .make-social-icon { border-radius: 100%; margin: 0 0.125em; background-color: #ee7622; }
#post-footer-widgets .make-social-icon:hover { background-color: #f4b234; }
#post-footer-widgets .make-social-icon a { height: 1.5em; width: 1.5em; }
#post-footer-widgets .make-social-icon i { margin: 0.25em 0; }

.site-footer .footer-social-links { float: none !important; text-align: left !important; }
.site-footer .footer-social-links li.make-social-icon { margin-right: 11px; margin-right: 1.1rem; }

@media screen and (min-width: 980px) {
	.site-header-main .container { display: flex; align-items: center; flex-wrap: wrap; }
	.site-branding { max-width: 15% !important; }
	.header-right { flex: 1; max-width: 80% !important; text-align: right !important; }
	.site-navigation { min-width: 100%; }
	.site-navigation li.desktop-hide { display: none; }
	ul#menu-main-menu { margin-bottom: 0; }
	.builder-banner-content { padding: 11px 128px; padding: 1.1rem calc(50% - 480px); }
}

@media screen and (max-width: 979px) {
	.header-right { display: none; }
	.builder-banner-content { overflow: visible; }
	.content-position-left .builder-banner-content { width: 100%; }
	.builder-banner-inner-content { -webkit-transform: translateY(-10%); -ms-transform: translateY(-10%); transform: translateY(-10%); top: 0; }
	section.builder-section-prev-banner { padding-top: 16px; padding-top: 1.6rem; }
	.builder-banner-inner-content h2, .builder-banner-inner-content p { font-size: 4vw; }
	.pt-cv-single-item-grid a.pt-cv-href-thumbnail { max-width: 100%; display: block; }
	.pt-cv-single-item-grid .pt-cv-colwrap { padding: 0 0 22px 0; padding: 0 0 2.2rem 0; }
	.pt-cv-food-filter .cvp-live-filter .btn { width: 33.33%; }
	.pt-cv-food-filter .cvp-live-filter.cvp-button input~div { background-size: 90% !important; background-position-y: 1em !important; }
	#pt-cv-view-01ad6e8sk0 .pt-cv-title, #pt-cv-view-01ad6e8sk0 .pt-cv-content { width: 100%; }
	.builder-text-content iframe { height: auto; }
	figure.entry-thumbnail { max-width: 50%; }
}

@media screen and (max-width: 419px) {
	section.tabs span.tab { width: 100%; }
	figure.entry-thumbnail { max-width: 100%; }
}

@media screen and (min-width: 800px) {
	.site-navigation .menu li a, .site-navigation .nav-menu li a { padding: 11px; padding: 1.1rem; }
	.site-navigation .menu li#menu-item-501 > a, .site-navigation .nav-menu li#menu-item-501 > a { padding-right: 0; }
}

@media screen and (max-width: 799px) {
	.footer-widget-container .widget { margin-bottom: 0; }
}

@media screen and (max-width: 593px) {
	#shiftnav-toggle-main { margin-top: 62px !important; }
}

/* Temp menu hide
#menu-item-2166, #menu-item-2166 *, .menu-item-2166, .menu-item-2166 * { display: none !important; }
 */

/* Content flicker fix */
.home .builder-section-banner.builder-section-first {
    min-height: 25vw;
}