/*
 Theme Name:   Ey3 Custom Theme
 Description:  Based on GeneratePress child theme, optimised for Beaver Builder and default EY3 plugins
 Author:       Ey3
 Author URI:   https://ey3.com.au
 Template:     generatepress
 Version:      1.0.09
*/

@font-face {
  font-family: "FSAlbert";
  src:
    url("fonts/FSAlbert-Regular.woff2") format("woff2"),
    url("fonts/FSAlbert-Regular.woff") format("woff");
  font-weight: normal;
}

body { background-color: #ffffff; color: #57585A; font-family: FSAlbert, sans-serif; }
.site.grid-container { max-width: none; background: transparent; padding: 0; }
body:not(.fl-builder, .fl-theme-builder-singular, .fl-theme-builder-archive) .site.grid-container { max-width: 1200px; }
.site .site-content { padding: 0; }
.site .site-content .entry-content { margin: 0; }
.fl-builder-content { flex: 1 1 auto; }

a { text-decoration: none; }
h1, h2, h3, h4, h5 { font-weight: bold; margin: 0 0 0.5em 0; }
ul, ol, p { margin: 0 0 1em 0; }
ul, ol { padding-left: 1.5em; }

/* ---- all custom theme styles below here ---- */

.shopwp .fl-module [data-wpshopify-component] { max-width: 1200px; }

h1, h2, h3, h4, h5, h6 { font-family: "sharik-sans", sans-serif; font-weight: 800; line-height: 1.2; }
h1 { font-size: 40px; }
h2 { font-size: 36px; }
h3 { font-size: 32px; }
h4 { font-size: 28px; }
h5 { font-size: 24px; }
h6 { font-size: 20px; }

a, .uk-link { color: #667105; }
a:hover { color: #7E8C07; }
.sharik { font-family: "sharik-sans", sans-serif; }

header .fl-menu { font-size: 18px; }
header .fl-menu .fl-menu-horizontal.fl-toggle-arrows .fl-has-submenu-container a { padding-right: 1em; }
header .fl-menu .fl-menu-horizontal li.mega-menu.fl-has-submenu:hover > ul.sub-menu, header .fl-menu .fl-menu-horizontal li.mega-menu.fl-has-submenu.focus > ul.sub-menu { display: grid !important; max-height: 300px; grid-template-columns: 1fr 2fr; padding-right: 25%; }
header .fl-menu .fl-menu-horizontal li.mega-menu.fl-has-submenu > ul.sub-menu.split-list { grid-template-columns: 1fr 1fr 1fr; }
header .fl-menu .fl-menu-horizontal li.mega-menu.fl-has-submenu > ul.sub-menu .wph-category-image { grid-row: 1/6; }
header .fl-menu .fl-menu-horizontal li.mega-menu.fl-has-submenu > ul.sub-menu .wph-category-image img { max-height: 300px; width: auto; }

.fl-row-has-layers .fl-builder-layer { bottom: -1px; } /* fixes slight horizontal line under rows with svg mask shapes */
.fl-module-icon .fl-module-content .fl-icon-wrap .fl-icon-text { height: auto; }

.fl-module-content-slider.full-width-content .fl-content-slider .fl-slide-foreground { max-width: 100%; }
.fl-module-content-slider.full-width-content .fl-content-slider .fl-slide-content, .fl-module-content-slider.full-width-content .fl-content-slider .fl-slide-photo { margin: 4em; padding: 4em; }
.fl-module-content-slider.full-width-content .fl-content-slider .fl-slide-0 .fl-slide-photo { padding: 0; }
#home-slider .fl-content-slider .fl-slide-title { font-size: 48px; text-shadow: 2px 2px 5px rgba(0,0,0,0.2); }
#home-slider .fl-content-slider .fl-slide-text { font-size: 24px; text-shadow: 2px 2px 5px rgba(0,0,0,0.2); }
#home-slider .fl-content-slider .fl-slide-cta-button .fl-button { font-size: 24px; padding: 1em 2em; font-family: "sharik-sans", sans-serif; }
.shopwp .wps-products-title { font-size: 24px; }

.page-title .fl-heading { margin-top: -5px; }
.page-title .fl-heading-text { padding: 0.15em 0.5em; background: #fff; color: #806146; border-radius: 0 0.5em 0.5em; }

.parent-cat-button { background: #b2614e; color: #fff; padding: 0.5em; border-radius: 0.5em 0.5em 0 0; font-weight: bold; letter-spacing: 1px; font-size: 18px; }
.parent-cat-button:hover { text-decoration: none; background: #8C4C3D; color: #fff; }

.wps-items .slick-slider .wps-component-products-pricing { margin-bottom: 0.5em; }
.wps-items .slick-slider .wps-component-products-buy-button { margin-top: 1em; }

.fl-module .df-popup-thumb { margin: 0 !important; }

.gform_wrapper.gravity-theme .gform_required_legend { display: none; }
.gform_wrapper.gravity-theme .gform_footer button, .gform_wrapper.gravity-theme .gform_footer input { background: #667105; color: #fff; border-radius: 1em; border-style: initial; appearance: none; padding: 0.5em 2em; font-family: "sharik-sans", sans-serif; }
.gform_wrapper.gravity-theme .gform_footer button:hover, .gform_wrapper.gravity-theme .gform_footer input:hover { cursor: pointer; background: #806146; }

#fb-widget p { margin: 0; }
#fb-widget { margin-top: -4em; margin-bottom: -4em; }
#fb-widget .cff { border-radius: 40px; }
#fb-widget .cff-wrapper .cff-visual-header { margin-bottom: 0.5em !important; }
#fb-widget .cff .cff-posts-wrap { max-height: 450px; overflow-y: scroll; scrollbar-width: thin; margin-bottom: 35px; }
#fb-widget .cff .cff-posts-wrap::-webkit-scrollbar { width: 10px; }
#fb-widget .cff .cff-posts-wrap::-webkit-scrollbar-track { background: rgba(0,0,0,0.8); }
#fb-widget .cff .cff-posts-wrap::-webkit-scrollbar-button { display: none; }
#fb-widget .cff .cff-posts-wrap::-webkit-scrollbar-thumb { background: #aaa; }

#fb-widget .cff .cff-posts-wrap, #fb-widget .cff .cff-item { margin-top: 0; padding-top: 0 !important; }
#fb-widget .cff-visual-header .cff-header-img { padding: 1em 2em; }
#fb-widget .cff-visual-header .cff-header-img img { border-radius: 50%; max-width: 80px; }
#fb-widget .cff-visual-header .cff-header-text { padding: 1em 1em 0 1em; }
#fb-widget .cff-media-wrap .cff-photo { display: flex; flex-wrap: wrap; max-width: 100% !important; }
#fb-widget .cff-media-wrap .cff-photo .cff-img-wrap { width: calc(50% - 4px) !important; margin: 0 2px !important; }

#home-icon-col { width: 0; }
#home-icon { position: fixed; text-decoration: none; top: 2em; left: 1em; width: 55px; height: 55px; z-index: 5; }

@media screen and (max-width:1440px) {
	.fl-module-content-slider.full-width-content .fl-content-slider .fl-slide-content, .fl-module-content-slider.full-width-content .fl-content-slider .fl-slide-photo { margin: 2em; padding: 2em; }
	.category-header .fl-builder-bottom-edge-layer > * { height: 20px; }
}
@media screen and (max-width: 1028px) {
	body { font-size: 18px; }
}
@media screen and (max-width: 768px) {
	header .fl-row:first-child .fl-col-group { display: flex; }
	header .fl-row:first-child .fl-module-content { margin: 0.5em; }
	#home-icon-col { width: 0 !important; }
	#home-icon { left: 0; }
	#logo-col { max-width: calc(100% - 55px); }
	#cta-col { width: 63% !important; }

	.fl-menu .fl-menu-toggle { right: 1em; }

	#home-slider .fl-content-slider .fl-slide-foreground .fl-slide-content-wrap { width: 100%; }
	#home-slider .fl-content-slider .fl-slide-title { font-size: 2em; line-height: 1.3; }
	#home-slider .fl-content-slider .fl-slide-content { background: #57585a; }
	#home-slider .fl-content-slider .fl-button-wrap { text-align: center; }
	#home-slider .fl-content-slider .fl-slide-cta-button .fl-button { font-size: 20px; }
	#home-slider .fl-content-slider .fl-slide-mobile-photo { display: none; }

	#menu-bottom-links li { border: 0 none; }
}