* {
  margin: 0;
  padding: 0;
  border:0;
  box-sizing: border-box;
  font-family: calibri, Arial, sans-serif;
}

body, html {
  width: 100%;
  min-height: 100vh;
  color: #eee;
  font-size:14px;
  background-color: #303030;
  overflow-y:hidden;
}

#kontrola_s{
  display:none !important;
}

.clear{
  clear:both;
  font-size:0;
  height:0;
  line-height:0;
}

h1{
  text-align: center;
  padding:20px 15px 17px 15px;
  font-size:24px;
}

h2{
  font-size:20px;
}

a {
  color: #eee;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

p{
  padding-bottom:10px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #212121;
}

.header-logo img {
  height: 30px;
}

#main{
  padding-bottom:15px;
  min-height:600px;
}

#login {
  display: flex;
  gap: 10px;
}

#login input[type="text"],
#login input[type="password"] {
  margin-left: 8px;
  border: 1px solid #ccc;
  padding: 5px 10px;
  height: 30px;
  border-radius:4px;
  background-color:#eee;
}

#login input[type="submit"] {
  padding: 5px 15px;
  border: none;
  background-color: #d10024;
  color: #fff;
  cursor: pointer;
  height: 30px;
  font-weight: bold;
  border-radius:4px;
  margin-left: 8px;
  font-size: 14px;
}

#login input[type="submit"]:hover {
  background-color: #bb0020;
}

#login a.reg {
  padding: 5px 15px;
  background-color: #008b00;
  color: #fff;
  margin-left: 9px;
  text-decoration: none;
  display: inline-block;
  height: 30px;
  line-height: 20px;
  border-radius:4px;
  font-weight: bold;
  font-size: 14px;
}

#login a.reg:hover {
  background-color: #008000;
}

#login .zakaznik{
  color:#fff;
}

#produkty {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 0 2rem 2rem 2rem;
}

.produkt {
  background-color: #111;
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size:16px;
  opacity:0.8;
}

.produkt:hover{
  background-color: #111;
  opacity:1;
}

.produkt .nazev {
  color: #fff;
}

.produkt:hover .nazev {
  color: #ff0000;
}

.produkt .img img{
  border-radius:7px;
}

#registrace{
  padding:0 20%;
  text-align: center;
}

.red{
  color:#ff0000;
  text-align: center;
}

#registrace h2{
  text-align: center;
  padding:0 15px 12px 15px;
}

#registrace input[type="text"],
#registrace input[type="password"]{
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #666;
  border-radius: 5px;
  background-color: #222;
  color:#fff;
}

#registrace input[type="submit"]{
  padding: 8px 17px 9px 17px;
  margin: 7px 5px;
  border: none;
  border-radius: 5px;
  background-color:#bd0b0b;
  color: white;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
}

#registrace input[type="submit"]:hover{
  background-color: #ad0b0b;
}

#hlavni_obal{
  padding:5px 27px;
}

#hlavni_obsah_univ{
  float:left;
  width:43%;
}

#odpoved{
  float:right;
  width:55%;
}

#hlavni_obsah_univ input[type="text"],
#hlavni_obsah_univ select,
#hlavni_obsah_univ textarea{
  padding: 5px 8px;
  margin: 2px 3px;
  border: 1px solid #666;
  border-radius: 5px;
  background-color: #222;
  color:#fff;
}

#hlavni_obsah_univ input[type="submit"],
#hlavni_obsah_univ button {
  padding: 6px 15px 7px 15px;
  margin-bottom: 5px;
  margin-right:7px;
  border: none;
  border-radius: 5px;
  background-color:#bd0b0b;
  color: white;
  cursor: pointer;
  font-size:14px;
  font-weight: bold;
}

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

#chat-area form{
  display: inline-block;
}

#chat-area button, #chat-area input[type="submit"], #chat-area .reg-button {
  display: inline-block;
  padding: 4px 10px 5px 10px;
  margin-right:5px;
  font-size:13px;
  border: none;
  border-radius: 5px;
  background-color:#008f00;
  color: white;
  cursor: pointer;
  font-size:14px;
}

#chat-area button:hover, #chat-area input[type="submit"]:hover, #chat-area .reg-button:hover {
  background-color:#007c00;
}

#chat-area .message {
  padding-top: 13px;
  margin-bottom: 10px;
}

#chat-area .user-message {
  padding:11px 13px;
  border: none;
  border-radius: 5px;
  background-color: #111;
  color:#fff;
  font-weight: bold;
}

#chat-area .AI-message {
  color: #000;
  padding:15px 13px;
  border: none;
  border-radius: 5px;
  background-color: #222;
  color:#fff;
}

.AI-message-toAudio{
  margin-left:12px;
}

#chat-area .waiting-message {
  padding:10px 13px;
  background-color:#d10024;
  border-radius:5px;
  color: #fff;
  font-weight: bold;
}

input#user-input-1, input#user-input-4{
  width:97% !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

textarea#user-input-2{
  width:97%;
  height:200px;
  margin-left:0 !important;
  margin-right:0 !important;  
}

.univsekce_butt{
  padding: 6px 15px 7px 15px;
  margin-top: 12px;
  border: none;
  border-radius: 5px;
  background-color:#bd0b0b;
  color: white;
  cursor: pointer;
  font-size:14px;
  font-weight: bold;
}

.univsekce_butt:hover{
  background-color: #ad0b0b;
}

.uvod_center{
  padding:0 10px 27px 10px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

.predpl_big{
  padding-top:7px;
  margin-bottom:2px;
  font-size: 16px;
}

#footer {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: #212121;
}

#footer .info{
  padding-right:10px;
}

#footer .info a, footer .copy {
  color: #fff;
  margin-right: 15px;
}

#footer .info a:hover{
  text-decoration: underline;
}

#footer .info .payu{
  margin-top:3px;
}

/* VIDEO */

#user-input-img{
    width:90%;
}

#audio_rucne_text{
    width:90%;
    height:200px;
}