/*
Theme Name: Twenty Twenty Child
Description: Twenty Twenty Child Theme
Author: Al Neathey
Author URI: https://www.stuffandcontent.co.uk
Theme URI: https://wordpress.org/themes/twentytwenty/
Template: twentytwenty
Version: 1.1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Text Domain: twentytwentychild
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

*Adjustments to main stylesheet*

1. Document Setup
2. Element Base
4. Site Header
8. Post: Archive
9. Post: Single
10. Blocks
11. Entry Content
15. Widgets
16. Site Footer

*Styles for additional design elements*

- Home page
- Local Teams search and browse
- Big Burns Night In
- Holyrood 2021
- Misc

*Plugin-related styling*

- Custom Post Type Grid
- Genesis Blocks
- Job Manager
- Site Map

- WooCommerce and Auction
-- Don't display
-- Typography
-- Spacing
-- Misc

- The Events Calendar
-- Listing pages
-- Single event
-- Categories legend
-- Block

----------------------------------------------------------------------------- */


/* -------------------------------------------------------------------------- */
/*	1. Document Setup
/* -------------------------------------------------------------------------- */


body {
	font-family: museo-sans, sans-serif;
}

@supports ( font-variation-settings: normal ) {

body {
	font-family: museo-sans, sans-serif;
	letter-spacing: 0;
	}
}


/* ----------------------------------------------
Museo font. Usage:

@supports (font-variation-settings: normal) {
	html { font-family: museo-sans, sans-serif; }
}
---------------------------------------------- */

@font-face {
	font-family: museo-sans, sans-serif;
	font-weight: 500 700 900;
	font-style: normal;
}

@font-face {
	font-family: museo-sans, sans-serif;
	font-weight: 500 700 900;
	font-style: italic;
}

/* -------------------------------------------------------------------------- */
/*	2. Element Base
/* ---------------------------------------------*---------------------------- */


/* Quotes ------------------------------------ */


blockquote {
	margin: 0;
}

cite {
	color: #9B6ACD;
	font-size: 1.6rem;
}


/* Captions ------------------------------------ */


.wp-caption-text {
	text-align: center; }

figcaption .wp-caption-text {
	text-align: center;
	font-size: 1.7em;
	line-height: 1.4;
}


/* Inputs ------------------------------------ */

label {
	font-size: 2rem;
}

input,
textarea,
button,
.button,
.faux-button,
.wp-block-button__link,
.wp-block-file__button {
	font-family: museo-sans, sans-serif;
	line-height: 1;
	text-transform: none;
	color: #FFF;
}

@supports ( font-variation-settings: normal ) {

	input,
	textarea,
	button,
	.button,
	.faux-button,
	.faux-button.more-link,
	.wp-block-button__link,
	.wp-block-file__button {
		font-family: museo-sans, sans-serif;
	}
}

/* -------------------------------------------------------------------------- */
/*	4. Site Header
/* -------------------------------------------------------------------------- */


#site-header {
	background: #115740 !important;
	border-bottom: solid 7px #00B140;
	box-shadow: 0px 5px 20px rgba(0,0,0,0.3);
	width: 100%;
}

.header-titles {
	flex-wrap: nowrap;
	margin-top: 0;
}

.header-titles .site-logo {
	flex-shrink: 0;
	margin-top: 0;
}

@media (max-width: 700px) {
	.site-logo img {
		max-height: none
	}
	.header-inner {
		padding: 2.15rem 0;
	}
}

.header-titles .site-description {
	color: #FFF;
	font-weight: 900;
	font-size: 2.5rem;
	width: 100%;
	margin-top: 0;
}

.header-titles .site-description a {
	color: #FFF;
	text-decoration: none;
}

@media (min-width: 1000px) {
	.header-titles-wrapper {
		margin-right: 3rem;
	}
}

ul.primary-menu {
	font-size: 2.1rem;
}

.primary-menu li a {
	color: #FFF !important;
	font-weight: 900;
}

.primary-menu li .icon {
	color: #FFF !important;
}

/* An update to 2020 theme in November 2021 underlined .current_page_ancestor, so we make the underline white */
.primary-menu .current_page_ancestor {
	text-decoration: underline;
	color: #FFF;
}

.sub-menu li a {
	font-weight: 500;
}

.svg-icon {
	color: #FFF !important;
}

.modal-menu .svg-icon {
	color: #1a883d !important;
}

.header-navigation-wrapper {
	align-items: flex-start;
}

.toggle-inner {
	height: auto;
}

.toggle-inner .toggle-icon {
	display: none;
}

.toggle-inner .toggle-text {
	color: #FFF !important;
	font-size: 2rem !important;
}

/* the word "Menu" */
.toggle-wrapper:first-child .toggle-inner .toggle-text {
	top: calc(100% - 4.2rem);
}

