@import url(https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap);

:root {
  font-size: 10px;
}

.pf-v5-c-alert__icon {
  --pf-v5-c-alert__FontSize: 1.5rem;
}

.pf-v5-c-alert__title {
  font-size: 1.5rem;
}

.pf-v5-c-button {
  --pf-v5-c-button--FontSize: 1.5rem;
  --pf-v5-c-button--m-secondary--Color: #2F2F2F;
  --pf-v5-c-button--m-secondary--BackgroundColor: #ffffff;
  --pf-v5-c-button--m-secondary--hover--Color: #2F2F2F;
  --pf-v5-c-button--m-secondary--hover--BackgroundColor: #f8f9fa;

  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  padding: 20px 19px;
  line-height: 150%;
  border-radius: 6px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: #2F2F2F;

  background-color: #FFFFFF;
  border: 1px solid #B9C4D3;
}

.pf-v5-c-button::after {
  display: none;
}

#social-eparaksts, #social-eves {
  padding: 12px 0 !important;
}

#social-eparaksts img, #social-eves img {
  margin: auto;
  height: 50px;
}

.pf-v5-c-data-list__item-action {
  margin: 0;
}

#kc-smartid-form button, #kc-smartid-poll-form button {
  width: 100%;
}

.button[disabled]:hover {
  background-color: #FFFFFF !important;
}

.button[disabled] {
  cursor: not-allowed;
  opacity: .5;
}

.pf-v5-c-data-list__item-row:has(.smartid-logo) {
  padding: 16px;
  flex-direction: column;
}

.pf-v5-c-data-list__item-row:has(.smartid-logo) .logo-wrapper {
  display: flex;
  gap: 4px;
}

.pf-v5-c-data-list__item-row:has(.smartid-logo) .logo-wrapper .smartid-logo:first-child {
  width: 50px;
  display: flex;
}

.pf-v5-c-data-list__item-row:has(.smartid-logo) .logo-wrapper .smartid-logo:last-child {
  flex: 1;
  display: flex;
}

.pf-v5-c-form__label-text, .pf-v5-c-helper-text__item-text {
  font-size: 1.6rem;
  font-weight: 400;
}

#password {
  padding-right: 60px;
}

#password-show-password {
  border: none;
  position: absolute;
  right: 5px;
  top: 3px;
}

.pf-v5-c-data-list__item-content {
  justify-content: center;
}

#hint, #hint .doctor, #hint .patient {
  display: none;
}

.wrapper-inputblock-radio-buttons:has(input[value="patient"]:checked) + #hint .patient {
  display: block;
}

.wrapper-inputblock-radio-buttons:has(input[value="doctor"]:checked) + #hint .doctor {
  display: block;
}


body {
  font-size: 1.6rem;
  font-family: "Rubik", serif;
  color: rgba(47, 47, 47, 0.8);
  background: #F5FBFD;
  margin: 0;
  padding: 0;
}

.login-pf body {
  background: #F5FBFD;
}

h1, h2 {
  font-size: 2.8rem;
  font-weight: 400;
  color: #2F2F2F;
  margin-bottom: 20px;
  text-align: center;
}

.typography-style {
  font-size: 1.6rem;
  line-height: 150%;
  color: rgba(47, 47, 47, 0.8);
}

.m-y-20 {
  margin: 20px 0;
}

.m-b-30 {
  margin-bottom: 30px;
}

.m-t-30 {
  margin-top: 30px;
}

.m-t-20 {
  margin-top: 20px;
}

.wrapper-inputblock {
  padding: 10px 0;
}

.wrapper-inputblock-check-simple {
  padding: 0;
}

.wrapper-inputblock-check-simple .form-check {
  margin-top: 0;
}

.wrapper-inputblock-check-simple .form-check input[type="checkbox"] + label {
  padding: 0 0 0 40px;
  color: #2f2f2fcc;
  background-color: transparent;
  border: 0 !important;
  border-radius: 0;
}

