/* -------- */
/*   Core   */
/* -------- */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: var(--font-family), sans-serif;
}

.hidden {
	display: none !important;
}

.show-block {
	display: block !important;
}

.hintBox {
	position: absolute;
	display: block;
	max-width: 30vw;
	background: #fff;
	border: 1px solid #ebebeb;
	text-align: justify;
	padding: 1vw;
	z-index: 1000;
}

.tooltip {
	position: relative;

	&::before {
		content: attr(data-tooltip);
		position: absolute;
		top: calc(-1vh - 2px);
		transform: translateY(-100%) translateX(-50%);
		width: min-content;
		padding: 0.5vh 0.5vw;
		border-radius: 5px;
		background: var(--dark-grey);
		color: #fff;
		text-align: center;
		font-size: 0.6vw;
	}

	&::after {
		content: '';
		position: absolute;
		transform: translateY(-50%) translateX(-50%);
		border-style: solid;
		border-width: 1vh;
		border-color: var(--dark-grey) transparent transparent transparent;
		top: -2px;
	}

	&::before,
	&::after {
		opacity: 0;
		transition: opacity 0.4s ease;
	}

	&:hover::before,
	&:hover::after {
		opacity: 1;
	}
}

#message {
	position: sticky;
	top: 10vh;
	z-index: 1000;
	width: 100%;
	background: var(--yellowgrid);
	color: var(--text-grey);
	padding: 1vh 0;
	text-align: center;

	& a {
		text-decoration: underline;
		color: inherit;
	}
}

.yt-video {
	position: relative;
	height: 70%;

	& iframe {
		border: none;
	}

	& button {
		position: absolute;
		top: 38%;
		height: 33%;
		width: 33%;
		left: 39%;
		background: none;
		border: none;
		cursor: pointer;

		& svg {
			position: relative;

			& .yt-play-button {
				fill: red;
			}

			& .yt-play-icon {
				fill: white;
			}
		}
	}
}

.ignore {
	pointer-events: none;
}

i.hint {
	margin-left: 6px;
	font-size: 16px;
	color: blue;
	cursor: help;
}

.noselect {
	-webkit-touch-callout: none;
	user-select: none;
}

.show-on-mobile {
	display: none !important;
}

a {
	text-decoration: none;
	color: var(--text-grey);
}

html {
	scroll-behavior: smooth;
}

input[type='checkbox'] {
	accent-color: var(--blue);
}

body {
	background-color: var(--background-grey);

	& h1,
	& h2,
	& h3,
	& h4,
	& h5,
	& h6 {
		font-weight: unset;
	}

	& #main-header {
		position: relative;
		overflow-x: hidden;
		padding-block: 8vh 20vh;
		background-image: url('/images/common/header/banner.webp');
		background-size: cover;
		text-align: left;
		color: #fff;

		&.home {
			background-image: url('/images/common/header/home.webp');
		}

		& .content {
			width: var(--section-width-85);
			margin-inline: auto;

			& h1 {
				margin-bottom: 3vh;
				background-size: cover;
				background: linear-gradient(145deg, #eee 0, var(--blue) 100%) center;
				background-clip: text;
				-webkit-text-fill-color: transparent;
				-moz-text-fill-color: transparent;
				font-weight: var(--font-weight-bold);
				font-size: 6.5vh;
				color: var(--light-grey);
			}

			& p {
				margin-bottom: 4vh;
				font-size: 2vh;
				color: var(--light-grey);
			}

			& .buttons {
				display: flex;
				justify-content: left;
				gap: 3.5vh;
			}
		}

		& .banner {
			transition: all 0.4s ease-in-out;
			position: absolute;
			top: 18%;
			right: -32.6vh;
			padding: 2vh 0;
			color: #fff;

			& .icon {
				display: flex;
				align-items: center;
				height: 6vh;
				margin: 1vh 0 1vh 1vh;
				padding-left: 2.5vh;
				padding-right: 3.5vh;
				background-color: rgb(0 0 0 / 70%);
				border-top-left-radius: 0.8vh;
				border-bottom-left-radius: 0.8vh;
				text-align: left;

				& img {
					width: 4vh;
					height: auto;
					margin-right: 2vh;
				}

				& span {
					display: inline;
					margin-left: 1vh;
					font-size: 2vh;
				}
			}
		}

		& .banner:hover {
			right: 0;
		}
	}

	& footer {
		border-top: 1px solid var(--light-grey);
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 32px;
		padding: 60px 0;
		background: #f0f0f0;

		> div {
			display: flex;
			justify-content: center;
			gap: 24px;
			text-align: center;
			font-size: 16px;
			color: var(--dark-grey);

			& i {
				transition: color 200ms;
				margin-inline: 8px;
				font-size: 32px;
				color: #2a2a2a;

				&:hover {
					&.fa-linkedin {
						color: #0077b5;
					}

					&.fa-youtube {
						color: #f00;
					}
				}
			}
		}
	}
}

.portalInput {
	transition: background-color 300ms;
	width: 15ch;
	height: min-content;
	margin: auto 0;
	border: solid 1px var(--portal-grey);
	border-radius: 3px;
	padding: 8px;
	font: var(--small-text-font);
	color: #111;

	&:focus-within {
		outline: solid 1px var(--uc-blue);
	}

	&:disabled {
		background: #e7e7e7;
		cursor: not-allowed;
	}

	&.invalid {
		border-color: red !important;
	}
}

.text-input,
.select-input,
.telephone-input {
	position: relative;
	margin-bottom: 4px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	font: var(--small-text-font);

	& label {
		width: fit-content;
		position: relative;
		margin-bottom: 6px;
		text-align: left;
		font-weight: 400;

		&:has(+ input:required, + select:required, + textarea:required)::after {
			content: ' *';
			color: red;
		}

		& .hint {
			right: -22px;
			margin-left: 0;
			color: var(--uc-blue);
		}
	}

	& input {
		width: 100%;
	}

	& textarea {
		outline: none;
	}
}

.radio-input {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-bottom: 2vh;

	& p {
		margin-bottom: 1vh;

		&:has(+ div input:required)::after {
			content: ' *';
			color: red;
		}

		&:has(.hint):has(+ div input:required)::after {
			margin-left: 1vw;
		}
	}

	> div {
		display: grid;
		grid-template-columns: repeat(2, 1fr);

		&:has(:nth-last-child(3)) {
			grid-template-columns: repeat(3, 1fr);
		}

		& label {
			width: 1fr;

			&:not(:last-of-type) {
				margin-right: 2vw;
			}
		}
	}
}

p.inlineError {
	width: 100%;
	position: absolute;
	top: 100%;
	font-size: 16px;
	color: red;
}

/* -------------------------- */
/*   dynamic-table-input.js   */
/* -------------------------- */

.dynamic-table-input {
	--_primary: var(--blue, #109dac);

	width: 100%;
	display: flex;
	flex-direction: column;

	& .row {
		display: grid;
		grid-auto-columns: minmax(0, 2fr);
		grid-auto-flow: column;
		column-gap: 1vw;
		margin-bottom: 1vh;

		> div {
			position: relative;
		}

		&.header div {
			font-weight: 400;
			text-align: left;
		}

		&:not(.header) > div:not(.actions, .ss-main) {
			display: flex;
			flex-direction: column;
			align-items: center;
		}

		& div:last-child {
			column-width: 1fr;
		}

		& .centre {
			margin: auto;
		}

		& .actions {
			display: flex;
			flex-direction: row;
			justify-content: center;
			align-items: center;
			gap: 0.8vw;
			font-size: 3vh;
			color: var(--_primary);
			cursor: pointer;
		}

		& .portalInput {
			width: 100%;
			height: 100%;

			&:not([type='text'], [type='number'], [type='email'], [type='tel']) {
				height: 100%;
			}
		}
	}

	&#users .row {
		grid-template-columns: 2fr 2fr 4fr 1fr;
	}

	&#numbers .row {
		grid-template-columns: 2fr 1fr 1fr 1fr;
	}
}

/* -------------- */
/*   top-nav.js   */
/* -------------- */

#top-nav {
	--nav-width: clamp(20vh, 90%, 200vh);

	width: 100%;
	position: sticky;
	z-index: 1000;
	top: 0;

	> .desktop-navigation {
		min-height: 10vh;
		position: relative;
		z-index: 5;
		box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
		padding: 2.75vh 0;
		background: #fff;
		line-height: 1.7vh;

		> div {
			width: var(--nav-width);
			margin: 0 auto;
			display: flex;
			justify-content: space-between;
			align-items: center;
			gap: 2vh;
			padding-inline: 1vh;

			& .left-nav,
			& .right-nav {
				display: flex;
				flex-wrap: wrap;
				align-items: center;
				gap: 1vh 2vh;

				> .brand-logo {
					height: 4vh;
					margin-right: 1vh;

					> img {
						height: 100%;
					}
				}

				& .nav-link {
					transition: all 100ms;
					position: relative;
					display: flex;
					padding: 1vh 2vh;
					border: 1px solid #fafafa;
					border-radius: 2px;
					text-decoration: none;
					text-align: center;
					text-wrap: nowrap;
					font-size: 1.7vh;
					color: #000;
					cursor: pointer;
					gap: 0 0.5vw;

					&:hover {
						border-color: rgb(0 0 0 / 10%);
						background: #ebebeb;
					}
				}

				> .nav-vessel {
					position: relative;

					&:hover {
						> .nav-options {
							display: flex;
						}
					}

					> .nav-options {
						position: absolute;
						top: 100%;
						left: 0;
						z-index: 1;
						overflow: hidden;
						border: 1px solid var(--light-grey);
						border-radius: 2px;
						display: none;
						flex-direction: column;
						background: #fff;

						> .nav-link {
							border-bottom: 1px solid var(--light-grey);
							text-align: left;
						}
					}
				}
			}

			& .right-nav {
				justify-content: end;
			}
		}
	}

	> .mobile-navigation {
		position: relative;
		z-index: 1000;
		width: 100%;
		display: none;
		flex-direction: column;

		& .mobile-bar {
			box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
			border-bottom: 1px solid var(--light-grey);
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 16px 20px;
			background: #fff;

			> a {
				height: 36px;

				> img {
					height: 100%;
				}
			}

			& .mobile-nav-btn {
				position: relative;
				cursor: pointer;

				& i {
					transition: opacity 200ms;
					position: absolute;
					transform: translateY(-52%);
					right: 50%;
					font-size: 32px;
					color: var(--yellow);
				}

				& i:first-child {
					opacity: 1;
				}

				& i:nth-child(2) {
					opacity: 0;
				}
			}
		}

		& .mobile-nav-content {
			transition: all 150ms ease-in-out;
			opacity: 0;
			pointer-events: none;
			position: absolute;
			top: 100%;
			transform: scale(0.75) translateY(-25%);
			width: 100%;
			max-height: 88vh;
			overflow-y: auto;
			box-shadow: 0 2px 4px rgb(0 0 0 / 40%);
			border-bottom: 1px solid var(--light-grey);
			border-radius: 25%;
			display: flex;
			flex-direction: column;
			padding: 4px 12px;
			background: #fff;

			&.active {
				opacity: 1;
				pointer-events: auto;
				transform: scale(1) translateY(0);
				border-radius: 0 0 2px 2px;
			}

			& .nav-link {
				display: flex;
				gap: 10px;
				padding: 10px 8px;
				text-decoration: none;
				color: #111;

				> a {
					color: #111;
				}

				> .fa-angle-down {
					transition: transform 400ms;
					font-size: 20px;
					color: var(--yellow);

					&.active {
						transform: rotate(180deg);
					}
				}
			}

			& .nav-vessel {
				> .nav-options {
					transition: max-height 400ms ease-in-out;
					overflow: hidden;
					max-height: 0;
					display: flex;
					flex-direction: column;

					&.active {
						max-height: 500px;
					}

					> .nav-link {
						padding: 8px 8px 8px 28px;
						font-weight: var(--font-weight-bold);
						color: var(--dark-grey);
					}
				}
			}
		}
	}

	> .breadcrumbs {
		transition: transform 200ms;
		position: sticky;
		top: 0;
		z-index: 4;
		padding-block: 1vh;
		background: #111;
		font-size: 1.75vh;
		color: #cacaca;

		> div {
			width: var(--nav-width);
			margin-inline: auto;

			& span {
				font-weight: var(--font-weight-bolder);
				color: #f1f1f1;
			}

			& a {
				transition: all 100ms;
				text-decoration: none;
				color: inherit;

				&:hover {
					color: #fff;
				}
			}
		}
	}
}

@media (orientation: portrait) {
	#top-nav {
		&:has(.mobile-navigation) > .desktop-navigation {
			display: none;
		}

		> .mobile-navigation {
			display: flex;
		}

		> .breadcrumbs {
			padding: 1vh 2.5vh;
			font-size: 1.6vh;

			> div {
				width: 100%;
			}
		}
	}
}

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

#showcase {
	width: var(--section-width-85);
	margin-inline: auto;
	position: relative;
	height: auto;

	& .pods {
		display: flex;
		flex-wrap: wrap;
		justify-content: right;
		gap: 4vh;

		> a {
			transform: translateY(-30%);
			text-decoration: none;

			& .pod:hover div div {
				animation: showcase 1s infinite;
			}

			& .pod {
				overflow: hidden;
				width: 38vh;
				border-radius: 4px;
				box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
				background: #fff;
				text-align: center;

				> img {
					width: 100%;
					max-height: 65%;
				}

				> div {
					margin: 4vh 1.5vh;
					display: flex;
					flex-direction: row;
					justify-content: space-between;

					> h3 {
						text-align: left;
						font-weight: var(--font-weight-bold);
						font-size: 3vh;
						color: var(--blue);
					}

					> div {
						width: 18%;
						border: 4px solid transparent;
						border-radius: 2px;
						padding: 0.5vh 1.5vh;
						background: var(--yellow);
						font-size: 1.8vh;
						color: #282828;
					}
				}
			}
		}
	}
}

@keyframes showcase {
	0%,
	20%,
	80%,
	100% {
		padding-left: 1.5vh;
	}

	30%,
	70% {
		padding-left: 2vh;
	}
}

#why-choose {
	width: var(--section-width-75);
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	align-items: center;
	text-align: center;

	> h2 {
		margin-bottom: 48px;
		font-weight: var(--font-weight-bold);
		font-size: var(--font-size-h2);
		color: var(--dark-grey);
	}

	& .grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
		gap: 40px;
		padding-inline: 8px;

		& .item {
			border-bottom: 2px solid var(--blue);
			text-align: left;

			> img {
				width: auto;
				height: 5vh;
			}

			> h3 {
				margin-top: 1.5vh;
				font-size: 2.2vh;
				color: var(--blue);
			}

			> p {
				margin: 1.5vh 0;
				font-size: 1.8vh;
				font-weight: var(--font-weight-thin);
				color: var(--dark-grey);
			}
		}
	}
}

#backed-by-years {
	width: var(--section-width-75);
	margin-inline: auto;
	display: flex;
	flex-direction: column;

	> h2 {
		margin-bottom: 4vh;
		font-weight: var(--font-weight-bold);
		font-size: var(--font-size-h2);
		color: var(--dark-grey);
	}

	& .vessel {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: 2vh;

		& .timeline {
			flex: 1;
			min-width: 15vh;
			height: 30vh;
			overflow-x: scroll;
			display: flex;
			flex-direction: row;
			align-items: center;
			border-radius: 5px;
			box-shadow: 0 0 2px rgb(0 0 0 / 20%);
			scrollbar-width: thin;
			scrollbar-color: #00b9d8 #fff0;
			user-select: none;
			mask: linear-gradient(90deg, transparent, #eee 5%, #eee 95%, transparent);

			&::-webkit-scrollbar {
				width: 1vh;
				height: 0.5vh;
			}

			&::-webkit-scrollbar-thumb {
				background-color: #00b9d8;
				border-radius: 0.5vh;
			}

			&::-webkit-scrollbar-track {
				border-radius: 5px;
			}

			&::-webkit-scrollbar-corner {
				background-color: #f6f6f6;
			}

			&.dragging {
				cursor: grabbing;
				user-select: none;
			}

			& .event {
				max-width: 21vh;
				min-width: 21vh;
				height: 92%;
				margin: 1vh 1.5vh 0;
				padding: 2vh;
				background-color: var(--light-grey);
				border-radius: 1vh;
				text-align: center;
				color: var(--dark-grey);

				& .year {
					margin-top: 5vh;
					font-size: 3vh;
				}

				& .info {
					margin-top: 3vh;

					> p {
						font-weight: var(--font-weight-thin);
						font-size: 2vh;
					}
				}
			}
		}

		& .event-highlighted {
			width: 30vh;
			height: 30vh;
			padding: 4vh 1.8vh 0;
			box-shadow: 0 0.3vh 0.5vh rgb(0 0 0 / 50%);
			background: linear-gradient(135deg, #ffd807 0%, #f5cd00 60%, #fac607 100%);
			background-size: 200% 200%;
			border-radius: 1vh;
			cursor: pointer;

			& .year {
				margin-bottom: 1vh;
				text-align: center;
				font-size: 4vh;
				color: #19a;
			}

			& .info {
				text-align: center;
				color: var(--dark-grey);

				> h4 {
					margin-bottom: 2vh;
					font-weight: var(--font-weight-thin);
					font-size: 2.35vh;
				}

				> p {
					font-size: 1.75vh;
				}
			}
		}
	}
}

.partner-count {
	overflow: hidden;
	width: var(--section-width-75);
	display: flex;
	justify-content: center;
	margin-inline: auto;
	padding-block: 4vh;
	box-shadow: 0 5px 15px -5px rgb(0 0 0);
	background: var(--view-background);
	border-radius: 6px;

	& .content {
		width: 90%;
		height: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		gap: 5vh;

		& img {
			height: 25vh;
		}

		& h2 {
			margin-bottom: 2vh;
			font-size: 3.5vh;
			font-weight: var(--font-weight-bold);
			color: var(--light-grey);

			& .partner-count-value {
				transition: all 0.2s;
				border-bottom: 2px solid transparent;
				font-variant-numeric: tabular-nums;
				color: var(--yellow);

				&.animate {
					animation: count-up 1s ease-out forwards;
				}

				&.final {
					animation: highlight 1s ease-out forwards;
				}
			}
		}

		& p {
			margin-bottom: 2.5vh;
			font-size: 2.2vh;
			font-weight: var(--font-weight-thin);
			color: var(--light-grey);
		}
	}
}

@keyframes count-up {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes highlight {
	0%,
	100% {
		border-color: transparent;
	}

	50% {
		border-color: var(--yellow);
	}
}

#landing {
	width: 100%;
	min-height: 86vh;
	display: flex;
	padding-block: 6vh;
	background: linear-gradient(100deg, rgb(17 17 17) 25%, rgb(17 170 170) 125%);
	color: var(--light-grey);

	> .wrapper {
		width: var(--section-width-85);
		margin-inline: auto;
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 20px;
		font-size: 20px;

		& h1 {
			font-weight: var(--font-weight-bold);
			font-size: 60px;
		}

		& a {
			text-decoration: none;
		}

		& .vessel {
			width: 100%;
			display: flex;
			flex-wrap: wrap;
			gap: 40px 80px;
			color: var(--light-grey);

			& .left {
				flex: 1;
				display: flex;
				flex-direction: column;
				gap: 40px;
				font-size: 24px;

				> .btn {
					width: fit-content;
				}
			}

			& .right {
				flex: 1;
				display: flex;
				flex-direction: column;
				gap: 20px;

				& h2 {
					width: 100%;
					font-weight: var(--font-weight-bold);
					font-size: 28px;
				}

				> .title-for-perks {
					border-left: 4px solid var(--yellow);
					padding-left: 1vh;
					font-size: 2.2vh;
				}

				> .reviews {
					width: 100%;
					height: 45vh;
					overflow-y: scroll;
					mask-image: linear-gradient(to bottom, transparent 0%, rgb(0 0 0) 3%, rgb(0 0 0) 97%, transparent 100%);
					display: flex;
					flex-direction: column;
					gap: 16px;
					padding-block: 8px;

					&::-webkit-scrollbar {
						width: 6px;
					}

					&::-webkit-scrollbar-track {
						background-color: rgb(255 255 255 / 20%);
					}

					&::-webkit-scrollbar-thumb {
						background-color: #fff;
					}

					> .cell {
						position: relative;
						width: 97%;
						border: 1px solid var(--light-grey);
						border-radius: 4px;
						display: flex;
						flex-direction: column;
						justify-content: space-between;
						gap: 2vh;
						padding: 2vh;
						background: rgb(39 68 80);

						> p {
							font-weight: var(--font-weight-thin);
							font-size: 1.8vh;
						}

						> h3 {
							font-size: 1.9vh;
						}
					}
				}

				> .checklist-grid {
					display: grid;
					grid-template-columns: repeat(2, 1fr);
					gap: 40px 60px;

					> .cell {
						border-bottom: 1px solid var(--light-grey);
						display: flex;
						align-items: center;
						gap: 20px;
						padding-bottom: 12px;

						> p {
							> a {
								text-decoration: none;
								font-size: 16px;
							}
						}
					}
				}

				> .btns {
					width: 100%;
					display: flex;
					flex-wrap: wrap;
					gap: 20px;

					> .btn {
						flex: 1;
					}
				}
			}

			& .fa-check {
				font-size: 28px;
				color: greenyellow;
			}

			& .btn {
				font-size: 18px;
			}

			& iframe {
				width: 100%;
				height: 50vh;
				border-radius: 8px;
			}

			& img {
				max-width: 100%;
				max-height: 55vh;
				border-radius: 4px;
			}
		}
	}
}

#multi-perks {
	width: 100%;
	color: var(--light-grey);

	&.dark {
		color: var(--dark-grey);
	}

	& .accordion {
		transition: background-color 0.1s;
		display: flex;
		align-items: center;
		margin-bottom: 2.5vh;
		padding: 1vh 1px;
		border-bottom: 1px solid #ccc;

		&:has(.icon):hover {
			background: rgb(35 35 35 / 20%);
			user-select: none;
			cursor: pointer;
		}

		&.active .icon {
			transform: rotate(135deg);
		}

		> h3 {
			flex-grow: 1;
			font-weight: var(--font-weight-thin);
			font-size: 2.2vh;
		}

		& .icon {
			transition: transform 0.2s;
			font-size: 3vh;
		}
	}

	& .content {
		transition: max-height 0.2s;
		max-height: 0;
		overflow: hidden;

		> p {
			padding: 0 0.75vh 4vh;
			line-height: 1.4;
			text-align: justify;
			font-size: 2vh;
		}
	}
}

#attributes {
	width: var(--section-width-75);
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: var(--dark-grey);

	& h2 {
		margin-bottom: 8px;
		text-align: center;
		font-weight: var(--font-weight-bold);
		font-size: var(--font-size-h2);
	}

	& p {
		margin-bottom: 48px;
		text-align: center;
		font-size: 1.8vh;
	}

	& .grid {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
		gap: 3rem;
		padding-inline: 8px;

		& h3 {
			margin-bottom: 16px;
			font-size: 18px;
		}

		& span {
			height: 2px;
			display: block;
			background: var(--light-grey);
		}
	}
}

.yg-tabs {
	width: var(--section-width-75);
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: var(--dark-grey);

	> h2 {
		margin-bottom: 3vh;
		text-align: center;
		font-weight: var(--font-weight-bold);
		font-size: var(--font-size-h2);
	}

	> p {
		max-width: 85vh;
		margin-bottom: 4vh;
		text-align: center;
		font-weight: var(--font-weight-thin);
		font-size: 2vh;
	}

	& .yg-benefits-selectors {
		width: 100%;
		margin-bottom: 8px;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px 28px;

		> div {
			transition: all 100ms;
			border-bottom: 2px solid transparent;
			padding: 4px 8px;
			text-align: center;
			font-size: 20px;
			color: #27394e;
			cursor: pointer;
			user-select: none;

			&:hover {
				border-color: var(--light-grey);
			}

			&.active {
				border-color: var(--blue);
				font-weight: var(--font-weight-bold);
				color: #111;
			}
		}
	}

	& .vessel {
		position: relative;
		width: 100%;
		margin: 1vh auto 0;
		border: 1px solid var(--light-grey);
		border-radius: 4px;
		box-shadow:
			0 1px 2px rgb(0 0 0 / 20%),
			0 2px 4px rgb(0 0 0 / 20%);
		padding-block: 3vh;
		background: #fff;

		& .yg-benefits-content {
			width: 93%;
			margin-inline: auto;
			display: none;
			flex-wrap: wrap;
			gap: 2vh 4vh;

			&.active {
				display: flex;
				flex-direction: row;
			}

			& .text-section {
				flex: 1.1;
				display: flex;
				flex-direction: column;
				justify-content: space-between;

				& h3 {
					margin-bottom: 1vh;
					font-weight: var(--font-weight-bold);
					font-size: 2.25vh;
					color: var(--blue);
				}

				& h4 {
					margin-bottom: 3vh;
					font-weight: var(--font-weight-bold);
					font-size: 4vh;
				}

				& p {
					margin-bottom: 4vh;
					font-size: 2vh;
				}

				& .btn {
					width: fit-content;
				}
			}

			& .image-section {
				flex: 1;
				min-width: 320px;

				& img {
					width: 100%;
				}
			}
		}
	}
}

.statement {
	width: var(--section-width-75);
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 80px;
	color: var(--dark-grey);

	> div {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 40px;

		& iframe {
			width: 100%;
			min-width: 18vh;
			height: 36vh;
		}

		& img {
			width: 100%;
			min-width: 40vh;
			border: 1px solid var(--light-grey);
			border-radius: 5px;

			&.no-border {
				border-color: transparent;
			}
		}

		& h2 {
			font-weight: var(--font-weight-bold);
			font-size: 44px;
			color: var(--blue);
		}

		& p {
			font-weight: var(--font-weight-thin);
			font-size: 22px;
		}

		> ul {
			display: flex;
			flex-direction: column;
			gap: 12px;

			> li {
				display: flex;
				gap: 12px;
				font-weight: 400;
				font-size: 20px;

				> .fa-exclamation {
					margin-right: 2vh;
					font-size: 24px;
					color: red;
				}
			}
		}

		& .btn {
			width: fit-content;
		}
	}
}