/* the lines either side of the word "Menu" */
.header-inner .toggle-wrapper::before {
	top: 0;
}

.header-inner .toggle {
	padding: 0 2rem;
}
@media (min-width: 1000px) {
	.header-inner .toggle {
	padding: 0 4rem;
	}
}

/* the search icon & text */
.search-toggle .svg-icon {
	top: -0.9rem;
}

/* the word "Search" */
@media (max-width: 1000px) {
	.search-toggle .toggle-inner .toggle-text  {
		left: 0;
	}
}

.post-meta .meta-icon svg {
	color: #6d6d6d !important;
}


/* -------------------------------------------------------------------------- */
/*	8. Post: Archive
/* -------------------------------------------------------------------------- */

.archive-header {
	background: #00B140 url(images/halftone-120x900.png) repeat-x bottom !important;
	background-size: 40px 300px !important;
	padding: 5rem 0 1rem 0;
}

.archive-header h1.entry-title {
	color: #FFF;
	font-weight: 700;
}

.archive-title {
	font-size: 3.6rem;
	font-weight: 700;
	line-height: 1.138888889;
	letter-spacing: 0;
	margin: 0;
}

@media (min-width: 700px) {
	.archive-title {
		font-size: 6.4rem;
	}
}

@media ( min-width: 1220px ) {
	.archive-title {
		font-size: 8.4rem;
	}
}

h1.archive-title, h1.archive-title .color-accent, .archive-subtitle p {
	color: #FFF;
}

/* -------------------------------------------------------------------------- */
/*	9. Post: Single
/* -------------------------------------------------------------------------- */

/* Post Header for pages and other non-news post-types (same as archive-header above) */

.singular .page .entry-header,
.singular .campaign .entry-header,
.singular .election .entry-header,
.singular .place .entry-header,
.singular .people .entry-header {
	background: #00B140 url(images/halftone-120x900.png) repeat-x bottom !important;
	background-size: 40px 300px !important;
	padding: 5rem 0 1rem 0;
}

.singular .page h1.entry-title,
.singular .campaign h1.entry-title, 
.singular .election h1.entry-title,
.singular .place h1.entry-title,
.singular .people h1.entry-title {
	color: #FFF;
	font-weight: 700;
}

.singular .page .intro-text, 
.singular .campaign .intro-text, 
.singular .election .intro-text, 
.singular .place .intro-text, 
.singular .people .intro-text {
	margin-top: 1rem;
	margin-bottom: 0;
	color: #FFF;
}


/* -------------------------------------------------------------------------- */
/*	10. Blocks
/* -------------------------------------------------------------------------- */

/* Block Colors ------------------------------ */

.entry-content .dark-background a, .entry-content .dark-background p, .entry-content .dark-background li, .entry-content .dark-background h1, .entry-content .dark-background h2, .entry-content .dark-background h3 {
	color: #FFF !important;
}

/* Block Typography Classes ------------------ */

.has-drop-cap:not(:focus)::first-letter {
	font-family: museo-sans, sans-serif;
}

/* Block Font Families ----------------------- */

.has-drop-cap:not(:focus)::first-letter,
.entry-content .wp-block-archives,
.entry-content .wp-block-categories,
.entry-content .wp-block-cover-image,
.entry-content .wp-block-latest-comments,
.entry-content .wp-block-latest-posts,
.entry-content .wp-block-pullquote,
.entry-content .wp-block-quote.is-large,
.entry-content .wp-block-quote.is-style-large {
	font-family: museo-sans, sans-serif;
}

@supports ( font-variation-settings: normal ) {

	.has-drop-cap:not(:focus)::first-letter,
	.entry-content .wp-block-archives,
	.entry-content .wp-block-categories,
	.entry-content .wp-block-latest-posts,
	.entry-content .wp-block-latest-comments,
	.entry-content .wp-block-cover-image p,
	.entry-content .wp-block-pullquote {
		font-family: museo-sans, sans-serif;
	}
}

figure.wp-block-image .person {
margin-top: 0;
}

.entry-content .wp-block-button > a.wp-button, .entry-content .wp-block-button > a.wp-cta-button {
	color: #FFF !important;
	text-decoration: none;
}

/* -------------------------------------------------------------------------- */
/*	11. Entry Content
/* -------------------------------------------------------------------------- */

/* Link styling */

.entry-content a {
	color: #00843D;
	text-decoration: none !important;
}
.entry-content a:hover, .entry-content a:focus {
	text-decoration: underline !important;
}

/* Optional arrows after links (just add "has-arrow" class to the link) */
.entry-content a.has-arrow::after {
	content: "\00a0\003e";
}


/* Font Families ----------------------------- */

