@font-face {
	font-family: 'OpenSans-Light';
	src: url('/https/id.knx.org/fonts/OpenSans-Light.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'OpenSans-Regular';
	src: url('/https/id.knx.org/fonts/OpenSans-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'OpenSans-SemiBold';
	src: url('/https/id.knx.org/fonts/OpenSans-SemiBold.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'OpenSans-Bold';
	src: url('/https/id.knx.org/fonts/OpenSans-Bold.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

:root {
	--knx-text-blue: #0C489D;
	--knx-text-green: #22A63C;
	--knx-text-orange: #FFA900;
	--knx-text-red: #C75150;
}

/* KNX colors classes */
.knx-text-blue {
	color: var(--knx-text-blue);
}

.knx-text-green {
	color: var(--knx-text-green);
}

.knx-text-orange {
	color: var(--knx-text-orange);
}

.knx-text-red {
	color: var(--knx-text-red);
}

body {
	background-image: url('/https/id.knx.org/world.svg'), url('/https/id.knx.org/background.svg');
	background-size: 1200px, cover;
	background-repeat: no-repeat, no-repeat;
	background-position: -100px 0, center;

	font-family: OpenSans-Regular;
	font-size: 13px;
}

.container {
	min-height: calc(100vh - 43.5px);
}

footer {
	color: #FFFFFF;
	font-size: 13px;
}

footer a {
	color: #FFFFFF;
	text-decoration: none;
}

p {
	font-family: OpenSans-Regular;
	font-size: 13px;
}

strong {
	font-family: 'OpenSans-Bold';
}

a {
	color: var(--knx-text-blue);
	cursor: pointer;
}

a.btn {
	border: none;
}

a.btn:hover, a.btn:active {
	color: var(--knx-text-blue) !important;
}

/* change the button color when clicked and after that hovered */
a.btn:active + .status,
a.btn:hover {
	color: var(--knx-text-green) !important;
}

a.btn-outline {
	border: 1px solid var(--knx-text-blue);
}

a.btn-outline:active + .status,
a.btn-outline:hover {
	border: 1px solid var(--knx-text-green);
}

#card-mains {
	background: transparent;
}

#card-main-left {
	border: 1px solid #ccc;
	border-top-left-radius: 0.6rem;
	border-bottom-left-radius: 0.6rem;
}

#card-main-right {
	background: rgba(250, 250, 250, 0.1);
	border-top-right-radius: 0.6rem;
	border-bottom-right-radius: 0.6rem;
}

#card-main-full {
	background: rgba(250, 250, 250, 0.1);
	border-radius: 0.6rem;
}

h1 {
	font: 36px "OpenSans-Light", "Open Sans Light", "Open Sans";
	color: rgb(74,74,74);
	min-height: 10px;
	margin: 0px;
	padding: 0px;
}

h1.title {
	font-family: "OpenSans-Light";
	margin-bottom: 25px;
	color: rgb(45,44,47);
}

h2 {
	font-size: 24px;
	color: rgb(45, 44, 47);
}

h3 {
	font-size: 24px;
	color: rgb(74, 74, 74);
}

.bold {
	font-family: OpenSans-Bold;
}

.semibold {
	font-family: OpenSans-SemiBold;
}

.light {
	font-family: OpenSans-Light;
}

.regular {
	font-family: OpenSans-Regular;
}

.btn {
	font-size: 13px;
	height: 40px;
}

#signin-btn {
	border-radius: 4px;
	background: var(--knx-text-blue);
}

.form-label {
	margin-bottom: 4px;
	color: #4a4a4a;
}

#button, #verify-code {
	border-radius: 4px;
	background-color: var(--knx-text-blue);
}

#register {
	border-radius: 4px;
	border: 2px solid var(--knx-text-blue);
	padding: 7px;
	cursor: pointer;
}

