/**
 * Theme Name: Sky Pilot
 * Theme URI: https://lifterlms.com
 * Author: LifterLMS
 * Author URI: https://lifterlms.com
 * Description: The best WordPress LMS theme built for speed using modern technology and optimized for beautiful eLearning experiences. Deliver the best learner experience with a theme built exclusively for courses & membership sites.
 * Requires at least: 6.1
 * Tested up to: 6.2
 * Requires PHP: 7.4
 * Version: 2.0.0
 * License: GPLv2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: sky-pilot
 * Domain Path: /languages
 * Tags: one-column, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, sticky-post, threaded-comments
 */

/**
 * Global styles.
 */

* {
	box-sizing: border-box;
}

/**
 * General structure.
 */
footer.site-footer {
	clear: both;
	margin-top: 0;
}

/**
 * Base elements.
 */
hr {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--contrast-lightest);
}

/**
 * Tables.
 */
table {
	background-color: #fcfcfc;
	border: 10px solid #fcfcfc;
	border-collapse: collapse;
	border-radius: calc(var(--wp--custom--border--radius) * 2);
	color: var(--wp--preset--color--contrast);
	margin: var(--wp--preset--spacing--30) 0;
	max-width: 100%;
	overflow: hidden;
	width: 100%;
}

th,
td {
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
	vertical-align: top;
}

thead th,
thead td,
tbody th {
	font-family: var(--wp--custom--heading--font-family);
	font-weight: var(--wp--custom--heading--font-weight);
	text-align: left;
	vertical-align: bottom;
}

tbody td {
	vertical-align: middle;
}

tbody tr th:first-child,
tbody tr td:first-child {
	border-bottom-left-radius: calc(var(--wp--custom--border--radius) * 2);
	border-top-left-radius: calc(var(--wp--custom--border--radius) * 2);
}

tbody tr th:last-child,
tbody tr td:last-child {
	border-top-right-radius: calc(var(--wp--custom--border--radius) * 2);
	border-bottom-right-radius: calc(var(--wp--custom--border--radius) * 2);
}

tbody tr:nth-child(odd) th,
tbody tr:nth-child(odd) td {
	background-color: #f5f5f5;
}

/**
 * Forms.
 */
label {
	font-family: var(--wp--custom--heading--font-family);
	font-weight: var(--wp--custom--heading--font-weight);
}

fieldset {
	border-color: var(--wp--preset--color--contrast-lighter);
	border-radius: var(--wp--custom--border--radius);
	border-style: solid;
	border-width: 1px;
	margin: var(--wp--preset--spacing--20) 0;
}

legend {
	font-family: var(--wp--custom--heading--font-family);
	font-weight: var(--wp--custom--heading--font-weight);
}

[type="text"],
[type="password"],
[type="email"],
[type="url"],
[type="tel"],
[type="number"] {
	background-color: var(--wp--preset--color--base);
	background-clip: padding-box;
	border: 1px solid var(--wp--preset--color--contrast-lighter);
	border-radius: var(--wp--custom--border--radius);
	box-sizing: border-box;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--18);
	line-height: 1;
	padding: calc(var(--wp--preset--spacing--10) / 2);
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	width: 100%;
}

textarea {
	background-color: var(--wp--preset--color--base);
	background-clip: padding-box;
	border: 1px solid var(--wp--preset--color--contrast-lighter);
	border-radius: var(--wp--custom--border--radius);
	box-sizing: border-box;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--18);
	line-height: 1;
	padding: calc(var(--wp--preset--spacing--10) / 2);
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	width: 100%;
}

input:focus,
input:focus-visible,
textarea:focus,
textarea:focus-visible {
	border-color: #80bdff;
	box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
	outline: thin dotted;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--contrast-lighter);
	border-radius: var(--wp--custom--border--radius);
	box-sizing: border-box;
	color: var(--wp--preset--color--contrast);
	padding: calc(var(--wp--preset--spacing--10) / 2);
	margin: 0;
	width: 100%;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--18);
	cursor: inherit;
	line-height: 1.6;
	z-index: 1;
	outline: none;
	background-repeat: no-repeat;
	background-image: linear-gradient(45deg, transparent 50%, currentcolor 50%), linear-gradient(135deg, currentcolor 50%, transparent 50%);
	background-position: right 15px top 1.3rem, right 10px top 1.3rem;
	background-size: 5px 5px, 5px 5px;
}