.wrapper-inputblock-check-simple .form-check input[type="checkbox"] + label:before {
  left: 0;
  right: auto;
  top: 3px;
}

.wrapper-inputblock-check-simple .form-check input[type="checkbox"] + label a {
  color: #2F2F2F;
}

.wrapper-inputblock-check-simple .form-check.invalid input[type="checkbox"] + label {
  color: #F82814;
}

.wrapper-inputblock-check-simple .form-check.invalid input[type="checkbox"] + label a {
  color: #F82814;
}

.wrapper-inputblock-check-simple .form-check.invalid input[type="checkbox"]:checked + label {
  color: #2F2F2F;
}

.wrapper-inputblock-check-simple .form-check.invalid input[type="checkbox"]:checked + label a {
  color: #2F2F2F;
}

.wrapper-inputblock-radio-buttons {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border-radius: 6px;
  padding: 7px 7px 8px 7px;
  border: 1px solid #B9C4D3;
}

.wrapper-inputblock-radio-buttons .form-radio {
  flex: 1;
  margin: 0 !important;
}

.form-radio {
  position: relative;
  padding: 0;
  background: transparent;
  text-align: left;
}

.form-radio input[type="radio"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.wrapper-inputblock-radio-buttons .form-radio input[type="radio"] + label {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 13px 20px;
  background-color: transparent !important;
  border-radius: 2px !important;
  border: 0 !important;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: #374957;
  margin-bottom: 0;
  cursor: pointer;
  user-select: none;
}

.wrapper-inputblock-radio-buttons .form-radio input[type="radio"] + label:before {
  display: none !important;
}

.wrapper-inputblock-radio-buttons .form-radio input[type="radio"] + label:after {
  display: none !important;
}

.wrapper-inputblock-radio-buttons .form-radio input[type="radio"]:checked + label {
  color: #FFFFFF;
  background-color: #044394 !important;
}

.form-radio input[type="radio"] + label {
  position: relative;
  display: block;
  padding: 18px 60px 18px 20px;
  font-family: inherit;
  font-size: 1.6rem;
  line-height: 150%;
  font-weight: 400;
  color: rgba(47, 47, 47, 0.8);
  background-color: #FFFFFF;
  border: 1px solid #B9C4D3;
  border-radius: 6px;
  margin-bottom: 0;
  cursor: pointer;
  user-select: none;
}

.form-radio input[type="radio"] + label:before {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  content: '';
  right: 20px;
  top: calc(50% - 10px);
  width: 21px;
  height: 21px;
  border: 1px solid #B9C4D3;
  background-color: #FFFFFF;
  border-radius: 21px;
  background-image: none;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 9px 7px;
  transition: all 0.2s;
}

.form-radio.invalid input[type="radio"] + label {
  color: #F82814;
  border: 1px solid #F82814;
}

.form-radio.invalid input[type="radio"] + label:before {
  border: 1px solid #F82814;
}

.form-radio input[type="radio"]:disabled + label {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.form-check {
  position: relative;
  padding: 0;
  background: transparent;
  text-align: left;
  margin-top: 20px;
}

.form-check input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.form-check input[type="checkbox"] + label {
  position: relative;
  display: block;
  padding: 18px 60px 18px 20px;
  font-family: inherit;
  font-size: 1.6rem;
  line-height: 150%;
  font-weight: 400;
  color: rgba(47, 47, 47, 0.8);
  background-color: #FFFFFF;
  border: 1px solid #B9C4D3;
  border-radius: 6px;
  margin-bottom: 0;
  cursor: pointer;
}

.form-check input[type="checkbox"] + label:before {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  content: '';
  right: 20px;
  top: calc(50% - 10px);
  width: 21px;
  height: 21px;
  border: 1px solid #B9C4D3;
  background-color: #FFFFFF;
  border-radius: 6px;
  background-image: none;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 9px 7px;
  transition: all 0.2s;
}

.form-check input[type="checkbox"]:checked + label:before {
  border: 1px solid #0EC477;
  background-color: #0EC477;
  background-image: url("../img/ic_checkbox.svg");
}

.form-check.invalid input[type="checkbox"] + label {
  color: #F82814;
  border: 1px solid #F82814;
}

.form-check.invalid input[type="checkbox"] + label:before {
  border: 1px solid #F82814;
}

.form-check-label {
  margin-bottom: 0;
  cursor: pointer;
}

.form-group {
  margin-top: 20px;
  position: relative;
}

.form-control {
  position: relative;
  display: block;
  width: 100%;
  height: 60px;
  padding: 0 20px;
  background-color: #FFFFFF;
  background-image: none;
  color: #2F2F2F;
  font-family: inherit;
  font-size: 2.8rem;
  line-height: 3rem;
  font-weight: 400;
  border: 1px solid #B9C4D3;
  border-radius: 6px;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.2s;
}

.form-control::placeholder {
  color: rgba(47, 47, 47, 0.5);
}

.form-control:focus {
  color: #2F2F2F;
  border-color: #B9C4D3;
}

.form-control:focus::placeholder {
  color: transparent;
}

.form-group.invalid .form-control {
  color: #F82814;
  border: 1px solid #F82814;
}

.form-group.invalid .form-control::placeholder {
  color: #F82814;
}

.invalid {
  color: #F82814;
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: 1.4rem;
  color: #F82814;
}

.questions-content-buttons {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 20px;
}

.button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  padding: 20px 19px;
  font-size: 1.6rem;
  line-height: 150%;
  border-radius: 6px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: #2F2F2F;
}

.button-outline {
  background-color: #FFFFFF;
  border: 1px solid #B9C4D3;
}

.button-outline:hover {
  background-color: #f8f9fa;
}

.button-outline:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.icon {
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-smartid {
  background-image: url("../img/ic_smart_id.svg");
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.wrapper-page-auth-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding-top: 100px;
  padding-bottom: 0;
  padding-right: 34.5%;
  min-height: 100vh;
}

.wrapper-page-auth-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 34.5%;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: 1;
}

.layout-header-auth {
  position: fixed !important;
  left: 0;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  height: 79px;
  background: transparent;
  padding-left: 25px;
  padding-right: 25px;
  z-index: 999;
}

.layout-header-auth .header-left {
  display: none;
  align-items: center;
  height: 100%;
}

.layout-header-auth .header-right {
  display: flex;
  align-items: center;
  height: 100%;
}

.block-questions {
  width: 386px;
  display: flex;
  justify-content: center;
}

.layout-form {
  width: 100%;
  max-width: 600px;
}

.questions-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.questions-inner-middle {
  flex: 1;
}

.questions-inner-bottom {
  margin-top: 30px;
}

.questions-content {
  width: 100%;
}

#kc-form-login {
  width: 100%;
  margin-top: 20px;
}

.typography-style-small {
  font-size: 1.2rem;
}

a {
  color: rgba(47, 47, 47, 0.8);
  text-decoration: underline;
}

a:hover {
  color: #0EC477;
}

.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

.icon-g {
  background-image: url('../img/ic_g.svg');
  width: 40px;
  height: 40px;
}

.icon-arrow-left-blue {
  background-image: url('../img/ic_arrow_left_blue.svg');
  width: 24px;
  height: 24px;
}

@media (max-width: 991px) {
  .icon-arrow-left-blue {
    left: 0;
  }

  .block-questions {
    width: 100%;
    overflow: hidden;
    padding: 0 10px 20px 10px;
  }

  .wrapper-page-auth-inner {
    padding-right: 0;
  }

  .wrapper-page-auth-bg {
    display: none;
  }

  .layout-header-auth {
    background: #fff;
  }

  .layout-header-auth .header-left {
    display: flex;
    flex: 0 0 auto;
  }

  .layout-header-auth .header-right {
    flex: 1;
    justify-content: end;
    align-items: center;
  }

  .layout-header-auth .header-right a .icon {
    position: initial;
    transform: none;
  }
}
