/*!
Theme Name: ica2022
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ica2022
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

ica2022 is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

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

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"]
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 180px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: 0;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: bot
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


/* NEW STYLES
--------------------------------------------- */

/* Testing
--------------------------------------------- */  


.ycd-countdown-content-wrapper-12643, ycd-simple-content-wrapper {width: fit-content; margin-left: auto; margin-right: auto;}
.ycd-simple-current-unite {background-color: rgb(179, 224, 212); padding: 10px 10px 10px 10px; border-radius: 10px; color: rgb(76, 22, 5); width: 84px; margin: 0 2px 0 0;}
.ycd-simple-countdown-label {margin: 0 -10px -10px -10px !important; border-radius: 0 0 10px 10px; background-color: rgb(76, 22, 5); color: white; padding: 2px 0 2px 0 !important; font-size: 17px;}
.ycd-simple-countdown-number {margin: 0 auto 10px auto !important; text-align: center;}
.ycd-simple-timer-dots {display: none !important;}

#wcd-timer {width: fit-content; margin: auto;}
.wcd-container {display: flex; gap: 2px; margin: auto;}
.wcd-days, .wcd-hours, .wcd-minutes {background-color: rgb(76, 22, 5); border-radius: 10px; color: rgb(76, 22, 5); width: 84px; margin: 0 2px 0 0; font-size: 17px; color: white; text-align: center;}
.wcd-number {border-radius: 10px 10px 0 0; background-color: rgb(179, 224, 212); font-size: 35px; color: rgb(76, 22, 5)}


/* Sitewide
--------------------------------------------- */  

.site-main {margin: 0 5% 40px 5%;}
.site-main ul {margin: 0;}

p {margin-block-start: .9em; margin-block-end: .9em;}

.post {margin: 0;}

.post-thumbnail {text-align: center;}
.post-thumbnail img {max-height: 400px; width: auto;}


figcaption {
    text-align: left;
    font-size: .9em;
}

.long-caption figcaption {
	font-size: .8em; 
	text-align: left; 
	font-style: italic;}

.wp-block-audio figcaption {margin-bottom: 1.25em; margin-top: 0;}

