/*!
Theme Name: itsbase
Author: ITSolutions
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: itsbase
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

itsbase is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */


html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: auto;
	scroll-padding-top: 0px;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: 600;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-size: 1rem;
	line-height: 27px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'Open Sans', sans-serif;
}

p {
	margin-bottom: 1.5em;
	line-height: 24px;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 0;
}

ul {
	margin: 0;
	padding: 0;
	padding-left: 40px;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #eac47c;
}

a:visited {
	color: #eac47c;
}

a:hover,
a:focus,
a:active {
	color: #eac47c;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
	padding-right: 20px;
}

.main-navigation #primary-menu {
	align-items: center;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
	right: 200px;
	width: 200px;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
	padding: 0 0 0 30px;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

header #site-navigation #primary-menu .menu-btn a {
	color: #fff;
	background: #5495cd;
	padding: 5px 10px;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

}

@media screen and (min-width: 768px) {
	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}


/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	/* display: grid;
	grid-gap: 1.5em; */
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

#breadcrumbs span a,
#breadcrumbs span,
#breadcrumbs a {
	margin-right: 3px;
}

#breadcrumbs span a {
	color: #4C5462;
}

#breadcrumbs a {
	font-size: 16px;
}

#breadcrumbs .breadcrumb_last {
	color: #eac47c;
	font-size: 16px;
	margin-left: 3px;
}

#dashboard_php_nag {
	display: none;
}

/* HOMEPAGE
 * Figma frame is 1920px wide. --u is one Figma pixel, scaled to the page width
 * (never above 1px), so decor can use design coordinates: calc(var(--u) * N).
 * Horizontal positions are measured from the page centre (Figma x - 960).
 */
.site-main.home {
	--u: min(100cqw / 1920, 1px);
	container-type: inline-size;
	position: relative;
	overflow: hidden;
	background: #fff;
	font-family: 'Inter', sans-serif;
}

.section-title {
	margin: 0;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: max(34px, calc(var(--u) * 90));
	line-height: 1.2;
	text-transform: uppercase;
	text-align: center;
	color: #776cb1;
}

/* HEADER */
header#masthead {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	height: max(56px, calc(var(--u) * 116));
	background: rgba(177, 170, 212, 0.5);
}

header#masthead .headermenu {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

header #site-navigation {
	width: auto;
	padding: 0;
}

header #primary-menu {
	justify-content: center;
	gap: calc(var(--u) * 150);
}

header #site-navigation #primary-menu li {
	padding: 0;
}

header #site-navigation #primary-menu li a {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: max(16px, calc(var(--u) * 40));
	line-height: 1.2;
	color: #fff;
	text-transform: uppercase;
}

header #site-navigation #primary-menu li a:hover {
	color: #fff68d;
	text-decoration: none;
}

header .lang-switch-block {
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
}

header .lang-switch-block img {
	width: 30px;
}

/* Full-width decor: --x / --w / --h are the Figma left offset (from centre),
 * width and height. On screens wider than the design the image is stretched
 * horizontally (height kept) so it always reaches both edges of the page.
 */
section.banner .banner-bg,
section.check .check-waves-top,
section.check .check-waves-bottom,
section.winners .winners-waves {
	--left: min(calc(50% + var(--u) * var(--x)), 0px);
	left: var(--left);
	width: calc(max(50% + var(--u) * (var(--x) + var(--w)), 100%) - var(--left));
	height: calc(var(--u) * var(--h));
}

/* HERO */
section.banner {
	position: relative;
}

section.banner .banner-art {
	position: relative;
	height: calc(var(--u) * 2160);
	overflow: hidden;
	background: #776cb1;
}

section.banner .banner-art > img,
section.banner .banner-title {
	position: absolute;
	max-width: none;
	margin: 0;
}

section.banner .banner-title img {
	display: block;
	width: 100%;
}

section.banner .banner-bg {
	--x: -1845;
	--w: 3281;
	--h: 2912;
	top: calc(var(--u) * -243);
}

section.banner .banner-title {
	left: calc(50% + var(--u) * -638);
	top: calc(var(--u) * 238);
	width: calc(var(--u) * 1277);
}

section.banner .banner-sweater {
	left: calc(50% + var(--u) * -1122.92);
	top: calc(var(--u) * 197);
	width: calc(var(--u) * 2244.94);
}

