/*
Theme Name:     Good Grief - Temp
Theme URI:      https://goodgrieffest.com
Description:    Custom theme by the Mighty Ant
Author:         The Mighty Ant
Author URI:     https://themightyant.com
Version:        0.3.6

===========================
BRAND COLOURS: */

:root {
    --black: #000000;
    --white: #FFFFFF;
    --yellow: #FFD000; /* FFD000 #FEC900 FECD30 FFAE00 FFC400 */
    --bright-yellow: #EDDD15;
    --light-grey: #C4C4C4;
    --light-grey-bg: #EFEEED; /* #EAEAEA; */
    --light-grey-line: #FFD000;    
}

/*
===========================
CONTENTS:

01 Sensible defaults
02 Typography
03 General CSS
04 Content blocks CSS
05 Page Template CSS
06 Media queries 

===========================

/* ---------------------------------------------------------------------------------------------------------- 
------------------------------------------- 01 SENSIBLE DEFAULTS --------------------------------------------
---------------------------------------------------------------------------------------------------------- */

/* Starkers CSS Reset */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0}
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}
audio,canvas,video{display:inline;zoom:1}
html{font-size:100%;box-sizing:border-box;overflow-y:scroll;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}
*, *:before, *:after {box-sizing:inherit;}
body{margin:0}
a{color:blue}
li{list-style:none}
b,strong{font-weight:700}
i,em,dfn{font-style:italic}
hr{display:block;height:1px;border:0;border-top:1px solid var(--black);margin:2em 0;padding:0}
small{font-size:85%}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sup{top:-.5em}
sub{bottom:-.25em}
img{border:0;-ms-interpolation-mode:bicubic;vertical-align:middle}
label{cursor:pointer}
input,select,textarea{font-size:100%;vertical-align:middle;margin:0}
button,input{line-height:normal;overflow:visible}
button,input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}
input[type=checkbox],input[type=radio]{box-sizing:border-box}
input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}
input[type=search]::-webkit-search-decoration{-webkit-appearance:none}
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
textarea{overflow:auto;vertical-align:top;resize:vertical}
table{border-collapse:collapse;border-spacing:0}
td{vertical-align:top}

div,article,section,header,footer,nav,li { position:relative; }
.group:after 		{ display:block; height:0; clear:both; content:""; visibility:hidden; font-size: 0; }
::-moz-selection 	{ background:var(--yellow); color:var(--black); }
::selection 		{ background:var(--yellow); color:var(--black); }

/* Wordpress defaults - previously img.alignright etc. */
.alignright { float: right; margin: 0 0 15px 15px; max-width: 50%; height: auto; }
.alignleft { float: left; margin: 0 15px 15px 0; max-width: 50%; height: auto; }
.aligncenter { display: block; margin: 0 auto; max-width: 100%; height: auto; }  
.alignnone { margin: 10px 0; max-width: 100%; height: auto; }
.wp-caption-text { margin-bottom: 0; font-size: 14px; display: inline-block; }

/* Useful Classes */
.sprite { background-repeat: no-repeat; text-indent: -9999px; display: inline-block; position: relative; }
.responsive { width: 100%; height: auto; }
.mobile { display: none; }
.desktop { display: block; }
.display-none { display: none }
.centered { margin: 0 auto; }
.v-align { position: absolute; top: 0; bottom: 0; left: 0; right: 0; }
.v-align::before { content: ''; display: inline-block; height: 100%; vertical-align: middle; margin-right: -0.35em; }
.v-align span { display: inline-block; text-align: center; width: auto; padding: 10px; vertical-align: middle; }
.flex-direction-nav li { position: inherit; }

.js-button, .js-button:hover, .js-button:active, .js-button:focus { outline: none; }
.print { display: none; }
.layout { background-color: hsla(0, 50%, 50%, 0.5); }

.embed-container { position:relative; padding-bottom:56.25%; overflow:hidden; max-width:100%; height:0; height:auto;	} 
.embed-container iframe, .embed-container object, .embed-container embed { position:absolute; top:0; left:0; width:100%; height:100%; }

/* Animation and filters */
.animate-all, .menu-item a { 
    -webkit-transition: all 300ms; 
            transition: all 300ms; 
}
.animate-all-slow { 
    -webkit-transition: all 600ms; 
            transition: all 600ms; 
}

.no-touchevents .img-link:hover img,
.img-link:focus img, 
.img-link:active img {
    -webkit-filter: saturate(110%) contrast(110%) brightness(105%);
            filter: saturate(110%) contrast(110%) brightness(105%);  
}

/* ---------------------------------------------------------------------------------------------------------- 
---------------------------------------------- 02 TYPOGRAPHY ------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

/* FONTS 

font-family: 'Montserrat', sans-serif; 
font-weight: 400 400i 700;

font-family: 'Roboto', sans-serif;
font-weight: 500 700;

*/

