/* Forms */

.user-login-form,
.user-pass {
	background: var(--grau);
	max-width: 500px;
	padding: 50px;
    max-width: 1011px;
    margin: 0 auto;
    margin: 100px auto;
    width: 90%;
}


.webform-submission-form {
    margin: 0 auto;
}

.js-form-item {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 25px 0;
}

.js-form-item label {
	width: 100%;
	font-weight: 700;
}

label.js-form-required:after {
	content: "*";
	font-weight: 300;
	color: red;
}

.js-form-item input {
	width: calc(100% - 34px);
	border: 2px dashed black;
	background: white;
	padding: 0 15px;
	height: 45px;
	font-family: inherit;
	line-height: 45px;
    font-size: 1em;
    outline: none;
}

.js-form-item input[type=number] {
    width: 66px;
    padding: 5px 10px;
    font-family: inherit;
    font-size: 1em;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    line-height: inherit;
    background: var(--grau);
    height: inherit;
    align-self: flex-start;
}

input[type=checkbox] {
    padding: 0;
    height: 25px;
    width: 27px;
    margin: 0;
    cursor: pointer;
}

input[type=checkbox]:checked {
    background: var(--gelb) url('../images/icon-check.svg') no-repeat center center;
    background-size: 20px auto;
}

input[type=submit] {
    color: black;
    border: 0;
    text-transform: uppercase;
    background: var(--gelb);
    display: inline-block;
    padding: 10px 25px;
    border: 3px dashed black;
    font-family: inherit;
    cursor: pointer;
    font-size: 1em;
    font-weight: 700;
}

input[type=submit]:hover {
    color: white;
    background: var(--blau);
    border-color: var(--blau);
}

.webform-submission-form,
.fieldset-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	justify-content: space-between;
}

label + label {
    margin-top: 20px;
}

.js-form-item {
	width: calc(50% - 20px);
    margin-bottom: 20px !important;
}

.form-wrapper,
.js-form-type-webform-markup {
	width: 100%;
	display: block;
}

.js-form-type-webform-markup h2 {
    margin: 40px 0 0 0;
}

.js-form-type-number,
.js-form-type-checkbox {
	display: flex;
	flex-wrap: nowrap;
	margin: 10px 0 20px 0 !important;
    width: 100%;
}

.js-form-type-number input,
.js-form-type-checkbox input {
	margin-right: 20px;
}

.js-form-type-checkbox label {
    text-transform: none;
}

.js-form-type-number + label {
	margin-top: 40px;
}

.form-actions {
	margin-top: 40px;
}

.js-form-item.form-disabled {
    opacity: 0.3 !important;
}

.js-form-item.form-disabled .description>div::after {
    content: " demnächst erhältlich";
    color: red;
    white-space: pre;
}

@media (max-width: 1024px) {
    .js-form-item {
        width: calc(100% - 0px);
    }
}

/* Admin Overrides */

#block-kinderschutz-zentrum-berlin-local-tasks,
#block-kinderschutz-zentrum-berlin-primary-local-tasks {
    margin: 100px auto;
	width: 90%;
	max-width: 1111px;
}

.adminimal-admin-toolbar #block-kinderschutz-zentrum-berlin-local-tasks,
.adminimal-admin-toolbar #block-kinderschutz-zentrum-berlin-primary-local-tasks {
    position: fixed;
    top: 100px;
    left: 25px;
    z-index: 20;
    background: white;
    padding: 25px;
    width: auto;
    margin: 0;
.adminimal-admin-toolbar #block-kinderschutz-zentrum-berlin-local-tasks a,
.adminimal-admin-toolbar #block-kinderschutz-zentrum-berlin-primary-local-tasks a {
    font-weight: 400;
    font-size: 0.9em;
}

div[role=contentinfo] {
    display: none;
}

.hero {
	margin-top: -90px;
    margin-bottom: -100px;
    z-index: 1;
    height: 65vh;
    min-height: 450px;
    max-height: 650px;
    overflow: hidden;
	z-index: 0;
	margin-bottom: -200px;
	background: url('/sites/default/files/styles/hero/public/2021-12/KSZB_Webseite_Bild_FuerKinderUndJugendliche_Breitbild.jpg') no-repeat center center;
	background-size: cover;
}

article.contextual-region[typeof="schema:Person"] {
	background: white;
	width: 90%;
    max-width: 911px;
    margin: 0 auto 100px auto;
    position: relative;
    z-index: 2;
    padding: 100px 100px 75px 100px;
    box-shadow: 0 0 60px rgb(0 0 0 / 8%);
    position: relative;
    z-index: 2;
    width: calc(100% - 200px);
}

article > .js-form-item {
	display: block;
}

@media (max-width: 1024px) {
    .user-login-form, 
    .user-pass {
        padding: 5vw;
        width: calc(100% - 10vw);
    }
}