section.banner .banner-snow {
	left: calc(50% + var(--u) * -844);
	top: calc(var(--u) * 1538);
	width: calc(var(--u) * 2041);
}

section.banner .banner-gifts {
	left: calc(50% + var(--u) * 541);
	top: calc(var(--u) * 1521);
	width: calc(var(--u) * 225);
}

/* Products and steps sit above the registration top waves */
section.banner .banner-products {
	left: calc(50% + var(--u) * -958);
	top: calc(var(--u) * 1542);
	width: calc(var(--u) * 677);
	z-index: 3;
}

section.banner .banner-steps {
	position: absolute;
	left: calc(50% + var(--u) * -837);
	top: calc(var(--u) * 1968);
	z-index: 3;
	display: flex;
	justify-content: space-between;
	width: calc(var(--u) * 1688);
}

section.banner .banner-steps img {
	width: auto;
	height: calc(var(--u) * 189);
	max-width: none;
}

/* REGISTRATION */
section.check {
	position: relative;
	padding: calc(var(--u) * 257) 0 max(90px, calc(var(--u) * 184));
	background: #776cb1;
}

/* Without the submit button the overlay would reach into the bottom waves */
section.check:has(.ended) {
	padding-bottom: max(150px, calc(var(--u) * 364));
}

section.check > img {
	position: absolute;
	z-index: 1;
	max-width: none;
	pointer-events: none;
}

section.check .check-waves-top {
	--x: -1461.59;
	--w: 2748.6;
	--h: 559;
	top: calc(var(--u) * -244);
}

section.check .check-stars-left {
	left: calc(50% + var(--u) * -940);
	top: calc(var(--u) * 146);
	width: calc(var(--u) * 592);
}

section.check .check-stars-right {
	left: calc(50% + var(--u) * 171);
	top: calc(var(--u) * 127);
	width: calc(var(--u) * 800);
}

section.check .check-waves-bottom {
	--x: -1436;
	--w: 2605;
	--h: 563;
	bottom: calc(var(--u) * -289);
}

section.check .container {
	position: relative;
	z-index: 2;
}

section.check .section-title {
	margin-bottom: calc(var(--u) * 39);
	color: #fff;
}

/* Fixed width so the form doesn't resize with its contents; below 1053px it follows the Bootstrap container steps */
section.check .register-wrap {
	width: 100%;
	max-width: 1053px;
}

section.check form {
	width: 100%;
}

section.check .ended {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	height: 100%;
	background: rgba(119, 108, 177, 0.92);
	border-radius: 10px;
	color: #fff;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: max(24px, calc(var(--u) * 60));
	line-height: 1.2;
	text-align: center;
}

section.check .register-form {
	position: relative;
	z-index: 6;
	width: 100%;
}

section.check .register-form .ffield {
	margin-bottom: max(12px, calc(var(--u) * 30));
}

section.check .register-form input[type="text"],
section.check .register-form input[type="email"],
section.check .register-form input[type="tel"],
section.check .register-form .input-checkimg,
section.check .register-form #filebtn {
	width: 100%;
	height: max(48px, calc(var(--u) * 104));
	padding: 0 12px;
	border: 0;
	border-radius: 10px;
	background: #fffdfd;
	color: #776cb1;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: max(16px, calc(var(--u) * 36));
	line-height: 1.2;
	text-align: center;
}

section.check .register-form input::placeholder {
	color: #776cb1;
	opacity: 1;
}

section.check .register-form .fileinput .d-flex {
	gap: calc(var(--u) * 35);
}

section.check .register-form .input-checkimg {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	min-width: 0;
	overflow: hidden;
	cursor: pointer;
}

/* A long filename must not widen the shrink-to-fit form: zero width, flex grows it back */
section.check .register-form .input-checkimg.has-file {
	width: 0;
}

section.check .register-form .input-checkimg.has-file span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

section.check .register-form #filebtn {
	flex: 0 0 max(110px, calc(var(--u) * 302));
	white-space: normal;
}

section.check .register-form #filebtn:hover {
	background: #efedf8;
}

section.check .register-form .input-error {
	box-shadow: inset 0 0 0 3px #ff5a7a;
}

