html {
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  text-size-adjust: none;
}

* {
  padding: 0;
  margin: 0;
}

@font-face {
  font-family: "zkuska";
  src: url("font/WorkSans-Regular.ttf") format("truetype");
}

*::selection {
  background-color: orange;
  color: whitesmoke;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: orange;
}

body img {
  pointer-events: none;
}

body {
  font-size: 16px;
  font-family: "zkuska", sans-serif;
}

body a {
  text-decoration: none;
}

.logo {
  display: none;
  width: 60px;
}

main {
  max-width: 1425px;
  margin: 0px auto;
}

.navigace {
  background-color: #ff9a00;
  max-width: 100%;
  border-bottom: 6px solid #ff7400;
  padding: 25px 15px;
}

#menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-login {
  margin-top: -2px;
}

nav {
  align-items: center;
  vertical-align: middle;
  margin: 0px auto;
  max-width: 1425px;
}

.nav-bottom-text {
  font-size: 17px;
  text-align: center;
  margin-bottom: 15px;
}

nav i {
  align-items: center;
  vertical-align: middle;
  margin-right: 10px;
  position: absolute;
  font-size: 16px;
  top: 14px;
  color: black;
  left: 12px;
}

nav a:hover {
  background-color: whitesmoke;
  border-radius: 10px;
}

nav a.active {
  background-color: whitesmoke;
  border-radius: 10px;
}

nav a {
  padding: 12px;
  position: relative;
  align-items: center;
  vertical-align: middle;
  padding-left: 37px;
}

nav li {
  display: inline-block;
  padding: 0px 5px;
}

nav li:first-child {
  padding: 0px;
}

nav li:last-child {
  padding: 0px;
}

nav {
  list-style-type: none;
  align-items: center;
  vertical-align: middle;
}

nav span {
  align-items: center;
  vertical-align: middle;
  color: black;
}

.nav-mobile {
  display: none;
}

.dropdown-content {
  position: absolute;
  background-color: #ff9a00;
  z-index: 1;
  width: 115%;
  margin-left: -16%;
  margin-top: 16px;
  border-bottom: 6px solid #ff7400;
  border-top: 6px solid #ff7400;
}

nav details {
  position: relative;
  background-color: whitesmoke;
  border-radius: 10px;
  padding: 12px;
  margin: -12px;
  margin-left: 0px;
  margin-right: 0px;
  min-width: 105px;
  top: 2px;
}

nav details summary {
  display: flex;
  justify-content: center;
}

nav details span {
  margin-left: 0px;
}

nav details img {
  width: 22px;
  border-radius: 5px;
  margin-top: 0px;
  margin-bottom: -6px;
  margin-right: 5px;
}

nav details hr {
  border: 0px;
  height: 1px;
  background-color: black;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary {
  list-style: none; /* Odstraní výchozí šipku */
  display: flex; /* Umožní zarovnat ikonu a text */
  align-items: center;
  cursor: pointer; /* Změna kurzoru */
  vertical-align: middle;
}

.dropdown-content li:last-child {
  border-bottom: none;
}

.dropdown-content a {
  color: black;
  border-radius: 0px;
  text-decoration: none;
  display: block;
  text-align: center;
  font-size: 13.5px;
  padding: 12px;
}

.dropdown-content a:hover {
  border-radius: 0px;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

@media only screen and (max-width: 900px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    position: absolute;
    right: 15px;
    z-index: 2;
    margin-top: -17.5px;
  }

  .navigace {
    padding: 35px;
  }

  .menu-toggle img {
    width: 34px;
    background-color: whitesmoke;
    padding: 3.5px;
    border-radius: 8px;
  }

  #menu {
    display: none;
    flex-direction: column;
    top: 467px;
    background-color: #ff9a00;
    border-bottom: 6px solid #ff7400;
    z-index: 2;
    text-align: left;
    left: 0px;
    right: 0px;
    position: absolute;
    width: 100%;
    padding: 15px 0px;
    background-color: orange;
    align-items: start;
    padding-bottom: 30px;
  }

  #menu.active {
    display: flex;
  }

  #menu li {
    display: block;
    padding: 14px;
  }

  nav details li {
    padding: 0px !important;
  }

  .dropdown-content {
    display: block;
    position: relative;
    width: 100%;
    right: 0px;
    left: 0px;
    margin-left: 0px;
  }

  .nav-login {
    margin-top: 3px;
  }

  .buttons-hr {
    display: none;
  }
}

