/* Make links in body of content, category descriptions, and table cells more apparent */

div.entry-content a, .archive-description > p a {
	color:#61b6a7;
	text-decoration:underline;
}

div.entry-content a:hover, .archive-description > p a:hover {
	color:#334d79;
}

/* Adds margin after bottom of all first paragraphs, making it consistent with all non-first paragraphs :) and also fixes issue with images not being flush with text */

.entry-content p:first-child,.single:not(.single-product) .entry-content p:first-child, .page .entry-content p:first-child {
	margin-bottom:20px;
	clear:left;
}

/* Removes top banner from WooCommerce store products */

.single-product .page-header .container {
	display:none;
}

/* Removes white line dividing sticky menu from the rest of the top banner */

header.site-header {
	border-bottom:none;
}

/* Makes prices on WooCommerce products black instead of #b5b5b5 */

.woocommerce-Price-amount {
	color:black;
}

/* Makes variations on WooCommerce select dropdown black */

.woocommerce div.product .entry-summary .variations_form table.variations tbody tr td.value select {
	color:black;
}

/* Removes stray bullets on checkout */

.woocommerce-checkout #primary .entry-content ul {
list-style: none;
}

/* Ensures that "KansasFest" logo in upper-left is never wider than 300px */

@media only screen and (min-width: 750px) {
	#page > header > div > div.site-branding > div.site-logo > a > img {
		max-width:300px;
	}
}

/* Hides "KansasFest" logo in upper-left on mobile */

@media only screen and (max-width: 765px) {
  #page > header > div > div.site-branding > div.site-logo > a > img {
    display:none;
  }
}

/* Ensures banner isn't taller than it needs to be */

@media only screen and (min-width: 750px) {
	#banner_section > div > div.banner-caption.static-banner {
		padding-top:115px !important;
	}
}

.page-header {
	padding-top:.75em !important;
}

/* Reduce size of Jetpack share header */

h3.sd-title {
	font-size:.5em;
}

/* Makes the underline of the "Follow Us" footer look less like a progress bar */

.site-footer .widget-title {
	border:none;
}

/* Removes Site Title & Tagline from banner */

.site-title-wrap {
	display:none;
}

/* Removes SKU & Category from single product listings */

div.summary.entry-summary > div.product_meta {
	display:none;
}

/* Ensure Stripe fields at checkout aren't massively tall */

.woocommerce-checkout .entry-content iframe, .woocommerce-cart .entry-content iframe {
	min-height: 5px;
}

/* Centers "Add to Cart" button on individual products 

.woocommerce div.product .entry-summary .variations_form .single_variation_wrap .button {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
*/

/* Centers captions beneath centered images */

figure.aligncenter figcaption {
	text-align:center;
}

/* Puts bullets inside the main body's margins, instead of outside */

.single #primary .entry-content ul, .page #primary .entry-content ul {
	list-style-position:inside;
}

/* Reduces unnecessary list padding */

#primary .entry-content > ul > li {
	padding:0;
 	text-indent: -20px;
 	margin-left: 20px;
}

/* Hides tags on single posts */

.single-post .cat-tags { 
	display: none;
}

/* Hide the wpstats tracking pixel that causes extra whitespace in the footer on mobile */

img#wpstats {
	width:0px;
	height:0px;
	overflow:hidden;
	visibility:hidden;
	display:block;
}

/* On HackFest mobile TablePress, adds "Place" after 1st, 2nd, et al, and hides empty cells */

@media screen and (max-width: 1024px) {
	#tablepress-4.tablepress-responsive-stack-phone td.column-4:not(:empty)::after {
		content: " Place"
	}
	#tablepress-4.tablepress-responsive-stack-phone td:empty {
		display:none;
	}
}

/* Embiggens tappable area in mobile collapsible menu */

@media screen and (max-width: 1024px) {
	.menu-item-has-children .submenu-toggle {
		width:12em;
		text-align:right;
		padding-right:20px;
	}
	.menu-item-has-children .submenu-toggle.active {
    -moz-transform: scale(1, -1);
    -webkit-transform: scale(1, -1);
    -o-transform: scale(1, -1);
    -ms-transform: scale(1, -1);
    transform: scale(1, -1);
	}
}

/* Remove some formatting on 404 page */

.error404 div > p:nth-child(1) {
	margin: 0 auto 30px auto;
	font-size: 1.3888em;
	max-width: 586px;
	text-decoration:none;
	text-align:center;
}

.error404 span.dropcap {
	display: inline;
	float: inherit;
	font-size: 1em;
	line-height: 1;
	font-weight: normal;
	margin: 0;
}

.error404 div.entry-content a {
	text-decoration:none;
}

/* Crop news category archive thumbnails */

@media only screen and (min-width: 750px) {
	.list-view figure.post-thumbnail {
	  	display: inline-block;
	    vertical-align: top;
	    border-radius: 5px;
	    overflow: hidden;
	    position: relative;
	    height: 300px;
	    width: 519px;
	}

	.list-view figure.post-thumbnail img {
	    vertical-align: top;
	    height: auto;
	    width: 100%;
	}
}

/* Crop homepage news thumbnails */

.home #blog_section img {
    height: 230px;
    object-fit: cover;
    width: auto;
    min-width: 100%;
    width: auto;
    vertical-align: top;
}

/* Add space after unordered lists */

ul {
	margin-bottom:1em;
}

/* Reduce space before & after livestream */

section.recent-conference-section:before {
	background:none;
}

#media_video-3 > h2 {
	margin-top:1em;
}

section.recent-conference-section {
	padding-bottom:0;
}

section.gallery-section {
	margin-top:50px;
}
section.blog-section {
	padding-top:50px;
}

.cross-sells ul.products li {
	width: 48% !important;
}

/* Makes sure all images in gallery are the same size */
.wp-block-gallery.has-nested-images figure.wp-block-image {
    flex-grow: 0;
}

/* Centers "short" gallery row of images */
.wp-block-gallery.has-nested-images {
    justify-content: center;
}

/* Add mouseover effect to memorial gallery */
.page-id-9562 a > img:hover {
	opacity:0.8;
}

/* Removes the default clear: both from paragraphs, which was preventing left/right-aligned images from floating */
.entry-content p {
  clear: none;
}

/* Makes image captions smaller, italicized, and centered */

figure > figcaption {
	font-size: 0.8em;
/*	font-style:italic; */
	text-align:center;
}