/*
Theme Name: PediaMed
Theme URI: https://pediamed.com
Author: JonMasterson
Author URI: https://jonmasterson.com
Description: PediaMed 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: pediamed
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
*/


/* Custom */

.is-bold {
	font-weight: 600;
}

.wp-block-details summary {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
}

/* Logo List */
.wp-block-image.logo-list>a { 
	display: block;
}
@media screen and (max-width: 782px) {
  .wp-block-image.logo-list img {
    max-width: 85% !important;
		min-height: 70px !important;
  }
	.is-layout-flow > .logo-list {
		display: table !important;
		text-align: center !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

/* Responsive */

.show-mobile {
  display: none !important;
}

.logo-show-mobile {
  display: none !important;
}

@media screen and (max-width: 1024px) {
  .hide-mobile {
    display: none !important;
  }

	.show-mobile {
		display: flex !important;
	}

}

@media screen and (max-width: 660px) {
  .logo-hide-mobile {
    display: none !important;
  }

	.logo-show-mobile {
		display: inline-block !important;
	}

}


/* Navigation Menu */

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

.wp-block-navigation__submenu-container {
  font-size: 0.9rem !important;
	font-weight: 400 !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
	padding-top: 0 !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .level-two-submenu > .wp-block-navigation-item__content:first-child {
	font-size: 1.6rem !important;
	width: 100%;
	font-weight: 600 !important;
	margin-top: 24px !important;
	color: var(--wp--preset--color--secondary) !important;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .is-bold {
	font-weight: 400;
}

/* 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--secondary);
}

#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) !important;
  border-width: 0 !important;
  color: var(--wp--preset--color--base);
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: 1 !important;
  height: auto !important;
  padding: calc(0.667em + 2px) calc(1.333em + 2px) !important;
  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;
}


/* Spacing */

.no-bottom-margin {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.no-top-margin {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.no-margin {
  margin: 0 !important;
  padding: 0 !important;
}


/* Woo Commerce */

.wc-block-grid__product-rating,
.wc-block-components-product-rating__stars {
	color: #ffba00;
}

.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
	border-radius: 99px;
}

/* Woo Wishlist */

.nmww-button.for-product,
.nmww-button.for-single-product-gallery {
	background: #ffffff !important;
	border: solid 2px var(--wp--preset--color--secondary) !important;
	border-radius: 150px !important;
	line-height: 22px !important;
	box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1);
	padding: 7px 7px 5px !important;
}

.nmww-button.for-product {
	left: auto !important;
	right: 10px !important;
}

.nmww-button.for-product i,
.nmww-button.for-single-product-gallery i {
	color: var(--wp--preset--color--secondary) !important;
}

.nmww-button.for-single-product-gallery {
	line-height: 24px !important;
}

.nmww-button.for-product.added,
.nmww-button.for-single-product-gallery.added {
	background: #dd3333 !important;
	border: solid 2px #dd3333 !important;
}

.nmww-button.for-product.added i,
.nmww-button.for-single-product-gallery.added i {
	color: #ffffff !important;
}

.nmww-button.for-single-product-summary {
	color: var(--wp--preset--color--secondary) !important;
	margin-top: 1.6rem !important;
}

.nmww-button.for-single-product-summary.added,
.nmww-button.for-single-product-summary.added i {
	color: #dd3333 !important;
}

/* Yith AJAX Product Filters */
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item > a,
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item > label > a {
	color: #ffba00;
}
