/*  ===========================================================================  
    FORMS
    =========================================================================== */

/*  Layout
    =========================================================================== */
form {
	margin: 24px 0;
}

.cidk-form-wrapper {
	margin-bottom: 1rem;
}

.cidk-form-options {
	display: flex;
	justify-content: space-between;
	margin-bottom: 1.875rem;
}

/*  Labels and inputs  
    =========================================================================== */

/* Hide the eye icon on MS Edge */
input::-ms-reveal,
input::-ms-clear {
	display: none;
}

.cidk-label {
	position: relative;
	display: block;
	margin-bottom: 1.5rem;
}

.cidk-label--checkbox {
	display: flex;
	align-items: center;
	padding-top: 4px;
}

.cidk-label-text {
	display: block;
	margin-bottom: 0.25rem;
	font-size: 0.875rem;
	letter-spacing: 0.04375rem;
	font-family: 'VWAGTheSans-Bold', 'HelveticaNeue', 'Helvetica Neue', Helvetica,
		Arial, sans-serif;
}

.cidk-label-text--checkbox {
	display: flex;
	align-items: center;
	font-size: 1rem;
	cursor: pointer;
}

.cidk-label-text--checkbox::before {
	content: '';
	margin-right: 1rem;
	box-sizing: content-box;
	width: 1.25rem;
	height: 1.25rem;
	border: solid 1px #006384;
	border-radius: 0.125rem;
	background-color: #ffffff;
}

.cidk-label--checkbox input:checked + .cidk-label-text--checkbox::before {
	background-color: #006384;
	background-image: url(../img/check-white.svg);
	background-position: 0 0;
	background-repeat: no-repeat;
}

.cidk-label--checkbox:focus-within {
	outline: auto #005fcc;
}

.cidk-input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	border: 1px solid #a8adb3;
	border-radius: 0.125rem;
	padding: 0 1rem;
	background-color: #fff;
	color: #34393b;
	font-size: 1rem;
	line-height: 2.2;
	font-family: 'VWAGTheSans-Regular', 'HelveticaNeue', 'Helvetica Neue',
		Helvetica, Arial, sans-serif;
}

.cidk-label:hover .cidk-input,
.cidk-label:active .cidk-input,
.cidk-label:focus .cidk-input,
.cidk-input:hover,
.cidk-input:active,
.cidk-input:focus {
	outline: none;
	border-color: #006384;
}

.cidk-input-typeToggler {
	display: flex;
	border: 0;
	padding: 1.1rem 1.5rem;
	background-image: url(../img/eye.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-color: transparent;
	position: absolute;
	top: 1.55rem;
	right: 0;
	outline: none;
	cursor: pointer;
}

.cidk-input-eye-active {
	background-image: url(../img/eye-active.svg);
}

.cidk-input-typeToggler:focus {
	outline: auto #005fcc;
}
