/*
 Theme Name:   Bright Stars
 Theme URI:    https://github.com/openskyweb/brightstars
 Description:  A Kadence Theme Child Theme
 Author:       Open Sky Agency
 Author URI:   https://www.openskyagency.com
 Text Domain:  brightstars
 Template:     kadence
 Version:      2.0.0
*/

html {
	scroll-behavior: smooth;
}

#wrapper {
	margin-left:auto;
	margin-right:auto;
}

/* Headers and Text */
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6,
.single-content h1,
.single-content h2,
.single-content h3,
.single-content h4,
.single-content h5,
.single-content h6 {
	margin-top: 0em;
    text-wrap: balance;
}
/* Sync default sizing from core and Kadence */

.has-text-align-center {
	text-wrap: balance;
}

.has-small-font-size {
	font-size: var(--global-kb-font-size-sm) !important;
}

.has-regular-font-size,
.has-medium-font-size {
	font-size: var(--global-kb-font-size-md) !important;
}

.has-large-font-size {
	font-size: var(--global-kb-font-size-lg) !important;
}

.has-larger-font-size,
.has-x-large-font-size {
	font-size: var(--global-kb-font-size-xl) !important;
}

/* List Options */
ol,
ul {
	margin-left: 2em;
}

.kb-row-layout-id620_371900-24, .kb-row-layout-id620_371900-24 h1, .kb-row-layout-id620_371900-24 h2, .kb-row-layout-id620_371900-24 h3, .kb-row-layout-id620_371900-24 h4, .kb-row-layout-id620_371900-24 h5, .kb-row-layout-id620_371900-24 h6 {
    color: var(--global-palette2, #28374a);
}
.kb-row-layout-id620_fc3ff0-2c, .kb-row-layout-id620_fc3ff0-2c h1, .kb-row-layout-id620_fc3ff0-2c h2, .kb-row-layout-id620_fc3ff0-2c h3, .kb-row-layout-id620_fc3ff0-2c h4, .kb-row-layout-id620_fc3ff0-2c h5, .kb-row-layout-id620_fc3ff0-2c h6 {
	color: var(--global-palette9, #ffffff);
}

@media all and (min-width: 767px) {
	.columns-2 {
		column-count: 2;
		column-gap: 2em;
	}

	.columns-3 {
		column-count: 3;
		column-gap: 2em;
	}

	.columns-4 {
		column-count: 4;
		column-gap: 2em;
	}
}

/* Images */
.aspect-ratio-16-9 {
	aspect-ratio: 16 / 9;
}

.aspect-ratio-4-3 {
	aspect-ratio: 4 / 3;
}

.aspect-ratio-3-2 {
	aspect-ratio: 3 / 2;
}

.aspect-ratio-1-1 {
	aspect-ratio: 1 / 1;
}

/* Search Block */
.wp-block-search .wp-block-search__input {
	padding: 6px 12px;
	font-size: 14px;
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
	border: 0;
}

.wp-block-search__button {
	padding: 2px;
}

@media all and (max-width: 768px) {
	.wp-block-search__inside-wrapper {
		width: 100% !important;
	}

	.wp-block-search {
		display: block;
	}
}

/* Accessibility: Style External Links */
.external-text-only-link:not(.kb-button),
.external-pdf-link:not(.kb-button) {
	display: inline-flex;
	align-items: center;
	column-gap: 0.25em;
}

.external-text-only-link:not(.kb-button) svg,
.external-pdf-link:not(.kb-button) svg {
	height: .8em
}

/* Termageddon Styling */

body .policy_embed_div h1,
body .policy_embed_div h2,
body .policy_embed_div h3,
body .policy_embed_div h4,
body .policy_embed_div h5,
body .policy_embed_div h6 {
	margin: .5em 0 !important;
	line-height: 1.4 !important;
}

body .policy_embed_div ul,
body .policy_embed_div p {
	margin-top: 0 !important;
	margin-bottom: var(--global-sm-spacing) !important;
}

body .policy_embed_div .accordions {
	border: 0 !important;
	font-size: 16px !important;
}

@media all and (min-width: 768px) {
	body .policy_embed_div .accordions {
		HOLDmargin: 20px !important;
	}
}

body .policy_embed_div .accordion {
	border-color: var(--global-palette8) !important;
}

body .policy_embed_div .accordion-content {
	padding: 0 !important;
}

body .policy_embed_div .accordion-summary:hover {
	background: none !important;
}

body .policy_embed_div .accordion-heading {
	font-size: 18px !important;
}

@media all and (max-width: 768px) {
	body .policy_embed_div .accordion-heading {
		font-size: 16px !important;
	}
}

body .policy_embed_div .accordion-section {
	margin-left: 1.5em !important;
}







/* Customizr Styles */
h1, h2, h3, h4, h5, h6,
p.has-text-align-center, .balance {
	text-wrap: balance;
}

/* Captions */
figure {
	margin: unset;
}

figcaption:not(:empty) {
	color: var(--global-palette1);
	padding-top: var(--global-kb-spacing-xxs, 0.5rem);
	padding-right: var(--global-kb-spacing-xxs, 0.5rem);
	padding-bottom: var(--global-kb-spacing-xxs, 0.5rem);
	padding-left: var(--global-kb-spacing-xxs, 0.5rem);
	font-size: var(--global-kb-font-size-sm, 0.9rem);
	font-family: 'Minion Pro Semibold';
	font-weight: 600;
	font-style: normal;
}

/* Quotes and Pullquotes */
.entry-content p + blockquote {
	margin-bottom: var(--global-kb-spacing-sm, 1.5rem);
}
.entry-content blockquote.wp-block-quote {
	color: var(--global-palette9);
	background-color: var(--global-palette1, #3182CE);
	padding-top: var(--global-kb-spacing-md, 2rem);
	padding-right: var(--global-kb-spacing-md, 2rem);
	padding-bottom: var(--global-kb-spacing-md, 2rem);
	padding-left: var(--global-kb-spacing-md, 2rem);
	border: 0;

}

.entry-content blockquote.wp-block-quote p {
	font-size: var(--global-kb-font-size-md, 1.25rem);
	line-height: 1.4;
	font-weight: 600;
	font-family: 'Minion Pro Semibold';
	margin-bottom: 0px;	
}

.entry-content blockquote.wp-block-quote > cite{
	margin-top: var(--global-kb-spacing-xs, 1rem);
	font-size: var(--global-kb-font-size-md, 1.25rem);
	font-weight: 600;
	font-family: 'Minion Pro Semibold Italic';
	color: var(--global-palette8);
}

figure.wp-block-pullquote {
	margin: 0;
	padding:0;
}

.wp-block-pullquote blockquote {
	margin-bottom: 0;
	padding-top: var(--global-kb-spacing-lg, 3rem);
	padding-bottom: var(--global-kb-spacing-lg, 3rem);
}

.wp-block-pullquote blockquote p {
	margin-bottom: 0px;
	text-align: center;
	font-size: var(--global-kb-font-size-lg, 2rem);
	line-height: 1.4;
	font-weight: 600;
	font-family: 'Minion Pro Semibold Italic';
	color: var(--global-palette1);
	text-wrap: balance;
}

.wp-block-pullquote blockquote cite {
	margin-top: var(--global-kb-spacing-sm, 1.5rem);
	text-align: center;
	font-size: var(--global-kb-font-size-sm, 0.9rem);
	font-weight: 600;
	font-family: 'Minion Pro Semibold';
	text-transform: uppercase;
	color: var(--global-palette5);
}

.wp-block-pullquote blockquote::before {
	color: var(--global-palette1);
	opacity: 0.1;
}
.wp-block-pullquote.alignleft, .wp-block-pullquote.alignright {
	max-width: 100%;
	margin-bottom: 0;
}
@media all and (min-width: 1024px) {
	.entry-content blockquote.wp-block-quote.alignleft {
		width: 50%;
		margin-top: 0;
		margin-bottom: 0;
		margin-right: var(--global-md-spacing);
	}

	.entry-content blockquote.wp-block-quote.alignright {
		width: 50%;
		margin-top: 0;
		margin-bottom: 0;
		margin-left: var(--global-md-spacing);
	}

	.wp-block-pullquote.alignleft, .wp-block-pullquote.alignright {
		max-width: 50%;
	}
}


/* Breadcrumbs */
.single-content ul.breadcrumb,
.single-content ol.breadcrumb {
	padding-left: 0;
}

/* Issuu Embed */
.wp-block-embed-issuu .wp-block-embed__wrapper {
	position: relative;
	padding-bottom: 56.25%; /* set the aspect ratio here as (height / width) * 100% */
	padding-bottom: 64.7%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.wp-block-embed-issuu .wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

/* Videos */
.video-wrapper .kt-inside-inner-col {
	position: relative;
	padding-bottom: 56.25%;
	overflow: hidden;
	max-width: 100%;
	height: auto;
}

.video-wrapper .kt-inside-inner-col iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-button {
	position: absolute;
	align-self: center;
}

/* Featured Story */

.story-feed ul.kb-query-grid-wrap > li:first-child .kb-row-layout-wrap {
	background-color: var(--global-palette1);
	padding-top: var(--global-kb-spacing-md, 2rem);
	padding-right: var(--global-kb-spacing-md, 2rem);
	padding-bottom: var(--global-kb-spacing-md, 2rem);
	padding-left: var(--global-kb-spacing-md, 2rem);
}

.story-feed ul.kb-query-grid-wrap > li:first-child .kb-row-layout-wrap {
	color: var(--global-palette8);
}

.story-feed ul.kb-query-grid-wrap > li:first-child .kb-row-layout-wrap  a, .story-feed ul.kb-query-grid-wrap > li:first-child .kb-row-layout-wrap a * {
	color: var(--global-palette8);
}

.story-feed ul.kb-query-grid-wrap > li:first-child .kb-row-layout-wrap  a:hover, .story-feed ul.kb-query-grid-wrap > li:first-child .kb-row-layout-wrap a:hover * {
	color: var(--global-palette9);
}

@media all and (min-width: 1024px) {

	.story-feed ul.kb-query-grid-wrap > li:first-child .kb-row-layout-wrap > .kt-row-column-wrap {
		grid-template-columns: minmax(0, calc(40% - ((var(--global-kb-gap-lg, 4rem) * 1) / 2))) minmax(0, calc(60% - ((var(--global-kb-gap-lg, 4rem) * 1) / 2)));
	}

	.story-feed ul.kb-query-grid-wrap > li:first-child .kb-row-layout-wrap > .kt-row-column-wrap .wp-block-kadence-column.kb-section-has-link {
		order: 2;
	}
}
/* Category Filters */
ul.buttons-cat-filter {
	list-style-type: none;
	margin: 0;
	padding: 0;
	line-height: 1;
	font-size: var(--global-kb-font-size-sm, 0.9rem);
}

.buttons-cat-filter li {
	display: inline-block;
	margin-right: var(--global-kb-spacing-xs, 1rem);
	margin-top: 4px;
	margin-bottom: 4px;
}

.buttons-cat-filter li a {
	font-size: var(--global-kb-font-size-sm, 0.9rem);
	font-weight: 700;
	font-style: normal;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--global-palette6);
	border-bottom: 1px solid var(--global-palette6);
}

.buttons-cat-filter li:hover a,
.buttons-cat-filter li.current-cat a {
	color: var(--global-palette2);
	border-color: var(--global-palette2);
}

/* Modal */
button.kt-blocks-modal-link {
	width: fit-content;
	background: var(--global-palette2);
	padding: .8em 1.5em;
	font-size: 16px;
}
button.kt-blocks-modal-link:hover,
button.kt-blocks-modal-link:active {
	background: var(--global-palette6);
}

/* Card Buttons Alignment */
.card-layout .kt-inside-inner-col {
	display: flex;
} 

/* Forms */
input {
	padding: 16px;
	background-color: var(--global-palette9);
	border-radius: 8px;
	border: 1px solid var(--global-palette5);
}

select {
	background-color: var(--global-palette9);
	border-radius: 8px;
	border: 1px solid var(--global-palette5);
	padding: 0.4em 35px 0.4em 0.7em
}

input,  input::placeholder {
	color: var(--global-palette2);
}

/* Theme My Login Forms */
.tml input {
	padding: 16px 16px 16px 50px;
	border-radius: 8px;
	border: 1px solid var(--global-palette5);
}

.tml input,
.tml input::placeholder {
	color: var(--global-palette2);
}

button.tml-button {
	width: 100%;
}

.tml ul.tml-links {
	list-style-type: none;
	padding-left: 0;
}

.tml .tml-action-confirmaction .success, .tml .tml-error, .tml .tml-message, .tml .tml-success {
	background-color: var(--global-palette9);
	border-radius: 8px;
}

/* Theme My Login Icons */
li.tml-lostpassword-link {
	display: none;
}

.tml-field-wrap {
	position: relative;
}
.tml-field-wrap::after {
	content: "";
	position: absolute;
	bottom: 20px;
	left: 16px;
	width: 24px;
	height: 24px;
	background-size: contain;
	background-repeat: no-repeat;
	pointer-events: none;
}

.tml-field-wrap.tml-log-wrap::after,
.tml-field-wrap.tml-user_login-wrap::after {
	background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2222%22%20viewBox%3D%220%200%2018%2022%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M12.75%205.46375C12.75%206.45831%2012.3549%207.41213%2011.6516%208.1154C10.9484%208.81866%209.99454%209.21375%208.99998%209.21375C8.00541%209.21375%207.05159%208.81866%206.34833%208.1154C5.64506%207.41213%205.24998%206.45831%205.24998%205.46375C5.24998%204.46918%205.64506%203.51536%206.34833%202.81209C7.05159%202.10883%208.00541%201.71375%208.99998%201.71375C9.99454%201.71375%2010.9484%202.10883%2011.6516%202.81209C12.3549%203.51536%2012.75%204.46918%2012.75%205.46375ZM1.50098%2019.5817C1.53311%2017.6141%202.33731%2015.7379%203.74015%2014.3578C5.14299%2012.9777%207.03206%2012.2042%208.99998%2012.2042C10.9679%2012.2042%2012.857%2012.9777%2014.2598%2014.3578C15.6626%2015.7379%2016.4668%2017.6141%2016.499%2019.5817C14.1464%2020.6605%2011.5881%2021.2173%208.99998%2021.2137C6.32398%2021.2137%203.78398%2020.6297%201.50098%2019.5817Z%22%20stroke%3D%22%231A212D%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
}

.tml-field-wrap.tml-pwd-wrap::after {
	background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2222%22%20viewBox%3D%220%200%2018%2022%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M13.5%209.96375V6.21375C13.5%205.02027%2013.0259%203.87568%2012.182%203.03176C11.3381%202.18785%2010.1935%201.71375%209%201.71375C7.80653%201.71375%206.66193%202.18785%205.81802%203.03176C4.97411%203.87568%204.5%205.02027%204.5%206.21375V9.96375M3.75%2021.2137H14.25C14.8467%2021.2137%2015.419%2020.9767%2015.841%2020.5547C16.2629%2020.1328%2016.5%2019.5605%2016.5%2018.9637V12.2137C16.5%2011.617%2016.2629%2011.0447%2015.841%2010.6228C15.419%2010.2008%2014.8467%209.96375%2014.25%209.96375H3.75C3.15326%209.96375%202.58097%2010.2008%202.15901%2010.6228C1.73705%2011.0447%201.5%2011.617%201.5%2012.2137V18.9637C1.5%2019.5605%201.73705%2020.1328%202.15901%2020.5547C2.58097%2020.9767%203.15326%2021.2137%203.75%2021.2137Z%22%20stroke%3D%22%231A212D%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E");
}


/* Floating Scroll Down Arrow */
.scroll-down-arrow {
	position: fixed;
	bottom: 30px;
	right:20px;
	z-index: 999;
	cursor: pointer;
	opacity: 0.8;
	transition: opacity 0.3s ease;
	animation: bounce 3.5s infinite;
	color: var(--global-palette1);
	border: 2px solid;
}

.scroll-down-arrow:hover {
	opacity: 1;
	color: var(--global-palette6);

}

.scroll-down-arrow.hidden {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease;
}

.scroll-icon {
	width: 2em;
	height: 2em;
	display: block;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translate(-50%, 0);
	}
	40% {
		transform: translate(-50%, 8px);
	}
	60% {
		transform: translate(-50%, 4px);
	}
}
