/* Base */
body {
  font-kerning: normal;
  font-feature-settings: "kern" 1, "pnum" 1;
  position: relative;
}


body::after {
  background: url(/wp-content/themes/tva/img/volleyball-bottom.svg);

    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-size: auto;

  content: "";
  position: absolute;
  bottom: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-size: 80%;
  background-repeat: no-repeat;
  left: 0;
  right: 0;
  background-position: center bottom;

  pointer-events: none;
  opacity: 0.025;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus input:-webkit-autofill,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: white;
  -webkit-box-shadow: none;
  transition: background-color 5000s ease-in-out 0s;
}

/* Code */
code {
  white-space: pre-wrap;
}

/* Typography */
@media screen and (max-width: 640px) {
  .uk-text-lead,
  .uk-text-large {
    font-size: 1.2rem;
  }
  .uk-text-meta {
    font-size: var(--text-small-font-size);
  }
  h1,h2,h3,h4,h5,h6 {
    hyphens: auto;
    hyphenate-limit-chars: auto 5;
    hyphenate-limit-lines: 2;
    overflow-wrap: break-word;
  } 
}

/* Hero */
@media screen and (min-width: 960px) {
#hero,
#hero .uk-height-viewport {
    min-height: calc(100vh - 4rem);
  }
}

/* Section Title */
.tm-section-title > ::before {
  inset: 0px 0px 0px 2px;
  position: relative;
  height: 5rem;
  width: 2px;
}
.tm-section-title > * {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}



/* Cursor Follower */
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  opacity: 0;
  z-index: 10000;
  user-select: none;
	pointer-events:none;
}

/* Links */

.menu__contact {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.menu__contact video,
.menu__contact img { 
  border-radius:100%;
  overflow: hidden;

}
.contact__link {
cursor: pointer;
}

/* Footer */

 
@media screen and (min-width: 641px) {
  nav .uk-subnav {
    display: flex; 
    gap: 1rem;
  }
}

@media screen and (max-width: 640px) {
  footer nav ul::before {
    border-bottom:none!important;
  }
  footer nav li {

    width: 100%;
    text-align: justify;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
  }
  footer nav li a {
    width: 100%;
    justify-content: center;
    border-radius: 0.25rem;
    border-bottom:none!important;
  }
}

/* Form */
.hidden-fields-container {
  display: none
}
.dna__form .wpcf7-text,
.dna__form .wpcf7-textarea {

  padding: 1rem;
  height: auto;
}
.dna__form .wpcf7-select {

  padding: 1rem;
  height: auto !important;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNyA3TDE3IDE3TTE3IDE3VjdNMTcgMTdINyIgc3Ryb2tlPSIjNDA0MDQwIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPgo=")!important;
  background-size: 1.5rem;
  background-position: right 1rem center!important;

}

.dna__form .wpcf7-form-control-wrap {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}
.dna__form .wpcf7-not-valid-tip {
  font-size: var(--text-small-font-size);
  position: absolute;
  color: var(--global-danger-background);
  right: 1rem;
}
.dna__form .wpcf7-textarea + .wpcf7-not-valid-tip {
  top:1.25rem;
  right: 1rem;
}



.dna__form .wpcf7-form-control.wpcf7-text:focus,
.dna__form .wpcf7-form-control.wpcf7-text:active,
.dna__form .wpcf7-form-control.wpcf7-select:focus {
  box-shadow: none;
}
.dna__form .wpcf7-form-control.uk-textarea {
  height: 15rem;
  min-width: 100%;
}
.dna__form .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item label input {
  height: 1.5rem;
  width: 1.5rem;
  flex-shrink: 0;
  background-repeat: no-repeat;
  display: flex;
  background-size: 1.2rem;
  background-position: center center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin: 0 1rem 0 0;
  background-color: transparent;
}
.dna__form
  .wpcf7-form-control.wpcf7-acceptance
  .wpcf7-list-item
  label
  input:checked {
  background-color: white;
}
.dna__form .wpcf7-spinner {
  display: none;
}
.dna__form input,
.dna__form textarea {
  caret-color: var(--global-color);
}
.wpcf7 form.invalid .wpcf7-response-output {
  border: none;
  background: var(--global-danger-background);
  color: var(--global-color);
  margin: 2rem 0px;
  box-sizing: border-box;
  padding: 2rem;
  font-size: 1.4rem;
}
.wpcf7 form.sent .wpcf7-response-output {
  border: 2px solid var(--global-border-radius);
  box-sizing: border-box;
  padding: 2rem;
  text-align: center;
  font-size: 2rem;
}
.wpcf7 form.sent .wpcf7-response-output::before {
  content: "🧑🏼‍⚕️";
  display: flex;
  justify-content: center;
  font-size: 6rem;
}
.wpcf7 .screen-reader-response {
  display: none;
}
.dna__form .uk-form-icon {
  width: auto;
  bottom: 3px;
  left:1rem;
  height: 100%;
  color:var(--global-emphasis-color);
}
.dna__form .attachment {
  position: absolute;
  bottom: 2rem;
  right: 0;
  display: flex;
}
.dna__form .attachment .wpcf7-form-control-wrap {
  display: none;
}
.dna__form .attachment label {
  background: rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  padding: 0.5rem 1rem;
  border-radius: 100rem;
  font-size: 80%;
  cursor: pointer;
  transition: 0.2s ease all;
}
.dna__form .attachment label .uk-icon {
  margin-left: 0.5rem;
}
.dna__form .attachment label.success {
  background: var(--global-success-background);
  color: var(--global-color);
  padding: 0.5rem;
  font-size: 0;
}
.dna__form .attachment label.success .uk-icon {
  margin: 0;
}

@media screen and (max-width: 640px) {
  .dna__form .wpcf7-text,
  .dna__form .wpcf7-textarea,
  .dna__form .wpcf7-select {
    font-size: 1rem;
  }
  #kontakt .uk-tile {
    padding: 0;
    background: none;
  }
}

/* Newsticker */
.tva-newsticker {
  --tva-newsticker-text: #002426;
  position: relative;
  overflow: hidden;
  color: var(--tva-newsticker-text);
}

.tva-newsticker__viewport {
  overflow: hidden;
  width: 100%;
}

.tva-newsticker__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.tva-newsticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tva-newsticker__item {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0;
  font-size: 1.6rem;
  line-height: 1.4;
  font-weight: 900;
  white-space: nowrap;
  font-family: 'Sofia Sans Extra Condensed';
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-style: italic;
}

.tva-newsticker__separator {
  display: inline-block;
  width: 0.25rem;
  height: 0.25rem;
  margin: 0 1.25rem;
  border-radius: 50%;
  background: var(--tva-newsticker-text);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .tva-newsticker__track {
    flex-wrap: wrap;
    width: 100%;
    transform: none !important;
  }

  .tva-newsticker__group[aria-hidden="true"] {
    display: none;
  }
}



/* Team */
.team__grid .el-meta {
  border: 2px solid #fe9a00;
  display: inline-flex;
  padding: 0.5rem;
  box-sizing: border-box;
  width: 3rem;
  height: 2.5rem;
  justify-content: center;
  align-items: center;
  color: #fe9a00;
  font-size: 1.6rem;
  font-weight: 900;
}


/* Squads */

.teams__overview .el-title {
  position: absolute;
  top: 10rem;
  background: #fe9a00;

  color: inherit;
  padding: 0.25em 2rem;

  left: 0;
}
.teams__overview .el-content {
  margin-top: 0 !important;
}