/* kiosk specific css, change only if really needed */
* {
  box-sizing: border-box;
  -webkit-user-select: none !important;
  user-select: none !important;

}

body,
html {
  margin: 0;
  padding: 0;
  color: #7e195b;
}

body::-webkit-scrollbar {
  display: none;
}

.view {
  display: none;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
}

.show {
  display: block;
}

/* end of kiosk specific css */

body, html {
  height: 100%;
  font-family: 'Inter';
}

#home {
  width: 100%;
  height: 100%;
  background: url('../img/bg.png') no-repeat;
  background-size: cover;
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}

#home .content > div {
  margin-top: 90px;
}

#home .content h1 {
  font-family: 'zuume-cut';
  font-weight: 900;
  color: #7e195b;
  font-style: italic;
  font-size: 130px;
  margin-bottom: 19px;
}

#home .content p[data-translate="home_description"] {
  color: #7e195b;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 4px;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}


#home .content p[data-translate="database_description"] {
  color: #046b59;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 4px;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}

#home .content .main-btn {
  padding: 6px 42px 16px;
  padding-bottom: 8px;
  background-color: #7e195b;
  font-family: 'zuume-cut';
  cursor: pointer;
  font-size: 48px;
  color: #fff;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  margin-top: 50px;
}

#home .detail-dots {
  position: absolute;
  left: 70px;
  bottom: 58px;
}

#search {
  width: 100%;
  height: 100%;
  background-image: url('../img/bg.png');
}

#search .content {
  height: calc(100% - 80px);
}

.header {
  height: 80px;
  width: 100%;
  background: linear-gradient(to left, #a9cf86ff, #f4ed8aff);
  display: flex;
  align-items: center;
}

.header .back-arrow {
  padding-left: 30px;
}

.back-arrow svg {
  width: 40px;
  height: 40px;
}

#search .input-wrapper {
  position: relative;
  max-width: 512px;
  margin-left: auto;
  margin-right: auto;
}

#search .input-wrapper input {
  margin-top: 50px;
  font-size: 24px;
  border-radius: 4px;
  padding: 16px 70px;
  border: 0;
  outline: 0;
  min-width: 512px;
  position: relative;
}

#search .not-found-warning {
  visibility: hidden;
  color: #ff1e32;
  font-size: 16px;
  font-family: 'Inter';
  margin-top: 8px;
  text-align: left;
}

#search .not-found-warning .warning-mark {
  font-size: 15px;
  padding: 0 8px 0 7px;
  border-radius: 100%;
  border: 1px solid;
  margin-right: 8px;
}

#search .input-wrapper::after {
  content: '';
  position: absolute;
  left: 48px;
  height: 30px;
  top: 66px;
  width: 3px;
  border-radius: 3px;
  background-color: #7e195b;
}

#search .search-controls {
  display: flex;
  margin-bottom: 44px;
  justify-content: center;
}

#search .search-controls p {
  color: #7e195b;
  padding: 2px 25px 8px 25px;
  background-color: transparent;
  border: 3px solid #7e195b;
  margin-left: 15px;
  font-family: 'Vanguard CF';
  font-size: 36px;
  margin-bottom: 0;
  font-style: italic;
  text-transform: uppercase;
  font-weight: 500;
  min-width: 150px;
  margin-top: 12px;
}

#search .input-wrapper.show-warning input {
  color: #ff1e32 !important;
}

#search .input-wrapper.show-warning .not-found-warning {
  visibility: visible;
}

#search .people-selection-popup {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
}

#search .people-selection-popup.active {
  display: flex;
}

#search .people-selection-popup .people .person {
  margin: 0;
  padding: 8px 0;
}
#search .people-selection-popup .people .person.jalgpall::before {
  content: "⚽";
  margin-right: 8px;
  font-size: 1.2em;
  vertical-align: middle;
}

#search .people-selection-popup .people {
  background-color: #fff;
  width: 500px;
  height: 600px;
  overflow-y: auto;
  text-align: center;
  padding: 8px;
  border-radius: 4px;
}