.btn {
	transition:
		border-color 150ms,
		color 150ms;
	display: inline-block;
	min-width: 20vh;
	padding: 1vh 3.5vh;
	background-color: var(--yellow);
	border: 1px solid transparent;
	border-radius: 3px;
	text-align: center;
	text-decoration: none;
	font-weight: var(--font-weight-bold);
	font-size: 1.65vh;
	color: var(--dark-grey);
	user-select: none;
	cursor: pointer;

	&:hover {
		border-color: rgb(0 0 0 / 10%);
		color: #484848;
	}

	&:disabled {
		background: var(--portal-grey) !important;
		color: #999 !important;
		cursor: not-allowed;
	}

	&.small {
		display: block;
		min-width: unset;
		padding: 0.5vh 1vh;
		font-size: 1.5vh;
	}

	&.blue {
		animation: fade-out 150ms forwards;
		background: linear-gradient(to right, #111 0%, var(--blue) 100%);
		background-size: 200% 100%;
		border-color: var(--light-grey);
		color: #f8f8f8;

		&:hover {
			animation: fade-in 0.15s forwards;
			border-color: var(--light-grey);
			color: #fff;
		}
	}

	&.ucBlue {
		background: var(--uc-blue);
		color: white;
	}

	&.white {
		transition: background 100ms;
		border-color: var(--dark-grey);
		background: #fdfdfd;
		color: var(--dark-grey);

		&:hover {
			background: rgb(210 210 210);
		}
	}
}

@keyframes fade-in {
	0% {
		background-position-x: 1%;
	}

	100% {
		background-position-x: 50%;
	}
}

@keyframes fade-out {
	0% {
		background-position-x: 50%;
	}

	100% {
		background-position-x: 1%;
	}
}

.tiny-btn {
	position: relative;
	width: 52px;
	height: 32px;
	border: 4px solid transparent;
	border-radius: 2px;
	padding: 12px;
	background: var(--uc-blue);
	font-size: 20px;
	color: #fff;

	& i {
		transition: transform 200ms;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	&:hover i {
		&.fa-angle-left {
			transform: translate(-70%, -50%);
		}

		&.fa-angle-right {
			transform: translate(-30%, -50%);
		}
	}
}

.link {
	position: relative;
	padding-bottom: 2px;
	text-decoration: underline;
	color: var(--yellow);

	&::before {
		transition: all 0.2s;
		content: '';
		position: absolute;
		bottom: 1px;
		left: 0;
		width: 0;
		height: 2px;
		background: linear-gradient(to right, var(--blue) 60%, var(--yellow) 85%);
	}

	&:hover::before {
		width: 100%;
	}

	&:hover {
		text-decoration: none;
	}

	&.grey {
		color: #303030;
	}

	&.blue {
		color: var(--blue);
	}
}

.dropdown {
	--cell-padding: 1vh 1.5vh;

	position: relative;
	width: fit-content;

	&:hover .dd-label {
		opacity: 0.5;
		cursor: default;
	}

	&:hover .dd-options {
		opacity: 1;
		pointer-events: auto;
	}

	> .dd-label {
		transition: opacity 0.1s;
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		border: 1px solid #ddd;
		border-radius: 3px;
		padding: var(--cell-padding);
		background-color: #f9f9f9;
		user-select: none;
		cursor: pointer;
	}

	> .dd-options {
		transition: opacity 0.1s;
		opacity: 0;
		position: absolute;
		z-index: 1;
		top: 100%;
		min-width: 100%;
		border: 1px solid var(--light-grey);
		border-radius: 3px;
		background-color: #f9f9f9;
		box-shadow: 0 2px 4px 0 rgb(0 0 0 / 10%);
		pointer-events: none;

		> .dd-option {
			display: flex;
			align-items: center;
			border-bottom: 1px solid #ddd;
			padding: var(--cell-padding);
			text-decoration: none;
			color: #111;
			cursor: pointer;

			&:hover {
				background-color: #e4e4e4;
			}

			> i {
				min-width: 25px;
			}
		}
	}
}

.scroller {
	max-width: 100%;

	&[data-direction='left'] {
		--_animation-direction: forwards;
	}

	&[data-direction='right'] {
		--_animation-direction: reverse;
	}

	&[data-speed='slow'] {
		--_animation-duration: 40s;
	}

	&[data-speed='fast'] {
		--_animation-duration: 20s;
	}

	&[data-animated='true'] {
		overflow: hidden;
		mask: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);

		> .scroller__inner {
			overflow-x: unset;
			width: max-content;
			flex-wrap: nowrap;
			animation: scroller var(--_animation-duration, 40s) var(--_animation-direction, forwards) linear infinite;

			&:hover {
				animation-play-state: paused;
			}
		}
	}

	> .scroller__inner {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 4rem;

		> img,
		> li {
			border-radius: 6px;
			display: flex;
			align-items: center;
			gap: 1rem;
		}

		> img {
			height: 68px;
		}

		> li {
			height: fit-content;
			border: 2px solid #f1f1f1;
			font-size: 1.5rem;
			color: var(--dark-grey);
		}
	}
}

@keyframes scroller {
	to {
		transform: translate(calc(-50% - 1rem));
	}
}

#more-info-content {
	position: fixed;
	z-index: 1000;
	opacity: 1;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 100%);
	max-width: 640px;
	border: 2px solid var(--dark-grey);
	border-bottom: 0;
	border-radius: 4px 4px 0 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 28px 40px;
	background: #fafafa;
	font-size: 14px;
	color: var(--dark-grey);

	&.open {
		animation: open-info 0.3s ease-in-out forwards;
	}

	&.close {
		animation: close-info 0.3s ease-in-out forwards;
	}

	& h2 {
		border-bottom: 1px solid var(--dark-grey);
		padding-bottom: 2vh;
		font-size: 2.6vh;
	}

	& table {
		border-collapse: collapse;

		& tr:first-child {
			& td:first-child {
				background: transparent;
			}
		}

		& .head {
			font-weight: var(--font-weight-bold);
		}

		& td {
			border: 1px solid var(--dark-grey);
			padding: 8px;
			text-align: center;
		}
	}
}

@keyframes open-info {
	from {
		transform: translate(-50%, 100%);
	}

	to {
		transform: translate(-50%, 0);
	}
}

@keyframes close-info {
	from {
		transform: translate(-50%, 0);
	}

	to {
		transform: translate(-50%, 100%);
	}
}

.tick-underline {
	position: relative;

	&::after {
		transition: 0.15s opacity;
		opacity: 0;
		content: '';
		position: absolute;
		bottom: -1.5vh;
		left: 0;
		width: 100%;
		height: 2vh;
		background-image: url('/images/common/frame.svg');
		background-size: 100% 100%;
	}

	&:hover {
		&::after {
			animation: tick-move 0.15s;
			opacity: 1;
		}
	}
}

@keyframes tick-move {
	0% {
		width: 0;
	}

	100% {
		width: 100%;
	}
}

.overlap-section {
	width: var(--section-width-85);
	height: 55vh;
	margin-inline: auto;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;

	> div:first-child {
		transform: translateX(15%);
	}

	> div:last-child {
		transform: translateX(-15%);
	}

	& .image-part {
		height: 100%;

		> img {
			height: 100%;
			border-radius: 10px;
		}
	}

	& .content-part {
		max-width: 80vh;
		min-width: 50vh;
		position: relative;
		z-index: 1;
		border-radius: 10px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 24px;
		padding: 40px 48px;
		background: #2f868cf1;
		font-weight: var(--font-weight-thin);
		font-size: 20px;

		&.black-bg {
			background: #0c0f0f;
		}

		> h2 {
			font-weight: var(--font-weight-bold);
			font-size: 3.6vh;
		}

		> p {
			line-height: 1.3;
		}

		> ul {
			list-style: none;
			display: flex;
			flex-direction: column;
			gap: 12px;

			li {
				display: flex;
				gap: 12px;
			}
		}

		> .btn {
			width: fit-content;
		}
	}
}

.cost-calc {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 40px;
	color: var(--dark-grey);

	> h2 {
		text-align: center;
		font-weight: var(--font-weight-bold);
		font-size: 4vh;
	}

	> p {
		text-align: center;
		font-weight: var(--font-weight-thin);
	}

	> .slider {
		width: 62%;

		& .sim-calls {
			position: relative;

			& label {
				position: absolute;
				top: -1.5vh;
				left: -10vh;
				font-size: 2.2vh;
			}

			& input {
				width: 100%;
				height: 6px;
				border-radius: 10px;
				background: var(--dark-grey);
				appearance: none;
				outline: none;

				&::-webkit-slider-thumb {
					appearance: none;
					width: 35px;
					height: 35px;
					border: 1px solid var(--dark-grey);
					border-radius: 50%;
					background: var(--yellow);
					cursor: pointer;
				}

				&::-moz-range-thumb {
					width: 35px;
					height: 35px;
					border: 1px solid var(--dark-grey);
					border-radius: 50%;
					background: var(--yellow);
					cursor: pointer;
				}
			}
		}

		& .levels {
			display: flex;
			justify-content: space-between;
			margin-top: 2vh;

			& p {
				width: 1.5em;
				text-align: center;
				font-size: 2.2vh;
			}
		}
	}

	> .info {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 2vh 10vh;
		color: var(--light-grey);

		& .box {
			width: 22vh;
			padding: 3vh 2vh;
			border-radius: 0.6vh;
			box-shadow: 2px 2px 5px rgb(0 0 0 / 10%);
			background: var(--view-background);
			text-align: center;

			& h3 {
				margin-bottom: 2vh;
				font-size: 2.5vh;
				color: var(--yellow);
			}

			& p {
				font-size: 2.5vh;
			}
		}
	}

	> .info-mobile {
		width: 98%;

		& table {
			width: 100%;
			border-collapse: collapse;

			& th,
			& td {
				padding: 1vh 0;
				border: 1px solid var(--dark-grey);
				text-align: center;
				font-size: 1.7vh;
			}

			& th {
				background-color: var(--yellow);
				color: var(--dark-grey);
			}

			& td {
				background-color: var(--view-background);
				color: var(--dark-grey);
			}
		}
	}
}

.basic-cells {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: var(--dark-grey);

	> h2 {
		margin-bottom: 40px;
		font-weight: var(--font-weight-bold);
		font-size: var(--font-size-h2);
		color: var(--blue);
	}

	> .grid {
		max-width: 1000px;
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		gap: 40px;

		> .cell {
			width: 300px;
			border-radius: 4px;
			display: flex;
			align-items: center;
			justify-content: center;
			padding: 48px 24px;
			background: #eee;

			> p {
				text-align: center;
				font-size: 24px;
			}
		}
	}
}

.yg-point {
	width: 36px;
	min-width: 36px;
	height: 26px;
	min-height: 26px;
	border: 1px solid var(--dark-grey);
	border-radius: 2px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--yellow);
	font-size: 16px;
	color: var(--dark-grey);
}

#crm-brands {
	width: var(--section-width-85);
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: 28px;

	> h2 {
		text-align: center;
		font-weight: var(--font-weight-bold);
		font-size: var(--font-size-h2);
		color: var(--dark-grey);
	}
}

/* --------- */
/*   Pages   */
/* --------- */

#home {
	margin-block: var(--page-row-gap);
	display: flex;
	flex-direction: column;
	gap: var(--page-row-gap);

	> #our-services {
		position: relative;

		> h2 {
			margin-bottom: 8vh;
			text-align: center;
			font-weight: var(--font-weight-bold);
			font-size: var(--font-size-h2);
			color: var(--dark-grey);
		}

		& .vessel {
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			gap: 5vh;

			> a {
				position: relative;
				text-decoration: none;
				color: inherit;

				&:hover .capsule-hidden {
					opacity: 1;
				}

				& .capsule,
				& .capsule-hidden {
					position: relative;
					width: 37vh;
					height: 45vh;
					text-align: center;
					background-color: #fff;
					border: 0.1vh solid #ccc;
					border-radius: 0.6vh;
					box-shadow: 0 0.2vh 0.4vh rgb(0 0 0 / 10%);
				}

				& .capsule {
					> img {
						width: 100%;
						height: 101%;
						border-radius: 0.5vh;
					}

					> h3 {
						position: absolute;
						top: 32vh;
						left: 1.5vh;
						z-index: 1;
						text-align: left;
						font-weight: var(--font-weight-bold);
						font-size: 3.5vh;
						color: var(--blue);
					}

					> p {
						position: absolute;
						top: 35.75vh;
						left: 1.5vh;
						z-index: 1;
						padding-bottom: 1.5vh;
						text-align: left;
						font-size: 2.4vh;
					}

					> div {
						position: absolute;
						z-index: 2;
						bottom: 1.25vh;
						right: 1.25vh;
						padding: 1vh 2vh;
						background-color: var(--yellow);
						border: none;
						border-radius: 0.2vh;
						font-size: 1.8vh;
						color: var(--dark-grey);
					}
				}

				& .capsule-hidden {
					transition: all 0.2s ease;
					opacity: 0;
					position: absolute;
					top: 0;
					left: 0;
					z-index: 1;
					padding: 2vh;
					background-color: var(--blue);
					text-align: left;
					font-size: 2vh;
					color: #fff;

					> h3 {
						font-size: 3.5vh;
					}

					> h4 {
						font-size: 2.4vh;
					}

					> p {
						margin-top: 1.5vh;
						font-size: 1.8vh;
					}
				}
			}
		}
	}

	> #our-brands {
		width: var(--section-width-85);
		margin-inline: auto;

		> h2 {
			margin-bottom: 2vh;
			text-align: center;
			font-weight: var(--font-weight-bold);
			font-size: var(--font-size-h2);
			color: var(--dark-grey);
		}
	}

	> #our-mission {
		padding: 10vh 0;
		background-image: url('/images/stock/support-2.webp');
		background-size: cover;
		background-position: center;
		text-align: center;
		color: #fff;

		& .container {
			width: 45%;
			margin-inline: auto;

			> h2 {
				margin-bottom: 5vh;
				font-weight: var(--font-weight-bold);
				font-size: var(--font-size-h2);
			}

			> p {
				font-weight: var(--font-weight-thin);
				font-size: 2.2vh;
				line-height: 1.5;
			}
		}
	}
}

#fanvil {
	margin-bottom: var(--page-row-gap);
	display: flex;
	flex-direction: column;
	gap: var(--page-row-gap);

	& #benefits-of-fanvil {
		width: var(--section-width-75);
		margin-inline: auto;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;

		& .left {
			width: 50%;

			> h2 {
				margin-bottom: 4vh;
				font-size: 4vh;
				color: #525252;
			}

			> p {
				line-height: 1.4;
				font-size: 2vh;
				color: #292929;
			}
		}

		& .right {
			width: 50%;
		}
	}
}

#tcx {
	margin-bottom: var(--page-row-gap);
	display: flex;
	flex-direction: column;
	gap: var(--page-row-gap);
}

#tcx-hosting {
	margin-block: var(--page-row-gap);
	display: flex;
	flex-direction: column;
	gap: var(--page-row-gap);

	& #backup-monitoring {
		padding: 60px 0;
		background: #0a0a0a;
		color: var(--light-grey);

		> div {
			width: var(--section-width-75);
			margin-inline: auto;
			padding-inline: 8px;

			> h2 {
				margin-bottom: 32px;
				font-weight: var(--font-weight-bold);
				font-size: 4vh;
			}

			> .grid {
				display: grid;
				grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
				gap: 40px;

				> .cell {
					border: 1px solid #333;
					border-radius: 4px;
					box-shadow: 5px 5px 10px rgb(0 0 0 / 50%);
					display: flex;
					flex-direction: column;
					gap: 8px;
					padding: 12px;

					> h3 {
						font-size: 2.5vh;
					}

					> span {
						height: 2px;
						display: block;
						background: var(--light-grey);
					}

					> p {
						font-weight: var(--font-weight-thin);
						font-size: 1.8vh;
					}

					> ul {
						padding-left: 20px;
					}
				}
			}

			> p {
				margin-top: 32px;
				font-weight: var(--font-weight-thin);
				font-size: 14px;
			}
		}
	}
}

#tcx-wizard {
	margin-block: var(--page-row-gap);
	display: flex;
	flex-direction: column;
	gap: var(--page-row-gap);
}

#tcx-videos {
	margin-block: var(--page-row-gap);
	display: flex;
	flex-direction: column;
	gap: var(--page-row-gap);

	& #video-samples {
		display: flex;
		flex-direction: column;
		align-items: center;
		color: var(--dark-grey);

		& h2 {
			margin-bottom: 8px;
			text-align: center;
			font-weight: var(--font-weight-bold);
			font-size: var(--font-size-h2);
		}

		& h3 {
			margin-bottom: 28px;
			text-align: center;
			font-weight: var(--font-weight-thin);
			font-size: 2.2vh;
		}

		& .videos-grid {
			width: var(--section-width-75);
			display: none;
			grid-template-columns: repeat(3, 30%);
			justify-content: center;
			align-items: center;
			gap: 40px;

			&.active {
				display: grid;
			}

			> div {
				height: 220px;
				display: flex;
				flex-direction: column;
				align-items: center;
				text-align: center;

				> div {
					flex: 1;
					overflow: hidden;
					border: 1px solid var(--light-grey);
					border-radius: 4px;
					box-shadow: 2px 2px 4px rgb(0 0 0 / 20%);

					> img {
						height: 100%;
					}

					> button {
						width: 20%;
						height: 20%;
						top: 40%;
						left: 42%;
					}
				}

				> p {
					display: none;
					padding: 12px 8px;
					font-weight: var(--font-weight-bold);
					font-size: 20px;
				}
			}
		}

		& .selector {
			margin: 20px 0;
			display: flex;
			align-items: center;
			gap: 20px;
			font-size: 28px;
			user-select: none;

			> i {
				transition: color 100ms;
				cursor: pointer;

				&:hover {
					color: var(--blue);
				}
			}

			> input {
				width: 36px;
				height: 36px;
				border: 1px solid var(--light-grey);
				border-radius: 4px;
				text-align: center;
				font-size: 24px;
				color: var(--dark-grey);
			}
		}

		> a {
			width: 200px;
		}
	}

	& #worldwide {
		padding: 10vh 10%;
		background-color: #0a0a0a;
		color: var(--light-grey);

		& h2 {
			width: 60%;
			margin-bottom: 5vh;
			font-weight: var(--font-weight-bold);
			font-size: var(--font-size-h2);
		}

		& .vessel {
			width: 100%;
			display: flex;
			flex-wrap: wrap;
			justify-content: space-between;

			& .left {
				width: 62%;

				& h3 {
					margin-block: 2vh;
					font-size: 2.2vh;
				}

				& p {
					font-weight: var(--font-weight-thin);
					font-size: 1.8vh;
				}

				& .btn {
					margin-top: 5vh;
				}
			}

			& .right {
				width: 35%;
				display: flex;
				flex-direction: column;
				align-items: center;

				& img {
					width: 100%;
					border-radius: 2px;
				}
			}
		}
	}
}

#tcx-starter-bundle {
	margin-block: var(--page-row-gap);
	display: flex;
	flex-direction: column;
	gap: var(--page-row-gap);

	> #key-perks {
		width: var(--section-width-75);
		margin-inline: auto;

		> h2 {
			margin-bottom: 5vh;
			text-align: center;
			font-weight: var(--font-weight-bold);
			font-size: 3.6vh;
			color: var(--dark-grey);
		}

		> .vessel {
			display: flex;
			flex-wrap: wrap;
			justify-content: space-between;
			gap: 5vh 10vh;
			color: var(--blue);

			> div {
				flex: 1;
				display: flex;
				flex-direction: column;
				align-items: center;

				> i {
					width: fit-content;
					margin-bottom: 3vh;
					font-size: 5vh;
				}

				> p {
					text-align: center;
					font-size: 2.1vh;
				}
			}
		}
	}

	> #what-you-should-know {
		display: flex;
		justify-content: center;
		background: #01817f;
		font-weight: var(--font-weight-thin);
		color: #f3f3f3;

		> div {
			width: var(--section-width-55);
			display: flex;
			flex-direction: column;
			gap: 40px;
			padding: 80px 8px;

			> h2 {
				text-align: center;
				font-weight: var(--font-weight-bold);
				font-size: 3.6vh;
			}

			> .points {
				display: grid;
				grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
				gap: 40px 80px;

				> p {
					display: flex;
					align-items: center;
					gap: 16px;
					font-size: 2.2vh;
				}
			}

			> p {
				font-size: 16px;
			}
		}
	}
}

#sip-trunks {
	margin-block: var(--page-row-gap);
	display: flex;
	flex-direction: column;
	gap: var(--page-row-gap);

	> #benefits-to-your-business {
		width: var(--section-width-85);
		margin-inline: auto;
		color: var(--dark-grey);

		> h2 {
			margin-bottom: 5vh;
			text-align: center;
			font-weight: var(--font-weight-bold);
			font-size: 3.6vh;
		}

		> .vessel {
			display: flex;
			flex-wrap: wrap;
			gap: 2vh;

			> .cell {
				flex: 1;
				min-width: 40vh;
				border: 1px solid var(--light-grey);
				border-radius: 3px;
				display: flex;
				flex-direction: column;
				gap: 2vh;
				padding: 3vh;
				background: #fff;

				> h3 {
					font-weight: var(--font-weight-bold);
					font-size: 2.8vh;
					color: var(--blue);
				}

				> p {
					font-size: 2.1vh;
				}

				> .btn {
					margin-top: auto;
				}
			}
		}
	}

	> #how-does-it-work {
		color: var(--dark-grey);

		> h2 {
			margin-bottom: 6vh;
			text-align: center;
			font-weight: var(--font-weight-bold);
			font-size: 3.6vh;
		}

		> .vessel {
			width: var(--section-width-85);
			margin-inline: auto;
			display: flex;
			gap: 3vh;

			> .left {
				flex: 1.55;
				height: 65vh;
				position: relative;
				overflow-x: hidden;
				border-radius: 3px;
				display: flex;
				align-items: center;
				justify-content: center;

				&:hover {
					& .background-hover {
						opacity: 1;
					}
				}

				& img {
					opacity: 0;
					object-fit: contain;
					width: 100%;
					height: 100%;
					position: absolute;
					top: 0;
					left: 0;
					border: 2px solid var(--light-grey);

					&.active {
						opacity: 1;
						z-index: 5;
						animation: slide-image-in 0.4s forwards;
					}

					&.slide-image-out {
						animation: slide-image-out 0.4s forwards;
					}
				}

				& .background-hover {
					transition: 0.2s;
					opacity: 0;
					width: 15vh;
					height: 15vh;
					position: absolute;
					z-index: 10;
					border: 2px solid var(--light-grey);
					border-radius: 50%;
					display: flex;
					justify-content: center;
					align-items: center;
					background: rgb(0 0 0 / 75%);
					pointer-events: none;

					> i {
						position: absolute;
						top: 50%;
						left: 50%;
						transform: translate(-50%, -50%);
						font-size: 5vh;
						color: var(--light-grey);
					}
				}
			}

			> .right {
				flex: 0.45;

				> .steps {
					margin-bottom: 6vh;
					display: flex;
					flex-direction: column;
					gap: 5vh;

					> p {
						transition: background-color 0.1s;
						border-bottom: 2px solid var(--light-grey);
						display: flex;
						align-items: center;
						gap: 1.5vh;
						padding-block: 10px;
						font-size: 2.2vh;
						cursor: pointer;
						user-select: none;

						&.active {
							font-weight: var(--font-weight-bold);
							color: var(--blue);

							&:hover {
								background: inherit;
								cursor: default;
							}

							> i {
								transform: rotate(180deg);
								opacity: 1;
							}
						}

						&:hover {
							background: #f3f3f3;
						}

						> i {
							transition: transform 0.2s;
							opacity: 0.5;
						}
					}
				}
			}
		}
	}
}

@keyframes slide-image-in {
	from {
		transform: translateX(100%);
	}

	to {
		transform: translateX(0);
	}
}

@keyframes slide-image-out {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-100%);
	}
}

#tcx-crm-integrations {
	margin-block: 10vh var(--page-row-gap);
	display: flex;
	flex-direction: column;
	gap: var(--page-row-gap);

	> #supported-features {
		padding-block: 10vh;
		background: #006b6a;
		color: #f3f3f3;

		> .vessel {
			width: var(--section-width-75);
			margin-inline: auto;
			display: flex;
			flex-direction: column;
			gap: 6vh;

			> .table {
				overflow: hidden;
				border-radius: 3px;

				> .headers {
					display: flex;
					background: var(--view-background);

					> span {
						flex: 1;
						border-left: 1px solid var(--dark-grey);
						border-right: 1px solid var(--dark-grey);
						display: flex;
						justify-content: center;
						align-items: center;
						padding-block: 2vh;
						text-align: center;
						font-weight: var(--font-weight-bold);
						font-size: 2.6vh;
					}
				}

				> .grid {
					display: grid;
					grid-template-columns: repeat(1, 1fr);

					> .row {
						display: flex;

						> span {
							flex: 1;
							border: 1px solid var(--light-grey);
							padding-block: 2vh;
							background: var(--background-grey);
							text-align: center;
							font-size: 2.4vh;
							color: var(--dark-grey);

							> i {
								font-size: 2.6vh;

								&.fa-check {
									color: var(--green);
								}

								&.fa-xmark {
									color: var(--red);
								}
							}
						}
					}
				}
			}

			> .disclaimer {
				font-weight: var(--font-weight-thin);
				font-size: 2.4vh;
			}
		}
	}
}