body, input, textarea { 
    color: var(--black);
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
}

h1, .h1 {
    font-size: 28px;
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: 20px;
}
h2, .h2 {
    font-size: 24px;
    line-height: 1.1;
    margin-bottom: 20px;
}
h3, .h3 {
    font-size: 21px;
    line-height: 1.2;
    margin-bottom: 21px;
}
h4, .h4 { 
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 22px;
}
h5, .h5 { }
h6, .h6 { }

* + h1, 
* + h2 {
    margin-top: 40px;
    /*margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--light-grey);*/
}

.uppercase {
    text-transform: uppercase;
}

p { 
	margin-bottom: 23px; 
}

a, a:link, a:visited {
	color: var(--black);
}
a:hover, a:active, a:focus {
	color: var(--yellow); 
}
a[href^="tel"] {
	text-decoration: none;
}
a h1, a h2, a h3, h1 a, h2 a, h3 a {
    transition: color 200ms;
}

ul { 
    padding-left: 20px; 
    margin-bottom: 23px; 
}
ol { 
    padding-left: 22px; 
    margin-bottom: 23px; 
}
ul li { 
    list-style-type: disc; 
}
ol li { 
    list-style-type: decimal; 
}

.button,
.button:link,
.button:visited { 
    background: transparent; 
    color: var(--black); 
    border: 1px solid var(--black); 
    padding: 9px 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700; 
    display: inline-block; 
    text-decoration: none;  
    text-align: center;
    transition: all 250ms;
}
.button-alt, 
.button-alt:link, 
.button-alt:visited {
    background: var(--yellow);
}
.button-large, 
.button-large:link, 
.button-large:visited {
    font-size: 24px;
    padding-top: 15px;
    padding-bottom: 15px;
}
@media(hover:hover) {
    .button:hover,
    .button:active,
    .button:focus { 
        background: var(--black); 
        color: var(--white);
    }
}
.button-arrow, 
.button-arrow:link, 
.button-arrow:visited {
    padding-left: 15px;
    padding-right: 7px;
    text-align: left;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}
.button-arrow::after {
    content: '';
    width: 52px;
    height: 23px;
    display: inline-block;
    background-image: url('images/arrow-button-black.svg'), url('images/arrow-button-white.svg');
    background-position: 0 0;
    background-repeat: no-repeat;
    margin-left: 13px;
}
.button-arrow:hover::after, 
.button-arrow:focus::after {
    background-image: url('images/arrow-button-white.svg');
}

/* Dark BG */
.dark-bg .button-arrow, 
.dark-bg .button-arrow:link, 
.dark-bg .button-arrow:visited {
    border-color: var(--white);
    color: var(--white);
}
.dark-bg .button-arrow::after {
    background-image: url('images/arrow-button-white.svg');
}
.dark-bg .button-arrow:hover::after, 
.dark-bg .button-arrow:focus::after {
    background-image: url('images/arrow-button-black.svg');
}
@media(hover:hover) {
    .dark-bg .button:hover,
    .dark-bg .button:active,
    .dark-bg .button:focus { 
        background: var(--yellow); 
        color: var(--black);
    }
}



/* Classes */
.no-last-padding > *:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------------------------------------------------------- 
---------------------------------------------- 03 GENERAL CSS -----------------------------------------------
---------------------------------------------------------------------------------------------------------- */

body{
	
}

/* ----------------------------------------------- HEADER ------------------------------------------------ */

.site-header {
    background-color: var(--white);
    display: block;
    position: sticky;
    top: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    transition: all 250ms;
    z-index: 100;
}
.site-header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
}
.logo {
    margin-bottom: 0;
}
.logo,
.logo a{
	width: 220px;
    height: 44px;
}
.logo a{
	background: url("images/logo@2x.png") 0 0 no-repeat;
    background-size: 237px;
    transform: translateX(-14px);
}

/* Main menu */
.menu-header {
    display: none;
}

/* Menus */
.main-menu li {
    display: inline-block;
    list-style-type: none;
    position: relative;
    line-height: 1;
}
.menu-item a {
    /*color: var(--black);*/
    text-decoration: none;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    background: transparent;
    transition: color 250ms;
}


/* Mobile Menu */
.mobile-menu-nav {
    width: 100%;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--black);
    transform: translateY(-100%);
    transition: transform 650ms;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.menu-open .mobile-menu-nav {
	transform: translateY(0);
}
.mobile-menu, 
.mobile-menu ul {
    margin: 0;
    padding: 0;
}

.mobile-menu {
    max-height: calc(100vh - 100px);
    overflow: auto;
    overflow-x: hidden;
    margin: 100px 0 0;
    padding: 0 20px;
}
.mobile-menu li {
    display: block;
    list-style-type: none;
    margin: 4px 0;
}
.mobile-menu > li:not(:last-child) {
    margin-bottom: 15px;
}