#person {
  overflow-y: hidden;
}

#person .person-img {
  width: 470px;
  height: 470px;
  min-width: 470px;
  object-fit: cover;
}

.buttons-dark {
  display: flex;
  margin-bottom: 44px;
}

.buttons-dark p {
  color: #7e195b;
  padding: 1px 25px 9px 25px;
  background-color: transparent;
  border: 3px solid #7e195b;
  margin-left: 15px;
  font-family: 'Vanguard CF';
  font-size: 36px;
  margin-bottom: 0;
  font-style: italic;
  text-transform: uppercase;
  font-weight: 500;
}

#person .top {
  display: flex;
}

#person .top-info {
  padding: 0 30px;
  max-height: 470px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

#person .name-buttons-wrapper {
  display: flex;
  align-items: flex-start;
}

#person .name-buttons-wrapper .buttons {
  margin-left: auto;
}

#person .info-table {
  padding: 60px 86px;
}

#send-mail {
  background: url('../img/bg.png') no-repeat;
  background-size: cover;
}

#send-mail .content {
  height: calc(100% - 80px);
}

#send-mail .send-controls {
  display: flex;
  margin-bottom: 44px;
  justify-content: center;
}

#send-mail .send-controls p {
  color: #7e195b;
  padding: 2px 25px 8px 25px;
  background-color: transparent;
  border: 3px solid #7e195b;
  margin-left: 15px;
  font-family: 'Vanguard CF';
  font-size: 36px;
  margin-bottom: 0;
  font-style: italic;
  text-transform: uppercase;
  font-weight: 500;
  min-width: 150px;
  margin-top: 50px;
}

#mail-sent {
  background: url('../img/bg.png') no-repeat;
  background-size: cover;
}

#mail-sent h1 {
  font-size: 130px;
  font-family: 'Integral CF';
  color: #7e195b;
}

#mail-sent .text {
  font-size: 24px;
  color: #7e195b;
}

#mail-sent .main-btn {
  padding: 6px 16px 16px;
  background-color: #7e195b;
  font-family: 'Vanguard CF';
  cursor: pointer;
  font-size: 48px;
  color: #fff;
  font-weight: 500;
  font-style: italic;
  text-transform: uppercase;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  margin-top: 50px;
}

#person .name-wrapper .name {
  color: #7e195b;
  font-size: 72px;
  font-weight: bold;
  font-family: 'Integral CF';
  width: 1px;
}

#person .article {
  overflow-y: auto;
}

#send-mail .input-wrapper {
  position: relative;
}

#send-mail .input-wrapper input {
  margin-top: 50px;
  font-size: 24px;
  border-radius: 4px;
  padding: 16px 70px;
  border: 0;
  outline: 0;
  min-width: 512px;
  position: relative;
}

#send-mail .input-wrapper::after {
  content: '';
  position: absolute;
  left: 44px;
  height: 30px;
  top: 66px;
  width: 3px;
  border-radius: 3px;
  background-color: #7e195b;
}

#diploma {
  display: none;
  flex-direction: column;
  background: linear-gradient(to bottom, #a9cf86ff, #f4ed8aff);
  padding: 64px;
  height: auto;
  min-height: 100%;
}

#diploma.show {
  display: flex !important;
}

#diploma footer {
  order: 2;
}

#diploma .diploma-content {
  background: #fff;
}

#diploma .back {
  position: absolute;
  top: 110px;
  left: 105px;
}

#diploma .mail {
  margin-left: auto;
  margin-right: 64px;
  margin-top: 90px;
}

#diploma .diploma {
  margin-top: 50px;
  font-size: 130px;
  font-family: 'zuume-cut';
  font-weight: 900;
  font-style: italic;
  color: #7e195b;
  text-align: center;
  line-height: 1;
  margin-bottom: 0;
}

#diploma .name {
  font-size: 62px;
  font-family: 'zuume-cut';
  font-weight: 900;
  font-style: italic;
  text-align: center;
  color: #7e195b;
  margin-top: 10px;
  margin-bottom: 24px;
}

