/*!
 * Copyright (C) 2022 DV Bern AG, Switzerland
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
.mb-1 {
  margin-bottom: 0.8rem; }

.mb-2 {
  margin-bottom: 1.4rem; }

.mb-3 {
  margin-bottom: 1.8rem; }

/*!
 * Copyright (C) 2022 DV Bern AG, Switzerland
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
div.alert {
  padding: 16px;
  margin-bottom: 2.2rem; }
  div.alert.alert-danger {
    background-color: #ffe6e6; }
  div.alert.alert-success {
    background-color: #e5e5e5; }
  div.alert.alert-warning {
    background-color: #faf1e3; }

/*!
 * Copyright (C) 2022 DV Bern AG, Switzerland
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
.btn {
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  background: var(--primary-color);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: .2rem;
  outline: 2px solid rgba(0, 0, 0, 0);
  outline-offset: 0;
  padding: 1rem 1.5rem;
  text-align: center;
  white-space: nowrap;
  cursor: pointer; }
  .btn.btn-primary {
    color: #FFFFFF;
    font-size: 14px;
    padding: 1.4rem 1.4rem;
    letter-spacing: 0.5px;
    line-height: 19px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500; }
  .btn.btn-secondary {
    font-size: 14px;
    padding: 1.2rem 1.2rem;
    letter-spacing: 0.5px;
    line-height: 19px;
    text-align: center;
    text-transform: uppercase;
    background-color: #fff;
    border-color: var(--primary-color);
    border-style: solid;
    color: var(--primary-color);
    margin-bottom: 4rem; }
  .btn:focus {
    outline: 2px solid #000; }

/*!
 * Copyright (C) 2022 DV Bern AG, Switzerland
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
form label {
  margin-bottom: 8px;
  font-weight: normal;
  letter-spacing: 0.1rem; }

form input {
  width: calc(100% - 18px); }

form input[type="text"], form input[type="password"], form input[type="email"], form input[type="number"] {
  font-size: 1.6rem;
  padding: 8px 8px;
  border: 2px solid #383838;
  border-radius: 0;
  font-style: normal;
  font-weight: 700;
  display: inline-block;
  letter-spacing: 0.1rem;
  line-height: 2rem; }
  form input[type="text"]:focus, form input[type="password"]:focus, form input[type="email"]:focus, form input[type="number"]:focus {
    outline: 1px solid #383838; }
  form input[type="text"][aria-invalid="true"], form input[type="text"].invalid, form input[type="password"][aria-invalid="true"], form input[type="password"].invalid, form input[type="email"][aria-invalid="true"], form input[type="email"].invalid, form input[type="number"][aria-invalid="true"], form input[type="number"].invalid {
    background-color: #ffe6e6; }

form input[type="submit"], form button[type="submit"] {
  margin-top: 2.2rem;
  width: 100%; }

.input-error {
  color: #dd2c00;
  font-size: 12px;
  margin-top: 4px;
  display: block; }

.input-error-global {
  color: #dd2c00;
  font-size: 1.6rem;
  margin-bottom: 18px;
  display: block; }

.input-warning {
  background-color: #F7E4C5;
  color: #c4841c;
  font-size: 12px;
  margin-top: 4px;
  margin-bottom: 4px;
  display: block;
  border-bottom: 1px solid #c4841c; }

/*!
 * Copyright (C) 2022 DV Bern AG, Switzerland
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
nav.kibon-header {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-content: flex-end;
  height: 5rem;
  top: 0;
  justify-content: flex-end; }
  nav.kibon-header.logo {
    background-image: url("../img/logo.svg");
    background-position: left 0.7rem center;
    background-repeat: no-repeat;
    background-size: auto 5rem; }
  nav.kibon-header div.language {
    place-self: center;
    padding-right: 2rem; }

:root {
  --primary-color: #d50025;
  --primary-color-dark: #bf0425;
  --primary-color-light: #f0c3cb; }

:after, :before {
  box-sizing: border-box; }

html {
  font-size: 10px; }

body.kibon {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  font-size: 14px; }

div.kibon-login {
  padding: 5vh 10vw 10vw 5vh;
  margin: 0 auto;
  max-width: 450px; }
  div.kibon-login div.kibon-login-container label {
    display: block; }
  div.kibon-login header.kibon-form-header {
    margin-top: 5vh;
    margin-bottom: 3rem; }

a {
  color: var(--primary-color);
  font-weight: 500;
  letter-spacing: 0.05rem; }
  a.btn {
    display: block;
    text-decoration: none; }

#kc-registration-container {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 4rem;
  padding-top: 3rem; }
  #kc-registration-container #kc-registration {
    text-align: center;
    font-size: 1.5rem; }

#kc-form-options {
  margin-top: 2rem; }

#kc-info {
  margin-bottom: 2.5rem; }
  #kc-info #kc-info-wrapper {
    letter-spacing: 1px;
    line-height: 2.1rem; }

#kc-username {
  display: none; }

.forgot-password {
  text-align: right; }