.mobile-menu a {
    color: var(--white);
}
.mobile-menu a:hover, 
.mobile-menu a:focus {
    color: var(--yellow);
}
.mobile-menu > li > a {
    font-weight: 700;
}


/* ----------------------------------------------- LAYOUT ------------------------------------------------ */

.dark-bg {
    color: var(--white);
}
.dark-bg a, .dark-bg a:link, .dark-bg a:visited {
    color: var(--white);
}
.dark-bg a:hover, .dark-bg a:active, .dark-bg a:focus {
    color: var(--yellow);
}


.top-content {
    margin-top: 30px;
}

/* -------------------------------------------- SECTION TITLE -------------------------------------------- */




/* ----------------------------------------------- FOOTER ------------------------------------------------ */

/* Partners Footer */
.partners-footer {
    background: var(--black);
    padding: 15px 0;
}
.partners-footer-col-1 {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}
.partners-link {
    font-family: 'Roboto';
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
}

/* Site Footer */
.site-footer {
	padding-top: 30px;
	padding-bottom: 50px;
    background-color: #fff;
}

/* Footer Menu */
.footer-menu {
    display: block;
    margin-bottom: 45px;
    padding: 0;
}
.footer-menu li {
    list-style-type: none;
    margin: 20px 0;
}
.footer-menu a {
    font-size: 20px;
    text-transform: initial;
}

/* Newsletter Signup */
#substack_embed_signup {
    max-width: 380px;
    margin: -20px 0 0 -15px;
}
.footer-signup p {
    letter-spacing: 1.8px;
}
.footer-signup-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    margin-bottom: 35px;
}
.signup-form-input {
    /* width: calc(100% - 155px); */
    width: 100%;
    padding: 9px 15px;
    border-radius: 0;
    border: 1px solid var(--black);
}
form input::placeholder {
    font-style: italic;
    opacity: 0.7;
}
form .button {
    background: var(--black);
    color: var(--white);
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 9px 25px;
    transition: all 250ms;
    min-width: 135px;
}
.signup-form-button {
    margin: 10px 0 0 0;    
}
form .button:hover {
    background: var(--yellow);
    color: var(--black);
}

/* Social Links */
.social-links {
    margin: 0;
    padding: 0;
    display: flex;
}
.social-links li {
    list-style-type: none;
    display: inline-block;
    width: 50px;
    height: 50px;

    margin-right: 20px;
    cursor: pointer;
}
.social-links li:last-child {
    margin-right: 0;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none;
    font-size: 50px;
}


/* ---------------------------------------------------------------------------------------------------------- 
------------------------------------------- 04 CONTENT BLOCK CSS --------------------------------------------
---------------------------------------------------------------------------------------------------------- */

/* ----------------------------------------------- LAYOUT ------------------------------------------------ */

.container {
    max-width: 1280px;
}
.block {
    margin-top: 40px; 
    margin-bottom: 40px;
}
.single-post .block:last-of-type {
    margin-bottom: 0;
}

/* --------------------------------------------- CB HEADER ---------------------------------------------- */

.page-header {
    margin-top: 35px;
    margin-bottom: 35px;
    min-height: 120px;
}
.gg-title {
    margin-bottom: 2px;
}
.page-title {
    font-size: 46px;
    margin-top: 0;
    margin-bottom: 40px;
}
.page-header .button:not([type=submit]) {
    margin-top: 25px;
}



/* --------------------------------------------- CB HEADER ---------------------------------------------- */

.cb-header .img-col {
    margin-top: 50px;
}
.cb-header .button-alt {
    min-width: 232px;
}

/* --------------------------------------------- CB LR ---------------------------------------------- */

.cb-lr:not(.cb-header) .img-col {
    margin-bottom: 30px;
}
/* --------------------------------------------- CB GALLERY ---------------------------------------------- */

.slider-nav {
    text-align: center;
    margin-top: 35px;
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
}
.slider-button {
    text-decoration: none;
    padding: 0 5px;
}

/* ------------------------------------------- CB EVENTS GRID -------------------------------------------- */


/* ------------------------------------------- CB EVENTS GRID -------------------------------------------- */

.posts-grid {
    margin-bottom: -50px;
}

/* ------------------------------------------- CB ITEMS GRID -------------------------------------------- */

.grid-title {
    margin-bottom: 25px;
}

/* ------------------------------------------- CB BOXED LIST -------------------------------------------- */

.cb-boxed-list .grid-title {
    /*font-size: 21px;*/
}

.boxed-item:not(:last-child) {
    margin-bottom: 20px;
}
.boxed-item-box {
    border: 1px solid var(--black);
    aspect-ratio: 2 / 1.33;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 15% 11% 10% 11%;
    background-color: var(--black);
    color: var(--white);
}

