html, body {
	width: 100%;
	height: 100%;

	font-family: 'Comfortaa';
	font-size: 12px;

	background-color: rgba( var( --color-light ), .96 );
	color: rgba( var( --color-dark ), .96 );

	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

@media screen and (min-width: 320px) {
	html, body {
		font-size: calc(12px + 6 * ((100vw - 320px) / 680));
	}
}
@media screen and (min-width: 1000px) {
	html, body {
		font-size: 16px;
	}
}

body,
body * {
	box-sizing: border-box;
	text-transform: unset !important;
	text-decoration: unset !important;
	outline: none !important;
}

input,
input.kpui-input {
	font-family: 'Montserrat-Regular';
}

.tox-promotion,
.tox-statusbar__branding {
	display: none !important;
}

.kp-embed-box {
	position: relative;
	padding: 56.25% 0 0 0;
}
.kp-embed-box iframe {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

.kp-editable-parent .kp-editable {
	border: 1px solid rgba( var( --color-berry ), .96 );
	border-radius: .5rem;
	padding: 1rem;
	height: 360px;
	overflow: auto;
	box-shadow: var( --shadow-cell );
	transition: all .24s ease-in-out;
}
.kp-editable-parent .kp-editable:hover {
	box-shadow: var( --shadow-cell-hover );
}

@keyframes kp-dialog-fadein {
	0% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes kp-dialog-fadeout {
	0% { opacity: 1; }
	100% { opacity: 0; }
}
@keyframes kp-dialog-flyin {
	0% { opacity: 0; transform: translateY( -40px ); }
	100% { opacity: 1; transform: translateY( 0 ); }
}
@keyframes kp-dialog-flyout {
	0% { opacity: 1; transform: translateY( 0 ); }
	100% { opacity: 0; transform: translateY( -40px ); }
}
@keyframes kp-dialog-pulse {
	0% { box-shadow: inset 0 0 0 300px transparent; }
	70% { box-shadow: inset 0 0 0 300px rgba( 255, 255, 255, .25 ); }
	100% { box-shadow: inset 0 0 0 300px transparent; }
}

.kp-dialog,
.kp-dialog *,
.kp-dialog *::before,
.kp-dialog *::after {
	box-sizing: border-box;
}

.kp-dialog {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 160px 0;
	border: 0;
	background: transparent;
	overflow: auto;
}
.kp-dialog::backdrop {
	background: rgba( 0, 0, 0, .4 );
	animation: kp-dialog-fadein .5s;
}
.kp-dialog.kp-dialog-closing::backdrop {
	animation: kp-dialog-fadeout .5s forwards;
}
body:has( .kp-dialog[open] ) {
	overflow: hidden;
}

.kp-dialog-content {
	position: relative;
	width: 450px;
	max-width: 100%;
	margin: 0 auto;
	padding: 1rem;
	border-radius: 5px;
	background: #f0f0f0;
	color: #444;
	font-family: inherit;
	font-size: 1.1rem;
	line-height: 1.5rem;
	animation: kp-dialog-flyin .5s;
}
.kp-dialog.kp-dialog-closing .kp-dialog-content {
	animation: kp-dialog-flyout .5s forwards;
}
.kp-dialog-content h1,
.kp-dialog-content h2,
.kp-dialog-content h3,
.kp-dialog-content h4,
.kp-dialog-content h5,
.kp-dialog-content h6,
.kp-dialog-content p,
.kp-dialog-content ul,
.kp-dialog-content li {
	color: inherit;
}

.kp-dialog-form {
	margin: 0;
}

.kp-dialog-message {
	margin-bottom: .5rem;
	max-height: 50vh;
	overflow: auto;
}

.kp-dialog-input {
	margin-bottom: 1rem;
}
.kp-dialog-input select,
.kp-dialog-input textarea,
.kp-dialog-input input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]) {
	width: 100%;
	min-height: 2.5rem;
	margin: 0 0 .25rem;
	padding: .25rem .67rem;
	border: 0;
	border-radius: 3px;
	background: #fff;
	font-family: inherit;
	font-weight: inherit;
	font-size: inherit;
}
.kp-dialog-input select:focus,
.kp-dialog-input textarea:focus,
.kp-dialog-input input:focus {
	box-shadow: inset 0 0 0 2px #8dbdf1;
	outline: none;
}

.kp-dialog-buttons {
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: wrap;
	gap: .5rem;
}

.kp-dialog-button {
	margin: 0;
	padding: .75rem 2rem;
	border: 0;
	border-radius: 3px;
	font-family: inherit;
	font-size: .8rem;
	line-height: 1rem;
	letter-spacing: .1rem;
	text-transform: uppercase;
	text-rendering: optimizeLegibility;
	appearance: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.kp-dialog-button:focus {
	animation: kp-dialog-pulse 1.1s infinite;
	outline: none;
}
@media ( max-width: 568px ) {
	.kp-dialog-button:focus {
		animation: none;
	}
}
.kp-dialog-button-primary {
	background: #3288e6;
	color: #fff;
}
.kp-dialog-button-secondary {
	background: #e0e0e0;
	color: #777;
}

.kp-dialog-button-yes {
	border-radius: .25rem !important;
	background: linear-gradient(to right, #02aab0, #00cdac);
	color: rgba( 255, 255, 255, 1 );
	transition: all .24s ease-in-out;
}
.kp-dialog-button-yes:hover,
.kp-dialog-button-yes:focus,
.kp-dialog-button-yes:active {
	color: rgba( 255, 255, 255, 1 );
	box-shadow: var( --shadow-cell );
}

.kp-dialog-button-no {
	border-radius: .25rem !important;
	background: linear-gradient(to right, #fc251d, #fc561f);
	color: rgba( 255, 255, 255, 1 );
	transition: all .24s ease-in-out;
}
.kp-dialog-button-no:hover,
.kp-dialog-button-no:focus,
.kp-dialog-button-no:active {
	color: rgba( 255, 255, 255, 1 );
	box-shadow: var( --shadow-cell );
}
.kp-dialog-button-small {
	font-size: .72rem !important;
	padding: .64rem .72rem !important;
}
.kp-dialog-button-smaller {
	font-size: .64rem !important;
    padding: .48rem .64rem !important;
}
.kp-dialog-button-smallest {
	font-size: .48rem !important;
	padding: .36rem .48rem !important;
}



.kp-visible-none {
	visibility: hidden !important;
	pointer-events: none !important;
}
.kp-opacity-none {
	opacity: 0 !important;
	pointer-events: none !important;
}
.kp-display-none {
	display: none !important;
	pointer-events: none !important;
}
.kp-template {
	display: none !important;
	pointer-events: none !important;
}

.kp-disabled,
.kp-disabled * {
	opacity: .72 !important;
	pointer-events: none !important;
}

.kp-img-broken {
	visibility: hidden !important;
}


.kp-border-clip-mask {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	overflow: hidden;
	-webkit-mask-image: radial-gradient(circle, white 100%, black 100%);
}

.kp-single-line {
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.kp-text-decoration-none {
	text-decoration: none !important;
}
.kp-text-transform-none {
	text-transform: none !important;
}

.kp-reset-font,
.kp-reset-font * {
	font-family: unset !important;
}

kp-image {
	display: block;

	width: 100%;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-color: transparent;
}


[kp-dotted-cover],
.kp-dotted-cover {
	position: absolute;
	
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	background-color: rgba( 48, 48, 48, .72 );
	background-image: radial-gradient( rgba( 0, 0, 0, 1 ) 33%, transparent 33% );
	background-size: 2px 2px;
}

[kp-background-cover],
.kp-background-cover {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

[kp-background-contain],
.kp-background-contain {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