.entry-content {
	font-family: NonBreakingSpaceOverride, museo-sans, sans-serif;
	letter-spacing: normal;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content cite,
.entry-content figcaption,
.entry-content table,
.entry-content address,
.entry-content .wp-caption-text,
.entry-content .wp-block-file 
h1.tribe-events-single-event-title {
	font-family: museo-sans, sans-serif;
}

@supports ( font-variation-settings: normal ) {

	.entry-content h1,
	.entry-content h2,
	.entry-content h3,
	.entry-content h4,
	.entry-content h5,
	.entry-content h6,
	.entry-content cite,
	.entry-content figcaption,
	.entry-content table,
	.entry-content address,
	.entry-content .wp-caption-text,
	.entry-content .wp-block-file {
		font-family: museo-sans, sans-serif;
	}
}

.alignwide, .alignfull {
	margin-top: 0;
}


/* Alignment Classes ------------------------- */

.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
	max-width: 58rem;
	width: calc(100% - 4rem);
}

@media (min-width: 700px) {
	 .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
		max-width: 70rem;
	}
}
	
@media (min-width: 1000px) {
	 .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
		max-width: 80rem;
	}
}

@media (min-width: 1220px) {
	 .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
		max-width: 90rem;
	}
}

@media (min-width: 1000px) {
	 .entry-content > .alignright {
		position: static;
		max-width: none;
	}
}

@media (min-width: 1280px) {
	 .entry-content > .alignright {
		margin-right: 4rem;
	}
}


/* Pages with blocks ------------------------- */

@media (min-width: 700px) {
	.entry-content > .alignfullhome:not(.wp-block-group.has-background) {
		margin-top: 0;
	}
}
@media (min-width: 1000px) {
	.entry-content > .alignfullhome:not(.wp-block-group.has-background) {
		margin-top: 0;
	}
}

@media (min-width: 1220px) {
	.entry-content > .alignfullhome:not(.wp-block-group.has-background) {
		margin-top: 0;
	}
}

.entry-content > .alignfullhome {
	max-width: none !important;
	width: calc(100%) !important;
}

@media (min-width: 700px) { 
.entry-content > .alignwide:not(.wp-block-group.has-background),
.entry-content > .alignfull:not(.wp-block-group.has-background),  {
	margin-bottom: 0;
	margin-top: 0;
	}
}

@media (min-width: 1000px) { 
.entry-content > .alignwide:not(.wp-block-group.has-background), .entry-content > .alignfull:not(.wp-block-group.has-background) {
	margin-bottom: 0;
	margin-top: 0;
	}
}


/* -------------------------------------------------------------------------- */
/* 15. Widgets
/* -------------------------------------------------------------------------- */

/* Font Families ----------------------------- */

.widget_text p,
.widget_text ol,
.widget_text ul,
.widget_text dl,
.widget_text dt,
.widget-content .rssSummary {
	font-family: NonBreakingSpaceOverride, museo-sans, sans-serif;
	letter-spacing: normal;
}

.widget-content cite,
.widget-content figcaption,
.widget-content .wp-caption-text {
	font-family: museo-sans, sans-serif;
}

@supports ( font-variation-settings: normal ) {

	.widget-content cite,
	.widget-content figcaption,
	.widget-content .wp-caption-text {
		font-family: museo-sans, sans-serif;
	}
}

/* -------------------------------------------------------------------------- */
/*	16. Site Footer
/* -------------------------------------------------------------------------- */

.footer-menu {
	font-size: 1.5rem;
}

@media ( min-width: 700px ) {
.footer-menu {
		font-size: 2rem;
	}
}

.footer-social a svg {
	width: 1.7em; /* Added in 1.0.4 Makes the icons bigger than 24px default */
}

.has-footer-menu .footer-social-wrapper {
	flex-shrink: 0;
	margin-left: 1rem;
	width: 65%;
}

/* -------------------------------------------------------------------------- */
/*	Home page
/* -------------------------------------------------------------------------- */


/* Block: Custom posts ----------------------------- */

div.home-post-block {
	margin: 0 10%;
}

/*Homepage with big photo background (unused July 2021)*/

.solid-background {
	background-color: #00843D;
	border-radius: 5px;
	padding: 1% 2%;
}

.solid-background-dark-green {
	background-color: #115740;
	border-radius: 5px;
	padding: 1% 1%;
}

.solid-background a {
	color: #FFF !important;
}

.news-links a {
	color: #FFF !important;
	text-transform: uppercase;
	font-size: 1.8rem;
	font-weight: 500;
}

/*Homepage with posts featured at top*/

h1.latest-posts {
	font-size: 6rem !important;
}
@media ( max-width: 700px ) {
	h1.latest-posts {
		font-size: 4rem !important;
	}
}