section.check .register-form .error {
	margin-top: 4px;
	color: #ffd2dc;
	font-weight: 500;
	font-size: 15px;
	line-height: 1.3;
	text-align: left;
}

/* Agreement, reCAPTCHA and submit stacked, each on its own row */
section.check .register-form + .register-form {
	margin-top: calc(var(--u) * 15);
}

section.check .register-form + .register-form > div:nth-child(3) {
	text-align: center;
}

section.check .register-form input[type="checkbox"] {
	display: none;
}

section.check .checkbox,
section.check .checkbox label {
	display: block;
	margin: 0;
	text-align: left;
}

section.check .checkbox input + span {
	position: relative;
	display: flex;
	align-items: center;
	min-height: max(40px, calc(var(--u) * 104));
	margin: 0;
	padding-left: calc(max(40px, calc(var(--u) * 104)) + max(12px, calc(var(--u) * 26)));
	color: #fff;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: max(13px, calc(var(--u) * 20));
	line-height: 1.2;
	cursor: pointer;
}

section.check .checkbox input + span:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: max(40px, calc(var(--u) * 104));
	height: max(40px, calc(var(--u) * 104));
	border-radius: 10px;
	background: #fffdfd;
	color: #776cb1;
	font-size: max(24px, calc(var(--u) * 60));
	line-height: max(40px, calc(var(--u) * 104));
	text-align: center;
}

section.check .checkbox input:checked + span:before {
	content: '\2714';
}

section.check .checkbox .lbl-text a {
	color: #fff;
	text-decoration: underline;
}

section.check .register-form .submit-btn {
	width: max(220px, calc(var(--u) * 435));
	height: max(56px, calc(var(--u) * 142));
	margin-top: calc(var(--u) * 8);
	padding: 0;
	border: none;
	border-radius: max(14px, calc(var(--u) * 30));
	background: linear-gradient(90deg, #dcc148 0%, #fff68d 74.038%, #dcc148 100%);
	color: #776cb1;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: max(22px, calc(var(--u) * 48));
	text-transform: uppercase;
}

section.check .register-form .submit-btn:hover {
	filter: brightness(1.05);
}

section.check .register-form .submit-btn:disabled {
	opacity: 0.7;
}


.modal-pop button.close {
    text-align: right;
    opacity: 1;
    position: absolute;
    top: -12px;
    right: -12px;
    border: none;
    padding: 0;
    background: none;
}

.modal-pop button.close img {
    width: 38px;
    height: 38px;
    position: relative;
    z-index: 9;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.modal-pop .deliveryform input[type="text"] {
	width: 100%;
	height: 50px;
	border: 2px solid #fff;
	border-radius: 10px;
	background: #FFCB00;
	padding-left: 15px;
	margin-bottom: 30px;
}

.modal-pop .deliveryform input[type="submit"] {
	font-family: 'Open Sans', sans-serif;
	width: 100%;
	height: 50px;
	border: 2px solid #fff;
	border-radius: 10px;
	background: linear-gradient(144deg, #21b1e7 40%, #1171ac 100%);
	color: #fff;
	font-size: 17px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.modal-pop .deliveryform .disclaimer {
	font-size: 25px;
	margin-bottom: 25px;
	font-weight: 200;
	color: #fff;
}

.modal-pop .deliveryform .column:not(:last-child) {
	padding-right: 0;
}

.modal-pop .deliveryform input[type="text"]::placeholder {
	font-family: 'Open Sans', sans-serif;
	color: #000;
	font-size: 16px;
}

.modal-pop .deliveryform .field {
	position: relative;
}

.modal-pop .deliveryform .field .error {
	position: absolute;
	margin-top: -30px;
}

/* FORM */

/* MODALS */
body .overlay {
	position: fixed;
    background: rgba(0,0,0,0.4);
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    z-index: 111;
    left: 0;
    right: 0;
}

.modal-pop {
	margin: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 99999;
    margin-right: -50%;
    transform: translate(-50%, -50%);
	width: 100%;
}

.modal-pop .modal-content .noise {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 26px;
}

.modal-pop .modal-content {
	background: linear-gradient(42deg,rgba(249, 213, 77, 1) 8%, rgba(255, 149, 21, 1) 31%, rgba(255, 149, 21, 1) 36%, rgba(249, 213, 77, 1) 100%);
	border-radius: 10px;
	width: 75%;
	margin: auto;
	max-height: 80vh;
}

.modal-pop .modal-content .modal-body .modal-block {
	padding: 0px 20px 0px 20px;
}

.modal-pop .modal-content .modal-body button.close {
	font-size: 36px;
	color: #fff;
	opacity: 1;
	z-index: 10000;
	position: absolute;
	right: -18px;
	top: -18px;
}

button:focus {
    outline: none;
}

.modal-pop .modal-content .gr img {
	max-height: 120px;
	margin-top: 15px;
	margin-bottom: 20px;
}

.modal-pop .modal-content .title,
#modalRules .modal-content .title {
    font-family: 'Panicko';
	font-weight: 400;
    font-size: 90px;
    line-height: 90px;
    color: #334496;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.modal-pop .modal-content .milkalogo {
	width: 140px;
}

.modal-pop .modal-content .pretext,
#modalRules .modal-content .pretext {
	font-family: 'Open Sans', sans-serif;
	font-size: 30px;
	line-height: 30px;
	font-weight: 400;
	color: #fff;
	background: url('./images/rect.svg') no-repeat center center;
}

#modalCongratulations.modal-pop .modal-content .pretext p,
#modalCongratulations2.modal-pop .modal-content .pretext p {
	font-family: 'BebasNeue';
	font-size: 60px;
	line-height: 52px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 0px;
	padding: 60px;
}

#modalCongratulations.modal-pop .modal-content .pretext span,
#modalCongratulations2.modal-pop .modal-content .pretext span {
	color: #FFD53B;
}