/* ------------------------------------------- CB VIDEOS GRID -------------------------------------------- */

.video-item-thumbnail {
    margin-bottom: 0;
}
.video-item-box {
    position: relative;
    margin-bottom: 0;
}
.video-item-box::before,
.video-item-box::after {
    content: '';
    width: 90px;
    height: 90px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 350ms;
    z-index: 1;
}
.video-item-box::before {
    opacity: 0;
    background: url("images/icon-play-yellow-bordered.svg") 0 0 no-repeat;
}
.video-item-box::after {
    opacity: 1;
    background: url("images/icon-play-black-bordered.svg") 0 0 no-repeat;
}
@media (hover:hover) {
    .video-item:hover .video-item-box::before {
        opacity: 1;
    }
    .video-item:hover .video-item-box::after {
        opacity: 0;
    }
}
.videos-grid-footer {
    text-align: center;
}


/* ----------------------------------------- CB RESOURCE ITEMS ------------------------------------------- */

.colour-bg.block {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 40px;
    padding-bottom: 40px;
}
.grey-bg {
    background-color: var(--light-grey-bg);
}
.grey-bg + .grey-bg {
    margin-top: -10px;
}

.resource-section-title {
    margin-bottom: 16px;
}

/* Items */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 10px;
}
.resource-item {
    background: #fff;
    padding: 15px;
    text-decoration: none;
    transition: all 200ms;
}
@media (hover:hover) {
    .resource-item:hover,
    .resource-item:active,
    .resource-item:focus {
        background: var(--black);
        color: var(--white);
    }
}

/* --------------------------------------- CB RESOURCES ----------------------------------------- */

.resources-item,
.resources-item:link,
.resources-item:visited {
    background: var(--black);
    color: var(--white);
    font-weight: 700;
}
@media (hover:hover) {
    .resources-item:hover,
    .resources-item:active,
    .resources-item:focus {
        background: var(--yellow);
        color: var(--black);
    }
}

/* --------------------------------------- CB ORGANISATION ITEMS ----------------------------------------- */

/* Items items */
.organisation-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 10px;
}
.organisation-item {
    background: #fff;
    padding: 10px;
    text-decoration: none;
    will-change: opacity;
    transition: opacity 350ms;
}
@media (hover:hover) {
    .organisation-item:hover,
    .organisation-item:active,
    .organisation-item:focus {
        opacity: 0.65;
    }
}


/* --------------------------------------- CB HOME HUB ---------------------------------------------------- */

.cb-home-hub.block {
    padding-top: 45px;
    padding-bottom: 40px;
}
.cb-home-hub .h1 {
    margin-bottom: 40px;
}
.home-hub-item:not(:last-child) {
    margin: 40px 0;
}
.home-hub-link {
    text-decoration: none;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}
.home-hub-link:after {
    content: '';
    display: inline-block;
    width: 52px;
    height: 26px;
    background-image: url("images/arrow-button-black.svg");
    background-position: 0 0;
    background-repeat: no-repeat;
    flex: 0 0 52px;
    margin-left: 20px;
}
.home-hub-img {
    margin-top: 40px;
    margin-bottom: 25px;
}

/* --------------------------------------- CB DARK CTA ---------------------------------------------------- */

.dark-bg {
    background-color: var(--black);
}
.cb-dark-cta {
    text-align: center;
}
.cb-dark-cta .col-12 {
    max-width: 900px;
}
.cb-dark-cta h2 {
    text-transform: initial;
    margin-bottom: 30px;
}
.cb-dark-cta h3 {
    margin-bottom: 30px;
}


/* ---------------------------------------------------------------------------------------------------------- 
------------------------------------------- 05 PAGE TEMPLATE CSS --------------------------------------------
---------------------------------------------------------------------------------------------------------- */

/* ------------------------------------------------ HOME ------------------------------------------------- */

.home .page-header .page-title {
    font-size: 78px;
    line-height: 1;
    margin-bottom: 25px;
}
.home .page-header p {
    font-size: 22px;
    max-width: 450px;
}

.home .cb-header .button:not(:last-child) {
    margin-right: 10px;
}

/* ---------------------------------------- DEFAULT PAGE TEMPLATE ---------------------------------------- */

.page-template-default .partners-footer {
    margin-top: 50px;
}


/* ----------------------------------------------- ABOUT ------------------------------------------------- */

.page-id-21351 .cb-lr .image-left img {
    /*transform: scale(0.8);*/
}


/* ---------------------------------------------- ARCHVIES ----------------------------------------------- */

