.pic-wrapper {
  --picture-width: 150px;
  --picture-height: 200px;
  --min-width: calc(var(--picture-width) + 70px);
  --height: calc(var(--picture-heighth) + 70px);
  --picture-before-width: calc(var(--picture-width) / 3 * 2);
  --picture-before-height: calc(var(--picture-height) * 0.65);
  --picture-after-height: calc(var(--picture-height) * 0.8);
  --lint-color: white;
  --clickable-border-size: 3px;
  

  min-width: var(--min-width); 
  height: var(--height);
  display: inline-block;
  vertical-align: top;
  /*background-image: linear-gradient(135deg, var(--lint-color) 0%, white 20%, white 100%);*/
  position: relative;
}


.pic-wrapper.red:before,
.pic-wrapper.green:before,
.pic-wrapper.yellow:before {
  content: '';
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 25px;
  /*border: 3px black solid;*/
  background: var(--lint-color);
  display: block;
  width: 32px;
  height: 32px;
  z-index: 9999999;
}

.pic-wrapper.red {
  --lint-color: red;
}

.pic-wrapper.green {
  --lint-color: mediumseagreen;
}

.pic-wrapper.yellow {
  --lint-color: yellow;
}

.pic-wrapper.clickable {
  box-sizing: border-box;
  cursor: pointer;
  border: var(--clickable-border-size) solid white;
  min-width: calc(var(--min-width) + (var(--clickable-border-size))); 
  height: calc(var(--height) + (var(--clickable-border-size))); 
  transition: all 0.2s linear;
}

a.pic-wrapper.clickable {
  color: black;
}

a:link.pic-wrapper.clickable, a:visited.pic-wrapper.clickable {
  color: black;
  text-decoration: none;
}

.pic-wrapper.clickable:hover {
  border-color: silver;
/*  border-bottom: calc(var(--clickable-border-size) * 2) solid silver;
  border-right: calc(var(--clickable-border-size) * 2) solid silver;*/
}

.pic-wrapper.small {
  --picture-width: 75px;
  --picture-height: 100px;
  
  width:calc(var(--picture-width) + 25px);
}

.pic-wrapper .name {
  font-family: 'Acme';
  font-size: 20px;
}

.pic-wrapper .picture {
  padding: 10px;
  position: relative;
  width: var(--picture-width);
  height: var(--picture-heigh);
  text-align: center;
  display: inline-block;
  z-index: 0;
}

.pic-wrapper .picture img {
  width: var(--picture-width);
  height: var(--picture-heigh);
}

.pic-wrapper:not(.without_sticker) .picture:before,
.pic-wrapper:not(.without_sticker) .picture:after {
  border: 1px solid black;
  height: var(--picture-before-height);
  width: var(--picture-before-width);
  content: '';
  position: absolute;
  z-index: -1;
}

.pic-wrapper:not(.without_sticker) .picture:before {
  top: 0px;
  left: 0px;
}

.pic-wrapper:not(.without_sticker) .picture:after {
  height: var(--picture-after-height);
  bottom: 0px;
  right: -10px;
}

.partij-logo-wrapper {
  display: block;
}

.partij-logo-wrapper:not(.big) {
  margin-bottom: 20px;
}

.partij-logo-wrapper.big {
  padding-bottom: 15px;
  padding-top: 15px;
  margin-bottom: 10px;
}

.partij-logo-wrapper.green, .partij-logo-wrapper.red, .partij-logo-wrapper.yellow {
  background-image: linear-gradient(to right, var(--lint-color) 0%, white 25%, white 75%, var(--lint-color) 100%);
}

@media only screen and (max-width: 800px) {
  .partij-logo-wrapper.green, .partij-logo-wrapper.red, .partij-logo-wrapper.yellow {
    background-image: linear-gradient(to bottom, var(--lint-color) 0%, white 15%, white 85%, var(--lint-color) 100%);
  }
}

.partij-logo-wrapper.red {
  --lint-color: red;
}

.partij-logo-wrapper.green {
  --lint-color: mediumseagreen;
}

.partij-logo-wrapper.yellow {
  --lint-color: yellow;
}

a:link.partij-logo-wrapper, a:visited.partij-logo-wrapper {
  color: black;
  text-decoration: none;
}

.partij-logo-wrapper img {
  max-height:64px;
}

.partij-logo-wrapper .stemmen {
  display: block;
}

.partij-logo-wrapper .uitslag {
  display: block;
}