#diploma .info-table {
  padding: 0 64px;
}

#diploma .friend-text {
  font-size: 32px;
  color: #7e195b;
  font-family: 'zuume-cut';
  font-weight: 900;
  font-style: italic;
  text-align: center;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 32px;
}

#diploma .table-wrapper {
  max-height: unset;
}

.jkeyboard .jline ul li {
  background-color: #fff;
  color: #7e195b;
  border: 0;
  margin-left: 6px;
  margin-top: 6px;
  border-radius: 2px;
  font-family: 'Inter';
  font-weight: 500;
  box-shadow: none;
  -webkit-box-shadow: none;
  font-size: 24px;
  background-repeat: no-repeat;
  background-position: center;
}

.jkeyboard .jline ul li.letter {
  width: 62px;
  height: 50px;
}

.jkeyboard .jline ul li.shift {
  background-color: #fff;
  background-image: url('../img/shift.PNG');
  width: 62px;
}

.jkeyboard .jline ul li.backspace {
  background-color: #fff;
  background-image: url('../img/backspace.PNG');
  width: 100px;
}

.jkeyboard .jline ul li.return {
  background-color: #fff;
  background-image: url('../img/enter.PNG');
  width: 100px;
  color: transparent;
  display: none;
}

tbody {
  white-space: nowrap;
}

tbody td, thead th {

}

th {
  padding-top: 50px;
  padding: 15px;
  text-align: left;
  text-transform: uppercase;
  font-weight: bold;
}

td,th {
  padding: 15px;
  border-top: 1px solid gray;
  color: #7e195b;
}

.img {
  float: left;
  width: 468px;
  height: 470px;
}

.lang {
  position: absolute;
  display: flex;
  right: 33px;
  top: 15px;
  flex-direction: row-reverse;
  z-index: 1;
}

.lang .lang-select {
  display:none;
  font-size: 36px;
  font-family: 'Vanguard CF';
  font-weight: 500;
  font-style: italic;
  color: #046b59ff;
  text-transform: uppercase;
  opacity: 0.5;
  margin-left: 42px;
  margin-top: 0;
}

.lang .lang-select.active {
  opacity: 1;
}

#content {
  height: 100%;
  display: flex;
  flex-direction: column;
  float: left;
}

.table-wrapper {
  overflow-y: scroll;
  flex-grow: 1;
  max-height: 450px;
}

.table-wrapper th {
  position: sticky;
  top: 0;

}

table {
  border-spacing: 0;
}

th {
  background: #ffffff;
}

.disclaimer {
  font-weight: bold;
  color: #7e195b;
}

#muster-svg {
  width: 100%;
  margin-bottom: -8px;
}

.diploma-content > img {
  margin-bottom: -4px;
}

body.pdf {
  font-family: 'Times New Roman';
}

body.pdf #diploma table {
  table-layout: fixed;
  width: 100%;
}

body.pdf table th, body.pdf table td {
  width: 8%;
}

body.pdf #diploma table th, body.pdf #diploma table td {
  width: auto;
}

body.pdf #diploma table tbody td {
  white-space: pre-line;
}


.bottom {
  padding: 44px;
  color: #246b59;
  position: relative;
  font-size: 16px;
  border: 0;
  font-weight: bold;
}

.bottom tr {
  border: 0;
}

.bottom .col {
  width: 100%;
  line-height: 1;
  border: 0;
  vertical-align: middle;
  color: #246b59;
}

.bottom .col:last-child {
  text-align: right;
}

.bottom .col img {
  display: inline-block;
  width: 66px;
  height: 53px;
}

.bottom .disclaimer {

}

.info-table table {
  table-layout: fixed;
  width: 100%;
}

.info-table th, .info-table td {
  vertical-align: middle;
  word-break: break-word;
  white-space: normal;
}
.info-table td p {
  word-break: break-word;
  white-space: normal;
  margin: 0;
}

.info-table th.vanuseklass, .info-table td.vanuseklass {
  width: 2% !important;
}

.info-table th.tulemus, .info-table td.tulemus {
}