/*
 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.02
*/

body { background-color: #ffffff; }
.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 ---- */

h1, h2, h3, h4, h5 { line-height: 1.2; }
h1 { font-size: 50px; }
h2 { font-size: 45px; }
h3 { font-size: 30px; }
h4 { font-size: 22px; }
h5 { font-size: 20px; }

p { margin: 0.5em 0; }
a { text-decoration: none; color: #F2625D; }
a:hover { color: #283252; text-decoration: underline; }

.beans-skip-links, #offcanvas_menu { display: none; }
.uk-panel-box { background: #fff; }

#menu-member-menu { vertical-align: top; }
#menu-member-menu .menu-item.fl-has-submenu > div > a { position: relative; padding-left: 40px; font-weight: bold; text-align: left; }
#menu-member-menu .menu-item.fl-has-submenu > div > a:before { content: url('/wp-content/uploads/2023/05/account_ICON.svg'); display: block; position: absolute; left: 0; width: 30px; margin-right: 10px; }

#trainer-menu .menu { min-width: 220px; }
#trainer-menu .menu-item.fl-has-submenu > div > a { padding-left: 50px; padding-right: 25px; }
#menu-member-menu .menu-item.fl-has-submenu > div > a:before { top: 0.5em; }
#trainer-menu .fl-menu-toggle { margin-right: 0.5em; }
#trainer-menu .menu-item.fl-has-submenu > div > a:before { left: 10px; }

.rotate90 .fl-module-content > div { transform: rotate(90deg); }

.square-grid-box .fl-module-content { display: flex; flex-direction: column; justify-content: center; }
.square-grid-box .fl-callout-photo-above-title .fl-photo, .square-grid-box .fl-callout-photo-above-title .fl-callout-title { margin: 0; padding: 0; }

.t30-custom-account-nav { margin: 0; padding: 0; margin-bottom: 1px !important; background: #eee; }
.t30-custom-account-nav a { display: block; position: relative; overflow: hidden; padding: 4px 0px; }
.t30-custom-account-nav a span.um-account-icon, .t30-custom-account-nav a.current span.um-account-icon, .t30-custom-account-nav a.current:hover span.um-account-icon { text-align: center; font-size: 20px;
	width: 1em; height: 1.5em; border-right: 1px solid #ccc; color: #444; float: left; padding: 0 0.75em; }
.t30-custom-account-nav a span.um-account-icon i { display: block; height: 1.5em; line-height: 1.5em; }
.t30-custom-account-nav a span.um-account-title { padding-left: 1.4em; float: left; height: 2em; line-height: 2em; color: #555; }
.t30-custom-account-nav a span.um-account-arrow { position: absolute; right: 10px; top: 6px; font-size: 26px; opacity: 0.6; color: #999; line-height: 1; }

#pdf-viewer .flipbook-bookLayer { left: 0 !important; height: calc(100% - 270px); }
#pdf-viewer .flipbook-menuTop, #pdf-viewer .flipbook-menu-header { display: none; }
#pdf-viewer .flipbook-menuBottom { bottom: 210px; }
#pdf-viewer .flipbook-thumbHolder { top: auto; bottom: 0 !important; width: 100%; }
#pdf-viewer .flipbook-thumbsWrapper { padding-top: 0; top: auto !important; bottom: 0; max-width: 100%; }
#pdf-viewer .flipbook-thumbsScroller { grid-auto-flow: column; column-gap: 1em; overflow-x: scroll; max-width: 100%; scrollbar-color: #F2625D #283252; }
#pdf-viewer .flipbook-thumbsScroller::-webkit-scrollbar { height: 10px; /* Mostly for horizontal scrollbars */ }
#pdf-viewer .flipbook-thumbsScroller::-webkit-scrollbar-thumb { /* Foreground */ background: #F2625D; }
#pdf-viewer .flipbook-thumbsScroller::-webkit-scrollbar-track { /* Background */ background: #283252; }

.gform_wrapper .gform_required_legend { display: none; }
.gform_wrapper .gform_confirmation_wrapper:not(.gform-theme--framework) .blue .gpoll_ratio_box, .gform_wrapper .gpoll_ratio_box, .gform_wrapper.gravity-theme .blue .gpoll_ratio_box { background-color: #283252; }
.gform_wrapper .gform_confirmation_wrapper:not(.gform-theme--framework) .blue .gpoll_bar_juice, .gform_wrapper.gravity-theme .blue .gpoll_bar_juice { background-color: #283252; background-image: linear-gradient(#000065,#283252); }

footer .footer-icons .fl-icon i { border-radius: 6px; }
footer .gform_wrapper .gfield input { border: 1px solid #fff; background: transparent; color: #fff; border-radius: 6px; padding: 0.5em; font-size: 16px; font-family: Montserrat, sans-serif; }
footer .gform_wrapper .gform_footer input.button { background: transparent; border: 1px solid #F2625D; border-radius: 6px; color: #F2625D !important; text-transform: uppercase; padding: 0.5em 1em; font-size: 16px; font-family: Montserrat, sans-serif; }

@media screen and (max-width: 1024px)
{
	.fl-builder-content-186 .fl-row:first-child .fl-row-content-wrap { padding-top: 160px; padding-bottom: 40px; }
	.fl-row .fl-builder-shape-skewed-triangle svg { height: 40px !important; }

	.t30-courses .t30-course-category { width: 46%; }
}

@media screen and (max-width: 768px)
{
	h1 { font-size: 40px; }
	h2 { font-size: 32px; }
	h3 { font-size: 26px; }

	header .fl-menu nav > ul.menu > li.menu-item > a { color: #F2625D; text-align: left; }
	header #menu-member-menu .sub-menu { position: absolute; right: 0; }

	.fl-builder-content-186 .fl-row:first-child .fl-row-content-wrap { padding-top: 80px; padding-bottom: 40px; }

	.square-grid-box .fl-module-content { height: auto !important; }
}

@media screen and (max-width: 575px)
{
	.t30-courses .t30-course-category { width: 98%; }
}