
html {
	box-sizing: border-box;
	font: 62.5% "Poppins", sans-serif;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	color: #353b48;
	font-size: 1.6rem;
	margin: 0;
	padding: 0;
}

h1,
h3,
p {
	margin: 0;
}

/* -----Login ----- */

.sweet-logo {
	background: url(../Images/Portal/sweet-logo-gradient.svg) no-repeat center;
	background-size: contain;
	width: 100%;
	margin-bottom:32px;
	height: 40px;
}

.synkzone-logo {
	background: url(../Images/Portal/Synkzone.svg) no-repeat center;
	background-size: contain;
	width: 100%;
	margin-bottom: 8px;
	height: 100px;
}

section {
	display: flex;
}

.login-img {
	display: none;
}

.login-form {
	height: 100vh;
	max-width: 90%;
	margin: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

	.login-form h1 {
		color: #c31432;
		font-size: 5rem;
		padding-bottom: 20px;
	}

	.login-form p {
		font-size: 1.8rem;
		text-align: center;
	}

	.login-form h3 {
		padding-bottom: 10px;
	}

form {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 14px 0;
	max-width: 455px;
}

	form > * {
		flex: 100%;
	}

/*-----Login button-----*/


input[type=submit], .providerbutton {
	margin: 0 auto;
	margin-top: 16px;
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	border: none;
	border-radius: 24px;
	padding: 0 16px;
	min-width: 64px;
	height: 46px;
	vertical-align: middle;
	text-align: center;
	text-overflow: ellipsis;
	text-transform: uppercase;
	color: rgb(255, 255, 255);
	background-color: #5F6DE6;
	font-family: Poppins, sans-serif;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 44px;
	overflow: hidden;
	outline: none;
	cursor: pointer;
	transition: box-shadow 0.2s;
}

input.login-button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
}

	/* Hover, Focus */
	input[type=submit]:hover,.providerbutton:hover {
		box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
	}

/*-----Toggle switch-----*/
.switch {
	display: block;
	position: relative;
	line-height: 24px;
	margin-top: 8px;
}

.switch__input {
	position: absolute;
	top: 0;
	left: 0;
	width: 36px;
	height: 20px;
	opacity: 0;
	z-index: 0;
}

.switch__label {
	display: block;
	padding: 0 0 0 44px;
	cursor: pointer;
	font-size: 1.3rem;
	color: #69719b;
	font-weight: 500;
}

	.switch__label:before {
		content: '';
		position: absolute;
		top: 5px;
		left: 0;
		width: 36px;
		height: 14px;
		background-color: rgba(0, 0, 0, 0.26);
		border-radius: 14px;
		z-index: 1;
		-webkit-transition: background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
		transition: background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.switch__label:after {
		content: '';
		position: absolute;
		top: 2px;
		left: 0;
		width: 20px;
		height: 20px;
		background-color: #fff;
		border-radius: 14px;
		box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
		z-index: 2;
		-webkit-transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
		transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
		-webkit-transition-property: left, background-color;
		transition-property: left, background-color;
	}

.switch__input:checked ~ .switch__label:before {
	background-color: #ECECEC;
}

.switch__input:checked ~ .switch__label:after {
	left: 16px;
	background-color: #5C6AE6;
}

/*-----Text and social login buttons-----*/

.text-info {
	text-align: center;
	margin-top: 24px;
}

	.text-info a,
	.text-info p {
		font-size: 1.5rem;
	}

	.text-info p {
		padding-top: 10px;
	}

	.text-info a {
		color: rgb(105 113 155 / 80%);
		text-decoration: none;
		transition: color ease-in 0.2s;
	}

		.text-info a:active,
		.text-info a:hover {
			color: #69719B;
		}

.login-text {
	color: #69719B;
}

.signing-divider {
	border-top: 1px solid #ddd;
	width: 100%;
	margin-top: 18px;
	margin-bottom: 2px;
	max-width: 230px;
	text-align: center;
	position: relative;
}

	.signing-divider p {
		background: #fff;
		position: absolute;
		top: -15px;
		left: 50%;
		margin-left: -27px;
		width: 54px;
		color: #69719B;
	}

a.login {
	background: #fff;
	display: block;
	color: #69719b;
	padding-left: 50px;
	max-width: 100%;
	background-repeat: no-repeat;
	background-size: 26px;
	background-position-x: 13px;
	background-position-y: center;
	text-transform: initial;
	text-decoration: none;
}

#Google {
	background-image: url(../Images/Portal/google.svg);
}