/* Post filter */
.post-filter-box {
    margin-top: 35px;
    padding: 6px 0;
    border: 2px solid var(--black);
    border-width: 2px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
}
.filter-label {
    font-size: 16px;
    white-space: nowrap;
    margin-right: 10px;
    display: none;
}
.post-filter {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
}
.post-filter li {
    list-style-type: none;
}
.filter-item {
    margin-left: 10px;
}
.filter-link {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

/* No posts */
.no-posts {
    margin-bottom: 50px;
}


/* ----------------------------------------------- SINGLE ------------------------------------------------ */

.single article {
    margin-bottom: 0;
}
.post-meta {
    margin-top: 40px;
    margin-bottom: 25px;
    font-size: 18px;
}
.post-meta p {
    margin-bottom: 10px;
}
.post-meta span {
    /*text-transform: uppercase;*/
    display: inline-block;
    margin-right: 2px;
}
.post-meta .button {
    margin-top: 30px;
}
.single-thumbnail {
    margin: 24px 0;
}

/* Section Divider */
.section-divider {
    border-top: 1px solid var(--black);
    margin: 40px 0;
}
.single-header .section-divider {
    border-top: none;
    margin: 0;
}
.single-footer .section-divider {
    text-align: center;
    padding-top: 40px;
}
.single-post .page-header + .cb-gallery {
    margin-top: 5px;
}


/* Text */
article ul,
article ol {
    margin-left: 22px; 
}

/* Images */
.wp-block-image {
    margin: 24px 0;
}
.wp-block-image img {
    /*max-width: 100%;*/
    width: 100%;
    height: auto;
}
.wp-block-embed, .is-type-video, .wp-block-embed-vimeo {
    margin: 34px 0;
}

/* Sidebar */
.post-side-quote::before {
    content: '“';
    display: block;
    margin-bottom: 0px;
    font-size: 50px;
    line-height: 1;
}

/* ------------------------------------------- SINGLE EVENTS --------------------------------------------- */

.event-speakers {
    margin-bottom: 0px;
}
.section-title,
.h1.section-title {
    font-size: 28px;
    text-transform: uppercase;
}
.section-title-padding {
    margin-top: 60px;
    margin-bottom: 22px;
}
.grid-item {
    margin-bottom: 50px;
    text-decoration: none;
}
.grid-item-thumbnail {
    margin-bottom: 16px;
}
.img-link img {
    filter: none;
    transition: all 350ms;
}
@media(hover:hover) {
    .img-link:hover img {
        filter: brightness(1.1) saturate(1.1);
        transition: all 350ms;
    }
}

/*.single-events .single-footer .section-divider,
.single-facilitators .single-footer .section-divider {
    margin-top: 0;
}*/

/* ----------------------------------------- SINGLE SPEAKERS -------------------------------------------- */

.single-facilitators .single-thumbnail {
    margin-top: 5px;
}
.speaker-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: -20px;
}
.speaker-links li {
    margin-right: 0;
    margin-left: 14px;
    margin-bottom: 14px;
    width: 40px;
    height: 40px;
}
.social-link {
    font-size: 40px;
}

/* Events grid */
.single-facilitators .section-title {
    margin-top: 0;
}
.post-item-thumbnail,
.events-item-thumbnail {
    margin-bottom: 12px;
}
.grid-item-date {
    font-size: 16px;
    margin-bottom: 18px;
}
a .grid-item-date {
    color: #000;
}

/* ------------------------------------------- SINGLE RESOURCES ------------------------------------------ */

/* Page Header */
.resource-header {
    padding-top: 45px;
    padding-bottom: 45px;
}
.resource-page-title {
    margin-bottom: 0;
}

/* Grid titles */
.resources-section-title {
    text-transform: uppercase;
}

/* Footer */
.resources-footer {
    text-align: center;
    margin: 35px 15px;
}


/* --------------------------------------------- PARTNERS ------------------------------------------------ */

.partners-grid {
    margin-bottom: 20px;
}
.partner-item {
    margin-bottom: 30px;
}
a.opacity-link img {
    transition: all 350ms;
    will-change: opacity;
}
@media(hover:hover) {
    a.opacity-link:hover img {
        opacity: 0.65;
    }
}



/* ---------------------------------------------- CONTACT ------------------------------------------------ */





/* ---------------------------------------------- PLUGINS ------------------------------------------------ */

.temp-plugin {
    border: 2px solid #000;
    margin-bottom: 70px;
    min-height: 300px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-transform: uppercase;
}


/* ---------------------------------------------- CONTACT ------------------------------------------------ */

/* Map */
/* Show zoom controls */
#gmap div {
    position: initial;
}
/*.gm-bundled-control-on-bottom {
    bottom: 85px !important; 
}
#gmap > div > div > div:nth-last-child(3) {
    position: relative;
}
#gmap > div > div > div:last-child {
    position: relative;
}*/
/* Google Map text buttons */
/*.gmnoprint button, .gmnoprint a, .gmnoprint span, .gm-style-cc a {
    color: #7A7A7A !important;
}*/