/* h1 in top-left column */
.gb-block-layout-column-gap-0 .gb-block-layout-column:nth-child(1) h1 {
	padding: 10px 18px 10px 20px;
}

/* button in top-left column */
.gb-block-layout-column-gap-0 .gb-block-layout-column:nth-child(1) .gb-button {
	text-align: left;
	line-height: 1.3em !important;
}

/* h2 elements in top-right column */
.gb-block-layout-column-gap-0 .gb-block-layout-column:nth-child(2) h2 {
	font-size: 3rem;
	margin-top: 0.7em;
	margin-bottom: 0.6em;
}

/* lower-left column */
.gb-block-layout-column-gap-2 .gb-block-layout-column:nth-child(1) {
	
}

/* h2 elements in lower columns */
.home .entry-content .gb-block-layout-column-gap-2 h2 {
	font-size: 6rem;
	font-weight: 700;
	line-height: 1.138888889;
	margin-top: 3rem;
}

	@media ( max-width: 600px ) {
		.home .entry-content .gb-block-layout-column-gap-2 h2 {
			font-size: 5rem;
		}
	}

ul.wp-block-latest-posts__list {
	list-style: disc !important;
	list-style-position: outside !important;
	padding-left: 1em;
	/*color: #FFF !important;*/
	margin-top: 0 !important;
	margin-bottom: 1em !important;
}

/*
ul.wp-block-latest-posts__list li {
	line-height: 1.1em;
	padding-bottom: 0.2em;
	color: #FFF !important;
}

.wp-block-latest-posts__post-author {
	color: #FFF !important;
}

.wp-block-latest-posts.wp-block-latest-posts__list li a {
	color: #FFF !important;
}
*/

/*Social Media Block*/

.wp-social-link {
	width: 50px;
	height: 50px;
	border-radius: 50px;
	align-items: center;
}

.wp-social-link a, .wp-social-link a:active, .wp-social-link a:hover, .wp-social-link a:visited, .wp-social-link svg {
	margin: auto;
	height: 100% !important;
}

.wp-block-social-links .wp-social-link svg {
	width: 1.5em; /* Added in 1.0.4 Makes the icons bigger than 1em default */
}

.wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg {
	color: #FFF; /* Added in 1.0.4 Makes the icons white */
}

.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook,
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram,
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter,
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube {
	background-color: #00843D;
}


/* -------------------------------------------------------------------------- */
/*	Local Teams search and browse
/* -------------------------------------------------------------------------- */

.is-form-style.is-form-style-3 label {
    width:calc(100% - 62px) !important
}

.is-form-style input.is-search-input {
	padding: 30px;
	font-size: 18px !important;
	font-family: museo-sans;
}

.is-form-style button.is-search-submit {
	height: 62px;
	width: 62px;
}

.is-search-icon {	
	height: 62px;
	width: 62px;
	padding-top: 12px !important;
}

.is-search-icon svg {	
	width: 40px;
}

.browse-wards h3.ptam-block-post-grid-title a {
	color: #fff !important;
}

/* -------------------------------------------------------------------------- */
/*	Big Burns Night In
/* -------------------------------------------------------------------------- */

h1.bbni {
	font-size: 8rem;
	font-weight: 800;
	color: #8a67a7;
}

@media ( max-width: 400px ) {

h1.bbni {
	font-size: 7rem;
	}
}


h2.bbni {
	font-size: 6rem;
	margin-top: 0em;
	font-weight: 700;
	color: #8a67a7;
}

@media ( max-width: 400px ) {

h2.bbni {
	font-size: 5rem;
	}
}

h3.bbni {
	font-size: 4.5rem;
	margin-top: 0; 
	color: #115740;
}

h3.bbnilounge {
	font-size: 3.5rem;
	margin-top: 0; 
	color: #8a67a7;
}

h4.bbni {
	font-size: 2.5rem;
	margin-top: 0;
}

h5.bbni {
	font-size: 2rem;
	text-transform: uppercase;
	letter-spacing: 0.1px;
	margin-top: 0;
	margin-bottom: 0.5rem;
	color: #8a67a7;
}

.entry-content ul.bbni li {
	margin-left: 0;
}

div.asp_product_buy_button {
	text-align: center;
	}

.bbni-donate-button {
	text-align: center;
	font-size: 26px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1 !important;
	background-color: #8a67a7;
	border: none;
	border-radius: 5px;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	padding: 0.6em 1em;
	text-decoration: none !important;
	text-transform: none;
	word-break: break-word;
	transition: 0.3s ease;
	display: inline-block;
	}
	
.bbni-donate-button:hover {
    box-shadow: inset 0 0 200px rgba(255, 255, 255, 0.15)
}

/* -------------------------------------------------------------------------- */
/*	Holyrood 2021
/* -------------------------------------------------------------------------- */