#edtechpro {
	margin-block: 10vh var(--page-row-gap);
	display: flex;
	flex-direction: column;
	gap: var(--page-row-gap);

	> #perks {
		width: var(--section-width-55);
		margin-inline: auto;

		> .grid {
			width: 100%;
			margin-inline: auto;
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
			gap: 36px 48px;

			> .perk {
				height: 260px;
				margin-inline: auto;
				border: 1px solid var(--light-grey);
				border-radius: 12px;
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
				gap: 20px;
				padding: 24px 36px;
				background: #fff;

				> .icon {
					border-radius: 12px;
					padding: 18px 16px;
					background: #e4e4e4;

					> i {
						font-size: 40px;
						color: #4f38e0;
					}
				}

				> p {
					font-size: 28px;
					text-align: center;
					color: var(--uc-blue);
				}
			}
		}
	}

	> #lite-vs-pro {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 40px;
		padding-block: 10vh;
		background: #01817f;
		font-size: 24px;
		color: rgb(243 243 243);

		> h2 {
			font-weight: var(--font-weight-bold);
			font-size: var(--font-size-h2);
			color: inherit;
		}

		> p {
			max-width: 100vh;
		}

		> a {
			font-weight: 600;
			text-align: center;
		}
	}
}

#jedware {
	margin-block: 10vh var(--page-row-gap);
	display: flex;
	flex-direction: column;
	gap: var(--page-row-gap);

	> #jed-cells {
		width: var(--section-width-85);
		margin-inline: auto;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px;

		> div {
			max-width: 32vh;
			border: 1px solid var(--light-grey);
			border-radius: 16px;
			display: flex;
			flex-direction: column;
			gap: 24px;
			padding: 60px 20px;
			text-align: center;

			> h3 {
				font-size: 30px;
				color: var(--uc-blue);
			}

			> p {
				font-weight: var(--font-weight-thin);
				font-size: 22px;
				color: var(--dark-grey);
			}
		}
	}

	> #jed-pricing {
		padding-block: 10vh;
		background: #01817f;
		font-size: 24px;
		color: rgb(243 243 243);

		> .vessel {
			width: var(--section-width-85);
			margin-inline: auto;
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			gap: 40px;

			> .left {
				flex: 1;
				display: flex;
				flex-direction: column;
				gap: 16px;

				> .grid {
					overflow: hidden;
					margin-inline: auto;
					display: grid;
					grid-template-columns: repeat(2, 1fr);
					background: linear-gradient(to right, #111 0%, var(--uc-blue) 125%);

					> p {
						border: 1px solid var(--light-grey);
						padding: 10px;
						background: #f1f1f1;
						text-align: center;
						color: var(--dark-grey);
					}

					> p:nth-child(1),
					> p:nth-child(2) {
						background: transparent;
						color: rgb(243 243 243);
					}
				}

				> p {
					text-align: center;
					font-size: 16px;
				}
			}

			> .right {
				flex: 1;
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
				gap: 32px;
				text-align: center;

				> p {
					font-weight: var(--font-weight-bold);
					font-size: 56px;
				}

				> span {
					font-weight: var(--font-weight-thin);
				}

				> .btn {
					width: fit-content;
				}
			}
		}
	}

	> #jed-advantages {
		width: var(--section-width-75);
		margin-inline: auto;
		display: flex;
		flex-direction: column;
		gap: 32px;

		> h2 {
			text-align: center;
			font-weight: var(--font-weight-bold);
			font-size: var(--font-size-h2);
			color: var(--dark-grey);
		}

		> .grid {
			width: 100%;
			padding-inline: 8px;
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
			gap: 28px 100px;

			> p {
				font-weight: var(--font-weight-thin);
				font-size: 20px;

				> i {
					margin-right: 8px;
					color: green;
				}
			}
		}
	}
}

#tcx-sip-dialler {
	margin-block: 10vh var(--page-row-gap);
	display: flex;
	flex-direction: column;
	gap: var(--page-row-gap);
}

#yealink {
	margin-bottom: var(--page-row-gap);
	display: flex;
	flex-direction: column;
	gap: var(--page-row-gap);
}

#product {
	--page-width: clamp(100vh, 65%, 150vh);

	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 6vh;
	margin-block: 6vh 10vh;

	& #information {
		width: var(--page-width);

		& .container {
			display: flex;
			flex-wrap: wrap;
			column-gap: 8vh;

			& .left-half {
				width: 46%;
				display: flex;
				flex-direction: column;
				justify-content: center;

				> .vessel {
					height: 50vh;
					margin-bottom: 2vh;
					padding: 2vh;
					background-color: #f8f8f8;
					border-radius: 3px;
					box-shadow: 0 2px 4px rgb(0 0 0 / 40%);

					> .product-image,
					iframe {
						width: 100%;
						height: 100%;
						object-fit: scale-down;
					}

					> iframe {
						display: none;
					}
				}

				& .small-images {
					height: 12vh;
					overflow-x: auto;
					display: flex;
					gap: 1vh;
					user-select: none;
					scrollbar-width: thin;

					&::-webkit-scrollbar {
						width: 0;
					}

					& i {
						font-size: 8.5vh;
						color: red;
					}

					& .small-image,
					i {
						transition: all 0.1s;
						height: 10vh;
						object-fit: cover;
						padding: 0.5vh;
						background-color: #f8f8f8;
						border: 2px solid var(--light-grey);
						border-radius: 3px;
						box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
						cursor: pointer;

						&:hover {
							box-shadow: 0 4px 4px 2px rgb(0 0 0 / 20%);
						}

						&.selected {
							box-shadow: 0 4px 4px 2px rgb(0 0 0 / 20%);
							border-color: var(--blue);
						}
					}
				}
			}

			& .right-half {
				width: 46%;
				display: flex;
				flex-direction: column;
				justify-content: center;
				row-gap: 4vh;
				color: var(--dark-grey);

				& .product-title {
					margin-bottom: 0.5vh;
					font-size: 40px;
					font-weight: var(--font-weight-bold);
				}

				& .product-category {
					font-size: 30px;
					font-weight: var(--font-weight-thin);
				}

				& ul {
					display: flex;
					flex-direction: column;
					padding: 0;

					& li {
						margin-left: 1.5vh;
						margin-bottom: 1vh;
					}
				}

				& .price {
					max-width: 45vh;
					display: flex;
					flex-direction: column;
					align-items: center;
					padding: 2vh;
					background-color: #efefef;

					& .btn {
						width: 100%;
						margin-bottom: 1vh;
					}

					& p {
						& a {
							color: var(--dark-grey) !important;
						}
					}
				}

				& .download-section {
					max-width: 45vh;

					& p {
						margin-bottom: 1vh;
						font-size: 20px;
						font-weight: var(--font-weight-bold);
					}

					& .dropdown {
						width: 100%;
					}
				}
			}
		}
	}

	& #description {
		width: var(--page-width);

		& .options {
			display: flex;
			gap: 5vh;
			margin-bottom: 2vh;
			user-select: none;
			color: var(--dark-grey);

			& .option {
				border-radius: 5px;
				font-size: 3vh;
				cursor: pointer;

				&.active {
					font-weight: var(--font-weight-bold);
				}

				&:hover {
					color: var(--blue);

					> i {
						transform: translateX(30%);
					}
				}

				> i {
					transition: transform 0.1s;
				}
			}
		}

		& .content {
			display: none;
			padding: 2vh 3vh;
			border: 2px solid #dcdcdc;
			border-radius: 5px;
			font-size: 1.8vh;
			color: var(--dark-grey);

			&.selected {
				display: block;
			}

			& ul {
				list-style-type: disc;
				display: flex;
				flex-direction: column;

				& li {
					list-style: none;
					position: relative;
					margin: 4px 0;
					padding-left: 15px;
				}

				& li::before {
					content: '\2022';
					position: absolute;
					left: 0;
					top: 50%;
					transform: translateY(-50%);
					color: var(--blue);
				}
			}

			& p {
				margin-bottom: 1vh;
			}
		}
	}
}

#login,
#password-reset {
	min-height: var(--full-height);
	display: flex;
	justify-content: center;
	align-items: center;
	background: url('/images/common/header/banner.webp') no-repeat center center/cover;

	& .vessel {
		width: 560px;
		margin-inline: 4px;
		border: 1px solid #18505a;
		border-radius: 6px;
		display: flex;
		flex-direction: column;
		gap: 24px;
		padding: 60px;
		background: #05282e;
		font-size: 1.6vh;
		color: var(--light-grey);

		> .info {
			display: flex;
			flex-direction: column;
			gap: 4px;

			> h1 {
				text-align: center;
				font-weight: var(--font-weight-bold);
				font-size: 5vh;
			}
		}

		& .success {
			text-align: center;
			color: var(--success);
		}

		& .error {
			text-align: center;
			color: var(--error);
		}

		& form {
			display: flex;
			flex-direction: column;
			gap: 12px;

			& ul {
				width: 100%;
				margin-bottom: 5vh;

				& li {
					margin-block: 0.5vh;
					text-align: left;
				}
			}

			> .btn {
				width: 100%;
				margin-top: 8px;
			}
		}

		> .links {
			display: flex;
			flex-direction: column;
			gap: 4px;

			> p {
				text-align: center;
			}
		}
	}

	& .btn[type='submit'].invalid {
		background: var(--light-grey);
	}
}

#error-page {
	min-height: 86vh;
	display: flex;
	justify-content: center;
	background: url('/images/common/header/banner.webp') no-repeat center center/cover;

	& .vessel {
		margin-top: 25vh;

		> h1 {
			margin-bottom: 4vh;
			text-shadow: 2px 2px 4px rgb(0 0 0 / 50%);
			font-size: 5.5vh;
			color: var(--yellow);
		}

		& .points {
			display: grid;
			grid-template-columns: 3% 97%;
			justify-content: center;
			align-items: center;
			gap: 2vh;

			> i {
				width: 100%;
				transform: translateY(14%);
				font-size: 1.6vh;
				color: var(--yellow);
			}

			> p {
				width: 100%;
			}
		}

		& p {
			font-size: 2vh;
			color: var(--light-grey);
		}
	}
}

#contact,
.reseller,
#align-to-yellowgrid,
#direct-debit,
#returns {
	min-height: var(--full-height);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 3.5%;
	padding-block: 16px;
	background: url('/images/common/header/banner.webp') no-repeat center center/cover;

	& .vessel {
		width: clamp(65vh, 40%, 90vh);
		border-radius: 4px;
		color: var(--light-grey);

		&.left {
			transition: transform 750ms;
			text-align: left;

			& h1 {
				margin-bottom: 4vh;
				font-weight: var(--font-weight-bold);
				font-size: 6.5vh;
			}

			& p {
				font: var(--large-text-font);
				margin-bottom: 4vh;
			}

			& .grid {
				display: grid;
				grid-template-columns: 8% 92%;
				align-items: baseline;
				gap: 1vh;

				> i {
					width: 100%;
					transform: translateY(14%);
					font-size: 3.2vh;
					color: var(--yellow);
				}

				> p {
					width: 100%;
					margin-bottom: 2vh;
					font-size: 2.2vh;

					> span[onclick] {
						cursor: pointer;
					}
				}
			}
		}

		&.right {
			border: 1px solid #18505a;
			padding: 4vh 5vh;
			background: #05282e;
			color: var(--light-grey);

			& .progress {
				position: relative;
				display: flex;
				justify-content: left;
				align-items: center;

				& .light {
					display: inline-block;
					width: 10%;
					height: 1px;
					margin: 1vh 3vh 3vh 0;
					background-color: var(--dark-grey);

					&.on {
						background-color: var(--yellow);
					}
				}

				& i {
					transition: all 0.1s;
					position: absolute;
					right: 0;
					font-size: 2.5vh;
					color: var(--yellow);
					cursor: pointer;

					&:hover {
						opacity: 0.5;
					}
				}
			}

			& h2 {
				width: 100%;
				margin-bottom: 1vh;
				font-weight: var(--font-weight-bold);
				font-size: 3vh;

				& p {
					position: relative;
					display: flex;
					flex-direction: row;
					justify-content: start;

					& img {
						height: 3vh;
						margin: auto 0;
						padding: 0 0.5vw;
					}

					& a {
						margin: 0 0.5vw;
						color: var(--yellowgrid);
					}
				}
			}

			& form {
				display: flex;
				flex-wrap: wrap;
				justify-content: space-between;
				align-items: center;

				& fieldset {
					all: unset;
					min-width: 100%;
					max-width: 100%;
					display: flex;
					flex-wrap: wrap;
					justify-content: space-between;
					align-items: center;
					gap: 2vh;

					& .text-input,
					& .select-input {
						width: 48%;
					}

					& .full-width {
						width: 100%;
					}

					/* Contact Form */
					& .radios {
						display: flex;
						width: 100%;
						margin-bottom: 0.5vh;

						& .radio {
							display: flex;
							align-items: center;
							margin-right: 2.5vh;
							margin-bottom: 0.5vh;
							user-select: none;
							cursor: pointer;
							font-size: 1.8vh;

							& input {
								position: absolute;
								opacity: 0;
								cursor: pointer;
							}

							& .checkmark {
								height: 1.5vh;
								width: 1.5vh;
								background-color: var(--light-grey);
								border: 1px solid var(--light-grey);
								border-radius: 50%;
								display: flex;
								align-items: center;
								justify-content: center;
								margin-right: 1.75vh;
							}

							& input:checked + .checkmark {
								border-color: var(--dark-grey);
								background-color: var(--yellow);
							}

							& .dot {
								width: 0.5vh;
								height: 0.5vh;
								background-color: #333;
								border-radius: 50%;
								display: none;
							}

							& input:checked + .checkmark .dot {
								display: none;
							}

							& .label {
								white-space: nowrap;
								margin-right: 2vh;
							}
						}
					}

					/* Reseller Application */
					& .checkboxes {
						margin-top: 2vh;

						& .checkbox {
							width: 100%;
							margin-bottom: 2vh;
							padding: 0.4vh 0;
							border: 1px solid transparent;
							border-radius: 3px;
							position: relative;

							&.red-checkbox {
								border-color: red !important;
							}

							& input {
								accent-color: var(--yellow);
							}

							& label {
								user-select: none;
								margin-left: 0.4vh;
								font-size: 1.6vh;
							}
						}
					}

					& .select {
						width: 48%;
					}

					& .buttons {
						all: unset;
						display: flex;
						flex-wrap: wrap;
						justify-content: space-between;
						align-items: center;
						flex-basis: 100%;
					}

					& button {
						width: 48%;
						margin-top: 2.5vh;

						&.extended {
							width: 100%;
						}

						&.invisible {
							opacity: 0;
						}
					}

					/* Align To Yellowgrid */
					> p {
						margin: 2vh 0;
						text-wrap: balance;
						font-size: 1.7vh;
					}

					> .buttons a {
						width: 48%;
						margin-top: 2.5vh;
					}

					& .extended-input {
						width: 100%;

						& .text-input,
						& .select-input {
							width: 100%;

							> textarea {
								min-width: 100%;
								max-width: 100%;
								min-height: 10vh;
								max-height: 35vh;
							}
						}
					}
				}
			}
		}

		&.anim {
			animation: shorten 0.75s forwards;

			& .success {
				height: 100%;
				display: flex;
				flex-direction: column;
				justify-content: space-between;

				& p {
					width: 100%;
				}
			}
		}
	}
}

.reseller {
	& fieldset > div {
		width: 48%;
	}

	& .checkboxes {
		width: 100%;
		display: flex;
		flex-direction: column;
	}
}

@keyframes shorten {
	0% {
		height: 60vh;
	}

	100% {
		height: 27vh;
	}
}

#blogs,
#blog {
	& h2 a,
	& h3 a {
		text-align: center;
		font-weight: var(--font-weight-bold);
		color: #000;
	}

	> .page-title {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		background-image: url('/images/common/header/blog.webp');
		background-size: cover;
		background-position: center;
		padding-block: 10vh;

		> div {
			width: var(--section-width-85);
			display: flex;
			flex-direction: column;
			gap: 2vh;

			> h1 {
				font-weight: var(--font-weight-bold);
				font-size: 6vh;
				color: var(--light-grey);
			}

			> p {
				font-size: 2vh;
				color: var(--light-grey);
			}
		}
	}

	& .blog-listing {
		width: var(--section-width-85);
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 3.5vh;
		padding-block: 5vh;

		& .post_preview {
			overflow: hidden;
			display: flex;
			flex-direction: column;
			width: 54vh;
			height: 45vh;
			border: 2px solid #c4c4c4;
			border-radius: 5px;
			box-shadow:
				rgb(0 0 0 / 20%) 0 8px 12px,
				rgb(0 0 0 / 20%) 0 6px 8px;

			& .image {
				width: 100%;
				height: 67%;
				background-color: var(--background-grey);

				& iframe {
					opacity: 0.95;
					width: 100%;
					height: 100%;
				}

				& img {
					opacity: 0.95;
					height: 100%;
					width: 100%;
					object-fit: cover;
					object-position: top;
				}
			}

			& .title {
				height: 33%;
				display: flex;
				flex-direction: column;
				justify-content: center;

				& div {
					display: flex;
					flex-direction: column;
					justify-content: center;
					padding-inline: 5%;
					font: var(--tiny-text-font);
					color: #555;
				}

				& a {
					transition: all 0.2s ease-in-out;
					height: 100%;
					display: flex;
					flex-direction: column;
					padding-block: 3vh;
					background: #000;
					box-sizing: unset;
					text-decoration: none;

					&:hover {
						background-color: #2c2c10;
					}

					& div {
						height: 2vw;
						display: flex;
						flex-direction: column;
						justify-content: start;
						font-weight: var(--font-weight-bold);
						font-size: 2vh;
						color: #fff;
					}
				}
			}
		}
	}

	& .blog_no_posts {
		width: 100%;
		text-align: center;
		font-size: 1.5vw;
	}

	& .last_post_divider {
		min-width: 90%;
	}

	& .nav-links {
		margin-top: 1vh;
		font-size: 4vh;

		& .page-numbers {
			transition: all 0.1s;
			border-radius: 1vh;
			padding: 1.5vh 2vh;
			text-decoration: none;
			color: var(--dark-grey);

			&:hover:not(.dots, .current) {
				background-color: #f6f6f6;
			}

			&.current {
				background-color: #f1f1f1;

				&:hover {
					cursor: default;
					color: inherit;
				}
			}

			&.dots:hover {
				cursor: default;
				color: inherit;
			}
		}
	}

	& .blog-title {
		color: #000 !important;
	}

	& .screen-reader-text {
		display: none;
	}
}

#blogs {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#blog {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;

	> .wrapper {
		width: var(--section-width-55);

		> h1 {
			margin-top: 44px;
			background-size: cover;
			background: linear-gradient(145deg, #171717 0, var(--blue) 100%) center;
			background-clip: text;
			-webkit-text-fill-color: transparent;
			-moz-text-fill-color: transparent;
			text-align: center;
			font-weight: var(--font-weight-bold);
			font-size: 3.6vh;
			color: var(--light-grey);
		}

		& .post_title {
			margin-top: 3vh;
			text-align: center;
		}

		& .blog {
			font-weight: var(--font-weight-thin);
			font-size: 2vh;
			color: var(--dark-grey);

			& #linkedin-link {
				display: flex;
				flex-direction: column;
				align-items: end;

				> a {
					width: fit-content;

					> img {
						width: 20vh;
					}
				}
			}

			& .the_post {
				margin-block: 5vh 15vh;
				border-radius: 4px;
				box-shadow: 0 0 4px rgb(84 104 106 / 40%);
				padding: 0 48px 48px;
				background: #fff;

				& img {
					border-radius: 4px;
					border: 1px solid #ccc;
					user-select: none;
				}

				& iframe {
					max-width: 100%;
					border-radius: 4px;
					border: 1px solid #ccc;
				}

				& .wp-block-embed__wrapper:has(iframe) {
					display: flex;
					flex-direction: row;
					justify-content: center;
				}
			}

			& h2,
			& h3 {
				margin-block: 1%;
				font-weight: var(--font-weight-bold);
				font-size: 3vh;
			}

			& .post {
				margin-bottom: 3%;
				padding-bottom: 3%;
			}

			& p:first-child {
				min-height: 60px;
				font-weight: var(--font-weight-thin);
				font-size: 2vh;
			}

			& p {
				margin-block: 2%;
				color: #303030;
			}

			& ul {
				padding: 0;

				& li {
					margin-block: 0.5vh;
				}
			}

			& .video_post .the_post {
				width: 60%;
				float: left;
				height: 100%;
				padding-block: 1%;
			}

			& .video_post .permalink {
				display: block;
				flex: 1;
				margin-left: 1vw;
				margin-top: auto;
				height: 100%;
				max-height: 2vw;
			}

			& .video_iframe {
				width: 100%;
				height: 60%;
				float: left;
			}

			& a:not(:has(img)):not(.wp-block-button__link):not(.page-numbers) {
				position: relative;
				text-decoration: unset;
				font-weight: var(--font-weight-bold);
				color: var(--blue);

				&::before {
					transition: width 0.2s ease;
					content: '';
					position: absolute;
					width: 0;
					height: 0.2vh;
					bottom: 0;
					left: 0;
					background: linear-gradient(to right, var(--blue) 60%, var(--yellow) 85%);
				}

				&:hover::before {
					width: 100%;
				}
			}
		}
	}
}

#privacy,
#slavery-policy,
#disclaimer,
#fair-usage-policy {
	display: flex;
	flex-direction: column;
	gap: 8vh;
	font-size: 1.8vh;
	color: var(--dark-grey);

	> .top-banner {
		width: var(--section-width-55);
		margin-inline: auto;
		margin-top: 8vh;
		display: flex;
		flex-direction: column;

		> h1 {
			width: fit-content;
			margin-bottom: 1.5vh;
			background-size: cover;
			background: linear-gradient(145deg, #171717 0, var(--blue) 100%) center;
			background-clip: text;
			-webkit-text-fill-color: transparent;
			-moz-text-fill-color: transparent;
			font-weight: var(--font-weight-bold);
			font-size: 5.5vh;
			color: var(--light-grey);
		}

		> p {
			text-wrap: balance;
		}
	}

	> .body-content {
		width: var(--section-width-55);
		margin-inline: auto;
		margin-bottom: 12vh;
		display: flex;
		flex-direction: column;
		gap: 4vh;

		> .vessel {
			border: 1px solid var(--light-grey);
			padding: 6vh 8vh;
			background: #fff;
			border-radius: 3px;

			> h2 {
				font-weight: var(--font-weight-bold);
				font-size: 2.8vh;
			}

			> p {
				text-align: justify;
			}

			> ul {
				margin-left: 2vh;

				> li {
					list-style: none;
				}
			}
		}
	}
}

#support-summary {
	padding: 2vh 0 10vh;

	> * {
		margin-bottom: 2vh;
	}

	& h1 {
		padding: 5vh 0 6vh;
		text-align: center;
		font-weight: var(--font-weight-bold);
		font-size: 5vh;
	}

	& .vessel {
		width: 50%;
		margin-inline: auto;
		background-color: #fff;
		padding: 20px;
		box-shadow: 0 0 5px rgb(0 0 0 / 10%);
		border-radius: 5px;

		&#contract p {
			display: block;
			margin-bottom: 15px;
			font-size: 14px;
			color: #555;
		}

		& h2 {
			margin-bottom: 20px;
			color: #333;
		}

		& table {
			width: 100%;
			border-collapse: collapse;
			margin-top: 20px;

			& th,
			td {
				padding: 12px;
				text-align: left;
				border-bottom: 1px solid #ddd;
			}

			& th {
				background-color: #f2f2f2;
			}
		}
	}

	& #ticketGraph {
		overflow: hidden;
		width: 50%;
		margin-inline: auto;
		border-radius: 5px;
	}

	& #filter {
		display: flex;
		flex-direction: row;
		justify-content: space-evenly;

		& label {
			margin-right: 1vw;
			display: flex;
		}

		& input {
			margin: 0;
			cursor: pointer;
			font: var(--tiny-text-font);
			font-weight: 500;
			border: none;
			text-decoration: underline;
			border-radius: 20px;
			width: 20ch;
			text-align: center;
		}
	}

	& table#tickets {
		overflow: hidden;
		width: 90%;
		border-collapse: collapse;
		margin-inline: auto;
		border-radius: 5px;
		box-shadow: 0 0 5px rgb(0 0 0 / 10%);

		& thead th {
			&:nth-of-type(1) {
				width: 5%;
			}

			&:nth-of-type(2) {
				width: 15%;
			}

			&:nth-of-type(3) {
				width: 10%;
			}

			&:nth-of-type(4) {
				width: 10%;
			}

			&:nth-of-type(5) {
				width: 10%;
			}

			&:nth-of-type(6) {
				width: 30%;
			}

			&:nth-of-type(7) {
				width: 10%;
			}

			&:nth-of-type(8) {
				width: 10%;
			}
		}

		& th,
		& td {
			padding: 12px 0 12px 6px;
			text-align: left;
			border-bottom: 1px solid #ddd;
		}

		& #noTickets {
			column-span: all;
			text-align: center;
			font: var(--text-font);
		}

		& th {
			background-color: #fff;
			font-weight: bold;
		}

		& tr {
			transition: all 0.1s;
			background-color: #f5f5f5;

			&:hover {
				background-color: #dadada;
			}
		}

		& a {
			text-decoration: none;
			color: #007bff;

			&:hover {
				text-decoration: underline;
			}
		}

		& span {
			background-color: #ffc107;
			padding: 2px 5px;
			border-radius: 3px;
			color: #333;
		}
	}
}

#password-sender {
	min-height: var(--full-height);
	display: flex;
	align-items: center;
	justify-content: center;
	background: url('/images/common/header/banner.webp') no-repeat center center/cover;
	color: var(--light-grey);

	> .vessel {
		width: 66vh;
		height: fit-content;
		margin-inline: 4px;
		border: 1px solid #18505a;
		border-radius: 6px;
		display: flex;
		flex-direction: column;
		gap: 24px;
		padding: 70px 80px;
		background: #05282e;

		> .info {
			display: flex;
			flex-direction: column;
			gap: 4px;

			> h1 {
				text-align: center;
				font-weight: var(--font-weight-bold);
				font-size: 5vh;
			}

			> p {
				text-align: center;
				font-size: 20px;
			}
		}

		> form {
			display: flex;
			flex-direction: column;
			gap: 16px;

			> .row {
				width: 100%;
				display: flex;
				align-items: end;
				gap: 10px;

				> .text-input {
					flex: 1;
				}

				> .btn {
					min-width: unset;
					height: fit-content;
					position: relative;
					margin-bottom: 4px;
					border-radius: 4px;
					padding: 1vh 1.5vh;

					> i {
						pointer-events: none;
					}
				}
			}
		}

		> #password-expiry-timer {
			text-align: center;
			font-size: 18px;
		}
	}
}

