/*
Theme Name: SWD Review 2024
Theme URI: https://www.shaw-webdesigns.com/
Author: Shaw Web Designs
Author URI: https://www.shaw-webdesigns.com/
Description: A child theme for SWD based on Twenty Twenty-Three.
Requires at least: 6.1
Tested up to: 6.2
Requires PHP: 5.7
Version: 6.2024.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentythree
Text Domain: swdrev2024
Tags: blog, news, portfolio, one-column, wide-blocks, accessibility-ready, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, rtl-language-support, sticky-post, threaded-comments, translation-ready, 
*/

/* Basic Formatting */
:root .wp-site-blocks {
    padding-top: 0;
    padding-bottom: 0;
}

:root .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
	color: var(--wp--preset--color--secondary);
}

:root .wp-block-navigation .current-menu-item .wp-block-navigation-item__content.wp-block-navigation-item__content {
	color: var(--wp--preset--color--deep-red);
}

:root footer .wp-block-navigation .current-menu-item .wp-block-navigation-item__content.wp-block-navigation-item__content {
	text-decoration: none;
	color: var(--wp--preset--color--base);
}

:root footer .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content,
:root footer .wp-block-query a:where(:not(.wp-element-button)),
:root footer .wpv-view-output a:where(:not(.wp-element-button)),
:root .wp-site-blocks footer .copyright a:where(:not(.wp-element-button)) {
	color: var(--wp--preset--color--base);
	text-decoration: underline;
}

.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container {
	margin-top: 3px;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	line-height: 2;
}

.wp-block-navigation__responsive-container-open svg {
    height: 35px;
    width: 64px;
}

:root main div.wp-block-stackable-columns:not(:first-of-type) h1.wp-block-post-title {
	color: var(--wp--preset--color--base);
}

:root .wp-block-post-title {
	text-shadow: 4px 4px 2px rgba(120,120,120,0.2) !important;
}

:root footer .has-background h2,
:root footer .stk-block-background:not(.gen-cta) h2 {
	color: var(--wp--preset--color--base);
}

:root .wp-site-blocks h2,
:root .wp-site-blocks h3 {
	/* margin-block-start: 0.16em; */
	margin-block-end: 0;
}

:root .wp-site-blocks footer {
	color: var(--wp--preset--color--base);
	margin-block-start: 0;
}

:root footer ul.our-posts {
	--stk-columns-spacing: 0;
	margin-block-start: 0em;
	list-style-type: none;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	padding-inline-start: 0px;
}

/* Blog page */
.blog h2 {
	line-height: .75;
}
.blog h2 a:where(:not(.wp-element-button)) {
	font-size: var(--wp--preset--font-size--x-large);
}

/* Portfolio Single Page */
.single-portfolio :where(body .is-layout-flow) > * {
	margin-block-end: 1.5rem;
}

/* iOS */
a[href^=tel] {
	color: inherit !important;
}

/* General */
.content-area a.pdf {
	transition: none;
	box-shadow: none;
}

nav a[class*="pdf"]::after,
.content-area a.pdf::after,
.entry-content a.pdf::after,
:root a.stk-button.pdf::after {
	font-family: "Font Awesome 5 Free";
	font-weight: 600;
	content: "\f1c1";
    padding-left: 8px;
	color: #671100;
    line-height: 1;
    vertical-align: middle;
	font-size: 16px;
    text-decoration: none;
	display: inline-block;
}

:root a.stk-button.pdf::after {
	opacity: initial;
	position: initial;
	width: auto;
}

.content-area .widget_sow-features a.pdf::after,
.entry-content a.no-img-pdf.pdf::after {
	display: none;
}

nav a[class*="externalLink"]::after,
:root .entry-content a.externalLink::after,
:root :not(header).wp-block-template-part a.externalLink:not(.wp-block-social-link-anchor)::after {
	font-family: "Font Awesome 5 Free";
	font-weight: 600;
	content: "\f08e" !important;
    padding-left: 6px;
	/* color: #671100; */
	color: var(--wp--preset--color--secondary);
    line-height: 1;
    vertical-align: middle;
    font-size: 12px;
    text-decoration: none !important;
	display: inline-block;
}

:root :not(header).wp-block-template-part a.externalLink::after,
:root :not(header).wp-block-template-part .copyright a.externalLink:not(.wp-block-social-link-anchor)::after {
	color: inherit;
}

.entry-content .wp-block-image a.externalLink::after,
.entry-content .h-box a.externalLink::after,
:root header.wp-block-template-part a.externalLink::after {
	content: "";
}

/* Custom */

/* Stackable Overrides */
:root :is(.stk-block-button,
:root .stk-block-icon-button,
:root .stk-block-pagination):not(.is-style-link) .stk-button>.stk-button__inner-text {
	color: var(--wp--preset--color--secondary);
}

:root :is(.stk-block-button,
:root .stk-block-icon-button,
:root .stk-block-pagination):not(.is-style-link) .stk-button {
	background: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--base);
}

:root .my-quote-tip .stk-block-text__text::after {
	content: "";
	width: 16px;
	height: 16px;
	background-color: var(--stk-block-background-color);
	position: absolute;
	bottom: -8px;
	left: 64px;
	transform: rotate(45deg)
}

.image-cropper {
	position: relative;
	overflow: hidden;
	border-radius: 50%;
  }

.image-cropper p {
    margin-block-start: 0em;
    margin-block-end: 0em;
}
  
 .image-cropper img {
	display: inline;
	margin: 0 auto;
	height: auto;
	width: 100%;
  }

.domain-search input[type="text" i] {
  height: 40px;
    font-size: 1.25rem;
}

.domain-search input[type="search" i] {
-webkit-appearance: initial;
    appearance: none;
    border: 1px solid #949494;
    flex-grow: 1;
    margin-left: 0;
    margin-right: 0;
    min-width: 3rem;
    padding: 8px;
    text-decoration: unset!important;
}

.domain-search button[type="submit" i] {
	background-color: var(--wp--preset--color--secondary);
    border-radius: 10px;
    border-width: 0;
    color: var(--wp--preset--color--base);
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: inherit;
    padding: calc(0.25em + 2px) calc(1.333em + 2px);
    text-decoration: none;
}

@media ( max-width: 767px ) {
	:root .stk-4780c94 .stk-block-heading__text {
		text-shadow: 4px 4px 2px rgba(120,120,120,0.2) !important;
	}
}

@media ( max-width: 800px ) {
	:root .home .stk-8637846:before {
		background-image: none !important;
		background-color: var(--wp--preset--color--base);
	}


}

@media ( min-width: 700px ) {
	:root .wp-block-post-title {
		text-shadow: 6px 6px 4px rgba(120,120,120,0.2) !important;
	}
}