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

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

/* colours

yellow:		#ecb83e
aqua:		#37B3A1

*/

// div.event-booking { display: none !important; }

* { -webkit-font-smoothing: antialiased; }
a, a:hover { color: #000000; font-weight: 700; }

.site-header-main { padding: 22px 0 0 0; padding: 2.2rem 0 0 0; }
.site-header-main .header-right .header-social-links li a { padding: 5px; padding: 0.5rem; }
.site-header-main .header-right .header-social-links li:last-child a { padding-right: 0; }

/* Header */

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

/* Menu */

li.mega-menu-item { text-transform: none; }
li.mega-disable-link { border-bottom: 1px #777 solid; text-transform: uppercase; }
#site-navigation .menu-toggle { display: none !important; }


spektrix-basket-item-count { display: none; }
spektrix-basket-item-count:before { content: 'basket'; }
spektrix-basket-item-count[count="0"]:before { content: 'empty'; }


/* Common entry styles */

h2.border, h3.border, .single-post .title-container { border-bottom: 5px #000000 solid; display: inline-block; margin-left: calc(50% - 960px); padding-left: calc(960px - 50%); }
h2.border.yellow, h3.border.yellow { border-color: #ecb83e; }
h2.border.aqua, h3.border.aqua, .single-post .title-container, .page-id-2745 .title-container { border-color: #37B3A1; }

.entry-header.has-thumbnail { max-width: 100%; height: 0; padding-bottom: 15.625%; background-size: cover; background-position: center center; background-repeat: no-repeat; margin-bottom: 22px; margin-bottom: 2.2rem; }
.title-container { margin: 0 0 1em 0; padding-left: calc(50% - 480px); border-bottom: 5px #ecb83e solid; display: inline-block; }
.entry-title { padding: 10px 0; margin: 0; }

.highlight-orange h2.border, .highlight-orange h3.border, .highlight-orange .title-container { border-color: #f6a118; }
.highlight-yellow h2.border, .highlight-yellow h3.border, .highlight-yellow .title-container { border-color: #f6bf17; }
.highlight-purple h2.border, .highlight-purple h3.border, .highlight-purple .title-container { border-color: #b06ba9; }
.highlight-pink h2.border, .highlight-pink h3.border, .highlight-pink .title-container { border-color: #e94b5f; }
.highlight-turquoise h2.border, .highlight-turquoise h3.border, .highlight-turquoise .title-container { border-color: #41bbc9; }

blockquote { padding: 0em 0.75em 0em 1.5em; }
blockquote:before { font-family: "Font Awesome 5 Free"; content: '\f10d'; font-size: 2em; float: left; color: #ecb83e; }
.highlight-orange blockquote:before { color: #f6a118; }
.highlight-purple blockquote:before { color: #b06ba9; }
.highlight-pink blockquote:before { color: #e94b5f; }
.highlight-turquoise blockquote:before { color: #41bbc9; }

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

.fa-instagram.mnj { font-size: 40px; color: #fff; background-color: #ecb83e; position: relative; left: 50%; top: 42px; z-index: 5; padding: 12px; border-radius: 100%; margin-left: -32px; height: 64px; width: 64px; text-align: center; }

/* Content Views */

.pt-cv-custom-fields { margin-top: 0; margin-bottom: 10px; font-weight: 500; }

.pt-cv-hover-wrapper, .pt-cv-ifield, .pt-cv-content-item { overflow: visible; }
.pt-cv-content-item { margin-bottom: 2.4em; }
.home .pt-cv-content-item { margin-bottom: 0; }
.pt-cv-overlay-middle .pt-cv-mask .pt-cv-title a { display: inline-block; }
.pt-cv-overlay-middle .pt-cv-mask { top: calc(100% - 2.6em) !important; transform: none !important; }
.pt-cv-overlay-middle .pt-cv-mask .pt-cv-title a { color: #000 !important; background-color: #fff !important; padding: 0.5em; text-transform: uppercase; font-weight: 700 !important; }

#pt-cv-view-112d3b4a09  .pt-cv-hover-wrapper::before   { background-color: rgba(0,0,0,.2) !important; mix-blend-mode: multiply; }
#pt-cv-view-112d3b4a09  .pt-cv-content-item:hover .pt-cv-hover-wrapper::before   { background-color: rgba(236,184,62,.5) !important; mix-blend-mode: multiply; }


/* Homepage */

.home .builder-section-first { background-position-y: 1px !important; }
// .builder-banner-inner-content { text-align: center; text-transform: uppercase; font-weight: 600; font-size: 5em; letter-spacing: 0.1em; }
.builder-banner-inner-content { top: auto; -webkit-transform: none; -ms-transform: none; transform: none; padding: 0; }
.builder-banner-inner-content p a:first-child
	{ font-weight: 700; font-size: 1.5em; }
.builder-banner-inner-content p
	{ font-weight: 400; font-size: 1em; }
.builder-banner-inner-content p a:after { content: ' >'; }
.builder-banner-content { width: auto !important; bottom: 2em; height: auto; background: rgba(246,191,23,0.8); min-height: auto; padding: 22px; padding: 2.2rem; }
.content-position-left .builder-banner-content { float: left; right: auto; left: 2em; }
.content-position-right .builder-banner-content { float: right; left: auto; right: 2em; }
.cycle-prev ~ .builder-banner-slide .builder-banner-content, .cycle-next ~ .builder-banner-slide .builder-banner-content { padding: 0 24px; padding: 0 2.4rem; }
.builder-banner-content p { color: #000000; }
.cycle-slideshow .content-position-left .builder-banner-content { width: auto; bottom: 2em;  height: auto; background: rgba(246,191,23,0.8); min-height: auto; }
.cycle-slideshow .content-position-left .builder-banner-content { float: left; right: auto; left: 2em; }
.cycle-slideshow .content-position-right .builder-banner-content { float: right; left: auto; right: 2em; }
.cycle-slideshow .builder-banner-content a { color: #000000; }

#sb_instagram { width: calc(100% + 20px) !important; margin: 0 -10px; !important }
.tribe-bar-submit { margin-left: 0; }
.home h2.border.aqua { margin-top: 1.5em; }
.home h3 { text-transform: uppercase; }
.home table.events-list-table { margin-bottom: 0; }
.home .css-events-list + p { margin-bottom: 44px; margin-bottom: 4.4rem; }

.builder-section-text.has-background.ticker { padding: 22px 0; padding: 2.2rem 0; }
.builder-section-text.has-background.ticker p { display: none; }
.builder-section-text.has-background.ticker .builder-section-content { width: 100%; max-width: 100%; padding: 0; }
.builder-section-text.has-background.content-centre { text-align: center; }

/* Events */
.single-event #site-content .container,
.page-id-328 #site-content .container
	{ max-width: 100%; padding: 0; }
.single-event #site-content .container .entry-content,
.page-id-328 #site-content .container .entry-content
	{ max-width: 960px; margin: 0 auto 2em; }
.single-event #site-content .container .builder-section-content,
.single-event .builder-text-section-title,
.single-event .builder-gallery-section-title,
.single-event .builder-banner-section-title,
.page-id-328 .container .builder-section-content
	{ padding: 0; }

table.events-list-table { width: auto; border: 0; }
table.events-list-table td { padding: 0 8px 11px 0; padding: 0 0.8rem 1.1rem 0; border: 0; }
table.events-list-table td:nth-child(2) { width: 280px; }
table.events-list-table td:nth-child(4), table.events-list-table td:nth-child(6) { width: 170px; }
table.events-list-table a, div.event-booking a { font-weight: 700; color: #000; background-color: #fcdf9d; padding: 0 0.25em; } 
table.events-list-table td:nth-child(2n) { padding-right: 22px; padding-right: 2.2em; }
table.events-list-table tr.custom-stop-yes { opacity: 0.4 !important; }
table.events-list-table .event-date { display: none; }
.page-id-3484 table.events-list-table .event-date { display: inline; }
.page-id-3484 table.events-list-table .custom-stop-yes { display: none; }

div.event-meta { margin-bottom: 22px; margin-bottom: 2.2rem; }
div.event-booking a { font-size: 1.6em; }
h3.active i.fa-plus-square:before { content: '\f146' !important; }
.course-info { margin-top: 2em; }

.pt-cv-events-grid .pt-cv-title a { font-weight: 700 !important; }
.pt-cv-events-grid h4.pt-cv-title, .pt-cv-events-grid .pt-cv-content, .pt-cv-events-grid .pt-cv-ctf-list  { margin: 5.5px 11px; margin: 0.55rem 1.1rem; }
.pt-cv-events-grid .btn { padding: 0 !important; margin-bottom: 5.5px; margin-bottom: 0.55rem; }

.pt-cv-events-grid .pt-cv-ifield { background-color: rgba(246,191,23,0.2) !important; }
.cvp-term-event-categories-performances .pt-cv-ifield { background-color: rgba(65,187,201,0.2) !important; }
.cvp-term-event-categories-children-young-people .pt-cv-ifield { background-color: rgba(246,161,24,0.2) !important; }
.cvp-term-event-categories-fitness-wellbeing .pt-cv-ifield { background-color: rgba(233,75,95,0.2) !important; }
.cvp-term-event-categories-professional .pt-cv-ifield { background-color: rgba(176,107,169,0.2) !important; }

div.css-search div.em-search-main .em-search-submit, div.css-search div.em-search-main .em-search-submit:hover { background: #ecb83e; }

article.event .entry-meta { display: none; }

/* News */
.pt-cv-news-grid .pt-cv-title a { font-weight: 700 !important; }
.pt-cv-news-grid h4.pt-cv-title, .pt-cv-news-grid .pt-cv-content, .pt-cv-news-grid .pt-cv-ctf-list  { margin: 5.5px 11px; margin: 0.55rem 1.1rem; }
.pt-cv-news-grid .btn { padding: 0 !important; margin-bottom: 5.5px; margin-bottom: 0.55rem; }

/* Contact */
.googlemap { height: 0; padding-bottom: 25%; margin-bottom: 22px; margin-bottom: 2.2rem; position: relative; }
.googlemap iframe { height: 100%; width: 100%; position: absolute; top: 0; left: 0;}

/* Footer */
#site-footer { border-top: 2px black solid; }
#footer-1 .widget { font-size: 1em; font-weight: 700; text-transform: uppercase; }
#footer-1 .widget span:after { content: ' | '; }
#footer-1 .widget span:nth-child(4):after, #footer-1 .widget span:last-child:after { content: ''; }
#footer-1 .widget a { font-weight: inherit; }
#footer-1 .widget ul.social-links { display: inline; }
#footer-1 .widget ul.social-links li { border-bottom: 0; font-weight: 400; }

@media screen and (max-width: 799px) {
	
	h1 { font-size: 34px; font-size: 3.4rem; }
	h2 { font-size: 24px; font-size: 2.4rem; }
	h3 { font-size: 18px; font-size: 1.8rem; }

	.title-container { padding: 0 11px; padding: 0 1.1rem; margin: 0 0 1em 0; }
	.entry-header.has-thumbnail { margin-bottom: 0; }

	.builder-banner-content { padding: 11px; padding: 1.1rem; }
	
	.builder-section-gallery .builder-section-content, .builder-section-text .builder-section-content, .builder-section-blank .builder-section-content { padding: 0 11px; padding: 0 1.1ren; }

	table.events-list-table td { display: inline-block; vertical-align: top; padding-bottom: 5px; padding-bottom: 0.5rem; }
	table.events-list-table td:nth-child(2n+1) { width: 25%; }
	table.events-list-table td:nth-child(2n) { width: 75%; }
	table.events-list-table td:nth-child(7) { width: 100%; border-bottom: 1px #f0f0f0 solid; text-align: right; margin-bottom: 11px; padding-bottom: 11px; }

	#footer-1 .widget span { display: block; clear: both; }
	#footer-1 .widget span:after { content: ''; }
	
}

@media screen and (max-width: 420px) {
	a.custom-logo-link { max-width: 50%; }
	div.header-right { display: none; }
}

/* Coronavirus */
.page-id-2789 .pt-cv-ctf-_event_start_date, .page-id-2789 .pt-cv-ctf-_event_start_time, .event-tags-special-events .event-meta { display: none; }