.hn {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}
.h13 {
  margin-top: 0.4em;
  margin-bottom: 0.25em;
  font-weight: bold;
  font-family: 'Termina', sans-serif;
}
.h46 {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
}
.kandidati {
  background-color: white;
}
.kandidati h1,
.kandidati h2,
.kandidati .subtitle {
  text-align: center;
}
.kandidati header {
  margin-bottom: 2em;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
}
.kandidati header .subtitle {
  margin-bottom: 2em;
}
.kandidati header .flex {
  justify-content: center;
}
.kandidati header p:not(.subtitle) {
  max-width: 26em;
  text-align: left;
}
@media all and (max-width: 50rem) {
  .kandidati header svg {
    max-width: 7em;
  }
}
.kandidati .more-link {
  text-align: center;
}
.kandidati .more-link a {
  color: #3f4e55;
  background: white;
  padding: 1rem 1.75rem;
  border-radius: 0.1rem;
  display: inline-block;
  text-decoration: none;
  transition: color 0.1s ease, background-color 0.1s ease, border 0.1s ease, box-shadow 0.1s ease;
  background: #afca0b;
  color: white;
  text-transform: uppercase;
  position: relative;
  padding-right: calc(1.75rem + 1.5em);
}
.kandidati .more-link a::after {
  content: '';
  display: block;
  position: absolute;
  width: 1.25em;
  height: 0.6875em;
  right: 0;
  top: calc(50% - 0.34375em);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.kandidati .more-link a::after {
  background-image: url("/themes/custom/tpp/images/arrow_right.svg");
}
.kandidati .more-link a::after {
  right: 1.25em;
}
.kandidati .bef-exposed-form {
  margin-top: -8em;
}
.kandidati .bef-exposed-form legend,
.kandidati .bef-exposed-form .form-item-mc label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.kandidati--page header {
  padding-bottom: 10em;
  background-color: #f3f5f6;
}
.kandidati-list {
  max-width: calc((18.25rem * 4) + 8em);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  justify-content: space-evenly;
  padding-bottom: 1em;
}
.kandidati-list > li {
  margin: 1em;
}
@media all and (max-width: 40.5rem) {
  .kandidati-list > li {
    margin-bottom: 2em;
  }
}
.kandidat--teaser {
  width: 18.25rem;
  height: 32rem;
  overflow: hidden;
  position: relative;
}
.kandidat--teaser dl {
  height: 100%;
}
.kandidat--teaser dt {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.kandidat--teaser dd {
  margin-bottom: 1em;
  width: 100%;
}
.kandidat--teaser dd:not(.foto, .cislo) {
  padding: 0 1rem;
}
.kandidat--teaser .jmeno {
  font-weight: bold;
}
.kandidat--teaser .mesto {
  font-size: 0.875em;
}
.kandidat--teaser .souhrn {
  font-weight: normal;
  min-height: 3em;
  font-size: 0.85em;
}
.kandidat--teaser .souhrn p {
  line-height: 1.75;
}
.kandidat--teaser .cislo {
  font-weight: bold;
  font-size: 1.5em;
  margin: 0;
  position: absolute;
  top: calc(18.25rem - 2.5em);
  right: 0;
  width: 2.5em;
  height: 2.5em;
  background-color: #5bc5f2;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.kandidat--teaser .cislo::before {
  z-index: 9;
  content: '';
  display: block;
  position: absolute;
  top: -0.25em;
  left: 0;
  width: 0;
  height: 0;
  border-right: 0.6em solid transparent;
  border-bottom: 0.3em solid #5bc5f2;
}
.kandidat--teaser .vice {
  position: absolute;
  bottom: 0;
  margin-bottom: 0;
}
.kandidat--teaser .vice a {
  color: #5bc5f2;
  position: relative;
  padding-right: calc(0.5em + 1.5em);
}
.kandidat--teaser .vice a::after {
  content: '';
  display: block;
  position: absolute;
  width: 1.25em;
  height: 0.6875em;
  right: 0;
  top: calc(50% - 0.34375em);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.kandidat--teaser .vice a::after {
  background-image: url("/themes/custom/tpp/images/arrow_right_blue.svg");
}
.kandidat--teaser.no-portrait {
  height: 14rem;
}
.kandidat--teaser.no-portrait .cislo {
  position: relative;
  top: 1em;
  left: 1rem;
  width: 2em;
  height: 2em;
}
.kandidat--teaser.no-portrait .cislo::before {
  top: -0.15em;
}
.kandidat--teaser.no-portrait .mesto {
  padding-left: calc(5em + 1rem);
}
.kandidat--mc .cislo {
  background-color: #afca0b;
}
.kandidat--mc .cislo::before {
  border-bottom-color: #afca0b;
}
a.c-next {
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  padding-right: calc(1.75rem + 1.5em);
}
a.c-next::after {
  content: '';
  display: block;
  position: absolute;
  width: 1.25em;
  height: 0.6875em;
  right: 0;
  top: calc(50% - 0.34375em);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
a.c-next::after {
  background-image: url("/themes/custom/tpp/images/arrow_right.svg");
}
a.c-next::after {
  right: 1.25em;
}
a.c-all {
  text-transform: uppercase;
  font-weight: bold;
  padding-left: 2em;
  background-image: url("/themes/custom/tpp/images/grid.svg");
  background-repeat: no-repeat;
  background-size: 1em;
  background-position: left;
}
body.page-node-type--kandidat #block-tpp-content {
  background-color: white;
}
.kandidat {
  padding-top: 1.5em;
  width: 96%;
  max-width: 78rem;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 37.5em 1fr;
  grid-template-rows: 6em 1fr;
  column-gap: 1em;
  row-gap: 2em;
}
.kandidat h1 {
  font-size: 1.5em;
  margin-left: 1em;
}
@media all and (max-width: 50rem) {
  .kandidat h1 {
    font-size: 1.25em;
  }
}
.kandidat > img,
.kandidat > picture {
  grid-row-end: span 2;
  float: left;
  grid-column-start: 1;
  grid-row-start: 1;
}
.kandidat .cislo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.2em;
  height: 2.2em;
  font-size: 2.25em;
  font-weight: bold;
  color: white;
  background-color: #5bc5f2;
  position: relative;
  flex-shrink: 0;
}
.kandidat .cislo::before {
  z-index: 9;
  content: '';
  display: block;
  position: absolute;
  top: -0.25em;
  left: 0;
  width: 0;
  height: 0;
  border-right: 0.6em solid transparent;
  border-bottom: 0.3em solid #5bc5f2;
}
@media all and (max-width: 50rem) {
  .kandidat .cislo {
    font-size: 1.8em;
  }
}
.kandidat > header {
  display: flex;
  align-items: center;
}
.kandidat .kandidat__content {
  padding-left: 1em;
}
.kandidat .kandidat__content p {
  line-height: 1.5;
}
.kandidat .mesto {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 0.5em;
}
.kandidat .souhrn {
  font-size: 1.1em;
  margin-bottom: 2em;
}
.kandidat .contact-info {
  margin-left: -1em;
  margin-bottom: 2em;
  padding: 1em;
  background-color: white;
  font-size: 1.125em;
}
.kandidat .contact-info > li {
  display: inline-block;
  margin-left: 0.75em;
  margin-right: 0.75em;
}
.kandidat .contact-info .web {
  display: flex;
  align-items: center;
  float: right;
}
.kandidat .contact-info .web a {
  color: #5bc5f2;
  font-weight: bold;
  position: relative;
  padding-right: calc(0.5em + 1.5em);
}
.kandidat .contact-info .web a::after {
  content: '';
  display: block;
  position: absolute;
  width: 1.25em;
  height: 0.6875em;
  right: 0;
  top: calc(50% - 0.34375em);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.kandidat .contact-info .web a::after {
  background-image: url("/themes/custom/tpp/images/arrow_right_blue.svg");
}
.kandidat .links {
  grid-column-end: span 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
}
@media all and (max-width: 74.1rem) {
  .kandidat {
    display: flex;
    flex-direction: column;
  }
  .kandidat .contact-info {
    margin-left: 0;
  }
  .kandidat .contact-info > li:not(.web) {
    font-size: 1.3em;
  }
  .kandidat .kandidat__content {
    padding: 0 0.5em;
  }
  .kandidat > header {
    justify-content: center;
  }
  .kandidat .mesto,
  .kandidat .souhrn {
    text-align: center;
  }
  .kandidat > img,
  .kandidat > picture {
    max-width: 37.5em;
    width: 90%;
    align-self: center;
  }
}
@media all and (max-width: 35rem) {
  .kandidat .contact-info {
    text-align: center;
    margin-bottom: 1.5em;
  }
  .kandidat .contact-info .web {
    float: none;
    margin-top: 1em;
    justify-content: center;
  }
  .kandidat .links {
    flex-direction: column;
  }
  .kandidat .links a + a {
    margin-top: 2em;
  }
}
/*Mixin---------------------------- */
