﻿:root {
	--background-selected: #253e5c;
	--colour-selected: #ffffff;
	
	--padding: 16px;
	
	--border-radius: 35px;
	--border: solid 1px #dddddd;
	--border-error: solid 2px darkred;
	
	--form-max-width: 500px;
	
	--button-background: #e04a71;
	--button-colour: #ffffff;
	--button-border: solid 4px #253e5c;
}

body {
	color: #333;
	font-family: 'Open Sans','segoe ui',segoe,'avenir next','noto sans',sans-serif;
	font-size: 16px;
}
.bg {
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	background: #ddd99;
	z-index: 1;
}
.bg-text {
	color: var(--background-selected);
	position: relative;
	z-index: 2;
}
.container {
	text-align: center;
	font-family: 'Open Sans';
}
.offers {
	display: flex;
	flex-direction: row;
	justify-content: center;
}			
.offer p {
	width: 340px;
	margin-left: 16px;
}
.offer a.buy_now {
	background: #ddd;
	color: #fff;
	padding: 8px 24px;
	border-radius: 25px;
	display: block;
	font-weight: 700;
	font-size: 20px;
	width: 150px;
	margin: 0 auto;
	margin-bottom: 24px;
	text-decoration: none;
}
.bg-square {
	width: 350px;
	height: 350px;
	border-radius: 16px; 
	margin: 10px;
	border: solid 1px #ddd;
	background-size: cover;
	background-position-x: right;
	margin: 8px auto;
	overflow: hidden;
}
.bg-square img {
	width: 100%;
	height: 100%;
}
.bg-lochside {

}
.bg-lodge {

}
#about {				
	margin-top: 0px;
	text-align: center;
	border-top: solid 2px #dddddd;
    background: var(--background-selected);
	color: var(--colour-selected);
	padding-bottom: 8px;
}
#about div.container img.logo {
    width: 320px;
    margin-top: 16px;
    height: auto;
    max-width: 80%;
}
#about p {
    font-size: 15px;
    padding: 0 16px;
	color: #fff;
}
.anchor-links a {
	padding: 16px;
	font-size: 20px;
	display: inline-block;
}
p.no-account {
	border-top: 1px solid #ddd;
	text-align: left;
	padding-top: 32px;
	margin-top: 24px;
	color: #253e5c;
	padding-left: 16px;
	text-align: center;
	font-size: 16px;
	margin-top: 64px;
}
p.no-account a {
	color: #0ea5e9;
}

.hup-header-bar {
	margin-top: 0px;
	text-align: center;
	border-bottom: solid 2px #dddddd;
	background: var(--background-selected);
}

.hup-header-bar a.logo {
	margin-left: 0px;
}
a.logo-bottom {
	padding-top:4px;
}
a.logo img {
	width: 600px;
	max-width: 90%;
	margin: 0 auto;
	height: auto;
}
div.social a.social img {
	max-width: 66px;
	filter: brightness(10);
}	
a.logo-bottom img {
	width: 350px;
	height: auto;
	max-width: 90%;
	margin: 0 auto;
	margin-bottom: 16px;
}

.offer_ended {
	opacity: 0;	
	max-height: 0px;
	overflow: hidden; /* Ensures no content overflow during animation */
	background: #fff;
    color: #222;
    margin-top: 0;
    transition: max-height 2s ease, opacity 0.5s ease;
    border-bottom: solid 5px #ddd;
}
.offer_ended h3 {
	padding-top: 16px;
}
 .offer_ended p {
	padding: 16px; 
	padding-top: 0px; 
 }
.offer_ended.show {
	opacity: 1;	
	max-height: 500px;		
}
.inline {
	display: inline;
}
h1.title {
	margin-top: 32px;
	margin-bottom: 16px;
}
p#contact_button {
	font-family: Poppins, sans-serif; 
	text-align:center; 
	cursor:pointer; 	
	padding-top: 64px; 
	padding-bottom: 48px;
}
p#contact_button a {
	width:200px;
	padding:16px;	
	border-radius:25px;
	margin: 24px;
	font-weight: 300;
}
div.offer p span.text {
	font-size:20px;	
}
div.offer p span.price {
	font-size:20px;	
}
html, body {
	height: 100%;
}
.page-layout {
	display: flex;
	flex-direction: column;
	height: calc(100% - 115px);
	justify-content: space-between;
}
.page-layout-bottom {
	margin-top: auto;
}
h1, h2 {
	font-weight: 300;
	font-family: 'Open sans';
}	
h2 {
	font-size: 24px;
}	
form#signup {
	max-width: var(--form-max-width);
	margin: 0 auto;
	text-align: left;
	padding: 8px;
	padding-bottom: 128px;
}
p.signup-text {
	margin: 48px 16px;
}

