/*
Theme Name:   Trades Club (Transitional)
Theme URI:    http://tradesclub-wp.dring.tech/
Version:      0.1.1
Description:  A WordPress Theme for The Trades Club in Hebden Bridge. Derived from <a href="http://wpframework.com">http://wpframework.com</a>. (and based on v0.2.4.10)
Author:       Giles Dring, Dring Technology Solutions
Author URI:   http://dringtech.com
Tags:         one-column, two-columns, three-columns, fixed-width, sticky-post, threaded-comments, microformats

Copyright 2022 Giles Dring <http://dringtech.com> All rights reserved.
The Trades Club is licensed under the terms of the GNU General Public License version 2.
*/

/* These empty css selectors are temporarily here for compatiability with the WordPress theme repository checklist. */
.aligncenter {} .alignleft {} .alignright {} .wp-caption {} .wp-caption-text {}


/*****************/

:root {
  --heading-fontstack: 'Rubik Dirt', sans-serif;
  --site-background: hsl(72, 6%, 17%);
}

body {
  color: white;
  background-color: hsl(70, 7%, 18%);
  background-image: url(img/bg_wrapper.png);
  background-repeat: repeat-x;
}

body.hvn-bg {
  background-image: url(img/HVN360_IMAGE-1-1-722x1024.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}


body.page .entry-title {
	margin-bottom: 30px;
}

div#logo a {
	position: absolute;
	width: 530px;
	height: 97px;
	top: 57px;
	left: 47px;
	text-indent: -9999px;

}

/*--*/
.entry-title {
	border-bottom: 1px solid #999;
}


.entry-title, .entry-title a {
	color: #d5d5d5;
	font-size: 32px;
	padding-bottom: 12px;
	margin-bottom: 8px;

}

.entry-title:hover, .entry-title a:hover {
	color: #fff;
}

.entry-meta {
	margin-bottom: 28px;
	color: #ccc;
}

.entry-meta a {
	color: #fff;
}

.post {
	margin-bottom: 70px;
}

#primary p, #primary h1, #primary h2, #primary h3, #primary li, #primary ol {
	color: #ccc;
}

#primary a {
	color: #ddd;
	text-decoration: none;
}
#primary a:hover {
	color: #eee;
	text-decoration: underline;
}


#em-booking, #em-wrapper {
	color: #ccc;
}

.em-search-wrapper {
	display:none;
}

.events-table {
	border:none;
}

.commentBig {
	font-size: 18px;
}

/*--*/

/**/

#respond, #comments {
	color: #ccc;
}

#respond {
	margin-bottom: 60px;
}

.archive-title {
	display: none;
}

.navigation-links {
	color: #aaa;
	font-size: 18px;
}

/**/

input, textarea, button {	
	background: #585a55;
	color: #fff;
	font-size: inherit;
	font-family: inherit;
	padding: 0.5em;
}

p#allowed-tags {
	background: #3a3c37;
	color: #676767;
	border: none
}

input:focus, textarea:focus, button:hover { background: #fff; border-color: #777 #ccc #ccc #777; color: #555; }

a[href], input[type='submit'], input[type='image'], label[for], select, button, .pointer {
       cursor: pointer;
}

/****/

li.page-item-26 {
	padding-top: 20px;
}

li.page-item-16 {
	padding-bottom: 10px;
	width: 200px;
	border-bottom: 1px solid #999;
	margin-bottom: 10px;
}

li.page-item-54 {
	padding-bottom: 10px;
	width: 200px;
	border-bottom: 1px solid #999;
	margin-bottom: 10px;
}

li.page-item-65 {
	padding-bottom: 10px;
	width: 200px;
	border-bottom: 1px solid #999;
	margin-bottom: 10px;
}

a#paypal_linker {
	display: block;
	font-size: 14px;
	color: #ccc;
	background: url(img/bg_button.png) top;
	width: 200px;
	height: 27px;
	text-align: center;
	padding-top: 06px;
	margin-top: 60px;
	margin-bottom: 80px;
}

