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

@import url("../make/style.css");

/* colours

dark grey	#314548
mid blue		#006b9e
light blue	#00bad6
navy blue	#003784
green		#69913d
dark pink	#bf1247
red			#b22117
dark orange	#d6572b
light orange	#f58f08

span.site-description { color: #585858; }
.home h1.entry-title, div.site-info { display: none !important; }

*/

@font-face {
    font-family: 'Acumin';
    src: url('webfonts/acuminprowide.woff2') format('woff2'),
         url('webfonts/acuminprowide.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}

*:not(.fa, .fab, .far, .fas, h1, h2, h3, h4, h5), .site-navigation .menu li a, .font-nav, .site-navigation .menu-toggle { font-family: 'Roboto' !important; font-weight: 300; }
b, strong { font-weight: 700 !important; }

h1, h2, h3, h4, h5, .pt-cv-title a, .pt-cv-ctf-value { font-family: 'Acumin', sans-serif !important; }

h1.entry-title { margin-top: 0.5em; }
.home h3.builder-text-section-title { text-transform: uppercase; }

body:not(.home) h3.builder-text-section-title { text-transform: none; font-weight: normal; font-family: "Acumin" !important; font-size: 44px; font-size: 4.4rem; }

// h4 { font-weight: 500 !important; }

.fa-twitter:before { content: '\e61b' !important; }
.fa, .fa-brands, .fa-classic, .fa-regular, .fa-sharp, .fa-solid, .fab, .far, .fas { width: 1em; text-align: center; }

a button, .gform_button { text-transform: uppercase; }
a button:after, .pt-cv-rmwrap a:after, .header-bar .donate-button a:after { font-family: 'Font Awesome 5 Free'; content: '\f138'; font-weight: 900; padding-left: 1em; }
.builder-section-banner .content-position-none { text-align: center; }
.builder-section-banner .content-position-none h2 { margin-top: 0; font-size: clamp(28px, 6vw, 60px); line-height: 1; }

.header-bar .menu { margin: 1.35em 0; }
.site-navigation .menu li.current_page_ancestor > a, .site-navigation .menu li.current-menu-ancestor > a
	{ font-weight: 300 !important; }
.header-bar .header-phone { float: right; padding: 14px 20px 14px 10px; padding: 1.4rem 2rem 1.4rem 1rem; font-size: 17px; }
.header-bar .donate-button { padding: 0 10px !important; padding: 0 1rem !important; font-size: 17px; background: #006b9e; border-radius: 17px; }
a.custom-logo-link { margin-bottom: 0; }

.site-id-7 .site-header-main .container { display: flex; align-items: center; }

.site-content { padding-bottom: 0; }

blockquote { position: relative; padding: 0 40px; }
blockquote p { font-size: 1.1em; font-style: normal; line-height: 1.5; padding-left: 20px; display: inline-block; }
blockquote:before, blockquote:after { position: absolute; top: 5px; left: 5px; font-family: "Font Awesome 5 Free"; color: #e5e5e5; font-size: 30px; display: block; font-weight: 900; }
blockquote:before { content: '\f10d'; }
blockquote:after { content: '\f10e'; right: 5px; left: auto; top: auto; bottom: 1.5em; }

/* Sections */
section:not(.builder-section-first, .mobile) .builder-banner-content { color: #383838; }
.content-position-left .builder-banner-content { margin-left: calc(50% - 610px); }

.site-id-6 section.builder-section-banner .builder-banner-slide p { display: none; }

section.content-centre
	{ text-align: center; }
.site-id-5 h3.builder-text-section-title
	{ text-align: center; }
section.white-text, section.white-text p, .section.white-text a { color: #fff; }
.builder-text-column h3, .builder-text-column h4 { margin-top: 0; }

body:not(.home) section.builder-section:last-child.has-background { margin-bottom: 0 !important; }
section.builder-section-first.builder-section-text { margin-top: 22px; margin-top: 2.2rem; }
section.builder-section-first.builder-section-text.has-background { margin-top: 0; }

.wide .builder-section-panels .builder-banner-section-title { max-width: 1024px; }

body:not(.home) .builder-section-content .builder-text-row .builder-text-column:first-child .builder-text-content h3+p,
body:not(.home) .builder-section-content .builder-text-row .builder-text-column:first-child p:first-child strong
	{ font-size: 1.2em; font-weight: 300 !important; }

.site-id-7 .block-section .builder-text-row .builder-text-column { background-color: #e3ede1; padding: 1em 1.5em; }

.builder-enabled .post { margin-bottom: 0; padding-bottom: 0; }
.site-id-6.builder-enabled section.builder-section-banner .builder-banner-slide p { display: none; }

.post-1290 .builder-text-columns-2 h3 { font-size: 32px; font-size: 3.2rem; }

span.see-all { text-align: center; text-transform: uppercase; color: #00bad6; font-size: 1.5em; display: block; margin: 0.75em auto; }

.one_third { padding-right: 2%; }
/* .one_third.last_column { padding-right: 0; } */

/* Forms */
.site-main .gform_wrapper .top_label .gfield_label { margin-top: 0 !important; text-align: left; display: inline-block; }
.membership-enquiry_wrapper .gform_heading { display: none; }
.membership-enquiry_wrapper .gfield--input-type-consent,
.membership-enquiry_wrapper .ginput_container_checkbox
	{ width: 65%; margin: 0 auto; }
.membership-enquiry_wrapper .ginput_container_checkbox label { font-size: 14px; }
.membership-enquiry_wrapper .gform_footer { margin: 1em auto; display: inline-block !important; }
.membership-enquiry_wrapper .gform_footer input[type=submit] { text-transform: uppercase !important; background: #314548 !important; color: #fff !important; border-radius: 1em !important; }

/* Content Views */
.pt-cv-wrapper .pt-cv-thumbnail,
.pt-cv-wrapper .pt-cv-view .pt-cv-title
	{ margin-bottom: 0 !important; }

#pt-cv-view-56cd7f4oh0 .pt-cv-ifield .pt-cv-content .pt-cv-rmwrap,
#pt-cv-view-bc7ac9fkxu .pt-cv-ifield .pt-cv-content .pt-cv-rmwrap
	{ padding-left: 0 !important; }

#pt-cv-view-56cd7f4oh0 .pt-cv-title
	{ background: #ffffff; }

.pt-cv-hover-wrapper::before   { background-color: rgba(50,83,120,.5) !important; mix-blend-mode: multiply; }
.pt-cv-content-item:hover .pt-cv-hover-wrapper::before   { background-color: rgba(53,127,62,.5) !important; mix-blend-mode: multiply; }

/* Panels */
.ttfmp-panels-item-title.ui-state-default { border: 0 !important; border-bottom: 1px #314548 solid !important; }
.ttfmp-panels-item-title.ui-state-active { border-bottom: 0 !important; }
.ttfmp-panels-item-title { margin-top: 0 !important; color: #314548 !important; background-color: #ffffff !important; border: none; font-size: 1em; font-weight: 400; border-radius: 0; }
.ttfmp-panels-item-content
	{ border: none !important; border-bottom: 1px #364552 solid !important; border-radius: 0 !important; }
.ttfmp-panels-item-title.ui-state-default:after { font-family: "Font Awesome 6 Free"; content: '\f067'; font-weight: 300; padding-right: 0.5em; float: right; }
.ttfmp-panels-item-title.ui-state-active:after { font-family: "Font Awesome 6 Free"; content: '\f068'; font-weight: 300; padding-right: 0.5em; float: right; }

/* Galleries */
.gallery-columns-4 .gallery-item { width: 24%; margin: 0.5%; }

/* Footer */
.site-footer .footer-social-links { text-align: left; float: none; }
.footer-widget-container .widget li { padding: 0; border: 0; }
.footer-widget-container #footer-2 .make-social-icon
	{ font-size: 24px; }
.footer-widget-container #footer-2 .make-social-icon { margin-right: 0.5em; }
/*
.footer-widget-container #footer-3 .widget { text-align: center; }
.footer-widget-container #footer-3 .widget img { max-width: 50% !important; }
*/

.map-container {
    width: 100%;
    height: 0;
    padding-bottom: 66%; /* 3:2 aspect ratio */
    position: relative;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 800px) {
	.site-branding { max-width: 14%; }
//	img.custom-logo { max-width: 75%; }
	.site-navigation { max-width: 86%; }
	.site-id-7 .site-navigation { flex-grow: 1; }
	.site-navigation ul.menu { text-align: right; margin-bottom: 0; }
	.site-id-5 .site-navigation ul.menu { width: 870px; }
	.site-navigation ul.menu > li a { line-height: 1.1; }
	.site-navigation ul.menu li#menu-item-3233,
	.site-navigation ul.menu li#menu-item-2739
		{ max-width: 10%; }
	.site-navigation ul.menu li#menu-item-2479,
	.site-navigation ul.menu li#menu-item-2481
		{ max-width: 16%; }
	.site-navigation ul.menu li#menu-item-3218
		{ max-width: 12%; }
	.site-navigation ul.menu li#menu-item-2125,
	.site-navigation ul.menu li#menu-item-courses
		{ max-width: 11%; }
	.site-navigation ul.menu li#menu-item-2480
		{ max-width: 17%; }

	.site-id-6 .site-navigation ul.menu li#menu-item-2125,
	.site-id-6 .site-navigation ul.menu li#menu-item-2333
		{ max-width: 20%; }
	.site-id-6 .site-navigation ul.menu li#menu-item-2731
		{ max-width: 25%; }

	.site-id-6 .site-content { margin-top: -139px; }

	.site-id-7 .site-navigation ul.menu li#menu-item-2333,
	.site-id-7 .site-navigation ul.menu li#menu-item-2818,
	.site-id-7 .site-navigation ul.menu li#menu-item-2822,
	.site-id-7 .site-navigation ul.menu li#menu-item-2823
		{ max-width: 15%; }
	.site-id-7 .site-navigation ul.menu li#menu-item-2819
		{ max-width: 12%; }
	.site-id-7 .site-navigation ul.menu li#menu-item-2872
		{ max-width: 10%; background-color: #ec6350; }

	.site-id-7 .footer-widget-container #media_image-3 { text-align: right; }


/*	.site-id-7 .site-content { margin-top: -139px; } */

	section.content-centre .builder-section-content,
	section.become-a-member .builder-section-content,
	section.mailing-list .builder-section-content
		{ width: 60%; margin: 0 auto; }
	.builder-section-text.layout-8 .builder-text-column:nth-child(2n+1) { width: 62.33% !important; }
	.builder-section-text.layout-8 .builder-text-column:nth-child(2n) { width: 34.33% !important; }
}

@media screen and (min-width: 800px) {
	section.mobile { display: none; }
}
@media screen and (max-width: 799px) {
	section.desktop { display: none; }
	.header-bar { display: none; }
	.site-header-main { padding 22px 0; padding: 2.2rem 0; }
	.gallery-columns-4 .gallery-item { width: 49%; margin: 0.5%; }
	table.rides-list tr:first-child { display: none; }
	table.rides-list tr td:first-child { background-color: #f0f0f0; }
	table.rides-list td { display: block; width: 100%; }

	.site-id-7 img.custom-logo { max-width: 50%; }
	.site-id-7 #footer-2, .site-id-7 #footer-3 { display: none; }
	.site-id-7 #footer-4 { text-align: right; }
	.site-id-7 .builder-text-row .builder-text-column { margin-bottom: 22px; margin-bottom: 2.2rem; }
}

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