﻿@charset "UTF-8";
html, body {
  background: #bdd2e5;
  font-family: "Segoe UI", sans-serif;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

div.stredovy-box {
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  max-width: 800px;
  max-height: 100%;
  padding: 20px;
  background-color: #f0f0f0;
  box-sizing: border-box;
  overflow: auto;
  background: #ebf2fc;
  border-radius: 10px 10px;
  box-shadow: 0 0 10px grey;
  position: relative;
  padding: 20px;
}

h1 {
  font-weight: 600 !important;
  margin-bottom: 0;
}

h3 {
  font-weight: 400 !important;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1em;
}

input[type=text],
input[type=password] {
  background: transparent;
  border: none;
  border-bottom: 3px solid #0067c0;
  padding: 4px 10px 4px 10px;
  box-sizing: border-box;
}

input[type=text]:focus,
input[type=password]:focus {
  outline: none;
  box-shadow: none;
}

input[type=text].error,
input[type=password].error {
  border-bottom: 3px solid #b83e52;
}

button.primary {
  min-width: 100px;
  padding: 8px;
  color: white;
  background: #0067c0;
  border: none;
  border-radius: 4px 4px;
  cursor: pointer;
}

button {
  min-width: 100px;
  padding: 8px;
  color: black;
  background: white;
  border: none;
  border-radius: 4px 4px;
  border: 1px solid lightgrey;
  cursor: pointer;
}

button:hover, input[type=button]:hover, input[type=submit]:hover {
  background-color: #f3f3f3;
}

button.primary:hover, input[type=button].primary:hover, input[type=submit].primary:hover {
  background-color: #00549f;
}

button:active, input[type=button]:active, input[type=submit]:active {
  background-color: #e4e4e4;
}

button.primary:active, input[type=button].primary:active, input[type=submit].primary:active {
  background-color: #004380;
}

button:disabled, input[type=button]:disabled, input[type=submit]:disabled,
button.primary:disabled, input[type=button].primary:disabled, input[type=submit].primary:disabled {
  color: #adadad;
  background-color: #dbdbdb;
}

div#userInfo_picture {
  width: 100%;
  border-radius: 50% 50%;
  background-size: 100% 100%;
  aspect-ratio: 1/1;
}

div#userPictureWrapper {
  max-width: 192px;
  width: 30%;
  min-width: 32px;
}

iframe#iwa {
  width: 5px;
  height: 5px;
  display: none;
}

div#loginAppIcon {
  background: url("../img/icon.png");
  width: 192px;
  height: 192px;
  background-size: 100% 100%;
}

div._mainWrapper {
  display: block;
  width: 100%;
}

div.form-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem; /* nastavuje mezeru mezi prvky */
}

.hidden {
  display: none !important;
}

div.copyright_main_window {
  font-size: 0.7em;
  position: absolute;
  bottom: 5px;
  right: 10px;
  color: darkgrey;
}

@media (max-width: 820px) and (max-height: 540px) {
  div#_mainPart1 {
    width: 100%;
  }
  div#_mainPart2 {
    width: 100%;
  }
}
@media (min-width: 820px) and (min-height: 540px) {
  div.stredovy-box {
    width: 800px;
    height: 500px;
  }
  div._mainWrapper {
    display: flex;
    width: 100%;
  }
  div#_mainPart1 {
    width: 50%;
  }
  div#_mainPart2 {
    width: 50%;
  }
  #userLoginBoxWrapper {
    padding-left: 40px;
  }
  div#_mainPart1 {
    width: 50%;
    display: flex;
    justify-content: center; /* vodorovné zarovnání */
    align-items: center; /* svislé zarovnání */
    height: 400px;
  }
}