/* Todo Commented code in case if they need 6 input instead of 1 */
/* otp-field */
/*.otp-field {
	display: flex;
}

.otp-field input {
	width: 58px;
	font-size: 28px;
	font-family: "OpenSans-Light";
	font-weight: 400;
	padding: 10px;
	text-align: center;
	border-radius: 4px;
	margin: 3px;
	border: 2px solid #dddddd;
	background: #fff;
	color: #2D2C2F;
	outline: none;
	transition: all 0.1s;
}

.otp-field input:focus {
	border: 2px solid #0C489D;
}*/

.otp-description {
	color: #4a4a4a;
}

#refresh_captcha {
	background-color: var(--knx-text-blue);
	color: #fff;
}

#card-main-left {
	z-index: 1;
}

#overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.9);
	z-index: 1000;
	display: none;
}

.spinner-container {
	position: relative;
	z-index: 1001;
}

#loading-content {
	display: none;
}

.blur {
	filter: blur(1px);
}

#loading-spinner {
	width: 108px;
	height: 107px;
}

.rounded-circle {
	width: 108px;
	height: 107px;
	background-color: white;
}

.spinner-success {
	font-size: 2rem;
	color: var(--knx-text-green);
}

.spinner-fail {
	font-size: 2rem;
	color: var(--knx-text-red);
}

.loading-spinner-message-success {
	color: var(--knx-text-green);
	font-family: OpenSans-Regular;
	font-size: 18px;
}

.loading-spinner-message-fail {
	color: var(--knx-text-red);
	font-family: OpenSans-Regular;
	font-size: 18px;
}

#authenticator-code {
	display: flex;
	background-color: #F5F5F5;
	padding: 8px 16px;
}

#copy-feedback {
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

#copy-feedback.copied {
	opacity: 1;
}

#copy-text {
	font-size: 18px;
}

#copy-button {
	font-size: 16px;
}

#recovery-codes p {
	font-size: 18px;
}

#download-recovery-code {
	display: flex;
	height: 48px;
	padding: 10px var(--spacing-16, 16px);
	justify-content: center;
	align-items: center;
	gap: var(--spacing-8, 8px);
	align-self: stretch;
	font-size: 14px;
	border-radius: 4px;
	border: 1px solid var(--knx-text-blue);
}

#register-password .bg-success, #new-password .bg-success {
    background-color: var(--knx-text-green) !important;
}

#register-password .bg-warning, #new-password .bg-warning {
	background-color: var(--knx-text-orange) !important;
}

#register-password .bg-danger, #new-password .bg-danger {
	background-color: var(--knx-text-red) !important;
}

#show-password-icon {
	width: 1rem;
}

#toggle-password {
	color: initial;
}

.password-container {
	position: relative;
	width: 100%;
}

#toggle-password {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
}

#form-email.is-invalid, #form-password.is-invalid {
	background-image: none !important;
}

.xmark {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.alert-icon {
	background: rgba(0,0,0,.05);
	padding: 0.95rem;
}

.alert-message {
	box-sizing: border-box;
	padding: 0.95rem;
	width: 100%;
}

.alert {
	display: flex;
	border: 0 solid transparent;
	border-radius: 0.2rem;
	margin-bottom: 1rem;
	padding: 0;
	position: relative;
}

.alert-danger {
	background-color: #f8d7da;
	border-color: #f5c2c7;
	color: #842029;
}

#progress-label {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #842029;
}

#language-picker.dropdown-toggle::after {
	display: none !important;
}

#language-picker {
	text-decoration: none;
	color: #FFFFFF;
}

#validate-password {
	padding-right: calc(7.5em - 0.175rem);
}

#form-password {
	padding-right: calc(4em - 0.175rem);
}

#form-new-password {
	padding-right: calc(7.5em - 0.175rem);
}

#captcha_picture {
	border-bottom-left-radius: 0.375rem;
	border-top-left-radius: 0.375rem;
	image-rendering: crisp-edges;
	filter: blur(0);
	transform: translateZ(0);
}