#send-credentials {
	position: relative;
	min-height: var(--full-height);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: url('/images/common/header/banner.webp') no-repeat center center/cover;
	color: var(--light-grey);

	> #content {
		width: 66vh;
		margin-inline: 4px;
		border: 1px solid #18505a;
		border-radius: 6px;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 32px;
		padding: 70px 80px;
		background: #05282e;

		> .info {
			width: 100%;
			text-align: center;

			> h1 {
				font-weight: var(--font-weight-bold);
				font-size: 5vh;
			}

			> span {
				font-size: 20px;
			}
		}

		> form {
			width: 100%;
			display: flex;
			flex-direction: column;
			align-items: center;
			gap: 12px;

			> .text-input {
				width: 100%;
			}

			> .btn {
				width: 100%;
				margin-top: 8px;
			}
		}

		> #open-tutorial-btn {
			margin-top: 16px;
		}
	}

	> #tutorial {
		transition: opacity 200ms;
		opacity: 0;
		pointer-events: none;
		overflow: hidden;
		position: absolute;
		margin: 25vh;
		border: 2px solid #111;
		border-radius: 4px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: #111;
		font-weight: var(--font-weight-thin);
		color: var(--light-grey);

		&.active {
			opacity: 1;
			pointer-events: all;
		}

		& img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			object-position: center;
		}

		& p {
			opacity: 0.95;
			position: absolute;
			z-index: 1;
			bottom: 0;
			max-width: 75%;
			border-radius: 4px 4px 0 0;
			padding: 2vh 3vh;
			background: #111;
			font-size: 18px;
		}

		& .fa-angle-left {
			transition: color 100ms;
			opacity: 0.95;
			position: absolute;
			top: 75%;
			left: 0;
			transform: translateY(-50%);
			border-radius: 0 4px 4px 0;
			padding: 3vh;
			background: #111;
			font-size: 3vh;
			cursor: pointer;

			&:hover {
				color: #fff;
			}
		}

		& .fa-angle-right {
			transition: color 100ms;
			opacity: 0.95;
			position: absolute;
			top: 75%;
			right: 0;
			transform: translateY(-50%);
			border-radius: 4px 0 0 4px;
			padding: 3vh;
			background: #111;
			font-size: 3vh;
			cursor: pointer;

			&:hover {
				color: #fff;
			}
		}

		& #close-btn {
			transition: color 100ms;
			opacity: 0.95;
			position: absolute;
			bottom: 0;
			right: 0;
			border-radius: 4px 0 0;
			padding: 1.5vh 2vh;
			background: #111;
			font-size: 2vh;
			cursor: pointer;

			&:hover {
				color: #fff;
			}
		}
	}
}

#area-check {
	display: flex;
	flex-direction: column;
	align-items: center;

	& h1 {
		margin-top: 8vh;
		margin-bottom: 4vh;
		text-align: center;
		font-weight: var(--font-weight-bold);
		font-size: 4vh;
		color: var(--dark-grey);
	}

	& #location {
		width: 50%;

		& .info div {
			display: flex;
			justify-content: center;
			align-items: center;

			& .input {
				width: 40%;
				margin-top: unset;
			}

			& .btn {
				width: 20%;
				height: fit-content;
				margin-left: 2vh;
			}
		}

		& #map {
			height: 50vh;
			width: 100%;
			margin-top: 2vh;
			margin-bottom: 10vh;
			border-radius: 1vh;
		}
	}

	& .marker-pin {
		width: 1.5vh;
		height: 2.5vh;
		background-color: var(--yellow);
		border: 2px solid var(--dark-grey);
		border-radius: 50% 50% 50% 0;
		transform: rotate(-45deg);
	}
}

.title-banner {
	min-height: 30vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--full-background);
	color: var(--light-grey);

	& img {
		height: 15vh;
		object-fit: cover;
		object-position: center;
	}

	& h1 {
		margin: 0;
		font-weight: var(--font-weight-bold);
		font-size: 6vh;
	}

	& h2 {
		margin: 0;
		font-weight: var(--font-weight-thin);
		font-size: 2.5vh;
	}
}

#form-captcha {
	flex-direction: column;
	display: flex;
	gap: 0.5vh;

	& .container {
		margin: 0;
		grid-area: a;
	}

	& .checkbox {
		display: flex;
		flex-direction: row;
		justify-content: start;

		& input {
			margin-right: 0.5vh;
		}

		& span {
			display: flex;
			flex-direction: row;
			justify-content: left;
			align-items: center;
		}

		&:first-child {
			grid-area: c;
		}

		& a {
			padding-left: 0.2vw;
		}
	}
}

/* ------------------- */
/*   Payment Gateway   */
/* ------------------- */

.payment-gateway {
	position: relative;
	display: flex;

	& .customer-details {
		width: 50%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 3vh;
		background-image: url('/images/common/header/banner.webp');
		background-position: right;
		background-repeat: no-repeat;
		background-size: auto 100%;
		color: var(--dark-grey);
		padding: 2vh 0;

		> div {
			display: block;
			position: relative;
			max-width: 70vh;
			margin-inline: auto;
			border: 1px solid var(--light-grey);
			border-radius: 5px;
			background: #fff;
			padding: 3vh;

			& h3 {
				margin-bottom: 2vh;
				font-size: 1.8vh;
			}
		}

		& .address-container {
			& .billing-address {
				width: 100%;
				display: flex;
				flex-wrap: wrap;
				justify-content: space-between;
				row-gap: 2vh;

				& .text-input,
				& .select-input {
					width: 100%;
				}

				& .text-input:nth-child(3),
				& .text-input:nth-child(4) {
					width: 49%;
				}
			}
		}

		& .payment-container {
			& .top-heading {
				display: flex;
				flex-wrap: wrap;
				justify-content: space-between;

				& .cards {
					height: 2.5vh;

					& img {
						height: 100%;
					}
				}
			}

			& .fields {
				width: 100%;
				display: flex;
				flex-wrap: wrap;
				justify-content: space-between;
				row-gap: 2vh;

				& .text-input {
					width: 100%;
				}

				& .text-input:nth-child(1) {
					margin-top: 0;
				}

				& .text-input:nth-child(3),
				& .text-input:nth-child(4) {
					width: 49%;
				}

				& .btn {
					width: 100%;
					margin-top: 2vh;
				}
			}
		}
	}

	& .error {
		height: 100%;
		width: 50%;
		text-align: center;
		align-content: center;
		font-size: 2vw;
	}

	& .payment-breakdown {
		width: 50%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 1.5%;
		color: var(--dark-grey);

		& .table-of-items {
			width: 100%;

			& h3 {
				margin-bottom: 2vh;
				font-size: 3vh;
			}

			> div {
				overflow-y: auto;
				width: 100%;
				max-height: 60vh;
				font-size: 1.7vh;

				& table {
					width: 100%;
					height: 100%;
					border: 1px solid #d2d2d2;
					border-radius: 2px;
					padding: 1px;

					& td {
						border-bottom: 1px solid #d2d2d2;
						padding: 0.75vh;

						& img {
							height: 80%;
							display: block;
							margin: 5% auto 0;
							padding: 5%;
						}
					}

					& tr:first-child {
						position: sticky;
						top: 0;
						z-index: 1;
						background-color: #f2f2f2;
					}

					& tr:not(:first-child) {
						&:hover {
							background-color: #efefef;
						}
					}

					& tr:last-child td {
						border: none;
					}
				}
			}
		}

		& .final-results {
			transition: all 0.15s;
			width: 50%;
			border: 1px solid #d2d2d2;
			border-radius: 2px;
			display: flex;
			flex-direction: column;
			flex-wrap: wrap;
			gap: 5px;
			padding: 1vh;
			font-size: 2vh;

			&:hover {
				box-shadow: 0 0 1px var(--uc-blue);
			}

			& p {
				display: flex;
				justify-content: space-between;
				border-radius: 2px;
				padding-inline: 0.5vh;

				&:hover {
					background-color: #efefef;
				}
			}
		}
	}
}

/* ------------ */
/*   Renewals   */
/* ------------ */

.licence-gateway {
	display: block;
	float: left;
	width: 100%;
	height: 85vh;
	background: #ebebeb;

	& .content {
		width: 60%;
		height: 80%;
		position: relative;
		top: 10%;
		left: 20%;
		display: block;
		float: left;
		background: white;
		padding: 5%;
		box-sizing: border-box;

		& p {
			text-align: justify;
			margin-top: 3vh;
		}

		& input {
			display: block;
			margin-top: 3vh;
		}

		& input[name='licencekey'] {
			font-size: 3vh;
			border: 1px solid #ebebeb;
			text-align: center;
			padding: 1%;
		}

		& input[type='submit'] {
			padding: 2% 3%;
			color: white;
			background: green;
			border: none;
		}
	}
}

.indicator {
	height: 0.8em;
	width: 0.8em;
	background: var(--portal-grey);
	border-radius: 50%;
	margin: auto;

	&.complete {
		background: var(--green);
	}

	&.pending {
		background: darkorange;
	}

	&.incomplete {
		background: red;
	}

	&.available {
		background: var(--yellowgrid);
	}
}

/* ---------- */
/*   Portal   */
/* ---------- */

.inlineCheckbox {
	& label {
		display: flex;
		justify-content: center;
		border: solid 1px var(--portal-grey);
		border-radius: 5px;
		color: var(--dark-grey);
		padding: 1vh 1vw;
		text-wrap: nowrap;

		&:hover {
			border-color: var(--uc-blue);
			cursor: pointer;
		}
	}

	& input[type='checkbox'] {
		display: none;

		&:hover {
			color: var(--uc-blue);
			border-color: var(--uc-blue);
		}

		&:checked {
			& + label {
				background: var(--uc-blue);
				color: white;
				border-color: var(--uc-blue);

				&:hover {
					background-color: #0b737eff;
				}
			}
		}

		&:disabled {
			& + label {
				border-color: var(--portal-grey);
				background: var(--portal-grey);
				color: var(--dark-grey);
				cursor: not-allowed;

				&:hover {
					background-color: var(--portal-grey);
				}
			}
		}
	}
}

main.portal {
	--_portal-width: clamp(44vh, 90%, 184vh);
	--_left-spacing: 78px;

	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;

	> .portal-content {
		width: var(--_portal-width);
		margin-left: var(--_left-spacing);
		padding-block: 2vh 8vh;
		position: relative;

		> nav.tabs {
			display: flex;
			flex-direction: row;
			font: var(--small-text-font);
			border-bottom: solid 1px var(--portal-grey);

			& button {
				border: solid 1px var(--portal-grey);
				border-radius: 5px 5px 0 0;
				padding: 1vh 1vw;
				text-wrap: nowrap;
				color: var(--dark-grey);
				cursor: pointer;

				&.selected {
					border: solid 1px var(--view-background);
					background: var(--view-background);
					font-weight: var(--font-weight-bold);
					color: #fff;
					cursor: default;
				}
			}

			& a {
				align-self: center;
				display: none;
				margin-left: 1vw;
			}
		}
	}

	& header:not(.sidebar-header) {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		background-image: none;
		color: var(--dark-grey);
		padding: 0;
		margin-bottom: 1vh;

		& h1 {
			font: var(--heading-font);
			align-content: center;
		}

		& menu {
			display: flex;
			flex-direction: row;
			justify-content: space-between;

			& li {
				display: flex;
				list-style: none;

				&.tutorial-video i {
					font-size: 3vw;
					color: red;
				}
			}

			& a {
				height: min-content;
				padding: 1vh 1vw;
				margin: auto 0;

				& .video {
					font-size: 3vh;
					color: red;
				}
			}
		}

		& #price-lists {
			display: flex;
			flex-direction: row;
			opacity: 0;
			transition: opacity 0.5s linear;
			margin-left: auto;
			margin-right: 1vw;

			> * {
				font: var(--text-font);
				height: 4vh;
			}

			> .ss-main {
				width: 30ch;
			}

			> button {
				display: flex;
				background: white;
				border: var(--grey-border);
				border-radius: 5px;
				padding: 8px;
				margin: auto;
				cursor: pointer;
				color: var(--uc-blue);
				font-weight: 400;

				&:hover {
					background: #ebebeb;
				}
			}
		}
	}

	& section.hidden {
		display: none;
	}

	& .portalButton {
		text-wrap: nowrap;
		align-content: center;
		background: var(--uc-blue);
		color: white;
		padding: 1vh 1vw;
		border-radius: 5px;
		border: solid 1px var(--portal-grey);
		cursor: pointer;
	}

	& a.link {
		font: var(--small-text-font);
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		color: var(--uc-blue);
		font-weight: 500;
		cursor: pointer;
		position: relative;
		width: fit-content;
		text-decoration: none;

		& i {
			padding-right: 0.5vw;
		}
	}

	#navOverlay {
		position: fixed;
		top: 10vh;
		width: 100vw;
		height: 90vh;
		opacity: 0;
		background: black;
		z-index: 999;
	}

	& dialog.portalNotification {
		background: var(--background-grey);
		z-index: 30;
		border-radius: 5px;
		border: solid 1px var(--portal-grey);
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 50%;
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);

		> :not(.gradient) {
			padding: 2vh 2vw;
		}

		& h2 {
			font: var(--subheading-font);
			font-weight: 400;
			border-bottom: solid 1px var(--portal-grey);
		}

		& p {
			font: var(--text-font);

			& a {
				display: inline;
			}
		}

		& li {
			font: var(--text-font);
			margin-left: 1vw;
		}

		& #buttons {
			display: flex;
			flex-direction: row;
			justify-content: space-around;
		}

		& div.detailsContainer {
			display: flex;
			flex-direction: column;

			& > * {
				margin: 0.5vw 0;
			}

			& label {
				width: 100%;
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				position: relative;
				align-items: center;

				& input {
					padding: 0.5vw 2vw 0.5vw 0.5vw;
					width: 80%;
				}

				& i {
					position: absolute;
					right: 0.5vw;
					height: 100%;
					align-content: center;

					&:hover {
						cursor: pointer;
					}

					&:active {
						color: var(--green);
					}
				}
			}
		}

		&#outOfStock {
			& ul {
				list-style: inside;
				padding: 0.5vh 0;

				& li {
					padding-left: 1vw;
					font: var(--small-text-font);
					color: var(--uc-blue);

					&::marker {
						color: var(--uc-blue);
					}
				}
			}
		}

		&#installationDetails {
			& #mainContent {
				display: grid;
				grid-template-columns: 50% 50%;
				width: 80%;
				margin: 0 auto;

				& div {
					font: var(--text-font);
					margin: 1vh 0;

					&:nth-child(2n-1) {
						font-weight: 500;
					}
				}
			}

			> #tenantContent {
				width: 100%;
				margin: 0 auto;
				display: grid;
				grid-template-columns: 1fr 3fr 0.5fr;
				gap: 1vh;

				& input {
					border: 1px solid var(--dark-grey);
					padding-inline: 5px;
				}

				& .passwordDiv {
					position: relative;

					> input {
						width: 100%;
						height: 100%;
					}

					> i {
						height: 100%;
						position: absolute;
						top: 0;
						right: 5px;
						display: flex;
						justify-content: center;
						align-items: center;
						cursor: pointer;
					}
				}
			}
		}

		&#migrateInstallation {
			& .ss-main {
				width: 50%;
				margin: 2vh auto;
			}
		}

		&#invoiceAttachments {
			max-height: 60vh;
			width: 70vw;

			& .gradient {
				min-height: 0.5vh;
			}

			& div:has(table) {
				position: relative;
				height: 60%;
				width: 90%;
				overflow: scroll;
				scrollbar-color: var(--uc-blue) var(--light-grey);
				margin: 0 auto;

				& table {
					overflow: scroll;
					min-width: 100%;
					position: relative;

					& thead {
						& th {
							&:nth-child(1) {
								width: 80%;
							}

							&:nth-child(2) {
								width: 10%;
							}

							&:nth-child(3) {
								width: 10%;
							}
						}
					}

					& tbody {
						& td {
							& button {
								background: none;
								border: none;
								cursor: pointer;

								& i {
									font-weight: 900;
									font-size: 1.2vw;
									color: var(--uc-blue);
									pointer-events: none;
								}
							}
						}
					}
				}
			}
		}

		&#newAccount {
			& fieldset {
				border: none;
				padding: 2vh 0;

				&#textGroup {
					display: grid;
					grid-template-columns: repeat(2, 45%);
					column-gap: 10%;
					row-gap: 2vh;

					& label {
						display: flex;
						flex-direction: row;
						justify-content: space-between;
						text-wrap: nowrap;
						align-items: center;

						& input {
							width: 32ch;
							border: solid 1px var(--portal-grey);
							padding: 0.5vw;
							border-radius: 5px;
							height: min-content;
							margin: auto 0;
						}
					}
				}

				&#emailGroup {
					display: flex;
					flex-direction: row;
					justify-content: space-between;

					& div {
						width: 18%;

						& input {
							display: none;
						}

						& label {
							text-wrap: nowrap;
						}

						& input:checked + label,
						& input:active + label {
							background: var(--uc-blue);
							color: white;
						}

						& input:active + label {
							background: var(--uc-blue);
							color: white;
							opacity: 0.7;
						}
					}
				}
			}
		}

		&#createClient {
			& form {
				margin-top: 1vh;
				max-height: 30vh;
				overflow-y: auto;

				& div {
					width: min-content;
					margin: 0 auto;

					& label {
						width: min-content;
						margin: 1vh 0;
					}
				}
			}
		}

		&#diverts {
			& .hint {
				position: absolute;
				margin-left: 0.5vw;
				font-size: 1vw;
				color: var(--uc-blue);
			}

			& form {
				max-height: 50vh;
				overflow: scroll;

				> div {
					display: grid;
					grid-template-columns: 2fr 2fr 1fr;
					margin: 2vh 0;
					column-gap: 1vw;

					& input:not([type='checkbox']) {
						width: 100%;
					}

					& input[type='checkbox'] {
						align-self: center;
						margin: 0 auto;
					}

					> div:last-of-type {
						text-align: center;
					}
				}
			}
		}

		&#cliFlexibilityDialog .termsDialog {
			max-height: 40vh;
			overflow: scroll;
		}

		&#addNumbersDialog h2 span {
			font: var(--text-font);
			margin-left: 0.5vw;
		}
	}

	& #notificationUnderlay {
		position: fixed;
		top: 10vh;
		height: 100vh;
		background: var(--dark-grey);
		z-index: 20;
		width: 100vw;
		left: 0;
		opacity: 0;
	}

	& #filters {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		width: min-content;

		> * {
			margin: 1vh 2vw 1vh 0;
		}

		& input[type='search'] {
			width: 20em;
			font: var(--text-font);
			border: none;
			border-bottom: solid 1px var(--dark-grey);
			padding: 0.5vh 0;
			background: none;
			align-items: center;

			&:focus-visible {
				outline: none;
			}
		}

		> button {
			background: var(--uc-blue);
			display: flex;
			flex-direction: row;
			justify-content: space-between;
			padding: 1vh 1vw;
			border: solid 1px var(--portal-grey);
			border-radius: 5px;
			color: white;
			font: var(--small-text-font);
			cursor: pointer;

			> i {
				padding-right: 1vw;
			}
		}

		> div {
			height: 100%;
			display: flex;
			flex-direction: column;
			justify-content: center;

			& label {
				display: flex;
				justify-content: center;
				border: solid 1px var(--portal-grey);
				border-radius: 5px;
				color: var(--dark-grey);
				padding: 1vh 1vw;
				text-wrap: nowrap;

				&:hover {
					border-color: var(--uc-blue);
					cursor: pointer;
				}
			}

			& input[type='checkbox'] {
				display: none;

				&:hover {
					color: var(--uc-blue);
					border-color: var(--uc-blue);
				}

				&:checked {
					& + label {
						background: var(--uc-blue);
						color: white;
						border-color: var(--uc-blue);

						&:hover {
							background-color: #0b737eff;
						}
					}
				}

				&:disabled {
					& + label {
						border-color: var(--portal-grey);
						background: var(--portal-grey);
						color: var(--dark-grey);
						cursor: not-allowed;

						&:hover {
							background-color: var(--portal-grey);
						}
					}
				}
			}
		}
	}

	& .pagination {
		display: flex;
		justify-content: space-between;
		padding: 1vh 0;
		text-wrap: nowrap;
		font: var(--text-font);
		width: min-content;

		& .previous,
		& .next {
			margin: auto 0.5vw;
		}

		& input {
			width: 2em;
			text-align: center;
			border: solid 1px var(--dark-grey);
			font-size: 0.8vw;

			&:focus-visible {
				border-color: var(--uc-blue);
				outline: none;
			}
		}
	}

	& .progressElement {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		height: max-content;
		padding: 2vh 0;

		& .progressItem {
			display: flex;
			flex-direction: column;
			justify-content: space-between;
			width: 100%;

			& .image {
				display: flex;
				flex-direction: row;
				justify-content: center;

				& img {
					height: 100px;
					max-width: 50%;
				}
			}

			& .progress {
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				padding: 1vh 0;

				& div {
					width: 0;
					height: 0.5vh;
					background: var(--uc-blue);
					margin: auto 0;

					&.incomplete {
						background: var(--portal-grey);
						width: 50%;
					}
				}

				& i {
					width: 2vw;
					display: flex;
					border-radius: 50%;
					color: white;
					background: var(--portal-grey);
					height: 2vw;
					flex-direction: column;
					text-align: center;
					justify-content: center;
					flex-shrink: 0;

					&.complete {
						background: var(--uc-blue);
					}
				}
			}

			& .title {
				height: 2em;
				display: flex;
				flex-direction: column;
				justify-content: center;
				text-align: center;
				font-size: var(--small-text-font);
				font-weight: 300;
			}
		}
	}

	& .portalTable {
		width: 100%;
		border-collapse: collapse;
		table-layout: fixed;

		& thead {
			& tr {
				& th {
					font: var(--text-font);
					font-weight: 500;
					padding: 2vh 0;
				}

				& td:nth-child(1) {
					width: 15%;
				}

				& td:nth-child(2) {
					width: 15%;
				}

				& td:nth-child(3) {
					width: 30%;
				}

				& td:nth-child(4) {
					width: 15%;
				}

				& td:nth-child(5) {
					width: 5%;
				}

				& td:nth-child(6) {
					width: 20%;
				}
			}
		}

		& tbody {
			& tr {
				border-top: solid 1px var(--portal-grey);

				& td {
					padding: 2vh 0;
					text-align: center;
					font: var(--text-font);
					position: relative;

					& a {
						color: var(--uc-blue);
						font-weight: 500;
						cursor: pointer;

						& i {
							padding-right: 0.5vw;
						}
					}
				}

				&#tableLoading {
					& td {
						height: 50vh;
						text-align: center;

						& * {
							background: linear-gradient(to right, #000 0%, var(--uc-blue) 50%);
							background-clip: text;
							-webkit-text-fill-color: transparent;
						}

						& i {
							font-size: 4vw;
						}

						& span {
							font-size: 2vw;
						}
					}
				}
			}
		}
	}

	& input[type='checkbox'] {
		accent-color: var(--uc-blue);
		height: 2vh;
		width: 2vh;
		align-self: center;
		margin: 0 auto;
	}

	& .portalForm {
		display: grid;
		row-gap: 2vh;
		column-gap: 2vw;
		grid-template-columns: repeat(2, 1fr);

		& fieldset {
			display: flex;
			flex-direction: column;
			margin-bottom: 2vh;
			padding: 1vh 2vh 2vh;
			position: relative;
			border: none;
			border-image: var(--portal-gradient) 1;
			border-top: 4px solid;
			box-shadow: 0 0 1px rgb(0 0 0 / 100%);

			& .text-input,
			& .select-input,
			& .telephone-input {
				margin-bottom: 2.2vh;
			}

			&.full-width {
				grid-column: span 2;
			}

			& .fa {
				&.hint {
					position: absolute;
					color: var(--uc-blue);
				}
			}

			& .gradient {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
			}

			> h2 {
				padding: 1vh 1vw 1vh 0;
				font: var(--subheading-font);
				font-weight: 400;
				color: var(--dark-grey);
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				position: relative;
				width: fit-content;

				& .hint {
					right: -0.5vw;
				}
			}

			> label {
				position: absolute;
				top: 1.5vh;
				right: 0;
				padding: 1vh 1vw;
				align-content: center;
				cursor: pointer;
				color: var(--text-grey);

				& input {
					cursor: pointer;

					&[type='checkbox'] {
						height: 2vh;
						width: 2vh;
					}
				}
			}

			& .terms {
				cursor: pointer;

				& span a,
				& p a {
					display: inline;
				}

				& p {
					margin-bottom: 1vh;
				}

				& label input {
					margin-right: 0.5vw;
				}
			}
		}
	}
}