.holyrood {
	font-weight: 900;
	font-style: italic;
}

h1.holyroodcaps {
	font-weight: 900 !important;
	font-style: italic !important;
	text-transform: uppercase !important;
}

h3.holyrood {
	margin: 3rem auto 2rem;
}

/* -------------------------------------------------------------------------- */
/*	Misc
/* -------------------------------------------------------------------------- */

.entry-categories-inner {
	display: none;
}

.entry-content h2.tight {
	margin: 2rem auto 1rem;
}

.wp-block-group.has-background .contact-box {
	margin-bottom: 1rem;
}

span.nowrap {
	white-space: nowrap;
}

h1.has-text-color a {
	color: white !important;
text-decoration: none;
}

h1.homebignotice {
	font-size: 4em;
	font-weight: 900 !important;
	font-style: italic !important;
	margin-top: 0.3em;
}

p.homebignotice {
	font-weight: 900;
	font-style: italic;
	line-height: 1.5em;
}

p.homebignotice a {
	color: #FFFFFF !important;
	background: #00843D;
	padding: 3px 1% 0 1%;
}

p.homebignotice a:hover, p.holyrood a:focus {
	background: #115740 !important;
	text-decoration: none !important;
}

.contact-form label span {
	opacity: 0.55;
}

.contact-form label span.grunion-field-text {
	font-size: 100%;
	opacity: 1;
}

.contact-form :where(input[type=radio],input[type=checkbox]) {
    float: none;
    height: 1.5rem;
    width: 1.5rem;
}


/* An update to 2020 theme in November 2021 added padding zero, so we override that here */
#site-content .post-inner {
	padding-top: 8rem;
}


/* -------------------------------------------------------------------------- */
/*	Custom Post Type Grid Plugin
/* -------------------------------------------------------------------------- */

/* Set grid to switch from 3 column to 2-column at this point (default is to jump from 3 to 1) */
@media ( max-width: 600px ) {
	.ptam-block-post-grid div[class*="columns"].is-grid {
	    grid-template-columns: 1fr 1fr;
	}
}

/* Councillors page uses h2: Set headings to be smaller within blocks at smaller screen widths */
	/* Smaller for 4 narrow columns */
@media ( max-width: 960px ) {
	.ptam-block-post-grid h2.ptam-block-post-grid-title {
   	 font-size: 24px;
   	}
}
	/* Larger again for 3 wider columns */
@media ( max-width: 800px ) {
	.ptam-block-post-grid h2.ptam-block-post-grid-title {
   	 font-size: 28px;
   	}
}
	/* Smaller again for 3 narrow columns and 2 columns */
@media ( max-width: 700px ) {
	.ptam-block-post-grid h2.ptam-block-post-grid-title {
   	 font-size: 24px;
   	}
}

/* Local Teams page */
.browse-wards h3.ptam-block-post-grid-title {
	margin-bottom: 0;
	}

.ptam-block-post-grid .ptam-block-post-grid-image .avatar {
	float: right;
	margin: 0 0 0.5em 0.5em;
	max-width: 25%;
}

.ptam-block-post-grid .is-grid article {
	margin-bottom: 1em;
}

/* Override custom post type plugin behaviour which uses box-shadow to underline links */
.ptam-block-post-grid-link:hover, .ptam-block-post-grid-link:focus, .ptam-text-link:hover, .ptam-text-link:focus {
	box-shadow: none !important;
}

/* Add arrows after custom post type plugin links */
.ptam-block-post-grid-link::after, .ptam-text-link::after {
	content: "\00a0\003e";
}

/* -------------------------------------------------------------------------- */
/*	Genesis Blocks Plugin
/* -------------------------------------------------------------------------- */

div.gb-container-content .option-1 .gb-container-inside {
	background-color: #115740;
}

div.vote gb-block-button a {
	color: #00843D;
}

/* Make left column narrower on smaller screens */

@media ( max-width: 960px ) {
	.gb-2-col-wideleft>.gb-layout-column-wrap {
	-ms-grid-columns: 1.8fr 1fr;
	grid-template-columns: 1.8fr 1fr;
	}
}

@media ( max-width: 900px ) {
	.gb-2-col-wideleft>.gb-layout-column-wrap {
	-ms-grid-columns: 1.6fr 1fr;
	grid-template-columns: 1.6fr 1fr;
	}
}

@media ( max-width: 800px ) {
	.gb-2-col-wideleft>.gb-layout-column-wrap {
	-ms-grid-columns: 1.4fr 1fr;
	grid-template-columns: 1.4fr 1fr;
	}
}

@media ( max-width: 700px ) {
	.gb-2-col-wideleft>.gb-layout-column-wrap {
	-ms-grid-columns: 1.2fr 1fr;
	grid-template-columns: 1.2fr 1fr;
	}
}

