﻿/* Global colours */

:root {

	--edirt-blue-1: #002664;
	--edirt-blue-2: #146CFD;
	--edirt-blue-3: #8CE0FF;
	--edirt-blue-4: #CBEDFD;
	
	--edirt-brown-2: #B68D5D;

	--edirt-green-1: #004000;
	--edirt-green-3: #A8EDB3;
	--edirt-green-4: #DBFADF;
	
	--edirt-grey-1: #22272B;
	--edirt-grey-2: #495054;
	--edirt-grey-3: #CDD3D6;
	--edirt-grey-4: #EBEBEB;

	--edirt-red-3: #FFB8C1;
	--edirt-red-4: #FFE6EA;

	--edirt-teal-2: #2E808E;
	--edirt-teal-3: #8CDBE5;
	--edirt-teal-4: #D1EEEA;

	--edirt-white: #ffffff;
	--edirt-slightly-off-white: #FBFBFB;
	--edirt-off-white: #F7F8FB;

	--edirt-yellow-1: #694800;
	--edirt-yellow-2: #FAAF05;
	--edirt-yellow-3: #FDE79A;
	--edirt-yellow-4: #FFF4CF;
	
	--edirt-success-green: #008A07;
	--edirt-success-green-bg: #E5F6E6;
	--edirt-info-blue: #2E5299;
	--edirt-info-blue-bg: #EAEDF4;
	--edirt-warning-orange: #C95000;
	--edirt-warning-orange-bg: #FBEEE5;
	--edirt-error-red: #B81237;
	--edirt-error-red-bg: #F7E7EB;
}

/* Box sizing reset */

html {
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}

/* Master layout */

body {
	margin: 0;
	font-family: 'Public Sans', sans-serif;
	font-weight: 400;
	color: var(--edirt-grey-2);
	background-color: var(--edirt-off-white);
	font-size: 14px;
	line-height: 21px;
}

.wrapper {
	height: 100dvh;
}

.master {
	position: relative;
	height: 100%;
}

/* Heading styles */

h1 {
	font-size: 28px;
	line-height: 36px;
	margin: 0;
	color: var(--edirt-grey-1);
	font-weight: 700;
}

h2 {
	font-size: 28px;
	line-height: 36px;
	margin: 0;
	color: var(--edirt-grey-1);
	font-weight: 600;
}

h3 {
	font-size: 20px;
	line-height: 30px;
	font-weight: 600;
	margin: 0;
	color: var(--edirt-grey-1);
}

h4 {
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	margin: 0;
	color: var(--edirt-grey-1);
}

h6 {
	font-weight: 700;
	font-size: 14px;
	line-height: 20px;
	color: var(--edirt-blue-1);
	margin: 0;
}

/* Text sizes */

.text-xxlarge {
	font-size: 22px;
	line-height: 38px;
}

.text-xlarge {
	font-size: 18px;
	line-height: 26px;
}

.text-larger {
	font-size: 16px;
	line-height: 24px;
}

.text-large {
	font-size: 14px;
	line-height: 20px;
}

.text-normal {
	font-size: 12px;
	line-height: 18px;
	font-weight: 400;
}

.text-small {
	font-size: 12px;
	line-height: 16px;
}

/* Text alignment */

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

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

/* Text colours */

.text-white {
	color: var(--edirt-white);
}

.text-blue-1 {
	color: var(--edirt-blue-1);
}

.text-blue-2 {
	color: var(--edirt-blue-2);
}

.text-grey-1 {
	color: var(--edirt-grey-1);
}

.text-grey-2 {
	color: var(--edirt-grey-2);
}

.text-grey-3 {
	color: var(--edirt-grey-3);
}

/* Text weight */

.text-normal {
	font-weight: 400;
}

.text-medium {
	font-weight: 500 !important;
}

.text-bold {
	font-weight: 600;
}

p, li {
	margin: 0;
}

strong {
	font-weight: 600;
}

a {
	color: var(--edirt-blue-1);
	text-decoration: none;
	font-weight: 600;
}

a.active {
	text-decoration: none;
}

/* Utility styles */

.no-display, .display-none {
	display: none !important;
}