main.portal section#dashboard {
	display: flex;
	flex-direction: column;

	& .placeholder {
		position: relative;
	}

	& .btn {
		font: var(--text-font);
	}

	& .row {
		display: flex;
		flex-direction: row;
		gap: 2vw;
		margin: 1vh 0;

		& .tile {
			box-shadow: rgb(0 0 0 / 10%) 0 0 0.5vh;
			border-radius: 5px;
			padding: 1vw 1vw 0;
			border: solid 1px var(--portal-grey);
			background: white;
			display: flex;
			flex-direction: column;
			justify-content: space-between;
			position: relative;
			flex-basis: 0;
			box-sizing: border-box;

			> * {
				padding: 1vh 0;
				margin: 0;
			}

			& header {
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				background-image: none;

				& h1 {
					font: var(--large-text-font);
				}

				& h2 {
					color: var(--dark-grey);
					margin: 0;
				}

				& a {
					color: var(--uc-blue);

					& i {
						color: inherit;
					}
				}
			}

			&.dark {
				background: #095860;
				color: white;

				& header h2,
				header a,
				& .link {
					color: white;
				}
			}

			& .gradient {
				position: absolute;
				top: 0;
				margin: 0;
				width: 100%;
				left: 0;
				padding: 0;
			}

			&#trade {
				flex-grow: 1;

				& p {
					font: var(--text-font);
				}

				& form {
					display: flex;
					flex-direction: column;
					justify-content: space-between;
					width: 50%;

					& input {
						margin: 1vh 0;
						width: 100%;
						appearance: textfield;
					}
				}
			}

			&#na {
				flex-grow: 1;

				> div:not(.gradient) {
					display: flex;
					flex-direction: column;
					justify-content: space-around;
					height: 100%;

					& * {
						font: var(--small-text-font);
						font-weight: 300;
					}

					& div {
						display: flex;
						flex-direction: row;
						justify-content: space-around;
						margin: 1vh 0;
					}

					& p {
						text-align: center;

						& ul {
							width: max-content;
							margin: 0 auto;

							& li {
								padding-left: 1vw;
							}
						}
					}
				}
			}

			&#carousel {
				flex-grow: 3;
				height: fit-content;
				position: relative;
				padding: 0;

				& #promo-carousel {
					padding: 0 !important;
					top: 0.35vh;

					& .splide__track,
					& .splide__list,
					& .splide__slide {
						height: 100%;

						& a {
							display: block;
							height: 100%;
						}

						& img {
							width: 100%;
							height: 100%;
							object-fit: contain;
							display: block;
						}
					}
				}
			}

			&#ek {
				flex-grow: 3;

				& table {
					width: 100%;
					border-collapse: collapse;

					& tr {
						border-bottom: solid 1px var(--portal-grey);

						& td {
							font: var(--small-text-font);
							text-align: left;
							padding: 1vh 0;
							width: 25%;

							&:first-child {
								width: 40%;
								padding: 0 1vw;
							}

							&:last-child {
								text-align: center;
								width: 10%;
							}
						}
					}

					& tr:hover td {
						background: var(--portal-grey);
						cursor: default;
					}
				}

				& a {
					color: var(--uc-blue);
				}
			}

			&#prize {
				flex-grow: 1;

				& div {
					display: flex;
					flex-direction: row;
					justify-content: space-between;

					& p,
					& img {
						font: var(--small-text-font);
						margin: auto 0;
						height: min-content;
					}

					& img {
						width: 40%;
						height: auto;
					}
				}
			}

			&#promo {
				flex-grow: 4;
				width: 100%;

				> div {
					display: grid;
					grid-template-columns: repeat(4, 24%);
					row-gap: 5vh;
					column-gap: 1%;
					border-radius: 5px;

					& .promo {
						display: flex;
						flex-direction: column;
						justify-content: space-between;

						> div {
							text-align: left;
							font: var(--text-font);
							font-weight: 600;
							white-space: nowrap;
							overflow: hidden;
							color: var(--uc-blue);
							margin: 1vh 1vw;
							display: inline-block;
							text-overflow: ellipsis;
							position: relative;
							height: 1em;
						}

						& a {
							background: var(--background-grey);
							margin: 1vh 1vw;
							border-radius: 5px;
							border: solid 1px var(--portal-grey);
							padding: 1vh 1vw;
							position: relative;

							&:hover {
								border: solid 1px var(--uc-blue);
							}

							> * {
								padding: 1vh 0;
							}

							& div {
								border-radius: 5px;

								&:has(img) {
									height: 15vw;
									display: flex;
									flex-direction: column;
									justify-content: center;
								}

								& img {
									display: flex;
									margin: 0 auto;
									max-width: 15vw;
									width: auto;
								}
							}
						}
					}

					& .no-promo {
						display: flex;
						flex-direction: column;
						justify-content: center;

						& span {
							width: 100%;
							text-align: center;
							font: var(--small-text-font);

							& a {
								display: inline-block;
							}
						}
					}
				}
			}

			&#prizes {
				flex-grow: 4;
			}
		}
	}
}

main.portal section#orders {
	& table {
		& td {
			height: 10vh;

			& .imageContainer {
				height: 100%;
				display: flex;
				position: relative;
				width: min-content;
				margin: 0 auto;
				flex-direction: row;
				justify-content: center;

				& img {
					height: 100%;
					width: auto;
					position: relative;
				}

				& .itemCount {
					background: var(--uc-blue);
					padding: 0.5vh;
					height: 2.5em;
					width: 2.5em;
					display: flex;
					flex-direction: column;
					justify-content: center;
					border-radius: 50%;
					position: absolute;
					top: 2px;
					right: -2em;
					font-size: 0.8vw;
					color: white;
					margin: 0 auto;
				}
			}
		}

		&#order thead tr th {
			&:nth-child(1) {
				width: 12%;
			}

			&:nth-child(2) {
				width: 12%;
			}

			&:nth-child(3) {
				width: 35%;
			}

			&:nth-child(4) {
				width: 12%;
			}

			&:nth-child(5) {
				width: 12%;
			}

			&:nth-child(6) {
				width: 5%;
			}

			&:nth-child(7) {
				width: 12%;
			}
		}

		&#quote thead tr th {
			width: 20%;

			&:nth-child(1) {
				width: 40%;
			}

			&:nth-child(2) {
				width: 20%;
			}

			&:nth-child(3) {
				width: 20%;
			}

			&:nth-child(4) {
				width: 20%;
			}
		}
	}
}

main.portal section#order-record {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;

	& #status {
		width: 100%;
		margin: 2vh 0;
	}

	& #waitingStatus {
		width: 100%;
		margin: 2vh 0;
	}

	& .portalTable {
		width: 75%;

		& tbody tr {
			&.total {
				border-bottom: solid 1px var(--portal-grey);

				> * {
					background-color: #f0f0f0;
					border: none;
				}
			}

			& td .item {
				text-align: left;
				display: flex;
				flex-direction: column;

				& h3 {
					font: var(--text-font);
				}

				& span {
					font: var(--tiny-text-font);
					margin-top: 0.2vh;
				}
			}
		}
	}

	& aside:not(.sidebar) {
		display: flex;
		flex-direction: column;
		justify-content: start;
		width: 22.5%;

		> * {
			margin-bottom: 2vh;
		}

		& #tools {
			display: flex;
			flex-direction: column;
			justify-content: space-between;

			& a {
				padding: 0.5vh 0;
			}
		}

		& a {
			color: var(--uc-blue);
			font-weight: 500;

			& i.hint {
				color: var(--uc-blue);
				cursor: pointer;
			}
		}

		& #numbersList {
			display: flex;
			flex-direction: column;
			flex-grow: 1;
			width: 70%;

			#numbers {
				display: flex;
				flex-direction: column;
				height: 25vh;
				overflow-y: scroll;
				border: solid 1px var(--portal-grey);

				& span {
					border-bottom: solid 1px var(--portal-grey);
					padding: 0.5vh;

					&.new {
						color: var(--green);
					}
				}
			}
		}

		& address,
		#numbersList {
			display: flex;
			flex-direction: column;

			& h3 {
				font: var(--text-font);
				font-weight: 500;
				color: var(--uc-blue);

				& .trunkSideAction {
					cursor: pointer;
					padding-left: 0.5vw;
				}
			}

			& span,
			input[type='text'] {
				margin: 0.1vh 0;
				font: var(--small-text-font);
				display: flex;
				flex-direction: row;
				position: relative;
				min-height: var(--ss-main-height);
				padding: var(--ss-spacing-s);
				box-sizing: border-box;
				overflow: hidden;
			}

			& input[type='text'] {
				width: 70%;
			}
		}
	}

	& #assoc {
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		padding: 1vh 0;
		width: 100%;

		& p {
			font-weight: 500;
		}

		& ul {
			list-style: none;

			& li {
				padding: 0.5vh 0;

				& a {
					width: max-content;
				}
			}
		}
	}

	& #shipments {
		width: 75%;
		margin: 2vh 0;

		& .shipment {
			& h3 {
				font: var(--large-text-font);
			}

			& header {
				display: flex;
				flex-direction: row;
				justify-content: space-between;

				& span {
					text-align: left;
					font: var(--text-font);

					&:nth-child(1) {
						width: 15%;
					}

					&:nth-child(2) {
						width: 40%;
					}

					&:nth-child(3) {
						width: 20%;
					}

					&:nth-child(4) {
						width: 20%;
					}

					&:nth-child(5) {
						width: 5%;
					}
				}

				& a {
					color: var(--uc-blue);
					font-weight: 500;
					cursor: pointer;

					& i {
						pointer-events: none;
						padding-right: 0.5vw;
					}
				}
			}

			& div {
				overflow: hidden;
				height: 0;

				& p {
					margin: 2vh auto;
					width: max-content;
					font: var(--small-text-font);
				}

				& table {
					border-collapse: collapse;
					border: solid 1px var(--portal-grey);
					width: 50%;
					margin: 2vh auto;

					& thead tr th {
						background: var(--portal-grey);
						font: var(--text-font);
						text-align: left;
						padding: 1vh 1vw;
					}

					& tbody tr {
						border: solid 1px var(--portal-grey);

						&:nth-child(even) {
							background: #f2f2f2;
						}

						& td {
							padding: 1vh 1vw;
							font: var(--tiny-text-font);
						}
					}
				}
			}
		}
	}
}

main.portal section#installations {
	margin-top: 1vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.5vh;
	font: var(--small-text-font);

	& .auto-failover {
		color: var(--uc-blue);

		&.fa-circle-xmark {
			color: var(--portal-grey);
		}
	}

	& .portalTable {
		& thead {
			& tr {
				& th {
					&:nth-child(1) {
						width: 20%;
					}

					&:nth-child(2) {
						width: 20%;
					}

					&:nth-child(3) {
						width: 20%;
					}

					&:nth-child(4) {
						width: 10%;
					}

					&:nth-child(5) {
						width: 10%;
					}

					&:nth-child(6) {
						width: 5%;
					}

					&:nth-child(7) {
						width: 15%;
					}
				}
			}
		}

		& tbody {
			& tr {
				&.incomplete {
					opacity: 0.75;
					background: #eee;
				}

				& td {
					padding: 2vh 0;

					& input {
						padding: 1vh;
						border: solid 1px var(--portal-grey);
						border-radius: 5px;
					}

					& .ss-main {
						width: 80%;
						margin: 0 auto;
					}
				}
			}
		}
	}
}

/* -------------- */
/*   sidebar.js   */
/* -------------- */

aside.sidebar {
	--_sidebar-primary: var(--primary);
	--_width-collapsed: 8.3vh;
	--_border-color: var(--dark-grey);

	transition: width 300ms;
	width: 0;
	height: 100%;
	position: fixed;
	z-index: 1010;
	left: 0;
	background: linear-gradient(to bottom, #000 0%, var(--_sidebar-primary) 150%);

	> #sidebar-loading {
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: center;
		padding-top: 4vh;
		font-size: 3.2vh;
		color: #fff;
	}

	> header.sidebar-header {
		all: unset;
		transition: 200ms;
		position: relative;
		z-index: 1001;
		display: flex;
		align-items: center;
		padding: 2.5vh 2vh 1.5vh;

		& .toggler {
			transition: 100ms;
			min-height: 3.5vh;
			min-width: 3.5vh;
			margin-left: 0.3vh;
			border: none;
			border-radius: 0.8vh;
			display: flex;
			align-items: center;
			justify-content: center;
			background: #fff;
			font-size: 1.8vh;
			color: #000;
			cursor: pointer;

			&:hover {
				background: #f1f1f1;
			}

			&:active {
				transform: scale(0.9);
			}

			&.menu-toggler {
				display: none;
			}
		}
	}

	> nav.sidebar-nav {
		all: unset;
		height: 100%;
		display: flex;
		flex-direction: column;
		gap: 1.2vh;

		> .nav-list {
			transition: 400ms;
			display: flex;
			flex-direction: column;
			gap: 1.2vh;
			padding: 1vh 1.5vh 0;
			list-style: none;

			&.secondary-nav {
				display: none;
			}
		}

		& .nav-item {
			position: relative;
			font-size: 1.8vh;

			&:hover .nav-tooltip {
				transition: 200ms;
				opacity: 1;
				top: 47.5%;
				pointer-events: auto;
			}

			> .nav-link {
				transition:
					background-color 150ms,
					color 150ms;
				overflow-x: hidden;
				border: 1px solid transparent;
				border-radius: 0.8vh;
				display: flex;
				align-items: center;
				gap: 1vh;
				padding: 1.2vh 1vh;
				white-space: nowrap;
				text-decoration: none;
				color: #d1d1d1;
				cursor: pointer;

				&:hover {
					background: #fff;
					color: #000;
				}

				> i {
					min-width: 3vh;
					display: flex;
					justify-content: center;
					align-items: center;
				}

				> .nav-label {
					transition: opacity 300ms;
					text-wrap: nowrap;
				}

				&.active {
					border-color: var(--_sidebar-primary);
					background: #111;
					color: #fff;
					cursor: default;
				}
			}
		}

		& .nav-tooltip {
			transition: 0s;
			opacity: 0;
			display: none;
			position: absolute;
			top: -2px;
			left: calc(100% + 2.5vh);
			transform: translateY(-50%);
			border: 1px solid var(--_border-color);
			border-radius: 0.8vh;
			box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
			padding: 0.6vh 1.2vh;
			background: #fff;
			white-space: nowrap;
			color: #000;
			pointer-events: none;
		}
	}

	&.collapsed {
		width: var(--_width-collapsed) !important;

		> nav.sidebar-nav {
			& .nav-item {
				> .nav-link {
					> .nav-label {
						opacity: 0;
						pointer-events: none;
					}
				}
			}

			& .nav-tooltip {
				display: block;
			}
		}
	}
}

@media (orientation: portrait) {
	aside.sidebar {
		transition: width 200ms;
		height: fit-content;
		bottom: 0;
		border-top-right-radius: 2vh;
		display: flex;
		flex-direction: column-reverse;

		& .sidebar-header {
			& .toggler {
				border: 1px solid #111 !important;
				box-shadow: 0 5px 10px rgb(0 0 0 / 50%);
			}
		}

		&.collapsed {
			width: 0 !important;

			& .sidebar-nav {
				opacity: 0;
				pointer-events: none;
			}
		}
	}
}

#creating-system {
	display: none;
	position: fixed;
	top: 0;
	z-index: 1000;
	width: 100%;
	height: 100%;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 30px;
	background: #1d1d1df1;
	color: #ececec;
	overflow-y: hidden;
	animation: fade-in-creating-system 0.5s forwards;

	> .messages {
		display: flex;
		flex-direction: column;
		gap: 30px;

		> span {
			transform: translateY(100vh);
			display: flex;
			gap: 15px;
			animation: slide-in 0.5s forwards;

			&:nth-child(1) {
				animation-delay: 0s;
			}

			&:nth-child(2) {
				animation-delay: 0.1s;
			}

			&:nth-child(3) {
				animation-delay: 0.2s;
			}

			&:nth-child(4) {
				animation-delay: 0.3s;
			}

			&:nth-child(5) {
				animation-delay: 0.4s;
			}

			> .loading-animation {
				width: 23px;
				height: 23px;
				border: 3px solid #ccc;
				border-top-color: #3b84b4;
				border-radius: 50%;
				animation: spin-section 1.5s linear infinite;
			}

			> i {
				width: 23px;
				height: 23px;
				display: flex;
				justify-content: center;
				align-items: center;
				font-size: 2.4vh;
				color: #3b84b4;

				&.fa-check-circle {
					color: #2ecc71;
				}

				&.fa-triangle-exclamation {
					color: #f1c40f;
				}
			}

			> p {
				display: flex;
				align-items: center;
				font-size: 2.2vh;
			}
		}
	}
}

@keyframes fade-in-creating-system {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes slide-in {
	from {
		transform: translateY(100vh);
	}

	to {
		transform: translateY(0);
	}
}

@keyframes spin-section {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

main.portal section#keys {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	font: var(--small-text-font);

	& #searchConfirm {
		padding: 1vh 1vw;
		height: min-content;
		width: min-content;
		min-width: min-content;
		display: flex;
		flex-direction: row;
		justify-content: space-between;

		& i {
			padding-right: 1vw;
		}
	}

	& .portalTable {
		& thead {
			& tr {
				& th {
					&:nth-child(1) {
						width: 15%;
					}

					&:nth-child(2) {
						width: 20%;
					}

					&:nth-child(3) {
						width: 15%;
					}

					&:nth-child(4) {
						width: 10%;
					}

					&:nth-child(5) {
						width: 15%;
					}

					&:nth-child(6) {
						width: 5%;
					}

					&:nth-child(7) {
						width: 20%;
					}
				}
			}
		}

		& tbody {
			& tr {
				& td {
					padding: 2vh 0;

					& input {
						padding: 1vh;
						border: solid 1px var(--portal-grey);
						border-radius: 5px;
						width: 75%;
						font-size: 0.8vw;
					}
				}
			}
		}
	}
}

main.portal section#management {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	font: var(--small-text-font);

	& button:not(.sidebar-toggler) {
		padding: 1vh;
		background: var(--uc-blue);
		color: #fff;
		border: solid 1px var(--portal-grey);
		border-radius: 5px;
		cursor: pointer;
		margin-left: auto;
	}

	> * {
		margin: 2vh 0;

		&#info {
			display: flex;
			flex-direction: row;
			justify-content: space-between;

			> div {
				display: flex;
				flex-direction: column;
				justify-content: start;
				width: 50%;

				&#mfa-qr-code {
					position: relative;
					height: 35vh;

					& img {
						width: 40%;
						border: 0.5vh solid var(--blue);
						padding: 2%;
						border-radius: 0.3vh;
						margin: 2vh 30%;
					}

					& i {
						width: min-content;
						position: absolute;
						top: calc(50% - 1vw);
						left: calc(50% - 1vw);
						font-size: 2vw;
					}
				}

				& h2 {
					margin-bottom: 1vh;
				}

				& table {
					border-collapse: collapse;
					width: 80%;

					& tbody {
						& tr {
							& td {
								width: 50%;
								padding: 1vh 0;
								font-weight: 300;
								font: var(--small-text-font);

								&:first-of-type {
									font-weight: 400;
								}

								& a {
									width: min-content;
									text-wrap: nowrap;
								}

								& .clr-field button {
									right: unset;
									left: 0;
								}

								& .coloris {
									background: none;
									border: none;
									opacity: 0;
									cursor: pointer;
									width: 20%;
								}

								& i {
									margin-left: 1vw;
								}

								& #customerAccountLogo {
									height: 10vh;
								}
							}
						}
					}
				}
			}
		}

		&#contacts {
			display: flex;
			flex-direction: column;
			justify-content: space-between;

			> div {
				display: flex;
				flex-direction: column;
				justify-content: space-between;
				margin: 1vh 0;
				position: relative;

				& p {
					height: min-content;
					margin-bottom: 0.5vh;
				}

				& ul {
					list-style: inside;
				}

				> div {
					position: absolute;
					bottom: 0;
					right: 0;
				}
			}

			& #loading {
				list-style: none;
				width: 100%;
				text-align: center;
				font-size: 2vw;
			}

			& .contact {
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				margin: 1vh 0;

				& i,
				& a {
					height: min-content;
					margin: auto 0;
					font-size: 1.2vw;
				}

				& i.save {
					cursor: pointer;
					color: var(--green);
				}

				& i.fa-trash {
					pointer-events: none;
				}

				& a {
					cursor: pointer;
					color: var(--uc-blue);
					width: 2%;
					display: flex;
					flex-direction: row;
					justify-content: center;

					&.hint {
						color: var(--uc-blue);
					}
				}

				& > div {
					display: flex;
					flex-direction: column;
					justify-content: center;

					& input {
						opacity: 0;
						position: fixed;
						width: 0;
					}

					& input:checked + i {
						color: white;
					}

					& label {
						display: flex;
						width: 100%;
						cursor: pointer;
						flex-direction: row;
						justify-content: space-between;
						background: #ececec;
						font-size: 0.7vw;
						margin: auto 0;

						& p {
							display: flex;
							flex-direction: column;
							width: 80%;
							justify-content: space-around;
							font-size: 0.8vw;

							& span {
								font-size: 0.6vw;
							}
						}

						& i {
							display: flex;
							flex-direction: column;
							justify-content: center;
							font-size: 0.7vw;
							padding-left: 0.4vw;
						}
					}

					& input:checked + label,
					& input:active + label {
						background: var(--uc-blue);
						color: white;
					}

					& input:active + label {
						background: var(--uc-blue);
						color: white;
						opacity: 0.7;
					}
				}

				& input,
				& label {
					border: solid 1px var(--portal-grey);
					padding: 0.5vw;
					border-radius: 5px;
					height: min-content;
					margin: auto 0;
					width: 15ch;

					&[name='emailAddress'] {
						width: 32ch;
					}
				}
			}
		}

		&#credentials {
			& .block-header {
				display: flex;
				flex-direction: row;
				justify-content: space-between;
			}
		}
	}

	> p a {
		display: inline;
	}
}

main.portal section#not-a-reseller {
	display: flex;
	flex-direction: column;
	justify-content: space-between;

	& p {
		padding: 4vh 0;
		font: var(--large-text-font);
	}

	& iframe {
		border: none;
		margin: 2vh 0;
	}

	& div {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		width: 560px;
	}
}

main.portal section#etp {
	& .portalTable {
		& th {
			&:nth-child(1) {
				width: 17%;
			}

			&:nth-child(2) {
				width: 17%;
			}

			&:nth-child(3) {
				width: 15%;
			}

			&:nth-child(4) {
				width: 12%;
			}

			&:nth-child(5) {
				width: 12%;
			}

			&:nth-child(6) {
				width: 12%;
			}

			&:nth-child(7) {
				width: 15%;
			}
		}

		& td.cost span {
			display: inline;
			color: var(--mid-grey);
			text-decoration: line-through;
		}
	}
}

main.portal section#edTechProSetup {
	& form {
		grid-template-areas:
			'instance school'
			'trust    school'
			'trust    school';

		& fieldset {
			&#instance {
				grid-area: instance;
			}

			&#trust {
				grid-area: trust;
			}

			&#school {
				grid-area: school;
			}

			& #instance-label {
				margin: 2vh 0;
			}

			> .radioRow {
				display: flex;
				flex-direction: row;
				justify-content: space-between;

				&#hosting label {
					width: 27%;
				}

				&#operation {
					width: 100%;
					margin: 0 auto;
					justify-content: space-between;
				}

				&#schoolType,
				&#licenceType {
					width: 80%;

					& label {
						width: 10vw;
					}
				}
			}

			& #trustDetails {
				& .text-input {
					visibility: hidden;
				}

				> span {
					position: absolute;
					top: 50%;
					visibility: collapse;
				}
			}

			& select[name='clientId'] + .ss-main {
				width: 80%;
			}
		}
	}

	> div {
		display: flex;
		justify-content: left;

		& p {
			font: var(--text-font);
			align-content: center;
			margin: auto 0 auto 2vw;
		}

		& a {
			padding-top: 0.5vh;
			margin: auto 1vw;
		}
	}
}

main.portal section#support {
	& table {
		& th,
		& td {
			text-align: start;
		}

		& th {
			&:nth-child(1) {
				width: 10%;
			}

			&:nth-child(2) {
				width: 70%;
			}

			&:nth-child(3) {
				width: 20%;
			}
		}

		& td:nth-child(3) {
			display: flex;
			flex-direction: row;

			& .indicator {
				margin: 0 1vw 0 0;

				&.pending {
					background: none;
					color: var(--green);
				}
			}
		}
	}
}

main.portal #support-ticket {
	& .attachment {
		display: grid;
		grid-template-areas: 'a b' 'a c';
		border: var(--grey-border);
		border-radius: 5px;
		padding: 1vh 1.2vw 1vh 0.5vw;
		background: #fff;
		position: relative;

		& i:not(.remove) {
			grid-area: a;
			font-size: 1.5vw;
			align-content: center;
		}

		& span:first-of-type {
			grid-area: b;
			color: var(--uc-blue);
		}

		& span:last-of-type {
			grid-area: c;
			font-weight: 300;
		}

		& i.remove {
			position: absolute;
			top: 0.2vh;
			right: 0.1vw;
			color: #a2a2a2;
			cursor: pointer;
		}
	}

	& form {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 85%;

		> * {
			margin: 1vh 0;
		}

		& input[name='subject'] {
			width: 50%;
		}

		& textarea {
			border: var(--grey-border);
			border-radius: 5px;
			max-width: 100%;
			min-width: 100%;

			&:focus-visible,
			&:focus {
				outline: none;
				border-color: var(--uc-blue);
			}
		}

		& #attachments {
			position: relative;
			border: dashed 3px var(--light-grey);
			border-radius: 5px;
			padding: 2vh;

			& input {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				opacity: 0;
				cursor: pointer;
			}

			> div {
				width: 100%;
				display: flex;
				flex-wrap: wrap;
				gap: 1vh;

				& p {
					font: var(--text-font);
					color: var(--mid-grey);
					font-weight: 500;
				}
			}
		}

		& input[type='submit'] {
			width: fit-content;
		}
	}

	& #status {
		display: flex;
		flex-direction: row;
		justify-content: start;
		font: var(--large-text-font);
		margin-bottom: 2vh;

		> * {
			align-content: center;
		}

		& p {
			margin-right: 1vw;

			&:first-of-type {
				font-weight: 400;
			}
		}

		& .indicator {
			margin: auto 1vw auto 0;
		}

		& .pending {
			background: none;
			color: var(--green);
		}

		& button {
			font: var(--text-font);
		}
	}

	& #conversation {
		display: flex;
		flex-direction: column;
		flex-direction: column;

		> div {
			display: flex;
			flex-direction: column;
			width: 85%;
			border: var(--grey-border);
			border-radius: 5px;
			margin: 2vh 0;
			padding: 2vh 1vw;

			&.agent {
				background-color: #f7f7f7;
			}

			&.customer {
				background: #fff;
			}

			> * {
				margin: 1vh 0;
			}

			& header {
				font: var(--large-text-font);
				width: fit-content;

				& i {
					margin-right: 0.5vw;
				}
			}

			& .emails {
				font-weight: 400;
			}

			& p {
				font: var(--small-text-font);
			}

			& .attachments {
				width: fit-content;
				display: flex;
				flex-direction: row;
				justify-content: space-between;

				& .attachment:not(:first-of-type) {
					margin-left: 1vw;
				}
			}
		}
	}
}