/* Reduce button width on smaller screens down to 600px 
   then restore at that width */

@media ( max-width: 1280px ) {
	.gb-button-size-medium, input[type="submit"].gb-button-size-medium {
	padding: .6em 1em;
	}
}

@media ( max-width: 1220px ) {
	.gb-button-size-medium, input[type="submit"].gb-button-size-medium {
	padding: .6em .6em;
	}
}

@media ( max-width: 1100px ) {
	.gb-button-size-medium, input[type="submit"].gb-button-size-medium {
	padding: .6em .3em;
	}
}

@media ( max-width: 700px ) {
	.gb-button-size-medium, input[type="submit"].gb-button-size-medium {
	font-size: 18px;
	}
}

@media ( max-width: 600px ) {
	.gb-button-size-medium, input[type="submit"].gb-button-size-medium {
	font-size: 20px;
	padding: .6em 1em;
	}
}


/* -------------------------------------------------------------------------- */
/* Job Manager Plugin */
/* -------------------------------------------------------------------------- */

ul.job_listings li.job_listing a div.position {
	padding: 0;
}

.rp4wp-related-job_listing > ul li.job_listing a .meta, .rp4wp-related-job_listing > ul li.no_job_listings_found a .meta, ul.job_listings li.job_listing a .meta, ul.job_listings li.no_job_listings_found a .meta {
	padding: 0;
	width: 40% !important;
}

/* -------------------------------------------------------------------------- */
/* Site Map Plugin */
/* -------------------------------------------------------------------------- */

div.su-tabs-nav span {
	font-size: 1.8rem;
	font-weight: 700;
}

div.wsp-container li {
	font-size: 2rem;
}

/* -------------------------------------------------------------------------- */
/*	WOOCOMMERCE and AUCTION PLUGINS
/* -------------------------------------------------------------------------- */

/*DON'T DISPLAY*/

.related.products, p.uwa_auction_condition, div.uwa_auction_time, p.uwa_auction_product_timezone, span.posted_in, p.woocommerce-result-count, form.woocommerce-ordering, ul.wc-tabs {
	display: none;
	}

/*TYPOGRAPHY*/

nav.woocommerce-breadcrumb, p.price, span.price, ul.tabs, div.woocommerce-Tabs-panel--description ul, .woocommerce form.woocommerce-form-login label, .woocommerce form.woocommerce-form-login p, .woocommerce form.woocommerce-form-register label, .woocommerce form.woocommerce-form-register p, .woocommerce-account .woocommerce-MyAccount-content p, .woocommerce-account .woocommerce-MyAccount-navigation li, .woocommerce-checkout form .col2-set label, .wc_payment_method input.input-radio[name=payment_method]+label, .wc_payment_methods .payment_box p, .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text p {
	font-family: museo-sans, sans-serif;
	}

h1.woocommerce-products-header__title {
	margin-bottom: 3rem;
	color: #f07b08;
	}

h1.product_title {
	font-size: 7rem;
	color: #4b4b4b;
	}

a h2.woocommerce-loop-product__title a {
	color: #00843D !important;
	text-decoration: none !important;
	}

h2.woocommerce-loop-product__title a:hover, .entry-content a:focus {
	text-decoration: underline !important;
	}

ul.products li.product  a.woocommerce-loop-product__link h2.woocommerce-loop-product__title {
	color: #00843D;
	}

a.woocommerce-loop-product__link:hover h2 {
	text-decoration: underline;
	}

.woocommerce label {
	font-size: 1.7rem;
	}
	
.woocommerce table.shop_table.shop_table_responsive td {
	font-size: 16px;
	}

a.woocommerce-button, .woocommerce-info a.button, .woocommerce-PaymentMethod a.button, .woocommerce-MyAccount-content a.button, a.checkout-button {
	color: #FFF !important;
}

 a.button {
	color: #FFF !important;
}

.woocommerce-error li {
	display: block;
	}

ul.woocommerce-error a {
	color: #148438 !important;
	text-decoration: underline !important;
}

.expired {
	color: #aaa;
	}

/*SPACING*/

div.term-description p {
	text-align: center;
	padding-bottom: 1em;
}

div.woocommerce-product-gallery, div.woocommerce-product-gallery--with-images, div.woocommerce-product-gallery--columns-4 images {
	margin-bottom: 0;
	}

div.woocommerce-Tabs-panel--description ul {
	list-style-position: inside;
	margin-bottom: 1.25em;
	}

div.woocommerce-Tabs-panel--description li {
	margin-bottom: 10px;
	}

div.woocommerce-Tabs-panel h2 {
	padding-top: 1.5em;
}

.grunion-field-wrap {
	margin-bottom: 20px
		}