#modalCongratulations.modal-pop .modal-content .description,
#modalCongratulations2.modal-pop .modal-content .description {
	font-family: 'Open Sans', sans-serif;
	font-size: 25px;
	font-weight: 400;
	line-height: 30px;
	color: #fff;
}

#modalCongratulations.modal-pop .modal-content .description a,
#modalCongratulations2.modal-pop .modal-content .description a {
	color: #fff;
}

#modalCongratulations.modal-pop .modal-content .info .t2,
#modalCongratulations2.modal-pop .modal-content .info .t2,
#modalReg.modal-pop .modal-content .info .t2 {
	font-size: 17px;
	line-height: 24px;
	color: #334496;
	margin-bottom: 0;
}

#modalCongratulations.modal-pop .modal-content .prizeimg,
#modalCongratulations2.modal-pop .modal-content .prizeimg {
	position: absolute;
	right: 10px;
}

#modalWin .modal-body,
#modalLose .modal-body {
	padding: 30px 20px;
}

#modalWin.modal-pop .modal-content,
#modalLose.modal-pop .modal-content {
	background: center / cover no-repeat;
	aspect-ratio: 1 / 1;
	max-width: 80vh;
}

#modalWin.modal-pop .modal-content {
	background-image: url('images/mod1.png');
}

#modalLose.modal-pop .modal-content {
	background-image: url('images/mod2.jpg');
}

#modalReg.modal-pop .modal-content .title {
    font-family: 'Open Sans', sans-serif;
    font-size: 65px;
    line-height: 70px;
    font-weight: 400;
    color: #334496;
    margin-bottom: 10px;
}

#modalReg.modal-pop .modal-content .description {
	font-size: 18px;
	font-weight: 200;
	line-height: 19px;
	color: #fff;
}

#modalReg.modal-pop .modal-content .text p {
	font-size: 45px;
	font-family: 'BebasNeue';
	line-height: 50px;
	color: #334496;
	margin-bottom: 0;
	font-weight: 700;
}

#modalReg.modal-pop .modal-content .text2 p {
	font-size: 30px;
	font-family: 'Open Sans', sans-serif;
	line-height: 35px;
	color: #334496;
	margin-bottom: 30px;
	font-weight: 700;
}

#modalSaved.modal-pop .modal-content .pretext {
	font-size: 23px;
	line-height: 30px;
	font-weight: 600;
	color: #fff;
}

#modalSaved.modal-pop .modal-content .description {
	font-size: 16px;
	line-height: 19px;
	font-weight: 200;
	color: #fff;
}

#modalSaved.modal-pop .modal-content .title_2 {
	font-size: 26px;
	line-height: 30px;
	font-weight: 600;
	color: #002B49;
	margin-bottom: 30px;
}