.background {
  margin-top: 0px;
  width: 100%;
  height: 385px;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 6px solid rgba(0, 0, 0, 0.581);
  background-image: linear-gradient(
      0,
      rgba(0, 0, 0, 0.388),
      rgba(0, 0, 0, 0.312)
    ),
    url(images/pozadi.png);
}

#particles-js {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.emote img {
  width: 32px;
  vertical-align: middle;
  padding: 12px;
  background-color: #181818;
  border-radius: 0px;
  margin-left: 15px;
  border-radius: 16px;
  margin-right: 15px;
}

.emote-copy {
  align-items: center;
  vertical-align: middle;
}

.emote h4 {
  color: whitesmoke;
  font-size: 15px;
  margin-left: 5px;
  margin-top: 0px;
}

.emote-player h4 {
  font-weight: normal;
  color: orange;
}

.emote-player {
  display: flex;
  align-items: center;
  vertical-align: middle;
}

.emote a {
  display: flex;
  align-items: center;
}

.emote span {
  vertical-align: middle;
  color: orange;
  font-size: 20px;
  font-weight: bold;
  font-family: monospace;
}

.emote {
  justify-content: center;
  position: absolute;
  top: 155px;
  right: 0px;
  padding: 12px;
  border-radius: 16px;
  cursor: pointer;
  width: 300px;
  display: flex;
  justify-content: start;
  align-items: center;
  text-align: right;
}

.emote p {
  color: whitesmoke;
  font-size: 16.5px;
  margin-top: -1px;
}

.minigame-text {
  text-align: center;
  margin-top: -32px;
}

.minigame span {
  text-align: center;
  color: whitesmoke;
  background-color: orange;
  color: black;
  padding: 12px 30px;
  border-radius: 0px;
  margin: 0px auto;
  position: relative;
  display: inline-block;
  font-weight: normal;
}

.minigame {
  max-width: 470px;
  margin: 20px;
  margin-bottom: 0px;
  background-color: #bbbb;
  padding-left: 10px;
  padding-right: 10px;
}

.minigame-description {
  padding: 10px;
  padding-bottom: 20px;
}

.minigame-description p {
  padding-left: 10px;
  border-left: 4px solid grey;
  margin-top: 5px;
}

.minigame img {
  width: 100%;
  border-radius: 0px;
  border: 10px solid orange;
  margin-left: -10px;
}

.minigames {
  margin: -28px auto;
  margin-bottom: 0px;
  max-width: 90%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: start;
  vertical-align: middle;
}

.nadpis img {
  max-width: 410px;
  top: 152px;
  position: absolute;
  z-index: 0;
}