.a2a_kit::before {display: block; color: #155eee; content: 'Share on social media'; font-size: .9em;}

.header-box {background-color: #c3e6e3; padding: 10px 20px 10px 20px;}
.header-box .wp-block-columns {margin-bottom: 0;}

.simple-box {padding: 10px 20px 10px 20px;}

.highlight-block {padding: 20px;}

.slideshow {max-width: 750px; margin: auto;} 	/*wpt-gallery-to-slideshow*/

#secondary {display: none;} 					/*Hides sidebar if still in template*/




/* Links
--------------------------------------------- */  
  
a {
	color: #99381A;
	text-decoration: none;
}

h2 a {color: inherit;}

a:visited {
	color: #99381A;
}

h2 a:visited {color: inherit;}

a:hover,
a:focus,
a:active,
h2 a:hover,
h2 a:focus,
h2 a:active { color: #4C1605; }

/* Forms
--------------------------------------------- */

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background: #4C1605;
	color: white;
	padding: .6em 1em;
}

input[type="search"]
textarea {
	color: inherit;
	border: none;
	border-radius: none;
	padding: 1px;
}

/* Forminator */

h2.forminator-title {font-size: 35px !important;}

#forminator-module-6615.forminator-design--material .forminator-label:not([class*="forminator-floating-"]) {font-size: 16px !important;}

#forminator-module-6615 .forminator-row:nth-of-type(11) {
  margin-bottom: 0px !important; }

#address-1-country .forminator-field label {font-weight: 400 !important;}

/* U;ltimate Member */

.new-member-registration-form, 
.website-registration-form {padding: 20px; border: 1px solid black;}
.already-registered {font-weight: bold;}

/* Header
--------------------------------------------- */

/* Branding */

.branding-row, 
.site-branding {
	padding: 10px 0 10px 2%; 
	display: flex; 
	justify-content: space-between; 
	align-items: center;}
.site-branding {justify-content: left;}
.site-branding .custom-logo-link {display: inline-block;}
.site-branding .custom-logo-link img {width: 100%; max-width: 215px; height: auto;}
.site-branding .custom-logo-link a {display: inline-block; vertical-align: middle;}
.site-title {
	padding-left: 20px; 
	max-width: 80%; 
	font-size:calc(12px + 1.7vw); 
	margin: 0; 
	line-height: 1;}
.site-title a {text-decoration: none; color: #054D3A; font-weight: bold; letter-spacing: -0.5px;}
.site-description {
	display: block; 
	margin-top: 4px; 
	color: #054D3A; 
	font-size: calc(9px + .6vw); 
	font-style: italic;}

/* Search and Links */

.branding-right {margin: 0 20px 0 20px;}

/* Google Search Form */

table.gsc-search-box {width: calc( 180px + 6vw) !important;}

table.gsc-search-box {
    color: #666;
	border: 1px solid #ccc !important;
	border-radius: 3px;
	padding: 3px !important;
	height: 35px;
	width: calc( 180px + 6vw) !important;
}

table.gsc-input {margin-bottom: 0 !important;}
input.gsc-input {background-image: none !important;}

.gsc-input-box {border: none !important;}

.gsc-search-button  {background-color: white !important; border: none !important; background: url("https://concertina.org/wordpress/wp-content/uploads/2022/10/1608826_search_icon-brown.png") no-repeat center center/24px !important;}
.gsc-search-button svg {width: 0;}

form.gsc-search-box:focus-within .gsc-search-button { display:none !important; }

.user-menu ul li:hover > ul {
    display: block;
}

.user-menu  ul ul {
    margin-left: 0;
    display: none;
    position: absolute;
    top: 1.6em;
    left: 0;
    z-index: 1;
    width: fit-content;;
    background: #fff;
    box-shadow: 0px 5px 5px rgba(0,0,0,0.2);
    padding: 5px;
}

.user-menu  li {
    position: relative;
    list-style: none;
    text-align: left;
    padding: 0;
}

.user-menu .dashicons:before {font-size: calc(18px + 1vw);}
.user-menu .dashicons {margin-right: 10px; }

.user-menu .um-faicon-user:before {font-family: FontAwesome!important; content: "\f007"; font-size: 1.7em !important;}

.user-menu {font-size: calc( 10px + .5vw );}

/* WordPress Search Form */

form.search-form  {
    color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
	height: 35px;
	width: calc( 180px + 6vw);
}

.branding-right form input[type=submit],
.error404 form input[type=submit] {
	background : url("https://concertina.org/wordpress/uploads/2022/10/1608826_search_icon-brown.png") no-repeat center center/24px;
	width: 24px;
	height: 24px;
	border: none;
	color: transparent;
	font-size: 0;
	position: relative;
	top: -30px;
	left: 85%;
}

input.search-field {border: none; height: 95%; width: 100%}

form.search-form:focus-within .search-submit {display:none;}

.search-results .post-thumbnail img {height: 200px; width: auto;}

/* Login and Social Media Links */

.login-link {display: flex; justify-content: flex-end; text-align: right; white-space: nowrap; margin-top: 10px; font-size: calc(12px + .5vw);}

.social-menu, .social-menu ul {margin: 0 0 0 10px; padding: 0;}
.social-menu li {list-style: none; display: inline-block;}
.social-menu li .menu-image {padding-right: 5px;}
.social-menu .menu-image-title {display: none;}
.social-menu .menu-item img {width:calc(24px + 1vw); max-width: 36px;}

/* Main Menu */

.nav-menu {background-color: #4C1605; display:flex; justify-content: center;}
.nav-menu .menu-item {height: 40px; display: flex; justify-content: center; flex: auto; align-items: center; min-width: fit-content;}
.nav-menu .menu-item a {color: white;  text-transform: uppercase; font-size: calc(7px + .6vw); overflow: wrap;}
.nav-menu .menu-item:hover,
.nav-menu .menu-item .sub-menu li:hover {background-color: #99381A;}
.nav-menu .menu-item .sub-menu {display: block; background-color: #4C1605; width: 100%; min-width: fit-content; overflow: wrap;}
.nav-menu .menu-item .sub-menu li {
	display: block;
	height: auto; 
	min-height: 40px; 
	margin-left: 0; 
	padding: 5px 10px; 
	min-width: fit-content;}
.nav-menu .menu-item .sub-menu .menu-image {padding-right: 5px;}
.main-navigation ul ul a {width: auto;}


.nav-menu .sub-menu .sub-menu {margin-left: 360px;}
.nav-menu .social img {height: 24px;}
.nav-menu .menu-item .sub-menu .menu-image-title-after { white-space: nowrap; padding-left: 0;} 

.main-navigation ul ul a { min-width: fit-content; }

.nav-menu .hide-menu-item, .nav-menu .astm-search-menu {display: none !important;}

.menu-toggle {
	font-size: 48px; 
	background: none; 
	border: none; 
	padding: 0 0 10px 0; 
	color: white; 
	line-height: .5; 
	margin-left: 80%;}

/* Footer
--------------------------------------------- */

.site-footer {border-top: 10px solid #4C1605; }
.site-footer .foot { 
	min-height: 120px; 
	padding: 20px 3%; 
	display: flex; 
	justify-content: space-between; 
	flex-wrap: wrap;}
.footer-right {display: inline-block; text-align: right; white-space: nowrap;}


/* Home Page
--------------------------------------------- */

.home .wp-block-gallery.wp-block-gallery-1 {gap: 1px;}

.home .wp-block-buttons {padding: 20px 0;}
.home .wp-block-button {vertical-align: middle; width: 18%; flex: auto;}
.home .wp-block-button a {
    height: calc(30px + 1.8vw);
    border: none;
    border-radius: 10px;
	display: flex; 
	justify-content: center; 
	align-items: center; 
	width: 100%; 
	font-size:calc(5px + .9vw);
	background-color: #b3e0d4; 
	color: black; 
	font-weight: bold;
}
.home .wp-block-button a:hover {background-color: #009971;}
.wp-block-button__link {padding: 5%;}

.entry-title, .page-title, .post-title, .news-title, .event-title {font-weight: bold; color: #054D3A;}
.event-excerpt .addtoany_content {display: none;}

.home .entry-content {margin: 2px 0;}
.home .wp-block-gallery-1 {margin-block-start: 0; margin-block-end: 0; margin: 0 -5.4% 0 -5.4%;}
.home .wp-block-gallery-1 figcaption {display: none;}

.posts-container {list-style: none; padding: 0;}

.home-column {position: relative;}
.home-column .column-more {clear: both; position: absolute; bottom: 20px; margin-top: 20px;}

.left-columns {gap: .5em; height: 100%; justify-content: center;}
.left-columns .wp-block-column {background-color: whitesmoke; border-bottom: 4px solid white; padding: 0 30px;}
.left-columns p {margin-top: 5px;}

.wcd-block {max-width: 350px; margin-left: auto; margin-right: auto;}
.ica-presents {margin: 0;}
.wcd-block h2 {margin-top: 0; margin-block-start: 0;}
.pbc-cover {margin: 20px 0;}

.c-world-block {
	max-width: 350px; 
	text-align: center; 
	margin: 0 auto 25px auto;
	background-color: #b3e0d4; 
	border: 1px solid #054D3A; }
.c-world-block h2, .c-world-block img {margin: 10px 0 0 0;}
.c-world-block p {margin: 0;}


/* Archives
--------------------------------------------- */

.archive .page-title {font-size: 0;}
.archive .page-title span {display: inline-block; font-size: 2rem; margin: 1.34rem 0;}

.archive-description {font-size: 1.1em; font-weight: 600; background-color: #c3e6e3; padding: 5px 20px;}

.archive-post {border-bottom: 1px solid black; padding: 20px 0 0 0; height; auto; overflow: hidden;}
.archive .site .site-main div:last-of-type {border: 0;}
.archive-post img {display: block; height: 150px; width: auto; margin: 0 20px 20px 0;}

.archive-post {padding: 20px 0 5px 0; border-bottom: 1px solid #054D3A;}
.post-type-archive-jukebox h2 {font-size: 1.1em;}
.post-type-archive-jukebox p {margin-left: inherit;}
.archive-post .archive-post-title {font-size: 1.1em; font-weight: bold;}
.archive-post .more-link {display: block; margin-bottom: 20px;}

.archive article {padding: 0 0 20px 0; border-bottom: 1px solid #4C1605;}
.archive article:last-of-type {border-bottom: none;}

.news-archive-container {display: flex; flex-wrap: wrap;}
.news-archive-container .post-date {font-size: .8em; font-weight: bold;}
.news-archive-sidebar li {margin-left: 50px; list-style: none;}


/* Participants Database
--------------------------------------------- */

/***FIX THIS
.grid-content .pdb-field-content {float: left; margin-left: 125px; margin-top: -1.5em;}}
***/

/* Search Forms */

/* Tidy the search controls into grids */
.combo-multi-search-controls {
  display: grid;
  /* sets up the columns: here we set up 2 columns and 2 equal rows */
  grid-template-columns: 0.6fr 1.4fr;
  grid-template-rows: 1.5fr 0.5fr;
  /* this defines the amount of space between the elements */
  grid-gap: 2% 2%;
  grid-template-areas: '. mControl' 
                                     ' . mControl';
}

.combo-multi-search-controls .combo-search-controls {
  grid-row-start: 1;
  grid-row-end: 1;
  grid-column-start: 1;
  grid-column-end: 1;
}

.combo-multi-search-controls .multi-search-controls {
  grid-area: mControl;
}

 .multi-search-controls {
  display: grid;
  /* sets up the columns: here we set up 3 equal columns and 4 equal rows */
  grid-template-columns:33% 33% 33%;
  grid-template-rows: 25% 25% 25% 25%;
  /* this defines the amount of space between the elements */
  grid-gap: 2% 2%;
}

.combo-multi-search-controls .submit-controls {
  grid-column-start: 1;
  grid-column-end: 1;
  grid-row-start: 2;
  grid-row-end: 2;
  margin-left: 0px;
}

a[href$="?searchtype=simple"], a[href$="?searchtype=advanced"] {font-weight: bold;}

.advanced-search .combo-search-controls {display: none;}
.pdb-combo-multisearch label,
.pdb-combo-multisearch legend {font-weight: 550;}


.sort_filter_form .combo-multi-search-controls {display: block;}
.sort_filter_form legend {float: left; padding: 5px 20px 0 0;}

.multi-search-controls {margin-bottom: -30px !important;}

.multi-search-controls .search-control.dropdown-search, 
.multi-search-controls .search-control.dropdown-other-search,
.multi-search-controls .search-control.multi-select-other-search {margin: 30px 0 20px 0;}

.multi-search-controls .search-control .search-control-input input {width: 100%;}
.multi-search-controls .search-control .helptext {display: inline=block; font-size: .8em; float: right;}

.sort_filter_form .combo-multi-search-controls .combo-search-controls {max-height: 100px;}

.pdb-searchform { border-bottom: 1px dotted #808080; }

/* Results Display */

/* See also /p-admin/admin.php?page=participants-database_settings_page */

.pdb-list {max-width: 100%;}

/* Hide empty fields */
.blank-field, .image-blank-field { display:none; }

.pdb-group-title { display: none; }

.search-result-message {margin-block-start: 0 !important; margin-block-end: 0 !important;}

.pdb-list section {padding: 20px; border-radius: 5px;}
.pdb-list section .pdb-field-title {display: inline-block; width:125px;}
.pdb-list section .title-field .pdb-field-title {display: none;}
 
.pdb-results .pdb-searchform {display: none;}
.notes-field .textarea {max-width: 100% !important;}

.pdb-list .pdb-list-links {
	position: absolute; 
	right: 20px; 
	bottom: 10px; 
	padding-top: 20px;
	text-transform: uppercase; 
	font-size: .8em; 
	text-align: right;}

.thumbnail-field .pdb-field-data .pdb-image {width: 100%; text-align: center;}
.thumbnail-field .pdb-field-data .pdb-image img {width: auto; max-width: 90%;}

.pdb-pagination ul {display: flex !important; justify-content: center; margin: 20px 0 !important;}

/* Table View */

.pdb-list .wp-list-table th {text-align: left;}
.pdb-list .wp-list-table .thumbnail-field  {max-width: 90px; overflow: hidden; text-align: center;}
.pdb-list .wp-list-table tbody tr:nth-child(even) {background-color: #edf5f7;}
.pdb-list .wp-list-table img[src$="no-image.png"] {height: 75px; width: 75px;}

/* Grid View */

.pdb-list-grid .pdb-field {width: 100%;}
.pdb-list-grid .pdb-field.thumbnail-field {padding: 10px 15% 0 10%;}
.pdb-list-grid .thumbnail-field .pdb-field-title {display: none;}
.pdb-list-grid .title-field .pdb-field-data {font-weight: bold;}
.pdb-list-grid .list-container {
	grid-gap: .5em 2% !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-header {grid-column-start: 1; grid-column-end: 4; margin: 10px 0;}

/* sets the size of the image element */
.pdb-list-grid .pdbiex-image-field-wrap,
.pdb-list-grid .image-field-wrap img { width: 100%; height: auto; }

.pdb-list .grid-content {position: relative;}

/* PDB Single Record Display on /library-single-record */

.page-library-single-record .entry-title {display: none;}
.pdb-single-title dt {display: none;}
.pdb-single-title dd.title {margin: 0; font-size: 2em; color: #054D3A; font-weight: bold;}

/* PDB Media Queries */

@media screen and (max-width: 37.4em) {
	.pdb-list .wp-list-table {font-size: .9em;}
	.pdb-list .wp-list-table thead tr > th,
	.pdb-list .wp-list-table tbody tr > td {display: none;}
	.pdb-list .wp-list-table [class^="doc_ref"],
	.pdb-list .wp-list-table [class^="title"],
	.pdb-list .wp-list-table [class^="instrument"] {display: table-cell}

	.pdb-list-grid .list-container { grid-template-columns: repeat(auto-fill, 350px) !important;}
	.pdb-list-grid .list-container {grid-template-columns: 1fr !important;}
	.grid-header {grid-column-start: 1; grid-column-end: 2;}
	.pdb-list .grid-content:nth-child(even) { background-color: #edf5f7; }
}

@media screen and (min-width: 37.4em) and (max-width: 781px) {
	.pdb-list-grid .list-container {grid-template-columns: 1fr 1fr !important; font-size: .9em;}
	.grid-header {grid-column-start: 1; grid-column-end: 3;}
	.pdb-list .grid-content:nth-child(-n+3) { background-color: #edf5f7; }
	.pdb-list .grid-content:nth-child(n+6):nth-child(-n+7) { background-color: #edf5f7; }
	.pdb-list .grid-content:nth-child(n+10):nth-child(-n+11) { background-color: #edf5f7; }
	.pdb-list .grid-content:nth-child(n+14):nth-child(-n+15) { background-color: #edf5f7; }
	.pdb-list .grid-content:nth-child(n+18):nth-child(-n+19) { background-color: #edf5f7; }
	.pdb-list .grid-content:nth-child(n+22):nth-child(-n+23) { background-color: #edf5f7; }
}

@media screen and (min-width: 781px) {
	.pdb-list .grid-content:nth-child(-n+4) { background-color: #edf5f7; }
	.pdb-list .grid-content:nth-child(n+8):nth-child(-n+10) { background-color: #edf5f7; }
	.pdb-list .grid-content:nth-child(n+14):nth-child(-n+16) { background-color: #edf5f7; }
	.pdb-list .grid-content:nth-child(n+20):nth-child(-n+22) { background-color: #edf5f7; }
	.pdb-list .grid-content:nth-child(n+26):nth-child(-n+28) { background-color: #edf5f7; }
}


/* Ultimate Member
----------------------------------------------- */
.um-postmessage {font-size: 16px;}




/* Concertinas
----------------------------------------------- */

.concertina .post-thumbnail {max-width: 700px; margin: auto;}
.concertina-fields .label {display: inline-block; width: 150px;}
.post-type-archive-concertina .wp-block-gallery, 
.type-concertina .wp-block-gallery {justify-content: flex-start; width: fit-content !important;}
.post-type-archive-concertina article {min-height: 200px;}
.concertina-container {display: flex; flex-wrap: wrap;}

.concertina .wp-block-gallery.has-nested-images.is-cropped {justify-content: flex-start; width: fit-content;}
.concertina img {max-height: 300px !important; width: auto !important;}

.concertina-thumbnail {margin-right: 50px;}

.wpc-filters-section {display: flex; margin-bottom: 0 !important;}
.wpc-filters-section .widget-title {font-weight: bold; margin-right: 10px;}
.sort select {width: fit-content;}


/* Page Tweaks
----------------------------------------------- */

.crane-menu {display: flex !important; flex-wrap: wrap !important; justify-content: center; font-size: 1.1em; list-style: none;}
.crane-menu li {flex-basis: auto;}
.crane-menu a:hover {text-decoration: underline;}

.history-row {height: 100%; align-items: stretch !important; margin-bottom:20px;}
.history-row .wp-block-column {
	flex-grow: 1 !important; 
	align-self: stretch; 
	display: flex; 
	justify-content: center;}
.history-row .wp-block-column p {width: 100%; margin: 0; align-self: center;}

.page-older-posts .older-posts-list li {list-style:none;}

.page-learn .learning-resources-header {margin-bottom: 0px; font-weight: 600;}

.page-peter-trimming-tape-archive .wp-block-columns {margin-bottom: 0 !important; padding: 20px !important;}
.page-peter-trimming-tape-archive .cassettes-image {margin: 20px;}

.rss-gallery {width: 90%; margin-top: 30px;}
.rss-gallery img {width: 80% !important;}
.gs-web-image-box {margin-right: 5px !important;}
.gsc-adBlock::before {content: 'Google Ads'};
.gsc-adBlock {margin-left: 20px;}


/* Pagination 
----------------------------------------------- */

/* https://mor10.com/add-proper-pagination-default-wordpress-themes/ */

.paging-navigation {margin: 0 auto;}

/* Remove bullets and list indentation */
.paging-navigation ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	font-size: 1rem; }

.paging-navigation li {
	display: flex;
	align-items: center;
	float: left;
	border-width: 1px;
	border-style: solid;
	border-color: rgba(204,204,204,1) rgba(204,204,204,0.25);
	border-radius: 2px;
	background-color: #fafafa;
	color: #777;
	height: 40px; }

.paging-navigation li:hover {background-color: #ccc;}

/* Give each link and the current item some padding to make them easy to click */
a.page-numbers,
span.page-numbers {
	padding: 0 .7em;
	color: #333;
	color: hsl(0, 0%, 20%);
}

/* Link hover state */
a:hover.page-numbers { color: #99381A; }

/* Current page bold and dark */
.paging-navigation .current { color: white; }

.paging-navigation .current {background-color: #ccc; line-height: 40px;}
.paging-navigation a.prev, 
.paging-navigation a.next {font-size: 0px;}
.paging-navigation .next::after {font-family: dashicons; font-size: 20px; content: "\f345";}
.paging-navigation .prev::after {font-family: dashicons; font-size: 20px; content: "\f341";}

/* Media Queries
--------------------------------------------- */

@media (max-width: 37.4em) {
	.site-branding {flex-wrap: wrap;}
	.site-branding .custom-logo-link img {max-width: 50%; height: auto;}
	.site-branding .site-title {padding: 0;}
	.site-branding .site-description {display: none;}
	.nav-menu .menu-item {display: flex; justify-content: flex-start; padding-left: 5px;}
	.nav-menu .menu-item a {display: inline-block; font-size: 1em; padding: 4px; vertical-align: middle;}
	.nav-menu .social {max-width: 50%;}
	.nav-menu .sub-menu {height: auto; margin: -40px 0 0 175px; box-shadow: inset 0px 0px 0px 2px #99381A;}
	.nav-menu .sub-menu .sub-menu {display: none;}
	.home .wp-block-buttons {width: 95%;}
	.home .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
		width: calc(33% - var(--wp--style--unstable-gallery-gap, 16px)/2)}
}
 
@media (max-width: 781px) {
	.site-footer .foot {background-size: 165px 56px !important; min-height: 60px !important;}
	.home .wp-block-buttons {display: grid; grid-template-columns: 15% 15% 15% 15% 15% 15%;}
	.home .wp-block-buttons div:nth-child(1) {grid-column-start:1; grid-column-end:3;}
	.home .wp-block-buttons div:nth-child(2) {grid-column-start:3; grid-column-end:5;}
	.home .wp-block-buttons div:nth-child(3) {grid-column-start:5; grid-column-end:7;}
	.home .wp-block-buttons div:nth-child(4) {grid-row-start: 2; grid-column-start:2; grid-column-end:4;}
	.home .wp-block-buttons div:nth-child(5) {grid-column-start:4; grid-column-end:6;}
	.home .wp-block-buttons a {font-size: calc(8px + .7vw); line-height: 1em;}
	.home .wp-block-button {width: 100%;}
}

@media screen and (max-width: 900px) {
	.account-change-mobile {display: block;}
	.account-change-desktop {display: none;}
}

@media screen and (min-width: 901px) {
	.account-change-mobile {display: none;}
	.account-change-desktop {display: block; margin-top: 35px;}
}

/* Shortcode styles temporarily here*/
.home .jukebox-block .wp-block-heading {color: #c6395c;}
.home-jukebox-container {max-width: 350px; margin: 20px !important; text-align: left; padding-inline-start: 0; font-size: calc(6px + .5vw);}
.home-jukebox-container a:hover {color:inherit; text-aligh: left;}
.home-jukebox-container {background-color: #b5d4e0; border: 2px solid #c6395c;; border-radius: 5px;}
.home-jukebox-container h2, .jukebox-block p  {margin: 4px;}

.home .jukebox_tile a {background-color: white; display: flex; min-height: 3.5em; color: #054D3A; border-bottom: 2px solid #c6395c;}

.home-jukebox-container li:last-child a, .home-jukebox-container li:last-child .jukebox-number {border-bottom: 0;}
.home-jukebox-container li {list-style: none;} 

.home .jukebox_tile a:hover {background-color: #b5d4e0;}
.home .jukebox-number {display: block; font-size: 2em; flex-basis: auto; min-width: calc(10px + 3vw); padding: 0 5px 0 5px; margin-right: 10px ;background-color: #c6395c; color: white; font-weight: 500; text-align: center; border-bottom: 1px solid white;}


.home .jukebox-date {display: block; clear-both; padding-top: 4px; font-weight: bold;}
.jukebox-block {max-width: 350px; margin-left: auto; margin-right: auto; text-align: center; background-color: #b5d4e0; border: 1px solid #054D3A; margin-bottom: 25px;padding-bottom: 20px;}
.jukebox-block h2, .jukebox-block img {margin: 10px 0 0 0;}
.jukebox-block p {margin: 0;}
.jukebox-footer {font-style: italic;}


.posts-container.home-events-block,
.posts-container.home-news-block  {padding-bottom: 50px; overflow: hidden;}
.events-container {max-width: 40%;}
.home-events-block li {clear: both; list-style: none; margin: 10px 0 35px 0;}
.home-events-block .date {display: inline-block; float: left; text-align: center; width: calc(40px + 2vw); padding: 4px; margin: 0 10px 20px 0; background-color: #c3e6e3;}
.home-events-block .event-month {display: block; font-size: calc(8px + 1vw); line-height: .9em;}
.home-events-block .event-date2 {font-size: calc(24px + 1.2vw); line-height: 1em;}
.home-events-block .event-title,
.home-events-block .event-excerpt, 
.home-events-block .organizer,
.home-events-block .location {display: block; margin-left: calc( 50px + 2vw ); margin-bottom: 0; }
.home-events-block .location {font-weight: bold; font-size: .9em;}
.home-events-block .organizer {font-style: italic; font-size: .9em; }
.home-events-block .event-excerpt p {margin-bottom: 0;}
.home-events-block .separator {
height: 4px;
background: #faa;
width: calc(40px + 2vw);
margin-bottom: 10px;
}

.news-thumbnail img {display: block; height: 80px; width: auto;}
.news-item {margin-bottom: 30px;}
.news-item .post-date {font-size: .8em; font-weight: bold;}
.moretag {margin-bottom: 0; font-weight: 500; font-size: .9em;}