/*MISC*/

@media only screen and (max-width: 768px) {
.woocommerce .col2-set::before { content: "Not yet registered? Scroll down past the login section to register."}
}

div.stripe-source-errors {
	display: inline-block;
	}

/* -------------------------------------------------------------------------- */
/*	THE EVENTS CALENDAR
/* -------------------------------------------------------------------------- */

/*LISTING PAGES*/

/* Main Calendar listing */

.page-id-72 .post-inner {
	padding-top: 0!important;
}

.tribe-common-l-container {
/* new */ padding-top: 1em !important;
}

/* Main Calendar listing */

div.tribe-events-c-breadcrumbs {
	display: none }
	

/* Category, Organiser and Venue */

.tribe-events-view.alignwide {
	margin-top: 0;
}

h1.tribe-events-header__title-text {
	font-size: 5rem;
	font-weight: 700;
	letter-spacing: -2px;
}

a.tribe-events-pro-organizer__meta-website-link tribe-common-anchor {
	color: #00843D !important;
	font-weight: 700;
	text-decoration: none;
	border-bottom: none;
}

div.tribe-events-pro-organizer__meta-categories,
div.tribe-events-header__content-title {
	display: none !important; 
}

/* Month heading */

time.tribe-events-calendar-list__month-separator-text,
time.tribe-common-h7,
time.tribe-common-h6--min-medium,
time.tribe-common-h--alt {
	font-size: 2.5rem !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	line-height: 1.3;
	letter-spacing: 0;
	margin-top: 1rem;
	margin-bottom: 1rem
}

.tribe-events h2.tribe-events-calendar-list__month-separator:after {
	display: none;
}

/* Event separator line */

div.tribe-common-g-row.tribe-events-calendar-list__event-row {
	padding-top: 0 !important;
	padding-bottom: 2rem !important;
	border-bottom: 1px solid #00B140 !important;
}

/*Series - don't display*/

span.tribe-events-calendar-series-archive__container {
	display: none;
}

/*Featured - don't display*/

span.tribe-events-calendar-list__event-datetime-featured-text,
svg.tribe-common-c-svgicon.tribe-common-c-svgicon--featured.tribe-events-calendar-list__event-datetime-featured-icon-svg {
	display: none !important;
}

/* Links */

.entry-content a.tribe-events-calendar-month-mobile-events__mobile-event-title-link,
.tribe-events .tribe-events-calendar-month__multiday-event-bar-title,
.entry-content a.tribe-events-calendar-list__event-title-link,
.entry-content a.tribe-common-anchor-thin {
	color: #fff !important;
	text-decoration: none !important;
	}

.entry-content a.tribe-events-calendar-list__event-title-link:hover,
.entry-content a.tribe-events-calendar-list__event-title-link:focus,
.entry-content a.tribe-common-anchor-thin:hover,
.entry-content a.tribe-common-anchor-thin:focus {
	border-bottom: 1px solid #fff !important;
}

/* Removing line and space from bottom navigation */

nav.tribe-events-calendar-list-nav {
	padding-top: 0 !important;
}
	
nav.tribe-events-calendar-list-nav.tribe-events-c-nav {
	border-top: 0 !important;
}

/*SINGLE EVENT*/

/* Headings */

h1.tribe-events-single-event-title {
	font-size: 5rem;
	font-weight: 700;
	letter-spacing: -2px;
}

@media (max-width: 699px) {
	h1.tribe-events-single-event-title {
		font-size: 4rem;
		line-height: 4.8rem !important;
	}
}

div.tribe-events-single-event-description.tribe-events-content h2 {
	font-size: 36px;
	letter-spacing: -1px;
	margin-top: 5rem;
	margin-bottom: 3rem;
}

div.tribe-events-single-event-description.tribe-events-content h3 {
	font-size: 24px;
	margin-bottom: 1rem;
	margin-top: 3rem;
}

/* Removing Event Series alongside date/time */

div.tribe-events-series-relationship-single-marker {
	display: none 
}

/* Links */

.tribe-events-content a,
p.tribe-events-back a,
.tribe-events-meta-group a,
ul.tribe-events-sub-nav a {
	color: #00843D !important;
	font-weight: 700;
	text-decoration: none;
	border-bottom: none;
}

.tribe-events-content a:hover, 
.tribe-events-content a:focus,
p.tribe-events-back a:hover, 
p.tribe-events-back a:focus, 
.tribe-events-meta-group a:hover, 
.tribe-events-meta-group a:focus,
ul.tribe-events-sub-nav a:hover, 
ul.tribe-events-sub-nav a:focus {
	border-bottom: 1px solid #00843D;
	}

/* Meta info at bottom of event */