main.portal label.portalCheckbox {
	border: solid 1px var(--portal-grey);
	border-radius: 5px;
	padding: 1vh 1vw;
	cursor: pointer;
	text-align: center;
	align-content: center;
	user-select: none;

	& input {
		display: none;
	}

	&:has(input:checked),
	&:has(input:active) {
		background: var(--uc-blue);
		color: white;
	}

	&:has(input:active) {
		background: var(--uc-blue);
		color: white;
		opacity: 0.7;
	}
}

#portalSplash {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100vw;
	height: 100vh;
	z-index: 200;
	position: fixed;
	background: rgb(255 255 255 / 70%);
	top: 0;

	& * {
		margin: 0 auto;
		font-size: 3vw;
		background: linear-gradient(to right, #000 0%, var(--uc-blue) 50%);
		background-clip: text;
		-webkit-text-fill-color: transparent;
		max-width: 75%;
		text-align: center;
	}

	& i {
		font-size: 4vw;
	}
}

#notification {
	position: fixed;
	z-index: 1001;
	top: -10vh;
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	border: none;
	padding: 0;
	background: none;

	& div {
		background: white;
		border: solid 0.1vh var(--portal-grey);
		color: var(--text-grey);
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		padding: 2vh 1vw;
		font-size: 2vh;
		line-height: 2vh;

		&.error {
			border-color: red;

			& .fa-circle-exclamation {
				color: red;
			}
		}

		&.success {
			border-color: var(--green);

			& .fa-circle-check {
				color: green;
			}
		}

		> * {
			margin: 0 1vw;
		}

		.fa-xmark {
			cursor: pointer;
		}
	}
}

@keyframes gradientIn {
	0% {
		background-position: 20% 50%;
	}

	100% {
		background-position: 70% 50%;
	}
}

@keyframes gradientOut {
	0% {
		background-position: 70% 50%;
	}

	100% {
		background-position: 20% 50%;
	}
}

.gradient {
	height: 0.35vh;
	background: var(--portal-gradient);
}

.marquee p {
	position: absolute;
	width: min-content;
	height: 100%;
	margin: 0;
	text-align: center;
	animation: marquee 10s linear infinite;
}

@keyframes marquee {
	0% {
		transform: translateX(0);
	}

	48% {
		transform: translateX(-100%);
		opacity: 1;
	}

	49% {
		transform: translateX(-100%);
		opacity: 0;
	}

	50% {
		transform: translateX(100%);
		opacity: 0;
	}

	51% {
		opacity: 1;
	}

	100% {
		transform: translateX(0);
	}
}

#store {
	min-height: 100vh;
	padding: 0;
	width: 100%;

	& .blue {
		transition: all 0.15s ease-in-out;
		padding: 1vh 2.5vh;
		font-weight: 500;
		font-size: 1.65vh;
		color: white;
		background: linear-gradient(to right, #000 0%, var(--uc-blue) 50%);
		border: none;
		border-radius: 0.1vh;
		cursor: pointer;
		background-size: 200% 100%;
		animation: gradientOut 0.25s linear forwards;
		margin: 0;

		&:hover {
			color: #fff;
			animation: gradientIn 0.25s linear forwards;
		}

		&.disabled {
			background: var(--portal-grey);
			color: var(--text-grey);
		}
	}

	& #productLoading {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		position: absolute;
		font-size: 4vw;
		width: 100%;

		& span {
			font-size: 3vw;
			text-align: center;
		}
	}

	& .qty {
		display: flex;
		flex-direction: row;
		justify-content: center;
		font: var(--text-font);
		text-align: center;

		& input::-webkit-outer-spin-button,
		& input::-webkit-inner-spin-button {
			appearance: none;
			margin: 0;
		}

		& input[type='number'] {
			appearance: textfield;
			border: none;
			text-align: center;
			width: 3em;
			margin: 0 auto;
		}

		& input[type='number']:focus-visible {
			outline: none;
		}

		& .qty-button {
			padding: 0 0.5em;
			width: 100%;
			height: 100%;
			font-weight: 500;
			display: flex;
			flex-direction: column;
			justify-content: center;
		}

		& .qty-button:hover {
			cursor: pointer;
			color: white;
			background: var(--uc-blue);
		}

		:read-only {
			cursor: not-allowed;
		}
	}

	& dialog.tcx {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 20vh;
		height: max-content;
		width: 40%;
		margin: auto;
		z-index: 100;
		padding: 2vw;
		box-shadow: 0 0 15px #00000029;
		border: 0.1vh solid var(--portal-grey);

		> * {
			margin: 1vh 0;
		}

		& i.fa-circle-info {
			color: var(--uc-blue);
			margin: auto 0;
			padding-left: 1vw;
		}

		& .required::after {
			content: '*';
			color: red;
			font-size: 2vh;
			position: absolute;
			top: 0;
			right: -2vh;
		}

		> button {
			position: absolute;
			top: 1vw;
			right: 1vw;
			border: none;
			background: none;
		}

		& div {
			display: flex;
			flex-direction: row;
			position: relative;
		}

		& label {
			padding-right: 1vw;
			width: max-content;
		}

		& #details {
			min-width: 100%;
		}

		& #opts {
			justify-content: space-between;
			max-width: unset;
			width: 100%;

			& label {
				width: 45%;
				position: relative;
			}

			& b {
				right: 2vw;
			}
		}

		& input[type='text'] {
			border: var(--grey-border);
			padding: 0 0.5vw;
		}

		& p a {
			color: var(--tcx);
		}

		& ul {
			& li {
				list-style-image: none;
				color: red;
				font: var(--tiny-text-font);
			}
		}

		& #hosted {
			flex-direction: column;
			min-width: 100%;

			& div {
				min-width: 100%;
				height: 7vh;
				position: relative;
				padding: 1vh 0;

				& input {
					opacity: 0;
					position: fixed;
					width: 0;
				}

				& input:checked + i {
					color: white;
				}

				& label {
					display: flex;
					padding: 0.5vh 1vw;
					font-family: sans-serif, Arial;
					font-size: 0.8vw;
					width: 100%;
					cursor: pointer;
					flex-direction: row;
					justify-content: space-between;
					height: 100%;
					background: #ececec;

					& p {
						display: flex;
						flex-direction: column;
						width: 80%;
						justify-content: space-around;
						font-size: 0.8vw;

						& span {
							font-size: 0.6vw;
						}
					}

					& i {
						display: flex;
						flex-direction: column;
						justify-content: center;
					}
				}

				& input:checked + label,
				& input:active + label {
					background: var(--uc-blue);
					color: white;
				}

				& input:active + label {
					background: var(--uc-blue);
					color: white;
					opacity: 0.7;
				}
			}
		}

		& #summary {
			& tr {
				&:has(td:nth-of-type(3)) td {
					width: 33%;
				}

				&:has(td:nth-of-type(4)) td {
					width: 25%;
				}
			}

			& td {
				text-align: center;
			}

			& #qty > div {
				margin: 0 auto;
			}

			& thead td {
				font-weight: 500;
			}

			& .qty {
				margin: 0 auto;
			}

			& .qty-button {
				padding: 0 0.5vh;
			}

			& input[type='number'] {
				width: 2em;
				border: solid 2px var(--portal-grey);
				padding: 0.5vh 0;
			}

			& #hosted {
				display: flex;
				flex-direction: row;
				justify-content: center;

				& input {
					&:checked {
						box-shadow: inset 0 0 0 20px var(--uc-blue);
					}
				}
			}

			& a {
				padding: 1.2vh 0;
				width: 100%;
				height: 100%;
				display: block;

				& i {
					pointer-events: none;
				}
			}
		}

		& a {
			text-align: center;
		}

		& .disabled {
			background: #ececec;
			color: var(--text-grey);
		}

		& #dialogLoading {
			display: flex;
			flex-direction: column;
			justify-content: center;
			position: absolute;
			top: 0;
			left: 0;
			min-width: 100%;
			height: 100%;
			background: #fff;
			margin: 0;
			border-radius: 20px;
			text-align: center;
			z-index: 105;

			& i {
				font-size: 5vh;
			}
		}
	}

	& dialog#basket {
		display: flex;
		flex-direction: column;
		justify-content: start;
		position: fixed;
		top: 10vh;
		margin: 0 0 0 auto;
		padding: 0;
		border: none;
		border-left: solid 4px var(--portal-grey);
		z-index: 110;
		height: 90vh;
		width: 0;
		overflow: hidden;

		> *:not(header) {
			padding: 0 1vw;
		}

		& header {
			display: flex;
			flex-direction: row;
			justify-content: space-between;
			cursor: default;
			color: white;
			border: none;
			animation: none;
			font-size: 2.4vh;
			min-width: 20vw;
			padding: 0;
			background-image: none;

			&:hover {
				animation: none;
			}

			& span {
				margin-left: 1vw;
			}

			& a {
				color: white;
				cursor: pointer;
				margin: auto 0;
			}
		}

		& table {
			border-spacing: 0 2vh;
			width: 100%;

			& thead tr {
				& th {
					font: var(--small-text-font);
					font-weight: 500;
					color: var(--dark-grey);
					text-align: center;

					&:first-of-type {
						text-align: left;
					}
				}
			}

			& tbody {
				& tr {
					margin: 1vh 0;

					& td {
						color: var(--dark-grey);
						text-align: center;

						&:first-child {
							text-align: left;
						}

						& .itemloading {
							display: none;
						}

						& i {
							margin: auto;
						}

						& .info {
							display: flex;
							flex-direction: column;
							justify-content: space-between;

							& span {
								display: flex;
								flex-direction: row;
								justify-content: start;

								& p {
									padding-right: 1vw;
								}

								& p.base {
									text-decoration: line-through;
								}

								& p:not(.base) {
									font-weight: 500;
									color: var(--uc-blue);
								}
							}
						}

						& input {
							border: var(--grey-border);
						}

						& .qty {
							margin: auto 0;

							& .qty-button {
								transition:
									background 0.2s ease-in-out,
									color 0.2s ease-in-out;
								border-radius: 20px;
								margin: auto 1vw;

								&:hover {
									cursor: pointer;
									color: white;
									background: var(--uc-blue);
									border-radius: 20px;
								}
							}
						}

						& .remove-item {
							cursor: pointer;
							transition:
								background 0.2s ease-in-out,
								color 0.2s ease-in-out;
							border-radius: 20px;
							color: black;
						}

						& .remove-item:hover {
							cursor: pointer;
							color: white;
							background: var(--uc-blue);
							border-radius: 20px;
							padding: 1vh 1vw;
						}

						&:has(.qty) {
							display: flex;
							flex-direction: row;
							justify-content: center;
							min-height: 3em;
						}
					}
				}
			}
		}

		> div {
			display: flex;
			flex-direction: row;
			justify-content: space-between;
			width: 100%;
			color: white;

			&#items {
				max-height: 70vh;
				overflow-x: hidden;
				overflow-y: auto;
				border-top: solid 1px var(--portal-grey);
				border-bottom: solid 1px var(--portal-grey);
				padding: 0 0.5vw;
				margin: 0;
				width: 50vw;
			}

			&:not(.blue):not(.gradient) {
				margin: 1vh 0;
			}

			&:first-of-type {
				padding: 1vh 1vw;

				& span,
				& i {
					color: white;
					font-size: 1.2vw;
					padding-right: 1vw;
				}
			}

			&:last-of-type {
				margin-bottom: 1vh;
			}

			& div:not(.qty) {
				display: flex;
				flex-direction: row;
				height: min-content;
				margin: auto 0;
				width: 100%;

				& button {
					height: 5vh;

					&.yellow-button {
						margin: 0;
						border: 0;
						transition:
							background 0.2s ease-in-out,
							color 0.2s ease-in-out;

						&:hover {
							background: black;
							color: var(--yellowgrid);
						}

						&.disabled {
							background: var(--portal-grey);
							color: var(--text-grey);
						}
					}
				}
			}

			& a:not(.link) {
				display: flex;
				text-align: right;
				cursor: pointer;
				color: var(--text-grey);
				flex-direction: column;
				justify-content: center;
				text-decoration: none;

				&.blue {
					color: white;
					text-decoration: none;
					min-width: max-content;
				}
			}
		}

		& span#items {
			display: flex;
			flex-direction: row;
			justify-content: center;
			font: var(--large-text-font);
			padding: 2vh 0;
		}

		& #totals {
			display: flex;
			flex-direction: row;
			justify-content: space-between;
			margin-left: auto;
			color: var(--uc-blue);
			text-align: right;
		}
	}

	& #basketUnderlay {
		position: fixed;
		width: 100%;
		height: 100%;
		z-index: 20;
		background: var(--dark-grey);
		top: 0;
		left: 0;
		opacity: 0;
	}

	& header {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		margin: 0;
		padding: 1vh 0;
		height: 8vh;
		line-height: 8vh;
		position: sticky;
		top: 10vh;
		z-index: 20;
		background: var(--background-grey);

		& h1 {
			font-size: 2vw;
			margin: 0;
			display: flex;
			flex-direction: column;
			justify-content: center;
		}

		& button {
			background: none;
			border: none;
			position: relative;
			font-size: 2.4vw;
			color: black;
			cursor: pointer;

			& i {
				transition: 0.4s;
			}

			& i:hover {
				color: var(--uc-blue);
				transition: 0.4s;
			}

			& div {
				position: absolute;
				bottom: 0;
				z-index: 2;
				color: white;
				background: var(--uc-blue);
				font-size: 2vh;
				border-radius: 50%;
				width: 3vh;
				height: 3vh;
				line-height: 3vh;
				right: 0;
				margin: auto;
			}
		}
	}

	> #top {
		background: var(--background-grey);
		box-shadow: rgb(252 252 252) 0 0 1vh 1vh;

		& nav {
			display: flex;
			flex-direction: column;
			width: 100%;
			position: relative;

			> * {
				color: var(--text-grey);
				font: var(--text-font);
				font-weight: 400;
			}

			&.category,
			& .drop {
				transition: color 0.2s ease-in-out;
			}

			& .category.active,
			& .drop.active {
				color: var(--uc-blue);
				border-bottom: solid 0.5vh var(--uc-blue);
			}

			& .category:hover {
				color: var(--uc-blue);
				cursor: pointer;
			}

			& fieldset {
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				border: none;
				margin: 0;
				padding: 0;
				height: 100%;
				position: relative;
				background: var(--portal-grey);

				& * {
					align-self: center;
					margin: 0;
				}

				> div {
					width: 40%;
					padding: 0;
				}

				& .blue {
					height: 100%;
					line-height: 3vh;

					& a {
						color: white;
					}
				}

				> div:not(.blue) {
					height: 100%;
				}

				& i {
					padding: 0 1vw;
					font-size: 1vw;
					margin: auto 0;
					pointer-events: none;
				}

				> * {
					display: flex;
					flex-direction: row;
					justify-content: space-around;
				}

				& .category {
					display: flex;
					flex-direction: column;
					justify-content: center;
					height: min-content;
					border-bottom: solid 0.5vh var(--portal-grey);
					border-top: solid 0.5vh var(--portal-grey);
					cursor: pointer;
					min-width: max-content;
					padding: 1vh 1vw;
					transition: color 0.2s ease-in-out;
				}

				& #promos {
					flex-direction: row;
					border: none;
					width: 20%;
					height: 100%;
					align-items: center;

					&.active {
						color: white;
					}
				}

				& #promos:hover {
					color: white;
				}

				& #search {
					flex: 1;
					width: 20%;
					height: 100%;
					display: flex;
					flex-direction: row;
					justify-content: end;
					gap: 16px;
					padding-inline: 0.5vw 1vw;
					color: #000;

					& i {
						cursor: pointer;
					}
				}

				& #searchContainer {
					flex: 1;

					& .input-field {
						width: 100%;
						height: 3.5vh;
						border: none;
						background: white;
						font: var(--text-font);
						padding: 2vh 1vw;

						&:focus-visible {
							border: none;
							outline: none;
						}
					}

					& ul {
						overflow-y: scroll;
						max-height: 20vh;
						position: absolute;
						padding: 0;
						width: 100%;
						z-index: 101;
						top: 4vh;
					}

					& li {
						list-style-image: none;
						background: var(--portal-grey);
						color: black;
						width: 100%;
						display: block;
						z-index: 110;
						position: relative;
						padding: 0.5vh 0.5vw;
						cursor: pointer;
					}

					& li:hover {
						background-color: var(--uc-blue);
						color: white;
					}

					height: min-content;
					border: none;
					background: none;
					position: relative;
					padding: 0;
					display: flex;
					justify-content: center;
				}

				&#bottom {
					display: flex;
					flex-direction: column;
					justify-content: space-between;
					background: none;
					position: absolute;
					top: 5vh;
					margin: 0 27.5%;
					width: min-content;
					z-index: 1;

					& div {
						background: var(--portal-grey);
						width: 7vw;
						text-align: center;
					}
				}
			}

			height: min-content;
		}

		& div#mid {
			display: flex;
			flex-direction: row;
			justify-content: space-between;
			max-height: min-content;
			padding-top: 2vh;
			background: var(--background-grey);

			& #info {
				display: flex;
				flex-direction: column;
				justify-content: center;

				& h2 {
					border: none !important;
					margin-bottom: 6%;
					font: var(--subheading-font);
					font-weight: 400;
					color: var(--text-grey);
				}

				& div {
					display: flex;
					flex-direction: row;

					& a {
						margin-right: 1vw;

						> i {
							padding-left: 0.5vw;
						}
					}

					& div {
						display: flex;
						flex-direction: column;
						justify-content: center;
						padding-left: 0.5vw;

						& i {
							font-size: 1vw;
						}
					}
				}
			}

			& #portalFilters {
				display: flex;
				flex-direction: row;
				justify-content: end;
				margin: 0 0 auto;

				& label {
					margin: 0 1vw;
					align-self: center;
					text-wrap: nowrap;
					font: var(--text-font);
				}

				& label[for='subcategory'],
				& select[name='subcategory'] {
					display: none;
				}

				> div {
					width: 15vw;
				}
			}
		}
	}

	& #products {
		display: grid;
		grid-template-columns: repeat(4, 23.5%);
		width: 100%;
		column-gap: 2%;
		row-gap: 4vh;
		margin: 2vh 0;
		position: relative;

		& > p {
			grid-column: 1 / -1;
			text-align: center;
			font: var(--subheading-font);
		}

		& .product {
			display: flex;
			flex-direction: column;
			height: 40vh;
			position: relative;
			color: var(--text-grey);

			.name {
				font: var(--large-text-font);
				font-weight: 700;
				height: 7%;
				text-overflow: ellipsis;
				white-space: nowrap;
				overflow: hidden;
				display: inline-block;
				position: relative;
			}

			& .stockDetails {
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				height: 10%;

				& .stock {
					font: var(--tiny-text-font);
					color: green;

					&.out {
						color: red;
					}
				}

				& .stockQ {
					color: grey;
					font: var(--small-text-font);
				}
			}

			& .tile-wrap {
				box-shadow: rgb(0 0 0 / 16%) 0 0.5vh 2vh;
				border-radius: 5px;
				height: 80%;
				position: relative;
				display: flex;
				flex-direction: column;
				justify-content: space-between;

				& .gradient {
					border-radius: 5px 5px 0 0;
				}

				& .img-wrap {
					width: 100%;
					height: 85%;
					top: 5px;
					position: absolute;
					display: flex;
					flex-direction: row;
					justify-content: center;

					& img {
						width: auto;
						height: 100%;
						padding: 5% 0;
						margin: 0 auto;
						max-width: 100%;
					}
				}

				& .costDetails {
					display: flex;
					flex-direction: row;
					justify-content: space-between;
					background: var(--portal-grey);
					height: 15%;
					border-radius: 0 0 5px 5px;

					& .price {
						margin: auto 0;
						display: flex;
						flex-direction: revert;
						justify-content: center;
						text-align: center;
						width: 20%;
						font: var(--small-text-font);
						font-weight: 400;
					}

					& .qty {
						width: 45%;

						& .qty-button {
							color: var(--text-grey);
							border-radius: 20px;
							height: 50%;
							margin: auto 0;
							width: min-content;
							padding: 1.5vh 0.5vw;
						}

						& .qty-button:hover {
							background: var(--uc-blue);
							color: white;
						}

						& input {
							appearance: textfield;
							border: none;
							text-align: center;
							width: 5em;
							height: 70%;
							margin: auto 0.5vw;
							color: var(--text-grey);
							font: var(--small-text-font);
						}
					}

					& button {
						width: 30%;

						& i {
							pointer-events: none;
						}
					}
				}
			}

			&.tcx * {
				cursor: pointer;
			}
		}
	}
}

.ribbon {
	width: 150px;
	height: 150px;
	overflow: hidden;
	position: absolute;
	z-index: 50;

	&::before,
	&::after {
		position: absolute;
		content: '';
		display: block;
		border: 5px solid darkgreen;
	}

	& span {
		position: absolute;
		display: block;
		width: 225px;
		padding: 15px 0;
		background-color: var(--green);
		box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
		color: #fff;
		font-weight: 600;
		text-shadow: 0 1px 1px rgb(0 0 0 / 20%);
		text-transform: uppercase;
		text-align: center;
	}
}

.ribbon-top-left {
	top: -10px;
	left: -10px;

	&::before,
	&::after {
		border-top-color: transparent;
		border-left-color: transparent;
	}

	&::before {
		top: 0;
		right: 0;
	}

	&::after {
		bottom: 0;
		left: 0;
	}

	& span {
		right: -25px;
		top: 30px;
		transform: rotate(-45deg);
	}
}

dialog#sbc {
	display: flex;
	flex-direction: column;
	position: fixed;
	top: 20vh;
	height: min-content;
	width: 50vw;
	margin: auto;
	z-index: 100;
	box-shadow: 0 0 15px #00000029;
	border: 0.1vh solid var(--portal-grey);
	overflow-y: scroll;
	max-height: 50vh;

	> a {
		display: flex;
		flex-direction: row;
		justify-content: right;
		width: min-content;
		margin-left: auto;
	}

	> p {
		font-size: 1.2vw;
	}

	& form {
		padding: 0;
		margin: 1vh 0;
		background: white;

		& * {
			margin: 0;
			padding: 0;
		}

		& h2 {
			display: flex;
			flex-direction: row;
			border: none;
			font-weight: 500;
			color: var(--uc-blue);

			& a {
				margin: auto 0;
				padding-left: 1vw;
				font-weight: 500;
				color: var(--uc-blue);

				& i {
					pointer-events: none;
				}
			}
		}

		& h3 {
			display: flex;
			justify-content: space-between;

			> p {
				margin: auto 0;
			}

			> div {
				display: flex;
				flex-direction: row-reverse;
				width: 50%;
				justify-content: space-between;

				& div {
					display: flex;
					width: max-content;
					flex-direction: column;
					justify-content: center;
					position: relative;
					left: -1vw;

					& input {
						opacity: 0;
						position: fixed;
						width: 0;
					}

					& input:checked + i {
						color: white;
					}

					& label {
						display: flex;
						font-family: sans-serif, Arial;
						font-size: 0.8vw;
						width: 100%;
						cursor: pointer;
						flex-direction: row;
						justify-content: space-between;
						height: min-content;
						margin: auto 0;
						padding: 0.5vh 0.5vw;
						background: #ececec;

						& p {
							display: flex;
							flex-direction: column;
							width: max-content;
							justify-content: space-around;
							font-size: 0.8vw;
							padding-right: 1vw;

							& span {
								font-size: 0.6vw;
							}
						}

						& i {
							display: flex;
							flex-direction: column;
							justify-content: center;
						}
					}

					& input:checked + label,
					& input:active + label {
						background: var(--uc-blue);
						color: white;
					}

					& input:active + label {
						background: var(--uc-blue);
						color: white;
						opacity: 0.7;
					}
				}
			}
		}

		& fieldset {
			display: flex;
			flex-direction: row;
			justify-content: space-between;
			border: none;

			&:first-of-type input {
				width: 48%;
			}

			&:last-of-type input {
				width: 24%;
			}

			& input {
				padding: 0.5vh;

				&.error {
					border: solid 1px red;

					&:focus-visible {
						outline: solid 1px red;
					}
				}

				&:read-only {
					background: #ececec;
					border: solid 1px var(--portal-grey);
				}
			}
		}

		> div {
			display: flex;
			flex-direction: column;
			width: 100%;

			> * {
				padding: 1vh 0;
			}

			& button {
				width: 50%;
				margin: 0 auto;
			}
		}
	}

	> div {
		display: flex;
		justify-content: center;
		position: sticky;
		bottom: 0;
		background: white;
		z-index: 1;
		padding-bottom: 2vh;

		& button {
			padding: 0.5vw 1vw;
			margin-top: 1vh;
		}
	}

	padding: 2vw 2vw 0;
}