.no-select {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.flex-center {
	display: flex;
	justify-content: center;
	align-items: center;
}

hr {
	border: none;
	height: 1px;
	background: var(--edirt-grey-4);
	margin: 0;
}

/* Margins */

.mt-eighth {
	margin-top: 3px;
}

.mt-quarter {
	margin-top: 6px;
}

.mt-half {
	margin-top: 12px;
}

.mt-single {
	margin-top: 24px;
}

.mt-sesqui {
	margin-top: 36px;
}

.mt-double {
	margin-top: 48px;
}

.ml-quarter {
	margin-left: 6px;
}

.ml-half {
	margin-left: 12px;
}

.ml-single {
	margin-left: 24px;
}

.ml-sesqui {
	margin-left: 36px;
}

.ml-double {
	margin-left: 48px;
}

.mr-quarter {
	margin-right: 6px;
}

.mr-half {
	margin-right: 12px;
}

.mr-single {
	margin-right: 24px;
}

.mr-sesqui {
	margin-right: 36px;
}

.mr-double {
	margin-right: 48px;
}

/* Padding */

.pt-none {
	padding-top: 0;
}

.pt-single {
	padding-top: 24px;
}

.pt-sesqui {
	padding-top: 36px;
}

.pt-double {
	padding-top: 36px;
	padding-bottom: 36px;
}

.pv-none {
	padding-top: 0;
	padding-bottom: 0;
}

.pv-single {
	padding-top: 24px;
	padding-bottom: 24px;
}

.pv-sesqui {
	padding-top: 36px;
	padding-bottom: 36px;
}

.pv-double {
	padding-top: 48px;
	padding-bottom: 48px;
}

.ph-quarter {
	padding-left: 6px;
	padding-right: 6px;
}

.ph-half {
	padding-left: 12px;
	padding-right: 12px;
}

.ph-single {
	padding-left: 24px;
	padding-right: 24px;
}

.ph-sesqui {
	padding-left: 36px;
	padding-right: 36px;
}

.ph-double {
	padding-left: 48px;
	padding-right: 48px;
}

.pb-none {
	padding-bottom: 0 !important;
}

.pb-single {
	padding-bottom: 24px;
}

.pb-sesqui {
	padding-bottom: 36px;
}

.pb-double {
	padding-bottom: 48px;
}

/* Row action */

.row-action {
	
}

/* Buttons */

.button {
	height: 40px;
	background-color: var(--edirt-blue-1);
	color: var(--edirt-white);
	border-radius: 4px;
	font-size: 14px;
	line-height: 18px;
	font-weight: 600 !important;
	width: 100%;
	border: none;
	cursor: pointer;
	font-family: 'Public Sans', sans-serif;
	padding-left: 18px;
	padding-right: 18px;
}

.button:disabled {
	cursor: auto;
	background-color: var(--edirt-grey-3);
}

.button-flex {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

a.button {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.button.inline-button {
	width: auto;
	padding: 0 16px;
}

.button.icon-button {
	width: auto;
	padding: 12px;
}

.button.button-white {
	background-color: var(--edirt-white);
	color: var(--edirt-blue-1);
}

.button.button-off-white {
	background-color: var(--edirt-off-white);
	color: var(--edirt-blue-1);
}

.button.button-outline {
	background-color: var(--edirt-white);
	border: 2px solid var(--edirt-blue-1);
	color: var(--edirt-blue-1);
}

.button.button-off-white-red {
	background-color: var(--edirt-off-white);
	color: var(--edirt-error-red);
}

.button.button-white-blue-border {
	background-color: var(--edirt-white);
	color: var(--edirt-blue-1);
	border: 2px solid var(--edirt-blue-1);
}

.button.button-transparent {
	background-color: transparent;
	border: 2px solid var(--edirt-white);
}

.button.disabled {
	/*color: color-mix(in srgb, var(--edirt-white) 20%, transparent);*/
	opacity: 0.3;
	cursor: default;
}

.button.button-off-white.disabled {
	color: color-mix(in srgb, var(--edirt-blue-1) 20%, transparent);
	opacity: 1.0;
	cursor: default;
}

/* Button loader */

.button-loader {
	transition: background-color 0.3s ease;
}

.button-loading {
	position: relative;
}

.indigo-button.button-loading {
	background-color: var(--ezee-indigo-loading);
}

.lime-button.button-loading {
	background-color: var(--ezee-lime-loading);
}

.lds-ring {
	display: inline-block;
	position: absolute;
	left: 6px;
	top: 6px;
	width: 32px;
	height: 32px;
}

.lds-ring div {
	box-sizing: border-box;
	display: block;
	position: absolute;
	width: 28px;
	height: 28px;
	border-width: 4px;
	border-style: solid;
	border-radius: 50%;
	animation: lds-ring 2.0s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	border-color: var(--edirt-white) transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
	animation-delay: -0.75s;
}

.lds-ring div:nth-child(2) {
	animation-delay: -0.5s;
}

.lds-ring div:nth-child(3) {
	animation-delay: -0.25s;
}

@keyframes lds-ring {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Validation */

input.input-validation-error,
select.input-validation-error {
	border-color: var(--edirt-error-red);
	box-shadow: 0 0 0 4px var(--edirt-error-red-bg);
}

.field-validation-error {
	display: block;
	color: var(--edirt-error-red);
	margin-top: 8px;
	font-size: 14px;
}

/* Activation requirements */

.activate-start-back {
	display: inline-block;
}

.start-requirements {

}

.start-requirement {
	display: flex;
	align-items: center;
	justify-content: start;
}

/* Label / value rows */

.label-value-row {
	display: flex;
	justify-content: space-between;
	align-items: start;
	border-bottom: 1px solid var(--ezee-pale-grey);
	padding: 10px 0;
}

a.label-value-row {
	align-items: center;
}

.label-value-row:first-child {
	border-top: 1px solid var(--ezee-pale-grey);
}

.label-value-row .label {
	font-size: 14px;
	line-height: 19px;
	color: var(--ezee-mid-grey);
}

a.label-value-row .label {
	color: var(--ezee-dark-grey);
	font-weight: 500;
	font-size: 16px;
}

.label-value-row .value {
	text-align: right;
	font-size: 14px;
	line-height: 19px;
}

.header {
	border-bottom: 1px solid var(--edirt-grey-4);
	padding-left: 28px;
	padding-bottom: 24px;
	padding-right: 28px;
	margin-left: -28px;
	margin-right: -28px;
}