/* Form */
body .gform_wrapper .gfield_required {
    display: none;
}
body .gform_wrapper.gravity-theme .gfield_label {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 6px;
}
body .gform_wrapper.gravity-theme input:not([type=submit]) {
    font-size: 16px;
    border-radius: 0;
    border-width: 1px;
    border-color: var(--black);
    border: 1px solid var(--black);
}
body .gform_wrapper.gravity-theme .gform_footer, 
body .gform_wrapper.gravity-theme .gform_page_footer {
    padding-bottom: 0;
}
body .gform_wrapper.gravity-theme .gform_footer input[type=submit] {
    margin-bottom: 0;
}

/* Payment fields */
.ginput_total {
    /* font-weight: 600; */
    color: var(--black) !important;
}

/* Form Validation */
body .gform_wrapper .gform_validation_errors {
    border-radius: 0;
    padding: 16px 16px 16px 24px;
}
body .gform_wrapper .gform_validation_errors>h2 {
    font-size: 14px;
}
body .gform_wrapper .gform_validation_errors>h2 .gform-icon {
    display: none;
}
body .gform_wrapper.gravity-theme .gfield_validation_message {
    font-size: 14px;
    padding: 9px 24px;
}

/* confirmation */
#gform_confirmation_message_2,
#gform_confirmation_message_42 {
    background: #eee;
    padding: 50px 0 30px 0;
}

/* Stripe */
body .gform_wrapper .gfield--type-product .gfield_label_before_complex {
    font-weight: 700;
    /*margin-top: 20px;*/
}
body .gform_wrapper .gfield--type-product .ginput_container_singleproduct {
	
}
body .gform_wrapper .gfield--type-stripe_creditcard .gfield_label_before_complex {
    margin-top: 20px;
    /* margin-bottom: 20px; */
    font-weight: 700;
}
body .gform_wrapper.gravity-theme .ginput_product_price_wrapper {
    margin-bottom: 20px;
}
body .gform_wrapper.gravity-theme .ginput_product_price, 
body .gform_wrapper.gravity-theme .ginput_shipping_price {
    color: var(--black);
    font-weight: 700;
}
body .gform_wrapper.gravity-theme .ginput_complex label {
    font-size: 18px;
    margin-bottom: 6px;
}
body .gravity-theme .ginput_full[data-payment-element=false] .StripeElement {
    border-color: var(--black);
}

/* -------------------------------------------- PLAIN TEXT ----------------------------------------------- */

#data-table {
    border-spacing: 0;
    width: 100%;
    margin: 0 0 1.41575em;
    border-collapse: separate;
}
#data-table thead th {
    text-align: left;
    vertical-align: top;
    font-weight: 700;
    background: #f7f7f7;
}
#data-table th, #data-table td {
    border: 1px solid #e8e8e9;
    padding: 10px 10px;
    font-size: 15px;
}

.page .single-content table td {
    padding: 5px 8px;
    border: 1px solid #ddd;
}

/* ---------------------------------------------------------------------------------------------------------- 
---------------------------------------------- 06 PLUGIN CSS ------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */

.hamburger {
	padding: 14px 15px 12px;
	display: inline-block;
	display: inline-flex;
	cursor: pointer;
	transition-property: opacity, filter;
	transition-duration: 0.15s;
	transition-timing-function: linear;
	font: inherit;
	color: inherit;
	text-transform: none;
	background-color: transparent;
	border: 0;
	margin: 0;
	overflow: visible;
	outline: none;
    transform: translateX(15px);
}
/*.hamburger:hover {
	opacity: 0.7;
}*/
.hamburger-box {
	width: 36px;
	height: 28px;
	display: inline-block;
	position: relative;
}
.hamburger-inner {
	display: block;
	top: 50%;
	margin-top: -2px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
	width: 36px;
	height: 2px;
	background-color: var(--black);
	border-radius: 0px;
	position: absolute;
	transition-property: transform;
	transition-duration: 0.15s;
	transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after {
	content: "";
	display: block;
}
.hamburger-inner::before {
	top: -10px;
}
.hamburger-inner::after {
	bottom: -10px;
}

/* 3DX */
.hamburger--3dx .hamburger-box {
	perspective: 80px; 
}
.hamburger--3dx .hamburger-inner {
	transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); 
}
.hamburger--3dx .hamburger-inner::before, .hamburger--3dx .hamburger-inner::after {
	transition: transform 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1); 
}
/* Don't show hover on touch devices */
@media (hover: hover) {
    .hamburger:not(.is-active):hover {
        opacity: 0.6;
    }
}.hamburger--3dx.is-active .hamburger-inner {
	background-color: transparent;
	transform: rotateY(180deg); 
}
.hamburger--3dx.is-active .hamburger-inner::before {
	transform: translate3d(0, 10px, 0) rotate(45deg); 
}
.hamburger--3dx.is-active .hamburger-inner::after {
	transform: translate3d(0, -10px, 0) rotate(-45deg); 
}