.nadpis {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fly-image {
  animation: levitate 1.25s ease-in-out infinite alternate;
}

@keyframes levitate {
  0% {
    transform: translateY(12px);
  }

  100% {
    transform: translateY(-7px);
  }
}

.header-text h1 {
  text-align: center;
  font-size: 24px;
  font-weight: normal;
  display: inline-block;
  padding: 12px 18px;
  background-color: #ff9a00;
  border-top-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.header-respon {
  text-align: center;
  margin-top: 50px;
  margin-bottom: -20px;
}

.header-text hr {
  height: 0px;
  border: 0px;
  background-color: grey;
  max-width: 375px;
  margin: -26px auto;
  margin-bottom: 75px;
  border-radius: 6px;
}

.header-text {
  text-align: center;
}

.header-text {
  max-width: 90%;
  margin: 50px auto;
  margin-bottom: 50px;
}

.footer {
  background-color: #bbbb;
  border-top: 6px solid rgba(42, 42, 42, 0.419);
  margin-top: 50px;
  align-items: center;
  vertical-align: middle;
  padding-bottom: 13px;
  padding-top: 13px;
}

.sites {
  display: flex;
  margin-right: -5px;
}

.site {
  margin-left: 5px;
  margin-right: 5px;
  cursor: pointer;
}

.odkaz p {
  color: black;
}

.odkaz h3 {
  text-align: left;
}

.footer-respon {
  margin-left: 25px;
  margin-right: 25px;
}

.odkazy {
  display: flex;
  justify-content: space-between;
  margin: 0px auto;
  align-items: center;
  vertical-align: middle;
  max-width: 1425px;
}

.odkaz {
  align-items: center;
  vertical-align: middle;
  color: whitesmoke;
  text-align: center;
}

.about {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  margin: 0px auto;
  margin-top: 0px;
  margin-bottom: 50px;
  align-items: center;
  vertical-align: middle;
  background-color: #bbbb;
  padding: 30px;
  border-left: 8px solid orange;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.about img {
  width: 350px;
  margin-right: 25px;
}

.about-respon {
  margin-left: 50px;
  margin-right: 50px;
}

.about-text p {
  padding-left: 10px;
  border-left: 4px solid grey;
}

.about-text {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.store-content {
  display: block;
  justify-content: center;
  align-items: center;
  background-color: #bbbb;
  padding: 30px;
  border-left: 8px solid orange;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  width: 43.9%;
}

.store {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px auto;
}

.store-content h3 {
  font-weight: normal;
  margin-bottom: 5px;
}

.store-player {
  display: flex;
  align-items: center;
  vertical-align: middle;
}

.store-player img {
  width: 80px;
  margin-right: 15px;
  background-color: whitesmoke;
  padding: 12px;
  border-radius: 14px;
}

.store-text {
  margin-top: 0px;
  display: block;
}

.store h4 {
  max-width: 120px;
  background-color: orange;
  font-weight: normal;
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
  text-align: center;
}

.store h4:hover {
  background-color: grey;
}

.store a {
  color: black;
}

.store-img {
  display: none;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 15px;
}

.rule h2 {
  background-color: white;
  padding-top: 25px;
  padding-bottom: 5px;
  font-size: 27px;
  font-weight: normal;
}

.rule {
  background-color: #e9ecef;
  color: black;
  counter-reset: paragrafy;
}

.rule p {
  border-left: 6px solid #ff9a00;
  padding: 15px;
  padding-left: 12px;
  counter-increment: paragrafy;
}

.rule p::before {
  content: "-";
  margin-right: 10px;
  margin-left: 3px;
}

.rule p:nth-child(odd) {
  background-color: none;
}

.rule p:nth-child(even) {
  background-color: #bbbb;
}

.rules {
  max-width: 1425px;
  margin: 30px auto;
}

.rules-respon {
  margin-left: 50px;
  margin-right: 50px;
}

.site img {
  width: 21px;
  padding: 9px;
  border-radius: 12px;
  background-color: orange;
}

.footer h2 a {
  color: whitesmoke;
}

.footer h2 {
  font-weight: normal;
  font-size: 16.4px;
  display: none;
}

.footer a:hover {
  color: black;
}

.footer h5 a:hover {
  color: black;
}

.answer-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 5;
  overflow-y: auto;
}

.answer {
  overflow-y: auto;
  background-color: whitesmoke;
  padding: 40px;
  z-index: 6;
  max-width: 600px;
  margin-left: 50px;
  margin-right: 50px;
  border-radius: 16px;
  color: rgba(135, 135, 135, 0.995);
  position: relative;
}

.answer hr {
  margin: 10px auto;
  border: 0px;
  height: 3px;
  background-color: orange;
}

.close-btn {
  color: darkred;
  font-size: 23px;
  cursor: pointer;
  align-items: center;
  vertical-align: middle;
  margin-left: 20px;
}

.close-btn:hover {
  color: black;
}

.answer p {
  margin-top: 5px;
  padding-left: 10px;
  border-left: 4px solid grey;
  color: black;
}

.answer-head h3 {
  color: black;
  font-weight: normal;
  font-size: 23px;
}

.answer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  vertical-align: middle;
  margin-bottom: -4px;
}

.faq-responsive {
  margin-left: 50px;
  margin-right: 50px;
}

.answer a {
  color: orange;
}

.answer a:hover {
  color: black;
}

.button-img1 {
  width: 24px;
  background-color: orange;
  padding: 9px;
  border-radius: 10px;
}

.buttons-hr {
  width: 8px;
  border: 0px;
  height: 70px;
  margin: 0px auto;
  background-color: #ff9a00;
}

.button p {
  margin-left: 10px;
  margin-right: 10px;
}

.button {
  display: flex;
  align-items: center;
  vertical-align: middle;
  background-color: #bbbb;
  padding: 20px 26px;
  cursor: pointer;
  border-left: 8px solid orange;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  justify-content: space-between;
  margin: 0px auto;
  margin: 10px;
}

.error p {
  text-align: center;
}

.buttons {
  display: flex;
  justify-content: space-evenly;
  max-width: 1070px;
  margin: -20px auto;
  margin-bottom: 0px;
  flex-wrap: wrap;
  align-items: center;
  vertical-align: middle;
  padding: 21px 0px;
  border-top: 8px solid #bbbb;
  border-bottom: 8px solid #bbbb;
  background-color: #e9ecef;
}

.button-img2 {
  width: 14px;
  display: none;
}
/*
.profile {
  margin: 0px auto;
  width: 500px;
  border-left: 6px solid orange;
  position: relative;
}

.profile-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 12px;
  background-color: #e9ecef;
  align-items: center;
}
*/

.profile-content hr {
  margin: 20px auto;
  border: 0px;
  height: 3px;
  background-color: grey;
}

.profile-button {
  padding: 13px;
  background-color: #bbb;
  border-radius: 10px;
}

.profile-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-button a {
  color: black;
  align-items: center;
  display: flex;
}

.profile-button p {
  align-items: center;
}

.profile-respon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 50px auto;
  max-width: 720px;
  position: relative;
  gap: 50px;
}

.profile-content-img img {
  max-width: 125px;
  background-color: #bbb;
  padding: 30px;
  border-left: 6px solid orange;
  margin: 0px auto;
  display: block;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.profile-button img {
  width: 17px;
  margin-right: 10px;
  margin-top: -2px;
}

.profile-button span {
  align-items: center;
}

.profile-rank {
  padding: 4px 6px;
  border-radius: 6px;
  font-size: 14px;
  position: absolute;
  right: 25px;
}

.profile-content:nth-child(even) {
  background-color: #bbbb;
}

@media only screen and (max-width: 1200px) {
  .about img {
    display: none;
  }
}

@media only screen and (max-width: 1000px) {
  .emote {
    display: none;
  }

  .store {
    flex-wrap: wrap;
  }

  .store-content {
    width: 100%;
  }

  .profile-respon {
    flex-wrap: wrap;
  }
}

/*Pro Tablety*/
@media only screen and (max-width: 1200px) {
  .nadpis img {
    max-width: 340px;
    top: 162px;
  }

  body {
    font-size: 16px;
  }

  .logo {
    display: none;
  }
}

@media only screen and (max-width: 600px) {
  .odkazy {
    display: block;
  }

  .sites {
    margin-top: 10px;
  }

  .odkaz {
    text-align: left;
  }

  table {
    font-size: 14.5px;
  }

  body {
    font-size: 14.5px;
  }
  /*
  .ticket-create p {
    font-size: 14.5px;
  }
*/
  .nadpis img {
    width: 300px;
    top: 170px;
  }

  .about-respon {
    margin-left: 10px;
    margin-right: 10px;
  }

  .header-text h1 {
    font-size: 22px;
  }

  nav ul img {
    width: 17px;
  }

  .faq-responsive {
    margin-left: 10px;
    margin-right: 10px;
  }

  .benefit {
    max-width: 100%;
  }

  .at-header {
    text-align: center;
    font-size: 16px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .at-header p {
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 14px;
  }

  .at-responsive {
    margin-left: 0px;
    margin-right: 0px;
  }

  .rules-respon {
    margin-left: 10px;
    margin-right: 10px;
  }

  .rules img {
    width: 18px;
  }

  .footer {
    width: 100%;
    padding-top: 20px;
  }

  .footer-respon {
    margin-left: 25px;
  }

  .footer h2 {
    font-size: 14.5px;
  }

  .answer {
    max-height: 72vh;
    padding: 30px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .answer-head h3 {
    font-size: 20px;
  }

  .close-btn {
    margin-left: 10px;
  }

  .minigame {
    margin: 10px;
  }

  .minigames {
    max-width: 100%;
  }

  .site img {
    width: 18px;
  }

  .sites {
    margin-left: -5px;
  }

  .button {
    margin: 10px;
  }

  .button img {
    width: 23px;
  }

  .rule h2 {
    font-size: 24px;
  }

  .dropdown-content li a {
    font-size: 12.5px;
  }

  .store-player img {
    width: 65px;
  }
}

.rank {
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 13px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.372);
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  color: black;
}

.member span {
  color: black;
  font-size: 14.5px;
}

.member {
  text-align: center;
  border-radius: 5px;
  padding: 16px 23px;
  width: 235px;
  background-color: #bbbb;
  margin: 20px;
  border-radius: 0px;
  border: 0px solid #2a2a2a;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  vertical-align: middle;
  color: whitesmoke;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  margin-left: 0px;
  margin-top: 10px;
  padding-right: 10px;
}

.team {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  margin: 0px auto;
  max-width: 921px;
}

.admin-team hr {
  margin: 10px auto;
  margin-bottom: 17px;
  max-width: 921px;
  border: 0px;
  height: 5px;
  background-color: orange;
}

.admin-team hr:last-child {
  display: none;
}

.admin-team {
  margin: 50px auto;
  margin-left: 50px;
  margin-right: 50px;
}

.admin-team h2 {
  max-width: 921px;
  text-align: left;
  font-size: 25px;
  color: black;
  margin: 0px auto;
  border-radius: 0px;
  font-weight: normal;
}

.member p {
  margin-top: 6px;
}

.member img {
  width: 70px;
  margin-right: 5px;
}

.member-text {
  margin: 0px auto;
}

@media only screen and (max-width: 600px) {
  .team {
    margin: 50px auto;
    justify-content: center;
  }

  nav img {
    margin-top: -3.5px;
  }

  .member {
    margin: 10px auto;
  }

  .admin-team {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 0px;
  }

  .admin-team h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: -45px;
    margin-top: 12px;
  }

  .rank {
    font-size: 12.5px;
  }

  .member span {
    font-size: 14.5px;
  }

  .member img {
    width: 65px;
    margin-right: 0px;
  }

  .member {
    justify-content: center;
  }

  .admin-team hr {
    max-width: 285px;
    margin-top: -35px;
  }

  .dropdown-content a {
    font-size: 12px;
  }
}

/*-------------------------------------*/
/*-------------------------------------*/
/*--------- Ticket System css ---------*/
/*-------------------------------------*/
/*-------------------------------------*/

.login-container {
  border-radius: 0px;
  border-left: 8px solid orange;
  margin: 50px auto;
  margin-bottom: 30px;
  color: whitesmoke;
  max-width: 360px;
  padding: 43px;
  padding-right: 51px;
  padding-bottom: 28px;
  background-color: #bbb;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.login-container img {
  width: 18px;
  background-color: orange;
  padding: 11.35px 10px;
  margin-top: -5px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.login-content {
  display: flex;
  align-items: center;
  vertical-align: middle;
}

.login-container ::placeholder {
  color: black;
  font-family: "zkuska";
  font-size: 15px;
}

.login-container input[type="text"],
.login-container input[type="password"],
.login-container input[type="submit"],
.login-container input[type="email"] {
  width: 100%;
  padding: 12px;
  border-radius: 0px;
  margin: 10px 0;
  box-sizing: border-box;
  margin-top: 5px;
  border: 0px;
  border: 0px solid grey;
  font-size: 15px;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.login-container input[type="submit"] {
  border-radius: 10px;
}

.login-container a:hover {
  color: black;
}

.login-container a {
  color: black;
}

.login-container p {
  margin: 6px 0;
  font-size: 14.5px;
  color: black;
}

.login-container input[type="submit"] {
  background-color: orange;
  color: black;
  cursor: pointer;
  border: none;
  font-family: "zkuska";
}

.login-container input[type="submit"]:hover {
  background-color: black;
  color: whitesmoke;
}

.create_ticket {
  background: #bbb;
  padding: 45px 35px;
  border-radius: 20px;
  max-width: 500px;
  margin: 0px auto;
  padding-bottom: 10px;
  border-radius: 0px;
  border-left: 8px solid orange;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.create_ticket label,
.create_ticket select,
.create_ticket input[type="submit"],
.create_ticket input[type="text"],
.create_ticket textarea {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 40px;
  padding: 10px;
  color: black;
  font-family: "zkuska";
  font-size: 15px;
  border: 0;
  border-radius: 6px;
}

.create_ticket label {
  text-align: left;
  margin-left: -5px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: initial;
  border-color: grey;
}

.create_ticket label {
  padding-bottom: 10px;
  position: absolute;
  margin-top: -20px;
  border-bottom: 0px;
  width: auto;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.create_ticket input[type="submit"] {
  background: orange;
  color: black;
  border: none;
  cursor: pointer;
  margin: 0px auto;
  border-radius: 7px;
  margin-bottom: 30px;
  text-align: center;
  display: block;
  margin-top: -20px;
}

.create_ticket textarea {
  min-height: 250px;
  max-height: 250px;
  max-width: 100%;
  min-width: 100%;
}

.create_ticket label {
  font-size: 14.5px;
  color: black;
}

.create_ticket input[type="submit"]:hover {
  background: black;
  color: whitesmoke;
}

.additional-fields {
  display: block;
}

.table {
  width: 100%;
  border-collapse: collapse;
  color: black;
  font-size: 14.5px;
}

#table-info {
  margin-bottom: 20px;
}

.table span {
  color: black;
  cursor: pointer;
}

.table h4 {
  font-weight: normal;
}

.table span:hover {
  color: whitesmoke;
}

.table input {
  text-align: left;
  background-color: #111111;
  border: 0px;
}

.table a {
  color: black;
}

.table a:hover {
  color: whitesmoke;
}

.table thead {
  border-bottom: 0px solid black;
}

.table td,
.table th {
  padding: 17px 10px;
  text-align: center;
}

.table th {
  background-color: orange;
  color: black;
  font-weight: normal;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}

.closed-ticket {
  background-color: rgb(70, 70, 70);
}

.opened-ticket {
  background-color: #bbb;
}

.table td {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  width: 10%;
}

@media (max-width: 1000px) {
  .table thead {
    display: none;
  }

  .table {
    margin: 0px auto;
    align-items: center;
    vertical-align: middle;
  }

  .table tr {
    display: none;
  }

  .table,
  .table tbody,
  .table tr,
  .table td {
    display: block;
  }

  .table tr {
    margin-bottom: 25px;
    border: 0px solid;
  }

  .table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
    align-items: center;
    vertical-align: middle;
    display: flex;
    justify-content: right;
    margin: 0px auto;
    width: 48%;
    background-color: #bbb;
    border-top: 0px solid black;
  }

  .table td:first-child {
    border-top: 1px solid black;
  }

  .table tr {
    background-color: white;
  }

  .table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 35%;
    font-weight: normal;
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
    background-color: orange;
    margin-top: 0px;
    top: 0px;
    height: 100%;
    align-items: center;
    vertical-align: middle;
    display: flex;
    justify-content: left;
  }

  .table span {
    margin-left: 5px;
    margin-right: 5px;
  }

  .table a {
    margin-right: 5px;
  }
}

.prevzit-btn {
  background-color: transparent;
  border: 0px;
  color: whitesmoke;
  cursor: pointer;
  font-size: 14.5px;
  color: whitesmoke;
}

.prevzit-btn:hover {
  color: black;
}

.tickets-info p {
  background-color: #bbbb;
  border-left: 6px solid orange;
  padding: 14px;
}

.tickets-info a {
  text-decoration: none;
  color: black;
}

.ticket-warn {
  text-align: center;
}

.ticket-warn p {
  background-color: #bbbb;
  border-left: 6px solid orange;
  border-right: 6px solid orange;
  padding: 14px;
  display: inline-block;
  margin: 25px auto;
  margin-bottom: 0px;
  text-align: center;
  position: relative;
}

.ticket-warn p::before {
  content: "";
  position: absolute;
  left: 0;
  top: -27px; /* Posun nad p */
  height: 4px;
  width: calc(100% + 12px); /* Šířka včetně borderů p */
  background-color: grey;
  margin: 0 auto;
  left: -6px;
}

.ticket-warn a {
  color: black;
}

.ticket-respon {
  margin-left: 50px;
  margin-right: 50px;
}

.ticket-info {
  font-size: 15px;
  max-width: 500px;
  background-color: #bbb;
  padding: 15px 25px;
  border-left: 6px solid orange;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  position: relative;
}

#delete_selected_tickets {
  padding: 12px;
  background-color: darkred;
  color: black;
  border-radius: 11px;
  display: inline-block;
  margin-bottom: 15px;
  cursor: pointer;
}

#delete_selected_tickets:hover {
  background-color: #bbb;
}

.ticket-info hr {
  border: 0px;
  height: 1px;
  background-color: black;
  margin: 0px auto;
  max-width: 100%;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  align-items: center;
  vertical-align: middle;
}

.ticket-info b {
  font-weight: normal;
}

.ticket-label {
  flex: 1;
  text-align: left;
  border-right: 0px solid grey;
  margin-right: 15px;
  padding-right: 15px;
}

.ticket-value {
  flex: 1;
  text-align: right;
}

#ticket-respon hr {
  margin: 20px auto;
  max-width: 100%;
  border: 0px;
  height: 3px;
  background-color: grey;
}