a#paypal_linker:hover {
	color: #fff;
	
}

#text-3 {
	position: absolute;
	padding-top: 40px;
}

a#special {
	
	

	font-size: 14px;
}

/** cos summat bust **/

tt strong {
	font-weight: normal;
}

tt strong em {
	font-style: normal;
}

tt strong p strong {
	font-weight: bold;
}

tt strong p em {
	font-style: italic;
}



tt {
font-family: Georgia,"Times New Roman",Times,serif;
letter-spacing: 1px;
line-height: 130%;

}


/*--*/

#secondary h3 {
    border-bottom: 1px solid #999999;
    color: #FFFFFF;
    margin-bottom: 30px;
    width: 200px;
}

/*--*/

body.blog .entry-header, body.blog .entry-title, body.blog .entry-footer, body.blog #facebook_share_link_2869 {
	display: none;
}

.em-booking-submit { background-color: green }
.em-booking-message-error p {color: #C00 !important }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--heading-fontstack);
}

/**
 * NEW STYLES BELOW
 */
/* General reset / defaults */
body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 100%;
  line-height: 1.5;
}

a {
	color: #ccc;
}
a:hover {
	color: #fff;
}
img {
  /* TODO remove width / height from images when rendering */
  width: auto;
  height: auto;
  max-width: 100%;
}
/* Don't wrap telephone numbers */
[href^="tel"] {
  white-space: nowrap;
}

.flex {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}

.container {
  background-color: var(--site-background);
  box-shadow: 0 0 10px 10px hsla(72, 6%, 14%, 90%);

  margin: 0;
	margin-left: auto;
	margin-right: auto;
	max-width: 981px;
	/* position: relative; */
}
.container > * {
  box-sizing: border-box;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Header styling */
.header {
  font-family: var(--heading-fontstack);
  font-size: 1.2rem;
  color: white;
  font-variant: small-caps;
  line-height: 1;
}
.header .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.header .row:nth-of-type(1) {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: solid 2px white;
}
.header .row .greedy {
  flex-grow: 2;
}
.header .row:nth-of-type(2) {
  padding-top: 0.4rem;
}
.header .home {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}
.header .logo {
  fill: white;
  width: 50px;
  height: 50px;
  display: block;
  flex-shrink: 0;
}
.header svg {
  width: 100%;
  height: auto;
}
.header h1 {
  font-size: 7vw;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: unset;
  transition: font-size 0.5s ease;
}
.header .icon {
  width: 32px;
  height: 32px;
  display: block;
  border: 2px solid transparent;
  border-radius: 7px;
  flex-shrink: 0;
}
.header .icon:hover {
  border-color: white;
}
.header .address {
  visibility: hidden;
  width: 0;
  height: 0;
}

/* Site Navigation */
.site-navigation {
  font-family: var(--heading-fontstack);
  font-size: 1rem;
  position: relative;
  width: 100%;
}
.site-navigation .menu {
  list-style: none;
  margin: 0;
  gap: 1rem;
  flex-direction: column;
  position: absolute;
  background: var(--site-background);
  padding: 1em;
  left: 0;
  right: 0;
  text-align: center;
	z-index: 100;
	font-size: 1.5em;
}
.site-navigation button[aria-expanded] {
	--menu-button-bg: #ccc;
  --menu-button-fg: var(--site-background);
	width: 36px;
	height: 36px;
	padding: 6px;
  border-radius: 2px;
  margin-left: auto;
  margin-right: auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border: none;
	background-color: var(--menu-button-bg);
}
.site-navigation button[aria-expanded]:hover {
  --menu-button-bg: #fff;
}
.site-navigation button[aria-expanded] i {
	width: 100%;
  box-sizing: border-box;
	background-color: var(--menu-button-fg);
	border: 3px solid var(--menu-button-fg);
	transition: ease-in transform 250ms;
}
.site-navigation button[aria-expanded="true"] i:nth-of-type(1) {
	transform: translateY(9px) rotate(225deg) scaleX(1.3);
}
.site-navigation button[aria-expanded="true"] i:nth-of-type(2) {
  transform: rotate(180deg) scaleX(0);
}
.site-navigation button[aria-expanded="true"] i:nth-of-type(3) {
  transform: translateY(-9px) rotate(135deg) scaleX(1.3);
}
.site-navigation button[aria-expanded="false"] + * {
  display: none;
}
.site-navigation button[aria-expanded="true"] + * {
  display: flex;
}

/* Content styling */
#content {
  padding-top: 42px;
  padding-bottom: 42px;
}
.sidebar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr));
  gap: 1rem;
}
.sidebar .widget {
  margin-bottom: 0;
}
.sidebar ul {
	list-style-type: none;
  margin-left: 0;
  margin-bottom: 0;
}
#sidebar-title {
  grid-column: 1/-1;
}

