/*
Theme Name:     Piper
Theme URI:      https://demos.restored316.com/piper/
Template:       kadence
Author:         Restored 316 // Lauren Dierschke
Author URI:     http://www.restored316designs.com/
Description:    A mobile responsive WordPress theme built for the Kadence Framework by Lauren Dierschke of Restored 316.
Version:        1.0.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Theme customization starts here
-------------------------------------------------------------- */

#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner {
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.1);
}

ul.wp-block-social-links {
	margin-bottom: 0;
}

/* Query Page Numbers
---------------------------------- */

.wp-block-query-pagination-numbers .page-numbers {
	display: inline-block;
  margin-right: 0.5em;
  border: 2px solid transparent;
  min-width: 2.5em;
  line-height: 2.25em;
  text-align: center;
  text-decoration: none;
  border-radius: .25rem;
  color: inherit;
	background: none;
}

.wp-block-query-pagination-numbers .page-numbers:hover {
	border-color: var(--global-palette-btn-bg);
	background: none;
}

.wp-block-query-pagination-numbers .page-numbers.current {
		border-color: var(--global-palette-btn-bg);
    background: var(--global-palette-btn-bg);
    color: var(--global-palette-btn);
}

.wp-block-query-pagination-numbers .page-numbers.current:hover {
	border-color: var(--global-palette-btn-bg);
}

.pagination .nav-links {
	text-align: center;
}

/* Sub & Superscript
---------------------------------- */

p sub {
    font-size: 100%;
    bottom: auto;
    padding: 3px 10px;
    color: var(--global-palette9);
    z-index: 2;
}

p sub:after {
    content: '';
    background: var(--global-palette2);
    width: 100%;
    height: 100%;
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    transform: rotate(-2deg);
    z-index: -1;
}

p sup {
    font-size: 100%;
    bottom: auto;
    top: auto;
    padding: 3px 10px;
    color: var(--global-palette9);
	z-index: 2;
}

p sup:after {
    content: '';
    background: var(--global-palette1);
    width: 100%;
    height: 100%;
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    transform: rotate(-2deg);
    z-index: -1;
}

/* Archives & Single Posts
---------------------------------- */

.archive .entry-taxonomies .category-links a,
.single .entry-taxonomies .category-links a,
.blog .entry-taxonomies .category-links a {
    font-size: 100%;
	background: var(--global-palette1);
    padding: 2px 8px;
    color: var(--global-palette9);
	transform: rotate(-2deg);
	display: inline-block;
}

.post-archive .entry-header {
	margin-top: -25px;
}


.entry-related .loop-entry .entry-content-wrap {
    padding: 1rem;
}

.wp-block-post-date,
.wp-block-post-terms {
	text-transform: uppercase;
}

.wp-block-read-more {
	text-align: center;
}

.archive.content-style-unboxed .entry, 
.blog.content-style-unboxed .entry, 
.post-type-archive.content-style-unboxed .entry, 
.search-results.content-style-unboxed .entry {
	text-align: center;
}

/* Search Drawer
---------------------------------- */

#search-drawer .drawer-inner {
	width: 30% !important;
	height: 150px !important;
	margin: 83px auto;
	box-shadow: none;
}

#search-drawer .drawer-inner .drawer-content form input.search-field {
	background: #fff;
}

.popup-drawer.active .drawer-overlay {
	 opacity: 0 !important;
}

@media only screen and (max-width: 767px) {
	
	#search-drawer .drawer-inner {
		width: 100% !important;
		height: 150px !important;
		margin: 39px auto;
		box-shadow: none;
	}

}