ul.nav {
	margin: 24px 0;
	padding: 0;
	display: flex;	
	list-style-type: none;
	justify-content: center;
}
ul.nav li {
	padding: 0;
	margin: 0;	    
    border: var(--border);
    width: 120px;	
	border-right: 0;
}
ul.nav li a {
	text-decoration: none;
	padding: 16px 24px;
    display: inline-block;
    min-width: 100px;
}
ul.nav li:first-child {
    border-radius: 35px 0 0 35px;	
}

ul.nav li:last-child {
    border-radius: 0 35px 35px 0;
	border-right: var(--border);
}
ul.nav li.selected {
	background: var(--background-selected);
	color: var(--colour-selected);
}

img.browser-icons {
    width: 500px;
    max-width: 96%;
    margin-bottom: 64px;
}

img.download-icon {
    width: 440px;
    border: solid 1px #ddd;
    border-radius: 16px;
    margin-bottom: 64px;
	max-width: 92%;
}

.download-container {
    margin-top: 48px;
}

.input-box {
	display: flex;
	flex-direction: column;
	margin-bottom: var(--padding);
}
.input-box label {
	text-transform: uppercase;
	text-indent: 18px;
    font-size: 14px;
    margin-bottom: 8px;
}
.input-box input {
	border: var(--border);
	border-radius: var(--border-radius);
	padding: var(--padding);	
}
.input-box.input-error input {
	border: var(--border-error);	
}
.input-box span.error {	
	display: none;	
	margin: 0 24px;
    color: darkred;
}
.input-box.input-error span.error {
	display: block;	
}
.button {
	background: var(--button-background);
	color: var(--button-colour);
	border: var(--button-border);
	border-radius: var(--border-radius);
	padding: var(--padding) 24px;
	text-transform: uppercase;
	display: inline-block;	
    margin-top: 24px;
    cursor: pointer;
	width: 132px;
	text-align: center;
}
.button-box {
	text-align: right;
}
div.content {
	position: relative;
}

.pricing-panels {
	display: flex;
	flex-direction: row;
	gap: 16px;
	justify-content: center;
	max-width: 980px;
    margin: 48px auto;
}

.pricing-panel {
	display: flex;
	flex-direction: column;
	flex-basis: 30%;
	padding: 24px;
	border: solid 1px #ddd;
	border-radius: 24px;
	justify-content: space-between;
    align-items: center;
}

iframe#loading {
	border: var(--border);
	border-radius: var(--border-radius);
	position: absolute;
	width: 700px;
	height: 500px;
	left: calc(50% - 350px);
	top: 8px;
	display: none;
}
h4.header {
	background: #253e5c;
	color: #fff;
	border solid 1px #ddd;
	border-radius: 25px;
	padding: 8px 24px;
	text-transform: uppercase;
}
.section-container {
	padding-left: 24px;
	display: flex;
}
.section-container.section-download
{
	display: block;	
}
.image-container {
	text-align: center;
	padding-top: 32px;
}
.section-options {
	flex-basis: 220px;
	flex-grow: 0;
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

ul.userMenu {
	margin: 0;
	padding: 0;
	list-style-type: none;

}
ul.userMenu li {
	padding: 0;
}
ul.userMenu {
	position: absolute;
	right: 24px;
	top: -36px;
	text-align: right;
	border-radius: 24px;
	overflow: hidden;
	border: solid 2px #253e5c;
	background: #fff;
	z-index: 10;
}

ul.userMenu li {
	padding: 0 16px;
	border-bottom: solid 1px #ddd;
	cursor: pointer;
}

ul.userMenu li:last-child {
	border-bottom: 0;
}

ul.userMenu li h3 {
	font-size: 20px;
}
ul.userChangePassword li p {
	color: red;
}
.userActionComplete {
	text-align: center;
	border-bottom: solid 4px #253e5c;
	padding-bottom: 16px;
	padding-left: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}
.userActionComplete img {
	filter: brightness(0.5) hue-rotate(80deg);
}
a#contact {
	position: relative;
	top: -100px;
	padding: 8px 16px !important;
	border: solid 2px #253e5c;
	background: #fff;
}

	a#contact:hover {
		color: #fff;
	}

	a#contact i {
		color: #253e5c;
	}