select::-ms-expand {
	display: none;
}

select:focus {
	border: 1px solid #80bdff;
	box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
	outline: thin dotted;
}

[type="submit"] {
	background-color: var(--wp--preset--color--tertiary);
	border-radius: var(--wp--custom--border--radius);
	border-width: 0;
	color: var(--wp--preset--color--base);
	cursor: pointer;
	display: inline-block;
	font-family: var(--wp--custom--heading--font-family);
	font-size: var(--wp--preset--font-size--18);
	font-weight: var(--wp--custom--heading--font-weight);
	line-height: 1;
	padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
	text-decoration: none;
	transition: background-color 0.25s ease-in-out;
}

[type="submit"]:hover {
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--base);
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--contrast-lighter);
	border-radius: var(--wp--custom--border--radius);
	overflow: hidden;
	padding: 0;
}

.wp-block-search__button-inside input[type="search"] {
	background-color: var(--wp--preset--color--base);
	background-clip: padding-box;
	font-size: var(--wp--preset--font-size--18);
	line-height: 1;
	padding: calc(var(--wp--preset--spacing--10) / 2);
}

.wp-block-search input[type="search"]:not(.wp-block-search__button-inside input[type="search"]) {
	background-color: var(--wp--preset--color--base);
	background-clip: padding-box;
	border: 1px solid var(--wp--preset--color--contrast-lighter);
	border-radius: var(--wp--custom--border--radius);
	box-sizing: border-box;
	font-size: var(--wp--preset--font-size--18);
	line-height: 1;
	padding: calc(var(--wp--preset--spacing--10) / 2);
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.wp-block-search input[type="search"]:focus:not(.wp-block-search__button-inside input[type="search"]),
.wp-block-search input:focus-visible:not(.wp-block-search__button-inside input[type="search"]) {
	border-color: #80bdff;
	box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
	outline: thin dotted;
}

.wp-block-search__button-inside input[type="search"]:focus,
.wp-block-search__button-inside input:focus-visible {
	box-shadow: none;
	outline: transparent;
}

.wp-block-search__button-inside .wp-block-search__button {
	border-radius: 0;
}

header .wp-block-search__button,
footer .wp-block-search__button {
	padding: calc(var(--wp--preset--spacing--10) / 2);
}

/**
 * Core WordPress elements.
 */
.avatar {
	border-radius: 50%;
}

/**
 * Author card.
 */
.is-style-sky-pilot-post-author-boxed {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--contrast-lightest);
	border-radius: 12px;
	clear: both;
	display: block;
	text-align: center;
}

.is-style-sky-pilot-post-author-boxed .wp-block-post-author__byline,
.is-style-sky-pilot-post-author-boxed .wp-block-post-author__name {
	display: inline-block;
	font-family: var(--wp--custom--heading--font-family);
	font-size: var(--wp--preset--font-size--18);
	padding: 0 3px;
	width: auto;
}

.is-style-sky-pilot-post-author-boxed .wp-block-post-author__name {
	font-weight: 900;
}

.is-style-sky-pilot-post-author-boxed .wp-block-post-author__avatar {
	margin-right: 0;
}

.is-style-sky-pilot-post-author-boxed .wp-block-post-author__bio {
	font-size: var(--wp--preset--font-size--18);
}

/**
 * Buttons
 */
button {
	font-family: var(--wp--custom--heading--font-family);
}

/* Outline Buttons */
.wp-block-button .wp-block-button__link {
	word-break: initial;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border-width: 3px;
}