#ticket-respon {
  margin-top: 50px;
}

.ticket-page {
  text-align: center;
  color: whitesmoke;
  background-color: #111111;
  padding: 16px;
  border-radius: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: 350px;
}

.ticket-page a {
  color: rgb(145, 155, 150);
}

.ticket-page a:hover {
  color: black;
}

.create-ticket {
  max-width: 100%;
  margin: 0 auto;
  padding: 30px;
  border-radius: 16px;
  background-color: #111111;
  color: whitesmoke;
}

.create-ticket label {
  font-weight: normal;
  padding-left: 10px;
  border-left: 3px solid grey;
}

.create-ticket input,
.create-ticket select {
  width: 100%;
  padding: 12px;
  margin-top: 4px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: #1e1e1e;
  border: 0px;
  color: whitesmoke;
}

.create-ticket input[type="submit"] {
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.create-ticket input[type="submit"]:hover {
  background-color: #45a049;
}

.dash {
  width: 170px;
  text-align: center;
  margin: 0px auto;
  padding: 16px;
  padding-left: 20px;
  background-color: grey;
  border-radius: 10px;
  font-size: 15px;
}

.dash a {
  color: black;
}

.dash img {
  align-items: center;
  vertical-align: middle;
  width: 19px;
  margin-right: 4px;
  margin-top: -2px;
  align-items: center;
  vertical-align: middle;
}

.dash span {
  align-items: center;
  vertical-align: middle;
}

.dashboard hr {
  height: 45px;
  border: 0px;
  width: 4px;
  background-color: grey;
}

.dashboard {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  padding: 36px 10px;
  max-width: 650px;
  margin: 50px auto;
  flex-wrap: wrap;
  border-radius: 0px;
  border-left: 8px solid orange;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  color: whitesmoke;
  background-color: #bbb;
}

.message-box {
  margin-bottom: 0px;
  overflow: hidden;
  border: 2.5px solid #bbb;
  border-radius: 9px;
  padding: 12px;
  width: 100%;
  width: auto;
  height: fit-content;
  display: flex;
  background-color: #f1f1f1;
}

.message-nav {
  display: flex;
  align-items: center;
  vertical-align: middle;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 15px;
  flex-wrap: wrap;
}

.message-text p {
  color: black;
  font-size: 14.5px;
}

.box {
  display: flex;
  margin-bottom: 10px;
  margin-top: 10px;
}

#chat-window img {
  width: 67px;
}