#frame-loading {
	padding-top: 48px;
	margin-bottom: 32px;
	padding-left: 70px;
	position: absolute;
	left: 0px;
	right: 0px;
	background: #fff;
	height: calc(100vh - 120px);
}

div.hup-top {
	position: relative;
	right: 0px;
	top: 0px;
	padding-right: 24px;
}

.userChange {
	background: #fff;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	height: 100vh;
}

.account-links {
	width: 156px;
	text-align: center;
	margin-right: 24px;
	text-decoration: underline;
	text-transform: uppercase;
	padding: 16px;
	cursor: pointer;
	font-size: 16px;
}

.section-content {
	flex-basis: calc(100% - 220px);
	flex-grow: 0;
	flex-shrink: 0;
}

span.label {
	text-transform: uppercase;
	font-size: 15px;
}

div.hup-section {
	text-align: left;
}

div.hup-section h3 {
	padding-top: 0px;
	margin-top: 0px;
	padding-left: 16px;
}

div.hup-section h3.status-expired {
	color: darkred;
	text-transform: uppercase;
}

div.hup-section h3.status-active {
	color: #23ac3b;
	text-transform: uppercase;
}

.button-licence.button {
	width: auto;
}

body.hide-content div.hup-content {
	display: none !important;
}

div.userChange h1 {
	padding-top: 48px;
}

ul.userChangePassword {
	background: #fff;
}

label {
	color: #253e5c;
}

.hup-centre {
	text-align: center;
}

iframe.frame {
	height: 900px;
}

#downloadButton {
	cursor: pointer;
}

.download-icon {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 24px;
	align-items: center;
	max-width: 980px;
	margin: 64px auto;
	border: solid 1px #ddd;
	padding: 16px;
	border-radius: 16px;
}

.app-icon {
	display: flex;
	gap: 16px;
	flex-basis: 40%;
	align-items: center;
	justify-content: center;
}

.app-icon h2 {
	font-size: 32px;
	text-align: left;
}

.app-icon span {
	display: block;
	font-size: 20px;
}


img#uplaIcon {
	width: 80px;
	height: 80px;
}

.download-button.button {
	width: 320px;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	height: 64px;
	flex-basis: 30%;
	margin-top: 0;
}

img#downloadIcon {
	width: 44px;
}

.app-version {
	display: flex;
	align-items: center;
	flex-basis: 40%;
	justify-content: center;
}

.app-version span {
	text-transform: uppercase;
	display: block;
	font-size: 14px;
}

.app-version h4 {
	text-align: left;
}

.app-icon h2 {
	margin-top: 0;
}

#downloadButton {
	cursor: pointer;
	flex-basis: 68px;
	margin-top: 16px;
}

.download-icon {
	flex-direction: column;
	margin-top: 24px;
}

h1#title {
	font-size: clamp(2rem, 5vw + 1rem, 4.5rem);
	line-height: 1.1;
	text-wrap: balance;
	color: var(--button-background);
	margin-bottom: 64px;
}

@media (max-width:780px) {
	.offers {
		flex-direction: column;
	}

	.bg-square {
	}

	.offer p {
		width: auto;
		margin-left: 8px;
	}

	.offer:last-child {
		border-top: solid 4px #ddd;
		margin-top: 32px;
		padding-top: 16px;
	}

	.inline {
		display: block;
	}

	iframe#loading {
		width: 96%;
		left: 2%;
	}

	.pricing-panels {
		flex-direction: column;
		margin: 48px 8px;
	}

	div.section-container {
		flex-direction: column;
	}

	div.section-options {
		flex-basis: initial;
		padding-bottom: 32px;
	}

	div.hup-top {
		top: 0px;
		right: 0px;
		padding-right: 16px;
	}

	ul.userMenu {
		right: 12px;
		top: 80px;
	}

		ul.userMenu li h3 {
			font-size: 28px;
		}

	a#contact {
		top: 16px;
	}
}