#checkout {
	width: 100%;

	& .required {
		position: relative;

		& label:has(input[name='orderNumber']) {
			width: 100%;
		}

		&::after {
			content: '*';
			color: red;
			font-size: 0.8vw;
			position: absolute;
			right: 0;
		}
	}

	& .blue {
		transition: all 0.15s ease-in-out;
		font-weight: 500;
		color: white;
		background: linear-gradient(to right, #000 0%, var(--uc-blue) 50%);
		animation: gradientOut 0.25s linear forwards;
		margin: 0;

		&:hover {
			color: #fff;
			animation: gradientIn 0.25s linear forwards;
		}

		&.disabled {
			background: var(--portal-grey);
			color: var(--text-grey);
		}
	}

	& #underlay {
		display: block;
		position: absolute;
		top: 0;
		width: 100%;
		height: 100%;
		opacity: 0.5;
		background: white;
	}

	& header {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		margin: 0;
		padding: 1vh 0;
		height: 8vh;
		line-height: 8vh;

		& h1 {
			font-size: 2vw;
			margin: 0;
			display: flex;
			flex-direction: column;
			justify-content: center;
		}

		& #checkoutBack {
			font-size: 1vw;
			border: none;
			border-radius: 4px;
			padding: 1vh 1vw;
			line-height: 1vw;
			height: min-content;
			margin: auto 0;
			cursor: pointer;

			&:hover {
				background: #d7d7d7;
			}

			& i {
				padding-right: 1vw;
			}
		}
	}

	& .text-input,
	& .select-input {
		margin-bottom: 1vw;
	}

	& .ss-main {
		width: 95%;
	}

	& input {
		width: 95%;
	}

	> div {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		position: relative;

		> div {
			display: flex;
			flex-direction: column;
			justify-content: space-between;
			box-shadow: rgb(0 0 0 / 16%) 0 1px 4px;
			width: 32%;
			position: relative;
			transition: 1s;
			min-height: 70vh;

			&.fade {
				opacity: 0.2;
			}

			& h2 {
				border: none;
				height: 5%;
				margin-bottom: 5%;
				padding: 0;
				text-transform: none;
				font: var(--subheading-font);
				font-weight: 400;
				color: var(--text-grey);
			}

			& .gradient {
				border-radius: 5px 5px 0 0;
			}

			> div:not(.gradient) {
				display: flex;
				flex-direction: column;
				justify-content: space-between;
				padding: 2vh 1vw;
				height: 99%;
				position: relative;
			}

			&.nodelivery {
				width: 45%;
			}

			&#summary {
				& #items {
					height: 60%;
					overflow-x: hidden;
					overflow-y: auto;
					border-top: solid 1px var(--portal-grey);
					border-bottom: solid 1px var(--portal-grey);

					> span {
						margin: auto;
						display: flex;
						flex-direction: column;
						justify-content: center;
						height: 100%;
						width: 100%;
						text-align: center;
						font-size: 1.2vw;
						font-weight: 300;
					}

					& .qty {
						display: flex;
						flex-direction: row;
						font: var(--text-font);
						text-align: center;
						margin: auto 0;

						& input::-webkit-outer-spin-button,
						& input::-webkit-inner-spin-button {
							appearance: none;
							margin: 0;
						}

						& input[type='number'] {
							appearance: textfield;
							border: solid 1px var(--portal-grey);
							text-align: center;
							width: 3em;
							margin: 0 auto;
							background: none;
						}

						& input[type='number']:focus-visible {
							outline: none;
						}

						& .qty-button {
							padding: 0 0.5em;
							height: min-content;
							font-weight: 500;
							display: flex;
							flex-direction: column;
							justify-content: center;
							transition:
								background 0.2s ease-in-out,
								color 0.2s ease-in-out;
							border-radius: 20px;
							margin: auto 0.2vw;
							border: none;
						}

						& .qty-button:hover {
							cursor: pointer;
							color: white;
							background: var(--uc-blue);
						}

						:read-only {
							cursor: not-allowed;
						}
					}

					& table {
						border-spacing: 0 2vh;
						width: 95%;

						& thead {
							font-weight: bold;
							position: sticky;
							top: 0;
							line-height: 5vh;

							& tr {
								& td {
									background: var(--background-grey);

									&:not(:first-child) {
										text-align: center;
									}
								}
							}
						}

						& tbody {
							& tr {
								margin: 1vh 0;

								& td {
									text-align: center;
									font: var(--small-text-font);

									& .itemloading {
										visibility: hidden;
										height: 0 !important;
									}

									& .info {
										display: flex;
										flex-direction: column;
										justify-content: space-between;

										& span {
											display: flex;
											flex-direction: row;
											justify-content: start;

											& p {
												padding-right: 1vw;
											}

											& p.base {
												text-decoration: line-through;
											}

											& p:not(.base) {
												font-weight: 500;
												color: var(--uc-blue);
											}
										}
									}

									& input {
										border-bottom: var(--grey-border);
									}

									&:first-child {
										text-align: left;
									}

									&:last-child {
										cursor: pointer;
										transition:
											background 0.2s ease-in-out,
											color 0.2s ease-in-out;
										border-radius: 20px;
									}

									& .qty {
										& i:hover {
											cursor: pointer;
											color: white;
											background: black;
											border-radius: 20px;
											padding: 1vh 1vw;
										}
									}
								}

								& .remove-item {
									cursor: pointer;
									transition:
										background 0.2s ease-in-out,
										color 0.2s ease-in-out;
									border-radius: 20px;
									color: black;
									padding: 1vh 1vw;
								}

								& .remove-item:hover {
									cursor: pointer;
									color: white;
									background: var(--uc-blue);
								}
							}
						}
					}
				}

				& #tcxProcessDate {
					display: flex;
					flex-direction: row;
					justify-content: space-between;
					font-size: 0.7vw;
					margin: auto 0;

					& label {
						display: flex;
						flex-direction: row;
						justify-content: left;

						& i {
							color: black;
						}
					}

					& input {
						width: 30%;
					}
				}

				& #sbcConfig {
					display: flex;
					flex-direction: row;
					justify-content: center;
					font-size: 0.9vw;
					margin: auto 0;
					padding: 1vh 1vw;
					background: #ececec;
					width: 100%;

					& * {
						pointer-events: none;
					}

					& p {
						margin: auto 0;
					}

					& i {
						padding-left: 1vw;
						font-size: 1.4vw;
					}
				}

				& #sbcConfig:hover {
					background: #d7d7d7;
					cursor: pointer;
				}

				& #provisioningUrl {
					padding: 0.5vw 0;
					width: 100%;

					& input {
						width: 100%;

						&.invalid {
							border-color: red;
						}
					}
				}
			}

			&#delivery {
				&.nodelivery {
					display: none;
				}

				& h3 {
					font: var(--large-text-font);
				}

				& #address,
				& #service {
					display: grid;
					grid-template-columns: 49% 49%;
					column-gap: 2%;

					& label {
						margin: 0;

						&.required input,
						&.required > div {
							border-color: red;

							&.valid {
								border-color: var(--portal-grey);
							}
						}

						& input,
						& .ss-main {
							width: 95%;
						}
					}

					> .full-width {
						grid-column: span 2;
						width: 100%;

						& .ss-main {
							width: 97.5%;
						}
					}

					& .text-input.horizontal {
						flex-direction: row;
						min-width: 98%;
					}

					& input[name='deliveryDate'] {
						width: min-content;
					}

					& .hasDatepicker {
						z-index: 100 !important;
					}
				}
			}

			&#payment {
				& #noOrder {
					display: flex;
					flex-direction: column;
					justify-content: space-around;

					& i {
						width: 100%;
						text-align: center;
						font-size: 2vw;
						margin: 1vh 0;
					}

					& p {
						font: var(--tiny-text-font);

						& a {
							font: var(--tiny-text-font);
							display: inline-block;
						}
					}

					& table {
						margin: 1vh 0;

						& td {
							font: var(--tiny-text-font);
						}
					}
				}

				#method {
					display: flex;
					flex-direction: row;
					height: min-content;
					justify-content: space-between;

					& input[type='radio'] {
						opacity: 0;
						position: fixed;
						width: 0;
					}

					& label {
						width: max-content;
						display: inline-block;
						background-color: #ececec;
						padding: 10px 20px;
						font-family: sans-serif, Arial;
						font-size: 16px;
						cursor: pointer;
					}

					& input[type='radio']:checked + label {
						background-color: var(--uc-blue);
						border-color: black;
						color: white;
					}

					& input[type='radio']:active + label {
						background: #12b8c9;
						color: white;
					}
				}

				& #paymentGateway {
					display: flex;
					flex-direction: column;
					justify-content: space-between;

					& #cards {
						display: flex;
						flex-direction: row;
						justify-content: space-between;
						max-width: 100%;
						height: 15%;

						& img {
							max-width: 20%;
							height: max-content;
							margin: auto 0;
							padding: 1vh 0;
							max-height: 100%;
						}
					}

					#cardDetails {
						display: grid;
						grid-template-columns: 49% 49%;
						column-gap: 2%;

						& label {
							margin: 0;

							&.full-width {
								grid-column: span 2;
								width: 100% !important;

								& .ss-main {
									width: 97.5%;
								}
							}

							& input {
								position: relative;
								margin: 0;
								border: var(--grey-border);
								padding: 0.5vh 0.5vw;
								width: 95%;
							}
						}

						> .full-width {
							grid-column: span 2;
							width: 100%;

							& .ss-main {
								width: 97.5%;
							}
						}
					}
				}

				& #purchaseOrder,
				& #paymentGateway {
					display: none;
					height: 60%;

					&.active {
						display: flex;
						flex-direction: column;
						justify-content: space-around;
					}
				}

				#total {
					display: flex;
					flex-direction: row;
					justify-content: space-between;
					font-weight: 300;
					font-size: 1vw;
					color: var(--uc-blue);
					margin: 1vh 0;

					& tbody {
						width: 100%;
						display: flex;
						flex-direction: column;

						& tr {
							width: 100%;
							display: flex;
							flex-direction: row;
							justify-content: space-between;

							& td {
								width: 50%;

								&:last-of-type {
									text-align: right;
								}
							}
						}
					}
				}
			}

			& button {
				height: 7%;
			}

			& #submits {
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				width: 100%;
				height: 7%;

				& button {
					height: 100%;
					width: 45%;
				}
			}
		}
	}
}

#allProducts {
	padding: 8vh 4vw;
	position: relative;

	#store {
		> #top {
			position: relative;
			box-shadow: none;
			z-index: 2;
			background: transparent;

			& nav {
				& fieldset {
					& .blue {
						height: 100%;
						align-items: center;
					}
				}
			}

			& div#mid {
				background: transparent;

				& #filters {
					width: max-content;
					display: flex;
					flex-direction: row;
					justify-content: space-between;

					& label {
						display: flex;
						flex-direction: column;
						justify-content: center;
						padding-right: 2vw;
					}

					> div {
						width: 20vw;
						height: min-content;
						margin: auto 0;
					}
				}
			}
		}

		& #products {
			& .product {
				& .name {
					display: flex;
					flex-direction: row;
					justify-content: space-between;

					& a {
						position: absolute;
						top: 0;
						right: 0;
						padding-left: 1vw;
						background: var(--background-grey);
					}
				}

				& .tile-wrap {
					& img {
						width: auto;
						padding: 0;
						height: 90%;
						margin: auto;
						max-width: 100%;
					}
				}

				& a {
					text-align: center;
				}
			}
		}
	}
}

#yellow-block {
	height: 70vh;
	background: var(--yellowgrid) url('/images/media/backgrounds/clapperboard-transparent.webp') no-repeat;
	background-size: 80% 100%;
	display: flex;

	> div {
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		width: 45%;
		height: 80%;
		margin: auto auto auto 50%;
	}

	& #summary h3 {
		font: var(--subheading-font);
		font-weight: 500;
		text-transform: none;
		margin-bottom: 1vh;
	}

	& #summary p {
		font: var(--text-font);
	}

	& #reviews {
		height: 30vh;
		display: flex;
		flex-direction: column;
		justify-content: space-evenly;
	}

	& #reviews * {
		text-align: left;
	}

	& #reviews li {
		display: flex;
		flex-direction: row;
	}

	& #reviews li div {
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
	}

	& #reviews p {
		font: var(--text-font);
	}

	& #reviews i {
		color: var(--tcx);
		padding-right: 1vh;
	}

	& #reviews span {
		font: var(--small-text-font);
		font-weight: 400;
		margin-top: 1vh;
	}

	& #reviews #bv-slide {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		padding: 0;
		height: 30vh;
	}

	& #reviews #bv-slide #bv-slide-track {
		height: 30vh !important;
		max-width: 100%;
	}

	& #reviews #bv-slide .splide__slide {
		background-color: white;
		color: black;
		border-radius: 20px;
		padding: 1vh 1vw;
		width: 90%;
		opacity: 0.5;
		height: 15vh;
	}

	& #reviews #bv-slide .splide__slide.is-active {
		opacity: 1;
	}

	& #reviews #bv-slide .bv-slide-progress,
	& #reviews #bv-slide .bv-slide-scroll-track {
		background: white;
		width: 1%;
	}

	& #reviews #bv-slide .bv-slide-progress-bar,
	& #reviews #bv-slide .bv-slide-scroll-thumb {
		background: black;
		height: 10%;
		width: 100%;
		position: relative;
	}

	& #bottom {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		height: 20%;
	}

	& #bottom div {
		display: flex;
		flex-direction: row;
	}

	& #bonuses span {
		padding-right: 1vw;
	}

	& #bottom a {
		margin-right: 2vh;
	}

	& #buttons .blue-button:hover {
		color: var(--tcx);
		background-color: #fff;
	}

	& #buttons .black-button:hover {
		color: black;
		background-color: white;
	}
}

.half-wrapper {
	display: flex;
	flex-direction: row;
	height: 92vh;
}

.half-wrapper > .half {
	width: 50vw;
	display: flex;
	flex-direction: column;
}

#tcx-videos-static.half {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: black url('/images/media/backgrounds/branded-videos.webp') no-repeat bottom;
	background-size: 100% 120%;
	padding: 10vh 0 20vh;
	color: var(--light-grey);

	& .vessel {
		display: flex;
		flex-direction: column;
		width: 52%;
		margin-bottom: 6vh;

		& img {
			width: 100%;
		}

		& h1 {
			width: 100%;
			margin: 0;
			text-align: center;
			font-weight: var(--font-weight-bold);
			font-size: 6.5vh;
		}
	}

	& .details {
		display: flex;
		flex-direction: column;
		font-size: 2.4vh;

		> span {
			margin-bottom: 4vh;
			text-align: center;
		}

		> p {
			margin-bottom: 1vh;
		}

		& .checks {
			display: flex;
			flex-direction: row;
			justify-content: center;
			align-items: center;
			gap: 3vh;

			& i {
				color: var(--yellow);
			}
		}
	}
}

#tcx-videos-dynamic.half {
	height: 85vh;
}

.progress-block {
	display: flex;
	flex-direction: column;
	height: 10%;
	width: 80%;
	margin: 0 auto;
}

.counter {
	height: 75%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font: var(--large-text-font);
	font-weight: 400;
}

.progress-steps {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	height: 15%;
}

.progress-steps .step {
	display: block;
	background: #dbdbdb;
	border-radius: 2rem;
	height: 100%;
	width: 25%;
}

.progress-steps .step.active {
	background: var(--tcx);
}

#tcx-videos-dynamic .tcx-videos {
	display: none;
}

#tcx-videos-dynamic .tcx-videos > *:not(.nav, .title-text, .detail-banner) {
	margin: 0 auto;
	width: 90%;
}

#tcx-videos-dynamic .tcx-videos.active {
	display: flex;
	flex-direction: column;
	height: 90%;
	width: 90%;
	margin: 0 auto;
}

#tcx-videos-dynamic .tcx-videos #detail-banner > div {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

#tcx-videos-dynamic .tcx-videos #detail-banner .title-text {
	width: 90%;
	height: 10%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font: var(--large-text-font);
}

#tcx-videos-dynamic .tcx-videos #detail-banner p {
	width: 50%;
	font: var(--text-font);
}

#tcx-videos-dynamic .tcx-videos.active .video-grid {
	width: 100%;
	height: 90%;
	grid-template-columns: 40% 40%;
	margin: 0 auto;
	overflow-y: scroll;
	scrollbar-color: black #ececec;
	scrollbar-width: thin;
	justify-content: space-around;
}

#tcx-videos-dynamic .tcx-videos.active .video-grid::-webkit-scrollbar {
	width: 0.5vw;
}

#tcx-videos-dynamic .tcx-videos.active .video-grid::-webkit-scrollbar-thumb {
	background: black;
	border-radius: 2rem;
}

#tcx-videos-dynamic .tcx-videos.active .video-grid::-webkit-scrollbar-button {
	display: none;
}

#tcx-videos-dynamic .tcx-videos.active .video-grid::-webkit-scrollbar-track-piece {
	display: none;
}

.tcx-videos .title-text {
	width: 90%;
	margin: 0 0 1vh;
	font: var(--large-text-font);
}

.tcx-videos > .title-text {
	margin: 4vh auto;
	font-weight: 400;
}

.tcx-videos .detail-banner {
	margin: 2vh auto;
	width: 90%;
}

.tcx-videos.detail-form .detail-banner {
	display: flex;
	flex-direction: row;
	height: 20vh;
}

.tcx-videos.detail-form .detail-banner > div {
	width: 50%;
}

.tcx-videos.detail-form .detail-banner #v-details {
	width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	height: 75%;
	margin-bottom: auto;
}

.tcx-videos.detail-form .detail-banner .myVideo div {
	display: flex;
}

.tcx-videos #video-details > * {
	width: 100%;
}

.tcx-videos #video-details #a {
	grid-area: a;
}

.tcx-videos #video-details #b {
	grid-area: b;
}

.tcx-videos #video-details #c {
	grid-area: c;
}

.tcx-videos #video-details #d {
	grid-area: d;
}

.tcx-videos #video-details #e {
	max-width: 100%;
	grid-area: e;
}

.tcx-videos #video-details textarea {
	width: 100%;
}

.tcx-videos #video-details {
	display: grid;
	grid-template-columns: 45% 45%;
	grid-template-areas: 'a b' 'c d' 'e e';
	column-gap: 5%;
	gap: 2vh;
	margin: 2vh 0;
}

.tcx-videos #video-details .upload-input {
	width: 100%;
}

.tcx-videos #video-details .upload-input:focus-within {
	box-shadow: 0 0 0 2px rgb(255 204 0);
}

.tcx-videos #video-details input {
	width: 100%;
}

.tcx-videos #video-details #logo-label {
	position: relative;
	border: 1px solid var(--dark-grey);
	padding: 0.8vh;
}

.tcx-videos #video-details .upload-data-label > i {
	position: absolute;
	right: 0.8vh;
}

.tcx-videos #video-details .upload-data-label span {
	font: var(--tiny-text-font) !important;
}

.tcx-videos #video-details .tooltip-text {
	left: 0;
	z-index: 100;
}

.tcx-videos #video-details > div,
.tcx-videos #video-details textarea {
	max-width: calc(100% - 1vw);
}

.tcx-videos #video-details > div > * {
	width: 100%;
	display: flex;
}

.tcx-videos #video-details input,
textarea {
	padding: 0.8vh;
	border: 1px solid var(--light-grey);
}

.tcx-videos #video-details input[type='file'] {
	display: none;
}

.tcx-videos #reseller-app .grid {
	display: grid;
	grid-template-columns: 45% 45%;
	gap: 2vh;
}

.tcx-videos #reseller-app .grid input,
.tcx-videos #reseller-app .grid select {
	padding: 0.8vh;
	border: 1px solid var(--light-grey);
}

.tcx-videos #reseller-app > div {
	margin: 2vh 0;
}

.tcx-videos #reseller-app .g-recaptcha {
	width: max-content;
}

.tcx-videos .nav {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 2vh;
	height: 5vh;
	width: 25%;
	margin: 2vh 5%;
}

.tcx-videos .nav .blue-button.next i {
	padding-left: 1vh;
}

.tcx-videos .nav .blue-button.back i {
	padding-right: 1vh;
}

.tcx-videos .nav .disabled {
	background: #ececec;
	color: black;
}

.video-label .v-select {
	background: #ececec;
	color: #000;
	width: 50%;
	padding: 1vh 0;
	margin: 0 auto;
	cursor: pointer;
	transition: transform 0.3s ease;
	position: relative;
	user-select: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.video-label .v-select.repeat {
	flex-direction: row;
	justify-content: space-around;
	width: 55%;
}

.bv-container.selected .video-label .v-select {
	color: black;
	background: var(--yellowgrid);
}

.up-back {
	transition: color 0.1s;
	display: flex;
	flex-direction: row;
	font: var(--small-text-font);
	color: black;
	height: 4vh;
	cursor: pointer;

	&:hover {
		color: var(--dark-grey);
	}
}

.up-back i {
	padding-right: 2%;
	margin-bottom: 10%;
}

.confirmText {
	display: none;
}

.confirmUnderlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 110;
	opacity: 0.5;
	background: #000;
}

.confirmBox {
	display: flex;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 120;
	width: 40vw;
	background: white;
	flex-direction: column;
	flex-wrap: wrap;
	border: 1px solid #ebebeb;
}

.confirmBox > div,
.confirmBox h2 {
	width: 100%;
	padding: 3%;
	box-sizing: border-box;
}

.confirmBox .confirmContent {
	flex: 8;
	border-top: 1px solid #ebebeb;
	border-bottom: 1px solid #ebebeb;
	max-height: 40vh;
	overflow-x: hidden;

	& .termsDialog p {
		margin-bottom: 2vh;
		font-family: 'Courier New', Courier, monospace;
	}
}

.confirmBox .confirmContent .confirmLong {
	height: 100%;
	overflow-y: scroll;
	max-height: 35vh;
	border: 1px solid #ebebeb;
	font-family: 'Courier New', monospace;
}

.confirmBox .confirmContent .confirmLong p {
	margin: 5% 0;
	text-align: justify;
}

.confirmBox .confirmContent .confirmLong p:first-child {
	margin: 0 0 5%;
}

.confirmBox h2 {
	text-transform: capitalize;

	& i {
		cursor: pointer;
		color: var(--blue);
		font-size: 3vh;
		float: right;

		&.hint {
			float: left;
			font-size: 2vh;
			line-height: 3vh;
			margin-right: 1vh;
		}
	}
}

.confirmBox h2,
.confirmBox > div:last-child {
	flex: 1;
	border: none;
}

.confirmBox .confirmButtons {
	text-align: right;
}

.confirmBox div input {
	display: flex;
	flex-direction: row;
	position: relative;
	user-select: none;
	min-height: var(--ss-main-height);
	width: 100%;
	padding: var(--ss-spacing-s);
	cursor: pointer;
	border: 1px solid var(--ss-border-color);
	border-radius: var(--ss-border-radius);
	background-color: var(--ss-bg-color);
	outline: 0;
	box-sizing: border-box;
	transition: background-color var(--ss-animation-timing);
	overflow: hidden;
	font: var(--text-font);
	color: black;
	height: min-content;

	&[type='text']:read-only,
	&[type='checkbox']:disabled {
		cursor: not-allowed;
	}
}

.simple-page-loading {
	z-index: 50;
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('../images/icons/small-loading.gif') center / auto 30% no-repeat;
	text-align: center;
	line-height: 100vh;
	font-size: 5vh;
}

.simple-page-loading p {
	position: fixed;
	bottom: 18%;
	text-align: center;
	width: 100%;
	font-weight: 300;
	font-size: 3vh;
}

.loading {
	height: 5vh;
	width: 5vh;
	background: url('../images/icons/small-loading.gif') center / contain no-repeat;
}

.video-page-active {
	display: block;
}

.branded-videos-form h2 {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 2vh 0;
	align-items: center;

	& div {
		width: 40%;
		background: none;
	}
}

.video-page-hidden {
	display: none;
}

.video-page-header {
	display: flex;
	flex-direction: column;
	box-shadow: var(--background-grey) 0 2vh 0.5vh 1vw;
	background: var(--background-grey);
}

.video-page-subtitle {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	font: var(--text-font);
	margin: 2vh 0;
	position: relative;
	border-bottom: solid 1px #ececec;
	padding-bottom: 1vh;
}

.video-nav {
	display: flex;
	flex-direction: row;
	justify-content: end;
	background: #fff;
	width: 100%;
}

.video-nav .video-nav-button i {
	color: white;
}

.video-nav .video-nav-button.video-next i {
	padding-left: 0.4vw;
}

.video-nav .video-nav-button i {
	padding-right: 0.4vw;
}

.video-nav .video-nav-button:hover {
	background: var(--yellowgrid);
	color: black;
}

.video-nav .video-nav-button:hover i {
	background: var(--yellowgrid);
	color: black;
}

.video-nav .video-nav-button.disabled {
	background: #e2e2e2;
	cursor: not-allowed;
}

.video-nav .video-nav-button.disabled:hover {
	color: #fff;
}

.video-nav .video-nav-button.disabled:hover i {
	background: #e2e2e2;
	color: #fff;
}

.video-nav .video-nav-button.enabled {
	box-shadow: 0 0.5vh 0.4vw 0.2vw #c2c2c2;
}

.branded-videos-form h1 {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	height: 5vh;
	top: 0;
	position: sticky;
	z-index: 101;
	padding: 0;
	box-shadow: var(--background-grey) 0 2vh 0.5vh 1vw;
	cursor: pointer;
	background: var(--background-grey);
}

.video-page-active {
	z-index: 101;
}

.branded-videos-form h1 .video-links {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	width: 50%;
	align-items: center;
}

.branded-videos-form h1 .video-links .small-links {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 30%;
}

.branded-videos-form h1 .video-links .main-link {
	display: flex;
	flex-direction: row;
	justify-content: center;
	width: 60%;
	height: 100%;
}

.branded-videos-form h1 .video-links a {
	text-align: center;
	cursor: pointer;
	background: black;
	color: white;
	height: min-content;
	padding: 1vh 1vw;
}

#rv-button {
	width: 70%;
	align-items: center;
}

.branded-videos-form h1 .video-links .video-link {
	all: unset;
	text-align: right;
	font: var(--tiny-text-font);
	cursor: pointer;
	background: none;
	color: black;
	width: auto;
	min-width: max-content;
	margin: 0 1vw;
}

.video-page-subtitle span {
	font: inherit;
}

.video-page-subtitle i.hint {
	color: #000;
	font-size: 0.8vw;
	position: absolute;
	top: 0;
}

.dark-grey-button:hover {
	color: #707070;
	background: var(--yellowgrid);
}

input[type='submit'].yellow-button {
	border: none;
}

.disabled-link {
	background-color: #d9d9d9;
}

.tc-container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.tc-img {
	width: 40%;
	text-align: end;
}

.tc-img > img {
	width: 100%;
	height: auto;
}

.tcs {
	width: 50%;
	padding-left: 1vw;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}