/* -------------------------------------------- COOKIE BAR ----------------------------------------------- */

.has-cookie-bar footer {
    padding-bottom: 40px;
}
#eu-cookie-bar {
    color: #ffffff;
    padding: 5px 15px 5px;
    background-color: #999;
    font-size: 14px;
	border-top: 1px solid 999;
	transition: all 250ms;
}
button#euCookieAcceptWP {
    background: transparent;
    color: #ffffff;
    padding: 2px 12px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #fff;
    border-radius: 0;
    box-shadow: none;
}

button#euCookieAcceptWP:hover,
button#euCookieAcceptWP:focus {
    background: #82A63E;
    color: #ffffff;
	border-color: #82A63E;
}
#eu-cookie-bar a {
    color: #ffffff;
    text-decoration: underline;
}
#eu-cookie-bar a:hover,
#eu-cookie-bar a:focus {
    color: #82A63E;
}

/* ------------------------------------------ COOKIE NOTICE ---------------------------------------------- */

#cookie-notice #cn-accept-cookie {
    background: var(--yellow);
}
#cookie-notice #cn-more-info {
    background: var(--light-grey);
}
.cn-close-icon:after, .cn-close-icon:before {
    background-color: var(--white);
}

/* ---------------------------------------------------------------------------------------------------------- 
-------------------------------------- 07 MEDIA QUERIES (mobile-first) --------------------------------------
---------------------------------------------------------------------------------------------------------- */

/* 
iphone 3 - 4S   320 x 480px (372px visible, 440px when scrolling) 
iphone 5 - 5S   320 x 568px
iphone 6 - 8    375 × 667px (559??)
iphone 6+ - 8+  414 × 736px (628??)
iphone X: 		375 x 812px
ipad            768 x 1024px
ipad Pro 		1024 x 1366px
*/

/* GRID
SM = min-width: 576px
MD = min-width: 768px
LG = min-width: 992px
XL = min-width: 1200px
*/

/* 576 and up - SMALL */
@media screen and (min-width:576px) {

    .footer-signup-form {
        flex-direction: row;
    }
    form .button {
    }
    .signup-form-button {
        margin: 0 0 0 15px;    
    }
    
    /* Resource items */
    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .resource-item {
        padding: 11px 15px;
        min-height: 75px;
    }

    /* Organisation items */
    .organisation-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    
    
}