#empty-row {
	min-height: 142px;
}

#empty-row-big {
	min-height: 179px;
}

/* Extra Large >= 1400px */
@media (min-width: 1400px) {
	#captcha_picture {
		width: 79.3% !important;
	}

	#empty-row {
		min-height: 142px;
	}
}

/* Large 1280px - 1399px */
@media (min-width: 1200px) and (max-width: 1399px) {
	#captcha_picture {
		width: 74.8% !important;
	}

	#empty-row {
		min-height: 142px;
	}
}

/* Large 1199px - 995px */
@media (min-width: 995px) and (max-width: 1199px) {
	.container {
		min-height: calc(100vh - 43.5px);
	}

	#captcha_picture {
		width: 67.5% !important;
	}

	#empty-row {
		min-height: 142px;
	}
}

/* Large 994px - 961px */
@media (min-width: 961px) and (max-width: 994px) {
	.container {
		min-height: calc(100vh - 99.52px);
	}

	#captcha_picture {
		height: 40px;
		width: 90.9% !important;
	}

	#card-main-left {
		border: 1px solid #ccc;
		border-top-right-radius: 0.6rem;
		border-bottom-right-radius: 0.6rem;
	}
}

/* Medium 959px - 640px */
@media (min-width: 641px) and (max-width: 960px) {
	.container {
		min-height: calc(100vh - 109.52px);
	}

	#copy-right {
		padding-top: 10px;
	}

	#card-main-left {
		border: 1px solid #ccc;
		border-top-right-radius: 0.6rem;
		border-bottom-right-radius: 0.6rem;
	}

	#captcha_picture {
		height: 40px;
		width: 90% !important;
	}

	#empty-row {
		min-height: 20px;
	}
}

/* Medium 819px - 640px */
@media (min-width: 641px) and (max-width: 819px) {
	.container {
		min-height: calc(100vh - 73px);
	}
}

/* Small 639px - 321px */
@media (min-width: 361px) and (max-width: 640px) {
	.container {
		min-height: 100vh!important;
	}

	body {
		background-image: none;
	}

	#language-picker, .fa-globe, #privacy-policy {
		color: #0C489D !important;
	}

	#copy-right {
		color: #808080 !important;
		padding-top: 10px;
	}

	#card-main-left {
		border: none;
		border-radius: 0;
	}

	#captcha_picture {
		height: 40px;
		width: 88.6% !important;
	}

	#empty-row {
		min-height: 0;
	}

	#empty-row-big {
		min-height: 0;
	}

	#loading-spinner-message {
		font-size: 17px;
	}
}

/* Small 360px - 320px */
@media (min-width: 321px) and (max-width: 360px) {
	body {
		background-image: none;
	}

	.container {
		min-height: 100vh!important;
	}

	#language-picker, .fa-globe, #privacy-policy {
		color: #0C489D !important;
	}

	#copy-right {
		color: #808080 !important;
		padding-top: 10px;
	}

	#card-main-left {
		border: none;
		border-radius: 0;
	}

	#captcha_picture {
		height: 40px;
		width: 87.9% !important;
	}

	#empty-row {
		min-height: 0;
	}

	#empty-row-big {
		min-height: 0;
	}

	#loading-spinner-message {
		font-size: 16.6px;
	}
}

/* Extra Small <= 320px */
@media (max-width: 320px) {
	body {
		background-image: none;
	}

	.container {
		min-height: 80vh!important;
	}

	#language-picker, .fa-globe, #privacy-policy {
		color: #0C489D !important;
	}

	#copy-right {
		color: #808080 !important;
		padding-top: 10px;
	}

	#card-main-left {
		border: none;
		border-radius: 0;
	}

	#captcha_picture {
		height: 40px;
		width: 84% !important;
	}

	#empty-row {
		min-height: 0;
	}

	#empty-row-big {
		min-height: 0;
	}

	#loading-spinner-message {
		font-size: 16.5px;
	}
}
