/*
Theme Name: SharePath
Theme URI: https://sharepath.com
Author: JonMasterson
Author URI: https://jonmasterson.com
Description: SharePath is designed to take advantage of the new design tools introduced in WordPress 6.2. With a clean, blank base as a starting point, this default theme includes ten diverse style variations created by members of the WordPress community. Whether you want to build a complex or incredibly simple website, you can do it quickly and intuitively through the bundled styles or dive into creation and full customization yourself.
Requires at least: 6.1
Tested up to: 6.1
Requires PHP: 5.6
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: sharepath
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, accessibility-ready, blog, portfolio, news
*/


/* Navigation Menu */

@media screen and (max-width: 375px) {
  .header-logo img.custom-logo,
  .header-talks-logo img {
    width: 220px !important;
	  height: auto !important;
  }
}

@media screen and (max-width: 782px) {
  .has-text-align-right.footer-copyright,
	.has-text-align-right.right-to-mobile-center,
	.left-to-mobile-center {
		text-align: center !important;
		justify-content: center !important;
	}
	.wp-block-navigation.items-justified-right.right-to-mobile-center {
		--navigation-layout-justification-setting: center;
		--navigation-layout-justify: center;
	}
	.is-layout-flow > .alignright.footer-logo {
		float: none !important;
		text-align: center;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.wp-block-navigation.footer-nav {
		--navigation-layout-justify: center;
	}
}

/* Spacing */
.no-top-margin {
	margin-top: 0 !important;
}
.no-bottom-margin {
	margin-bottom: 0 !important;
}
.x-small-top-margin {
	margin-top: .25rem !important;
}
.x-small-bottom-margin {
	margin-bottom: .25rem !important;
}
.small-top-margin {
	margin-top: .75rem !important;
}
.small-bottom-margin {
	margin-bottom: .75rem !important;
}
.medium-top-margin {
	margin-top: 1.5rem !important;
}
.medium-bottom-margin {
	margin-bottom: 1.5rem !important;
}

.current-menu-item {
	text-decoration: underline;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-page-list {
	font-size: 1.75rem;
	align-items: center;
	width: 100%;
	color: var(--wp--preset--color--contrast) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-page-list {
	font-size: 1.2rem;
}

/* Multimedia Header */
.page-template-multimedia .wp-site-blocks {
  padding-top: 0;
}

/* Loader */
#loader-inner {
	width: 90%;
}

@media (min-width:782px) {
	#loader-inner {
		width: 40%;
	}
}

.loader-wrap {
	margin-top: 0 !important;
}

#loader,
#fader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	pointer-events: none;
	animation-duration: 700ms;
	animation-timing-function: ease-in-out;
}

#loader {
	background: var(--wp--preset--color--base);
	display: flex;
	align-items: center;
	justify-content: center;
}

#loader.primary-color {
	background: var(--wp--preset--color--primary);
}

#fader {
	background: var(--wp--preset--color--base);
}

@keyframes fade-out {
	from {
			opacity: 1;
	}

	to {
			opacity: 0;
	}
}

@keyframes fade-in {
	from {
			opacity: 0;
	}

	to {
			opacity: 1;
	}
}

#loader.fade-out,
#fader.fade-out {
	opacity: 0;
	animation-name: fade-out;
}

#loader.fade-in,
#fader.fade-in {
	opacity: 1;
	animation-name: fade-in;
}

.isIE #loader,
.isIE #fader {
	display: none !important;
}

/* WP Forms */
div.wpforms-container-full .wpforms-form input[type=submit],
div.wpforms-container-full .wpforms-form button[type=submit] {
  background-color: var(--wp--preset--color--primary);
  border-width: 0;
  color: var(--wp--preset--color--base);
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: 1;
  height: auto !important;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  text-decoration: none;
  border-radius: 9999px;
  box-shadow: none;
}

div.wpforms-container-full .wpforms-form input[type=submit]:hover,
div.wpforms-container-full .wpforms-form button[type=submit]:hover {
  text-decoration: underline;
}