.chat-window-rank {
  font-size: 12.5px;
  text-align: center;
  margin-top: 1px;
}

.message-content {
  width: 100%;
}

.user-info {
  margin-right: 12px;
  margin-top: -3px;
  text-align: center;
  min-width: 90px;
}

.username {
  font-weight: normal;
  margin: 0;
  color: rgb(77, 77, 77);
  min-width: 100px;
  width: auto;
  margin-right: 15px;
}

.username-rank {
  font-size: 12px;
  color: black;
  text-align: center;
}

.message-text {
  margin: 0;
}

.time {
  color: rgb(77, 77, 77);
}

.ticket-detail {
  margin: 50px auto;
  background-color: #bbb;
  padding: 45px;
  border-radius: 0px;
  border-left: 8px solid orange;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.ticket-odpoved textarea {
  max-width: 100%;
  min-width: 100%;
  min-height: 300px;
  max-height: 300px;
  font-size: 15px;
  color: black;
  border: 4px solid grey;
  margin-top: 30px;
  padding: 13px;
  border-radius: 16px;
  font-family: "zkuska";
  box-sizing: border-box;
}

.ticket-odpoved button {
  width: auto;
  text-align: center;
  margin: 0px auto;
  padding: 14px;
  background-color: grey;
  border-radius: 10px;
  border: 0px;
  margin-top: 15px;
  font-size: 15px;
  cursor: pointer;
  align-items: center;
  vertical-align: middle;
}

.ticket-odpoved img {
  width: 17px;
  margin-right: 10px;
  align-items: center;
  vertical-align: middle;
  margin-top: -2px;
}

.ticket-odpoved a {
  color: black;
}

#chat-window {
  margin: 0 auto;
  max-width: 100%;
  height: 450px;
  border-radius: 14px;
  border: 4px solid grey;
  overflow: hidden; /* Skryje přetečení */
  padding-bottom: 25px;
  z-index: 2;
}