.tcs .next {
	list-style: none;
}

.tcs .next a {
	display: block;
	width: 20%;
}

.upload-container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	margin-top: 2.5vh;
}

.upload-input label {
	display: flex;
	flex-direction: row;
	font: var(--text-font);
	color: #777;
	cursor: text;
}

.upload-input label#logo-label {
	width: 100%;
	cursor: pointer;
}

.upload-input textarea#note {
	height: 15vh;
	width: 100%;
	resize: none;
	border: none;
}

.upload-input textarea#note:focus-visible {
	outline: none;
}

#note-count {
	width: 50%;
	text-align: end;
}

.upload-input label i {
	cursor: pointer;
	padding: 0 1vw;
	position: absolute;
	left: 90%;
}

.upload-input {
	all: unset;
	display: flex;
	flex-direction: row;
	justify-content: left;
	width: 50%;
	margin: 2vh 0;
	font: var(--text-font);
	padding: 1vh;
	box-shadow: 0 0 0 2px rgb(0 0 0 / 6%);
	position: relative;
}

.upload-data {
	width: 100%;
}

.focus {
	box-shadow: 0 0 0 4px rgb(255 204 0);
}

.logo-input {
	display: flex;
	flex-direction: column;
	justify-content: left;
}

#auto-vid {
	width: 10%;
}

.upload-container input:not(.submit-button) {
	border: none;
	outline: none;
	background: none;
}

.upload-container input[type='file'] {
	display: none;
	cursor: pointer;
	color: #777;
}

.branded-videos-form .hint {
	color: #000;
}

.tooltip {
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	font-size: 0.9vw;
	padding-left: 0.5vw;
	position: relative;
}

.tooltip-text {
	visibility: hidden;
	position: absolute;
	width: 15vw;
	padding: 1.5vh;
	margin-left: 1.5vh;
	left: 30vw;
	background-color: #d9d9d9;
	color: #fff;
	font-family: var(--font-family), sans-serif;
	list-style: none;
}

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

.tooltip li {
	list-style: none;
	padding-left: 1vw;
}

.tooltip:hover .tooltip-text {
	visibility: visible;
}

h2#allowed {
	display: flex;
	flex-direction: row;
	justify-content: left;
}

.video-select-header {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.video-grid {
	display: grid;
	margin-top: 7vh;
	justify-content: space-between;
	width: 100%;
	grid-template-columns: 25% 25% 25%;
	row-gap: 2vh;
}

.branded-videos-form .bv-container {
	height: fit-content;
}

.bv-container {
	padding-bottom: 1vh;
	transition: 0.3s ease-in;
	height: 37vh;
}

.bv-container img {
	width: 100%;
}

.bv-container.batch img {
	box-shadow:
		3px 3px 0 lightgray,
		6px 6px 0 gray,
		9px 9px 0 black;
}

.bv-container a {
	cursor: pointer;
}

.batch .hidden {
	display: none;
}

.batch .video-title {
	flex-direction: row;
	align-items: center;
}

.batch i {
	margin-left: 0.5vw;
	cursor: pointer;
}

.branded-video {
	text-align: center;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 60%;
	border: 0;
}

#sample-container {
	position: relative;
	display: inline-block;
	overflow: hidden;
}

#sample-container img {
	display: block;
	max-width: 100%;
	height: auto;
}

#sample-banner {
	position: absolute;
	top: 0;
	right: 0;
	color: black;
	padding: 1vh 20%;
	transform-origin: top left;
	text-transform: capitalize;
	transform: translateY(260%) translateX(-90%) rotate(-45deg);
	background-color: rgb(255 204 0 / 90%);
	font-size: 0.9vw;
}

#sample-banner::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-45deg);
	background-color: rgb(255 0 0 / 80%);
	opacity: 0.8;
	z-index: -1;
}

.lazyYT-button {
	position: relative !important;
	z-index: 0 !important;
}

.video-title {
	display: flex;
	flex-direction: column;
	justify-content: center;
	font: var(--text-font);
	text-align: center;
	min-height: 6vh;
}

.video-label {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	width: 100%;
	font: var(--text-font);
	text-align: center;
	margin: 0 auto;
	padding: 1vh 0;
	position: relative;
	min-height: min-content;
}

.video-label .v-select {
	color: #fff;
	background: var(--tcx);
}

.bv-container.selected {
	box-shadow: #9e9e9e 0 0 0.5vh 0.5vh;
}

.video-label input {
	position: absolute;
	opacity: 0;
	height: 4.4vh;
	width: 50%;
}

.video-label .v-select:hover {
	background: var(--yellowgrid);
	color: black;
}

.video-label .hint.v-select:hover {
	cursor: not-allowed;
	background: #ececec;
	color: #000;
}

.video-label .v-owned {
	color: #727272;
	width: 50%;
	padding: 1vh 0;
	margin: 0 auto;
}

.bv-container > p {
	width: 90%;
	margin: 0 auto;
	text-align: center;
	font: var(--small-text-font);
}

.bv-container > a {
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin-top: 2vh;
}

.bv-container > a > b {
	margin: 0 auto;
	color: black;
}

.video-date {
	text-align: center;
	color: black;
	font: var(--tiny-text-font);
	transform: scale(1);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(0.9);
		box-shadow: 0 0 0 0 rgb(255 204 0);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgb(255 204 0 / 0%);
	}

	100% {
		transform: scale(0.9);
		box-shadow: 0 0 0 0 rgb(255 204 0 / 0%);
	}
}

div#no-bv {
	display: flex;
	flex-direction: column;
	padding: 8vh 0 4vh;
}

div#no-bv span {
	font-size: 1.1vw;
}

.download-button {
	background-color: var(--tcx);
	color: #fff;
	width: 45%;
	padding: 1vh 0;
	margin: 0 auto;
	border: 0;
	display: flex;
	flex-direction: row;
	justify-content: center;
	height: min-content;
}

.download-button i {
	padding-right: 1vh;
	display: flex;
	justify-content: center;
	flex-direction: column;
	margin: auto 0;
}

.download-button:hover {
	background-color: var(--yellowgrid);
	color: #000;
}

.download-button.disabled {
	background-color: #ececec;
	color: #707070;
	cursor: default;
	user-select: none;
}

.download-button.disabled:hover {
	background-color: #ececec;
	color: #707070;
}

.custom-progress {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.progress-bar {
	float: none;
}

/* https://stackoverflow.com/questions/25554852/moving-gradient-bar-in-css */

.color-slider-block {
	width: 100%;
	overflow: hidden;
	height: 0.5vh;
	background-color: #fff;
}

@keyframes gradient {
	0% {
		left: -200px;
	}

	100% {
		left: 500px;
	}
}

.color-slider {
	background: linear-gradient(
		to right,
		rgb(255 255 255) 0%,
		rgb(255 204 0 / 70%) 25%,
		rgb(255 204 0) 50%,
		rgb(255 204 0 / 70%) 75%,
		rgb(255 255 255) 100%
	);
	width: 40%;
	height: 0.5vh;
	position: relative;
	animation: gradient 2.5s linear infinite;
}

.video-page-container #request {
	max-width: max-content;
}

#uv.video-page-container {
	display: flex;
	flex-direction: column;
}

#uv span {
	font: var(--text-font);
}

#uv textarea {
	padding: 1vh;
	margin: 2vh 0;
	max-width: 80%;
	min-height: 20vh;
	outline: 1px solid #d9d9d9;
	border: 1px solid #d9d9d9;
	font: var(--text-font);
}

#uv textarea:focus {
	outline-color: var(--yellowgrid);
	border-color: var(--yellowgrid);
}

#uv input {
	margin-top: 2vh;
}

#formSubmit {
	display: none;
}

.loaderContainer {
	display: flex;
	flex-direction: column;
	justify-content: center;
	z-index: 110;
	width: 100vw;
	height: 100vh;
	background: #707070;
	position: fixed;
	top: 0;
	overflow: hidden;
	opacity: 0.9;
}

.loader {
	width: 5vw;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 1vw solid;
	border-right-color: var(--yellowgrid);
	animation: s2 1s infinite linear;
	margin: 0 auto;
	position: relative;
}

@keyframes s2 {
	to {
		transform: rotate(1turn);
	}
}

.loaderContainer p {
	position: relative;
	text-align: center;
	font: var(--large-text-font);
	color: #fff;
	margin-top: 5vh;
}

dialog.interactiveNotification {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	position: absolute;
	top: 15vh;
	height: 50vh;
	width: 60%;
	margin: auto;
	z-index: 100;
	background: linear-gradient(to right, #000 0%, var(--uc-blue) 100%);
	border: var(--grey-border);
	padding: 1vh 2vw;

	> * {
		z-index: 100;
	}

	& h2 {
		color: white;
		font-size: 2vw;
		width: max-content;
		border: none !important;
		padding: 0;
		margin: 0;
	}

	& p {
		color: white;
		width: 40%;
		font-size: 1vw;
	}

	& div {
		display: flex;
		flex-direction: row;
		justify-content: space-between;

		&:first-of-type {
			width: 100%;

			& i {
				color: white;
			}

			& i:hover {
				cursor: pointer;
			}
		}

		&:last-of-type {
			width: 50%;

			& button:hover {
				filter: brightness(50%);
			}
		}
	}

	& a {
		color: white;
		text-decoration: underline;
		position: absolute;
		bottom: 2vh;
	}

	& a:hover {
		cursor: pointer;
	}

	& img {
		width: 50%;
		height: auto;
		margin: auto 0 auto auto;
		position: absolute;
		right: 2vw;
		z-index: 99;
	}
}

#mfa-setup {
	position: fixed;
	width: 25%;
	height: 70%;
	top: 20%;
	left: 37.5%;
	border-radius: 0.3vh;
	background: white;
	box-shadow: 0 0 1vh rgb(0 0 0 / 30%);
	font-size: 1.6vh;
	color: var(--blue);
	display: flex;
	flex-direction: row;
	align-items: center;
	margin: auto;
	flex-wrap: wrap;
	z-index: 20;
	align-content: space-evenly;
	text-align: center;

	img {
		border: 0.5vh solid var(--blue);
		padding: 2%;
		width: 50%;
		margin: 0 auto;
		border-radius: 0.3vh;
	}

	p,
	b,
	h3 {
		width: 90%;
		margin: 0 auto;
	}

	p,
	b {
		font-weight: var(--font-weight-thin);
		color: var(--dark-grey);
	}

	b {
		color: var(--blue);
	}

	input[name='code'] {
		width: 50%;
		margin: 0 auto;
		font-size: 4vh;
		line-height: 4vh;
		text-align: center;
		border-radius: 0.3vh;
		border: 0.3vh solid var(--dark-grey);

		::placeholder {
			line-height: 4vh;
		}
	}

	.btn {
		flex-basis: 51%;
		margin: 0 auto;
	}
}

main#outstanding-quotes {
	& table {
		width: 100vw;
		border-collapse: collapse;

		& thead {
			& tr {
				& th {
					padding: 0.5vh 0;
					font: var(--subheading-font);
					font-weight: 500;
					color: white;
					background-color: var(--xero-blue);
					position: sticky;
					top: 0;
					z-index: 1;
					border-bottom: solid 2px black;

					&:nth-of-type(1) {
						width: 10%;
					}

					&:nth-of-type(2) {
						width: 15%;
					}

					&:nth-of-type(3) {
						width: 15%;
					}

					&:nth-of-type(4) {
						width: 20%;
					}

					&:nth-of-type(5) {
						width: 20%;
					}

					&:nth-of-type(6) {
						width: 8%;
					}

					&:nth-of-type(7) {
						width: 12%;
					}
				}
			}
		}

		& tbody {
			& tr {
				& td {
					text-align: center;
					padding: 1vh 0;
					font: var(--text-font);
					border-top: solid 1px var(--light-grey);
					border-bottom: solid 1px var(--light-grey);
					text-wrap: nowrap;
					overflow: clip;
				}

				&:first-of-type td {
					border: solid 2px black;
					font: var(--large-text-font);
					font-weight: 400;
					padding: 0.5vh 0;
				}
			}

			&#draft tr:first-of-type {
				background: rgb(0 10 30 / 20%);
			}

			&#sent tr:first-of-type {
				background: white;
			}

			&#accepted tr:first-of-type {
				background: #a6d3bb;
			}
		}
	}
}

#new-trunk {
	display: none;
}

/* ----------- */
/*   hint.js   */
/* ----------- */

span.tb-hint {
	--_primary: var(--primary);
	--_hover-x-offset: 6vh;
	--_hover-y-offset: 4vh;
	--_border-color: var(--dark-grey);

	transition:
		opacity 100ms,
		scale 100ms;
	opacity: 0;
	scale: 0.9;
	position: absolute;
	z-index: 100;
	top: calc(var(--_hover-y-offset) * -1);
	left: 50%;
	transform: translateX(-50%);
	border: 1px solid var(--_border-color);
	border-radius: 0.8vh;
	box-shadow: 0 0 2px rgb(0 0 0 / 50%);
	padding: 0.5vh 1vh;
	background: #fff;
	white-space: nowrap;
	font-weight: normal;
	font-size: 1.7vh;
	color: #000;
	pointer-events: none;
	user-select: none;

	&.right {
		top: 50%;
		transform: translateY(-50%);
		left: var(--_hover-x-offset);
	}

	&.bottom {
		top: calc(var(--_hover-y-offset) * 1.5);
	}

	&.left {
		top: 50%;
		transform: translateY(-50%);
		left: unset;
		right: var(--_hover-x-offset);
	}

	&.thought-bubble {
		top: calc(var(--_hover-y-offset) * -1.2);
		width: fit-content;
		background: rgb(255 210 210);

		&::before {
			content: '';
			position: absolute;
			bottom: -7px;
			left: 50%;
			transform: translateX(-50%);
			width: 0;
			height: 0;
			border-left: 0.8vh solid transparent;
			border-right: 0.8vh solid transparent;
			border-top: 0.8vh solid rgb(255 210 210);
		}
	}

	&.error-alert {
		opacity: 1;
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 1vh;
		background: rgb(255 225 225);

		&::before {
			content: '!';
			display: inline-block;
			width: 2vh;
			height: 2vh;
			border-radius: 50%;
			background: rgb(255 100 100 / 20%);
			text-align: center;
			line-height: 2vh;
			font-weight: bold;
			color: #c33;
		}
	}
}

*:hover > span.tb-hint {
	opacity: 1;
	scale: 1;
}

@media (hover: none) and (pointer: coarse) {
	*:hover > span.tb-hint {
		opacity: 0;
	}
}

/* ----------- */
/*   load.js   */
/* ----------- */

#tb-load-shell {
	transition: all 100ms ease-in;
	opacity: 0;
	position: fixed;
	z-index: 1020;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: rgb(50 50 50 / 50%);
	backdrop-filter: blur(2px);
	user-select: none;
	pointer-events: none;

	&.show {
		opacity: 1;
		pointer-events: all;
	}

	> .vessel {
		min-width: 35vh;
		border-radius: 20px;
		box-shadow: 0 0 4px rgb(0 0 0 / 20%);
		margin-inline: 1vh;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 32px;
		padding: 50px 60px;
		background: rgb(250 250 250 / 80%);

		> #loading-icon {
			animation: tb-load-spin 1s linear infinite;
			width: 10vh;
			height: 10vh;
			border: 1vh solid #242424;
			border-top: 1vh solid transparent;
			border-radius: 50%;
		}

		> p {
			max-width: 28ch;
			text-align: center;
			text-shadow: 1px 1px 2px rgb(195 0 255 / 10%);
			font-weight: 400;
			font-size: 30px;
			color: #181818;
		}
	}

	&.basic-look {
		transition: all 100ms ease-in;
		align-items: end;
		background: transparent;
		backdrop-filter: none;

		> .vessel {
			margin-right: 4vh;
			border: 2px solid #242424;
			padding: 2vh;
			background: rgb(250 250 250 / 80%);

			> #loading-icon {
				width: 4vh;
				height: 4vh;
				border: 0.6vh solid #242424;
				border-top: 0.6vh solid transparent;
			}

			> p {
				display: none;
			}
		}
	}
}

@keyframes tb-load-spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

#tb-load-informed {
	--_primary: var(--uc-blue);
	--_cs-width: clamp(44vh, 80%, 124vh);
	--_border-color: var(--light-grey);
	--_success-color: #2ecc71;
	--_warning-color: #f1c40f;
	--_cs-color: var(--dark-grey);

	transition: opacity 200ms ease-in-out;
	opacity: 0;
	overflow-y: hidden;
	position: fixed;
	top: 0;
	z-index: 2000;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: rgb(50 50 50 / 50%);
	backdrop-filter: blur(2px);
	color: #111;
	pointer-events: none;
	user-select: none;

	&.active {
		opacity: 1;
		pointer-events: all;
		user-select: auto;
	}

	> .status {
		animation: tb-load-slide-in 600ms forwards;
		width: var(--_cs-width);
		display: flex;
		gap: 32px;

		> .vessel {
			width: 100%;
			border: 1px solid var(--_border-color);
			border-radius: 8px 8px 0 0;
			box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
			display: flex;
			align-items: center;
			gap: 24px;
			padding: 20px;
			background: #fff;
			font-size: 28px;

			> p {
				width: 100%;
				height: 125%;
				position: relative;
				overflow: hidden;

				> span {
					animation: tb-load-new-msg 500ms forwards;
					position: absolute;
					top: 50%;
					transform: translateY(-50%);
					text-wrap: nowrap;
					font-weight: 500;
					color: var(--_cs-color);

					&.eclipse {
						&::after {
							animation: tb-load-eclipse 2s infinite;
							content: '...';
						}
					}

					&.old-msg {
						animation: tb-load-old-msg 500ms forwards;
					}
				}
			}

			> i {
				width: 3vh;
				height: 3vh;
				display: flex;
				justify-content: center;
				align-items: center;
				font-size: 32px;
				color: var(--_primary);

				&.fa-hammer {
					transform: rotate(-45deg);
				}

				&.fa-check-double {
					color: var(--_success-color);
				}

				&.fa-triangle-exclamation {
					color: var(--_warning-color);
				}
			}
		}
	}

	> .progress {
		animation: tb-load-slide-in 600ms forwards;
		width: var(--_cs-width);
		height: 20px;
		overflow: hidden;
		border-radius: 0 0 8px 8px;
		box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
		padding: 6px;
		background: #fff;

		> .progress-bar {
			transition: width 1s;
			width: 0;
			height: 100%;
			border-radius: 6px;
			background: var(--_primary);

			&[style*='width: 100%'] {
				background: var(--_success-color);
			}
		}
	}
}

@keyframes tb-load-slide-in {
	from {
		transform: translateX(20vh);
	}

	to {
		transform: translateY(0);
	}
}

@keyframes tb-load-eclipse {
	0% {
		content: '...';
	}

	25% {
		content: '';
	}

	50% {
		content: '.';
	}

	75% {
		content: '..';
	}

	100% {
		content: '...';
	}
}

@keyframes tb-load-rotate {
	0% {
		transform: rotate(-45deg);
	}

	15% {
		transform: rotate(65deg);
	}

	100% {
		transform: rotate(-45deg);
	}
}

@keyframes tb-load-new-msg {
	from {
		transform: translateY(-200%);
	}

	to {
		transform: translateY(-50%);
	}
}

@keyframes tb-load-old-msg {
	from {
		transform: translateY(-50%);
	}

	to {
		transform: translateY(200%);
	}
}

/* ------------- */
/*   notify.js   */
/* ------------- */

#tb-notify-shell {
	--_success: var(--success);
	--_error: var(--error);

	pointer-events: none;
	position: fixed;
	z-index: 1101;
	top: 2vh;
	width: 100%;
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	gap: 0.5vh;

	& .notification {
		animation: tb-notify-send 10s ease-out;
		pointer-events: auto;
		width: fit-content;
		border: 1px solid #111;
		border-radius: 3px;
		box-shadow: 0 0 4px rgb(0 0 0 / 20%);
		margin-inline: 1vh;
		display: flex;
		align-items: center;
		gap: 3vh;
		padding: 1.5vh 2.5vh;
		background: rgb(250 250 250);
		font-weight: 300;
		font-size: 2vh;
		color: #111;

		> p {
			max-width: 500px;
		}

		> span.close {
			transition: background-color 100ms;
			width: 2.5vh;
			height: 2.5vh;
			border-radius: 50%;
			display: flex;
			justify-content: center;
			align-items: center;
			cursor: pointer;

			&:hover {
				background: #d3d3d3;
			}
		}

		&.notify-success {
			border-color: var(--_success);
			background: rgb(225 255 225);
		}

		&.notify-error {
			border-color: var(--_error);
			background: rgb(255 225 225);
		}
	}
}

@keyframes tb-notify-send {
	0% {
		opacity: 0;
		transform: translateY(-20px) scale(0.8);
	}

	2%,
	98% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}

	100% {
		opacity: 0;
	}
}

/* ------------ */
/*   popup.js   */
/* ------------ */

.tb-popup {
	--_border-color: #d1d1d1;
	--_color: var(--dark-grey, #5a5a5a);

	transition: opacity 200ms;
	opacity: 0;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1100;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgb(0 0 0 / 50%);
	backdrop-filter: blur(2px);

	&.visible {
		opacity: 1;

		> .vessel {
			transform: translateY(0);
			opacity: 1;
		}
	}

	> .vessel {
		transition:
			transform 200ms,
			opacity 200ms;
		opacity: 0;
		transform: translateY(-20px);
		width: 52vh;
		max-width: 56vh;
		border: 1px solid var(--_border-color);
		border-radius: 0.5vh;
		box-shadow: 0 5px 15px rgb(0 0 0 / 20%);
		background: #fdfdfd;

		&:has(.basic-form) {
			width: unset;
			max-width: 140vh;
		}

		> .header {
			border-bottom: 1px solid var(--_border-color);
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 1.5vh 2vh;

			> h3 {
				margin: 0;
				display: flex;
				align-items: center;
				gap: 1.5vh;
				font-weight: 500;
				font-size: 2.2vh;
				color: var(--_color);

				> i {
					&.fa-triangle-exclamation {
						color: #c9a400;
					}

					&.fa-circle-exclamation {
						color: #c93f3f;
					}

					&.fa-circle-info {
						color: #007bff;
					}
				}
			}

			> button.close {
				transition: background-color 100ms;
				width: 3vh;
				height: 3vh;
				border: none;
				border-radius: 50%;
				display: flex;
				justify-content: center;
				align-items: center;
				background: none;
				font-size: 2vh;
				color: var(--_color);
				cursor: pointer;

				&:hover {
					background: #d3d3d3;
				}
			}
		}

		> .body {
			max-height: 80vh;
			overflow-y: auto;
			padding: 3vh 2vh;
			font-size: 1.8vh;
			color: #333;

			> div:not(.basic-form) {
				display: flex;
				flex-direction: column;
				gap: 1.5vh;
			}
		}

		> .footer {
			border-top: 1px solid var(--_border-color);
			display: flex;
			justify-content: flex-end;
			gap: 1vh;
			padding: 1.5vh 2vh;

			> button {
				transition: background-color 100ms;
				border: 1px solid var(--_border-color);
				border-radius: 0.5vh;
				padding: 8px 12px;
				background: #fcfcfc;
				font-weight: 500;
				font-size: 1.7vh;
				color: var(--_color);
				cursor: pointer;

				&:hover {
					background: #f1f1f1;
				}

				&.yes {
					background: var(--uc-blue);
					color: #fff;

					&:hover {
						background: #0d8896;
					}
				}

				&.red {
					background: rgb(228 0 0);
					color: #fff;

					&:hover {
						background: rgb(200 0 0);
					}
				}
			}
		}
	}
}

/* ------------------ */
/*   tab-layouts.js   */
/* ------------------ */

.tab-layouts {
	width: var(--section-width-75);
	margin-inline: auto;

	> h2 {
		margin-bottom: 16px;
		text-align: center;
		font-weight: var(--font-weight-bold);
		font-size: var(--font-size-h2);
		color: var(--dark-grey);
	}

	> .container {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 4px;

		> .opts {
			margin-right: 4px;
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			align-items: center;
			gap: 4px;
			font-size: 24px;

			> .opt {
				transition: all 100ms;
				border: 2px solid var(--light-grey);
				border-radius: 12px;
				padding: 8px 16px;
				background: #fff;
				text-wrap: nowrap;
				font-size: 22px;
				color: var(--dark-grey);
				cursor: pointer;
				user-select: none;

				&:not(.active):hover {
					background: #eee;
				}

				&.active {
					border-color: var(--uc-blue);
					background: #f3f3f3;
					color: var(--blue);
				}

				> div {
					display: none;
				}
			}
		}

		> .vessel {
			position: relative;
			border: 2px solid var(--light-grey);
			border-radius: 12px;
			display: flex;
			flex-direction: column;
			gap: 20px;
			padding: 40px 60px;
			background: #fff;

			> button {
				transition: all 150ms;
				position: absolute;
				top: 50%;
				transform: translateY(-50%);
				cursor: pointer;

				&:has(.fa-angle-left) {
					left: 40px;

					&:active {
						left: 36px;
					}
				}

				&:has(.fa-angle-right) {
					right: 40px;

					&:active {
						right: 36px;
					}
				}
			}

			> div {
				display: flex;
				flex-wrap: wrap;
				gap: 40px;

				&:has(iframe) {
					width: 85vh;
					height: 50vh;

					> iframe {
						width: 100%;
						height: 100%;
						border: 2px solid var(--light-grey);
						border-radius: 8px;
						box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
					}
				}

				&:has(div > iframe) {
					min-width: 136vh;
				}

				> div {
					flex: 1;
					display: flex;
					flex-direction: column;
					justify-content: center;
					gap: 20px;

					> h4 {
						font-size: 40px;
						color: var(--uc-blue);
					}

					> p {
						font-size: 22px;
						color: var(--dark-grey);
					}

					> img,
					> iframe {
						flex: 1;
						width: 100%;
						max-height: 50vh;
						border: 2px solid var(--light-grey);
						border-radius: 8px;
						box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
					}
				}
			}
		}
	}
}