#modalSaved.modal-pop .modal-content .description_2 {
	font-size: 17px;
	line-height: 20px;
	font-weight: 200;
	color: #fff;
}

#modalSaved.modal-pop .modal-content .description_2 a {
	color: #fff;
	text-decoration: underline;
}

/* MODALS */

/* WINNERS */
section.winners {
	position: relative;
	padding-top: max(40px, calc(var(--u) * 95));
}

section.winners .container {
	position: relative;
	z-index: 2;
}

section.winners .section-title {
	margin-bottom: max(20px, calc(var(--u) * 41));
}

section.winners .winners-card-wrap {
	position: relative;
}

section.winners .winners-card {
	position: relative;
	width: calc(var(--u) * 1242);
	min-height: calc(var(--u) * 800);
	margin: 0 auto;
	padding: calc(var(--u) * 115) calc(var(--u) * 60) calc(var(--u) * 253);
	border-radius: calc(var(--u) * 107);
	background: #776cb1;
}

section.winners .winners-card > img,
section.winners .winners-waves,
section.winners .winners-gifts {
	position: absolute;
	max-width: none;
	pointer-events: none;
}

section.winners .winners-stars-left {
	left: calc(var(--u) * 16);
	top: calc(var(--u) * 35);
	width: calc(var(--u) * 372.12);
}

section.winners .winners-stars-right {
	left: calc(var(--u) * 887);
	top: calc(var(--u) * 15);
	width: calc(var(--u) * 341.76);
}

/* Bottom of the card disappears under snow; anchored to the card bottom */
section.winners .winners-waves {
	--x: -1827;
	--w: 2924.26;
	--h: 632;
	bottom: calc(var(--u) * -322);
	z-index: 1;
}

section.winners .winners-gifts {
	left: calc(50% + var(--u) * -666);
	bottom: calc(var(--u) * -49);
	z-index: 3;
	width: calc(var(--u) * 213);
}

section.winners .winners-content {
	position: relative;
	color: #fff;
}

section.winners .winners-greeting {
	margin: 0 0 calc(var(--u) * 10);
	font-weight: 700;
	font-size: max(26px, calc(var(--u) * 60));
	line-height: 1.2;
	text-transform: uppercase;
}

section.winners .winners-subtitle {
	margin: 0 0 max(16px, calc(var(--u) * 62));
	font-weight: 700;
	font-size: max(24px, calc(var(--u) * 60));
	line-height: 1.2;
}

section.winners .winners-list {
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 300;
	font-size: max(20px, calc(var(--u) * 60));
	line-height: 1.2;
}

section.winners .winners-list li + li {
	margin-top: max(6px, calc(var(--u) * 15));
}

/* RULES */
section.contestrules {
	position: relative;
	padding: max(50px, calc(var(--u) * 73)) 0 max(40px, calc(var(--u) * 34));
}

section.contestrules .container {
	position: relative;
	z-index: 2;
}

section.contestrules .section-title {
	margin-bottom: max(24px, calc(var(--u) * 56));
}

section.contestrules .rules {
	max-width: max(680px, calc(var(--u) * 1044));
	max-height: max(400px, calc(var(--u) * 650));
	margin: 0 auto;
	padding-right: 20px;
	overflow-x: hidden;
	overflow-y: auto;
	color: #776cb1;
	font-weight: 700;
	font-size: max(14px, calc(var(--u) * 25));
	line-height: 1.2;
}

section.contestrules .rules p,
section.contestrules .rules li,
section.contestrules .rules table {
	color: #776cb1;
	line-height: 1.2;
}

section.contestrules .rules::-webkit-scrollbar {
	width: 8px;
}

section.contestrules .rules::-webkit-scrollbar-track {
	background: #ece9f6;
	border-radius: 8px;
}

section.contestrules .rules::-webkit-scrollbar-thumb {
	background: #776cb1;
	border-radius: 8px;
}

/* FOOTER */
section.footer {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: max(56px, calc(var(--u) * 116));
	padding: 12px 0;
	background: #776cb1;
}

section.footer p {
	margin: 0;
	color: #fff;
	font-weight: 700;
	font-size: max(13px, calc(var(--u) * 25));
	line-height: 1.3;
	text-align: center;
}