/* 768 and up - MEDIUM */
@media screen and (min-width:768px) {
    
    .container {
        padding-left: 25px;
        padding-right: 25px;
    }
    
    /* Typography */
    body {
        font-size: 18px;
    }
    h1, .h1 {
        font-size: 36px;
    }
    h2, .h2 {
        font-size: 31px;
    }
    h3, .h3 {
        font-size: 22px;
    }
    h4, .h4 {
        
    }
    * + h1, 
    * + h2 {
        margin-top: 70px;
    }
    .page-title {
        font-size: 56px;
    }


    /* Site Header */
    .site-header {
        position: relative;
    }
    .site-header .container {
        justify-content: center;
        padding-top: 28px;
        padding-bottom: 28px;
    }
    .logo,
    .logo a{
        width: 234px;
    }

    .logo a {
        transform: translateX(0)
    }
    .hamburger {
        display: none;
    }
    
    /* Menu Header */
    .menu-header {
        display: block;
        background: var(--black);
        text-align: center;
        position: sticky;
        z-index: 90;
        top: 0;
    }
    .main-menu {
        display: flex;
        margin: 0;
        padding: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }    
    .main-menu .menu-item > a {
        font-family: 'Roboto', sans-serif;
        font-size: 22px;
    }
    .main-menu > .menu-item > a {
        padding: 21px 15px;
        color: var(--white);
    }
    .main-menu > .menu-item > a:hover {
        color: var(--yellow);
    }
    .main-menu > .menu-item > a:hover,
    .main-menu .menu-item-has-children:hover > a {
        color: var(--yellow);
    }
    .main-menu > .menu-item-has-children > a::after {
        content: '';
        transform: translateY(-5px)rotate(45deg);
        display: inline-block;
        margin-left: 11px;
        width: 11px;
        height: 11px;
        border: 3px solid currentColor;
        border-width: 0 3px 3px 0;
    }
    .main-menu .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        margin: 0;
        padding: 15px;
        background: var(--black);
        flex-direction: column;
        text-align: left;
        width: max-content;
    }
    .main-menu .menu-item-has-children:hover .sub-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .main-menu .sub-menu li:not(:last-child) {
        margin-bottom: 15px;
    }
    .main-menu .sub-menu a {
        color: var(--white);
    }
    .main-menu .sub-menu a:hover {
        color: var(--yellow);
    }

    
    /* Mobile menu nav */
    .mobile-menu-nav {
        display: none !important;
    }
    
    /* Footer */
    .partners-footer-col-1 {
        padding-top: 20px;
        padding-bottom: 20px;
        text-align: left;
    }
    .site-footer {
        padding-top: 70px;
        padding-bottom: 70px;
    }
    .footer-menu {
        margin-bottom: 0;
    }
    #substack_embed_signup {
        max-width: 380px;
        margin: -20px 0 0 -25px;
    }
    #substack_embed_signup.mailing-list {
        max-width: 380px;
        margin: -40px 0 0 -25px;
    }
    
    /* Layout */
    .col-md-main {
        -ms-flex: 0 0 70%;
        flex: 0 0 70%;
        max-width: 70%;
    }
    .col-md-aside {
        -ms-flex: 0 0 30%;
        flex: 0 0 30%;
        max-width: 30%;
    }
    .padding-md-large {
        padding-right: 40px;
    }
    .button-arrow, 
    .button-arrow:link, 
    .button-arrow:visited {
        padding-left: 30px;
        padding-right: 15px;
    }
    .button-arrow::after {
        margin-left: 20px;
    }
    
    /* Block Layout */
    .block,
    .page-header {
        margin-top: 65px; 
        margin-bottom: 65px;
    }
    .page-template-default .partners-footer {
        margin-top: 70px;
    }
    
    /* CB Header */
    .cb-header .img-col {
        margin-top: 0;
    }
    .page-header .button:not([type=submit]) {
        margin-top: 10px;
    }

    /* CB LR */
    .cb-lr .image-right {
        flex-direction: row-reverse;
    }
    .image-left .img-col {
        padding-right: 40px;
    }
    .page-header .img-col,
    .image-right .img-col {
        padding-left: 40px;
    }
    .cb-lr:not(.cb-header) .img-col {
        margin-bottom: 0;
    }    
    
    /* CB Boxed list */
    .boxed-item-box {
        aspect-ratio: 2 / 1.8;
        padding: 20% 11% 10% 11%;
    }
    .boxed-list-title {
        font-size: 28px;
    }
    
    /* CB Resource links */
    .colour-bg.block {
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .resource-section-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    .resource-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .resource-item {
        min-height: 104px;
    }

    /* Organisation items */
    .organisation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* CB Home Hub */
    .cb-home-hub.block {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .home-hub-img {
        margin-top: 0;
        margin-bottom: 25px;
    }


    
    /* Archive */
    .post-filter-box {
        margin-top: 0;
    }
    
    /* Single */
    .single-thumbnail {
        margin: 0px 0;
    }
    .standfirst {
        font-size: 22px;
    }
    .single-header .section-divider {
        border-top: 1px solid var(--black);
        margin: 50px 0 50px 0;
    }
    /*.single-post .page-header + .cb-gallery {
        margin-top: 5px;
    }*/
    .single-content h2 {
        font-size: 28px;
    }
    .section-title.h1 {
        font-size: 36px;
    }
    .section-title-padding {
        margin-top: 80px;
        margin-bottom: 35px;
    }
    
    /* Single Events */
    .speaker-links {
        justify-content: flex-end;
    }
    .single-events .single-content {
        margin-top: 40px;
    }
    .speaker-links {
        margin-top: 25px;
    }
    
    /* Single Resource */
    .resources-section-title {
        font-size: 28px;
    }
    .resources-footer {
        margin: 50px 15px;
    }


    /* Content */
    #data-table th, #data-table td {
        padding: 16px 22px;
        font-size: 16px;
    }


}

/* 992 and up - LARGE */
@media screen and (min-width:992px) {
    
    .container {
        padding-left: 45px;
        padding-right: 45px;
    }
    
    .col-lg-5-cols {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
    
    /* CB Resource links */
    .resource-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Organisation items */
    .organisation-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .filter-label {
        display: block;
    }
    
    /* Single Speaker */
    .speaker-links li {
        margin-bottom: 15px;
        margin-right: 0;
        margin-left: 15px;
    }
    .social-links li:first-child {
        margin-left: 0;
    }
    

   
}

/* 1200 and up - X-LARGE */
@media screen and (min-width:1200px) {
    
    .container {
        padding-left: 65px;
        padding-right: 65px;
    }
    
    .image-left .img-col {
        padding-right: 50px;
    }
    .page-header .img-col,
    .image-right .img-col {
        padding-left: 50px;
    }
    
    /* CB Resource links */
    .resource-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    /* Organisation items */
    .organisation-grid {
        grid-template-columns: repeat(5, 1fr);
    }
   
}

/* 1400 and up - X-LARGE */
@media screen and (min-width:1400px) {
        
    /* CB Resource links */
    .resource-grid {
        grid-template-columns: repeat(6, 1fr);
    }
   
}

/* Retina Display */
@media screen and (-webkit-min-device-pixel-ratio:2) {

}