:root {
	--brand-color: #53195b;
}


#agdaPSByVismaLogoPurple {
	background: url(/AgdaEntre/images/login/AgdaPS_ByVisma_logo_RGB_Purple.svg);
	height: 68.7px;
	margin: auto;
	width: 200px;
}

.loginWrapper,
.loginForgottenWrapper,
.resetPwdWrapper {
	display: flex;
	box-sizing: border-box;
	flex-direction: column;
	content: '';
	width: 100vw;
	height: 100vh;
	background: url(/AgdaEntre/images/login/colorful-blobs-2x.png) left bottom var(--brand-color);
	background-size: contain;
	background-repeat: no-repeat;
	font-family: 'Open Sans', 'OpenSansFallback', sans-serif;
}

#errorContainer {
	overflow-y: auto;
	max-height: 160px;
}

.hide-span>span {
	display: none;
}

.roundedCorners {
	border-radius: 1rem !important;
}

@media (max-width: 610px) {
	.panel.loginPanel {
		width: 90%;
	}
}

.panel.loginPanel {
	border: 0;
	-webkit-box-shadow: 18px 0 40px 0 rgba(23, 33, 38, 0.25);
	-moz-box-shadow: 18px 0 40px 0 rgba(23, 33, 38, 0.25);
	box-shadow: 18px 0 40px 0 rgba(23, 33, 38, 0.25);
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 350px;

	h2 {
		margin: 0;
		padding: 0;
		font-size: 40px;
		font-weight: normal;
		line-height: 48px;
		color: #048bd9;
		border: 0;
	}

	@media (max-width: 400px) {
		h2 {
			margin: 0;
			padding: 0;
			font-size: 30px;
			font-weight: normal;
			line-height: 48px;
			color: #048bd9;
			border: 0;
		}
	}

	h3 {
		font-weight: 600;
		border: 0;
	}

	>.panel-heading {
		padding: 10px 40px 9px;
	}

	>.panel-body {
		padding: 40px 40px 20px;
	}

	>.panel-body,
	>.panel-footer {
		background-color: #fff;
		border: 0;
	}

	>.panel-footer {
		position: relative;
		padding: 18px 40px;
		text-align: center;
	}

	>.panel-footer::after {
		display: block;
		position: absolute;
		content: '';
		width: 100%;
		height: 1px;
		top: 0;
		left: 0;
		background: -moz-linear-gradient(left, rgba(235, 235, 235, 0) 0%, #ebebeb 20%, #ebebeb 80%, rgba(235, 235, 235, 0) 100%);
		background: -webkit-linear-gradient(left, rgba(235, 235, 235, 0) 0%, #ebebeb 20%, #ebebeb 80%, rgba(235, 235, 235, 0) 100%);
		background: linear-gradient(to right, rgba(235, 235, 235, 0) 0%, #ebebeb 20%, #ebebeb 80%, rgba(235, 235, 235, 0) 100%);
	}

	>.panel-footer img {
		height: 24px;
		vertical-align: middle;
		border: 0;
	}

	.form-group {
		min-height: 0;
		margin-bottom: 9px;
	}

	/* DEV: Is it used in this combination? */
	.form-group.mainred {
		padding: 0;
		margin-bottom: 9px;
		color: #d73941;
		font-weight: 600;
		background-color: transparent;
	}

	.form-group.rememberMe {
		min-height: auto;
		min-height: initial;
		margin-bottom: 0;
	}

	.form-horizontal {
		margin-bottom: 0;
	}

	label {
		font-weight: 600;
	}

	@media (min-width: 769px) {
		label {
			text-align: right;
		}
	}

	.input-field,
	input[type="text"],
	input[type="password"] {
		height: 40px !important;
		max-width: 100%;
		padding: 4px 10px;
		color: #282828 !important;
		font-size: 14px;
		border: 0;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		background-color: #ffffff;
		-webkit-box-shadow: 0 0 0 1px #c8c8c8 inset;
		-moz-box-shadow: 0 0 0 1px #c8c8c8 inset;
		box-shadow: 0 0 0 1px #c8c8c8 inset;
		width: 100%;
	}


	.form-group label {
		cursor: default;
		padding-top: 5px;
		padding-bottom: 5px;
		line-height: 145%;
		text-align: left;
	}

	.text-danger {
		color: #dc3545 !important;
	}

	.input-field:focus, input[type="text"]:focus, input[type="password"]:focus {
		outline: none;
		box-shadow: 0 0 0 1px hsla(220, 100%, 50%, 80%);
		background: #ffffff !important;
	}


	.input-checkbox input[type="checkbox"],
	.input-icon input[type="checkbox"] {
		display: none;
	}



	.btn.primary {
		background: #2d7048 !important;
		border: 1px solid #2d7048;
		border-radius: 20px !important;
		color: white;

	}

	.btn.primary:hover {
		opacity: 0.9;
		border: 1px solid #2d7048;
	}

	.btn.primary:focus {
		outline: none;
		box-shadow: 0 0 0 1px hsla(220, 100%, 50%, 80%);
	}

	.btn.link {
		background: transparent;
		border: 0;
		padding-top: 10px;
		font-weight: 400;
		color: var(--brand-color);
	}

	.btn {
		display: inline-block;
		box-sizing: border-box;
		font-weight: 400;
		text-align: center;
		vertical-align: middle;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		background-color: transparent;
		border: 1px solid transparent;
		height: 40px;
		margin: 0;
		min-width: auto !important;
		padding-top: 8px;
		width: 100%;
	}

	.secondary-action-link {
		text-align: center;
		padding-top: 8px;
	}
	.secondary-action-link a {
		color: var(--brand-color, #400049);
		font-weight: 400;
	}

	
	.agdaCheckBox {
		padding-left: 0;
		margin-right: 6px;
	}

	.agdaCheckBox label {
		overflow: initial;
	}

	.agdaCheckBox label::before {
		display: inline-block;
		overflow: visible;
		position: relative;
		margin-right: 6px;
		top: 3px;
		left: 0;
	}

	.vismaicon-preview.vismaicon-sm:before {
		background-image: url(img/vismaicons/worksurface/16_preview_black.svg);
	}
}

label.vismaicon-preview {
	cursor: pointer;
}

.vismaicon.modal-link,
.inptResedata .vismaicon-search {
	padding-left: 3px;
}

.vismaicon-sm.modal-link::before {
	top: 2px;
}

.inptResedata .vismaicon-sm.vismaicon-search::before {
	top: -4px;
}

.vismaicon.modal-link,
.inptResedata .vismaicon-search {
	padding-left: 3px;
}

.vismaicon-sm.modal-link::before {
	top: 2px;
}

.search-group.search-group-primary .form-control:focus {
	border-radius: 15px;
	padding-left: 30px;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill input:-webkit-autofill:focus,
textarea:-webkit-autofill:focus,
select:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
	-webkit-text-fill-color: #282828 !important;
}