.chat-content {
  height: 100%; /* Ujisti se, že zabírá celou výšku */
  overflow-y: scroll; /* Scrollování zde */
  padding: 20px 15px;
  background-color: white;
  display: flex;
  flex-direction: column;
}

.message {
  margin-bottom: 10px;
}
.message p {
  margin: 0;
}

.create-tickets {
  max-width: 1350px;
  margin: 0px auto;
  font-size: 15px;
}

@media only screen and (max-width: 700px) {
  .dashboard {
    flex-wrap: wrap;
    display: block;
    padding: 40px 20px;
    max-width: 325px;
  }

  .dashboard hr {
    height: 3px;
    width: 205px;
    margin: 15px auto;
  }
}

@media only screen and (max-width: 600px) {
  nav i {
    font-size: 15px;
  }

  .ticket-respon {
    max-width: 100%;
    margin-left: 10px;
    margin-right: 10px;
  }

  #chat-window img {
    width: 0px;
  }

  .box {
    display: block;
    margin-top: 0px;
  }

  .message-box {
    margin-left: 0px;
    margin-right: 0px;
  }

  .user-info {
    text-align: left;
    margin-bottom: 10px;
    margin-left: 0px;
    min-width: 100%;
  }

  .chat-window-rank {
    text-align: left;
    margin-left: 3px;
    font-size: 14px;
  }

  .ticket-detail {
    padding: 25px 20px;
    border-radius: 0px;
    border-left: 0px;
    margin-left: -10px;
    margin-right: -10px;
  }

  .message-nav {
    font-size: 14.5px;
  }

  .dash img {
    width: 17px;
  }

  .ticket-odpoved img {
    width: 17px;
  }

  .ticket-odpoved button {
    font-size: 14.5px;
  }

  .team {
    margin: 50px auto;
    justify-content: center;
    max-width: 350px;
  }

  .member {
    margin-bottom: 10px;
    padding-right: 0px;
    padding-left: 26px;
  }

  /*
  .login-container {
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 0px;
    border-left: 0px;
    max-width: 100%;
    padding: 35px 25px;
    padding-bottom: 20px;
  }
  */

  .login-container input[type="text"],
  .login-container input[type="password"],
  .login-container input[type="submit"],
  .login-container input[type="email"] {
    font-size: 14.5px;
  }

  .login-container ::placeholder {
    font-size: 14.5px;
  }

  .admin-team {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 0px;
  }

  .ticket-odpoved button {
    font-size: 14.5px;
  }

  .ticket-odpoved textarea {
    font-size: 14.5px;
  }

  .prevzit-btn {
    font-size: 14.5px;
  }

  .message-text p {
    color: black;
    font-size: 14.5px;
  }

  .ticket-info {
    font-size: 14.5px;
    margin-left: -10px;
    margin-right: -10px;
    padding: 15px 20px;
    border-left: 0px;
    border-radius: 0px;
    width: 94%;
  }

  .dash {
    font-size: 14.5px;
  }
}