#Azure {
	background-image: url(../Images/Portal/azure.svg);
}

#Azure {
	background-image: url(../Images/Portal/azure.svg);
}

#SweetID {
	background-image: url(../Images/Portal/sweet-icon.png);
}

#SAML2 {
	background-image: url(../Images/Portal/lock-icon-blue.svg);
}

#B2C {
	background-image: url(../Images/Portal/sweet-leaf.svg);
}
#Synkzone {
	background-image: url(../Images/Portal/Synkzone.svg);
}
/*-----Input fields-----*/

.form__group {
	position: relative;
	padding: 4px 0 4px 0;
	margin: 0 auto;
	margin-top: 16px;
	min-width: 160px;
	max-width: 600px;
}

.form__field::placeholder {
	color: transparent;
}

.form__field {
	font-family: inherit;
	width: 100%;
	border: 0;
	border: 1px solid #d2d2d2;
	outline: 0;
	font-size: 14px;
	border-radius: 4px;
	color: #212121;
	padding: 10px 8px;
	background: transparent;
	transition: border-color 0.2s;
}

	.form__field:placeholder-shown ~ .form__label {
		font-size: 14px;
		cursor: text;
		top: 15px;
	}

	.form__group label, .form__field:focus ~ .form__label {
		position: absolute;
		top: -4px;
		left: 5px;
		padding: 0px 4px;
		display: block;
		transition: 0.2s;
		font-size: 12px;
		color: #69719B;
		background: #fff;
	}

	.form__field:focus {
		border: 1px solid #5C6AE6;
		box-shadow: 0 0 0 0.1rem #5C6AE6;
	}

		.form__field:focus:hover {
			border: 1px solid #5C6AE6;
		}

	.form__field:hover {
		border: 1px solid #93969c;
	}

	.form__field:focus ~ .form__label {
		color: #69719B;
		background: #fff;
		padding: 0px 4px;
	}


/* ----- Media queries -----*/
@media screen and (min-width: 990px) {
	.login-form {
		padding: 5%;
	}
	.login-img {
		padding: 12% 8% 8% 8%;
		width: 60%;
	}

		.login-form .login-text {
			display: inline;
		}

	.login-form h1 {
		font-size: 3rem;
	}

	form {
		margin: 25px 0;
	}

	.signing-divider {
		margin-top: 36px;
		margin-bottom: 16px;
	}

	.sweet-logo {
		margin-bottom: 50px;
		height: 46px;
	}

	.sweet-logo-white {
		background: url(../Images/Portal/Sweet_logo_white.svg) no-repeat;
		background-size: contain;
		width: 100%;
		margin-top: 32px;
		height: 60px;
	}

	.login-img {
		background: url(../Images/Portal/sweet-graphics-w72dpi.jpg);
		background-position: center;
		background-size: cover;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		gap: 38px;
	}

		.login-img h1 {
			font-family: 'Abril Fatface', serif;
			color: #fff;
			font-size: 7rem;
			font-weight: 400;
			margin-bottom: 32px;
		}

		.login-img p {
			color: #fff;
			font-size: 2rem;
			line-height: 1.5;
		}
}

.text-error {
	color: #ef5350;
	font-weight: 600;
	min-width: 88px;
	text-align: center;
	padding: 2px 6px 2px 6px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 30px white inset !important;
}#Folksam { background-image: url(../../Custom/Images/favicon.ico); }
