/* roboto-100 */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: local('Roboto Lighter'), local('Roboto-Lighter'),
       url('../fonts/roboto-v20-100.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto-v20-100.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-regular */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Regular'), local('Roboto-Regular'),
       url('../fonts/roboto-v20-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto-v20-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

html, body {
  min-height: 100%;
  font-size: 16px;
}

body {
  font-family: "Roboto", sans-serif;
}

.kc-body {
  background: var(--snd-background-color-primary);
  background: linear-gradient(75deg, var(--snd-background-color-primary) 0%, var(--snd-background-color-secondary) 50%, var(--snd-background-color-primary) 100%),
    url("../img/nodes.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  background-blend-mode: multiply;
  color: #8e8e8e;
}

.kc-login, .kc-form-card {
  min-height: 100%;
}

.kc-dropdown {
  display: flex;
}

.kc-dropdown > ul {
  margin: 0;
  margin-left: auto;
  padding: 32px;
  display: flex;
}

.kc-dropdown-item {
  list-style: none;
}

.kc-dropdown-item:not(:last-child) {
  margin-right: 16px;
}

.kc-dropdown-item > a {
  color: white;
  text-shadow: 2px 2px 3px black;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.5s ease-in-out;
}

.kc-dropdown-item > a:hover {
  text-shadow: 2px 2px 3px black;
  opacity: 1;
}

.kc-dropdown-item.selected > a{
  border-bottom: solid 1px white;
  opacity: 1;
}

.kc-button {
  width: 100%;
  height: 60px;
  border: 0;
  font-size: 20px;
  font-weight: bold;
}

.kc-button-primary {
  background-color: var(--snd-form-button-background-color);
  color: var(--snd-form-button-color);
}

.kc-input {
  width: 100%;
  border: 0;
  border-bottom: solid 1px #d8d8d8;
  font-size: 1rem;
  color: #8e8e8e;
  padding: 4px;
}

.kc-input:focus {
  outline: none;
  color: #000;
  border-bottom: solid 1px #000;
}

.kc-input::placeholder {
  color: #a8a8a8;
}

.kc-form-group {
  margin-bottom: 32px;
}

.kc-form-settings {
  display: flex;
  justify-content: space-between;
}

.kc-form-group.kc-form-settings {
  margin-bottom: 16px;
}

.kc-info-area-wrapper {
  padding: 16px 0;
}

.alert {
  text-align: center;
  position: absolute;
  bottom: 0;
  transform: translateX(50%);
  right: 50%;
  width: 100%;
}

.alert.alert-success {
  color: green;
}

.alert.alert-warning {
  color: orangered;
}

.alert.alert-error {
  color: crimson;
}

.alert.alert-info {
  color: #009dff;
}

.checkbox {
  color: #8e8e8e;
  font-size: 1rem;
}

.checkbox label {
  cursor: pointer;
}

.instruction {
  padding: 16px 0;
}

.snd-bottom-triangle-overlay {
  position: absolute;
  width: 100%;
  height: 50%;
  bottom: -1px;
  background: url("../img/overlay.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.snd-bottom-nodes-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  bottom: -0;
  background: url("../img/nodes.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  background-blend-mode: multiply;
  clip-path: polygon(0% 50%, 100% 100%, 0% 100%, 0% 50%);
}


.snd-title {
  text-align: center;
  font-size: 3.5rem;
  letter-spacing: 2px;
  color: var(--snd-title-color);
  text-shadow: 2px 2px 10px var(--snd-title-shadow-color);
}

.snd-subtitle {
  text-align: center;
  margin: 0 0 36px;
  font-size: 1.5rem;
  font-weight: lighter;
  color: var(--snd-title-color);
  text-shadow: 2px 2px 3px var(--snd-title-shadow-color);
}

.snd-form-wrapper {
  background-color: white;
  width: fit-content;
  width: 100%;
  max-width: 350px;
  outline: silver;
  margin: 0 auto;
  -webkit-box-shadow: 5px 10px 50px 0px rgba(0, 0, 0, 0.63);
  box-shadow: 5px 10px 50px 0px rgba(0, 0, 0, 0.63);
  padding: 48px 32px 0;
  position: relative;
}

.snd-form-wrapper.snd-otp-form {
  max-width: 992px;;
}

.snd-form-wrapper a {
  color: #8e8e8e;
  text-decoration: none;
}

.snd-form-wrapper a:hover {
  color: #333;
  text-decoration: underline;
}

.snd-logo-wrapper {
  position: relative;
  padding-bottom: 52px;
}

.snd-logo {
  margin: 0 auto;
  display: block;
  max-width: 100%;
  max-height: 128px;
}

.snd-totp-form-wrapper {
  display: flex;
  padding-bottom: 32px;
}

.snd-totp-form-wrapper ol {
  flex: 1 0 60%;
}

.snd-totp-form-wrapper #kc-totp-settings-form {
  flex: 1 0 40%;
}

#kc-locale {
  position: absolute;
  right: 0;
  z-index: 1;
}

#kc-content {
  position: fixed;
  bottom: 50%;
  transform: translateY(50%);
  width: 100%;
}

#kc-form-wrapper {
  padding: 16px 0 0;
}

#kc-form-buttons {
  margin: 0 -32px;
  margin-top: 72px;
}

#kc-totp-secret-qr-code {
  width: 150px;
}

@media only screen and (min-width: 1200px) {
  .kc-form-group {
    margin-bottom: 40px;
  }

  .snd-form-wrapper {
    padding: 56px 32px 0;
    max-width: 400px;
  }
}