.wp-block-button.is-style-outline.has-large-font-size .wp-block-button__link {
	border-width: 5px;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover:not(.wp-block-button.is-style-outline .wp-block-button__link.has-background:hover) {
	background-color: var(--wp--preset--color--contrast);
	border-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

/* XS Font Size */
.wp-block-button.has-14-font-size .wp-block-button__link {
	padding-top: calc(var(--wp--preset--spacing--10) / 2);
	padding-right: var(--wp--preset--spacing--10);
	padding-bottom: calc(var(--wp--preset--spacing--10) / 2);
	padding-left: var(--wp--preset--spacing--10);
}

.wp-block-button.is-style-outline.has-14-font-size .wp-block-button__link {
	border-width: 2px;
}

.wp-block-button.has-14-font-size.is-style-outline .wp-block-button__link {
	padding-top: calc(var(--wp--preset--spacing--10) / 2 - 3px);
	padding-right: calc(var(--wp--preset--spacing--10) - 3px);
	padding-bottom: calc(var(--wp--preset--spacing--10) / 2 - 3px);
	padding-left: calc(var(--wp--preset--spacing--10) - 3px);
}

/* L or XL Font Size */
.wp-block-button.has-large-font-size .wp-block-button__link {
	padding-top: calc(var(--wp--preset--spacing--20) / 2);
	padding-right: var(--wp--preset--spacing--30);
	padding-bottom: calc(var(--wp--preset--spacing--20) / 2);
	padding-left: var(--wp--preset--spacing--30);
}

.wp-block-button.has-large-font-size.is-style-outline .wp-block-button__link {
	padding-top: calc(var(--wp--preset--spacing--20) / 2 - 5px);
	padding-right: calc(var(--wp--preset--spacing--30) - 5px);
	padding-bottom: calc(var(--wp--preset--spacing--20) / 2 - 5px);
	padding-left: calc(var(--wp--preset--spacing--30) - 5px);
}

/**
 * Navigation Block Styles
 */
.is-style-navigation-button > * {
	border: 3px solid;
	border-radius: var(--wp--custom--border--radius);
	color: currentcolor;
	padding-top: calc(var(--wp--preset--spacing--10) / 2 - 3px);
	padding-right: calc(var(--wp--preset--spacing--10) - 3px);
	padding-bottom: calc(var(--wp--preset--spacing--10) / 2 - 3px);
	padding-left: calc(var(--wp--preset--spacing--10) - 3px);
}

.is-style-navigation-button > *:hover,
.wp-block-navigation .is-style-navigation-button > *:hover {
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation__submenu-icon path {
	stroke-width: 2;
}

/**
 * Comments.
 */

.wp-block-post-comments-form input:not([type="submit"]),
.wp-block-post-comments-form textarea {
	border: 1px solid var(--wp--preset--color--contrast-lighter);
	border-radius: var(--wp--custom--border--radius);
}

/**
 * Columns
 */
.wp-block-column.has-background {
	padding: var(--wp--preset--spacing--20);
}

/**
 * Custom class for query loop items
 */
.wp-block-query .wp-block-post > .wp-block-group,
.loop-card {
	background-color: var(--wp--preset--color--base);
	border: 1px solid #ddd;
	border-radius: 12px;
	overflow: hidden;
}

.wp-block-query .wp-block-post > .wp-block-group > *:not(figure):not(.wp-block-post-featured-image__placeholder):not(.wp-block-post-featured-image),
.loop-card > *:not(figure) {
	padding-right: var(--wp--preset--spacing--20);
	padding-left: var(--wp--preset--spacing--20);
}

/**
 * Featured Image
 */
.wp-block-post-featured-image__placeholder img {
	height: auto;
	width: 100%;
}

.wp-block-post-featured-image__placeholder img:not(.loop-card .wp-block-post-featured-image__placeholder img):not(.wp-block-query .wp-block-post .wp-block-post-featured-image__placeholder img),
.wp-block-query .wp-block-post.sticky .wp-block-post-featured-image__placeholder img {
	border-radius: 12px;
}

.loop-card .wp-block-post-featured-image__placeholder {
	padding: 0;
}

/*
 * Utility
 */
.list-style-none {
	list-style: none;
}

@media (max-width: 781px) {

	.hide-mobile {
		display: none;
	}
}

@media (min-width: 782px) {

	.hide-desktop {
		display: none;
	}
}

/**
 * Inherits.
 */

/* Allows for the use of text-decoration on links without settings. */
[style*="text-decoration:"] a:not(:hover) {
	text-decoration: inherit;
}