main {
  max-width: 35rem;
  margin-left: auto;
  margin-right: auto;
}
/* Styles for larger windows */
@media only screen and (min-width: 800px) {
  .container > * {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .header h1 {
    font-size: 3rem;
  }
  .header .address {
    visibility: unset;
    width: unset;
    height: unset;
  }

  .site-navigation button[aria-expanded] {
    display: none;
  }
  .site-navigation button[aria-expanded] + * {
    display: flex;
  }
  .site-navigation .menu {
    flex-direction: row;
    position: unset;
    background: unset;
    padding: unset;
	  font-size: unset;
  }

  #content {
    display: grid;
    gap: 5rem;
    grid-template-columns: 35rem auto;
  }
  .sidebar {
    display: flex;
    flex-direction: column;
  }
}

.footer {
	border-top:1px solid #ccc;
	margin-top:80px;
	padding-top:10px;
	color: #aaa
}

.footer a { 
	color: #ccc;
}

/* PATCHING STUFF */
.em-tickets {
  width: 100%;
}
.em-bookings-ticket-table-price, .em-bookings-ticket-table-spaces {
	text-align: center;
}

.em-login-form p, .input-user-field {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

img[src*="NEW-INFO-BUTTON"], img[src*="new-button"] {
	height: 2rem;
}

article p {
	overflow-x: clip;
}

.em-booking-submit, .call-to-action {
	padding: 0.4em 1em;
    background: rgb(61, 124, 61);
    background: linear-gradient(180deg, rgb(61, 124, 61) 0%, rgb(23, 46, 23) 100%);
	text-transform: uppercase;
	display: inline-block;
	transition: border ease 0.5s;
}
.em-booking-submit::after, .call-to-action::after {
	content: "\0027a4";
	padding-left: 0.5em;
	padding-right: 0.5em;
	transition: padding ease 0.5s;
}
.em-booking-submit:hover, .listing .call-to-action:hover {
	outline: 2px solid #eee;
}

.em-booking-submit:hover::after, .listing .call-to-action:hover::after {
	padding-left: 1em;
	padding-right: 0;
}


.listing { font-weight: bold; border-bottom: 1px solid #ddd; padding: 1em 0; }
/* .listing img { width: 90%; } */
.listing * { margin: 0; line-height: 1.5; }
.listing * + * {
	margin-top: 0.5em;
}
.listing .title { text-transform: uppercase; }
#primary .listing .sold-out { text-transform: uppercase; font-weight: bold; color: #ffff00; }

/* Make images and videos full width */
#primary .em-event-single > p::first-child {
	margin-bottom: 0;
}

.em[data-view="event"] img:nth-of-type(1) {
	width: 100%;
	max-width: 100%;	
}
iframe[src*="youtube.com"] {
	width: 100%;
	max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
