/*
Theme Name:   Simply Static
Theme URI:    https://olliewp.com
Description:  A child theme for Ollie.
Author:       OllieWP
Author URI:   http://example.com
Template:     ollie
Version:      1.0.4
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         Tags: blog, portfolio, entertainment
Text Domain:  ollie
*/

html {
    scroll-behavior: smooth;
}

.gradient-fade {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.position-relative {
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

@media only screen and (min-width: 782px) {
    .static-screenshot img {
        max-width: 150% !important;
    }

    .wp-block-cover.static-screenshot {
        min-width: 150% !important;
    }

}

.wp-block-greenshift-blocks-searchbox {
    margin-top: 0 !important;
}

div#ez-toc-container {
    background: var(--wp--preset--color--tertiary) !important;
    padding: 15px;
}

p.ez-toc-title {
    font-weight: bold;
    font-size: 1.5rem;
}

.single-post main figure.wp-block-image {
    background: #f6f6fc;
    display: block;
    padding: 25px 10px;
    width: 100%;
}

.glossary-term-list {
    justify-content: stretch;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.glossary-block {
    background: var(--wp--preset--color--tertiary) !important;
    padding: 10px;
    margin: 10px;
    display: inline-flex;
    min-width: 260px;
    box-sizing: border-box;
}

.glossary-block ul {
    list-style: none;
    padding: 0;
}

.glossary-letter {
    font-size: 25px !important;
    margin-right: 15px;
}

.freemius-price-currency,
.freemius-price-raw-value {
    font-style: normal;
    font-weight: 700;
    font-size: var(--wp--preset--font-size--x-large) !important;
}

select.freemius-pricing-plan-select {
    color: var(--wp--preset--color--primary) !important;
    padding: 15px;
    font-size: var(--wp--preset--font-size--base);
    border: none !important;
}

.freemius-buy-button {
    background: white;
    color: var(--wp--preset--color--primary);
    border-radius: 5px;
    padding: 15px 0px;
}

.free-button-space {
    margin: 20px;
}

.priority-support {
    margin: 95px 0 0 0;
}

/* Simply Static language switcher */
.site-header-actions {
	gap: 0.75rem;
}

.site-header-actions > .wp-block-navigation {
	flex: 0 0 auto;
}

.site-header-actions > nav[aria-label="Choose a language"] {
	flex: 0 0 auto;
	line-height: 1;
}

.site-language-switcher.wp-block-polylang-language-switcher {
	display: flex;
	align-items: center;
	gap: 0.2rem;
	margin: 0;
	padding: 0.2rem;
	list-style: none;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
}

.site-language-switcher.wp-block-polylang-language-switcher > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-language-switcher.wp-block-polylang-language-switcher a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.8rem;
	height: 1.65rem;
	padding: 0;
	border-radius: 999px;
	opacity: 0.62;
	transition: background-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.site-language-switcher.wp-block-polylang-language-switcher a:hover,
.site-language-switcher.wp-block-polylang-language-switcher a:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	opacity: 1;
	transform: translateY(-1px);
}

.site-language-switcher.wp-block-polylang-language-switcher .current-lang > a {
	background: var(--wp--preset--color--primary);
	opacity: 1;
	box-shadow: 0 2px 8px rgba(90, 32, 255, 0.35);
}

.site-language-switcher.wp-block-polylang-language-switcher img {
	display: block;
	width: 18px !important;
	height: auto !important;
	margin: 0;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.site-header-actions > .site-language-switcher.wp-block-polylang-language-switcher {
	position: relative;
	flex: 0 0 auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.site-header-actions > .site-language-switcher.wp-block-polylang-language-switcher::after {
	position: absolute;
	top: 50%;
	right: 0.05rem;
	width: 0.35rem;
	height: 0.35rem;
	border-right: 1.5px solid #fff;
	border-bottom: 1.5px solid #fff;
	content: "";
	pointer-events: none;
	transform: translateY(-70%) rotate(45deg);
}

.site-language-switcher.wp-block-polylang-language-switcher .pll-switcher-select {
	min-height: 0;
	margin: 0;
	padding: 0 0.75rem 0 0;
	border: 0;
	border-radius: 0;
	appearance: none;
	-webkit-appearance: none;
	color: #fff;
	background: transparent !important;
	background-image: none !important;
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500 !important;
	line-height: inherit;
	cursor: pointer;
	color-scheme: dark;
}

.site-language-switcher.wp-block-polylang-language-switcher .pll-switcher-select:hover {
	color: rgba(255, 255, 255, 0.78);
	background-color: transparent;
}

.site-language-switcher.wp-block-polylang-language-switcher .pll-switcher-select:focus-visible {
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
}

.site-language-switcher.wp-block-polylang-language-switcher .pll-switcher-select:focus {
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
}

.site-language-switcher.wp-block-polylang-language-switcher .pll-switcher-select option {
	color: #111;
	background: #fff;
}

@media screen and (max-width: 900px) {
	.site-header-actions {
		gap: 0.5rem;
	}

	.site-language-switcher.wp-block-polylang-language-switcher a {
		width: 1.65rem;
		height: 1.55rem;
	}

}