.tribe-events-schedule h2,
.tribe-events-meta-group h2.tribe-events-single-section-title {
	font-size: 2.5rem !important;
	font-weight: 700 !important;
	text-transform: none;
	line-height: 1.3;
	letter-spacing: -0.5px;
	margin-top: 1rem;
	margin-bottom: 1rem
	}
	
dt.tec-events-pro-series-meta-detail--label, 
dd.tec-events-pro-series-meta-detail--link, 
dt.tribe-events-event-categories-label, 
dd.tribe-events-event-categories,
dd.tribe-venue-url, dd.tribe-organizer-url {
	display: none
}

/* CATEGORIES LEGEND */

#legend_box.teccc-legend {
/* new */ text-align: center;
/* new */ width: 100%;
/* new */ margin-top: 5em;
/* new */ margin-bottom:0;
/* new */ padding: 0;
	font-family: museo-sans, sans-serif !important;
	font-weight: 700 !important;
	font-size: 1.5rem !important;
	margin-bottom: 5rem;
}

#legend_box.teccc-legend #legend li {
/* new */ display: inline-block;
/* new */ list-style-type: none;
/* new */ padding: 7px;
/* new */ margin: 0 0 0.7em 0.7em;
/* new */ border-left: 5px solid #CFCFCF;
/* new */ border-right: 5px solid transparent;
/* new */ color: #fff;
/* new */ line-height: 1.4em;
}

#legend_box.teccc-legend #legend li.tribe-events-category-consultation-deadlines {
/* new */ background-color: #af1f46;
}

#legend_box.teccc-legend #legend li.tribe-events-category-edinburgh-greens-meetings {
/* new */ background-color: #148438;
}

#legend_box.teccc-legend #legend li.tribe-events-category-edinburgh-greens-socials {
/* new */ background-color: #00b140;
}

#legend_box.teccc-legend #legend li.tribe-events-category-other-green-events {
/* new */ background-color: #115740;
}

#legend_box.teccc-legend #legend li.tribe-events-category-other-events {
/* new */ background-color: #0f87dd;
}

#legend_box.teccc-legend #legend a {
	color: #FFF; 
}

/* Hide new dropdown category filter menu */

.tec-events-category-color-filter {
	display: none !important;
}

/* Hide event type buttons in mobile view */

@media (max-width: 699px) {
	#legend_box {
		display: none;
	}
}
article.tribe-events-calendar-list__event.tribe_events_cat-edinburgh-greens-meetings h3 {
background-color: #148438;
border-left: 5px solid #CFCFCF;
border-right: 5px solid transparent;
color: #fff;
line-height: 1.4em;
padding-left: 5px;
padding-bottom: 2px;
}

article.tribe-events-calendar-list__event.tribe_events_cat-other-events h3 {
background-color: #0f87dd;
border-left: 5px solid #CFCFCF;
border-right: 5px solid transparent;
color: #fff;
line-height: 1.4em;
padding-left: 5px;
padding-bottom: 2px;
}

article.tribe-events-calendar-list__event.tribe_events_cat-consultation-deadlines h3 {
background-color: #af1f46;
border-left: 5px solid #CFCFCF;
border-right: 5px solid transparent;
color: #fff;
line-height: 1.4em;
padding-left: 5px;
padding-bottom: 2px;
}

article.tribe-events-calendar-list__event.tribe_events_cat-edinburgh-greens-socials h3 {
background-color: #00b140;
border-left: 5px solid #CFCFCF;
border-right: 5px solid transparent;
color: #fff;
line-height: 1.4em;
padding-left: 5px;
padding-bottom: 2px;
}


article.tribe-events-calendar-list__event.tribe_events_cat-other-green-events h3 {
background-color: #115740;
border-left: 5px solid #CFCFCF;
border-right: 5px solid transparent;
color: #fff;
line-height: 1.4em;
padding-left: 5px;
padding-bottom: 2px;
}

/* BLOCK */

ul.ecs-event-list {
	font-size: 1.6rem;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

li.ecs-event h4.entry-title {
	font-size: 1.5em;
	margin-top: 0.7em;
	margin-bottom: 0.3em;
}
li.ecs-event h4.entry-title a {
	color: #00843D;
	text-decoration: none !important;
}
li.ecs-event h4.entry-title a:hover, li.ecs-event h4.entry-title a:focus {
	text-decoration: underline !important;
}

/* VENUES */

.tribe-common .tribe-events-pro-venue__meta-data h2 {
	font-size: 2.7rem;
	font-weight: 700;
	margin-bottom: 0.5em;
}

.tribe-common .tribe-events-pro-venue__meta-data p {
	margin-bottom: 0.5em;
}

.tribe-common .tribe-events-pro-venue__meta-data a:not(.tribe-common-anchor--unstyle) {
	color: #00843D;
	font-weight: 700;
}
